:root{--red:#e51d2a;--ink:#171717;--muted:#686868;--paper:#f7f7f5;--line:#e7e7e4}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,Helvetica,sans-serif;color:var(--ink);line-height:1.55}a{color:inherit}img{display:block;max-width:100%;height:auto} .wrap{width:min(1120px,92%);margin:auto}
.topbar{display:none}
header{background:#fff;position:sticky;top:34px;z-index:50;border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:76px}
.brand{font-weight:950;font-style:italic;color:var(--red);font-size:28px;letter-spacing:-1.5px;text-decoration:none}
.brand small{display:block;color:#222;font-size:8px;letter-spacing:3px;text-align:center;margin-top:-5px}
.navlinks{display:flex;align-items:center;gap:24px;font-size:13px}.navlinks a{text-decoration:none}
.navlinks a:hover{color:var(--red)}
.shop-menu{position:relative}
.shop-menu summary{list-style:none;cursor:pointer}
.shop-menu summary::-webkit-details-marker{display:none}
.shop-menu .shop-options{position:absolute;right:0;top:calc(100% + 10px);min-width:190px;padding:8px;background:#fff;border:1px solid var(--line);box-shadow:0 12px 28px #00000018;display:grid;gap:6px;z-index:30}
.shop-menu .shop-options a{display:block;padding:11px 12px;background:#f7f7f5;font-weight:800;font-size:12px;white-space:nowrap}
.shop-menu .shop-options a:hover{background:#eee}
.btn{display:inline-flex;justify-content:center;align-items:center;gap:9px;padding:14px 20px;text-decoration:none;font-size:13px;font-weight:800;letter-spacing:.03em;border:1px solid #171717;transition:.2s}
.btn-red{background:var(--red);color:white;border-color:var(--red)}
.btn-orange{background:var(--orange);color:white;border-color:var(--orange)}
.btn-dark{background:#151515;color:#fff}.btn-light{background:#fff;color:#171717}
.btn:hover{transform:translateY(-2px);filter:brightness(.95)}
.eyebrow{font-size:11px;font-weight:800;letter-spacing:.2em;text-transform:uppercase;color:var(--red)}h1,h2,h3,p{margin-top:0}h1{line-height:1.02;letter-spacing:-.055em;font-size:clamp(40px,6vw,76px)}h2{font-size:clamp(28px,4vw,44px);letter-spacing:-.04em;line-height:1.1}.muted{color:var(--muted)}.section{padding:76px 0}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}.section-head p{max-width:430px;margin-bottom:4px}.hero-img{width:100%;max-height:260px;object-fit:cover}.hero-copy{padding:48px 0 58px}.hero-copy h1{max-width:800px;margin:14px 0 20px}
.hero-copy p{max-width:650px;color:var(--muted);font-size:17px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.pillrow{display:flex;flex-wrap:wrap;gap:8px;margin-top:25px}.pill{border:1px solid #ddd;border-radius:999px;padding:7px 13px;font-size:12px;background:#fff}.intro{background:var(--paper)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product{background:#fff;border:1px solid var(--line);overflow:hidden}.product img{width:100%;aspect-ratio:1/1;object-fit:cover;background:#edf2f4}.product-info{padding:18px}.product-info h3{margin-bottom:6px;font-size:17px}.product-info p{font-size:13px;color:var(--muted);margin-bottom:14px}
.product-info .btn{width:100%}.colorbar{width:100%;margin:25px 0}.video-card{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:36px;align-items:center;background:#111;color:white;padding:26px}.video-card img{width:100%;max-height:420px;object-fit:cover}.video-card p{color:#c7c7c7}.size-img{width:min(840px,100%);margin:auto;border:1px solid var(--line)}.size-wrap{background:#fff}.socials{display:flex;flex-wrap:wrap;gap:10px}.socials a{border:1px solid var(--line);padding:12px 15px;text-decoration:none;font-size:13px}.socials a:hover{border-color:var(--red);color:var(--red)}.cta{background:var(--red);color:white;padding:48px 0}.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}.cta h2{margin:0;max-width:620px}
.cta .btn{border-color:white}footer{background:#111;color:#fff;padding:32px 0}.foot{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px;color:#aaa}.foot .brand{font-size:24px}.float-wa{position:fixed;right:18px;bottom:18px;background:#20b858;color:#fff;padding:13px 17px;border-radius:999px;text-decoration:none;font-size:13px;font-weight:800;box-shadow:0 8px 24px #0002;z-index:20}

/* Sticky announcement and reference-inspired store links/footer */
.official-links{background:#f5f4f2;padding:58px 18px 64px;color:#111}
.official-links-inner{width:min(560px,100%);margin:0 auto}
.official-links h2{font-size:clamp(25px,4vw,36px);text-align:center;letter-spacing:.055em;line-height:1.15;margin:0 0 8px;font-weight:950}
.official-subtitle{text-align:center;color:#777;font-size:13px;margin:0 0 34px}
.official-link-list{display:grid;gap:14px}
.official-link{display:flex;align-items:center;gap:15px;min-height:76px;padding:13px 20px 13px 22px;background:#fff;border:1px solid #e2e1de;border-radius:999px;text-decoration:none;color:#111;transition:background .2s,color .2s,border-color .2s,transform .2s;}
.official-icon{width:46px;height:46px;flex:0 0 46px;border-radius:50%;display:grid;place-items:center;background:#f5f4f2;border:1px solid #e7e5e1;color:#666;font-size:10px;font-weight:900;letter-spacing:.04em;transition:all .2s}
.official-copy{display:grid;gap:2px;flex:1;min-width:0}.official-copy strong{font-size:14px;line-height:1.25}.official-copy small{font-size:11px;color:#777;line-height:1.3;transition:color .2s}.official-arrow{font-size:22px;line-height:1;margin-left:8px;transition:transform .2s}
.official-link:hover,.official-link:focus-visible{background:#e51d2a;border-color:#e51d2a;color:#fff;transform:translateY(-2px);outline:none}.official-link:hover .official-icon,.official-link:focus-visible .official-icon{background:#fff;color:#e51d2a;border-color:#fff}.official-link:hover .official-copy small,.official-link:focus-visible .official-copy small{color:#ffe5e7}.official-link:hover .official-arrow,.official-link:focus-visible .official-arrow{transform:translateX(4px)}
.site-footer{background:#111;color:#fff;padding:40px 0 0}.footer-main{display:grid;grid-template-columns:1.6fr .8fr .8fr;gap:48px;padding-bottom:40px}.footer-logo{display:inline-block;border:1px solid #383838;border-radius:999px;padding:12px 34px;color:#fff;text-decoration:none;font-weight:950;font-size:19px;font-style:italic;letter-spacing:-.5px}.footer-logo small{display:block;text-align:center;font-size:6px;letter-spacing:2px;margin-top:-2px;color:#aaa}.footer-brand-col p{font-size:12px;line-height:1.8;color:#999;margin:16px 0 0}.footer-col{display:flex;flex-direction:column;gap:7px}.footer-col h3{font-size:11px;letter-spacing:.18em;color:#888;margin:0 0 8px}.footer-col a{font-size:12px;color:#fff;text-decoration:none;width:max-content;max-width:100%}.footer-col a:hover{color:#e51d2a}.footer-bottom{border-top:1px solid #303030;min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:#888;font-size:10px;font-weight:800;letter-spacing:.12em}
@media(max-width:650px){header{top:34px}.announce{font-size:10px}.announce-track{animation-duration:24s}.official-links{padding:44px 14px}.official-link{min-height:70px;padding:10px 14px;gap:11px}.official-icon{width:40px;height:40px;flex-basis:40px}.official-copy strong{font-size:12px}.footer-main{grid-template-columns:1fr 1fr;gap:28px 18px}.footer-brand-col{grid-column:1/-1}.footer-bottom{align-items:flex-start;flex-direction:column;justify-content:center;padding-top:14px;padding-bottom:14px;gap:5px;font-size:9px}}

@media(max-width:760px){.nav{min-height:65px}.navlinks{gap:12px}.navlinks a:not(.btn){display:none}.navlinks .btn{padding:10px 12px;font-size:11px}.brand{font-size:24px}.hero-copy{padding:36px 0 44px}.section{padding:52px 0}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-info{padding:13px}.product-info h3{font-size:15px}.video-card{grid-template-columns:1fr;gap:20px}.cta-inner,.foot,.section-head{align-items:flex-start;flex-direction:column}
.cta .btn{width:100%}.float-wa{right:12px;bottom:12px}}
@media(max-width:430px){.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product img{aspect-ratio:4/5}.product-info{padding:10px}.product-info h3{font-size:14px}.product-info p{font-size:12px}.product-info .btn{padding:10px 6px;font-size:10px}.actions .btn{width:100%}.hero-copy p{font-size:15px}.shop-menu .shop-options{right:0}}
@media(min-width:761px){.premium #produk .grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:18px}.premium #produk .product:nth-child(2),.premium #produk .product:nth-child(3){margin-top:0}}
@media(min-width:431px) and (max-width:760px){.premium #produk .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


.premium{background:#fff}.premium .hero-split{display:grid;grid-template-columns:1.05fr .95fr;gap:36px;align-items:center;padding:58px 0 72px}.premium .hero-split .hero-photo{position:relative}.premium .hero-split .hero-photo img{width:100%;aspect-ratio:1/1;object-fit:cover}.premium .hero-split .hero-photo:after{content:'RIVERS / PREMIUM CHINOS SLIMFIT';position:absolute;bottom:16px;left:16px;background:#fff;padding:10px 13px;font-size:10px;letter-spacing:.16em;font-weight:900}.premium .hero-split h1{font-size:clamp(42px,6vw,78px)}.premium .hero-split p{font-size:17px}.premium .trust{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;gap:20px}.premium .trust strong{display:block;font-size:13px}.premium .trust span{font-size:12px;color:var(--muted)}.premium .product{transition:transform .25s,box-shadow .25s}.premium .product:hover{transform:translateY(-5px);box-shadow:0 18px 36px #0000000c}.premium .product-info .btn{width:100%}.premium .intro{background:#111;color:#fff}.premium .intro p{color:#bbb;font-size:18px;max-width:760px}.premium .intro .eyebrow{color:#ff6b73}.premium .product:nth-child(2){margin-top:26px}.premium .product:nth-child(3){margin-top:52px}.premium .product img{aspect-ratio:4/5}.premium .video-card{padding:0;background:#f4f4f1;color:#171717;border:0}.premium .video-card p{color:#666}.premium .video-card img{height:100%;max-height:460px;object-fit:cover}.premium .colorbar{margin:0}.premium .section-head{margin-bottom:36px}.premium .cta{background:#171717}.premium .cta .eyebrow{color:#ff747d}.premium .size-wrap{background:#f7f7f5}.premium .size-img{background:white}.premium .socials{justify-content:flex-start}.premium .socials a{background:#fff}.premium .socials a:first-child{border-color:#171717}
@media(max-width:760px){.premium .hero-split{grid-template-columns:1fr;gap:28px;padding:34px 0 46px}.premium .hero-split .hero-photo{order:-1}.premium .hero-split .hero-photo img{aspect-ratio:1.25/1}.premium .trust{grid-template-columns:1fr;gap:12px}.premium .trust div{display:flex;justify-content:space-between;gap:15px}.premium .product:nth-child(2),.premium .product:nth-child(3){margin-top:0}.premium .product img{aspect-ratio:1/1}.premium .video-card{padding:18px}}


/* Revision: two-slide hero carousel */
.hero-slider{position:relative;overflow:hidden;background:#f1f1ef;width:100%}
.hero-slide{display:none;position:relative;width:100%}
.hero-slide.active{display:block;animation:fadein .55s ease}
.hero-slide img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center}
.slider-dots{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);display:flex;gap:9px;z-index:3;padding:8px 12px;border-radius:999px;background:#00000030;backdrop-filter:blur(4px)}
.slider-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:44px;height:44px;display:grid;place-items:center;border:1px solid #ffffff90;border-radius:50%;background:#00000022;color:#fff;font-size:30px;line-height:1;cursor:pointer;backdrop-filter:blur(4px);transition:background .2s,transform .2s}
.slider-arrow:hover{background:#00000065;transform:translateY(-50%) scale(1.06)}
.slider-arrow.prev{left:clamp(10px,3.2vw,54px)}.slider-arrow.next{right:clamp(10px,3.2vw,54px)}
@media(max-width:760px){.slider-dots{bottom:8px;gap:7px;padding:6px 9px}.slider-dot{width:9px;height:9px}.slider-arrow{width:34px;height:34px;font-size:24px}.slider-arrow.prev{left:8px}.slider-arrow.next{right:8px}}
.slider-dot{width:11px;height:11px;border:1px solid #fff;border-radius:50%;background:#ffffff80;cursor:pointer;padding:0}
.slider-dot.active{background:#e51d2a;border-color:#e51d2a}
@keyframes fadein{from{opacity:.45}to{opacity:1}}
.premium .socials a{background:#e51d2a;color:#fff;border:1px solid #e51d2a;font-weight:800;min-width:150px;text-align:center;justify-content:center}
.premium .socials a:hover{background:#b9131d;border-color:#b9131d;color:#fff;transform:translateY(-2px)}
.video-placeholder{width:min(100%,360px);aspect-ratio:9/16;background:#111;display:block;margin-inline:auto}
.video-placeholder video{width:100%;height:100%;aspect-ratio:9/16;object-fit:contain;background:#111}

  /* ---------- ANNOUNCEMENT MARQUEE ---------- */
  .announce{
    position:sticky;top:0;z-index:60;width:100%;
    background:#111;color:#fff;overflow:hidden;white-space:nowrap;
    font-family:Inter,Arial,Helvetica,sans-serif;font-weight:800;font-size:11px;
    letter-spacing:.09em;text-transform:uppercase;
    height:34px;display:flex;align-items:center;
  }
  .announce-track{display:flex;flex:0 0 auto;width:max-content;animation:marquee 28s linear infinite;will-change:transform}
  .announce-track span{padding:0 2rem;display:block;line-height:34px}
  .announce:hover .announce-track{animation-play-state:paused}
  @keyframes marquee{
    from{transform:translateX(0)}
    to{transform:translateX(-50%)}
  }
  
    /* ---------- MARQUEE DIVIDER ---------- */
  .divider{
    border-top:1px solid var(--line);border-bottom:1px solid var(--line);
    overflow:hidden;white-space:nowrap;padding:1.1rem 0;
    font-family:'Archivo',sans-serif;font-weight:900;
    font-size:clamp(1.4rem,3.5vw,2.4rem);text-transform:uppercase;
  }
  .divider-track{display:inline-flex;animation:marquee 30s linear infinite}
  .divider-track span{margin:0 1.5rem}
  .divider-track .dot{color:var(--accent)}


@media(prefers-reduced-motion:reduce){.announce-track,.divider-track{animation:none}}

/* ---------- PRICE, PRODUCT QUICK LINKS & LIGHT/DARK THEME ---------- */
:root{color-scheme:light;--page-bg:#fff;--card-bg:#fff;--text-main:#171717;--text-muted:#686868;--border-main:#e7e7e4;--section-bg:#f7f7f5}
body{background:var(--page-bg);color:var(--text-main);transition:background .25s,color .25s}
.product{position:relative;background:var(--card-bg);border-color:var(--border-main);overflow:visible}
.product>img{border-radius:0}
.product-info{position:relative;background:var(--card-bg);border-top:1px solid var(--border-main)}
.product-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;font-size:clamp(23px,2.2vw,30px);line-height:1.1;font-weight:950;letter-spacing:-.045em;color:#e51d2a;margin:12px 0 15px;font-variant-numeric:tabular-nums}
.product-price small{flex-basis:100%}
.product-price .price-old{font-size:clamp(13px,1.2vw,16px);font-weight:700;letter-spacing:0;color:var(--text-muted);text-decoration:line-through;text-decoration-thickness:1.5px;opacity:.8}
.product-price .price-current{font-size:inherit;font-weight:950;color:#e51d2a;letter-spacing:-.045em}
.product-price .price-saving{display:inline-flex;align-items:center;font-size:10px;line-height:1.25;font-weight:800;letter-spacing:0;color:#d71920;background:#fff0f0;border:1px solid #ffd4d6;border-radius:999px;padding:4px 7px;white-space:nowrap}
[data-theme="dark"] .product-price .price-saving{color:#ff8b91;background:#451b1d;border-color:#6e292d}
.product-price small{display:block;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--text-muted);margin-bottom:5px;font-weight:800}
.product-quick{position:absolute;z-index:8;right:-1px;top:18px;display:grid;gap:5px;opacity:0;transform:translateX(8px);pointer-events:none;transition:opacity .2s,transform .2s}
.product:hover .product-quick,.product:focus-within .product-quick{opacity:1;transform:translateX(0);pointer-events:auto}
.product-quick a{background:#e51d2a;color:#fff;text-decoration:none;font-size:10px;font-weight:900;letter-spacing:.04em;padding:10px 12px;box-shadow:0 5px 15px #0002;white-space:nowrap;border-radius:3px 0 0 3px}
.product-quick a:hover{background:#b9131d}
.theme-switch{position:fixed;right:16px;top:50%;transform:translateY(-50%);z-index:100;display:grid;gap:6px;padding:7px;background:var(--card-bg);border:1px solid var(--border-main);border-radius:999px;box-shadow:0 8px 24px #0002}
.theme-switch button{width:42px;height:42px;border:0;border-radius:50%;font-size:20px;cursor:pointer;background:transparent;display:grid;place-items:center;transition:background .2s,transform .2s}
.theme-switch button:hover{transform:scale(1.07);background:#e51d2a22}
.theme-switch button[aria-pressed="true"]{background:#e51d2a;color:#fff}
.brand-logo{display:block;width:clamp(120px,15vw,190px);height:auto;object-fit:contain}
.footer-logo-img{display:block;width:clamp(145px,18vw,210px);height:auto;object-fit:contain;border-radius:2px}
/* Dark mode is opt-in; light remains the default */
body.dark-theme{color-scheme:dark;--page-bg:#111;--card-bg:#1b1b1b;--text-main:#f4f4f4;--text-muted:#b6b6b6;--border-main:#363636;--section-bg:#191919;background:var(--page-bg);color:var(--text-main)}
body.dark-theme header,body.dark-theme .product,body.dark-theme .product-info,body.dark-theme .pill,body.dark-theme .shop-options,body.dark-theme .shop-menu .shop-options a,body.dark-theme .size-wrap,body.dark-theme .size-img,body.dark-theme .premium .socials a{background:var(--card-bg);color:var(--text-main);border-color:var(--border-main)}
body.dark-theme .hero-copy p,body.dark-theme .muted,body.dark-theme .product-info p{color:var(--text-muted)}
body.dark-theme .intro,body.dark-theme .premium .intro{background:#202020;color:#f4f4f4}
body.dark-theme .premium .video-card{background:#202020;color:#f4f4f4}
body.dark-theme .premium .video-card p{color:#bbb}
body.dark-theme .size-wrap{background:#181818}
body.dark-theme .official-links{background:#191919;color:#f4f4f4}
body.dark-theme .official-link{background:#222;border-color:#393939;color:#f4f4f4}
body.dark-theme .official-icon{background:#303030;border-color:#444;color:#ddd}
body.dark-theme .official-copy small{color:#bbb}
body.dark-theme .premium .hero-split .hero-photo:after{background:#222;color:#fff}
body.dark-theme .socials a{background:#222;color:#fff}
@media(max-width:650px){.theme-switch{right:8px;padding:5px;gap:4px}.theme-switch button{width:36px;height:36px;font-size:18px}.product-quick{right:0;top:8px}.product-quick a{font-size:9px;padding:8px 9px}}
@media(hover:none){.product-quick{opacity:1;transform:none;pointer-events:auto}}


/* ---------- RIVERS RED NAVBAR + FOOTER REVISION ---------- */
header{background:var(--red);border-bottom-color:#c91420;color:#fff}
.navlinks a:not(.btn){color:#fff}
.navlinks a:not(.btn):hover{color:#ffe1e3}
.brand-logo{background:transparent}
/* SHOP NOW dropdown: both platform links stay Rivers-red with white text in Light and Dark modes. */
.shop-menu .shop-options{background:var(--red)!important;border:1px solid var(--red)!important;padding:8px;}
.shop-menu .shop-options a,
body.dark-theme .shop-menu .shop-options a{background:var(--red)!important;color:#fff!important;border:1px solid var(--red)!important;}
.shop-menu .shop-options a:hover,
.shop-menu .shop-options a:focus-visible,
body.dark-theme .shop-menu .shop-options a:hover,
body.dark-theme .shop-menu .shop-options a:focus-visible{background:#c91420!important;color:#fff!important;border-color:#c91420!important;outline:none;}
/* The supplied logo has a red background; keep it crisp against the red navbar/footer. */
.shop-menu summary.btn-red{background:#fff;color:var(--red);border-color:#fff}
.shop-menu summary.btn-red:hover{background:#f7f7f7;color:#b9131d;filter:none}
body.dark-theme header{background:var(--red);color:#fff;border-bottom-color:#c91420}
body.dark-theme .navlinks a:not(.btn){color:#fff}
.premium #produk .product-info .eyebrow{color:#858585}
.product-info .eyebrow{color:#858585}
.product-price{column-gap:8px;row-gap:7px}
.product-price .price-old{display:inline-flex;align-items:baseline;white-space:nowrap}
.product-price .price-saving{display:inline-flex;align-items:center;white-space:nowrap;font-size:10px;line-height:1.2;padding:4px 7px}
.site-footer{background:var(--red);color:#fff}
.site-footer .footer-brand-col p{color:#fff;opacity:.88}
.site-footer .footer-col h3{color:#fff;opacity:.8}
.site-footer .footer-col a{color:#fff}
.site-footer .footer-col a:hover{color:#ffe1e3}
.site-footer .footer-bottom{border-top-color:#ffffff55;color:#fff}
.site-footer .footer-logo{border-color:#ffffff66}
.site-footer .footer-logo small{color:#fff}
body.dark-theme .site-footer{background:var(--red);color:#fff}
@media(max-width:560px){.product-price .price-saving{font-size:9px;padding:4px 6px}.product-price .price-old{font-size:12px}}


/* Final reference-matched navbar, theme switch and WhatsApp float */
header{background:#e51d2a;top:34px;border-bottom:1px solid #ffffff55;color:#fff}
header .nav{width:min(1360px,92%);min-height:76px;gap:28px}
header .brand{flex:0 0 auto;color:#fff}
header .brand-logo{width:210px;max-height:58px;object-fit:contain;object-position:left center}
header .brand small{color:#fff}
.navlinks{flex:1;justify-content:center;gap:clamp(16px,2.4vw,42px);font-size:14px;font-weight:800;color:#fff}
.navlinks a{color:#fff;white-space:nowrap}
.navlinks a:hover{color:#ffe0e2}
.nav-chevron{font-size:17px;margin-left:5px;line-height:0}
.shop-menu{margin-left:clamp(10px,3vw,42px);flex:0 0 auto}
.shop-menu summary.btn{min-width:168px;min-height:44px;padding:12px 18px;background:#fff;color:#171717;border:1px solid #fff;border-radius:3px;justify-content:space-between}
.shop-menu summary.btn:hover{background:#f3f3f3;color:#171717}
.shop-menu .shop-options{background:#e51d2a;border:1px solid #ffffff55}
.shop-menu .shop-options a{background:#e51d2a;color:#fff}
.shop-menu .shop-options a:hover{background:#bd111b;color:#fff}
.theme-switch{position:fixed;right:10px;top:50%;transform:translateY(-50%);z-index:1000;display:flex;flex-direction:column;gap:0;padding:5px;background:#111;border:1px solid #555;border-radius:30px;box-shadow:0 5px 16px #0003}
.theme-switch button{width:42px;height:42px;border:0;border-radius:50%;display:grid;place-items:center;background:transparent;color:#fff;font-size:25px;line-height:1;cursor:pointer;transition:background .2s,color .2s}
.theme-switch button[aria-pressed="true"]{background:#fff;color:#111}
.theme-switch button:hover{background:#e9e9e9;color:#111}
.float-wa{position:fixed;right:18px;bottom:18px;z-index:999;display:inline-flex;align-items:center;gap:10px;padding:10px 18px 10px 12px;background:#168f4a;color:#fff;border:1px solid #50bd79;border-radius:999px;text-decoration:none;font-size:13px;font-weight:800;box-shadow:0 5px 15px #0002;white-space:nowrap;transition:transform .2s,background .2s}
.float-wa:hover{background:#117a3d;color:#fff;transform:translateY(-2px)}
.float-wa .wa-icon{width:29px;height:29px;display:grid;place-items:center;border:2px solid #fff;border-radius:50%;font-size:22px;line-height:1;font-weight:700}
body.dark-theme header{background:#e51d2a;color:#fff}
body.dark-theme .navlinks a{color:#fff}
@media(max-width:760px){
 header .nav{width:94%;min-height:64px;gap:10px}
 header .brand-logo{width:145px;max-height:46px}
 .navlinks{justify-content:flex-end;gap:8px}
 .navlinks a:not(:first-child){display:none}
 .shop-menu{margin-left:0}
 .shop-menu summary.btn{min-width:118px;min-height:40px;padding:9px 10px;font-size:10px}
 .theme-switch{right:7px;padding:3px}
 .theme-switch button{width:34px;height:34px;font-size:21px}
 .float-wa{right:10px;bottom:10px;padding:7px 12px 7px 8px;font-size:11px;gap:7px}
 .float-wa .wa-icon{width:25px;height:25px;font-size:19px}
}
@media(max-width:380px){
 header .brand-logo{width:118px}
 .shop-menu summary.btn{min-width:106px;font-size:9px}
}


/* NAVBAR MOBILE FIX: menu toggle and reliable SHOP NOW dropdown */
.mobile-nav-toggle{display:none;border:1px solid rgba(255,255,255,.65);background:transparent;color:#fff;width:42px;height:40px;border-radius:5px;align-items:center;justify-content:center;flex-direction:column;gap:5px;cursor:pointer;flex-shrink:0}
.mobile-nav-toggle span{display:block;width:20px;height:2px;background:#fff;border-radius:2px}
.navlinks{position:relative;z-index:150}
.shop-menu{z-index:160}
.shop-menu[open] .shop-options{display:grid!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;z-index:9999}
.shop-menu .shop-options{z-index:9999;min-width:190px}
@media(max-width:760px){
  header{position:sticky;top:34px;z-index:500}
  header .nav{position:relative;display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:12px;padding-top:8px;padding-bottom:8px}
  .mobile-nav-toggle{display:flex;margin-left:auto}
  header .navlinks{display:none;position:absolute;top:100%;left:0;right:0;background:var(--red);padding:14px;box-shadow:0 12px 22px #0003;flex-direction:column;align-items:stretch;gap:0;border-top:1px solid rgba(255,255,255,.25);max-height:calc(100vh - 110px);overflow:visible}
  header .navlinks.mobile-open{display:flex}
  header .navlinks>a:not(.btn){display:flex!important;align-items:center;min-height:42px;padding:10px 8px;color:#fff!important;border-bottom:1px solid rgba(255,255,255,.18);font-size:13px}
  header .navlinks .shop-menu{display:block;width:100%;margin-top:12px}
  header .navlinks .shop-menu>summary{width:100%;min-height:42px;box-sizing:border-box;justify-content:center}
  header .navlinks .shop-menu .shop-options{position:static;min-width:0;width:100%;margin-top:8px;box-sizing:border-box;box-shadow:none;border:1px solid rgba(255,255,255,.35)!important}
  header .navlinks .shop-menu .shop-options a{width:100%;box-sizing:border-box;color:#fff!important;background:var(--red)!important}
}
@media(max-width:380px){.brand-logo{width:112px}.mobile-nav-toggle{width:38px;height:38px}}

/* Hero product photo carousel */
.premium .hero-split .hero-photo{position:relative;overflow:hidden;border-radius:12px;background:#f3f2ef;isolation:isolate}
.hero-photo-track{position:relative;width:100%;aspect-ratio:1/1;overflow:hidden}
.hero-photo-slide{display:none;position:absolute;inset:0;width:100%;height:100%}
.hero-photo-slide.active{display:block;animation:fadein .35s ease}
.premium .hero-split .hero-photo .hero-photo-slide img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;object-position:center;background:#f8f8f6}
.premium .hero-split .hero-photo:after{pointer-events:none;z-index:1}
.hero-photo-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:40px;height:40px;border:1px solid #ffffffa6;border-radius:50%;background:#1115;color:#fff;font-size:28px;line-height:1;display:grid;place-items:center;cursor:pointer;backdrop-filter:blur(5px);transition:background .2s}
.hero-photo-arrow:hover{background:#111b}.hero-photo-arrow.prev{left:12px}.hero-photo-arrow.next{right:12px}
.hero-photo-dots{position:absolute;z-index:3;bottom:14px;left:50%;transform:translateX(-50%);display:flex;gap:8px;padding:7px 10px;border-radius:20px;background:#0005;backdrop-filter:blur(5px)}
.hero-photo-dot{width:9px;height:9px;border:1px solid white;border-radius:50%;padding:0;background:#ffffffa6;cursor:pointer}.hero-photo-dot.active{background:#e51d2a;border-color:#e51d2a}
@media(max-width:760px){.hero-photo-track{aspect-ratio:1/1}.hero-photo-arrow{width:34px;height:34px;font-size:24px}.hero-photo-arrow.prev{left:8px}.hero-photo-arrow.next{right:8px}.hero-photo-dots{bottom:10px}}


/* PAGES dropdown */
.pages-menu{position:relative;flex:0 0 auto;color:#fff}.pages-menu>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:7px;padding:10px 0;color:#fff;font-weight:800;white-space:nowrap}.pages-menu>summary::-webkit-details-marker{display:none}
.pages-options{display:none;position:absolute;left:0;top:calc(100% + 8px);min-width:235px;padding:8px;background:#e51d2a;border:1px solid #ffffff55;box-shadow:0 12px 28px #0003;z-index:10000}.pages-menu[open] .pages-options{display:grid;gap:4px}.pages-options a{display:block;padding:11px 12px;color:#fff!important;background:#e51d2a;text-decoration:none;font-size:12px;font-weight:800;white-space:normal}.pages-options a:hover{background:#bd111b;color:#fff!important}
@media(max-width:760px){header .navlinks .pages-menu{display:block;width:100%;margin:0;border-bottom:1px solid #ffffff2e}header .navlinks .pages-menu>summary{display:flex;width:100%;min-height:42px;box-sizing:border-box;align-items:center;justify-content:space-between;padding:10px 8px;color:#fff!important;font-size:13px}header .navlinks .pages-options{position:static;width:100%;min-width:0;box-sizing:border-box;margin:0 0 8px;box-shadow:none}header .navlinks .pages-options a{display:block!important;width:100%;box-sizing:border-box}header .navlinks .shop-menu{margin:8px 0 0!important}header .navlinks .shop-menu>summary{display:flex!important;align-items:center;justify-content:space-between!important;text-align:left}header .navlinks .shop-menu[open] .shop-options{display:grid!important;position:static!important;width:100%;min-width:0;margin-top:8px;visibility:visible!important;opacity:1!important;pointer-events:auto!important}header .navlinks .shop-menu .shop-options a{display:block!important;white-space:normal}}
/* Four-photo carousel in each product card */
/* Product gallery: fill the frame on desktop, tablet and mobile */
.product-gallery{position:relative;width:100%;overflow:hidden;background:#f8f8f6;isolation:isolate}
.product-gallery-track{position:relative;width:100%;aspect-ratio:1/1;overflow:hidden}
.product-gallery .product-slide{display:none!important;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center;background:#f8f8f6}
.product-gallery .product-slide.active{display:block!important;animation:fadein .3s ease}
.product-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:32px;height:32px;border:1px solid #fff9;border-radius:50%;background:#1118;color:#fff;font-size:24px;line-height:1;display:grid;place-items:center;cursor:pointer}
.product-gallery-arrow.prev{left:8px}.product-gallery-arrow.next{right:8px}
.product-gallery-dots{position:absolute;left:50%;bottom:9px;transform:translateX(-50%);display:flex;gap:6px;padding:5px 8px;border-radius:20px;background:#0005;z-index:2}
.product-gallery-dot{width:7px;height:7px;padding:0;border:1px solid #fff;border-radius:50%;background:#ffffffa6;cursor:pointer}
.product-gallery-dot.active{background:#e51d2a;border-color:#e51d2a}
@media(max-width:760px){.product-gallery-arrow{width:29px;height:29px;font-size:21px}}
/* PRODUCT IMAGE LIGHTBOX */
.product-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.94);
  align-items: center;
  justify-content: center;
  padding: 55px 60px;
}

.product-lightbox.is-open {
  display: flex;
}

.product-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: auto;
}

.product-lightbox button {
  position: absolute;
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 25px;
  display: grid;
  place-items: center;
}

.product-lightbox button:hover {
  background: #e51d2a;
}

.lightbox-close {
  top: 18px;
  right: 20px;
}

.lightbox-prev {
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-counter {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-size: 14px;
}

.product-gallery .product-slide {
  cursor: zoom-in;
}

@media (max-width: 600px) {
  .product-lightbox {
    padding: 55px 42px;
  }

  .product-lightbox img {
    max-height: 80vh;
  }

  .lightbox-prev {
    left: 5px;
  }

  .lightbox-next {
    right: 5px;
  }
}


/* ==============================
   TESTIMONIAL SECTION
============================== */
.testimonial-section {
  padding-top: 56px;
  padding-bottom: 56px;
  overflow: hidden;
}

.testimonial-section .section-heading {
  text-align: center;
  margin-bottom: 28px;
}

.testimonial-slider {
  position: relative;
  width: 100%;
  padding: 0 42px;
}

.testimonial-viewport {
  width: 100%;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 18px;
  transition: transform 0.45s ease;
  will-change: transform;
}
/* Desktop: 2 gambar */
.testimonial-item {
  flex: 0 0 calc((100% - 18px) / 2);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(128, 128, 128, 0.2);
  border-radius: 12px;
  background: var(--card, #fff);
}

.testimonial-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  cursor: zoom-in;
}

.testimonial-item:hover .testimonial-image {
  transform: scale(1.02);
}

.testimonial-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: #c8102e;
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.testimonial-prev {
  left: 0;
}

.testimonial-next {
  right: 0;
}

.testimonial-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #bdbdbd;
  cursor: pointer;
  transition: all 0.25s ease;
}

.testimonial-dot.active {
  width: 22px;
  border-radius: 8px;
  background: #c8102e;
}

/* Tablet: 2 gambar */
@media (max-width: 1024px) {
  .testimonial-item {
    flex-basis: calc((100% - 18px) / 2);
  }
}

/* Mobile: 1 gambar */
@media (max-width: 600px) {
  #testimonial {
    width: 100%;
    max-width: 100%;
    padding: 32px 16px;
    box-sizing: border-box;
    overflow: hidden;
  }

  #testimonial .testimonial-slider {
    width: 100%;
    max-width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
  }

  #testimonial .testimonial-viewport {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  #testimonial .testimonial-track {
    display: flex;
    gap: 12px;
    transition: transform 0.4s ease;
  }

  #testimonial .testimonial-item {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  #testimonial .testimonial-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }

  #testimonial .testimonial-arrow {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
}

/* FIX HERO PHOTO TEXT - LIGHT & DARK MODE */
.hero-split .hero-photo {
  position: relative;
}

.hero-split .hero-photo,
.hero-split .hero-photo h1,
.hero-split .hero-photo h2,
.hero-split .hero-photo h3,
.hero-split .hero-photo p,
.hero-split .hero-photo span {
  opacity: 1;
}

/* Pastikan tulisan tetap jelas saat dark mode */
html[data-theme="dark"] .hero-split .hero-photo,
html[data-theme="dark"] .hero-split .hero-photo h1,
html[data-theme="dark"] .hero-split .hero-photo h2,
html[data-theme="dark"] .hero-split .hero-photo h3,
html[data-theme="dark"] .hero-split .hero-photo p,
html[data-theme="dark"] .hero-split .hero-photo span {
  color: #ffffff;
  opacity: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}
