/* ==========================================================================
   responsive-fix.css  -  Shree Jagdamba Production
   --------------------------------------------------------------------------
   ONE place that decides how the site behaves on phones, tablets and
   desktops. It is linked LAST on index.html and product.html (after every
   other <style>) so it wins over the old stacked rules.

   Rule of thumb for the future: change layout/spacing here, not by adding a
   new <style> block inside the HTML.

   Breakpoints used everywhere:
     <= 960px  tablet / phone navigation (hamburger)
     <= 860px  tablet layouts collapse to fewer columns
     <= 600px  phones
     <= 380px  small phones
   ========================================================================== */

:root {
    --sjp-primary: #0A4D68;
    --sjp-primary-dark: #083d54;
    --sjp-teal: #088395;
    --sjp-accent: #05BFDB;
    --sjp-warm: #FF8551;
    --sjp-ink: #1E293B;
    --sjp-muted: #64748B;
    --sjp-line: #E2E8F0;
    --sjp-bg: #FAFBFC;
    --sjp-gutter: clamp(16px, 4vw, 32px);
    --sjp-max: 1200px;
    --sjp-header-h: 64px;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--sjp-header-h) + 12px);
}

body { overflow-x: hidden; }
img, video, svg { max-width: 100%; }
img { height: auto; }

/* Big tap targets on touch screens */
@media (hover: none) {
    button, .btn, [role="button"], .filter-btn { min-height: 40px; }
}

/* ==========================================================================
   1. HEADER  (same look + same behaviour on every page)
   ========================================================================== */
body > header {
    position: sticky;
    top: 0;
    z-index: 1000;
    margin: 0;
    padding: 0;
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    backdrop-filter: saturate(1.4) blur(10px);
    box-shadow: 0 1px 0 var(--sjp-line), 0 6px 20px rgba(10, 77, 104, .06);
}

body > header nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 1280px;
    height: auto;
    min-height: var(--sjp-header-h);
    margin: 0 auto;
    padding: 0 var(--sjp-gutter);
}

/* --- Logo: two lines, no pixel offsets, scales with the screen --- */
body > header .logo-link {
    display: block;
    flex: 0 0 auto;
    text-decoration: none;
}
body > header .logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
    font-size: clamp(1.2rem, 4.8vw, 1.65rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.01em;
    color: var(--sjp-warm);
    white-space: nowrap;
}
body > header .logo-accent {
    display: block;
    margin: 0;
    font-size: .68em;
    font-style: italic;
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--sjp-accent);
}
body > header .second-logo {
    position: static;
    top: auto;
    right: auto;
    display: inline-block;
    padding-left: 1.6em;   /* relative unit = stays correct at any size */
}

/* --- Desktop navigation --- */
@media (min-width: 961px) {
    body > header nav { min-height: 72px; }

    body > header .nav-links {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: clamp(14px, 2vw, 30px);
        position: static;
        width: auto;
        max-height: none;
        margin: 0 auto;
        padding: 0;
        background: none;
        box-shadow: none;
        border: 0;
        overflow: visible;
        list-style: none;
    }
    body > header .nav-links li { width: auto; border: 0; padding: 0; list-style: none; }
    body > header .nav-links a {
        display: inline-block;
        padding: .4rem 0;
        color: var(--sjp-ink);
        font-size: .92rem;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
    }
    body > header .nav-links a:hover,
    body > header .nav-links a.active { color: var(--sjp-teal); background: none; }

    body > header .hamburger { display: none !important; }
    body > header .nav-mobile-auth { display: none !important; }
    body > header .auth-buttons { display: flex; align-items: center; gap: 12px; }
}

/* --- Phone / tablet navigation --- */
@media (max-width: 960px) {
    body > header .auth-buttons { display: none !important; }

    body > header .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        margin: 0 -8px 0 auto;
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 10px;
        cursor: pointer;
        z-index: 1002;
    }
    body > header .hamburger span {
        display: block;
        width: 24px;
        height: 2.5px;
        margin: 0;
        background: var(--sjp-primary);
        border-radius: 2px;
        transition: transform .25s ease, opacity .2s ease;
    }
    body > header .hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
    body > header .hamburger.open span:nth-child(2) { opacity: 0; }
    body > header .hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

    /* Menu = a panel attached under the header, scrolls if the phone is short */
    body > header .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 6px 0 12px;
        list-style: none;
        background: #fff;
        border-top: 1px solid var(--sjp-line);
        box-shadow: 0 18px 30px rgba(10, 77, 104, .16);
        max-height: calc(100vh - var(--sjp-header-h));
        max-height: calc(100dvh - var(--sjp-header-h));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: none;
        opacity: 1;
        visibility: visible;
    }
    body > header .nav-links.active { display: flex; }
    body > header .nav-links li { width: 100%; border: 0; padding: 0; margin: 0; list-style: none; }
    body > header .nav-links li a {
        display: block;
        padding: 14px var(--sjp-gutter);
        color: var(--sjp-ink);
        font-size: 1rem;
        font-weight: 600;
        text-align: left;
        text-decoration: none;
    }
    body > header .nav-links li a:hover,
    body > header .nav-links li a.active { background: #F1F5F9; color: var(--sjp-primary); }

    /* Login / Sign-up block (injected by navbar-improved.js) goes to the bottom.
       Its text was invisible before: a generic ".nav-links a" colour beat it. */
    body > header .nav-mobile-auth {
        order: 2;
        flex-direction: column;
        gap: 10px;
        margin: 8px 0 0;
        padding: 14px var(--sjp-gutter) 4px;
        border-top: 1px solid var(--sjp-line);
        background: transparent;
    }
    body > header .nav-links .mob-btn {
        display: block;
        padding: 13px 20px;
        border-radius: 12px;
        font-size: .98rem;
        font-weight: 700;
        text-align: center;
        text-decoration: none;
    }
    body > header .nav-links .mob-login  { color: var(--sjp-primary); background: #fff; border: 2px solid var(--sjp-primary); }
    body > header .nav-links .mob-signup { color: #fff; background: var(--sjp-primary); border: 2px solid var(--sjp-primary); margin: 0; }
    body > header .nav-links .mob-signup:hover { background: var(--sjp-primary-dark); }
}

/* ==========================================================================
   2. WELCOME POPUP  (was taller than a phone and could not scroll)
   ========================================================================== */
body .welcome-popup.active {
    display: flex !important;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 16px;
    -webkit-overflow-scrolling: touch;
}
body .welcome-popup-content {
    width: 100%;
    max-width: 480px;
    margin: auto;            /* centres when short, scrolls when tall - never clips */
    max-height: none;
}
body .welcome-popup-content h2 { line-height: 1.2; }

@media (max-width: 600px) {
    body .welcome-popup-content { padding: 28px 20px 22px; border-radius: 18px; }
    body .welcome-icon { font-size: 2.6rem; margin-bottom: .4rem; }
    body .welcome-popup-content h2 { font-size: 1.5rem; margin-bottom: .5rem; }
    body .welcome-popup-content > p { font-size: 1rem; margin-bottom: .75rem; }
    body .welcome-benefits { margin: .5rem 0; }
    body .welcome-benefits li { padding: .35rem 0; font-size: .98rem; }
    body .welcome-actions { margin-top: 1rem; gap: .65rem; }
    body .welcome-btn-primary,
    body .welcome-btn-secondary { padding: .85rem 1rem; font-size: 1rem; text-align: center; }
    body .welcome-footer { margin-top: 1rem; font-size: .9rem; }
    body .welcome-close { right: 14px; top: 10px; }
}

/* ==========================================================================
   3. HOME PAGE
   ========================================================================== */

/* --- Hero --- */
.showcase-hero__inner { align-items: center; }
.showcase-hero__visual .photo-wrap img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
    .showcase-hero { width: auto !important; max-width: none !important; margin: 12px 12px 0 !important; border-radius: 22px !important; box-sizing: border-box; }
    .showcase-hero__inner { display: flex !important; flex-direction: column; gap: 22px; padding: 26px 20px 8px !important; }
    .showcase-hero__copy { text-align: left !important; }
    .showcase-hero__copy h1 { font-size: clamp(1.7rem, 7.4vw, 2.5rem) !important; line-height: 1.15; }
    .showcase-hero__copy p { font-size: 1rem; }
    .showcase-hero__actions { justify-content: flex-start; }
    .showcase-hero__visual { width: 100%; }
    .showcase-hero__visual .photo-wrap { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; position: relative; }
    .showcase-hero__meta {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 12px 16px 18px !important;
    }
    .showcase-hero__meta .meta-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
    .showcase-hero__meta { grid-template-columns: 1fr; }
}

/* --- Shared section rhythm --- */
.categories,
.products.showcase-section,
.process-section,
.why-us,
.testimonials-section { padding-top: clamp(40px, 7vw, 72px); padding-bottom: clamp(40px, 7vw, 72px); }

.section-title { line-height: 1.2; }

/* --- Browse by category --- */
.categories .section-title { text-align: center; margin-bottom: clamp(20px, 4vw, 36px); }
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 22px);
    max-width: var(--sjp-max);
    margin: 0 auto;
    padding: 0 var(--sjp-gutter);
}
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: clamp(10px, 1.2vw, 12px) !important;
}
.category-card .category-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;          /* same size on every card, larger than the old fixed 150px strip */
    margin: 0 0 12px;
    font-size: 2.6rem;
    overflow: hidden;
    border-radius: 12px;
    background: #F1F5F9;
}
.category-card .category-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.category-card h3 { font-size: clamp(.95rem, 2.4vw, 1.2rem); line-height: 1.25; margin: 0 0 6px; padding: 0 4px; }
.category-card p { font-size: clamp(.8rem, 2vw, .95rem); margin: 0; padding: 0 4px; }

/* Arrow: shows the whole card is a link. Decorative (the card itself is the click target).
   Hidden on desktop (4 columns, hover feedback is enough); shown on tablet and phones (<= 960px). */
.category-card::after {
    display: none;
    content: "";
    flex: none;
    width: 34px;
    height: 34px;
    margin-top: auto;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px 16px no-repeat,
        linear-gradient(135deg, #0A4D68, #088395);
    box-shadow: 0 4px 12px rgba(10, 77, 104, .22);
    transition: transform .25s ease, box-shadow .25s ease;
}
@media (max-width: 960px) {
    .category-card::after { display: block; }
    .category-card p { margin-bottom: 14px; }
}
@media (hover: hover) {
    .category-card:hover { transform: translateY(-4px); }                 /* softer than the old 8px lift */
    .category-card:hover::after { transform: translateX(4px); box-shadow: 0 6px 16px rgba(8, 131, 149, .35); }
}
@media (prefers-reduced-motion: reduce) {
    .category-card, .category-card:hover { transform: none; transition: none; }
    .category-card::after, .category-card:hover::after { transform: none; transition: none; }
}

@media (max-width: 960px) { .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Final category-card responsive tuning */
@media (min-width: 961px) {
    .categories .category-card::after { display: none !important; }
    .categories .category-card { padding-bottom: 12px !important; }
}
@media (max-width: 960px) {
    .categories .category-card::after { display: block !important; }
}
@media (max-width: 600px) {
    .categories { padding-top: 36px !important; padding-bottom: 40px !important; }
    .categories .section-title { margin-bottom: 20px; }
    .categories .category-grid { gap: 14px; padding-left: 14px; padding-right: 14px; }
    .categories .category-card { min-width: 0; padding: 10px !important; }
    .categories .category-card .category-icon { aspect-ratio: 1 / 0.88; margin-bottom: 10px; }
    .categories .category-card h3 { font-size: clamp(.9rem, 3.8vw, 1.05rem); }
    .categories .category-card p { font-size: clamp(.76rem, 3.1vw, .88rem); line-height: 1.45; }
}
@media (prefers-reduced-motion: reduce) {
    .categories .category-card, .categories .category-card::after { transition: none !important; }
}

/* --- "Our Products" showcase (same width/edges as every other section) --- */
.showcase-section .products-container {
    max-width: var(--sjp-max);
    margin: 0 auto;
    padding: 0 var(--sjp-gutter);
}
.showcase-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.showcase-head .section-title { margin: 0; text-align: left; }
.showcase-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.showcase-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; }
.showcase-main > img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.showcase-side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.showcase-mini { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); align-items: center; overflow: hidden; }
.showcase-mini > img { width: 100%; height: 100%; min-height: 150px; object-fit: contain; background: #fff; }
.showcase-ph {
    display: flex; align-items: center; justify-content: center;
    align-self: stretch; min-height: 150px; font-size: 0 !important;
    background: linear-gradient(135deg, #eaf4f6, #dcecef);
}
.showcase-ph::before {
    content: ""; width: 44%; aspect-ratio: 1; opacity: .55;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%231a7f8e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 46V18M6 38h52v8M58 46V32a6 6 0 0 0-6-6H30v12'/%3E%3Ccircle cx='18' cy='30' r='5'/%3E%3C/svg%3E");
}

@media (max-width: 860px) {
    .showcase-grid { grid-template-columns: minmax(0, 1fr); }
    .showcase-side { grid-template-columns: minmax(0, 1fr); }
    .showcase-main { grid-template-columns: 1fr; }
    .showcase-main > img { min-height: 0; aspect-ratio: 16 / 10; }
    .showcase-head { align-items: flex-start; flex-direction: column; }
    .showcase-viewall { width: 100%; text-align: center; }
}
@media (max-width: 480px) {
    .showcase-mini { grid-template-columns: minmax(0, 1fr); }
    .showcase-mini > div:not(.showcase-ph) { min-width: 0; padding: 16px; }
    .showcase-mini > img, .showcase-ph { min-height: 0; aspect-ratio: 16 / 9; }
}

/* --- How we work --- */
.process-steps {
    display: flex; align-items: stretch; justify-content: center; gap: 12px;
    max-width: var(--sjp-max); margin: 0 auto; padding: 0 var(--sjp-gutter);
}
.process-step { flex: 1 1 0; min-width: 0; }
@media (max-width: 860px) {
    .process-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
    .process-arrow { display: none !important; }
}
@media (max-width: 520px) {
    .process-steps { grid-template-columns: 1fr; }
}

/* --- Manufacturer / why us --- */
.manufacturer-top {
    display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px);
    align-items: center; max-width: var(--sjp-max); margin: 0 auto; padding: 0 var(--sjp-gutter);
}
.manufacturer-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cert-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: clamp(20px, 3vw, 32px);
    max-width: var(--sjp-max); margin: clamp(28px, 5vw, 48px) auto 0; padding: 0 var(--sjp-gutter);
}
@media (max-width: 860px) {
    .manufacturer-top { grid-template-columns: 1fr; }
    .manufacturer-text { text-align: left; }
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px;
    max-width: var(--sjp-max); margin: 0 auto; padding: 0 var(--sjp-gutter);
}

/* ==========================================================================
   4. FOOTER  (both pages)
   ========================================================================== */
footer { margin-bottom: 0; }
footer .footer-content {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 28px;
    max-width: var(--sjp-max); margin: 0 auto; padding-left: var(--sjp-gutter); padding-right: var(--sjp-gutter);
}
footer .footer-bottom { text-align: center; }
footer .footer-section a, footer .footer-section p { overflow-wrap: anywhere; }
footer .footer-bottom a,
footer .footer-bottom a:visited { color: #9EE7F2; text-decoration: underline; text-underline-offset: 3px; }
footer .footer-bottom a:hover { color: #fff; }
footer .footer-gst-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; }
@media (max-width: 600px) {
    footer .footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
    footer .footer-content > .footer-section:first-child,
    footer .footer-content > .footer-section:last-child { grid-column: 1 / -1; }
    footer .footer-gst-bar { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   5. MODALS (product details, quantity)  - fit any phone, scroll inside
   ========================================================================== */
.modal { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.modal .modal-content {
    width: min(96vw, 980px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    box-sizing: border-box;
}
.modal .modal-image-container img { width: 100%; height: auto; max-height: 60vh; object-fit: contain; }
@media (max-width: 860px) {
    .modal .modal-body { display: grid; grid-template-columns: 1fr !important; gap: 18px; }
    .modal .modal-actions { display: flex; flex-wrap: wrap; gap: 10px; }
    .modal .modal-actions button { flex: 1 1 160px; }
}
.modal .close-modal { z-index: 5; }

/* ==========================================================================
   6. PRODUCTS PAGE (product.html)
   ========================================================================== */

/* Products with no photo yet: clean branded placeholder instead of random emoji */
.product-image:not(:has(img)) {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0 !important;
    color: transparent !important;
    background: linear-gradient(135deg, #eaf4f6, #dcecef) !important;
}
.product-image:not(:has(img))::before {
    content: ""; width: 34%; aspect-ratio: 1; opacity: .5;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%231a7f8e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 46V18M6 38h52v8M58 46V32a6 6 0 0 0-6-6H30v12'/%3E%3Ccircle cx='18' cy='30' r='5'/%3E%3C/svg%3E");
}

/* Filter tabs: one swipeable row on phones instead of 3 wrapped rows */
/* @media (max-width: 700px) {
    body.catalog-page .filter-bar {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        margin-left: -14px !important;
        margin-right: -14px !important;
        padding: 2px 14px 6px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    body.catalog-page .filter-bar::-webkit-scrollbar { display: none; }
    body.catalog-page .filter-btn { flex: 0 0 auto; white-space: nowrap; }
} */

/* Search row: input + button stay on one line */
.cp-search { flex-wrap: wrap; }
.cp-search input { min-width: 0; }
@media (max-width: 600px) {
    .cp-search { gap: 8px 10px; }
    .cp-search input { flex: 1 1 0; padding: 11px 16px; }
    .cp-search .cp-go { flex: 0 0 auto; padding: 11px 20px; }
    #productSearchCount, #productSearchClear { flex: 0 0 auto; }
}

/* Grid: 4 / 3 / 2 columns, tidy cards that do not overflow */
/* body.catalog-page .products-grid { align-items: stretch; }
body.catalog-page .product-card { min-width: 0; }
body.catalog-page .product-category {
    max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
body.catalog-page .inquiry-btn { width: 100%; white-space: nowrap; text-align: center; justify-content: center; }
.p-title { overflow-wrap: anywhere; }

@media (max-width: 600px) {
    body.catalog-page .products-container { padding: 0 14px !important; }
    body.catalog-page .products-grid { gap: 12px !important; padding-top: 18px !important; }
    body.catalog-page .product-info { padding: 10px 11px 12px !important; gap: 5px; }
    body.catalog-page .product-category { font-size: .62rem !important; padding: 3px 8px !important; }
    body.catalog-page .p-title { font-size: .82rem; }
    body.catalog-page .p-desc { font-size: .74rem; }
    body.catalog-page .product-price { font-size: .9rem; }
    body.catalog-page .inquiry-btn { padding: 9px 8px !important; font-size: .76rem !important; }
    .cp-head { padding: 26px 0 !important; }
    .cp-head h1 { font-size: 1.6rem !important; }
    .cp-wrap { padding: 0 16px; }
}
@media (max-width: 340px) {
    body.catalog-page .products-grid { grid-template-columns: 1fr !important; }
} */

/* ==========================================================================
   7. FLOATING CHAT BUTTON  - never covers page content or the safe area
   ========================================================================== */
@media (max-width: 600px) {
    body [class*="sjp-fab"] { max-width: 100%; }
    body { padding-bottom: env(safe-area-inset-bottom, 0); }
    footer { padding-bottom: 76px; }   /* room for the chat button under the last line */
}

/* ==========================================================================
   8. HOW WE WORK - always centred
   ========================================================================== */
.process-steps { justify-items: center; }
.process-step { margin-left: auto; margin-right: auto; }
@media (max-width: 860px) {
    .process-section { padding-left: 16px; padding-right: 16px; }
    .process-step { width: 100%; max-width: 420px !important; min-width: 0; }
}

/* ==========================================================================
   9. HERO SLIDER (index.html)  - 4 slides, auto-change every 10s (hero-slider.js)
   One full-photo banner: the photo fills the whole hero, a dark-teal gradient
   fades in from the left, and the text sits on top of it.
   The 4 category cards sit just BELOW the banner (outside the image).
   To change a photo or text, edit the matching <article class="sjp-slide"> in index.html
   (or use the admin "Edit hero" button).
   ========================================================================== */
.sjp-hero {
    --sjp-hero-max: 1370px;    /* <- make this number smaller/bigger to change the hero width */
    position: relative;
    width: min(var(--sjp-hero-max), calc(100% - 2 * var(--sjp-gutter)));
    margin: 20px auto 0;
    color: #fff;
}
.sjp-hero__slides {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(135deg, #052a3b 0%, #0A4D68 48%, #0b7285 100%);
    box-shadow: 0 28px 60px -20px rgba(6, 42, 59, .55);
}

.sjp-slide {
    grid-area: 1 / 1;
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(460px, 42vw, 600px);
    padding: clamp(36px, 4.5vw, 64px) clamp(24px, 4.5vw, 72px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .7s ease, visibility 0s linear .7s;
}
.sjp-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .7s ease; z-index: 1; }

/* ---- photo = the whole hero background, gradient blends it with the text ---- */
.sjp-slide__photo {
    position: absolute; top: 0; right: 0; bottom: 0; left: 38%;   /* <- bigger % = photo pushed further right */
    z-index: 0; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 30%);   /* soft blend into the teal on the left */
}
.sjp-slide__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.sjp-slide__photo::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(0deg, rgba(5, 42, 59, .5) 0%, transparent 32%),
        linear-gradient(90deg, rgba(5, 42, 59, .45) 0%, transparent 38%);
}
.sjp-chip {
    position: absolute; z-index: 2;
    right: clamp(20px, 3.5vw, 44px); bottom: clamp(18px, 3vw, 32px);
    display: flex; flex-direction: column; gap: 2px;
    padding: 12px 18px; border-radius: 14px;
    background: rgba(8, 64, 88, .7);
    border: 1px solid rgba(255, 255, 255, .26);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
    line-height: 1.25; color: #fff;
}
.sjp-chip strong { font-size: .95rem; color: #fff; }
.sjp-chip small { font-size: .76rem; color: #CDEFF5; }

/* ---- text (on top of the photo) ---- */
.sjp-slide__copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; width: 100%; max-width: 580px; min-width: 0; }
.sjp-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px 8px 14px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    font-size: .72rem; font-weight: 800; letter-spacing: .14em; color: #D8F6FB;
}
.sjp-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #FF9A62; box-shadow: 0 0 0 4px rgba(255, 154, 98, .25); }
.sjp-slide__copy h1 {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2rem, 3.3vw, 2.9rem);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -.025em;
    color: #fff;
    background: linear-gradient(180deg, #FFFFFF 30%, #CDEFF5 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.sjp-slide__copy h1 span {
    display: inline-block;
    background: linear-gradient(90deg, #8CF0FF 0%, #4FD8C4 55%, #B8F27C 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.sjp-slide__copy p { margin: 0; max-width: 32em; font-size: clamp(.98rem, 1.25vw, 1.1rem); line-height: 1.7; color: rgba(232, 246, 250, .9); }

.sjp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.sjp-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 26px; border-radius: 14px;
    font-weight: 800; font-size: .98rem; text-decoration: none; white-space: nowrap;
    color: #fff; background: linear-gradient(135deg, #FF9A62, #FF6B38); box-shadow: 0 10px 26px rgba(255, 107, 56, .38);
    transition: transform .2s ease, box-shadow .2s ease;
}
.sjp-cta span { transition: transform .2s ease; }
.sjp-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 107, 56, .48); }
.sjp-cta:hover span { transform: translateX(4px); }

/* ---- transition (unchanged feel): fade + text rises in + photo slowly settles ---- */
.sjp-slide.is-active .sjp-slide__copy > * { animation: sjpUp .7s cubic-bezier(.2, .7, .2, 1) both; }
.sjp-slide.is-active .sjp-slide__copy > *:nth-child(2) { animation-delay: .08s; }
.sjp-slide.is-active .sjp-slide__copy > *:nth-child(3) { animation-delay: .16s; }
.sjp-slide.is-active .sjp-slide__copy > *:nth-child(4) { animation-delay: .24s; }
.sjp-slide.is-active .sjp-slide__photo { animation: sjpPhoto .9s ease both; }
.sjp-slide.is-active .sjp-slide__photo img { animation: sjpZoom 11s ease-out both; }
@keyframes sjpUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes sjpPhoto { from { opacity: 0; } to { opacity: 1; } }
@keyframes sjpZoom { from { transform: scale(1.07); } to { transform: scale(1); } }

/* ---- category cards: right after the banner, outside the photo (click = switch slide) ---- */
.sjp-hero__tabs {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px;
    margin-top: 18px;
}
.sjp-tab {
    position: relative; overflow: hidden;
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; text-align: left; font-family: inherit; cursor: pointer;
    color: var(--sjp-ink);
    background: #fff;
    border: 1px solid var(--sjp-line);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(10, 77, 104, .08);
    transition: transform .2s ease, background .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.sjp-tab:hover { transform: translateY(-3px); border-color: #B9D6DC; box-shadow: 0 12px 26px rgba(10, 77, 104, .16); }
.sjp-tab:focus-visible { outline: 3px solid var(--sjp-accent); outline-offset: 2px; }
.sjp-tab.is-active { color: #fff; background: linear-gradient(135deg, #0A4D68, #0b7285); border-color: transparent; box-shadow: 0 14px 30px rgba(10, 77, 104, .32); }
.sjp-tab__ico { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #E7F2F3; font-size: 1.25rem; }
.sjp-tab.is-active .sjp-tab__ico { background: rgba(255, 255, 255, .18); }
.sjp-tab__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.sjp-tab__txt strong { font-size: .95rem; font-weight: 800; color: var(--sjp-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sjp-tab.is-active .sjp-tab__txt strong { color: #fff; }
.sjp-tab__txt small { font-size: .76rem; color: var(--sjp-muted); }
.sjp-tab.is-active .sjp-tab__txt small { color: rgba(255, 255, 255, .82); }
.sjp-tab__bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: linear-gradient(90deg, #FF9A62, #FF6B38); }
.sjp-tab.is-active .sjp-tab__bar { animation: sjpBar 10s linear forwards; }
.sjp-hero.is-paused .sjp-tab__bar { animation-play-state: paused; }
@keyframes sjpBar { from { width: 0; } to { width: 100%; } }

/* ---- tablet + phone ---- */
@media (max-width: 860px) {
    .sjp-hero { width: calc(100% - 24px); margin-top: 12px; }
    .sjp-hero__slides { border-radius: 22px; }
    .sjp-slide { align-items: flex-end; min-height: 540px; padding: 22px 20px 26px; }
    .sjp-slide__photo { left: 0; -webkit-mask-image: none; mask-image: none; }
    .sjp-slide__photo img { object-position: 68% 50%; }
    .sjp-slide__photo::after { background: linear-gradient(180deg, rgba(5, 42, 59, .2) 0%, rgba(5, 42, 59, .55) 36%, rgba(5, 42, 59, .94) 100%); }
    .sjp-slide__copy { max-width: none; gap: 14px; }
    .sjp-slide__copy h1 { font-size: clamp(1.8rem, 7.6vw, 2.5rem); }
    .sjp-chip { top: 14px; left: 14px; right: auto; bottom: auto; padding: 8px 12px; }
    .sjp-actions { width: 100%; }
    .sjp-cta { flex: 1 1 150px; padding: 13px 18px; }
    .sjp-hero__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
    .sjp-tab { padding: 11px 12px; gap: 10px; }
    .sjp-tab__ico { width: 36px; height: 36px; font-size: 1.05rem; }
    .sjp-tab__txt strong { font-size: .86rem; white-space: normal; }
    .sjp-tab__txt small { font-size: .7rem; }
}
@media (max-width: 380px) { .sjp-tab__ico { display: none; } }
@media (prefers-reduced-motion: reduce) {
    .sjp-slide, .sjp-slide.is-active { transition: none; }
    .sjp-slide.is-active .sjp-slide__copy > *, .sjp-slide.is-active .sjp-slide__photo, .sjp-slide.is-active .sjp-slide__photo img { animation: none; }
    .sjp-tab.is-active .sjp-tab__bar { animation: none; width: 100%; }
}

/* ==========================================================================
   10. BROWSE BY CATEGORY - one card per row on phones
   ========================================================================== */
@media (max-width: 480px) {
    /* one card per row: big photo on top, text left, arrow right (not a shrunken desktop card) */
    .category-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .category-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "img img" "title arrow" "desc arrow";
        column-gap: 12px;
        align-items: center;
        text-align: left;
        height: auto;
        padding: 12px !important;
    }
    .category-card .category-icon { grid-area: img; max-width: none; width: 100%; aspect-ratio: 16 / 10; margin: 0 0 12px; }
    .category-card h3 { grid-area: title; align-self: end; font-size: 1.15rem; margin: 0 0 4px; }
    .category-card p { grid-area: desc; align-self: start; font-size: .92rem; margin: 0; }
    .category-card::after { grid-area: arrow; width: 40px; height: 40px; margin: 0 4px 0 0; }
}


/* ==========================================================================
   11. PRODUCT DETAIL PAGE (product-detail.html)
   Additive — no existing rules changed.
   ========================================================================== */

.product-detail-page .pd-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px var(--sjp-gutter);
}

/* Hero grid: gallery | info | price card on desktop */
.product-detail-page .pd-hero {
    background: #fff;
    padding: 8px 0 32px;
}
.product-detail-page .pd-hero .pd-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 340px);
    gap: clamp(16px, 2.5vw, 32px);
    align-items: start;
}

/* Gallery */
.pd-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}
.pd-gallery-main {
    aspect-ratio: 1 / 1;
    background: #f4f9f9;
    border: 1px solid var(--sjp-line, #e2ecec);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pd-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pd-gallery-placeholder {
    flex-direction: column;
    gap: 12px;
    color: #7c9ba3;
    font-family: 'Manrope', sans-serif;
}
.pd-gallery-placeholder svg {
    width: 40%;
    max-width: 160px;
    opacity: 0.75;
}
.pd-gallery-placeholder p {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #64748b;
}

/* Thumbnails */
.pd-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
}
.pd-thumbs::-webkit-scrollbar { display: none; }
.pd-thumb {
    flex: 0 0 auto;
    width: 68px;
    height: 68px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #f4f9f9;
    transition: border-color 0.15s, opacity 0.15s;
}
.pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pd-thumb:hover { opacity: 0.9; }
.pd-thumb.is-active { border-color: #0A4D68; }

/* Product info column */
.pd-info { min-width: 0; }
.pd-cat-badge {
    display: inline-block;
    background: #e7f2f3;
    color: #0A4D68;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.pd-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    line-height: 1.2;
    color: #0A4D68;
    margin: 0 0 8px;
}
.pd-short-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 14px;
}
.pd-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.85rem;
}
.pd-rating-stars { color: #f59e0b; letter-spacing: 1px; }
.pd-rating-num { font-weight: 700; color: #0A4D68; }
.pd-rating-count { color: #64748b; }

.pd-share {
    display: inline-block;
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.15s;
}
.pd-share:hover { border-color: #0A4D68; color: #0A4D68; }

/* Price card */
.pd-price-card {
    background: #fff;
    border: 1px solid var(--sjp-line, #e2ecec);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(10, 77, 104, 0.06);
    position: sticky;
    top: calc(var(--sjp-header-h, 64px) + 12px);
}
.pd-price-label {
    font-size: 0.75rem;
    color: #64748b;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}
.pd-price {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
    color: #0A4D68;
    line-height: 1;
    margin-bottom: 16px;
}
.pd-price .pd-unit {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    margin-left: 6px;
}
.pd-price-contact {
    font-size: 1.3rem;
    color: #FF8551;
}

.pd-qty-row {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: stretch;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}
.pd-qty-btn {
    background: #f8fafc;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0A4D68;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: background 0.12s;
}
.pd-qty-btn:hover { background: #eef2f5; }
.pd-qty-input {
    border: none;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0A4D68;
    font-family: inherit;
    width: 100%;
    padding: 10px 0;
    background: #fff;
    /* -moz-appearance: textfield; */
}
.pd-qty-input::-webkit-outer-spin-button,
.pd-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-qty-input:focus { outline: none; }

.pd-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.15s;
    margin-bottom: 10px;
}
.pd-btn-primary {
    background: #0A4D68;
    color: #fff;
}
.pd-btn-primary:hover { background: #083d54; }
.pd-btn-whatsapp {
    background: #fff;
    color: #15803d;
    border: 1.5px solid #bbf7d0;
}
.pd-btn-whatsapp:hover { background: #f0fdf4; border-color: #86efac; }

.pd-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 14px 0 12px;
}
.pd-action {
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 9px 8px;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.pd-action:hover { border-color: #0A4D68; color: #0A4D68; }
.pd-action.is-active { color: #ef4444; border-color: #fecaca; background: #fef2f2; }
.pd-action-heart { font-size: 1rem; line-height: 1; }

.pd-note {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #475569;
}
.pd-note strong {
    display: block;
    font-weight: 700;
    color: #0A4D68;
    margin-bottom: 4px;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-detail-page .pd-hero .pd-wrap {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        gap: 20px;
    }
    .product-detail-page .pd-price-card {
        grid-column: 1 / -1;
        position: static;
    }
}

@media (max-width: 720px) {
    .product-detail-page .pd-hero .pd-wrap {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 16px var(--sjp-gutter);
    }
    .pd-gallery-main { aspect-ratio: 4 / 3; }
    .pd-price { font-size: 1.7rem; }
}

@media (max-width: 380px) {
    .product-detail-page .pd-wrap { padding: 12px; }
    .pd-actions-row { grid-template-columns: 1fr; }
    .pd-thumb { width: 56px; height: 56px; }
}

/* Dark mode */
[data-theme="dark"] .product-detail-page .pd-hero { background: #1e293b; }
[data-theme="dark"] .product-detail-page .pd-title,
[data-theme="dark"] .product-detail-page .pd-price { color: #f1f5f9; }
[data-theme="dark"] .product-detail-page .pd-short-desc,
[data-theme="dark"] .product-detail-page .pd-rating-count,
[data-theme="dark"] .product-detail-page .pd-price-label { color: #94a3b8; }
[data-theme="dark"] .product-detail-page .pd-cat-badge {
    background: #0f2a33;
    color: #7ee0e0;
}
[data-theme="dark"] .product-detail-page .pd-gallery-main,
[data-theme="dark"] .product-detail-page .pd-thumb {
    background: #0f172a;
    border-color: #334155;
}
[data-theme="dark"] .product-detail-page .pd-price-card {
    background: #1e293b;
    border-color: #334155;
}
[data-theme="dark"] .product-detail-page .pd-qty-row { border-color: #334155; }
[data-theme="dark"] .product-detail-page .pd-qty-btn { background: #0f172a; color: #7ee0e0; }
[data-theme="dark"] .product-detail-page .pd-qty-btn:hover { background: #1e293b; }
[data-theme="dark"] .product-detail-page .pd-qty-input {
    background: #0f172a; color: #f1f5f9; border-color: #334155;
}
[data-theme="dark"] .product-detail-page .pd-action {
    background: #0f172a; border-color: #334155; color: #cbd5e1;
}
[data-theme="dark"] .product-detail-page .pd-action:hover { color: #7ee0e0; border-color: #7ee0e0; }
[data-theme="dark"] .product-detail-page .pd-note {
    background: #0f172a; border-color: #334155; color: #cbd5e1;
}
[data-theme="dark"] .product-detail-page .pd-note strong { color: #7ee0e0; }
[data-theme="dark"] .product-detail-page .pd-share {
    border-color: #334155; color: #cbd5e1;
}
[data-theme="dark"] .product-detail-page .pd-share:hover { color: #7ee0e0; border-color: #7ee0e0; }

/* ==========================================================================
   12. PRODUCT DETAIL — Phase B (feature icons, trust badges, tabs, related)
   Additive. No existing rules changed.
   ========================================================================== */

/* Feature icons row */
.pd-feature-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 14px;
    max-width: 1200px;
    margin: 32px auto 0;
    padding: 20px var(--sjp-gutter);
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.pd-feature-icon { text-align: center; }
.pd-fi-circle {
    width: 52px; height: 52px; margin: 0 auto 8px;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: #0A4D68;
}
.pd-fi-label {
    font-size: 0.78rem; font-weight: 700; color: #0A4D68; line-height: 1.25;
}
.pd-fi-sub {
    font-size: 0.68rem; color: #64748b; margin-top: 2px; line-height: 1.3;
}

/* Trust badges row */
.pd-trust-badges {
    display: flex; flex-wrap: wrap; gap: 10px;
    justify-content: center; padding: 16px var(--sjp-gutter);
    background: #fff;
}
.pd-trust-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; background: #f0fdf4;
    border: 1px solid #bbf7d0; border-radius: 20px;
    font-size: 0.76rem; font-weight: 600; color: #166534;
}
.pd-tb-icon { font-size: 0.9rem; }

/* Tabs bar */
.pd-tabs {
    display: flex; gap: 4px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sjp-gutter);
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    position: sticky;
    top: calc(var(--sjp-header-h, 64px));
    z-index: 30;
}
.pd-tabs::-webkit-scrollbar { display: none; }
.pd-tab {
    flex: 0 0 auto;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 16px 18px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s, border-color 0.15s;
}
.pd-tab:hover { color: #0A4D68; }
.pd-tab.is-active {
    color: #FF8551;
    border-bottom-color: #FF8551;
    font-weight: 700;
}

/* Tab panels */
.pd-panels {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px var(--sjp-gutter) 48px;
}
.pd-panel { display: none; }
.pd-panel.is-active { display: block; }
.pd-section-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: #0A4D68;
    margin: 0 0 16px;
}
.pd-overview-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #475569;
    max-width: 780px;
    margin: 0;
}
.pd-empty-note {
    font-size: 0.9rem;
    color: #94a3b8;
    font-style: italic;
    margin: 0;
}

/* Specifications grid */
.pd-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 20px;
}
.pd-spec-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.86rem;
}
.pd-spec-row:nth-last-child(-n+2) { border-bottom: none; }
.pd-spec-label { color: #64748b; }
.pd-spec-value { color: #0f172a; font-weight: 600; text-align: right; }

/* Features list */
.pd-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
}
.pd-features-list li {
    position: relative;
    padding-left: 24px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #334155;
}
.pd-features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #FF8551;
    font-weight: 800;
}

/* Configurations grid */
.pd-config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
}
.pd-config-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 12px;
    text-align: center;
}
.pd-config-icon {
    font-size: 1.5rem;
    color: #0A4D68;
    margin-bottom: 8px;
}
.pd-config-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
}

/* Documents list */
.pd-docs-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}
.pd-doc-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.pd-doc-card:hover {
    border-color: #0A4D68;
    box-shadow: 0 4px 16px rgba(10, 77, 104, 0.08);
}
.pd-doc-icon { font-size: 1.4rem; }
.pd-doc-info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pd-doc-name { font-size: 0.85rem; font-weight: 600; color: #0A4D68; }
.pd-doc-size { font-size: 0.72rem; color: #94a3b8; }
.pd-doc-dl {
    font-size: 0.72rem;
    font-weight: 700;
    color: #FF8551;
    white-space: nowrap;
}

/* Related products grid */
.pd-related {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}
.pd-related-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s, box-shadow 0.15s;
}
.pd-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(10, 77, 104, 0.08);
}
.pd-related-img {
    aspect-ratio: 4 / 3;
    background: #f4f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7c9ba3;
    font-size: 0.72rem;
    font-weight: 600;
}
.pd-related-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pd-related-cat {
    font-size: 0.66rem;
    color: #088395;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}
.pd-related-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0A4D68;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pd-related-price {
    font-size: 0.9rem;
    font-weight: 800;
    color: #0A4D68;
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 720px) {
    .pd-feature-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px 10px;
        margin-top: 24px;
    }
    .pd-fi-circle { width: 44px; height: 44px; font-size: 1rem; }
    .pd-specs { grid-template-columns: 1fr; }
    .pd-spec-row:nth-last-child(-n+2) { border-bottom: 1px solid #f1f5f9; }
    .pd-spec-row:last-child { border-bottom: none; }
    .pd-features-list { grid-template-columns: 1fr; }
    .pd-tab { padding: 14px 14px; font-size: 0.82rem; }
    .pd-panels { padding: 24px 16px 40px; }
    .pd-related { grid-template-columns: repeat(2, 1fr); }
}

/* Dark mode */
[data-theme="dark"] .pd-feature-icons { background: #0f172a; border-color: #334155; }
[data-theme="dark"] .pd-fi-circle { background: #1e293b; border-color: #334155; color: #7ee0e0; }
[data-theme="dark"] .pd-fi-label { color: #f1f5f9; }
[data-theme="dark"] .pd-fi-sub { color: #94a3b8; }
[data-theme="dark"] .pd-trust-badges { background: #1e293b; }
[data-theme="dark"] .pd-trust-badge { background: #052e16; border-color: #166534; color: #6ee7b7; }
[data-theme="dark"] .pd-tabs { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .pd-tab { color: #94a3b8; }
[data-theme="dark"] .pd-tab:hover { color: #7ee0e0; }
[data-theme="dark"] .pd-tab.is-active { color: #ffb48a; border-bottom-color: #ffb48a; }
[data-theme="dark"] .pd-section-title { color: #7ee0e0; }
[data-theme="dark"] .pd-overview-text { color: #cbd5e1; }
[data-theme="dark"] .pd-specs { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .pd-spec-row { border-color: #334155; }
[data-theme="dark"] .pd-spec-label { color: #94a3b8; }
[data-theme="dark"] .pd-spec-value { color: #f1f5f9; }
[data-theme="dark"] .pd-features-list li { color: #cbd5e1; }
[data-theme="dark"] .pd-config-card { background: #0f172a; border-color: #334155; }
[data-theme="dark"] .pd-config-label { color: #cbd5e1; }
[data-theme="dark"] .pd-config-icon { color: #7ee0e0; }
[data-theme="dark"] .pd-doc-card { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .pd-doc-name { color: #7ee0e0; }
[data-theme="dark"] .pd-related-card { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .pd-related-title { color: #7ee0e0; }
[data-theme="dark"] .pd-related-price { color: #f1f5f9; }
[data-theme="dark"] .pd-related-img { background: #0f172a; }



/* ==========================================================================
   13. PRODUCT DETAIL — Phase C (Quote modal)
   ========================================================================== */

.pd-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.pd-modal-overlay.is-open { opacity: 1; }

.pd-modal {
    background: #fff;
    border-radius: 18px;
    padding: 32px 28px 24px;
    max-width: 460px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.25s cubic-bezier(0.34, 1.3, 0.64, 1);
    font-family: 'Manrope', sans-serif;
}
.pd-modal-overlay.is-open .pd-modal {
    transform: translateY(0) scale(1);
}

.pd-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.pd-modal-close:hover { background: #e2e8f0; color: #0A4D68; }

.pd-modal-icon {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 8px;
}
.pd-modal-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: #0A4D68;
    text-align: center;
    margin: 0 0 6px;
}
.pd-modal-sub {
    text-align: center;
    font-size: 0.88rem;
    color: #64748b;
    margin: 0 0 20px;
    line-height: 1.5;
}
.pd-modal-field { margin-bottom: 16px; }
.pd-modal-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0A4D68;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}
.pd-modal-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.92rem;
    color: #0f172a;
    background: #fff;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
    resize: vertical;
}
.pd-modal-input:focus {
    border-color: #0A4D68;
    box-shadow: 0 0 0 3px rgba(10, 77, 104, 0.08);
}
.pd-modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.pd-modal-btn {
    flex: 1;
    padding: 12px 16px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: background 0.15s;
}
.pd-modal-btn-cancel {
    background: #f1f5f9;
    color: #475569;
}
.pd-modal-btn-cancel:hover { background: #e2e8f0; }
.pd-modal-btn-primary {
    background: linear-gradient(135deg, #0A4D68, #088395);
    color: #fff;
}
.pd-modal-btn-primary:hover { filter: brightness(1.1); }

@media (max-width: 480px) {
    .pd-modal { padding: 26px 20px 20px; border-radius: 14px; }
    .pd-modal-title { font-size: 1.25rem; }
    .pd-modal-actions { flex-direction: column; }
}

[data-theme="dark"] .pd-modal { background: #1e293b; }
[data-theme="dark"] .pd-modal-title { color: #7ee0e0; }
[data-theme="dark"] .pd-modal-sub { color: #94a3b8; }
[data-theme="dark"] .pd-modal-label { color: #7ee0e0; }
[data-theme="dark"] .pd-modal-input {
    background: #0f172a;
    border-color: #334155;
    color: #f1f5f9;
}
[data-theme="dark"] .pd-modal-input:focus {
    border-color: #7ee0e0;
    box-shadow: 0 0 0 3px rgba(126, 224, 224, 0.15);
}
[data-theme="dark"] .pd-modal-close { background: #0f172a; color: #cbd5e1; }
[data-theme="dark"] .pd-modal-close:hover { background: #334155; color: #7ee0e0; }
[data-theme="dark"] .pd-modal-btn-cancel { background: #0f172a; color: #cbd5e1; }
[data-theme="dark"] .pd-modal-btn-cancel:hover { background: #334155; }


/* ==========================================================================
   PRODUCT DETAIL PAGE — final
   ========================================================================== */

.product-detail-page .pd-wrap {
    max-width: 1200px; margin: 0 auto; padding: 24px var(--sjp-gutter);
}
.product-detail-page .pd-hero { background: #fff; padding: 8px 0 32px; }
.product-detail-page .pd-hero .pd-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 340px);
    gap: clamp(16px, 2.5vw, 32px);
    align-items: start;
}

.pd-gallery { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pd-gallery-main {
    aspect-ratio: 1 / 1;
    background: #f4f9f9;
    border: 1px solid #e2ecec;
    border-radius: 14px;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.pd-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-gallery-placeholder {
    flex-direction: column; gap: 12px; color: #7c9ba3;
    font-family: 'Manrope', sans-serif;
}
.pd-gallery-placeholder svg { width: 40%; max-width: 160px; opacity: 0.75; }
.pd-gallery-placeholder p {
    margin: 0; font-size: 0.85rem; font-weight: 600; color: #64748b;
}
.pd-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.pd-thumbs::-webkit-scrollbar { display: none; }
.pd-thumb {
    flex: 0 0 auto; width: 68px; height: 68px; padding: 0;
    border: 2px solid transparent; border-radius: 10px; overflow: hidden;
    cursor: pointer; background: #f4f9f9; transition: border-color 0.15s, opacity 0.15s;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb:hover { opacity: 0.9; }
.pd-thumb.is-active { border-color: #0A4D68; }

.pd-info { min-width: 0; }
.pd-cat-badge {
    display: inline-block; background: #e7f2f3; color: #0A4D68;
    font-size: 0.72rem; font-weight: 700; padding: 4px 10px;
    border-radius: 20px; letter-spacing: 0.03em; text-transform: uppercase;
    margin-bottom: 10px;
}
.pd-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    line-height: 1.2; color: #0A4D68; margin: 0 0 8px;
}
.pd-short-desc {
    font-size: 0.95rem; line-height: 1.6; color: #475569; margin: 0 0 14px;
}
.pd-rating {
    display: inline-flex; align-items: center; gap: 8px;
    margin-bottom: 14px; font-size: 0.85rem;
}
.pd-rating-stars { color: #f59e0b; letter-spacing: 1px; }
.pd-rating-num { font-weight: 700; color: #0A4D68; }
.pd-rating-count { color: #64748b; }
.pd-share {
    display: inline-block; background: transparent; border: 1px solid #cbd5e1;
    color: #475569; font-family: inherit; font-size: 0.8rem; font-weight: 600;
    padding: 6px 14px; border-radius: 20px; cursor: pointer; transition: all 0.15s;
}
.pd-share:hover { border-color: #0A4D68; color: #0A4D68; }

.pd-price-card {
    background: #fff; border: 1px solid #e2ecec; border-radius: 16px;
    padding: 20px; box-shadow: 0 4px 20px rgba(10, 77, 104, 0.06);
    position: sticky; top: calc(var(--sjp-header-h, 64px) + 12px);
}
.pd-price-label {
    font-size: 0.75rem; color: #64748b; letter-spacing: 0.03em;
    text-transform: uppercase; font-weight: 600; margin-bottom: 4px;
}
.pd-price {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 2rem; font-weight: 400; color: #0A4D68;
    line-height: 1; margin-bottom: 16px;
}
.pd-price .pd-unit {
    font-family: 'Manrope', sans-serif; font-size: 0.85rem;
    color: #64748b; font-weight: 500; margin-left: 6px;
}
.pd-price-contact { font-size: 1.3rem; color: #FF8551; }

.pd-qty-row {
    display: grid; grid-template-columns: 40px 1fr 40px; align-items: stretch;
    border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; margin-bottom: 12px;
}
.pd-qty-btn {
    background: #f8fafc; border: none; font-size: 1.1rem; font-weight: 700;
    color: #0A4D68; cursor: pointer; padding: 0; font-family: inherit;
    transition: background 0.12s;
}
.pd-qty-btn:hover { background: #eef2f5; }
.pd-qty-input {
    border: none; border-left: 1px solid #e2e8f0; border-right: 1px solid #e2e8f0;
    text-align: center; font-size: 0.95rem; font-weight: 600; color: #0A4D68;
    font-family: inherit; width: 100%; padding: 10px 0; background: #fff;
    /* -moz-appearance: textfield; */
}
.pd-qty-input::-webkit-outer-spin-button,
.pd-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-qty-input:focus { outline: none; }

.pd-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 12px 16px; border-radius: 10px;
    font-family: inherit; font-size: 0.9rem; font-weight: 700;
    text-decoration: none; cursor: pointer; border: none;
    transition: all 0.15s; margin-bottom: 10px;
}
.pd-btn-primary { background: #0A4D68; color: #fff; }
.pd-btn-primary:hover { background: #083d54; }
.pd-btn-whatsapp {
    background: #fff; color: #15803d; border: 1.5px solid #bbf7d0;
}
.pd-btn-whatsapp:hover { background: #f0fdf4; border-color: #86efac; }

.pd-actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 12px; }
.pd-action {
    background: transparent; border: 1px solid #e2e8f0; border-radius: 8px;
    padding: 9px 8px; font-family: inherit; font-size: 0.78rem; font-weight: 600;
    color: #475569; cursor: pointer; transition: all 0.15s;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.pd-action:hover { border-color: #0A4D68; color: #0A4D68; }
.pd-action.is-active { color: #ef4444; border-color: #fecaca; background: #fef2f2; }
.pd-action-heart { font-size: 1rem; line-height: 1; }

.pd-note {
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px;
    padding: 12px; font-size: 0.78rem; line-height: 1.5; color: #475569;
}
.pd-note strong { display: block; font-weight: 700; color: #0A4D68; margin-bottom: 4px; }

/* Feature icons */
.pd-feature-icons {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 14px; max-width: 1200px; margin: 32px auto 0;
    padding: 20px var(--sjp-gutter); background: #f8fafc;
    border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0;
}
.pd-feature-icon { text-align: center; }
.pd-fi-circle {
    width: 52px; height: 52px; margin: 0 auto 8px;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: #0A4D68;
}
.pd-fi-label { font-size: 0.78rem; font-weight: 700; color: #0A4D68; line-height: 1.25; }
.pd-fi-sub { font-size: 0.68rem; color: #64748b; margin-top: 2px; line-height: 1.3; }

/* Trust badges */
.pd-trust-badges {
    display: flex; flex-wrap: wrap; gap: 10px;
    justify-content: center; padding: 16px var(--sjp-gutter); background: #fff;
}
.pd-trust-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; background: #f0fdf4; border: 1px solid #bbf7d0;
    border-radius: 20px; font-size: 0.76rem; font-weight: 600; color: #166534;
}
.pd-tb-icon { font-size: 0.9rem; }

/* Tabs */
.pd-tabs {
    display: flex; gap: 4px; max-width: 1200px; margin: 0 auto;
    padding: 0 var(--sjp-gutter); background: #fff;
    border-bottom: 1px solid #e2e8f0; overflow-x: auto;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    position: sticky; top: calc(var(--sjp-header-h, 64px)); z-index: 30;
}
.pd-tabs::-webkit-scrollbar { display: none; }
.pd-tab {
    flex: 0 0 auto; background: transparent; border: none;
    border-bottom: 3px solid transparent; padding: 16px 18px;
    font-family: inherit; font-size: 0.88rem; font-weight: 600;
    color: #64748b; cursor: pointer; white-space: nowrap;
    transition: color 0.15s, border-color 0.15s;
}
.pd-tab:hover { color: #0A4D68; }
.pd-tab.is-active { color: #FF8551; border-bottom-color: #FF8551; font-weight: 700; }

.pd-panels { max-width: 1200px; margin: 0 auto; padding: 32px var(--sjp-gutter) 48px; }
.pd-panel { display: none; }
.pd-panel.is-active { display: block; }
.pd-section-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400; font-size: 1.5rem; color: #0A4D68; margin: 0 0 16px;
}
.pd-overview-text {
    font-size: 0.95rem; line-height: 1.7; color: #475569;
    max-width: 780px; margin: 0;
}
.pd-empty-note { font-size: 0.9rem; color: #94a3b8; font-style: italic; margin: 0; }

.pd-specs {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px; background: #fff; border: 1px solid #e2e8f0;
    border-radius: 12px; padding: 8px 20px;
}
.pd-spec-row {
    display: flex; justify-content: space-between; gap: 16px;
    padding: 12px 0; border-bottom: 1px solid #f1f5f9; font-size: 0.86rem;
}
.pd-spec-row:nth-last-child(-n+2) { border-bottom: none; }
.pd-spec-label { color: #64748b; }
.pd-spec-value { color: #0f172a; font-weight: 600; text-align: right; }

.pd-features-list {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
}
.pd-features-list li {
    position: relative; padding-left: 24px;
    font-size: 0.9rem; line-height: 1.6; color: #334155;
}
.pd-features-list li::before {
    content: '✓'; position: absolute; left: 0; top: 0;
    color: #FF8551; font-weight: 800;
}

.pd-config-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px;
}
.pd-config-card {
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px;
    padding: 20px 12px; text-align: center;
}
.pd-config-icon { font-size: 1.5rem; color: #0A4D68; margin-bottom: 8px; }
.pd-config-label { font-size: 0.82rem; font-weight: 600; color: #334155; }

.pd-docs-list {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px;
}
.pd-doc-card {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; background: #fff; border: 1px solid #e2e8f0;
    border-radius: 10px; text-decoration: none; color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.pd-doc-card:hover { border-color: #0A4D68; box-shadow: 0 4px 16px rgba(10, 77, 104, 0.08); }
.pd-doc-icon { font-size: 1.4rem; }
.pd-doc-info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pd-doc-name { font-size: 0.85rem; font-weight: 600; color: #0A4D68; }
.pd-doc-size { font-size: 0.72rem; color: #94a3b8; }
.pd-doc-dl { font-size: 0.72rem; font-weight: 700; color: #FF8551; white-space: nowrap; }

.pd-related {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;
}
.pd-related-card {
    display: flex; flex-direction: column; background: #fff;
    border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden;
    text-decoration: none; color: inherit;
    transition: transform 0.15s, box-shadow 0.15s;
}
.pd-related-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(10, 77, 104, 0.08); }
.pd-related-img {
    aspect-ratio: 4 / 3; background: #f4f9f9;
    display: flex; align-items: center; justify-content: center;
    color: #7c9ba3; font-size: 0.72rem; font-weight: 600;
}
.pd-related-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.pd-related-cat {
    font-size: 0.66rem; color: #088395; text-transform: uppercase;
    letter-spacing: 0.05em; font-weight: 700;
}
.pd-related-title {
    font-size: 0.85rem; font-weight: 700; color: #0A4D68; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pd-related-price { font-size: 0.9rem; font-weight: 800; color: #0A4D68; margin-top: 4px; }

/* Quote modal */
.pd-modal-overlay {
    position: fixed; inset: 0; background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    z-index: 9998; display: flex; align-items: center; justify-content: center;
    padding: 20px; opacity: 0; transition: opacity 0.2s ease;
}
.pd-modal-overlay.is-open { opacity: 1; }
.pd-modal {
    background: #fff; border-radius: 18px; padding: 32px 28px 24px;
    max-width: 460px; width: 100%; max-height: 92vh; overflow-y: auto;
    position: relative; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.25s cubic-bezier(0.34, 1.3, 0.64, 1);
    font-family: 'Manrope', sans-serif;
}
.pd-modal-overlay.is-open .pd-modal { transform: translateY(0) scale(1); }
.pd-modal-close {
    position: absolute; top: 16px; right: 16px;
    width: 32px; height: 32px; border-radius: 8px; background: #f1f5f9;
    border: none; cursor: pointer; font-size: 1.2rem; color: #64748b;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s;
}
.pd-modal-close:hover { background: #e2e8f0; color: #0A4D68; }
.pd-modal-icon { font-size: 2rem; text-align: center; margin-bottom: 8px; }
.pd-modal-title {
    font-family: 'DM Serif Display', Georgia, serif; font-weight: 400;
    font-size: 1.5rem; color: #0A4D68; text-align: center; margin: 0 0 6px;
}
.pd-modal-sub {
    text-align: center; font-size: 0.88rem; color: #64748b;
    margin: 0 0 20px; line-height: 1.5;
}
.pd-modal-field { margin-bottom: 16px; }
.pd-modal-label {
    display: block; font-size: 0.75rem; font-weight: 700;
    color: #0A4D68; text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 6px;
}
.pd-modal-input {
    width: 100%; padding: 11px 14px; border: 1.5px solid #e2e8f0;
    border-radius: 10px; font-family: inherit; font-size: 0.92rem;
    color: #0f172a; background: #fff; outline: none; box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s; resize: vertical;
}
.pd-modal-input:focus {
    border-color: #0A4D68; box-shadow: 0 0 0 3px rgba(10, 77, 104, 0.08);
}
.pd-modal-actions { display: flex; gap: 10px; margin-top: 20px; }
.pd-modal-btn {
    flex: 1; padding: 12px 16px; border-radius: 10px; font-family: inherit;
    font-size: 0.9rem; font-weight: 700; cursor: pointer; border: none;
    transition: background 0.15s;
}
.pd-modal-btn-cancel { background: #f1f5f9; color: #475569; }
.pd-modal-btn-cancel:hover { background: #e2e8f0; }
.pd-modal-btn-primary {
    background: linear-gradient(135deg, #0A4D68, #088395); color: #fff;
}
.pd-modal-btn-primary:hover { filter: brightness(1.1); }

/* Responsive */
@media (max-width: 1024px) {
    .product-detail-page .pd-hero .pd-wrap {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px;
    }
    .product-detail-page .pd-price-card { grid-column: 1 / -1; position: static; }
}

@media (max-width: 720px) {
    .product-detail-page .pd-hero .pd-wrap {
        grid-template-columns: 1fr; gap: 18px;
        padding: 16px var(--sjp-gutter);
    }
    .pd-gallery-main { aspect-ratio: 4 / 3; }
    .pd-price { font-size: 1.7rem; }
    .pd-feature-icons {
        grid-template-columns: repeat(2, 1fr); gap: 14px 10px; margin-top: 24px;
    }
    .pd-fi-circle { width: 44px; height: 44px; font-size: 1rem; }
    .pd-specs { grid-template-columns: 1fr; }
    .pd-features-list { grid-template-columns: 1fr; }
    .pd-tab { padding: 14px 14px; font-size: 0.82rem; }
    .pd-panels { padding: 24px 16px 40px; }
    .pd-related { grid-template-columns: repeat(2, 1fr); }
    .pd-modal { padding: 26px 20px 20px; border-radius: 14px; }
    .pd-modal-title { font-size: 1.25rem; }
    .pd-modal-actions { flex-direction: column; }
}

@media (max-width: 380px) {
    .product-detail-page .pd-wrap { padding: 12px; }
    .pd-actions-row { grid-template-columns: 1fr; }
    .pd-thumb { width: 56px; height: 56px; }
    .pd-related { grid-template-columns: 1fr; }
}

/* Dark mode */
[data-theme="dark"] .product-detail-page .pd-hero { background: #1e293b; }
[data-theme="dark"] .pd-title,
[data-theme="dark"] .pd-price { color: #f1f5f9; }
[data-theme="dark"] .pd-short-desc,
[data-theme="dark"] .pd-rating-count,
[data-theme="dark"] .pd-price-label { color: #94a3b8; }
[data-theme="dark"] .pd-cat-badge { background: #0f2a33; color: #7ee0e0; }
[data-theme="dark"] .pd-gallery-main,
[data-theme="dark"] .pd-thumb { background: #0f172a; border-color: #334155; }
[data-theme="dark"] .pd-price-card { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .pd-qty-row { border-color: #334155; }
[data-theme="dark"] .pd-qty-btn { background: #0f172a; color: #7ee0e0; }
[data-theme="dark"] .pd-qty-input { background: #0f172a; color: #f1f5f9; border-color: #334155; }
[data-theme="dark"] .pd-action { background: #0f172a; border-color: #334155; color: #cbd5e1; }
[data-theme="dark"] .pd-note { background: #0f172a; border-color: #334155; color: #cbd5e1; }
[data-theme="dark"] .pd-note strong { color: #7ee0e0; }
[data-theme="dark"] .pd-share { border-color: #334155; color: #cbd5e1; }
[data-theme="dark"] .pd-feature-icons { background: #0f172a; border-color: #334155; }
[data-theme="dark"] .pd-fi-circle { background: #1e293b; border-color: #334155; color: #7ee0e0; }
[data-theme="dark"] .pd-fi-label { color: #f1f5f9; }
[data-theme="dark"] .pd-fi-sub { color: #94a3b8; }
[data-theme="dark"] .pd-trust-badges { background: #1e293b; }
[data-theme="dark"] .pd-trust-badge { background: #052e16; border-color: #166534; color: #6ee7b7; }
[data-theme="dark"] .pd-tabs { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .pd-tab { color: #94a3b8; }
[data-theme="dark"] .pd-tab.is-active { color: #ffb48a; border-bottom-color: #ffb48a; }
[data-theme="dark"] .pd-section-title { color: #7ee0e0; }
[data-theme="dark"] .pd-overview-text { color: #cbd5e1; }
[data-theme="dark"] .pd-specs { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .pd-spec-row { border-color: #334155; }
[data-theme="dark"] .pd-spec-label { color: #94a3b8; }
[data-theme="dark"] .pd-spec-value { color: #f1f5f9; }
[data-theme="dark"] .pd-features-list li { color: #cbd5e1; }
[data-theme="dark"] .pd-config-card { background: #0f172a; border-color: #334155; }
[data-theme="dark"] .pd-config-label { color: #cbd5e1; }
[data-theme="dark"] .pd-config-icon { color: #7ee0e0; }
[data-theme="dark"] .pd-doc-card { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .pd-doc-name { color: #7ee0e0; }
[data-theme="dark"] .pd-related-card { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .pd-related-title { color: #7ee0e0; }
[data-theme="dark"] .pd-related-price { color: #f1f5f9; }
[data-theme="dark"] .pd-related-img { background: #0f172a; }
[data-theme="dark"] .pd-modal { background: #1e293b; }
[data-theme="dark"] .pd-modal-title { color: #7ee0e0; }
[data-theme="dark"] .pd-modal-sub { color: #94a3b8; }
[data-theme="dark"] .pd-modal-label { color: #7ee0e0; }
[data-theme="dark"] .pd-modal-input { background: #0f172a; border-color: #334155; color: #f1f5f9; }
[data-theme="dark"] .pd-modal-close { background: #0f172a; color: #cbd5e1; }
[data-theme="dark"] .pd-modal-btn-cancel { background: #0f172a; color: #cbd5e1; }

/* ==========================================================================
   PRODUCT LISTING — v2 layout (sidebar + 3-col grid + sort bar)
   Additive. Scoped under body.catalog-page only.
   ========================================================================== */

@media (max-width: 900px) {
    body.catalog-page.cp-sidebar-open .cp-sidebar {
        display: block;
        position: static;
        margin-bottom: 16px;
    }
}


/* ================================================================
   PRODUCT PAGE MOBILE / RESPONSIVE POLISH
   Paste this at the VERY BOTTOM of responsive-fix.css
   ================================================================ */

body.catalog-page {
    overflow-x: hidden;
}

body.catalog-page .cp-layout,
body.catalog-page .cp-tabs-inner,
body.catalog-page .cp-hero-inner {
    width: 100%;
    box-sizing: border-box;
}

body.catalog-page .products-grid {
    align-items: stretch;
}

body.catalog-page .product-card {
    min-width: 0;
    width: 100%;
}

body.catalog-page .product-image {
    aspect-ratio: 4 / 3;
    background: #f1f7f8 !important;
}

body.catalog-page .product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 10px;
    box-sizing: border-box;
}

body.catalog-page .product-info {
    min-width: 0;
}

body.catalog-page .product-category {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.catalog-page .p-title {
    min-width: 0;
    overflow-wrap: anywhere;
}

body.catalog-page .p-desc {
    overflow-wrap: anywhere;
}

body.catalog-page .product-footer {
    min-width: 0;
}

body.catalog-page .cp-mobile-filter-close {
    display: none;
}

body.catalog-page .product-price {
    min-width: 0;
    white-space: nowrap;
}

body.catalog-page .inquiry-btn {
    white-space: nowrap;
    flex-shrink: 0;
}


/* ================================================================
   TABLET / PHONE
   ================================================================ */

@media (max-width: 700px) {

    body.catalog-page .cp-hero {
        padding: 28px 0 30px;
    }

    body.catalog-page .cp-hero-inner {
        padding-left: 16px;
        padding-right: 16px;
        gap: 18px;
    }

    body.catalog-page .cp-hero h1 {
        font-size: clamp(1.85rem, 8vw, 2.35rem);
    }

    body.catalog-page .cp-hero p {
        font-size: .9rem;
        line-height: 1.55;
    }


    /* CATEGORY TABS */

    body.catalog-page .cp-tabs-row {
        padding: 10px 0;
        top: var(--sjp-header-h, 64px);
    }

    body.catalog-page .cp-tabs-inner {
        padding: 0 16px;
        display: block;
    }

    body.catalog-page .cp-tabs {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
        -webkit-overflow-scrolling: touch;
    }

    body.catalog-page .cp-tab-pill {
        flex: 0 0 auto;
        padding: 8px 13px;
        font-size: .76rem;
    }


    /* SORT */

    body.catalog-page .cp-sort-inline {
        display: flex;
        justify-content: space-between;
        margin-top: 9px;
        width: 100%;
    }

    body.catalog-page .cp-sort-inline select {
        min-width: 150px;
    }


    /* MAIN CONTENT */

    body.catalog-page .cp-layout {
        display: block;
        padding: 18px 16px 32px;
    }


    /* SEARCH TOOLBAR */

    body.catalog-page .cp-search {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 8px;
        align-items: center;
        margin-bottom: 14px;
    }

    body.catalog-page .cp-mobile-filter-btn {
        display: inline-flex;
        min-height: 42px;
        padding: 0 12px;
    }

    body.catalog-page .cp-search input {
        width: 100%;
        min-width: 0;
        height: 42px;
        box-sizing: border-box;
        padding: 10px 13px;
        font-size: .84rem;
    }

    body.catalog-page .cp-search .cp-go {
        height: 42px;
        padding: 0 14px;
    }

    body.catalog-page #productSearchCount {
        grid-column: 1 / 3;
        font-size: .72rem;
    }

    body.catalog-page #productSearchClear {
        grid-column: 3;
        justify-self: end;
        padding: 6px 9px;
    }


    /* PRODUCT GRID */

    body.catalog-page .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        padding: 4px 0 8px !important;
    }


    /* PRODUCT CARD */

    body.catalog-page .product-card {
        border-radius: 13px !important;
        box-shadow: 0 3px 12px rgba(10, 77, 104, .07) !important;
    }

    body.catalog-page .product-card:hover {
        transform: none;
        box-shadow: 0 3px 12px rgba(10, 77, 104, .07) !important;
    }

    body.catalog-page .product-image {
        aspect-ratio: 1.15 / 1;
    }

    body.catalog-page .product-image img {
        padding: 7px;
    }

    body.catalog-page .product-info {
        padding: 10px 10px 11px !important;
        gap: 5px;
    }

    body.catalog-page .product-category {
        font-size: .58rem !important;
        padding: 3px 7px;
        letter-spacing: 0;
    }

    body.catalog-page .p-title {
        font-size: .79rem;
        line-height: 1.3;
        line-clamp: 2;
        -webkit-line-clamp: 2;
    }

    body.catalog-page .p-desc {
        display: none;
    }


    /* PRICE + QUOTE */

    body.catalog-page .product-footer {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 7px !important;
        padding-top: 4px !important;
    }

    body.catalog-page .product-price {
        font-size: .86rem;
    }

    body.catalog-page .gst-note {
        font-size: .56rem !important;
    }

    body.catalog-page .inquiry-btn {
        width: 100% !important;
        padding: 8px 7px !important;
        font-size: .68rem !important;
        border-radius: 8px !important;
    }


    /* WISHLIST */

    body.catalog-page .wishlist-btn {
        width: 30px !important;
        height: 30px !important;
        top: 7px !important;
        right: 7px !important;
        font-size: .85rem !important;
    }


    /* ============================================================
       MOBILE FILTER DRAWER
       ============================================================ */

    body.catalog-page .cp-sidebar {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;

        width: min(88vw, 360px) !important;
        max-height: 100dvh !important;
        height: 100dvh !important;

        margin: 0 !important;

        border-radius: 18px 0 0 18px !important;

        z-index: 1200 !important;

        overflow-y: auto !important;

        transform: translateX(105%);
        transition: transform .25s ease;

        box-shadow: -16px 0 40px rgba(0,0,0,.18);
    }

    body.catalog-page.cp-sidebar-open .cp-sidebar {
        transform: translateX(0);
    }

    body.catalog-page.cp-sidebar-open {
        overflow: hidden;
    }

    body.catalog-page.cp-sidebar-open::before {
        content: "";

        position: fixed;
        inset: 0;

        background: rgba(2, 22, 30, .48);

        z-index: 1199;
    }

    body.catalog-page .cp-mobile-filter-close {
        display: inline-flex;

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

        width: 32px;
        height: 32px;

        border: 1px solid var(--line);
        border-radius: 9px;

        background: #fff;
        color: var(--navy);

        font-size: 1.35rem;
        line-height: 1;

        cursor: pointer;
    }

    body.catalog-page .cp-sidebar-head {
        position: sticky;
        top: 0;

        background: #fff;

        z-index: 2;

        padding-top: 4px;
    }


    /* CUSTOM QUOTE */

    body.catalog-page .cp-custom-banner {
        margin: 10px 16px 28px;
        border-radius: 15px;
    }


    /* PAGINATION */

    body.catalog-page .cp-pagination {
        padding: 18px 0 4px;
        flex-wrap: wrap;
    }

    body.catalog-page .cp-pagination button {
        width: 34px;
        height: 34px;
    }
}


/* ================================================================
   VERY SMALL PHONES
   ================================================================ */

@media (max-width: 380px) {

    body.catalog-page .products-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    body.catalog-page .product-image {
        aspect-ratio: 16 / 10;
    }

    body.catalog-page .product-info {
        padding: 12px 13px 14px !important;
    }

    body.catalog-page .p-title {
        font-size: .88rem;
    }

    body.catalog-page .p-desc {
        display: -webkit-box;
        font-size: .72rem;
        line-clamp: 2;
        -webkit-line-clamp: 2;
    }

    body.catalog-page .product-footer {
        flex-direction: row !important;
        align-items: center !important;
    }

    body.catalog-page .inquiry-btn {
        width: auto !important;
        padding: 8px 12px !important;
    }
}


/* ================================================================
   DESKTOP
   ================================================================ */

@media (min-width: 901px) {

    body.catalog-page .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}


/* ================================================================
   CUSTOM SOLUTION QUOTE MODAL
   ================================================================ */

.custom-quote-modal {
    position: fixed;
    inset: 0;

    display: none;

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

    padding: 20px;

    z-index: 5000;
}

.custom-quote-modal.is-open {
    display: flex;
}

.custom-quote-overlay {
    position: absolute;
    inset: 0;

    background: rgba(3, 28, 39, .68);

    backdrop-filter: blur(7px);
}

.custom-quote-dialog {
    position: relative;

    width: min(720px, 100%);
    max-height: min(850px, 92vh);

    overflow-y: auto;

    background: #fff;

    border-radius: 22px;

    box-shadow:
        0 30px 90px rgba(0, 0, 0, .28);

    padding: 28px;

    z-index: 1;

    animation: customQuoteIn .22s ease-out;
}

@keyframes customQuoteIn {

    from {
        opacity: 0;
        transform: translateY(16px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


.custom-quote-close {
    position: absolute;

    top: 16px;
    right: 16px;

    width: 38px;
    height: 38px;

    border: 1px solid #dbe7e9;
    border-radius: 50%;

    background: #fff;

    color: #0A4D68;

    font-size: 1.45rem;
    line-height: 1;

    cursor: pointer;

    transition: .2s ease;
}

.custom-quote-close:hover {
    background: #eaf5f6;
    transform: rotate(90deg);
}


.custom-quote-header {
    display: flex;
    align-items: flex-start;

    gap: 15px;

    padding-right: 42px;

    margin-bottom: 24px;
}

.custom-quote-icon {
    flex: 0 0 auto;

    width: 48px;
    height: 48px;

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

    border-radius: 14px;

    background: #e4f3f4;

    font-size: 1.35rem;
}


.custom-quote-eyebrow {
    display: block;

    margin-bottom: 5px;

    color: #088395;

    font-size: .66rem;
    font-weight: 800;

    letter-spacing: .09em;
}


.custom-quote-header h2 {
    margin: 0 0 6px;

    color: #0A4D68;

    font-family: 'DM Serif Display', Georgia, serif;

    font-size: 1.75rem;
    font-weight: 400;
}


.custom-quote-header p {
    margin: 0;

    color: #64748b;

    font-size: .84rem;

    line-height: 1.55;
}


.custom-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;
}


.custom-form-field {
    display: flex;
    flex-direction: column;

    gap: 7px;
}


.custom-form-full {
    margin-top: 15px;
}


.custom-form-field label {
    color: #0A4D68;

    font-size: .72rem;
    font-weight: 800;
}


.custom-form-field input,
.custom-form-field select,
.custom-form-field textarea {

    width: 100%;

    box-sizing: border-box;

    border: 1px solid #dbe7e9;

    border-radius: 10px;

    background: #fbfdfd;

    color: #123b4a;

    font-family: 'Manrope', sans-serif;

    font-size: .84rem;

    padding: 11px 12px;

    outline: none;

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}


.custom-form-field textarea {
    resize: vertical;

    min-height: 120px;
}


.custom-form-field input:focus,
.custom-form-field select:focus,
.custom-form-field textarea:focus {

    border-color: #088395;

    background: #fff;

    box-shadow:
        0 0 0 3px rgba(8, 131, 149, .10);
}


.custom-quote-note {

    display: flex;

    gap: 9px;

    margin-top: 16px;

    padding: 11px 13px;

    border-radius: 10px;

    background: #f1f8f8;

    color: #52717c;

    font-size: .7rem;

    line-height: 1.45;
}

.custom-quote-note p {
    margin: 0;
}


.custom-quote-actions {

    display: flex;

    justify-content: flex-end;

    gap: 10px;

    margin-top: 20px;
}


.custom-quote-cancel,
.custom-quote-submit {

    min-height: 44px;

    padding: 0 20px;

    border-radius: 10px;

    font-family: 'Manrope', sans-serif;

    font-size: .78rem;
    font-weight: 800;

    cursor: pointer;

    transition: .2s ease;
}


.custom-quote-cancel {

    background: #fff;

    color: #526b75;

    border: 1px solid #dbe7e9;
}


.custom-quote-submit {

    background: #0A4D68;

    color: #fff;

    border: 1px solid #0A4D68;

    box-shadow:
        0 7px 18px rgba(10, 77, 104, .18);
}


.custom-quote-submit:hover {
    background: #083d54;
    transform: translateY(-1px);
}


@media (max-width: 600px) {

    .custom-quote-modal {
        padding: 10px;
        align-items: flex-end;
    }

    .custom-quote-dialog {

        width: 100%;

        max-height: 94dvh;

        border-radius: 20px 20px 12px 12px;

        padding: 22px 17px 18px;
    }

    .custom-quote-header {
        gap: 11px;
        margin-bottom: 20px;
    }

    .custom-quote-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .custom-quote-header h2 {
        font-size: 1.5rem;
    }

    .custom-form-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .custom-quote-actions {
        flex-direction: column-reverse;
    }

    .custom-quote-cancel,
    .custom-quote-submit {
        width: 100%;
    }
}
/* category cards: show the whole product, centred, same frame on every card */
.category-card .category-icon { background: #f2f7f8; }
.category-card .category-icon img {
    object-fit: contain !important; object-position: center center !important;
    padding: 0; box-sizing: border-box;
}

/* hero category buttons open their category - show the hand cursor */
.sjp-tab { cursor: pointer; }