/* ========================================================= GADRE MARINE CPCB PLASTIC PACKAGING INFORMATION PREMIUM / ACCESSIBLE UI ========================================================= */
@font-face {
    font-family: 'Montserrat';
    src: url('library/font/MONTSERRAT-REGULAR.TTF') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Montserrat';
    src: url('library/font/MONTSERRAT-MEDIUM.TTF') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'Montserrat';
    src: url('library/font/MONTSERRAT-SEMIBOLD.TTF') format('truetype');
    font-weight: 600;
}

@font-face {
    font-family: 'Montserrat';
    src: url('library/font/MONTSERRAT-BOLD.TTF') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Montserrat';
    src: url('library/font/MONTSERRAT-EXTRABOLD.TTF') format('truetype');
    font-weight: 800;
}

:root {
    --red: #ec131a;
    --red-dark: #d30f15;
    --red-light: #fff3f3;
    --charcoal: #4c4c4c;
    --heading: #292929;
    --text: #363636;
    --muted: #5e5e5e;
    --soft-text: #707070;
    --line: #dedede;
    --line-light: #ebebeb;
    --page: #f5f5f5;
    --white: #ffffff;
}
main{
	min-height: calc(100vh - 140px);
}
/* ========================================================= RESET ========================================================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--page);
    color: var(--text);
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

button,
input {
    font-family: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    font-family: "Montserrat", sans-serif;
}

.container {
    max-width: 1120px;
}

/* ========================================================= HEADER ========================================================= */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo img {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 46px;
    object-fit: contain;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
}

.header-dot {
    width: 7px;
    height: 7px;
    background: var(--red);
    border-radius: 50%;
}

/* ========================================================= INTRO / HERO ========================================================= */
.intro-section {
    padding: 18px 0 0;
}

.intro-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    padding: 15px 34px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
}

/* Red top accent */
.intro-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: var(--red);
}

/* Subtle decorative element */
.intro-card::after {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    right: -110px;
    bottom: -140px;
    border: 1px solid rgba(236, 19, 26, .10);
    border-radius: 50%;
}

.intro-content {
    position: relative;
    z-index: 2;
}

.intro-company {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: .09em;
    font-weight: 700;
}

.intro-card h1 {
    margin: 0 0 7px;
    color: var(--red);
    font-size: 28px;
    line-height: 1.25;
    letter-spacing: -.025em;
    font-weight: 700;
}

.intro-card h1 span {
    color: var(--heading);
}

.intro-card p {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.intro-icon {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    margin-left: 25px;
    color: var(--red);
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    font-size: 21px;
}

/* ========================================================= CONTENT ========================================================= */
.content-section {
    padding: 15px 0 55px;
}

/* ========================================================= SECTION HEADER ========================================================= */
.section-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 16px;
}

.section-number {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    margin-top: 2px;
    background: #fff1f2;
    color: var(--red);
    border: 1px solid #ffd5d7;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
}

.section-heading span {
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: .11em;
    font-weight: 700;
}

.section-heading h2 {
    margin: 0;
    color: var(--heading);
    font-size: 18px;
  
    letter-spacing: -.02em;
    font-weight: 700;
}

/* ========================================================= COMMON INFORMATION ========================================================= */
.common-grid {
    display: grid;
    grid-template-columns: 0.7fr 1fr 0.7fr;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.info-card {
    position: relative;
    padding: 15px;
    background: var(--white);
}

.info-card+.info-card {
    border-left: 1px solid var(--line-light);
}

.info-card span {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
}

.info-card strong {
    display: block;
    color: var(--heading);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
}

/* ========================================================= SEARCH ========================================================= */
.search-section {
    margin-top: 15px;
}

/* Search wrapper */
.search-wrapper {
    position: relative;
    width: 100%;
}

/* ========================================================= SEARCH BOX ========================================================= */
.search-box {
    width: 100%;
    height: 62px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 17px;
    background: var(--white);
    /* ONLY ONE BORDER */
    border: 1px solid #c9c9c9 !important;
    border-radius: 10px;
    box-shadow: none !important;
    outline: none !important;
    transition: border-color .2s ease, background-color .2s ease;
}

/* Keep the SAME border when clicked. No red outer box or glow. */
.search-box:focus-within {
    border-color: #d30f15 !important;
    box-shadow: none !important;
    outline: none !important;
}

.i-icon{
    width: 12px;
    height: 12px;
}
/* ========================================================= SEARCH ICON ========================================================= */
.search-icon {
    width: 16px;
    height: 16px;
}

/* Do NOT change icon color when focused. */
.search-box:focus-within .search-icon {
    color: var(--charcoal);
}

/* ========================================================= ACTUAL INPUT ========================================================= */
.search-box input {
    width: 100%;
    height: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: transparent !important;
    color: var(--heading);
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    border: 0 !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* ========================================================= BOOTSTRAP FORM-CONTROL OVERRIDE ========================================================= */
/* This prevents Bootstrap from creating the second red/blue input box. */
.search-box .form-control {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: transparent !important;
    color: var(--heading);
    border: 0 !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Bootstrap focus */
.search-box input:focus,
.search-box input:focus-visible,
.search-box .form-control:focus,
.search-box .form-control:focus-visible {
    border: 0 !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

/* ========================================================= PLACEHOLDER ========================================================= */
.search-box input::placeholder {
    color: #555555;
    opacity: 1;
}

/* ========================================================= CLEAR BUTTON ========================================================= */
.clear-search {
    min-width: 72px;
    height: 25px;
    gap: 5px;
    flex: 0 0 auto;
    display: none;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    background: #eeeeee !important;
    color: var(--muted);
    border: 0 !important;
    border-radius: 50px;
    outline: none !important;
    box-shadow: none !important;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1;
}

.clear-search:hover {
    background: var(--red-light) !important;
    color: var(--red);
}

.clear-search:focus,
.clear-search:focus-visible {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* ========================================================= SEARCH HINT ========================================================= */
.search-hint {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.search-hint i {
    color: var(--red);
}

/* ========================================================= AUTOCOMPLETE ========================================================= */
.suggestions {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
    overflow: hidden;
    background: var(--white);
    border: 1px solid #d7d7d7;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .10);
}

.suggestions.show {
    display: block;
}

/* ========================================================= MOBILE SEARCH ========================================================= */
@media (max-width: 767px) {
    .search-section {
        margin-top: 31px;
    }

    .search-box {
        height: 58px;
        padding: 0 15px;
        gap: 11px;
        border-radius: 9px;
    }

    .search-icon {
        width: 21px;
        height: 21px;
        flex-basis: 21px;
        font-size: 17px;
    }

    .search-box input {
        font-size: 16px;
    }

    .search-box .form-control {
        font-size: 16px;
    }

    .suggestions {
        top: 65px;
    }

    .search-hint {
        font-size: 11px;
    }
}

/* ========================================================= AUTOCOMPLETE ========================================================= */
.suggestions {
    position: absolute;
    top: 69px;
    left: 0;
    right: 0;
    z-index: 100;
    display: none;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .12);
}

.suggestions.show {
    display: block;
}

.suggestion {
    width: 100%;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 17px;
    background: var(--white);
    border: 0;
    border-bottom: 1px solid var(--line-light);
    text-align: left;
    transition: background .15s ease;
}

.suggestion:last-child {
    border-bottom: 0;
}

.suggestion:hover {
    background: #fff7f7;
}

.suggestion-left {
    min-width: 0;
}

.suggestion-name {
    display: block;
    overflow: hidden;
    color: var(--heading);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.suggestion-name mark {
    padding: 0;
    background: transparent;
    color: var(--red);
    font-weight: 700;
}

.suggestion-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
}

.suggestion-meta mark {
    padding: 0;
    background: transparent;
    color: var(--red);
    font-weight: 700;
}

.dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #aaa;
}

.suggestion-arrow {
    color: #777;
    font-size: 12px;
}

.suggestion:hover .suggestion-arrow {
    color: var(--red);
}

.no-result {
    padding: 20px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.no-result strong {
    color: var(--heading);
}

/* ========================================================= PRODUCT ========================================================= */
.product-section {
    display: none;
    margin-top: 15px;
}

/* Product outer */
.product-card {
    overflow: visible;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
}

/* ========================================================= PRODUCT HEADER ========================================================= */
.product-main {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 25px;
    padding: 15px;
    align-items: center;
}

.product-image {
    width: 160px;
    height: 230px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #f6f6f6;
    border: 1px solid var(--line-light);
    border-radius: 10px;
}

.product-image img {
    width: 100%;
    height: 100%;
    display: none;
    object-fit: cover;
}

.image-placeholder {
    color: #999999;
    font-size: 25px;
}

/* ========================================================= PRODUCT DETAILS ========================================================= */
.product-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.product-name {
    margin: 0 0 10px;
    color: var(--heading);
    font-size: 22px;
    line-height: 1.4;
    letter-spacing: -.025em;
    font-weight: 700;
}

/* ========================================================= SPECIFICATIONS ========================================================= */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) max-content;
    gap: 0;

    width: 100%;
    margin-top: 21px;

    border-top: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
}

.spec-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.spec {
    min-width: 0;
    min-height: 82px;
    padding: 15px 13px;
}

.spec-column .spec + .spec {
    border-top: 1px solid var(--line-light);
}

.spec-grid > .spec {
    border-left: 1px solid var(--line-light);
}

.spec-tall {
    min-height: 164px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spec span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
    text-transform: uppercase;
    letter-spacing: .045em;
    font-weight: 600;
}

.spec strong {
    display: block;
    color: var(--heading);
    font-size: 15px;
    line-height: 1.55;
    font-weight: 600;
}

/* Resin code / identification mark */
.resin-spec {
    align-items: center;
}

#productMarkImages {
      display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    width: auto;
    max-width: none;
    min-width: max-content;
    margin-top: 4px;
    overflow: visible;
}

.mark-circle {
     width: 60px;
    height: 60px;
    min-width: 60px;
    max-width: 60px;
    flex: 0 0 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    border: 2px solid var(--red);
    border-radius: 50%;

    overflow: hidden;
}

.mark-circle img {
    width: 76%;
    height: 76%;

    display: block;
    object-fit: contain;
}

/* ========================================================= FOOTER ========================================================= */
footer {
    background: var(--white);
    border-top: 1px solid var(--line);
}

.footer-inner {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 13px;
}

/* ========================================================= TABLET ========================================================= */
@media (max-width: 991px) {
    .container {
        max-width: 760px;
    }

    .spec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .spec-tall {
        min-height: 82px;
    }

    .spec-grid > .spec:nth-child(3),
    .spec-grid > .spec:nth-child(4) {
        border-top: 1px solid var(--line-light);
    }
}

/* ========================================================= MOBILE ========================================================= */
@media (max-width: 767px) {
    .container {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    body {
        font-size: 15px;
    }

    /* Header */
    .header-inner {
        min-height: 62px;
    }

    .brand-logo img {
        max-width: 160px;
        max-height: 40px;
    }

    .header-right {
        display: none;
    }

    /* Intro */
    .intro-section {
        padding-top: 10px;
    }

    .intro-card {
        min-height: 145px;
        padding: 23px;
    }

    .intro-card h1 {
        font-size: 27px;
    }

    .intro-card p {
        font-size: 13px;
        line-height: 1.65;
    }

    .intro-company {
        font-size: 10px;
    }

    .intro-icon {
        display: none;
    }

    /* Content */
    .content-section {
        padding-top: 15px;
    }

    .section-heading {
        gap: 11px;
    }

    .section-number {
        width: 36px;
        height: 36px;
        font-size: 11px;
    }

    .section-heading h2 {
        font-size: 19px;
    }

    .section-heading span {
        font-size: 9px;
    }

    /* Common */
    .common-grid {
        grid-template-columns: 1fr;
    }

    .info-card {

        padding: 15px;
    }

    .info-card+.info-card {
        border-left: 0;
        border-top: 1px solid var(--line-light);
    }

    .info-card::before {
        left: 22px;
        bottom: 15px;
        width: 21px;
    }

    /* Search */
    .search-section {
        margin-top: 15px;
    }

    .search-box {
        height: 58px;
    }

    .search-box input {
        font-size: 16px;
    }

    .suggestions {
        top: 64px;
    }

    /* Product */
    .product-section {
        margin-top: 15px;
    }

    .product-main {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .product-image {
        width: 130px;
        height: 130px;
    }

    .product-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-name {
        font-size: 20px;
    }

    .spec-grid {
        grid-template-columns: 1fr;
    }

    .spec,
    .spec-tall {
        min-height: 82px;
    }

    .spec-grid > .spec {
        border-left: 0;
        border-top: 1px solid var(--line-light);
    }

    .spec-grid > .spec:first-of-type {
        border-top: 1px solid var(--line-light);
    }

    /* Footer */
    .footer-inner {
        min-height: auto;
        padding: 14px 0;
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
}

/* ========================================================= SMALL MOBILE ========================================================= */
@media (max-width: 400px) {
    .intro-card h1 {
        font-size: 25px;
    }

    .section-heading h2 {
        font-size: 18px;
    }

    .spec-grid {
        grid-template-columns: 1fr;
    }

}

/* ========================================================= ACCESSIBILITY ========================================================= */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
        animation: none !important;
    }
}

/* Keyboard focus */
button:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(236, 19, 26, .25);
    outline-offset: 2px;
}

.text-box {
    margin: 20px 35px;
}

.text-box h3 {
    font-size: 18px;
    font-weight: 700;
}

.text-box p {
    margin-top: 7px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.7;
    font-weight: 500;
}

/* =========================================================
   REFINED PRODUCT UI
========================================================= */
.product-top {
    margin-bottom: 2px;
}

.product-name {
    margin-bottom: 0;
}






.footer-inner {
    min-height: 68px;
    gap: 20px;
}

.footer-updated {
    margin-left: auto;
    text-align: right;
    font-size: 11px;
    letter-spacing: .02em;
}

.footer-updated strong {
    color: var(--heading);
    font-weight: 600;
}


@media (max-width: 767px) {
    .footer-inner {
        min-height: auto;
        padding: 16px 0;
        flex-direction: row;
        align-items: flex-end;
        text-align: left;
    }
    .footer-updated {
        text-align: right;
    }
}

@media (max-width: 480px) {
    .footer-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .footer-updated {
        margin-left: 0;
        text-align: right;
    }
}

/* =========================================================
   PRODUCT TITLE + APPLICABLE MARK
========================================================= */
.product-title-row {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    flex-wrap: nowrap;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.product-mark-inline {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: block;
    object-fit: contain;
    border-radius: 50%;

  margin-left: auto;
  flex-shrink: 0;
}

.product-title-row .product-name {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .product-title-row {
        gap: 9px;
    }

    .product-mark-inline {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
}


/* --- Packaging UI refinement --- */
.product-header,
.product-title-row,
.product-heading-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.applicable-mark,
.applicable-mark-icon,
.product-mark,
.product-mark-image {
  margin-left: auto;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 2px solid #d71920;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

.applicable-mark img,
.applicable-mark-icon img,
.product-mark img,
.product-mark-image img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  border-radius: 50%;
}

/* Thickness presented as a clean icon/value treatment */
.thickness-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.thickness-value::before {
  content: "↕";
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid currentColor;
}

