/* =====================================================================
   Advance Group | Knit Garments Unit — Light Green & Gold template (v5)
   Theme: soft light green #2a7f62 / #3a9a78, gold #c6a15b — FIXED.
   The page stays Light Green & Gold on every device
   and in every browser/system mode.
   Scoped to .garments-page so the shared header/footer (global.css)
   are untouched. Header and footer come from ../includes/header.php
   and ../includes/footer.php — they are NOT in this file.
   Fonts: Archivo + Manrope (Google Fonts, with system fallbacks).
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&family=Manrope:wght@400;500;600;700;800&display=swap');

.garments-page{
        overflow-x:clip;
        color-scheme:light;
        --green:#2a7f62;
        --green-2:#3a9a78;
        --green-deep:#2a7f62;
        --green-ink:#2a7f62;
        --gold:#c6a15b;
        --gold-soft:#e9d5a1;
        --header-bg:#2a7f62;
        --bg:#f2f8f3;
        --surface:#ffffff;
        --surface-2:#e9f4ec;
        --ink:#2f4a3e;
        --ink-soft:#47635a;
        --line:#d5e6da;
        --shadow:0 18px 40px rgba(42,127,98,.14);
        --radius:20px;
      }
      *{box-sizing:border-box}
      .garments-page{font-family:"Manrope",system-ui,-apple-system,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink);line-height:1.55;-webkit-font-smoothing:antialiased}
      .garments-page img{max-width:100%;display:block}
      .garments-page a{color:inherit}
      .garments-page .wrap{width:min(1240px,100% - 40px);margin-inline:auto}
      @media (max-width:560px){.garments-page .wrap{width:calc(100% - 28px)}}

      /* ---------- Hero ---------- */
      .hero{padding:8px 0 0}
      .hero-panel{
        position:relative;overflow:hidden;
        background:linear-gradient(155deg,#ffffff 0%,#eef7f0 52%,#dcefe2 100%);
        border:2px solid var(--gold);
        border-radius:18px;
        padding:clamp(8px,1.1vw,12px) clamp(12px,2vw,20px) clamp(8px,1.1vw,12px);
        box-shadow:var(--shadow),inset 0 0 0 5px #ffffff,inset 0 0 0 7px rgba(198,161,91,.45);
        color:var(--ink);
      }
      .hero-bg{
        position:absolute;inset:0;width:100%;height:100%;
        object-fit:cover;opacity:.16;
        animation:heroZoom 18s ease-in-out infinite alternate;
      }
      @keyframes heroZoom{from{transform:scale(1)}to{transform:scale(1.14)}}
      .hero-shade{
        position:absolute;inset:0;
        background:linear-gradient(120deg,rgba(255,255,255,.9),rgba(238,247,240,.84) 55%,rgba(255,255,255,.92));
      }
      .hero-panel::before,.hero-panel::after{
        content:"";position:absolute;border-radius:50%;pointer-events:none;
      }
      .hero-panel::before{
        width:420px;height:420px;right:-150px;top:-190px;
        border:56px solid rgba(198,161,91,.28);
      }
      .hero-panel::after{
        width:300px;height:300px;left:-120px;bottom:-170px;
        background:radial-gradient(circle,rgba(58,154,120,.18),transparent 65%);
      }
      .hero-leaf{position:absolute;right:22px;bottom:14px;opacity:.14;pointer-events:none}
      .hero-leaf path{fill:var(--green)}
      .hero-tag{
        position:relative;z-index:1;
        display:flex;align-items:center;justify-content:center;gap:16px;
        width:fit-content;max-width:100%;margin-inline:auto;text-align:center;
        font-family:"Archivo",sans-serif;font-weight:800;font-size:clamp(1.8rem,4.4vw,2.9rem);
        letter-spacing:.08em;text-transform:uppercase;color:var(--green);line-height:1.1;
        margin:0 auto;
      }
      .hero-tag::before,.hero-tag::after{content:"";width:clamp(30px,6vw,56px);height:3px;background:var(--gold);flex:0 0 auto}
      .hero-lede{
        position:relative;z-index:1;text-align:center;
        font-family:"Manrope",sans-serif;font-weight:800;
        font-size:clamp(1.03rem,1.6vw,1.24rem);line-height:1.55;
        color:#1e4634;
        max-width:46em;margin:10px auto 0;text-wrap:balance;
      }
      .hero-lede em{font-style:normal;color:var(--green);border-bottom:2px solid var(--gold)}
      .stat-grid{
        position:relative;z-index:1;
        display:grid;grid-template-columns:repeat(4,1fr);gap:6px;
        margin-top:clamp(6px,1vw,9px);
      }
      .stat{
        background:linear-gradient(140deg,var(--green) 0%,var(--green-2) 100%);color:#fff;
        border:1px solid rgba(198,161,91,.65);
        border-radius:10px;padding:7px 6px 6px;
        display:flex;flex-direction:column;gap:3px;align-items:center;text-align:center;
        box-shadow:0 8px 18px rgba(42,127,98,.22);
      }
      .stat > div:last-child{text-align:center}
      .stat-ic{
        flex:0 0 auto;width:30px;height:30px;border-radius:50%;
        background:rgba(255,255,255,.16);
        display:flex;align-items:center;justify-content:center;
        box-shadow:inset 0 0 0 2px rgba(233,213,161,.85);
      }
      .stat-ic svg{width:17px;height:17px}
      .stat b{
        display:block;font-family:"Archivo",sans-serif;font-weight:800;
        font-size:clamp(1.12rem,1.6vw,1.42rem);line-height:1.15;color:#ffffff;
      }
      .stat span{display:block;font-weight:600;font-size:.92rem;color:#eaf4ee}
      .stat small{
        display:block;margin-top:3px;font-size:.68rem;font-weight:800;
        letter-spacing:.14em;text-transform:uppercase;color:var(--gold-soft);
      }
      .contact-bar{
        position:relative;z-index:1;
        margin-top:6px;background:var(--surface);
        border:1.5px solid var(--gold);
        border-radius:10px;padding:2px 6px;
        display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
        gap:2px 18px;box-shadow:0 6px 16px rgba(42,127,98,.12);
      }
      .contact-bar a{
        display:inline-flex;align-items:center;gap:7px;
        text-decoration:none;font-weight:800;font-size:clamp(.95rem,1.4vw,1.08rem);
        color:var(--green-ink);padding:3px 4px;min-height:32px;border-radius:8px;
        overflow-wrap:anywhere;
      }
      .contact-bar a:hover{color:var(--green)}
      .contact-ic{
        flex:0 0 auto;width:26px;height:26px;border-radius:50%;
        background:var(--green);display:flex;align-items:center;justify-content:center;
      }
      .contact-sep{width:1px;height:26px;background:var(--line)}
      @media (max-width:640px){.contact-sep{display:none}}
      @media (max-width:1020px){.stat-grid{grid-template-columns:repeat(2,1fr)}}
      @media (max-width:480px){.stat-grid{grid-template-columns:1fr}.stat{padding:8px}}

      /* ---------- Section scaffolding ---------- */
      .garments-page section{padding:clamp(26px,4vw,44px) 0 0}
      .sec-head{text-align:center;max-width:760px;margin:0 auto}
      .sec-kicker{
        font-family:"Archivo",sans-serif;font-weight:800;font-size:.76rem;
        letter-spacing:.26em;text-transform:uppercase;color:var(--green);
        display:flex;align-items:center;justify-content:center;gap:14px;margin:0;
      }
      .sec-kicker::before,.sec-kicker::after{content:"";width:44px;height:2px;background:var(--gold)}
      .sec-title{
        font-family:"Archivo",sans-serif;font-weight:900;
        font-size:clamp(1.7rem,3.6vw,2.6rem);line-height:1.16;
        margin:8px 0 0;color:var(--green-ink);text-wrap:balance;
      }
      .sec-title .gold{color:var(--gold)}
      .sec-sub{margin:7px auto 0;font-size:clamp(1rem,1.6vw,1.15rem);font-weight:600;color:var(--ink-soft)}
      .sec-sub b{color:var(--green);font-weight:800}
      /* "Quality Garments for a Brighter Tomorrow" — always on one line */
      #factoryTitle{white-space:nowrap;font-size:clamp(.8rem,4.1vw,2.3rem);letter-spacing:-.015em}
      .brand-line{
        font-family:"Archivo",sans-serif;font-weight:900;
        font-size:clamp(1.05rem,4.4vw,2.7rem);line-height:1.12;letter-spacing:.02em;
        text-transform:uppercase;color:var(--green);text-align:center;
        white-space:nowrap;
        display:flex;align-items:center;justify-content:center;gap:clamp(8px,2vw,18px);margin:0;
      }
      .brand-line::before,.brand-line::after{
        content:"";width:clamp(20px,5vw,60px);height:3px;background:var(--gold);flex:0 1 auto;
      }
      @media (max-width:420px){
        .brand-line::before,.brand-line::after{display:none}
      }

      /* ---------- Factory ---------- */
      .ribbon{
        margin:16px auto 0;width:fit-content;max-width:100%;
        background:linear-gradient(120deg,var(--green),var(--green-2));
        color:#fff;border-radius:999px;padding:7px 18px;text-align:center;
        box-shadow:var(--shadow);
      }
      .ribbon b{
        display:block;font-family:"Archivo",sans-serif;font-weight:900;
        font-size:clamp(1.05rem,2.4vw,1.55rem);letter-spacing:.1em;color:#ffe9ad;
      }
      .ribbon span{
        display:block;font-weight:700;font-size:clamp(.72rem,1.4vw,.88rem);
        letter-spacing:.3em;text-transform:uppercase;margin-top:2px;
      }
      .features{
        display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:14px;
      }
      .feature{
        background:var(--surface);border:1px solid var(--line);border-radius:10px;
        padding:8px 8px 7px;text-align:center;
      }
      .feature-ic{
        width:36px;height:36px;margin:0 auto 4px;border-radius:50%;
        border:2px solid var(--green);color:var(--green);
        display:flex;align-items:center;justify-content:center;
        background:var(--surface-2);
      }
      .feature-ic svg{width:18px;height:18px}
      .feature p{margin:0;font-family:"Archivo",sans-serif;font-weight:700;font-size:.98rem}
      @media (max-width:900px){.features{grid-template-columns:repeat(2,1fr)}}
      @media (max-width:380px){.features{grid-template-columns:1fr}}

      .factory-figure{margin-top:18px;position:relative}
      .slideshow{
        position:relative;aspect-ratio:829/330;overflow:hidden;
        border-radius:16px;box-shadow:var(--shadow);background:var(--green-deep);
      }
      .slide{
        position:absolute;inset:0;margin:0;opacity:0;
        transition:opacity .8s ease;pointer-events:none;
      }
      .slide.active{opacity:1;pointer-events:auto}
      .slide img{width:100%;height:100%;object-fit:cover}
      .slide-arrow{
        position:absolute;top:50%;transform:translateY(-50%);z-index:3;
        width:38px;height:38px;border-radius:50%;cursor:pointer;
        border:1px solid rgba(255,255,255,.55);
        background:rgba(42,127,98,.68);color:#fff;font-size:1.25rem;line-height:1;
        display:flex;align-items:center;justify-content:center;
      }
      .slide-arrow:hover{background:rgba(58,154,120,.9)}
      .slide-arrow:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
      .slide-prev{left:14px}
      .slide-next{right:14px}
      .slide-dots{
        position:absolute;left:0;right:0;bottom:26px;z-index:3;
        display:flex;justify-content:center;gap:7px;
      }
      .slide-dot{
        width:10px;height:10px;border-radius:50%;padding:0;cursor:pointer;
        border:2px solid rgba(255,255,255,.9);background:transparent;
      }
      .slide-dot.active{background:var(--gold);border-color:var(--gold)}
      .slide-dot:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
      @media (max-width:560px){
        .slideshow{aspect-ratio:4/3}
        .slide-arrow{width:40px;height:40px}
        .slide-prev{left:8px}.slide-next{right:8px}
      }
      .points{
        display:grid;grid-template-columns:repeat(3,1fr);gap:0;
        background:var(--green-deep);border-radius:0 0 16px 16px;
        margin:-16px 10px 0;position:relative;z-index:2;
        padding:26px 6px 8px;color:#fff;
        box-shadow:var(--shadow);
      }
      .point{
        display:flex;align-items:center;justify-content:center;gap:8px;
        padding:5px 10px;text-align:left;
      }
      .point svg{width:22px;height:22px}
      .point + .point{border-left:1px solid rgba(255,255,255,.22)}
      .point svg{flex:0 0 auto}
      .point p{margin:0;font-weight:700;font-size:.95rem;line-height:1.35}
      .point p b{display:block;font-family:"Archivo",sans-serif;font-size:1.02rem}
      @media (max-width:820px){
        .points{grid-template-columns:1fr;margin:-18px 8px 0}
        .point{justify-content:flex-start}
        .point + .point{border-left:0;border-top:1px solid rgba(255,255,255,.22)}
      }

      .sustain{
        margin-top:18px;border-radius:16px;overflow:hidden;
        background:linear-gradient(115deg,var(--green-deep),var(--green) 60%,var(--green-2));
        color:#fff;display:flex;flex-wrap:wrap;align-items:center;
        gap:6px 20px;padding:clamp(12px,2vw,18px) clamp(16px,3vw,28px);
        box-shadow:var(--shadow);position:relative;
      }
      .sustain::after{
        content:"";position:absolute;right:-70px;top:-90px;width:240px;height:240px;
        border-radius:50%;border:34px solid rgba(198,161,91,.3);
      }
      .sustain h3{
        margin:0;font-family:"Archivo",sans-serif;font-weight:800;
        font-size:clamp(1.5rem,3vw,2.1rem);line-height:1.15;
      }
      .sustain h3 span{display:block;font-weight:600;font-size:.62em;color:var(--gold-soft);letter-spacing:.04em}
      .sustain .pillars{
        margin-left:auto;display:flex;flex-wrap:wrap;gap:6px;position:relative;z-index:1;
      }
      .sustain .pillars span{
        border:1.5px solid rgba(255,255,255,.55);border-radius:999px;
        padding:5px 12px;font-family:"Archivo",sans-serif;font-weight:800;
        letter-spacing:.14em;font-size:.82rem;
      }
      @media (max-width:640px){.sustain .pillars{margin-left:0}}

      /* ---------- Factory photo strip (image + caption, editable list in the script) ---------- */
      .photo-grid{
        display:grid;grid-template-columns:repeat(4,1fr);
        gap:8px;margin-top:14px;
      }
      .photo-card{
        margin:0;background:var(--surface);
        border:1.5px solid var(--gold);
        border-radius:10px;overflow:hidden;
        padding:4px 4px 0;
        box-shadow:0 6px 14px rgba(42,127,98,.10);
      }
      .photo-card img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:7px}
      .photo-card figcaption{
        padding:5px 4px 7px;text-align:center;
        font-family:"Archivo",sans-serif;font-weight:900;
        font-size:clamp(1rem,1.5vw,1.22rem);line-height:1.3;
        letter-spacing:.05em;color:#1e4634;
      }
      .photo-card figcaption::before{
        content:"";display:block;width:36px;height:3px;border-radius:2px;
        background:var(--gold);margin:0 auto 4px;
      }
      @media (max-width:900px){.photo-grid{grid-template-columns:repeat(2,1fr)}}
      @media (max-width:360px){.photo-grid{grid-template-columns:1fr}}

      /* ---------- Our Products (original design, as in the real garments.css) ---------- */
      .products-title{
        display:flex;align-items:center;justify-content:center;gap:22px;
        margin:0 auto 10px;text-align:center;
        font-family:"Archivo",sans-serif;font-weight:800;
        font-size:clamp(1.65rem,3vw,2.35rem);line-height:1.2;
        color:#075438;letter-spacing:-.01em;white-space:nowrap;
      }
      .products-title::before,.products-title::after{
        content:"";height:2px;width:clamp(35px,12vw,150px);flex:0 0 auto;border-radius:2px;
        background:linear-gradient(90deg,transparent,#15924f);
      }
      .products-title::after{transform:rotate(180deg)}
      .products-sub{
        margin:0 auto 26px;text-align:center;max-width:640px;
        font-size:clamp(1rem,1.6vw,1.15rem);font-weight:600;color:var(--ink-soft);
      }
      .product-category-cards{
        display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;
        max-width:1100px;margin:0 auto;
      }
      .product-category-card{
        display:flex;align-items:center;justify-content:center;min-width:0;
        min-height:80px;padding:16px 20px;cursor:pointer;text-align:center;
        border:1.5px solid #078344;border-radius:15px;
        background:linear-gradient(110deg,#fff 0%,#f1f8f3 100%);color:#075438;
        font-family:"Archivo",sans-serif;font-size:clamp(1.15rem,1.7vw,1.55rem);
        font-weight:800;letter-spacing:.025em;
        box-shadow:0 5px 16px rgba(4,72,39,.08),inset 0 1px 0 rgba(255,255,255,.7);
        transition:background .25s ease,color .25s ease,transform .25s ease,box-shadow .25s ease,border-color .25s ease;
      }
      .product-category-card:hover,.product-category-card:focus-visible{
        transform:translateY(-3px);border-color:#078344;
        background:linear-gradient(110deg,#eaf7ee,#dff1e4);
        box-shadow:0 10px 24px rgba(4,85,43,.13);
        outline:3px solid rgba(25,145,75,.12);outline-offset:2px;
      }
      .product-category-card[aria-selected="true"]{
        border-color:#087c40;background:linear-gradient(120deg,#0a984b,#07643b);
        color:#fff;box-shadow:0 10px 24px rgba(5,94,47,.22);
      }
      .product-category-panel{
        max-width:1240px;margin:28px auto 0;
        padding:clamp(15px,2vw,26px);
        border:1.5px solid #cfe3d4;border-radius:22px;
        background:linear-gradient(145deg,#f7fbf8 0%,#fff 55%,#f0f8f2 100%);
        box-shadow:0 14px 36px rgba(5,75,43,.09),inset 0 1px 0 rgba(255,255,255,.8);scroll-margin-top:24px;
      }
      .product-category-panel[hidden]{display:none!important}
      .product-panel-heading{
        display:flex;align-items:center;justify-content:center;gap:16px;margin-bottom:22px;
      }
      .product-panel-heading h3{
        margin:0;color:#075438;
        font-family:"Archivo",sans-serif;font-size:clamp(1.2rem,2vw,1.65rem);
        font-weight:800;letter-spacing:.01em;text-transform:capitalize;white-space:nowrap;
      }
      .product-panel-line{
        height:2px;width:clamp(30px,8vw,90px);border-radius:2px;
        background:linear-gradient(90deg,transparent,#18894a);
      }
      .product-image-grid{
        display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;
      }
      .product-image-card{
        display:flex;flex-direction:column;min-width:0;margin:0;overflow:hidden;
        border:1px solid #d8e8dc;border-radius:18px;background:#fff;
        box-shadow:0 8px 22px rgba(4,60,33,.09);
        transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;
      }
      .product-image-card:hover{
        transform:translateY(-5px);border-color:#a9d3b4;
        box-shadow:0 16px 32px rgba(4,85,43,.16);
      }
      .product-card-image-wrap{
        height:clamp(170px,18vw,245px);overflow:hidden;position:relative;
        background:#f0efeb;border-radius:17px 17px 0 0;
      }
      .product-card-image-wrap::after{
        content:"";position:absolute;right:0;bottom:0;width:58px;height:42px;
        background:linear-gradient(135deg,transparent 49%,#1aa34a 50%,#69c94a 100%);
        pointer-events:none;
      }
/* Template 2 — Full Image Focus Product Gallery Modal */
.product-card-image-button{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in;text-align:inherit}
.product-card-image-button:focus-visible{outline:3px solid #168b49;outline-offset:-4px}
      .product-card-image-wrap img{
        width:100%;height:100%;object-fit:contain;padding:8px;
        transition:transform .55s ease;
      }
      .product-image-card:hover .product-card-image-wrap img{transform:scale(1.045)}
      .product-card-details{
        display:flex;align-items:center;justify-content:space-between;gap:10px;
        min-height:66px;padding:13px 15px;color:#123c29;
        background:linear-gradient(180deg,#fff,#f8fcf9);
      }
      .product-fabric-name{
        min-width:0;font-size:clamp(.82rem,1.05vw,.98rem);font-weight:700;
        line-height:1.35;overflow-wrap:anywhere;
      }
      .product-detail-divider{flex:0 0 1px;height:30px;background:#9fc9aa}
      .product-gsm{flex:0 0 auto;color:#075b35;font-size:clamp(.8rem,1vw,.95rem);white-space:nowrap}
      .product-empty-message{
        margin:0;padding:34px 18px;text-align:center;background:#fff;
        border:1px dashed #a8cfb2;border-radius:12px;color:#426a52;line-height:1.6;
      }
      @media (max-width:991.98px){
        .product-category-cards{gap:14px}
        .product-category-card{min-height:74px}
        .product-image-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
        .product-card-image-wrap{height:210px}
      }
      @media (max-width:767.98px){
        .products-title{gap:10px;font-size:1.55rem}
        .products-title::before,.products-title::after{width:28px}
        .product-category-cards{gap:10px}
        .product-category-card{min-height:64px;padding:12px 6px;border-radius:12px;font-size:clamp(.85rem,2.5vw,1.05rem)}
        .product-category-panel{padding:14px;margin-top:20px;border-radius:15px}
        .product-panel-heading{gap:8px;margin-bottom:16px}
        .product-panel-heading h3{font-size:1.12rem}
        .product-panel-line{width:25px}
        .product-image-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
        .product-card-image-wrap{height:clamp(145px,32vw,210px)}
        .product-card-details{min-height:62px;padding:11px 10px;gap:7px}
      }
      @media (max-width:420px){
        .product-category-cards{gap:7px}
        .product-category-card{min-height:58px;padding:10px 3px;font-size:.78rem;letter-spacing:0}
        .product-category-panel{padding:10px}
        .product-image-grid{gap:9px}
        .product-image-card{border-radius:12px}
        .product-card-image-wrap{height:145px;border-radius:11px 11px 0 0}
        .product-card-details{align-items:flex-start;flex-direction:column;min-height:68px;padding:9px 10px;gap:4px}
        .product-detail-divider{display:none}
        .product-gsm{font-size:.78rem}
        .product-fabric-name{font-size:.82rem}
      }

.product-lightbox[hidden]{display:none!important}
.product-lightbox{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:24px}
.product-lightbox-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(12,28,20,.58);backdrop-filter:blur(7px);cursor:default}
.product-lightbox-dialog{position:relative;z-index:1;display:flex;flex-direction:column;width:min(1050px,96vw);max-height:min(92vh,900px);padding:22px 26px 18px;overflow:hidden;border:1px solid #e0ece3;border-radius:22px;background:linear-gradient(180deg,#fff 0%,#fbfdfb 100%);box-shadow:0 24px 90px rgba(0,0,0,.28);animation:productModalIn .22s ease-out}
@keyframes productModalIn{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
.product-lightbox-close{position:absolute;top:13px;right:15px;z-index:4;width:40px;height:40px;border:1px solid #d8e9dd;border-radius:50%;background:#fff;color:#075438;font-size:27px;line-height:1;cursor:pointer;box-shadow:0 4px 14px rgba(4,72,39,.1)}
.product-lightbox-close:hover{background:#eaf7ee;transform:rotate(90deg)}
.product-lightbox-stage{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:12px;min-height:0;flex:1}
.product-lightbox-image-area{display:flex;align-items:center;justify-content:center;min-width:0;height:min(58vh,590px);padding:10px;background:linear-gradient(135deg,#f7f9f7,#fff 48%,#f2f7f3);border-radius:15px;overflow:hidden}
.product-lightbox-image-area img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.product-lightbox-nav{width:44px;height:44px;border:1px solid #dcebe0;border-radius:50%;background:#fff;color:#075438;font-size:17px;cursor:pointer;box-shadow:0 5px 15px rgba(4,72,39,.12);transition:transform .2s ease,background .2s ease}
.product-lightbox-nav:hover{background:#eaf7ee;transform:scale(1.07)}
.product-lightbox-info{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:14px;padding:12px 8px 10px;text-align:center}
.product-lightbox-info h3{width:100%;margin:0;color:#075438;font-size:1.05rem;font-weight:800}
.product-lightbox-specs{display:inline-flex;align-items:center;justify-content:center;gap:16px;max-width:100%;padding:10px 22px;border:1px solid #e0eee4;border-radius:999px;background:#f3faf5;color:#16452e;font-size:.95rem;font-weight:700;box-shadow:0 4px 12px rgba(4,72,39,.06)}
.product-lightbox-specs i{width:1px;height:22px;background:#9bc9a8}
.product-lightbox-specs strong{color:#075b35;white-space:nowrap}
.product-lightbox-thumbnails{display:flex;justify-content:center;gap:10px;max-width:100%;padding:10px 2px 2px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#a9cdb2 transparent}
.product-lightbox-thumb{flex:0 0 82px;width:82px;height:66px;padding:4px;border:1px solid #e1e9e3;border-radius:9px;background:#f1f3f1;cursor:pointer;overflow:hidden;transition:border-color .2s ease,box-shadow .2s ease}
.product-lightbox-thumb img{width:100%;height:100%;object-fit:contain}
.product-lightbox-thumb[aria-current="true"]{border:2px solid #078344;box-shadow:0 0 0 3px rgba(7,131,68,.10)}
.product-lightbox-nav:focus-visible,.product-lightbox-close:focus-visible,.product-lightbox-thumb:focus-visible{outline:3px solid #8fdb9d;outline-offset:3px}
body.product-lightbox-open{overflow:hidden}
@media(max-width:700px){
 .product-lightbox{padding:10px}
 .product-lightbox-dialog{width:100%;max-height:94vh;padding:48px 10px 12px;border-radius:16px}
 .product-lightbox-close{top:8px;right:9px;width:36px;height:36px}
 .product-lightbox-stage{grid-template-columns:34px minmax(0,1fr) 34px;gap:5px}
 .product-lightbox-image-area{height:min(49vh,470px);padding:5px;border-radius:11px}
 .product-lightbox-nav{width:32px;height:32px;font-size:13px}
 .product-lightbox-info{gap:8px;padding:10px 2px 6px}
 .product-lightbox-info h3{font-size:.95rem}
 .product-lightbox-specs{gap:9px;padding:8px 12px;font-size:.78rem;border-radius:12px}
 .product-lightbox-thumb{flex-basis:66px;width:66px;height:55px}
 .product-lightbox-thumbnails{justify-content:flex-start;gap:7px}
}
@media(prefers-reduced-motion:reduce){.product-lightbox-dialog,.product-lightbox-close,.product-lightbox-nav{animation:none!important;transition:none!important}}
      /* ---------- Certification ---------- */
      .cert-card{
        margin-top:14px;background:var(--surface);
        border:1px solid var(--line);border-radius:14px;
        padding:clamp(20px,3vw,34px);
        box-shadow:var(--shadow);
      }
      .cert-title{
        margin:0;text-align:center;
        font-family:"Archivo",sans-serif;font-weight:800;
        font-size:clamp(1.5rem,3vw,2.1rem);line-height:1.2;color:var(--green);
        display:flex;align-items:center;justify-content:center;gap:18px;
      }
      .cert-title::before,.cert-title::after{
        content:"";height:2px;flex:1 1 auto;max-width:340px;
      }
      .cert-title::before{background:linear-gradient(90deg,transparent,var(--gold))}
      .cert-title::after{background:linear-gradient(90deg,var(--gold),transparent)}
      .cert-sub{
        margin:6px auto 0;text-align:center;max-width:640px;
        font-size:clamp(.95rem,1.5vw,1.08rem);font-weight:600;color:var(--ink-soft);
      }
      .cert-grid{
        display:grid;
        grid-template-columns:repeat(4,minmax(0,1fr));
        gap:16px;
        margin-top:20px;
      }
      .cert-item{
        display:flex;align-items:center;justify-content:center;
        background:#ffffff;border:1px solid var(--line);border-radius:12px;
        min-height:158px;padding:24px 18px;
        box-shadow:0 6px 16px rgba(42,127,98,.07);
      }
      .cert-item img{max-height:118px;width:auto;max-width:100%;object-fit:contain}
      @media (max-width:900px){.cert-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
      @media (max-width:420px){
        .cert-grid{grid-template-columns:1fr;gap:12px}
        .cert-item{min-height:130px;padding:18px 14px}
        .cert-item img{max-height:100px}
      }

      .garments-page{padding-bottom:clamp(26px,4vw,44px)}

      @media (prefers-reduced-motion: reduce){
        .hero-bg{animation:none}
        .slide,.product-category-card,.product-image-card,.product-card-image-wrap img{transition:none}
      }


      /* =====================================================================
         EFFECTS — added 2026-12-02 (visual effects only, no other change).
         Scroll fade-in/reveal, stat hover lift, slideshow smoothing +
         gentle zoom, photo/cert hover zoom, gold line draw-in.
         .reveal hooks already exist in the PHP markup; [data-fx] is
         tagged at runtime by global.js. Both stay hidden ONLY while
         <html> has .fx-on (added only when IntersectionObserver exists
         and reduced motion is off) — if the script fails, everything
         stays fully visible. Our Products upload/grid/lightbox logic
         is untouched; only hover/entrance styling on its cards.
         ===================================================================== */
      /* Scroll reveal */
      html.fx-on .garments-page [data-fx], html.fx-on .garments-page .reveal{opacity:0;transform:translateY(18px);transition:opacity .7s ease,transform .7s ease}
      html.fx-on .garments-page [data-fx].fx-in, html.fx-on .garments-page .reveal.fx-in{opacity:1;transform:none}
      /* Hero stats: hover lift + icon pop (count-up runs from global.js) */
      .garments-page .stat{transition:transform .25s ease,box-shadow .25s ease}
      .garments-page .stat:hover{transform:translateY(-4px);box-shadow:0 14px 26px rgba(42,127,98,.3)}
      .garments-page .stat-ic{transition:transform .25s ease}
      .garments-page .stat:hover .stat-ic{transform:scale(1.12)}
      .garments-page .contact-bar a{transition:transform .2s ease,color .2s ease}
      .garments-page .contact-bar a:hover{transform:translateY(-1px)}
      /* Factory slideshow: smoother cross-fade + gentle zoom settle */
      .garments-page .slide{transition:opacity 1.1s ease}
      .garments-page .slide.active img{animation:fxSlideZoom 6s ease-out both}
      @keyframes fxSlideZoom{from{transform:scale(1.06)}to{transform:scale(1)}}
      .garments-page .slide-dot{transition:background .3s ease,width .3s ease}
      .garments-page .slide-dot.active{width:26px;border-radius:999px}
      /* Feature cards: hover lift */
      .garments-page .feature{transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
      .garments-page .feature:hover{transform:translateY(-3px);border-color:var(--gold);box-shadow:0 10px 22px rgba(42,127,98,.14)}
      /* Factory strip: photo hover zoom */
      .garments-page .photo-card img{transition:transform .55s ease}
      .garments-page .photo-card:hover img{transform:scale(1.06)}
      /* Certification: card lift + logo zoom */
      .garments-page .cert-item{transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
      .garments-page .cert-item:hover{transform:translateY(-4px);border-color:var(--gold);box-shadow:0 12px 26px rgba(42,127,98,.14)}
      .garments-page .cert-item img{transition:transform .35s ease}
      .garments-page .cert-item:hover img{transform:scale(1.06)}
      /* Gold line draw-in on section headings */
      .garments-page .fx-in .sec-kicker::before,.garments-page .fx-in .sec-kicker::after{animation:fxGoldGrow .9s ease .2s both}
      .garments-page .fx-in .cert-title::before,.garments-page .fx-in .cert-title::after{animation:fxGoldGrow .9s ease .2s both}
      .garments-page .fx-in .brand-line::before,.garments-page .fx-in .brand-line::after{animation:fxGoldGrow .9s ease .2s both}
      @keyframes fxGoldGrow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
      @media (prefers-reduced-motion: reduce){
        html.fx-on .garments-page [data-fx], html.fx-on .garments-page .reveal{opacity:1;transform:none;transition:none}
        .garments-page .slide.active img{animation:none}
        .garments-page .stat,.garments-page .feature,.garments-page .cert-item,.garments-page .photo-card img,.garments-page .cert-item img,.garments-page .slide-dot{transition:none}
        .garments-page .stat:hover,.garments-page .feature:hover,.garments-page .cert-item:hover{transform:none}
        .garments-page .photo-card:hover img,.garments-page .cert-item:hover img,.garments-page .stat:hover .stat-ic{transform:none}
        .garments-page .fx-in .sec-kicker::before,.garments-page .fx-in .sec-kicker::after,.garments-page .fx-in .cert-title::before,.garments-page .fx-in .cert-title::after,.garments-page .fx-in .brand-line::before,.garments-page .fx-in .brand-line::after{animation:none}
      }
/* =====================================================================
   HERO — ported 2026-12-02 from the approved garments-unit-hero-template
   demo, synced 2026-12-03 with the CURRENT demo: CENTRED header (ADVANCE
   GROUP kicker, GARMENTS UNIT on ONE line, centred intro), stats centred
   in a hairline 'ledger' band with a
   gold top rule — NO box, NO panel, NO green band behind the stats.
   Numbers are STATIC: the demo's count-up was removed (it showed wrong
   intermediate numbers for ~2 s on load), so the count-up code was
   removed from garments.js too and the final figures are hard-coded in
   the PHP markup. Texts, numbers and contacts are unchanged.
   The demo's tokens are re-declared here with an --h- prefix on the
   hero scope so they can never clash with the page's own --green /
   --gold / --ink variables. Body font in the demo is Barlow; this page
   already loads Manrope, so hero body text uses Manrope (Archivo stays
   for headings and numbers, as in the demo). The demo's fixed ambient
   washes (.bg-fx) are NOT ported — they would tint the whole page,
   not just the hero. All demo rules are scoped under
   .garments-page .hero, so nothing leaks into the rest of the page.
   ===================================================================== */
.garments-page .hero{
  --h-green:#2a7f62;
  --h-green-2:#3a9a78;
  --h-green-deep:#1f6a50;
  --h-gold:#c6a15b;
  --h-gold-soft:#e3c98d;
  --h-gold-pale:#f4e7c8;
  --h-gold-deep:#9c7c33;
  --h-ink:#17352b;
  --h-ink-soft:#46635a;
  --h-line:#cfe3d8;
  padding:clamp(26px,4vw,56px) 0 0;
  position:relative;
}
.garments-page .hero .head{text-align:center}
.garments-page .hero .kicker{display:flex;align-items:center;justify-content:center;gap:14px;margin-bottom:clamp(12px,1.8vw,20px)}
.garments-page .hero .kicker .dash{width:52px;height:3px;border-radius:99px;flex:0 0 auto;background:linear-gradient(90deg,var(--h-gold) 0%,var(--h-gold-soft) 45%,#fff3d6 50%,var(--h-gold-soft) 55%,var(--h-gold) 100%);background-size:220% 100%;background-position:110% 0}
.garments-page .hero .kicker .k-text{font-size:clamp(14px,1.7vw,18px);font-weight:700;letter-spacing:.3em;text-transform:uppercase;color:var(--h-green-deep)}
.garments-page .hero h1{margin:0;text-align:center;font-family:"Archivo","Manrope",sans-serif;font-weight:900;letter-spacing:.01em;text-transform:uppercase;color:var(--h-green-deep);font-size:clamp(30px,7.4vw,84px);line-height:1.02;white-space:nowrap}
.garments-page .hero h1 .l2{display:inline;color:var(--h-green-2)}
.garments-page .hero .subtitle{margin:0 auto;max-width:780px;text-align:center;font-family:"Manrope",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:clamp(16.5px,2vw,22px);line-height:1.55;font-weight:500;color:var(--h-ink-soft)}
.garments-page .hero .subtitle .u{color:var(--h-green-deep);font-weight:600;background-image:linear-gradient(90deg,var(--h-gold),var(--h-gold));background-repeat:no-repeat;background-size:100% 2.5px;background-position:0 100%;padding-bottom:3px}
.garments-page .hero .stats{margin-top:clamp(30px,4vw,48px);padding:clamp(18px,2.4vw,28px) 0;border-top:2px solid var(--h-gold);border-bottom:1px solid var(--h-line)}
.garments-page .hero .stats-grid{max-width:1240px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr)}
.garments-page .hero .stat{padding:4px clamp(14px,1.8vw,24px);text-align:center;background:none;border:0;border-radius:0;box-shadow:none;display:block}
.garments-page .hero .stat + .stat{border-left:1px solid var(--h-line)}
.garments-page .hero .stat .icon{display:flex;align-items:center;justify-content:center;width:56px;height:56px;margin:0 auto 12px;border-radius:50%;border:1.5px solid var(--h-gold);background:var(--h-gold-pale);transition:transform .35s cubic-bezier(.22,.8,.3,1),border-color .3s ease,background-color .3s ease}
.garments-page .hero .stat:hover .icon{transform:translateY(-3px);border-color:var(--h-gold-deep);background:rgba(227,201,141,.5)}
.garments-page .hero .stat .icon svg{width:27px;height:27px;stroke:var(--h-gold-deep);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;display:block}
.garments-page .hero .stat .tag{margin:0 0 8px;font-size:clamp(10.5px,1.1vw,12px);font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--h-gold-deep)}
.garments-page .hero .stat .big{font-family:"Archivo","Manrope",sans-serif;font-weight:800;font-size:clamp(30px,3.2vw,42px);line-height:1.12;letter-spacing:.005em;color:var(--h-green-deep);font-variant-numeric:tabular-nums;white-space:nowrap;transition:color .3s ease}
.garments-page .hero .stat:hover .big{color:var(--h-green)}
.garments-page .hero .stat .big .sub{display:block;margin-top:2px;font-size:.58em;font-weight:700;letter-spacing:.03em;color:var(--h-green-deep)}
.garments-page .hero .stat .big .num{display:inline;font-size:1em;font-weight:inherit;color:inherit}
.garments-page .hero .stat span{color:inherit}
.garments-page .hero .stat--feature .big{color:var(--h-green-deep);white-space:normal;font-size:clamp(23px,2.5vw,32px)}
.garments-page .hero .stat--feature:hover .big{color:var(--h-green)}
.garments-page .hero .stat .mid{margin-top:6px;font-size:clamp(15.5px,1.6vw,18.5px);font-weight:500;color:var(--h-ink);line-height:1.35}
.garments-page .hero .contact{margin-top:clamp(18px,2.2vw,26px);display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px clamp(22px,3vw,36px)}
.garments-page .hero .contact a{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:4px 2px;color:var(--h-green-deep);text-decoration:none;font-family:"Manrope",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:clamp(16px,1.9vw,20.5px);font-weight:600}
.garments-page .hero .contact a .lbl{background-image:linear-gradient(90deg,var(--h-gold),var(--h-gold));background-repeat:no-repeat;background-size:0% 2px;background-position:0 100%;padding-bottom:2px;transition:background-size .35s cubic-bezier(.22,.8,.3,1)}
.garments-page .hero .contact a:hover .lbl{background-size:100% 2px}
.garments-page .hero .contact a:focus-visible{outline:2px solid var(--h-green);outline-offset:2px;border-radius:4px}
.garments-page .hero .contact a svg{width:20px;height:20px;stroke:var(--h-gold);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto;transition:transform .3s cubic-bezier(.22,.8,.3,1),stroke .3s ease}
.garments-page .hero .contact a:hover svg{transform:translateY(-2px) rotate(-6deg);stroke:var(--h-green)}
.garments-page .hero .contact .sep{width:5px;height:5px;border-radius:50%;background:var(--h-gold-soft);flex:0 0 auto}
@media (max-width:1020px){
  .garments-page .hero .stats-grid{grid-template-columns:repeat(2,1fr);row-gap:26px}
  .garments-page .hero .stat:nth-child(3){border-left:none}
  .garments-page .hero .stat:nth-child(n+3){border-top:1px solid var(--h-line)}
}
@media (max-width:560px){
  .garments-page .hero .kicker{gap:10px}
  .garments-page .hero .kicker .dash{width:30px}
  .garments-page .hero .stats-grid{grid-template-columns:1fr;row-gap:0}
  .garments-page .hero .stat + .stat{border-left:none;border-top:1px solid var(--h-line)}
  .garments-page .hero .stat{padding:18px 12px}
  .garments-page .hero .stat:first-child{padding-top:4px}
  .garments-page .hero .stat:last-child{padding-bottom:4px}
  .garments-page .hero .contact{flex-direction:column;align-items:center;gap:2px}
  .garments-page .hero .contact .sep{display:none}
}
@media (min-width:2000px){
  .garments-page .hero .wrap{width:min(1440px,100% - 40px)}
  .garments-page .hero .stats-grid{max-width:1440px}
}
@media (prefers-reduced-motion:no-preference){
  .garments-page .hero .kicker .dash{animation:heroShimmer 3.6s ease-in-out infinite}
  @keyframes heroShimmer{0%,55%{background-position:110% 0}90%,100%{background-position:-110% 0}}
  .garments-page .hero .rise{opacity:0;animation:heroRise .7s cubic-bezier(.22,.8,.3,1) both;animation-delay:var(--d,0s)}
  @keyframes heroRise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
}
/* The shared effects engine (global.js) tags .stat for scroll-reveal —
   inside the hero the stats must never start hidden (the .rise
   animation handles the entrance). */
html.fx-on .garments-page .hero .stat{opacity:1;transform:none}
.garments-page .hero .stat:hover{transform:none;box-shadow:none}
@media (prefers-reduced-motion:reduce){
  .garments-page .hero .kicker .dash,.garments-page .hero .rise{animation:none}
  .garments-page .hero .stat .icon,.garments-page .hero .stat .big,.garments-page .hero .contact a .lbl,.garments-page .hero .contact a svg{transition:none}
}
