/* =========================================================================
   NSS Store — Shopee-style theme for Network Solutions Star
   Brand: blue (#346FFE) header/brand · red (#ee2b2b) price/CTA accents
   ========================================================================= */

:root{
  --blue:#346FFE; --blue-d:#1f5fe6; --blue-dd:#1346c4; --blue-soft:#eef3ff;
  --red:#ee2b2b; --red-d:#d11f1f; --red-soft:#fff1f0; --red-line:#ffd5d2;
  --ink:#232323; --sub:#5c5f66; --mut:#8b9099; --line:#efefef; --line2:#e6e7e9;
  --bg:#f5f5f5; --card:#fff; --star:#ffb400; --ok:#1aa251; --ok-soft:#e8f7ee;
  --header:linear-gradient(96deg,#3f78ff,#2a61f0);
  --rad:12px; --rad-sm:8px; --rad-lg:18px;
  --sh:0 1px 3px rgba(20,30,60,.08); --sh-md:0 6px 20px rgba(20,30,60,.10); --sh-lg:0 14px 40px rgba(20,30,60,.16);
  --wrap:1240px; --pad:16px;
  --ff:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--ff);color:var(--ink);background:var(--bg);font-size:14px;line-height:1.55;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
a:hover{color:var(--blue)}
h1,h2,h3,h4{margin:0 0 .4em;line-height:1.25;font-weight:700;color:var(--ink)}
button{font-family:inherit;cursor:pointer}
ul{margin:0;padding:0;list-style:none}
:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
/* NOTE: anything that also carries .nss-container must NOT use the `padding`
   shorthand — same specificity but later in the file, so it silently wipes these
   gutters and the content sits flush against the screen edge on mobile.
   Use padding-top / padding-bottom instead. */
.nss-container{max-width:var(--wrap);margin:0 auto;padding-left:var(--pad);padding-right:var(--pad);width:100%}
/* …and when a .nss-container IS the card (it needs its own inner padding, so the
   gutter above can't survive), take the gutter out of the width instead —
   otherwise the card's rounded corners sit flush against the screen edge. */
.nss-container.nss-cat-strip,.nss-container.nss-flash{width:calc(100% - var(--pad)*2);max-width:calc(var(--wrap) - var(--pad)*2)}
.nss-ic{display:inline-block;vertical-align:middle;flex:0 0 auto}
.nss-skip{position:absolute;left:-999px}
.nss-skip:focus{left:8px;top:8px;background:#fff;padding:10px 16px;border-radius:8px;z-index:9999}
.nss-main{min-height:50vh;padding-bottom:40px}

/* ---- Buttons ----------------------------------------------------------- */
.nss-btn-primary,.nss-btn-outline,.nss-btn-light,.nss-btn-ghost,.nss-btn-wa{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-weight:600;font-size:14px;border-radius:var(--rad-sm);padding:11px 18px;border:1.5px solid transparent;
  transition:.16s;white-space:nowrap;line-height:1}
.nss-btn-primary{background:var(--red);color:#fff}
.nss-btn-primary:hover{background:var(--red-d);color:#fff}
.nss-btn-outline{background:#fff;color:var(--red);border-color:var(--red-line)}
.nss-btn-outline:hover{background:var(--red-soft);color:var(--red)}
.nss-btn-light{background:rgba(255,255,255,.16);color:#fff;border-color:rgba(255,255,255,.55)}
.nss-btn-light:hover{background:#fff;color:var(--blue)}
.nss-btn-ghost{background:#f3f6ff;color:var(--blue);border-color:#dbe6ff}
.nss-btn-ghost:hover{background:var(--blue);color:#fff}
.nss-btn-wa{background:#1faf53;color:#fff}
.nss-btn-wa:hover{background:#179247;color:#fff}
.nss-btn-primary.lg,.nss-btn-outline.lg,.nss-btn-light.lg{padding:14px 26px;font-size:15px}

/* =========================================================================
   HEADER
   ========================================================================= */
.nss-header{position:sticky;top:0;z-index:200}
.nss-topbar{background:var(--blue-dd);color:rgba(255,255,255,.92);font-size:12.5px}
.nss-topbar-row{display:flex;justify-content:space-between;align-items:center;height:34px}
.nss-topbar a{color:rgba(255,255,255,.9);display:inline-flex;align-items:center;gap:5px}
.nss-topbar a:hover{color:#fff}
.nss-topbar .dot{opacity:.4;margin:0 9px}
.nss-topbar .sep{opacity:.45;margin:0 8px}
.nss-topbar-right{display:flex;align-items:center}

.nss-header-main{background:var(--header)}
.nss-header-row{display:flex;align-items:center;gap:26px;padding-top:16px;padding-bottom:16px}
.nss-burger{display:none;background:none;border:0;color:#fff;padding:4px;border-radius:8px}
/* Logo sits directly on the blue header — no white pill (NSS wordmark is already white) */
.nss-logo,.custom-logo-link{flex:0 0 auto;display:flex;align-items:center;line-height:0}
/* Qualify .custom-logo with its link wrapper: a bare .custom-logo (0,1,0) loses to
   woocommerce-layout.css's `.woocommerce img{height:auto}` (0,1,1), so on every shop
   page the logo fell back to its intrinsic 165x49 and squeezed the search field. */
.nss-logo img,.custom-logo-link .custom-logo{height:46px;width:auto;max-width:180px;display:block}

.nss-search{flex:1 1 auto;min-width:0;position:relative;background:#fff;border-radius:10px;display:flex;align-items:center;padding:4px 4px 4px 0;box-shadow:0 2px 10px rgba(0,0,0,.08)}
.nss-search input{flex:1;min-width:0;border:0;outline:0;font-size:14px;padding:11px 14px;background:transparent;color:var(--ink);border-radius:10px}
.nss-search button{background:var(--red);color:#fff;border:0;border-radius:8px;height:38px;width:60px;display:flex;align-items:center;justify-content:center}
.nss-search button:hover{background:var(--red-d)}
.nss-search-tags{position:absolute;top:calc(100% + 7px);left:2px;display:none;gap:14px;font-size:12px}
.nss-search-tags a{color:rgba(255,255,255,.92)}
.nss-search-tags a:hover{color:#fff;text-decoration:underline}

.nss-header-actions{display:flex;align-items:center;gap:6px}
.nss-icon-btn{position:relative;color:#fff;width:46px;height:46px;display:flex;align-items:center;justify-content:center;border-radius:10px}
.nss-icon-btn:hover{background:rgba(255,255,255,.14);color:#fff}
.nss-acc-mini{display:none}
.nss-cart-count{position:absolute;top:5px;right:4px;min-width:18px;height:18px;padding:0 5px;background:var(--red);color:#fff;border-radius:10px;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;border:2px solid #2f63f0}
.nss-cart-count.is-empty{display:none}

/* Mini cart — hover panel under the header cart icon.
   Opens on :hover/:focus-within (pointer devices only, see the media query at the
   end of this block) or when main.js adds .is-open after an AJAX add-to-cart.
   The panel keeps a transparent padding-top strip so the pointer can travel from
   the icon down into it without crossing a gap and closing it. */
.nss-minicart{position:relative;display:flex}
.nss-minicart-pop{position:absolute;top:100%;right:0;width:344px;padding-top:11px;z-index:130;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .18s,transform .2s,visibility .2s;color:var(--ink);cursor:default;text-align:left}
.nss-minicart-pop::after{content:"";position:absolute;top:5px;right:17px;width:12px;height:12px;background:#fff;border-left:1px solid var(--line2);border-top:1px solid var(--line2);transform:rotate(45deg);border-radius:2px 0 0 0}
.nss-mc{position:relative;background:#fff;border:1px solid var(--line2);border-radius:var(--rad);box-shadow:0 18px 44px rgba(15,23,42,.18);overflow:hidden}
.nss-mc-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-bottom:1px solid var(--line)}
.nss-mc-head b{display:inline-flex;align-items:center;gap:8px;font-size:14px}
.nss-mc-head b .nss-ic{color:var(--red)}
.nss-mc-head span{font-size:12px;color:var(--mut)}
.nss-mc-list{max-height:290px;overflow-y:auto;overscroll-behavior:contain;margin:0;padding:0;list-style:none}
.nss-mc-list::-webkit-scrollbar{width:6px}
.nss-mc-list::-webkit-scrollbar-thumb{background:#dcdee2;border-radius:3px}
.nss-mc-item{display:flex;align-items:flex-start;gap:10px;padding:11px 14px;border-bottom:1px solid var(--line)}
.nss-mc-item:last-child{border-bottom:0}
.nss-mc-item:hover{background:#fafbfc}
/* Core's `ul.cart_list li` rules are written for the sidebar widget: a clearfix
   pair that would become flex items, a right-floated 32px thumb and block links. */
.nss-mc ul.nss-mc-list li::before,.nss-mc ul.nss-mc-list li::after{content:none;display:none}
.nss-mc ul.nss-mc-list li{padding:11px 14px}
.nss-mc ul.nss-mc-list li a{display:inline;font-weight:inherit}
.nss-mc ul.nss-mc-list li dl{margin:2px 0 0;padding:0;border:0}
.nss-mc-thumb{flex:0 0 auto;width:52px;height:52px;border-radius:8px;border:1px solid var(--line2);overflow:hidden;background:#f6f7f8;display:block}
.nss-mc ul.nss-mc-list li .nss-mc-thumb img{width:100%;height:100%;object-fit:cover;float:none;margin:0;display:block;box-shadow:none}
.nss-mc-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.nss-mc ul.nss-mc-list li a.nss-mc-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.4;font-weight:500;color:var(--ink)}
.nss-mc-name:hover{color:var(--red)}
.nss-mc-info .quantity{font-size:12.5px;color:var(--mut)}
.nss-mc-info .quantity .woocommerce-Price-amount{color:var(--red);font-weight:700}
.nss-mc-info dl.variation{font-size:11.5px;color:var(--mut)}
.nss-mc-info dl.variation dt,.nss-mc-info dl.variation dd{display:inline;margin:0;font-weight:400}
.nss-mc-info dl.variation dd p{display:inline;margin:0}
.nss-mc ul.nss-mc-list li a.nss-mc-remove{flex:0 0 auto;display:grid;place-items:center;width:26px;height:26px;border-radius:7px;color:var(--mut);font-size:0;transition:.15s}
.nss-mc-remove:hover{background:var(--red-soft);color:var(--red)}
.nss-mc-foot{padding:12px 14px;border-top:1px solid var(--line);background:var(--bg)}
.nss-mc-total{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 0 11px;font-size:13px}
.nss-mc-total-label{color:var(--sub)}
.nss-mc-total-val,.nss-mc-total .woocommerce-Price-amount{font-size:17px;font-weight:700;color:var(--red)}
.nss-mc-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}
.nss-mc-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:38px;padding:0 10px;border-radius:9px;font-size:13px;font-weight:700;transition:.15s}
.nss-mc-btn.is-ghost{background:#fff;border:1px solid var(--line2);color:var(--sub)}
.nss-mc-btn.is-ghost:hover{border-color:var(--red-line);background:var(--red-soft);color:var(--red)}
.nss-mc-btn.is-primary{background:var(--red);color:#fff}
.nss-mc-btn.is-primary:hover{background:var(--red-d);color:#fff}
.nss-mc-empty{text-align:center;padding:26px 18px}
.nss-mc-empty>.nss-ic{color:#cfd3d9}
.nss-mc-empty b{display:block;margin:8px 0 3px;font-size:14px}
.nss-mc-empty p{margin:0 0 14px;font-size:12.5px;color:var(--mut)}
.nss-mc-empty .nss-mc-btn{width:100%}
/* Pointer devices only: on touch/mobile there is no hover, and the drawer +
   cart page cover the same job — a panel that opens on tap would swallow the
   first tap on the cart link. */
@media (hover:hover) and (min-width:821px){
  .nss-minicart:hover>.nss-minicart-pop,.nss-minicart:focus-within>.nss-minicart-pop,.nss-minicart.is-open>.nss-minicart-pop{opacity:1;visibility:visible;transform:none}
}
@media (max-width:820px){.nss-minicart-pop{display:none}}

/* Category bar */
.nss-catbar{background:#fff;border-bottom:1px solid var(--line2);box-shadow:var(--sh)}
.nss-catbar-row{display:flex;align-items:center;gap:18px;height:46px}
.nss-catbar-all{display:inline-flex;align-items:center;gap:7px;font-weight:700;color:var(--blue);flex:0 0 auto}

/* Category dropdowns — .nss-catdrop stretches to the full 46px bar height so the
   hover area is continuous between trigger and menu (no gap = no flicker) */
.nss-catdrop{position:relative;display:flex;align-items:center;align-self:stretch;flex:0 0 auto}
.nss-catdrop-caret{transition:transform .18s;flex:0 0 auto}
.nss-catdrop:hover .nss-catdrop-caret,.nss-catdrop:focus-within .nss-catdrop-caret{transform:rotate(180deg)}
.nss-catdrop-menu{position:absolute;top:100%;left:0;min-width:270px;background:#fff;border:1px solid var(--line2);border-top:0;border-radius:0 0 var(--rad) var(--rad);box-shadow:0 14px 34px rgba(15,23,42,.14);padding:8px;z-index:120;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .18s,transform .18s,visibility .18s}
.nss-catdrop--more .nss-catdrop-menu{left:auto;right:0}
.nss-catdrop:hover .nss-catdrop-menu,.nss-catdrop:focus-within .nss-catdrop-menu{opacity:1;visibility:visible;transform:none}
.nss-catdrop-menu a{display:flex;align-items:center;gap:11px;padding:9px 10px;border-radius:8px;color:var(--ink);font-size:13.5px;font-weight:500;white-space:nowrap}
.nss-catdrop-menu a:hover{background:var(--bg);color:var(--blue)}
.nss-catdrop-ic{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:9px;background:color-mix(in srgb,var(--ac) 12%,#fff);color:var(--ac);flex:0 0 auto}
.nss-catdrop-name{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis}
.nss-catdrop-count{font-size:11.5px;color:var(--mut);background:var(--bg);border-radius:99px;padding:2px 8px;font-weight:600}
.nss-catdrop-menu a:hover .nss-catdrop-count{background:#fff}
.nss-catdrop-foot{margin-top:6px;border-top:1px solid var(--line);border-radius:0 0 8px 8px;color:var(--blue)!important;font-weight:700;justify-content:center}

/* Flash Sale entry, right next to "Semua Kategori" */
.nss-flashlink{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;font-size:13.5px;font-weight:700;color:var(--red);background:linear-gradient(180deg,#fff2f1,#ffe7e5);border:1px solid var(--red-line);border-radius:999px;padding:5px 12px;line-height:1;white-space:nowrap;transition:background .18s,border-color .18s,color .18s}
.nss-flashlink .nss-ic{color:var(--red);flex:0 0 auto}
.nss-flashlink:hover,.nss-flashlink.is-active{background:var(--red);border-color:var(--red);color:#fff}
.nss-flashlink:hover .nss-ic,.nss-flashlink.is-active .nss-ic{color:#fff}
.nss-flashlink-count{font-style:normal;font-size:11px;font-weight:700;background:var(--red);color:#fff;border-radius:999px;padding:2px 7px}
.nss-flashlink:hover .nss-flashlink-count,.nss-flashlink.is-active .nss-flashlink-count{background:rgba(255,255,255,.24)}
/* qualified with a.— `.nss-drawer-link .nss-ic` below is the same 0,2,0 and wins on order */
a.nss-drawer-link.nss-drawer-flash{color:var(--red);font-weight:700}
a.nss-drawer-link.nss-drawer-flash .nss-ic{color:var(--red)}
a.nss-drawer-link.nss-drawer-flash .nss-drawer-count{background:var(--red-soft);color:var(--red)}

/* Flash Sale banner on the ?on_sale=1 archive */
.nss-flash-bar{display:flex;align-items:center;gap:18px;background:linear-gradient(180deg,#fff4f3,#fff);border:1px solid var(--red-line);border-radius:var(--rad);padding:12px 16px;margin-bottom:16px}
.nss-flash-reset{margin-left:auto;display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:600;color:var(--sub);white-space:nowrap}
.nss-flash-reset:hover{color:var(--red)}

/* Mobile drawer */
.nss-drawer{position:fixed;top:0;left:0;height:100%;width:300px;max-width:84vw;background:#fff;z-index:500;transform:translateX(-105%);transition:.28s;overflow-y:auto;box-shadow:var(--sh-lg);padding-bottom:30px}
.nss-drawer.open{transform:none}
.nss-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:16px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff}
.nss-drawer-close{background:none;border:0;color:var(--sub)}
.nss-drawer-title{font-size:11px;letter-spacing:.6px;text-transform:uppercase;color:var(--mut);font-weight:700;padding:16px 18px 6px}
.nss-drawer-link{display:flex;align-items:center;gap:12px;padding:12px 18px;color:var(--ink);font-weight:500;font-size:14px}
.nss-drawer-link:hover{background:var(--blue-soft);color:var(--blue)}
.nss-drawer-link .nss-ic{color:var(--blue)}
/* The drawer's "Informasi" block is now the Menu Utama nav menu — style its
   plain <ul><li><a> to match the hand-built .nss-drawer-link rows above. */
.nss-drawer-menu{list-style:none;margin:0;padding:0}
.nss-drawer-menu li{margin:0}
.nss-drawer-menu a{display:flex;align-items:center;gap:12px;padding:12px 18px;color:var(--ink);font-weight:500;font-size:14px}
.nss-drawer-menu a:hover{background:var(--blue-soft);color:var(--blue)}
.nss-drawer-count{margin-left:auto;background:#f1f2f4;color:var(--mut);font-size:11px;padding:2px 8px;border-radius:10px;font-weight:700}
.nss-overlay{position:fixed;inset:0;background:rgba(15,23,42,.5);z-index:400;opacity:0;visibility:hidden;transition:.28s}
.nss-overlay.open{opacity:1;visibility:visible}

/* =========================================================================
   BREADCRUMB
   ========================================================================= */
.nss-crumbs-wrap{padding-top:14px;padding-bottom:2px}
.nss-breadcrumb{font-size:12.5px;color:var(--mut);display:flex;align-items:center;flex-wrap:wrap;gap:4px}
.nss-breadcrumb a{color:var(--sub);display:inline-flex;align-items:center;gap:4px}
.nss-breadcrumb a:hover{color:var(--blue)}
.nss-breadcrumb .crumb-sep{display:inline-flex;color:#c7cad0;margin:0 2px}

/* =========================================================================
   HOMEPAGE
   ========================================================================= */
.nss-hero{padding:20px 0 6px}
.nss-hero-grid{display:grid;grid-template-columns:1fr 320px;gap:16px}
.nss-hero-main{background:#0a1d54;color:#fff;border-radius:var(--rad-lg);padding:0;position:relative;overflow:hidden;box-shadow:var(--sh-md);display:grid;grid-template-columns:1fr 40%;align-items:stretch}
/* Banner artwork — decorative network-equipment scenes (side cards, page heroes) */
.nss-banner-art{position:absolute;pointer-events:none;user-select:none}
.nss-hero-card>.nss-banner-art{right:-8px;bottom:-6px;width:132px;height:auto;z-index:0}
.nss-hero-card>*:not(.nss-banner-art){position:relative;z-index:1}
/* Left copy panel + right product panel. The panel image is built from real
   product photos (or a client upload via Customizer → Banner Hero → Gambar latar).
   Both share the same navy so the seam is invisible; a soft fade blends the edge. */
.nss-hero-copy{padding:40px 26px 40px 42px;display:flex;flex-direction:column;justify-content:center;min-width:0}
.nss-hero-figure{position:relative;min-height:290px}
.nss-hero-figure .nss-hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.nss-hero-figure::before{content:"";position:absolute;left:0;top:0;bottom:0;width:72px;z-index:1;background:linear-gradient(90deg,#0a1d54,rgba(10,29,84,0));pointer-events:none}
.nss-hero-eyebrow{display:inline-flex;align-items:center;gap:7px;background:rgba(255,255,255,.16);padding:6px 13px;border-radius:30px;font-size:12.5px;font-weight:600;margin-bottom:16px;align-self:flex-start}
.nss-hero-main h1{color:#fff;font-size:34px;font-weight:800;line-height:1.18;max-width:460px;margin-bottom:14px}
.nss-hero-main p{color:rgba(255,255,255,.9);font-size:15px;max-width:440px;margin:0 0 24px}
/* Phones: hero stacks — copy over a full-bleed product backdrop with a scrim. */
@media (max-width:600px){
  .nss-hero-main{display:block}
  .nss-hero-figure{position:absolute;inset:0;z-index:0;min-height:0}
  .nss-hero-figure::before{display:none}
  .nss-hero-main::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(158deg,rgba(9,28,76,.86) 0%,rgba(9,28,76,.56) 50%,rgba(9,28,76,.34) 100%)}
  .nss-hero-copy{position:relative;z-index:2;padding:26px 20px}
  .nss-hero-copy h1,.nss-hero-copy p{text-shadow:0 1px 10px rgba(6,18,54,.5)}
}
.nss-hero-cta{display:flex;gap:12px;flex-wrap:wrap}
.nss-hero-side{display:flex;flex-direction:column;gap:16px}
.nss-hero-card{flex:1;border-radius:var(--rad);padding:20px;color:#fff;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden;box-shadow:var(--sh-md);transition:.16s}
.nss-hero-card:hover{transform:translateY(-3px);color:#fff}
.nss-hero-card.red{background:linear-gradient(120deg,#ff5a4d,#e0241a)}
.nss-hero-card.blue{background:linear-gradient(120deg,#3f86ff,#1f57e6)}
.nss-hero-card-tag{font-size:11px;font-weight:800;letter-spacing:.8px;background:rgba(255,255,255,.22);align-self:flex-start;padding:3px 9px;border-radius:6px;margin-bottom:8px}
.nss-hero-card b{font-size:17px;margin-bottom:3px}
.nss-hero-card span{font-size:13px;opacity:.95;display:inline-flex;align-items:center;gap:5px}

/* Category circles */
.nss-cat-strip{background:#fff;border-radius:var(--rad);margin-top:18px;padding:18px 8px 8px;box-shadow:var(--sh)}
.nss-cat-strip-head{display:flex;align-items:center;gap:8px;font-weight:700;color:var(--ink);font-size:15px;padding:0 12px 14px;border-bottom:1px solid var(--line)}
.nss-cat-strip-head .nss-ic{color:var(--blue)}
.nss-cat-circles{display:grid;grid-template-columns:repeat(10,1fr);gap:6px;padding:14px 6px 8px}
.nss-cat-circle{display:flex;flex-direction:column;align-items:center;gap:9px;padding:8px 4px;border-radius:10px;text-align:center}
.nss-cat-circle:hover{background:var(--blue-soft)}
.nss-cat-ic{width:62px;height:62px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--ac) 12%,#fff);color:var(--ac);border:1px solid color-mix(in srgb,var(--ac) 22%,#fff)}
.nss-cat-name{font-size:12px;color:var(--sub);font-weight:500;line-height:1.3}
.nss-cat-circle:hover .nss-cat-name{color:var(--blue)}

/* Sections */
.nss-section,.nss-flash{margin-top:22px}
.nss-sec-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.nss-sec-head h2{font-size:19px;font-weight:800;display:flex;align-items:center;gap:8px;margin:0}
.nss-sec-head .sec-ic{color:var(--red)}
.nss-sec-head.accent-line h2{padding-left:12px;border-left:4px solid var(--red);line-height:1.1}
.nss-sec-more{color:var(--blue);font-size:13px;font-weight:600;display:inline-flex;align-items:center;gap:3px}

/* Flash sale */
.nss-flash{background:linear-gradient(180deg,#fff4f3,#fff);border:1px solid var(--red-line);border-radius:var(--rad);padding:16px}
.nss-flash-head{display:flex;align-items:center;gap:18px;margin-bottom:14px}
.nss-flash-title{display:flex;align-items:center;gap:8px;font-size:20px;font-weight:800;color:var(--red)}
.nss-flash-title .nss-ic{color:var(--red)}
.nss-countdown{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--sub)}
.nss-countdown .cd-label{margin-right:2px}
.nss-countdown .cd-box{background:var(--ink);color:#fff;border-radius:5px;padding:3px 6px;font-weight:700;font-variant-numeric:tabular-nums;min-width:26px;text-align:center}
.nss-countdown i{color:var(--ink);font-weight:700;font-style:normal}
.nss-flash .nss-sec-more{margin-left:auto}

/* =========================================================================
   PRODUCT GRID + CARD
   ========================================================================= */
.products{display:grid;gap:12px;margin:0;padding:0;grid-template-columns:repeat(5,1fr)}
/* WooCommerce float-layout overrides — grid handles all sizing */
.products li.product{width:100%!important;float:none!important;margin-left:0!important;margin-right:0!important;clear:none!important}
/* Kill WooCommerce's clearfix pseudo-elements — in a grid they steal cells and push the first product into column 2, leaving column 1 empty */
.products::before,.products::after{content:none!important;display:none!important}
.nss-grid{grid-template-columns:repeat(5,1fr)}
.nss-grid-row{grid-template-columns:repeat(6,1fr)}
.nss-hscroll{position:relative}

.nss-card{position:relative;min-width:0;background:var(--card);border:1px solid var(--line2);border-radius:var(--rad-sm);overflow:hidden;display:flex;flex-direction:column;transition:.16s;list-style:none}
.nss-card::marker{content:""}
.nss-card:hover{border-color:var(--red-line);box-shadow:var(--sh-md);transform:translateY(-2px);z-index:2}
.nss-card-link{display:flex;flex-direction:column;flex:1}
.nss-card-media{position:relative;aspect-ratio:1/1;background:#fafbfc;overflow:hidden}
.nss-card-media img{width:100%;height:100%;object-fit:cover;transition:.3s}
/* woocommerce.css hits card thumbs through `ul.products li.product a img` (0,3,4) with
   height:auto + a 1em bottom margin — out of reach for any card-level selector, so on
   shop pages non-square photos would stop filling the 1:1 media box. Match it head-on. */
.woocommerce ul.products li.product a .nss-card-media img{width:100%;height:100%;margin:0}
.woocommerce ul.products{margin:0}
.nss-card:hover .nss-card-media img{transform:scale(1.04)}
.nss-card-disc{position:absolute;top:0;right:0;background:var(--red);color:#fff;font-size:11px;font-weight:800;padding:3px 6px;border-bottom-left-radius:8px}
.nss-card-flag{position:absolute;top:8px;left:0;background:linear-gradient(90deg,#ffb400,#ff8a00);color:#fff;font-size:10.5px;font-weight:700;padding:3px 8px 3px 7px;border-radius:0 4px 4px 0}
.nss-card-soldout{position:absolute;inset:0;background:rgba(255,255,255,.66);display:flex;align-items:center;justify-content:center;font-weight:800;color:#555;font-size:14px;letter-spacing:1px}
.nss-card-body{padding:9px 10px 4px;display:flex;flex-direction:column;gap:5px;flex:1}
.nss-card-title{font-size:13px;font-weight:500;color:var(--ink);line-height:1.35;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:35px}
.nss-card:hover .nss-card-title{color:var(--red)}
.nss-card-price{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;margin-top:auto}
.nss-card-price .now{color:var(--red);font-weight:800;font-size:16px}
.nss-card-price .now .woocommerce-Price-currencySymbol{font-size:11px;font-weight:600;margin-right:1px}
.nss-card-price .was{color:var(--mut);font-size:11.5px;text-decoration:line-through}
.nss-card-meta{display:flex;align-items:center;gap:5px;font-size:11.5px;color:var(--mut)}
.nss-card-rate{display:inline-flex;align-items:center;gap:3px;color:#e6920a;font-weight:600}
.nss-card-rate .star-y{color:var(--star)}
.nss-card-dot{color:#d4d6da}
.nss-card-loc{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:var(--mut);padding-bottom:6px}
.nss-card-loc .nss-ic{color:#b9bcc2}
.nss-card-actions{padding:0 10px 10px}
.nss-card .nss-card-add,.nss-card a.button{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;background:var(--red-soft);color:var(--red);border:1px solid var(--red-line);border-radius:6px;padding:7px;font-size:12.5px;font-weight:700;transition:.15s}
.nss-card .nss-card-add:hover,.nss-card a.button:hover{background:var(--red);color:#fff}
.nss-card .nss-card-add.loading{opacity:.6}
.nss-card .nss-card-add.added{background:var(--ok);border-color:var(--ok);color:#fff}
.nss-card .added_to_cart{display:none}
.nss-card .btn-ic{flex:0 0 auto}

/* =========================================================================
   SHOP / ARCHIVE
   ========================================================================= */
.nss-shop-layout{display:grid;grid-template-columns:230px 1fr;gap:18px;padding-top:10px;align-items:start}
.nss-shop-sidebar{position:sticky;top:140px;display:flex;flex-direction:column;gap:14px}
.nss-side-card{background:#fff;border:1px solid var(--line2);border-radius:var(--rad);overflow:hidden}
.nss-side-head{display:flex;align-items:center;gap:8px;padding:13px 15px;font-weight:700;font-size:14px;border-bottom:1px solid var(--line);color:var(--ink)}
.nss-side-head .nss-ic{color:var(--blue)}
.nss-side-cats li a{display:flex;align-items:center;gap:9px;padding:9px 15px;color:var(--sub);font-size:13px;border-left:3px solid transparent}
.nss-side-cats li a .side-ic{color:var(--mut)}
.nss-side-cats li a span{flex:1}
.nss-side-cats li a em{font-style:normal;color:var(--mut);font-size:11px;background:#f3f4f6;border-radius:9px;padding:1px 7px}
.nss-side-cats li a:hover{background:var(--blue-soft);color:var(--blue)}
.nss-side-cats li.is-active a{background:var(--blue-soft);color:var(--blue);border-left-color:var(--blue);font-weight:600}
.nss-side-cats li.is-active a .side-ic{color:var(--blue)}
.nss-side-price li a{display:flex;align-items:center;gap:6px;padding:8px 15px;color:var(--sub);font-size:13px}
.nss-side-price li a:hover{background:var(--red-soft);color:var(--red)}
.nss-side-price li a .nss-ic{color:#c4c7cd}
.nss-side-price .nss-price-reset a{color:var(--red);font-weight:600}
.nss-side-help{background:linear-gradient(135deg,#eef3ff,#fff);border:1px solid #dbe6ff;border-radius:var(--rad);padding:16px}
.nss-side-help b{display:block;color:var(--ink);margin-bottom:5px;font-size:14px}
.nss-side-help p{color:var(--sub);font-size:12.5px;margin:0 0 12px}
.nss-side-help .nss-btn-wa{width:100%;font-size:13px;padding:9px}

/* Few-product archives keep the normal card size (standard 5-col responsive grid): with the
   clearfix removed above, products fill columns left-to-right and empty trailing tracks just
   collapse to whitespace — cards stay the same size as the main shop, aligned to the left. */
.nss-shop-main .products{justify-content:start}

.nss-shop-main .woocommerce-products-header,.nss-shop-main>h1{margin-bottom:14px}
.nss-shop-main .woocommerce-products-header__title,.nss-shop-main>h1.page-title,.woocommerce-products-header__title{font-size:22px;font-weight:800;margin:0 0 4px}
.woocommerce-products-header .term-description,.woocommerce-archive-description{color:var(--sub);font-size:13.5px;margin-bottom:6px}
/* Toolbar: result count + ordering */
.nss-shop-main .woocommerce-result-count,.woocommerce-result-count{color:var(--mut);font-size:13px;margin:0;float:none;display:inline-block}
.nss-shop-main form.woocommerce-ordering,.woocommerce-ordering{float:right;margin:0 0 14px}
.woocommerce-ordering select,.nss-shop-main select.orderby{appearance:none;-webkit-appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%238b9099' stroke-width='2'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center;border:1px solid var(--line2);border-radius:8px;padding:9px 34px 9px 13px;font-size:13px;color:var(--ink);cursor:pointer}
.nss-shop-main .woocommerce-result-count{padding-top:9px}

/* Pagination */
.woocommerce-pagination,.nss-pagination{margin-top:24px;text-align:center}
.woocommerce-pagination ul,.nss-pagination .nav-links{display:inline-flex;gap:6px;border:0!important}
.woocommerce-pagination ul li,.nss-pagination .page-numbers{border:0!important;margin:0!important}
.woocommerce-pagination a.page-numbers,.woocommerce-pagination span.page-numbers,.nss-pagination .page-numbers{display:flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 10px;border:1px solid var(--line2)!important;border-radius:8px;background:#fff;color:var(--sub);font-weight:600;font-size:13px}
.woocommerce-pagination a.page-numbers:hover{border-color:var(--blue)!important;color:var(--blue)}
.woocommerce-pagination .page-numbers.current,.nss-pagination .page-numbers.current{background:var(--red);border-color:var(--red)!important;color:#fff}

/* =========================================================================
   WOOCOMMERCE NOTICES
   ========================================================================= */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-noreviews,.woocommerce-NoticeGroup .woocommerce-error{
  border:0;border-radius:var(--rad-sm);padding:14px 16px 14px 46px;position:relative;font-size:13.5px;margin:0 0 16px;box-shadow:var(--sh);list-style:none}
.woocommerce-message{background:var(--ok-soft);color:#0f7a3d}
.woocommerce-info{background:var(--blue-soft);color:var(--blue-dd)}
.woocommerce-error{background:var(--red-soft);color:var(--red-d)}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{position:absolute;left:16px;top:14px;font-family:inherit;content:"";width:20px;height:20px;background-size:contain;background-repeat:no-repeat}
.woocommerce-message::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f7a3d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")}
.woocommerce-info::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231346c4' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cline x1='12' y1='11' x2='12' y2='16'/%3E%3Ccircle cx='12' cy='7.5' r='.5' fill='%231346c4'/%3E%3C/svg%3E")}
.woocommerce-error::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d11f1f' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cline x1='12' y1='7' x2='12' y2='13'/%3E%3Ccircle cx='12' cy='16.5' r='.5' fill='%23d11f1f'/%3E%3C/svg%3E")}
.woocommerce-message .button,.woocommerce-info .button{background:#fff;color:var(--ink);border:1px solid var(--line2);padding:7px 14px;border-radius:7px;font-size:12.5px;float:right;margin-top:-3px}

/* =========================================================================
   SINGLE PRODUCT
   ========================================================================= */
.nss-single-wrap{padding-top:8px}
.woocommerce div.product{display:grid;grid-template-columns:440px 1fr;grid-template-areas:"gallery summary";gap:0;background:#fff;border:1px solid var(--line2);border-radius:var(--rad);overflow:hidden;margin-bottom:18px}
/* Grid items default to min-width:auto (= min-content). On mobile the 3-tab row's
   min-content (~418px) inflated the single 1fr column past the 366px box, and the
   `overflow:hidden` above silently CLIPPED the right edge of every section
   (price, store card, tabs). Tracks must be free to shrink. */
.woocommerce div.product>*{min-width:0}
/* woocommerce-layout.css floats these at 48% via `.woocommerce div.product div.images`
   (0,3,2) — a plain `.woocommerce div.product .summary` (0,3,1) loses, leaving the
   gallery 211px wide with a dead gap next to it. Match on the compound classes. */
.woocommerce div.product div.images.woocommerce-product-gallery{grid-area:gallery;padding:16px;border-right:1px solid var(--line);float:none;width:auto;margin:0}
.woocommerce div.product div.summary.entry-summary{grid-area:summary;padding:22px 26px;margin:0;float:none;width:auto}
.woocommerce div.product .woocommerce-product-gallery__wrapper{margin:0;border-radius:var(--rad-sm);overflow:hidden}
.woocommerce div.product .woocommerce-product-gallery img{border-radius:var(--rad-sm)}
.woocommerce span.onsale{display:none}
.woocommerce div.product .product_title{font-size:22px;font-weight:700;line-height:1.3;margin:0 0 6px}
.nss-sp-stats{display:flex;align-items:center;gap:14px;color:var(--sub);font-size:13px;padding:6px 0 14px;border-bottom:1px solid var(--line);margin-bottom:0}
.nss-sp-stats .nss-stat{display:inline-flex;align-items:center;gap:5px}
.nss-sp-stats .nss-stat b{color:var(--ink);border-bottom:1px solid var(--ink);padding-bottom:1px}
.nss-sp-stats .star-y{color:var(--star)}
.nss-sp-stats .nss-stat i{font-style:normal;color:var(--mut)}
.nss-sp-stats .nss-stat-loc{color:var(--mut)}
.nss-sp-stats .nss-stat-loc .nss-ic{color:var(--mut)}
.nss-sp-stats .nss-vsep{width:1px;height:14px;background:var(--line2)}

/* Price box */
.nss-price-box{background:linear-gradient(180deg,#fff6f5,#fff);border:1px solid var(--red-line);border-radius:var(--rad-sm);padding:16px 18px;margin:16px 0;display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.nss-price-box .nss-price-main{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.woocommerce div.product .nss-price-box p.price,.woocommerce div.product .nss-price-box .price{color:var(--red);font-size:30px;font-weight:800;margin:0;display:flex;align-items:baseline;gap:12px}
.woocommerce div.product .nss-price-box .price del{color:var(--mut);font-size:16px;font-weight:500;opacity:1}
.woocommerce div.product .nss-price-box .price ins{text-decoration:none;color:var(--red)}
.nss-price-box .nss-price-main .price .woocommerce-Price-currencySymbol{font-size:18px;font-weight:700}
.nss-price-badge{background:var(--red);color:#fff;font-weight:800;font-size:14px;padding:4px 9px;border-radius:6px}
.nss-price-save{font-size:12.5px;color:var(--red-d);background:#fff;border:1px dashed var(--red-line);border-radius:6px;padding:4px 9px}
.nss-price-save .woocommerce-Price-amount{font-weight:700}

/* Variations / quantity / add to cart */
.woocommerce div.product form.cart{margin:18px 0 8px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
/* On a variable product WooCommerce nests qty + buttons inside this block wrapper,
   so form.cart's flex layout never reaches them — make the wrapper a flex row too. */
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart{display:flex;align-items:center;gap:12px;flex-wrap:wrap;width:100%}
.woocommerce div.product form.cart .quantity{display:flex;align-items:center}
.nss-qty-btn{width:38px;height:44px;border:1px solid var(--line2);background:#fafafa;color:var(--sub);display:flex;align-items:center;justify-content:center}
.nss-qty-btn.minus{border-radius:8px 0 0 8px}
.nss-qty-btn.plus{border-radius:0 8px 8px 0}
.nss-qty-btn:hover{color:var(--red);border-color:var(--red-line)}
.woocommerce div.product form.cart .quantity .qty{width:54px;height:44px;border:1px solid var(--line2);border-left:0;border-right:0;text-align:center;font-size:15px;font-weight:600;-moz-appearance:textfield}
.woocommerce .quantity .qty::-webkit-outer-spin-button,.woocommerce .quantity .qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.woocommerce div.product form.cart .button,.woocommerce div.product .single_add_to_cart_button{background:var(--red-soft);color:var(--red);border:1.5px solid var(--red-line);border-radius:8px;height:48px;padding:0 26px;font-size:15px;font-weight:700;display:inline-flex;align-items:center;gap:8px;text-transform:none;letter-spacing:0;min-width:170px;justify-content:center;transition:.16s}
.woocommerce div.product form.cart .single_add_to_cart_button:hover{background:var(--red);color:#fff}
/* brief confirmation after an AJAX add (main.js swaps the label too) */
.woocommerce div.product form.cart .single_add_to_cart_button.added,.woocommerce div.product form.cart .single_add_to_cart_button.added:hover{background:var(--ok);border-color:var(--ok);color:#fff}
/* core appends its own WooCommerce-font tick to `.added`, next to ours */
.woocommerce div.product form.cart .single_add_to_cart_button.added::after{content:none}
.nss-buy-now{background:var(--red)!important;color:#fff!important;border-color:var(--red)!important;min-width:160px}
.nss-buy-now:hover{background:var(--red-d)!important}
/* Variations.
   Marketplace-style option picker: the attribute label sits in a muted column on
   the left, the values are pills on the right. The pills are rendered by main.js
   from the native <select>, which stays in the DOM as the source of truth for
   WooCommerce's own variation script — so the select rules below still matter
   (no-JS fallback, and any row main.js leaves alone). */
.woocommerce div.product form.cart .variations{margin:14px 0 12px;width:100%;border-top:1px solid var(--line);border-collapse:collapse}
.woocommerce div.product form.cart .variations td,.woocommerce div.product form.cart .variations th{padding:12px 0;vertical-align:top;border-bottom:1px solid var(--line)}
.woocommerce div.product form.cart .variations th.label{text-align:left;width:104px;padding-right:14px;font-size:13px;font-weight:600;color:var(--mut);line-height:38px}
/* Attribute names came out of the import in caps ("KELENGKAPAN") — normalise. */
.woocommerce div.product form.cart .variations th.label label{display:block;font-weight:600;text-transform:lowercase}
.woocommerce div.product form.cart .variations th.label label::first-letter{text-transform:uppercase}
/* When main.js has taken over the row, the select is only there for WooCommerce. */
.woocommerce div.product form.cart .variations td.nss-var-on select{position:absolute;width:1px;height:1px;padding:0;margin:-1px;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.nss-var-pills{display:flex;flex-wrap:wrap;gap:9px}
.nss-var-pills[hidden]{display:none}
.nss-var-pill{position:relative;display:inline-flex;align-items:center;min-height:38px;max-width:100%;padding:7px 15px;border:1px solid var(--line2);border-radius:8px;background:#fff;color:var(--ink);font:inherit;font-size:13.5px;font-weight:600;line-height:1.35;text-align:left;cursor:pointer;transition:border-color .15s,color .15s,background .15s}
.nss-var-pill:hover{border-color:var(--red);color:var(--red)}
.nss-var-pill.is-active{border-color:var(--red);color:var(--red);background:var(--red-soft);box-shadow:inset 0 0 0 1px var(--red)}
/* Corner flag + tick on the chosen pill — the marketplace convention. */
.nss-var-pill.is-active::before{content:"";position:absolute;right:0;bottom:0;border:8px solid transparent;border-right-color:var(--red);border-bottom-color:var(--red);border-radius:0 0 7px 0}
.nss-var-pill.is-active::after{content:"";position:absolute;right:2.5px;bottom:3.5px;width:6px;height:3px;border-left:1.4px solid #fff;border-bottom:1.4px solid #fff;transform:rotate(-45deg)}
.nss-var-pill:focus-visible{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(52,111,254,.16)}
.nss-var-pill[disabled]{cursor:not-allowed;color:var(--mut);background:var(--bg);border-color:var(--line);border-style:dashed}
.nss-var-pill[disabled]:hover{color:var(--mut);border-color:var(--line)}
.woocommerce div.product form.cart .variations select{width:100%;max-width:100%;height:42px;padding:0 36px 0 12px;border:1px solid var(--line2);border-radius:8px;font:inherit;font-size:14px;color:var(--ink);-webkit-appearance:none;appearance:none;background:#fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center}
.woocommerce div.product form.cart .variations select:focus{border-color:var(--blue);outline:none;box-shadow:0 0 0 3px rgba(52,111,254,.14)}
/* Core toggles this link's visibility inline (display:none until a value is
   picked), so it must not be forced visible here. */
.woocommerce div.product form.cart .reset_variations{margin-top:9px;font-size:12px;font-weight:600;color:var(--mut);text-decoration:underline;text-underline-offset:2px}
.woocommerce div.product form.cart .reset_variations:hover{color:var(--red)}
/* Chosen-variation panel (price / stock / variation description). */
.woocommerce div.product .single_variation_wrap{display:block}
.woocommerce div.product .woocommerce-variation.single_variation{margin:0}
.woocommerce div.product .woocommerce-variation.single_variation:not(:empty){padding:12px 14px;margin:0 0 14px;border:1px solid var(--line2);border-radius:var(--rad-sm);background:var(--bg)}
.woocommerce div.product .woocommerce-variation-price .price{font-size:20px;font-weight:800;color:var(--red)}
.woocommerce div.product .woocommerce-variation-price .price ins{text-decoration:none;background:none}
.woocommerce div.product .woocommerce-variation-price .price del{font-size:14px;font-weight:500;color:var(--mut)}
.woocommerce div.product .woocommerce-variation-description{font-size:13px;color:var(--sub);line-height:1.6}
.woocommerce div.product .woocommerce-variation-description p:last-child{margin-bottom:0}
.woocommerce div.product .woocommerce-variation-availability p{margin:4px 0 0;font-size:12.5px;font-weight:600;color:var(--ok)}
.woocommerce div.product .woocommerce-variation-availability .out-of-stock{color:var(--red)}

/* Trust badges */
.nss-trust{display:flex;flex-wrap:wrap;gap:8px 18px;padding:14px 0 4px;margin-top:12px;border-top:1px solid var(--line)}
.nss-trust-item{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;color:var(--sub);font-weight:500}
.nss-trust-item .nss-ic{color:var(--blue)}

/* Product meta */
.woocommerce div.product .product_meta{font-size:12.5px;color:var(--mut);margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.woocommerce div.product .product_meta>span{display:block;margin-bottom:4px}
.woocommerce div.product .product_meta a{color:var(--blue)}

/* Store card */
.nss-store-card{grid-column:1 / -1;display:flex;align-items:center;gap:20px;flex-wrap:wrap;background:#fff;border:1px solid var(--line2);border-radius:var(--rad);padding:18px 20px;margin:0 0 18px}
.nss-store-id{display:flex;align-items:center;gap:14px;flex:1;min-width:240px}
.nss-store-ava{width:62px;height:62px;border-radius:50%;border:2px solid var(--blue-soft);overflow:hidden;flex:0 0 auto;background:#fff;display:flex;align-items:center;justify-content:center}
.nss-store-ava img{width:54px;height:54px;object-fit:contain}
.nss-store-name{font-size:16px;font-weight:700;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.nss-seller-badge{display:inline-flex;align-items:center;gap:4px;background:var(--red-soft);color:var(--red);font-size:11px;font-weight:700;padding:2px 8px;border-radius:5px}
.nss-store-sub{color:var(--mut);font-size:12.5px;margin-top:3px}
.nss-store-cta{display:flex;gap:10px}
.nss-store-cta .nss-btn-ghost{font-size:13px;padding:9px 16px}
.nss-store-stats{display:flex;gap:24px;padding-left:20px;border-left:1px solid var(--line)}
.nss-store-stats div{display:flex;flex-direction:column;align-items:center}
.nss-store-stats b{color:var(--red);font-size:16px}
.nss-store-stats span{color:var(--mut);font-size:11.5px}

/* Tabs */
.woocommerce div.product .woocommerce-tabs{grid-column:1 / -1;background:#fff;border:1px solid var(--line2);border-radius:var(--rad);padding:0;margin:0 0 18px}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin:0;border-bottom:1px solid var(--line);display:flex;gap:0}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:none;border:0;border-radius:0;margin:0;padding:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:15px 22px;font-weight:700;color:var(--sub);font-size:14px;display:block;border-bottom:3px solid transparent}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover{color:var(--red);border-color:var(--red)}
.woocommerce div.product .woocommerce-tabs .panel{margin:0;padding:22px 24px;font-size:14px;color:var(--sub)}
.woocommerce div.product .woocommerce-tabs .panel h2{font-size:17px}

/* Description tab.
   The imported copy is one long run of lines; nss_format_description() (PHP)
   turns it into headings, bullet lists and spec rows, and this styles them. */
.nss-desc{max-width:820px}
.woocommerce div.product .woocommerce-tabs .panel h2.nss-desc-title{display:flex;align-items:center;gap:10px;margin:0 0 4px;font-size:18px;font-weight:800;color:var(--ink)}
.nss-desc-title::before{content:"";width:4px;height:19px;border-radius:3px;background:var(--red)}
.nss-desc-body{font-size:14.5px;line-height:1.85;color:var(--sub)}
.nss-desc-body>*:first-child{margin-top:14px}
.nss-desc-body p{margin:0 0 14px}
.nss-desc-body>*:last-child{margin-bottom:0}
/* Section heading inside the copy ("Kelengkapan", "Deskripsi:", "Fitur:"). */
.nss-desc-h{margin:26px 0 12px;font-size:15px;font-weight:800;color:var(--ink);letter-spacing:.1px}
.nss-desc-h::after{content:"";display:block;width:34px;height:2px;margin-top:7px;border-radius:2px;background:var(--red-line)}
.nss-desc-body>.nss-desc-h:first-child{margin-top:0}
/* Bullet lines ("– 1 Unit OLT EPON"). */
.nss-desc-list{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:8px}
.nss-desc-list li{position:relative;padding-left:24px;line-height:1.7}
.nss-desc-list li::before{content:"";position:absolute;left:4px;top:.63em;width:7px;height:7px;border-radius:50%;background:var(--red-soft);box-shadow:inset 0 0 0 2px var(--red)}
/* "Label : Value" pairs → a spec table. */
.nss-desc-specs{margin:0 0 16px;border:1px solid var(--line);border-radius:var(--rad-sm);overflow:hidden}
.nss-desc-spec{display:grid;grid-template-columns:minmax(150px,34%) 1fr;gap:0}
.nss-desc-spec+.nss-desc-spec{border-top:1px solid var(--line)}
.nss-desc-spec:nth-child(odd){background:var(--bg)}
.nss-desc-k{padding:10px 14px;font-size:13px;font-weight:600;color:var(--mut);line-height:1.6;border-right:1px solid var(--line)}
.nss-desc-v{padding:10px 14px;font-size:13.5px;color:var(--ink);line-height:1.6;min-width:0;overflow-wrap:anywhere}
.nss-desc-body img{max-width:100%;height:auto;border-radius:var(--rad-sm)}
/* Additional-information tab — same visual language as the spec rows above. */
.woocommerce div.product .woocommerce-tabs table.shop_attributes{margin:0;border:1px solid var(--line);border-radius:var(--rad-sm);border-collapse:separate;border-spacing:0;overflow:hidden;max-width:820px}
.woocommerce div.product .woocommerce-tabs table.shop_attributes th,.woocommerce div.product .woocommerce-tabs table.shop_attributes td{padding:10px 14px;border:0;border-bottom:1px solid var(--line);font-style:normal;line-height:1.6}
.woocommerce div.product .woocommerce-tabs table.shop_attributes tr:last-child th,.woocommerce div.product .woocommerce-tabs table.shop_attributes tr:last-child td{border-bottom:0}
.woocommerce div.product .woocommerce-tabs table.shop_attributes th{width:34%;font-size:13px;font-weight:600;color:var(--mut);background:var(--bg);border-right:1px solid var(--line);text-transform:lowercase}
.woocommerce div.product .woocommerce-tabs table.shop_attributes th::first-letter{text-transform:uppercase}
.woocommerce div.product .woocommerce-tabs table.shop_attributes td{font-size:13.5px;color:var(--ink)}
.woocommerce div.product .woocommerce-tabs table.shop_attributes td p{margin:0;padding:0}

/* Reviews tab.
   WooCommerce ships this one with no styling at all — raw browser inputs, a
   grey submit and a bare "Belum ada ulasan." line. Structure comes from the
   override woocommerce/single-product-reviews.php. */
.nss-rev{max-width:820px}
.woocommerce #reviews h2.nss-rev-title{display:flex;align-items:center;gap:10px;margin:0 0 16px;font-size:18px;font-weight:800;color:var(--ink)}
.nss-rev-title::before{content:"";width:4px;height:19px;border-radius:3px;background:var(--red)}
/* --- summary panel --- */
.nss-rev-sum{display:grid;grid-template-columns:186px 1fr;align-items:center;gap:22px;padding:18px 20px;margin:0 0 20px;border:1px solid var(--red-line);border-radius:var(--rad-sm);background:linear-gradient(180deg,#fff6f5,#fff)}
.nss-rev-score{text-align:center;border-right:1px solid var(--red-line);padding-right:22px}
.nss-rev-avg{display:flex;align-items:baseline;justify-content:center;gap:4px;line-height:1}
.nss-rev-avg b{font-size:38px;font-weight:800;color:var(--red)}
.nss-rev-avg span{font-size:14px;font-weight:600;color:var(--mut)}
/* nss_stars() draws two full 5-star rows and clips the filled one to `--r`.
   Both rows must lay out identically or the clip lands mid-star, hence the
   shared flex/gap and `flex:0 0 auto` (the overlay is narrower than its own
   content, so without it the flex items would shrink instead of being cut). */
.nss-stars{position:relative;display:inline-block;line-height:0;vertical-align:middle}
.nss-stars-bg,.nss-stars-fg{display:flex;gap:2px}
.nss-stars-fg{position:absolute;top:0;left:0;height:100%;width:var(--r,0%);overflow:hidden}
.nss-stars svg{flex:0 0 auto}
.nss-stars .star-u{color:#e2e5ea}
.nss-stars .star-f{color:var(--star)}
.nss-rev-score .nss-stars{margin:9px 0 6px}
.nss-rev-score .nss-stars svg{width:17px;height:17px}
.nss-rev-total{font-size:12.5px;color:var(--mut)}
.nss-rev-bars{display:grid;gap:7px;min-width:0}
.nss-rev-bar-row{display:grid;grid-template-columns:44px 1fr 34px;align-items:center;gap:10px}
.nss-rev-bar-k{display:inline-flex;align-items:center;gap:3px;font-size:12.5px;font-weight:600;color:var(--sub)}
.nss-rev-bar-k .star-f{color:var(--star)}
.nss-rev-bar{display:block;height:8px;border-radius:5px;background:#fff;box-shadow:inset 0 0 0 1px var(--red-line);overflow:hidden}
.nss-rev-bar i{display:block;height:100%;border-radius:5px;background:var(--star)}
.nss-rev-bar-n{font-size:12.5px;color:var(--mut);text-align:right;font-variant-numeric:tabular-nums}
/* --- empty state --- */
.woocommerce #reviews .nss-rev-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:34px 20px;margin:0 0 20px;border:1px dashed var(--line2);border-radius:var(--rad-sm);background:var(--bg);color:var(--sub)}
.nss-rev-empty-ic{display:grid;place-items:center;width:62px;height:62px;margin-bottom:8px;border-radius:50%;background:#fff;color:var(--star);box-shadow:inset 0 0 0 1px var(--line2)}
.nss-rev-empty b{font-size:15px;color:var(--ink)}
.nss-rev-empty p{margin:0;max-width:380px;font-size:13px;line-height:1.6}
.nss-rev-empty-cta{display:inline-flex;align-items:center;height:38px;margin-top:12px;padding:0 20px;border-radius:9px;background:var(--red);color:#fff;font-size:13.5px;font-weight:700;transition:.15s}
.nss-rev-empty-cta:hover{background:var(--red-d);color:#fff}
/* --- review list ---
   Every selector here carries `#comments` on purpose: core's own rules are
   `.woocommerce #reviews #comments ol.commentlist li …` (two IDs), and without
   it nothing below wins. In particular core sets `img.avatar{position:absolute}`
   — an absolutely positioned child is NOT a grid item, so the avatar dropped out
   of the two-column grid and the review text was squeezed into the 44px track. */
.woocommerce #reviews #comments ol.commentlist{margin:0 0 24px;padding:0;list-style:none;display:grid;gap:0}
.woocommerce #reviews #comments ol.commentlist::before,.woocommerce #reviews #comments ol.commentlist::after{content:none;display:none}
.woocommerce #reviews #comments ol.commentlist li{margin:0;padding:0;border:0;background:none;position:relative}
.woocommerce #reviews #comments ol.commentlist li+li{border-top:1px solid var(--line)}
.woocommerce #reviews #comments ol.commentlist li .comment_container{display:grid;grid-template-columns:44px 1fr;gap:14px;padding:16px 0;background:none;border:0}
.woocommerce #reviews #comments ol.commentlist li img.avatar{position:static;float:none;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:var(--bg);box-shadow:none}
.woocommerce #reviews #comments ol.commentlist li .comment-text{margin:0;padding:0;border:0;border-radius:0;min-width:0}
.woocommerce #reviews #comments ol.commentlist li .comment-text::before,.woocommerce #reviews #comments ol.commentlist li .comment-text::after{content:none;display:none}
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0 0 6px;font-size:13.5px;color:var(--mut)}
.woocommerce #reviews #comments .comment-text .woocommerce-review__author{font-size:14px;font-weight:700;color:var(--ink)}
.woocommerce #reviews #comments .comment-text .woocommerce-review__verified{display:inline-flex;align-items:center;font-style:normal;font-size:11px;font-weight:700;color:var(--ok);background:var(--ok-soft);border-radius:5px;padding:2px 7px}
.woocommerce #reviews #comments .comment-text .woocommerce-review__dash{display:none}
.woocommerce #reviews #comments .comment-text .woocommerce-review__published-date{font-size:12.5px;color:var(--mut)}
.woocommerce #reviews #comments .comment-text .woocommerce-review__awaiting-approval{font-size:12.5px;color:var(--mut)}
.woocommerce #reviews #comments .comment-text .description{font-size:14px;line-height:1.75;color:var(--sub)}
.woocommerce #reviews #comments .comment-text .description p{margin:0 0 .7em}
.woocommerce #reviews #comments .comment-text .description p:last-child{margin-bottom:0}
/* Core's star row is the `star` icon font inside a fixed 5.4em box whose inner
   span is width-%'d — never add letter-spacing here, it desyncs the fill from
   the track and a 5-star review renders as 4½. Size and colour only. */
.woocommerce #reviews #comments .comment-text .star-rating{float:none;margin:0 0 5px;font-size:14px;color:var(--star)}
/* --- form --- */
.nss-rev-formcard{padding:20px;border:1px solid var(--line2);border-radius:var(--rad-sm);background:var(--bg)}
.woocommerce #reviews #respond{margin:0;padding:0;border:0}
.woocommerce #reviews .comment-reply-title{display:block;margin:0 0 14px;font-size:16px;font-weight:800;color:var(--ink)}
.woocommerce #reviews .comment-reply-title small{font-weight:500}
.woocommerce #reviews #review_form .comment-form{display:grid;gap:14px}
.woocommerce #reviews #review_form .comment-form p{margin:0}
.woocommerce #reviews .comment-form label{display:block;margin-bottom:6px;font-size:13px;font-weight:600;color:var(--ink)}
.woocommerce #reviews .comment-form .required{color:var(--red);border:0}
.woocommerce #reviews .comment-form input[type=text],.woocommerce #reviews .comment-form input[type=email],.woocommerce #reviews .comment-form textarea{width:100%;max-width:100%;padding:11px 13px;border:1px solid var(--line2);border-radius:9px;background:#fff;font:inherit;font-size:14px;color:var(--ink);box-shadow:none}
.woocommerce #reviews .comment-form textarea{min-height:112px;line-height:1.6;resize:vertical}
.woocommerce #reviews .comment-form input[type=text]:focus,.woocommerce #reviews .comment-form input[type=email]:focus,.woocommerce #reviews .comment-form textarea:focus{border-color:var(--blue);outline:none;box-shadow:0 0 0 3px rgba(52,111,254,.14)}
.woocommerce #reviews .comment-form textarea::placeholder{color:var(--mut)}
/* Name + email share a row on desktop */
.woocommerce #reviews #review_form .comment-form .comment-form-author{grid-column:1;grid-row:auto}
@media (min-width:681px){
  .woocommerce #reviews #review_form .comment-form{grid-template-columns:1fr 1fr}
  .woocommerce #reviews #review_form .comment-form>*{grid-column:1 / -1}
  .woocommerce #reviews #review_form .comment-form .comment-form-author{grid-column:1}
  .woocommerce #reviews #review_form .comment-form .comment-form-email{grid-column:2}
}
/* Star picker. WooCommerce's single-product.js hides #rating and injects
   p.stars > a.star-1..star-5, drawn from the WooCommerce icon font. */
.woocommerce #reviews .comment-form-rating{margin:0}
.woocommerce #reviews p.stars{margin:0;line-height:1}
.woocommerce #reviews p.stars a{width:1.15em;height:1.15em;margin-right:5px;font-size:24px;color:var(--star)}
.woocommerce #reviews p.stars a::before{width:1.15em;height:1.15em}
.woocommerce #reviews p.stars a:hover,.woocommerce #reviews p.stars a.active{color:var(--star)}
.woocommerce #reviews .comment-form-cookies-consent{display:flex;align-items:flex-start;gap:9px;font-size:12.5px;color:var(--mut)}
.woocommerce #reviews .comment-form-cookies-consent input{flex:0 0 auto;width:16px;height:16px;margin:1px 0 0;accent-color:var(--red)}
.woocommerce #reviews .comment-form-cookies-consent label{margin:0;font-size:12.5px;font-weight:500;color:var(--mut);line-height:1.5}
.woocommerce #reviews .comment-notes,.woocommerce #reviews .must-log-in{margin:0;font-size:12.5px;color:var(--mut)}
.woocommerce #reviews .comment-form .form-submit{margin:0}
.woocommerce #reviews .comment-form input#submit{height:44px;padding:0 26px;border:0;border-radius:9px;background:var(--red);color:#fff;font-size:14px;font-weight:700;cursor:pointer;transition:.15s}
.woocommerce #reviews .comment-form input#submit:hover{background:var(--red-d)}
.nss-rev-locked{display:flex;align-items:center;gap:9px;padding:14px 16px;border:1px solid var(--line2);border-radius:var(--rad-sm);background:var(--bg);font-size:13px;color:var(--sub)}
.nss-rev-locked .nss-ic{flex:0 0 auto;color:var(--blue)}

/* Related.
   The wrapper WooCommerce prints is <section class="related products"> — the .products
   grid rule (PRODUCT GRID above) would turn that section into a 5-column grid, putting
   the heading in column 1 and squeezing the whole loop into column 2 (~30px cards).
   Only the inner <ul> is ever the grid. */
.related.products,.up-sells.products{display:block}
.woocommerce div.product .related,.woocommerce div.product .upsells{grid-column:1 / -1;margin:0;padding:20px 22px 22px}
.woocommerce div.product .related>h2,.woocommerce div.product .upsells>h2{font-size:19px;font-weight:800;border-left:4px solid var(--red);padding-left:12px;line-height:1.1;margin-bottom:14px}
.woocommerce .related ul.products,.woocommerce .upsells ul.products{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;float:none;width:auto}
.woocommerce .related ul.products li,.woocommerce .upsells ul.products li{width:auto;margin:0;float:none}

/* =========================================================================
   CART (style default WooCommerce cart markup into cards)
   ========================================================================= */
.nss-page-flow{padding-top:6px}
.woocommerce-cart .woocommerce{display:grid;grid-template-columns:1fr 340px;gap:18px;align-items:start}
.woocommerce-cart form.woocommerce-cart-form{grid-column:1;background:#fff;border:1px solid var(--line2);border-radius:var(--rad);padding:6px 16px 16px;margin:0}
.woocommerce-cart .cart-collaterals{grid-column:2;width:auto!important;float:none}
.woocommerce-cart table.shop_table{border:0;margin:0}
.woocommerce-cart table.cart thead{display:none}
.woocommerce-cart table.cart tr.cart_item{display:grid;grid-template-columns:84px 1fr auto;grid-template-areas:"thumb name remove" "thumb price qty" "thumb subtotal qty";gap:4px 14px;padding:16px 0;border-bottom:1px solid var(--line);align-items:center}
.woocommerce-cart table.cart td{border:0;padding:0}
.woocommerce-cart td.product-remove{grid-area:remove;justify-self:end}
.woocommerce-cart td.product-remove a{color:var(--mut);font-size:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%}
.woocommerce-cart td.product-remove a::before{content:"";width:18px;height:18px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b9099' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='3 6 21 6'/%3E%3Cpath d='M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/%3E%3Cpath d='M10 11v6M14 11v6M9 6V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2'/%3E%3C/svg%3E") center/contain no-repeat}
.woocommerce-cart td.product-remove a:hover{background:var(--red-soft)}
.woocommerce-cart td.product-thumbnail{grid-area:thumb}
.woocommerce-cart td.product-thumbnail img{width:84px;height:84px;border-radius:var(--rad-sm);border:1px solid var(--line);object-fit:cover}
.woocommerce-cart td.product-name{grid-area:name;font-size:14px;font-weight:500}
.woocommerce-cart td.product-name a{color:var(--ink)}
.woocommerce-cart td.product-name a:hover{color:var(--red)}
.woocommerce-cart td.product-price{grid-area:price;color:var(--sub);font-size:13px}
.woocommerce-cart td.product-price::before{content:"Harga: ";color:var(--mut)}
.woocommerce-cart td.product-subtotal{grid-area:subtotal;color:var(--red);font-weight:800;font-size:15px}
.woocommerce-cart td.product-quantity{grid-area:qty;justify-self:end}
.woocommerce-cart .product-quantity .quantity{display:flex}
.woocommerce-cart .product-quantity .qty{width:48px;height:38px;text-align:center;border:1px solid var(--line2);border-left:0;border-right:0;font-weight:600}
.woocommerce-cart .product-quantity .nss-qty-btn{height:38px;width:34px}
.woocommerce-cart .actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding-top:16px}
.woocommerce-cart .actions .coupon{display:flex;gap:8px;order:1}
.woocommerce-cart .actions .coupon input{height:42px;border:1px solid var(--line2);border-radius:8px;padding:0 14px;width:170px}
.woocommerce-cart .actions .coupon .button{height:42px;border-radius:8px;background:#fff;border:1.5px solid var(--blue);color:var(--blue);padding:0 18px;font-weight:600}
.woocommerce-cart .actions .coupon .button:hover{background:var(--blue);color:#fff}
.woocommerce-cart .actions>.button[name="update_cart"]{order:2;height:42px;border-radius:8px;background:#fff;border:1px solid var(--line2);color:var(--sub);padding:0 18px;font-weight:600}
.woocommerce-cart .cart_totals{background:#fff;border:1px solid var(--line2);border-radius:var(--rad);padding:18px 18px 20px;position:sticky;top:140px}
.woocommerce-cart .cart_totals h2{font-size:16px;font-weight:800;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.woocommerce-cart .cart_totals table{border:0;margin:0}
.woocommerce-cart .cart_totals table th{font-weight:500;color:var(--sub);padding:8px 0;border:0;font-size:13px;text-align:left}
.woocommerce-cart .cart_totals table td{padding:8px 0;border:0;text-align:right;font-weight:600}
.woocommerce-cart .cart_totals tr.order-total th{font-size:15px;color:var(--ink);font-weight:800}
.woocommerce-cart .cart_totals tr.order-total td{color:var(--red);font-size:20px;font-weight:800}
.woocommerce-cart .cart_totals .wc-proceed-to-checkout{padding:14px 0 0}
.woocommerce-cart .cart_totals .checkout-button{background:var(--red)!important;color:#fff!important;border-radius:8px!important;height:50px;display:flex!important;align-items:center;justify-content:center;font-size:16px!important;font-weight:800!important}
.woocommerce-cart .cart_totals .checkout-button:hover{background:var(--red-d)!important}
.cart-empty.woocommerce-info{margin-bottom:14px}
.wc-empty-cart-message,.cart-empty{text-align:center}

/* =========================================================================
   CHECKOUT
   ========================================================================= */
/* The billing column is far taller than the summary, so it needs a track of its own:
   left it alone in row 1 it stretched that row and pushed #order_review ~1000px below
   its heading. Spanning it down a trailing 1fr row keeps head+review flush at the top.
   Row gap stays 0 — the heading is the top half of the summary card (border-bottom:0). */
.woocommerce-checkout .woocommerce>form.checkout{display:grid;grid-template-columns:1fr 380px;grid-template-areas:"details head" "details review" "details tail";grid-template-rows:min-content min-content 1fr;column-gap:18px;row-gap:0;align-items:start}
.woocommerce-checkout #customer_details{grid-area:details}
.woocommerce-checkout #order_review_heading{grid-area:head;margin:0 0 0;font-size:16px;font-weight:800;background:#fff;border:1px solid var(--line2);border-bottom:0;border-radius:var(--rad) var(--rad) 0 0;padding:16px 18px 0}
.woocommerce-checkout #order_review{grid-area:review}
.woocommerce-checkout #customer_details .col-1,.woocommerce-checkout #customer_details .col-2{float:none;width:auto;max-width:none}
.woocommerce-checkout #customer_details>.col2-set{display:flex;flex-direction:column;gap:16px}
.woocommerce form .form-row{padding:0;margin:0 0 12px}
.woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-additional-fields{background:#fff;border:1px solid var(--line2);border-radius:var(--rad);padding:18px 20px}
.woocommerce-billing-fields>h3,.woocommerce-shipping-fields>h3,.woocommerce-additional-fields>h3,#order_review_heading{position:relative}
.woocommerce-billing-fields h3,.woocommerce-additional-fields h3,.woocommerce-shipping-fields h3{font-size:16px;font-weight:800;margin:0 0 14px;display:flex;align-items:center;gap:8px}
.woocommerce form .form-row label{font-size:13px;font-weight:600;color:var(--ink);margin-bottom:5px;display:block}
.woocommerce form .form-row .required{color:var(--red);border:0}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.select2-container .select2-selection--single{border:1px solid var(--line2);border-radius:8px;padding:11px 13px;font-size:14px;width:100%;background:#fff;color:var(--ink);min-height:44px;line-height:1.3}
.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row textarea:focus,.woocommerce form .form-row select:focus{border-color:var(--blue);outline:0;box-shadow:0 0 0 3px rgba(52,111,254,.12)}
.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:42px;padding:0 6px}
.select2-container--default .select2-selection--single .select2-selection__arrow{height:42px}
.woocommerce-checkout #order_review{background:#fff;border:1px solid var(--line2);border-top:0;border-radius:0 0 var(--rad) var(--rad);padding:0 18px 18px}
.woocommerce-checkout #order_review .shop_table{border:0;margin:0}
.woocommerce-checkout #order_review .shop_table thead th{border:0;border-bottom:1px solid var(--line);padding:12px 0;font-size:12px;color:var(--mut);text-transform:uppercase;letter-spacing:.4px}
.woocommerce-checkout #order_review .cart_item td{border:0;border-bottom:1px solid var(--line);padding:12px 0;font-size:13.5px;vertical-align:top}
.woocommerce-checkout #order_review .product-name{color:var(--ink);font-weight:500}
.woocommerce-checkout #order_review .product-total{text-align:right;font-weight:700;white-space:nowrap}
.woocommerce-checkout #order_review .cart-subtotal th,.woocommerce-checkout #order_review .order-total th{text-align:left;font-weight:600;padding:10px 0;border:0}
.woocommerce-checkout #order_review .cart-subtotal td,.woocommerce-checkout #order_review .order-total td{text-align:right;padding:10px 0;border:0;font-weight:700}
.woocommerce-checkout #order_review .order-total th{font-size:15px;font-weight:800}
.woocommerce-checkout #order_review .order-total td{color:var(--red);font-size:20px;font-weight:800}
#payment{background:#fafbfc!important;border-radius:var(--rad-sm);margin-top:8px}
#payment ul.payment_methods{border:0!important;padding:6px 4px!important}
#payment ul.payment_methods li{margin:0;padding:8px 4px}
#payment ul.payment_methods li input{margin-right:8px}
#payment ul.payment_methods li label{font-weight:600;font-size:14px;display:inline-flex;align-items:center;gap:8px}
#payment div.payment_box{background:#fff!important;border:1px solid var(--line);border-radius:8px;font-size:13px;color:var(--sub);margin-top:8px}
#payment div.payment_box::before{display:none}
#payment .place-order{padding:8px 4px 4px}
.woocommerce #payment #place_order,.woocommerce-checkout #place_order{background:var(--red)!important;color:#fff!important;width:100%;height:52px;border-radius:9px!important;font-size:16px!important;font-weight:800!important;text-transform:none;margin-top:8px}
.woocommerce #payment #place_order:hover{background:var(--red-d)!important}
.woocommerce-form__label-for-checkbox{font-weight:500!important;font-size:12.5px;color:var(--sub)}
.woocommerce-privacy-policy-text{font-size:12px;color:var(--mut)}
/* login/coupon toggles */
.woocommerce-form-login-toggle .woocommerce-info,.woocommerce-form-coupon-toggle .woocommerce-info{background:var(--blue-soft);color:var(--blue-dd)}

/* =========================================================================
   STEPS INDICATOR
   ========================================================================= */
.nss-steps{display:flex;align-items:center;justify-content:center;gap:0;margin:14px auto 18px;max-width:560px;padding:0}
.nss-steps li{display:flex;align-items:center;gap:8px;color:var(--mut);font-size:13px;font-weight:600;justify-content:center;white-space:nowrap}
.nss-steps li:not(:last-child){flex:1}
.nss-steps li span{width:30px;height:30px;border-radius:50%;background:#e9eaed;color:var(--mut);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:13px;flex:none}
.nss-steps li:not(:last-child)::after{content:"";flex:1;height:2px;min-width:16px;margin:0 4px;background:#e9eaed}
.nss-steps li.done span,.nss-steps li.active span{background:var(--red);color:#fff}
.nss-steps li.done,.nss-steps li.active{color:var(--ink)}
.nss-steps li.done:not(:last-child)::after{background:var(--red)}

/* =========================================================================
   THANK YOU / ORDER SUMMARY
   ========================================================================= */
.nss-thankyou{max-width:760px;margin:0 auto}
.nss-ty-hero{background:#fff;border:1px solid var(--line2);border-radius:var(--rad);padding:34px 24px;text-align:center;margin-bottom:16px}
.nss-ty-check{width:74px;height:74px;border-radius:50%;background:var(--ok-soft);color:var(--ok);display:flex;align-items:center;justify-content:center;margin:0 auto 16px}
.nss-ty-check.fail{background:var(--red-soft);color:var(--red)}
.nss-ty-hero h1{font-size:24px;font-weight:800;margin-bottom:8px}
.nss-ty-hero p{color:var(--sub);font-size:14px;max-width:460px;margin:0 auto}
.nss-ty-summary{background:#fff;border:1px solid var(--line2);border-radius:var(--rad);padding:8px 20px;margin-bottom:16px;display:grid;grid-template-columns:1fr 1fr;gap:0}
.nss-ty-summary li{display:flex;flex-direction:column;gap:3px;padding:14px 0;border-bottom:1px solid var(--line)}
.nss-ty-summary li:nth-child(odd){border-right:1px solid var(--line);padding-right:20px}
.nss-ty-summary li:nth-child(even){padding-left:20px}
.nss-ty-summary li:nth-last-child(-n+2){border-bottom:0}
.nss-ty-summary li span{font-size:12px;color:var(--mut)}
.nss-ty-summary li b{font-size:15px;color:var(--ink)}
.nss-ty-summary li b.nss-ty-total{color:var(--red);font-size:18px;font-weight:800}
.nss-ty-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-bottom:24px}
.woocommerce-order .woocommerce-order-details,.woocommerce-order .woocommerce-customer-details{background:#fff;border:1px solid var(--line2);border-radius:var(--rad);padding:20px 22px;margin-bottom:16px}
.woocommerce-order .woocommerce-order-details__title,.woocommerce-order .woocommerce-column__title{font-size:16px;font-weight:800;margin-bottom:12px}
.woocommerce-order table.shop_table{border:1px solid var(--line);border-radius:8px}
.woocommerce-order table.shop_table th,.woocommerce-order table.shop_table td{border-top:1px solid var(--line);padding:11px 14px;font-size:13.5px}
.woocommerce-order table.shop_table tfoot th{font-weight:700}
.woocommerce-order table.order_details .product-total,.woocommerce-order table tfoot td{text-align:right}

/* =========================================================================
   MY ACCOUNT
   ========================================================================= */
/* Dashboard grid is for the LOGGED-IN account only — the logged-out page holds a
   single .nss-auth child, which a 240px sidebar track would squash. */
.woocommerce-account.logged-in .woocommerce{display:grid;grid-template-columns:258px 1fr;gap:18px;align-items:start}
.woocommerce-account.logged-in .woocommerce>*{min-width:0} /* grid items default to min-width:auto */
/* WooCommerce's clearfix ::before/::after become grid items in their own right
   and push the sidebar into column 2 — same trap as the product loop, see
   .products::before above. Cart/checkout escape it by naming grid areas. */
.woocommerce-account.logged-in .woocommerce::before,.woocommerce-account.logged-in .woocommerce::after{content:none;display:none}
.woocommerce-account .woocommerce-MyAccount-navigation{float:none;width:auto}
.woocommerce-account .woocommerce-MyAccount-content{background:#fff;border:1px solid var(--line2);border-radius:var(--rad);padding:22px;float:none;width:auto}
.woocommerce-account .woocommerce-MyAccount-content .button,.woocommerce-account .button{background:var(--red);color:#fff;border-radius:8px;padding:11px 20px;font-weight:700;border:0}
.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{float:none;width:auto}

/* ---- Sidebar: customer card + icon menu + help ------------------------- */
.nss-acc-card{display:flex;align-items:center;gap:12px;background:linear-gradient(150deg,#4a82ff,#1346c4 82%);color:#fff;border-radius:var(--rad);padding:16px 15px;margin-bottom:12px;box-shadow:var(--sh-md)}
.nss-acc-avatar{flex:0 0 auto;width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.2);border:1.5px solid rgba(255,255,255,.45);display:grid;place-items:center;font-size:16px;font-weight:800;letter-spacing:.5px}
.nss-acc-id{min-width:0}
.nss-acc-id b{display:block;font-size:14px;font-weight:700;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nss-acc-id span{display:block;font-size:11.5px;opacity:.85;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nss-acc-id em{display:inline-flex;align-items:center;gap:4px;font-style:normal;font-size:11px;opacity:.8;margin-top:3px}

.nss-acc-menu{background:#fff;border:1px solid var(--line2);border-radius:var(--rad);overflow:hidden}
.nss-acc-menu li+li{border-top:1px solid var(--line)}
.nss-acc-menu li a{position:relative;display:flex;align-items:center;gap:10px;padding:12px 15px;color:var(--sub);font-weight:600;font-size:13.5px;transition:background .18s,color .18s,padding-left .18s}
.nss-acc-menu li a .nss-ic{color:var(--mut);transition:color .18s,transform .18s}
.nss-acc-menu li a:hover{background:var(--blue-soft);color:var(--blue);padding-left:19px}
.nss-acc-menu li a:hover .nss-ic{color:var(--blue)}
/* active marker rides the left edge; the strip is horizontal ≤900px, so it
   flips to a bottom underline down there instead (see the media query) */
.nss-acc-menu li.is-active a{background:var(--blue-soft);color:var(--blue);font-weight:700}
.nss-acc-menu li.is-active a .nss-ic{color:var(--blue)}
.nss-acc-menu li.is-active a::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--blue)}
.nss-acc-menu li.woocommerce-MyAccount-navigation-link--customer-logout a{color:var(--red)}
.nss-acc-menu li.woocommerce-MyAccount-navigation-link--customer-logout a:hover{background:var(--red-soft);color:var(--red)}
.nss-acc-menu li.woocommerce-MyAccount-navigation-link--customer-logout a:hover .nss-ic{color:var(--red)}

.nss-acc-help{display:flex;align-items:center;gap:11px;background:#fff;border:1px dashed var(--line2);border-radius:var(--rad);padding:13px 15px;margin-top:12px;color:var(--sub);transition:border-color .2s,box-shadow .2s,transform .2s}
.nss-acc-help:hover{border-color:var(--ok);box-shadow:var(--sh);transform:translateY(-2px);color:var(--sub)}
.nss-acc-help .nss-ic{color:var(--ok);flex:0 0 auto}
.nss-acc-help span{display:block;font-size:12px;line-height:1.4}
.nss-acc-help b{display:block;font-size:13px;color:var(--ink)}

/* ---- Dashboard --------------------------------------------------------- */
.nss-dash-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:linear-gradient(120deg,#3f78ff,#1f5fe6 60%,#1346c4);color:#fff;border-radius:var(--rad);padding:22px 24px;margin-bottom:16px}
.nss-dash-hero::after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.08);right:-70px;top:-110px}
.nss-dash-hello{position:relative;z-index:1;min-width:0}
.woocommerce-account .nss-dash-hello h1{color:#fff;font-size:22px;font-weight:800;margin:0 0 4px}
.nss-dash-hello p{margin:0;font-size:13px;opacity:.9;max-width:34em}
.nss-dash-art{position:absolute;right:-24px;bottom:-34px;width:210px;opacity:.2;z-index:0}
.nss-btn-white{position:relative;z-index:1;display:inline-flex;align-items:center;gap:8px;background:#fff;color:var(--blue);border-radius:10px;padding:11px 18px;font-size:13.5px;font-weight:700;box-shadow:0 5px 14px rgba(10,30,80,.18);transition:transform .18s,box-shadow .18s}
.nss-btn-white:hover{color:var(--blue-dd);transform:translateY(-2px);box-shadow:0 9px 20px rgba(10,30,80,.24)}

.nss-dash-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}
.nss-dash-stats li{display:flex;align-items:center;gap:11px;min-width:0;background:#fff;border:1px solid var(--line2);border-radius:var(--rad);padding:14px;transition:transform .2s,box-shadow .2s,border-color .2s}
.nss-dash-stats li:hover{transform:translateY(-3px);box-shadow:var(--sh-md);border-color:#d8dbe0}
.nss-dash-ic{flex:0 0 auto;width:40px;height:40px;border-radius:11px;display:grid;place-items:center}
.nss-dash-ic.is-blue{background:var(--blue-soft);color:var(--blue)}
.nss-dash-ic.is-amber{background:#fff5e0;color:#c47f04}
.nss-dash-ic.is-green{background:var(--ok-soft);color:var(--ok)}
.nss-dash-ic.is-red{background:var(--red-soft);color:var(--red)}
.nss-dash-stats li div{min-width:0}
/* direct children only — wc_price() nests its own spans in here and a blanket
   `.nss-dash-stats span` rule would stack "Rp" onto its own line */
.nss-dash-stats>li>div>b{display:block;font-size:19px;font-weight:800;line-height:1.2;color:var(--ink)}
.nss-dash-stats>li>div>b.nss-dash-money{font-size:15.5px;color:var(--red);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nss-dash-money .woocommerce-Price-currencySymbol{font-size:.82em;font-weight:700;margin-right:1px}
.nss-dash-stats>li>div>span{display:block;font-size:11.5px;color:var(--mut);font-weight:500}

.nss-dash-panel{background:#fff;border:1px solid var(--line2);border-radius:var(--rad);overflow:hidden;margin-bottom:16px}
.nss-dash-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border-bottom:1px solid var(--line)}
.woocommerce-account .nss-dash-panel-head h2{display:flex;align-items:center;gap:8px;margin:0;font-size:15px;font-weight:700}
.nss-dash-panel-head h2 .nss-ic{color:var(--blue)}
.nss-dash-panel-head a{display:inline-flex;align-items:center;gap:3px;font-size:12.5px;font-weight:700;color:var(--blue);white-space:nowrap}
.nss-dash-panel-head a:hover{text-decoration:underline}
.nss-dash-panel-body{padding:16px}
.nss-dash-panel-body address{font-style:normal;font-size:13.5px;line-height:1.7;color:var(--sub);margin:0}
.nss-dash-muted{color:var(--mut);font-size:13px;margin:0}
.nss-dash-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.nss-dash-cols>*{min-width:0}
.nss-dash-dl{display:grid;grid-template-columns:88px 1fr;gap:7px 12px;margin:0;font-size:13.5px}
.nss-dash-dl dt{color:var(--mut);font-weight:600}
.nss-dash-dl dd{margin:0;color:var(--ink);overflow-wrap:anywhere}
.nss-dash-logout{margin:14px 0 0;padding-top:12px;border-top:1px solid var(--line);font-size:12.5px;color:var(--mut)}
.nss-dash-logout a{font-weight:700;color:var(--red)}
.nss-dash-logout a:hover{text-decoration:underline}

.nss-dash-empty{text-align:center;padding:34px 18px}
.nss-dash-empty .nss-ic{color:#c9cdd4;margin:0 auto 10px}
.nss-dash-empty b{display:block;font-size:15px;margin-bottom:4px}
.nss-dash-empty p{margin:0 0 16px;color:var(--mut);font-size:13px}

/* ---- Order rows (dashboard + orders endpoint) -------------------------- */
.nss-ord-list li+li{border-top:1px solid var(--line)}
.nss-ord-main{display:flex;align-items:center;gap:12px;padding:12px 16px;transition:background .18s}
.nss-ord-main:hover{background:#fafbfc;color:inherit}
.nss-ord-thumbs{display:flex;flex:0 0 auto}
.nss-ord-thumb{width:42px;height:42px;border-radius:9px;overflow:hidden;border:1px solid var(--line2);background:#fff;flex:0 0 auto}
.nss-ord-thumb+.nss-ord-thumb{margin-left:-11px} /* overlapped stack keeps the row short */
.nss-ord-thumb img{width:100%;height:100%;object-fit:cover}
.nss-ord-thumb.is-more{display:grid;place-items:center;background:var(--bg);color:var(--mut);font-size:11.5px;font-weight:700}
.nss-ord-meta{flex:1 1 auto;min-width:0}
.nss-ord-meta b{display:block;font-size:13.5px;font-weight:700}
.nss-ord-meta time,.nss-ord-meta small{display:block;font-size:11.5px;color:var(--mut)}
.nss-ord-side{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;gap:4px;text-align:right}
.nss-ord-total{font-size:13.5px;font-weight:800;color:var(--red);white-space:nowrap}

.nss-pill{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:700;line-height:1.5;white-space:nowrap}
.nss-pill::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.nss-pill.is-ok{background:var(--ok-soft);color:#158043}
.nss-pill.is-info{background:var(--blue-soft);color:var(--blue-dd)}
.nss-pill.is-warn{background:#fff5e0;color:#a86c04}
.nss-pill.is-bad{background:var(--red-soft);color:var(--red-d)}
.nss-pill.is-mut{background:#f0f1f3;color:var(--sub)}

/* Templates that ship their own .nss-dash-panel chrome don't want the outer
   content card as well — flagged from nss_body_class(). */
.nss-acc-plain .woocommerce-MyAccount-content{background:none;border:0;padding:0;border-radius:0}
/* core's edit-address <h2> is blanked by a filter — see inc/account.php */
.woocommerce-account h2:empty{display:none}
.nss-acc-plain .woocommerce-MyAccount-content>.nss-dash-panel:last-child,
.nss-acc-plain .nss-dash-cols .nss-dash-panel{margin-bottom:0}

/* ---- Orders endpoint --------------------------------------------------- */
.nss-orders-count{font-size:12px;color:var(--mut);font-weight:600}
.nss-ord-acts{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:0 16px 13px;margin-top:-4px}
.woocommerce-account .nss-ord-act{display:inline-flex;align-items:center;background:#fff;border:1px solid var(--line2);color:var(--sub);border-radius:8px;padding:6px 13px;font-size:12px;font-weight:700;transition:border-color .18s,color .18s,background .18s}
.woocommerce-account .nss-ord-act:hover{border-color:var(--blue);color:var(--blue);background:var(--blue-soft)}
/* "Bayar" is the one action worth pushing — core names the class `pay` */
.woocommerce-account .nss-ord-act.pay{background:var(--red);border-color:var(--red);color:#fff}
.woocommerce-account .nss-ord-act.pay:hover{background:var(--red-d);border-color:var(--red-d);color:#fff}
.nss-ord-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.nss-ord-pagebtn{display:inline-flex;align-items:center;gap:5px;background:#fff;border:1px solid var(--line2);border-radius:9px;padding:9px 15px;font-size:13px;font-weight:700;color:var(--sub);transition:border-color .18s,color .18s}
.nss-ord-pagebtn:hover{border-color:var(--blue);color:var(--blue)}
.nss-ord-pageno{font-size:12.5px;color:var(--mut);order:-1;flex:1 1 100%;text-align:center}

/* ---- Addresses endpoint ------------------------------------------------ */
.nss-addr-intro{display:flex;align-items:flex-start;gap:8px;background:var(--blue-soft);border-radius:10px;padding:11px 13px;font-size:12.5px;color:var(--sub);margin:0 0 14px}
.nss-addr-intro .nss-ic{color:var(--blue);flex:0 0 auto;margin-top:1px}
.nss-addr-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.nss-addr-grid>*{min-width:0}
/* core's .col2-set / .title clearfix pseudo-elements count as grid + flex items
   here and shift everything one cell along — same trap as the account sidebar.
   !important because core's own selectors are `.woocommerce .col2-set::before`
   (0,2,1); same pattern as .products::before further up. */
.nss-addr-grid::before,.nss-addr-grid::after,
.nss-addr-head::before,.nss-addr-head::after{content:none!important;display:none!important}
.nss-addr{background:#fff;border:1px solid var(--line2);border-radius:var(--rad);overflow:hidden;transition:border-color .2s,box-shadow .2s}
.nss-addr:hover{border-color:#d8dbe0;box-shadow:var(--sh)}
.nss-addr.is-empty{border-style:dashed}
.nss-addr-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 15px;border-bottom:1px solid var(--line)}
.woocommerce-account .nss-addr-head h2{display:flex;align-items:center;gap:8px;margin:0;font-size:14.5px;font-weight:700}
.nss-addr-head h2 .nss-ic{color:var(--blue)}
.woocommerce-account .nss-addr-edit{display:inline-flex;align-items:center;gap:4px;font-size:12.5px;font-weight:700;color:var(--blue);white-space:nowrap}
.woocommerce-account .nss-addr-edit:hover{text-decoration:underline}
.woocommerce-account .nss-addr address{display:block;font-style:normal;font-size:13.5px;line-height:1.7;color:var(--sub);padding:14px 15px;margin:0}

/* ---- Edit-account form -------------------------------------------------- */
/* the shared .nss-field control is declared with the auth screen — see
   :is(.nss-auth,.nss-accform) further down */
.nss-field-pair{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.nss-field-pair>*{min-width:0}
.woocommerce .nss-accform .nss-field-pair .nss-field{width:auto;float:none}
.nss-field-help{display:block;font-size:11.5px;color:var(--mut);margin-top:5px;line-height:1.5}
.nss-field-note{display:flex;align-items:flex-start;gap:8px;background:var(--blue-soft);border-radius:10px;padding:10px 12px;font-size:12.5px;color:var(--sub);margin:0 0 14px}
.nss-field-note .nss-ic{color:var(--blue);flex:0 0 auto;margin-top:1px}
.nss-accform-pw{border:0;margin:0;padding:0;min-width:0}
.nss-accform-actions{margin:0}
.woocommerce form.nss-accform button.nss-auth-submit{width:auto;min-width:210px}

/* -------------------------------------------------------------------------
   Login / Register screen (woocommerce/myaccount/form-login.php override)
   Split card: blue brand panel + tabbed Masuk/Daftar form.
   ------------------------------------------------------------------------- */
.nss-page-auth{padding-top:24px;padding-bottom:44px}
.nss-auth{display:grid;grid-template-columns:1fr 1fr;background:#fff;border:1px solid var(--line2);border-radius:var(--rad-lg);box-shadow:var(--sh-md);overflow:hidden;max-width:960px;margin:0 auto}
.nss-auth>*{min-width:0} /* grid items default to min-width:auto — see the single-product note */
.nss-auth.is-single{grid-template-columns:1fr;max-width:480px}
.nss-auth.is-single .nss-auth-brand{display:none}

/* --- brand panel --- */
.nss-auth-brand{position:relative;background:linear-gradient(150deg,#4a82ff,#1346c4 78%);color:#fff;padding:38px 34px;display:flex;flex-direction:column;justify-content:center;overflow:hidden}
.nss-auth-brand::after{content:"";position:absolute;width:340px;height:340px;border-radius:50%;background:rgba(255,255,255,.08);right:-130px;top:-120px}
.nss-auth-brand-inner{position:relative;z-index:1}
.nss-auth-logo{margin-bottom:26px}
.nss-auth-brand-h{color:#fff;margin-top:0;font-size:24px;line-height:1.3;font-weight:800;margin-bottom:20px;max-width:15em}
.nss-auth-perks{display:flex;flex-direction:column;gap:11px}
.nss-auth-perks li{display:flex;align-items:flex-start;gap:10px;font-size:13.5px;color:rgba(255,255,255,.92)}
.nss-auth-perks .nss-ic{flex:0 0 auto;margin-top:2px;background:rgba(255,255,255,.18);border-radius:50%;padding:3px;width:22px;height:22px}
.nss-auth-art{position:absolute;right:-42px;bottom:-30px;width:260px;opacity:.22;z-index:0}

/* --- form panel --- */
.nss-auth-panel{padding:30px 34px 26px;display:flex;flex-direction:column}
.nss-auth-tabs{position:relative;display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line2);margin-bottom:22px}
/* <a> so they still work with JS off (?action=register) — hence text-align */
.nss-auth-tab{appearance:none;background:none;border:0;padding:11px 4px 13px;font-size:15px;font-weight:700;text-align:center;color:var(--mut);transition:color .2s}
.nss-auth-tab:hover{color:var(--ink)}
.nss-auth-tab.is-active{color:var(--blue)}
.nss-auth-ink{position:absolute;left:0;bottom:-1px;width:50%;height:3px;border-radius:3px 3px 0 0;background:var(--blue);transition:transform .32s cubic-bezier(.16,1,.3,1)}
.nss-auth-tabs[data-active="register"] .nss-auth-ink{transform:translateX(100%)}
.nss-auth-panes{flex:1 1 auto}
.nss-auth-pane{display:none}
.nss-auth-pane.is-active{display:block}
.nss-auth-title{font-size:21px;font-weight:800;margin-bottom:5px}
.nss-auth-sub{color:var(--sub);font-size:13.5px;margin:0 0 20px}
.nss-auth-back{display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:600;color:var(--sub);margin-bottom:14px}
.nss-auth-back:hover{color:var(--blue)}

/* WooCommerce core draws its own bordered box around form.login / form.register
   (`.woocommerce form.login{border:1px solid #d3ced2;padding:20px}`) — inside our
   card that reads as a stray second frame. */
.woocommerce .nss-auth form.login,.woocommerce .nss-auth form.register,.woocommerce .nss-auth form.lost_reset_password{border:0;padding:0;margin:0;border-radius:0}
.woocommerce .nss-auth .woocommerce-privacy-policy-text p{font-size:12px;color:var(--mut);margin:0 0 16px}

/* Fields. These carry WooCommerce's own form-row classes, so every rule has to
   out-rank `.woocommerce form .form-row input.input-text` (0,3,1) above — hence
   the `.woocommerce` prefix and the element/class qualifiers. */
.woocommerce :is(.nss-auth,.nss-accform) .nss-field{margin:0 0 15px;padding:0}
.woocommerce :is(.nss-auth,.nss-accform) .nss-field>label{display:block;font-size:13px;font-weight:700;color:var(--ink);margin-bottom:6px;line-height:1.4}
:is(.nss-auth,.nss-accform) .nss-field .required{color:var(--red);text-decoration:none;border:0}
.nss-field-ctl{position:relative;display:block}
.nss-field-ic{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:var(--mut);pointer-events:none;transition:color .2s;z-index:1}
.woocommerce :is(.nss-auth,.nss-accform) .nss-field-ctl input.input-text{width:100%;height:46px;min-height:46px;padding:0 14px 0 41px;border:1px solid var(--line2);border-radius:10px;background:#fbfbfc;font:inherit;font-size:14px;line-height:44px;color:var(--ink);transition:border-color .2s,box-shadow .2s,background .2s,transform .2s}
.woocommerce :is(.nss-auth,.nss-accform) .nss-field-ctl input.input-text::placeholder{color:#b3b8c0}
.woocommerce :is(.nss-auth,.nss-accform) .nss-field-ctl input.input-text:focus{outline:none;background:#fff;border-color:var(--blue);box-shadow:0 0 0 4px rgba(52,111,254,.13)}
/* keyed off the wrapper, not [type=password] — the reveal button flips the input
   to type=text, which would otherwise snap the padding back mid-interaction */
.woocommerce :is(.nss-auth,.nss-accform) .nss-field-ctl.has-eye input.input-text{padding-right:46px}
.nss-field-ctl:focus-within .nss-field-ic{color:var(--blue)}
/* Password reveal: WooCommerce's own JS wraps every password field in
   span.password-input and injects button.show-password-input — a custom toggle
   would just sit on top of it, so restyle theirs (core ships a black icon). */
.woocommerce :is(.nss-auth,.nss-accform) .password-input{width:100%}
.woocommerce :is(.nss-auth,.nss-accform) .show-password-input{right:13px;opacity:.55}
.woocommerce :is(.nss-auth,.nss-accform) .show-password-input:hover{opacity:1}
.woocommerce :is(.nss-auth,.nss-accform) .show-password-input::before{width:19px;height:19px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c5f66' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.8-6 10-6 10 6 10 6-3.8 6-10 6-10-6-10-6z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")}
.woocommerce :is(.nss-auth,.nss-accform) .show-password-input.display-password::before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23346FFE' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.6 6.2A9.9 9.9 0 0 1 12 6c6.2 0 10 6 10 6a18.4 18.4 0 0 1-3.2 3.7M6.2 8.3A18.5 18.5 0 0 0 2 12s3.8 6 10 6a9.7 9.7 0 0 0 4-.8'/%3E%3Cpath d='M9.9 9.9a3 3 0 0 0 4.2 4.2'/%3E%3Cline x1='3' y1='3' x2='21' y2='21'/%3E%3C/svg%3E")}

.nss-auth-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:2px 0 18px}
/* `.woocommerce form .form-row label{display:block}` would stack the checkbox */
.woocommerce :is(.nss-auth,.nss-accform) label.nss-check{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:500;color:var(--sub);cursor:pointer;margin:0}
.nss-check input{width:17px;height:17px;min-height:0;accent-color:var(--blue);margin:0;cursor:pointer;flex:0 0 auto}
.nss-auth-lost{font-size:13px;font-weight:600;color:var(--blue)}
.nss-auth-lost:hover{text-decoration:underline}

/* Submit. Has to beat BOTH the red `.woocommerce-account .button` above and
   WooCommerce core's grey `.woocommerce button.button` (0,2,1). */
.woocommerce :is(.nss-auth,.nss-accform) button.nss-auth-submit{position:relative;overflow:hidden;width:100%;height:48px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(180deg,var(--blue),var(--blue-d));color:#fff;border:0;border-radius:10px;font-size:15px;font-weight:700;line-height:1;padding:0 18px;box-shadow:0 6px 16px rgba(52,111,254,.28);transition:transform .18s,box-shadow .18s,filter .18s;text-shadow:none}
.woocommerce :is(.nss-auth,.nss-accform) button.nss-auth-submit:hover{background:linear-gradient(180deg,var(--blue),var(--blue-d));color:#fff;transform:translateY(-2px);box-shadow:0 10px 22px rgba(52,111,254,.36);filter:brightness(1.04)}
.woocommerce :is(.nss-auth,.nss-accform) button.nss-auth-submit:active{transform:translateY(0)}
.nss-auth-submit .nss-ic{transition:transform .22s}
.nss-auth-submit:hover .nss-ic{transform:translateX(4px)}

.nss-auth-note{display:flex;align-items:flex-start;gap:8px;background:var(--blue-soft);border-radius:10px;padding:11px 13px;font-size:12.5px;color:var(--sub);margin:0 0 18px}
.nss-auth-note .nss-ic{color:var(--blue);flex:0 0 auto;margin-top:1px}
.nss-auth-switch{text-align:center;font-size:13.5px;color:var(--sub);margin:18px 0 0}
.nss-auth-switch a{padding:0 2px;font-weight:700;color:var(--blue)}
.nss-auth-switch a:hover{text-decoration:underline}
.nss-auth-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:22px;padding-top:14px;font-size:12.5px;color:var(--mut)}
.nss-auth-foot span,.nss-auth-foot a{display:inline-flex;align-items:center;gap:6px}
.nss-auth-foot a:hover{color:var(--blue)}
.nss-auth-foot .nss-ic{color:var(--mut)}

/* WooCommerce notices sit inside the panel — keep them inside the card width */
.nss-auth-panel .woocommerce-error,.nss-auth-panel .woocommerce-message,.nss-auth-panel .woocommerce-info{margin-bottom:18px}

/* =========================================================================
   FOOTER
   ========================================================================= */
.nss-footer{background:#fff;border-top:1px solid var(--line2);margin-top:30px}
.nss-footer-trust{border-bottom:1px solid var(--line)}
.nss-footer-trust-row{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding-top:22px;padding-bottom:22px}
.nss-ft-item{display:flex;align-items:center;gap:12px}
.nss-ft-item .nss-ic{color:var(--blue);flex:0 0 auto}
.nss-ft-item b{display:block;font-size:13.5px}
.nss-ft-item span{font-size:12px;color:var(--mut)}
.nss-footer-main{display:grid;grid-template-columns:2fr 1fr 1fr 1.4fr;gap:28px;padding-top:34px;padding-bottom:34px}
.nss-footer-logo{margin-bottom:14px}
.nss-footer-about p{color:var(--sub);font-size:13px;max-width:340px;margin:0 0 16px}
.nss-footer-contact{display:flex;flex-direction:column;gap:9px}
.nss-footer-contact span{display:flex;gap:9px;font-size:12.5px;color:var(--sub);align-items:flex-start}
.nss-footer-contact .nss-ic{color:var(--blue);flex:0 0 auto;margin-top:1px}
.nss-footer-contact a{color:var(--sub)}
.nss-footer-contact a:hover{color:var(--blue)}
.footer-widget-title{font-size:14px;font-weight:700;margin-bottom:14px;color:var(--ink)}
.nss-footer-col ul li{margin-bottom:9px}
.nss-footer-col ul li a{color:var(--sub);font-size:13px}
.nss-footer-col ul li a:hover{color:var(--blue)}
.nss-footer-cta-text{font-size:13px;color:var(--sub);margin-bottom:14px}
.nss-footer-wa{display:inline-flex;align-items:center;gap:8px;background:#1faf53;color:#fff;padding:11px 18px;border-radius:8px;font-weight:600;font-size:13px}
.nss-footer-wa:hover{background:#179247;color:#fff}
.nss-footer-bottom{border-top:1px solid var(--line);background:#fafbfc}
.nss-footer-bottom-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:16px;padding-bottom:16px;font-size:12.5px;color:var(--mut);flex-wrap:wrap}
.nss-footer-pay b{color:var(--sub);font-weight:600}

/* Floating WA */
.nss-fab-wa{position:fixed;right:18px;bottom:20px;z-index:250;width:54px;height:54px;border-radius:50%;background:#1faf53;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(31,175,83,.45);transition:.16s}
.nss-fab-wa:hover{transform:scale(1.06);color:#fff;background:#179247}

/* Bottom nav (mobile) */
.nss-bottomnav{display:none;position:fixed;bottom:0;left:0;right:0;z-index:300;background:#fff;border-top:1px solid var(--line2);box-shadow:0 -2px 12px rgba(0,0,0,.06);padding:6px 4px env(safe-area-inset-bottom)}
.nss-bottomnav a{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;color:var(--mut);font-size:10.5px;font-weight:500;padding:4px 0;position:relative}
.nss-bottomnav a.is-active{color:var(--red)}
.nss-bottomnav a.is-active .nss-ic{color:var(--red)}
.nss-bottomnav-cart .nss-cart-count{position:absolute;top:-2px;right:50%;margin-right:-22px;border-color:#fff}

/* Add-to-cart toast — mobile confirmation (the mini cart panel covers desktop).
   Sits clear of the sticky buy bar / bottom nav, both ~60px and z-index 300. */
/* `width:max-content` because a fixed box at left:50% only gets the right half of
   the viewport as its available width, which wrapped the message onto 3 lines. */
.nss-toast{position:fixed;left:50%;bottom:76px;z-index:320;display:flex;align-items:center;gap:9px;width:max-content;max-width:calc(100vw - 32px);padding:11px 14px;border-radius:10px;background:#232323;color:#fff;font-size:13px;font-weight:600;line-height:1.3;box-shadow:0 10px 30px rgba(0,0,0,.28);opacity:0;visibility:hidden;transform:translate(-50%,14px);transition:opacity .22s,transform .22s,visibility .22s}
.nss-toast.is-on{opacity:1;visibility:visible;transform:translate(-50%,0)}
.nss-toast-ic{flex:0 0 auto;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--ok);color:#fff;font-size:12px}
.nss-toast-msg{min-width:0}
.nss-toast-link{flex:0 0 auto;color:#ffb3af;font-weight:700;text-decoration:underline}
.nss-toast-link:hover{color:#fff}

/* In-flight add-to-cart: keep the button's own colours, just damp it. */
.nss-busy{opacity:.72;pointer-events:none}

.nss-page-default{padding:18px 0}
.nss-page-title{font-size:22px;font-weight:800;margin-bottom:16px}
.nss-entry.entry-content{background:#fff;border:1px solid var(--line2);border-radius:var(--rad);padding:24px}
.nss-entry.entry-content p{margin:0 0 1em}
.nss-empty{text-align:center;padding:50px 0;color:var(--mut)}
.nss-empty .nss-ic{color:#d4d6da;margin-bottom:10px}
.nss-empty p{margin:0 0 16px}
.nss-section-foot{text-align:center;margin-top:22px}
.nss-empty-text{text-align:center;color:var(--mut);padding:30px}

/* Blog list */
.nss-postlist{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.nss-post{background:#fff;border:1px solid var(--line2);border-radius:var(--rad);overflow:hidden}
.nss-post-thumb img{aspect-ratio:16/10;object-fit:cover;width:100%}
.nss-post-body{padding:16px}
.nss-post-title{font-size:16px;margin-bottom:6px}
.nss-post-meta{font-size:12px;color:var(--mut);margin-bottom:8px}
.nss-post-excerpt{font-size:13px;color:var(--sub);margin-bottom:10px}
.nss-readmore{color:var(--blue);font-weight:600;font-size:13px;display:inline-flex;align-items:center;gap:5px}

/* =========================================================================
   CATEGORY-BAR NAV MENU (primary) + top-bar tagline
   ========================================================================= */
.nss-topbar-tagline{display:inline-flex;align-items:center;gap:6px;color:rgba(255,255,255,.82)}
.nss-topbar-tagline .nss-ic{color:rgba(255,255,255,.7)}
/* primary menu sits on the right of the category bar, level with "Semua Kategori" */
.nss-catnav{list-style:none;margin:0 0 0 auto;padding:0 0 0 18px;display:flex;align-items:center;gap:20px;flex:0 0 auto;border-left:1px solid var(--line2)}
.nss-catnav li{display:inline-flex;align-items:center}
.nss-catnav a{color:var(--ink);font-size:13px;font-weight:600;white-space:nowrap;padding:4px 0;border-bottom:2px solid transparent}
.nss-catnav a:hover{color:var(--blue);border-color:var(--blue)}
.nss-catnav .current-menu-item>a,.nss-catnav .current_page_item>a{color:var(--blue);border-color:var(--blue)}
/* =========================================================================
   STATIC PAGES — hero, sections, CTA band (About / FAQ / Kontak)
   ========================================================================= */
.nss-pagehero{background:linear-gradient(120deg,#eef3ff,#f7f9ff 60%,#fff);border-bottom:1px solid var(--line);position:relative;overflow:hidden}
.nss-pagehero>.nss-banner-art{right:2%;top:50%;transform:translateY(-50%);width:min(38%,420px);height:auto}
.nss-pagehero>.nss-container{padding-top:30px;padding-bottom:30px;position:relative;z-index:1}
.nss-pagehero-eyebrow{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid #dbe6ff;color:var(--blue-dd);font-weight:600;font-size:12.5px;padding:6px 13px;border-radius:999px;box-shadow:var(--sh)}
.nss-pagehero-eyebrow .nss-ic{color:var(--blue)}
.nss-pagehero h1{font-size:30px;font-weight:800;color:var(--ink);margin:14px 0 6px;line-height:1.2}
.nss-pagehero p{color:var(--sub);font-size:15px;margin:0;max-width:640px}
.nss-page-wrap{padding-top:26px;padding-bottom:38px}
.nss-sec-title{font-size:20px;font-weight:800;color:var(--ink);margin:30px 0 14px}

/* About */
.nss-about-intro{display:grid;grid-template-columns:1fr 320px;gap:24px;align-items:start}
.nss-about-text{font-size:15px;color:var(--sub);line-height:1.7}
.nss-about-text p{margin:0 0 14px}
.nss-about-text .nss-btn-primary{margin-top:6px}
.nss-about-stats{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line2);border:1px solid var(--line2);border-radius:var(--rad);overflow:hidden}
.nss-about-stat{background:#fff;padding:18px 16px;text-align:center}
.nss-about-stat b{display:block;font-size:24px;font-weight:800;color:var(--blue)}
.nss-about-stat span{font-size:12.5px;color:var(--mut)}
.nss-feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.nss-feature-card{background:#fff;border:1px solid var(--line2);border-radius:var(--rad);padding:20px}
.nss-feature-ic{display:inline-flex;width:50px;height:50px;align-items:center;justify-content:center;border-radius:12px;background:var(--blue-soft);color:var(--blue);margin-bottom:12px}
.nss-feature-card b{display:block;font-size:15px;color:var(--ink);margin-bottom:6px}
.nss-feature-card p{margin:0;font-size:13px;color:var(--sub);line-height:1.55}
.nss-about-cats{display:flex;flex-wrap:wrap;gap:10px}
.nss-about-cat{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line2);border-radius:999px;padding:9px 16px;font-size:13.5px;font-weight:500;color:var(--ink)}
.nss-about-cat .nss-ic{color:var(--blue)}
.nss-about-cat:hover{border-color:var(--blue);color:var(--blue);box-shadow:var(--sh)}

/* CTA band */
.nss-cta-band{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:34px;padding:26px 30px;border-radius:var(--rad-lg);background:linear-gradient(100deg,var(--blue),#5a86ff);color:#fff;box-shadow:var(--sh-md);position:relative;overflow:hidden}
.nss-cta-band--soft{background:linear-gradient(100deg,#1f2a44,#33415f)}
.nss-cta-band>.nss-banner-art.art-band{right:-20px;top:50%;transform:translateY(-50%);width:300px;height:auto;opacity:.5;z-index:0}
.nss-cta-band>*:not(.nss-banner-art){position:relative;z-index:1}
.nss-cta-band-text b{display:block;font-size:19px;font-weight:800;margin-bottom:4px}
.nss-cta-band-text span{font-size:14px;color:rgba(255,255,255,.88)}
.nss-cta-band-actions{display:flex;gap:10px;flex-wrap:wrap}

/* FAQ */
.nss-faq{max-width:840px}
.nss-faq-intro{font-size:14.5px;color:var(--sub);line-height:1.65;margin-bottom:6px}
.nss-faq-group{font-size:15px;font-weight:800;color:var(--blue-dd);text-transform:uppercase;letter-spacing:.04em;margin:26px 0 10px}
.nss-faq-list{display:flex;flex-direction:column;gap:10px}
.nss-faq-item{background:#fff;border:1px solid var(--line2);border-radius:var(--rad);overflow:hidden}
.nss-faq-item[open]{border-color:#cdddff;box-shadow:var(--sh)}
.nss-faq-item summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 18px;cursor:pointer;list-style:none;font-weight:600;color:var(--ink);font-size:14.5px}
.nss-faq-item summary::-webkit-details-marker{display:none}
.nss-faq-item summary:hover{color:var(--blue)}
.nss-faq-chevron{flex:0 0 auto;color:var(--mut);transition:transform .2s}
.nss-faq-item[open] .nss-faq-chevron{transform:rotate(180deg);color:var(--blue)}
.nss-faq-a{padding:0 18px 16px;color:var(--sub);font-size:14px;line-height:1.65}
.nss-faq-a p{margin:0 0 .7em}
.nss-faq-a p:last-child{margin:0}

/* Kontak */
.nss-contact-intro{font-size:14.5px;color:var(--sub);line-height:1.65;margin-bottom:18px}
.nss-contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:22px}
.nss-contact-card{background:#fff;border:1px solid var(--line2);border-radius:var(--rad);padding:18px}
.nss-contact-card.is-link:hover{border-color:var(--blue);box-shadow:var(--sh-md);transform:translateY(-2px);transition:.16s}
.nss-contact-ic{display:inline-flex;width:42px;height:42px;align-items:center;justify-content:center;border-radius:11px;background:var(--blue-soft);color:var(--blue);margin-bottom:10px}
.nss-contact-card b{display:block;font-size:14px;color:var(--ink);margin-bottom:4px}
.nss-contact-val{font-size:13.5px;color:var(--sub);line-height:1.55;word-break:break-word}
.nss-contact-main{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:stretch}
.nss-contact-main.no-map{grid-template-columns:1fr}
.nss-contact-map{min-height:340px;border:1px solid var(--line2);border-radius:var(--rad);overflow:hidden}
.nss-contact-map iframe{display:block;width:100%;height:100%;min-height:340px}
.nss-contact-form-card{background:#fff;border:1px solid var(--line2);border-radius:var(--rad);padding:22px}
.nss-contact-form-card h2{font-size:18px;font-weight:800;color:var(--ink);margin:0 0 4px}
.nss-contact-form-note{font-size:13px;color:var(--mut);margin:0 0 16px}
.nss-wa-form{display:flex;flex-direction:column;gap:13px}
.nss-wa-form label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:var(--ink)}
.nss-wa-form input,.nss-wa-form textarea{font:inherit;font-size:14px;font-weight:400;color:var(--ink);border:1px solid var(--line2);border-radius:9px;padding:10px 13px;background:#fbfbfc;transition:.15s}
.nss-wa-form input:focus,.nss-wa-form textarea:focus{outline:none;border-color:var(--blue);background:#fff;box-shadow:0 0 0 3px rgba(52,111,254,.12)}
.nss-wa-form textarea{resize:vertical}
.nss-wa-form .nss-btn-wa{width:100%;margin-top:4px}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width:1200px){
  .nss-cat-circles{grid-template-columns:repeat(8,1fr)}
}
@media (max-width:1080px){
  .products{grid-template-columns:repeat(4,1fr)}
  .nss-grid-row{grid-template-columns:repeat(4,1fr)}
  .woocommerce .related ul.products,.woocommerce .upsells ul.products{grid-template-columns:repeat(4,1fr)}
  .nss-hero-main h1{font-size:28px}
  /* keep the category bar on one line — the count badge is the first thing to go */
  .nss-flashlink-count{display:none}
}
@media (max-width:1024px){
  .nss-shop-layout{grid-template-columns:1fr}
  .nss-shop-sidebar{position:static;flex-direction:row;flex-wrap:wrap;overflow-x:auto}
  .nss-shop-sidebar .nss-side-card{flex:1;min-width:220px}
  .nss-side-help{display:none}
  .woocommerce div.product{grid-template-columns:380px 1fr}
}
@media (max-width:900px){
  .nss-topbar{display:none}
  .products{grid-template-columns:repeat(3,1fr)}
  .nss-cat-circles{grid-template-columns:repeat(6,1fr)}
  /* static pages */
  .nss-pagehero h1{font-size:25px}
  .nss-about-intro{grid-template-columns:1fr}
  .nss-feature-grid{grid-template-columns:repeat(2,1fr)}
  .nss-contact-grid{grid-template-columns:repeat(2,1fr)}
  .nss-contact-main{grid-template-columns:1fr}
  .nss-store-stats{padding-left:0;border-left:0;width:100%;justify-content:space-around;border-top:1px solid var(--line);padding-top:14px}
  .nss-footer-main{grid-template-columns:1fr 1fr;gap:24px}
  .nss-footer-about{grid-column:1 / -1}
  .nss-footer-trust-row{grid-template-columns:repeat(2,1fr)}
  /* cart + checkout single column */
  .woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce>form.checkout{grid-template-columns:1fr;grid-template-areas:none;grid-template-rows:auto}
  .woocommerce-cart .cart-collaterals,.woocommerce-cart form.woocommerce-cart-form,.woocommerce-checkout #customer_details,.woocommerce-checkout #order_review,.woocommerce-checkout #order_review_heading{grid-area:auto;grid-column:1;grid-row:auto}
  /* row-gap stays 0 so the summary card holds together; space the form off it instead */
  .woocommerce-checkout #customer_details{margin-bottom:18px}
  .woocommerce-cart .cart_totals,.woocommerce-checkout #order_review{position:static}
  .woocommerce-account.logged-in .woocommerce{grid-template-columns:1fr}
  /* account menu becomes a swipeable strip so it doesn't eat a screen of height.
     Track padding + a matching negative margin let the first/last chip sit flush
     with the gutter while still scrolling edge to edge. */
  .nss-acc-menu{display:flex;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;border-radius:var(--rad)}
  .nss-acc-menu::-webkit-scrollbar{display:none}
  .nss-acc-menu li{flex:0 0 auto}
  .nss-acc-menu li+li{border-top:0;border-left:1px solid var(--line)}
  .nss-acc-menu li a{padding:11px 14px;white-space:nowrap}
  .nss-acc-menu li a:hover{padding-left:14px}
  /* left rail would be invisible on a horizontal strip — underline instead */
  .nss-acc-menu li.is-active a::before{left:0;right:0;top:auto;bottom:0;width:auto;height:3px}
  .nss-dash-cols{grid-template-columns:1fr}
  .nss-addr-grid{grid-template-columns:1fr}
  /* auth: brand panel folds into a compact banner above the form */
  .nss-auth{grid-template-columns:1fr;max-width:520px}
  .nss-auth-brand{padding:22px 24px}
  .nss-auth-brand-h{font-size:19px;margin-bottom:14px;max-width:none}
  .nss-auth-logo{margin-bottom:16px;width:124px;height:auto}
  .nss-auth-perks{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px}
  .nss-auth-perks li{font-size:12.5px}
  .nss-auth-art{width:170px;right:-40px;bottom:-24px;opacity:.16}
}
@media (max-width:820px){
  .nss-catbar{display:none}
  .nss-header-row{gap:10px;padding-top:11px;padding-bottom:11px}
  .nss-burger{display:flex;padding:2px}
  .nss-search-tags{display:none}
  .nss-acc-mini{display:none}
  .nss-icon-btn{width:42px;height:42px}
  .nss-logo img,.custom-logo-link .custom-logo{height:38px}
  .nss-header{position:sticky}
  .nss-main{padding-bottom:76px}
  .nss-bottomnav{display:flex}
  /* bottom nav's "Chat" already opens WhatsApp — the floating FAB would only
     cover content/nav on small screens, so hide it here */
  .nss-fab-wa{display:none}
  /* same reasoning for the account sidebar's WhatsApp card — it would sit
     between the menu strip and the content, and "Chat" is already in the bar */
  .nss-acc-help{display:none}
  .woocommerce div.product{grid-template-columns:1fr;grid-template-areas:"gallery" "summary"}
  .woocommerce div.product div.images.woocommerce-product-gallery{border-right:0;border-bottom:1px solid var(--line)}
  .nss-hero-grid{grid-template-columns:1fr}
  .nss-hero-side{flex-direction:row}
  .nss-hero-copy{padding:32px 22px 32px 28px}
  .nss-store-stats{display:none}
  /* narrow side-by-side cards: keep device art small & faint so text stays clear */
  .nss-hero-card>.nss-banner-art{width:86px;right:-10px;bottom:-10px;opacity:.4}
  .nss-hero-main>.nss-banner-art{width:64%;right:-30px;bottom:-16px;opacity:.4}
}
@media (max-width:680px){
  :root{--pad:12px}
  .products{grid-template-columns:repeat(2,1fr)}
  /* variations: a 104px label column leaves nothing for the pills — stack it */
  .woocommerce div.product form.cart .variations,.woocommerce div.product form.cart .variations tbody,.woocommerce div.product form.cart .variations tr,.woocommerce div.product form.cart .variations td,.woocommerce div.product form.cart .variations th{display:block;width:auto}
  .woocommerce div.product form.cart .variations tr{padding:12px 0;border-bottom:1px solid var(--line)}
  .woocommerce div.product form.cart .variations td,.woocommerce div.product form.cart .variations th{padding:0;border-bottom:0}
  .woocommerce div.product form.cart .variations th.label{width:auto;padding:0 0 9px;line-height:1.4}
  /* description: label/value side by side gets too narrow to read */
  .nss-desc-spec{grid-template-columns:1fr}
  .nss-desc-k{border-right:0;padding-bottom:0}
  .nss-desc-v{padding-top:2px}
  .woocommerce div.product .woocommerce-tabs table.shop_attributes th{width:38%}
  /* reviews: score over bars, no side-by-side */
  .nss-rev-sum{grid-template-columns:1fr;gap:16px;padding:16px}
  .nss-rev-score{border-right:0;border-bottom:1px solid var(--red-line);padding:0 0 14px}
  .nss-rev-formcard{padding:16px}
  .woocommerce #reviews #comments ol.commentlist li .comment_container{grid-template-columns:38px 1fr;gap:11px}
  .woocommerce #reviews #comments ol.commentlist li img.avatar{width:38px;height:38px}
  .woocommerce .related ul.products,.woocommerce .upsells ul.products{grid-template-columns:repeat(2,1fr)}
  .nss-cat-circles{grid-template-columns:repeat(4,1fr)}
  .nss-cat-ic{width:54px;height:54px}
  /* static pages */
  .nss-pagehero h1{font-size:22px}
  .nss-pagehero>.nss-container{padding-top:22px;padding-bottom:22px}
  .nss-pagehero>.nss-banner-art{display:none}
  .nss-hero-main>.nss-banner-art{width:64%;right:-30px;bottom:-16px;opacity:.4}
  .nss-cta-band>.nss-banner-art.art-band{opacity:.25}
  .nss-feature-grid{grid-template-columns:1fr 1fr;gap:12px}
  .nss-contact-grid{grid-template-columns:1fr}
  .nss-cta-band{padding:22px;text-align:center;justify-content:center}
  .nss-cta-band-actions{width:100%;justify-content:center}
  /* account on a phone */
  .woocommerce-account .woocommerce-MyAccount-content{padding:0;border:0;background:none;border-radius:0}
  .nss-dash-hero{padding:18px;text-align:center;justify-content:center}
  .woocommerce-account .nss-dash-hello h1{font-size:19px}
  .nss-dash-hello p{font-size:12.5px}
  .nss-dash-art{display:none}
  .nss-dash-stats{grid-template-columns:1fr 1fr;gap:10px}
  .nss-dash-stats li{padding:12px;gap:9px}
  .nss-dash-ic{width:34px;height:34px;border-radius:9px}
  .nss-dash-stats b{font-size:17px}
  .nss-dash-stats b.nss-dash-money{font-size:14px}
  .nss-dash-panel-body{padding:14px}
  .nss-dash-dl{grid-template-columns:1fr;gap:2px 0}
  .nss-dash-dl dd{margin-bottom:8px}
  .nss-ord-main{gap:10px;padding:12px 14px;flex-wrap:wrap}
  /* thumbs + number on the first line, status + total pinned right below */
  .nss-ord-side{flex-direction:row;align-items:center;justify-content:space-between;width:100%;gap:8px}
  .nss-acc-card{padding:13px}
  .nss-ord-acts{padding:0 14px 12px}
  .nss-ord-pageno{order:0;flex:0 0 auto}
  .nss-ord-pager{justify-content:center}
  .nss-ord-pagebtn{padding:8px 13px;font-size:12.5px}
  .nss-field-pair{grid-template-columns:1fr;gap:0}
  .woocommerce form.nss-accform button.nss-auth-submit{width:100%;min-width:0}
  /* auth on a phone: trim the brand banner to the headline, tighten the form */
  .nss-page-auth{padding-top:14px;padding-bottom:28px}
  .nss-auth{border-radius:var(--rad)}
  .nss-auth-brand{padding:18px}
  .nss-auth-brand-h{font-size:17px;margin-bottom:0}
  .nss-auth-logo{margin-bottom:12px;width:112px}
  .nss-auth-perks{display:none}
  .nss-auth-art{display:none}
  .nss-auth-panel{padding:20px 16px 18px}
  .nss-auth-title{font-size:18px}
  .nss-auth-sub{font-size:13px;margin-bottom:16px}
  .nss-auth-tab{font-size:14px}
  .nss-auth-foot{justify-content:center;text-align:center;font-size:12px;gap:6px 14px}
  .nss-footer-main{grid-template-columns:1fr}
  .nss-footer-bottom-row{flex-direction:column;text-align:center;gap:6px}
  .nss-flash-head{flex-wrap:wrap;gap:10px}
  .nss-flash-head .nss-sec-more{order:3}
  .nss-countdown{order:2}
  /* title + countdown + reset don't fit one phone row — wrap instead of overflowing */
  .nss-flash-bar{flex-wrap:wrap;gap:8px 14px;padding:12px 14px}
  .nss-flash-bar .nss-flash-title{font-size:17px}
  .nss-flash-reset{margin-left:0;order:3;width:100%}
  .nss-sec-head h2{font-size:17px}
  .nss-hero-main h1{font-size:23px}
  /* --- single product: scale the desktop type/padding down for a phone --- */
  .woocommerce div.product div.summary.entry-summary{padding:16px 14px}
  .woocommerce div.product div.images.woocommerce-product-gallery{padding:12px}
  .woocommerce div.product .product_title{font-size:18px;line-height:1.35}
  .nss-sp-stats{gap:9px;font-size:12px;flex-wrap:wrap}
  .nss-price-box{padding:12px 13px;margin:12px 0;gap:8px}
  .woocommerce div.product .nss-price-box p.price,.woocommerce div.product .nss-price-box .price{font-size:21px;gap:8px;flex-wrap:wrap}
  .nss-price-box .nss-price-main{gap:8px}
  .nss-price-box .nss-price-main .price .woocommerce-Price-currencySymbol{font-size:14px}
  .woocommerce div.product .nss-price-box .price del{font-size:14px}
  /* qty on its own row, then the two buttons split it 50/50 — the 170px min-width
     each made them wrap into a ragged 1-then-1 stack */
  .woocommerce div.product form.cart,.woocommerce div.product form.cart .woocommerce-variation-add-to-cart{gap:9px}
  .woocommerce div.product form.cart .quantity{flex:1 0 100%}
  .woocommerce div.product form.cart .button,.woocommerce div.product .single_add_to_cart_button{min-width:0;flex:1 1 0;padding:0 8px;font-size:13px;height:44px;white-space:nowrap}
  .woocommerce div.product form.cart .variations td,.woocommerce div.product form.cart .variations th{display:block;width:auto;padding:3px 0}
  .woocommerce div.product form.cart .variations th.label{width:auto}
  /* tab strip can't fit 3 labels — let it scroll rather than clip */
  .woocommerce div.product .woocommerce-tabs ul.tabs{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
  .woocommerce div.product .woocommerce-tabs ul.tabs::-webkit-scrollbar{display:none}
  .woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:12px 14px;font-size:13px;white-space:nowrap}
  .woocommerce div.product .woocommerce-tabs .panel{padding:16px 14px;font-size:13.5px}
  .woocommerce div.product .woocommerce-tabs .panel h2{font-size:16px}
  .nss-store-card{padding:14px;gap:12px}
  .nss-store-cta{width:100%}
  .nss-store-cta .nss-btn-ghost{flex:1 1 0;justify-content:center}
  .nss-trust{gap:8px}
  .woocommerce div.product .related,.woocommerce div.product .upsells{padding:16px 14px 18px}
  .woocommerce div.product .related>h2,.woocommerce div.product .upsells>h2{font-size:17px}
  .nss-ty-summary{grid-template-columns:1fr}
  .nss-ty-summary li:nth-child(odd){border-right:0;padding-right:0}
  .nss-ty-summary li:nth-child(even){padding-left:0}
  .nss-ty-summary li:nth-last-child(2){border-bottom:1px solid var(--line)}
  .nss-postlist{grid-template-columns:1fr}
  /* horizontal flash/best rows on mobile */
  .nss-hscroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 calc(var(--pad)*-1);padding:0 var(--pad) 4px;scrollbar-width:none}
  .nss-hscroll::-webkit-scrollbar{display:none}
  .nss-grid-row{display:flex;gap:10px}
  .nss-grid-row .nss-card{flex:0 0 44%;min-width:44%}
  /* hide shop sidebar — use drawer for category navigation on mobile */
  .nss-shop-sidebar{display:none}
}
@media (max-width:420px){
  .nss-cat-circles{grid-template-columns:repeat(3,1fr)}
  .nss-hero-side{flex-direction:column}
  /* cards are full-width again when stacked — art can breathe a bit more */
  .nss-hero-card>.nss-banner-art{width:110px;opacity:.5}
  .nss-store-cta{width:100%}
  .nss-store-cta .nss-btn-ghost{flex:1}
  .woocommerce-cart .actions .coupon input{width:130px}
  .nss-grid-row .nss-card{flex:0 0 60%;min-width:60%}
}
@media (max-width:480px){
  .woocommerce-cart form.woocommerce-cart-form{padding:6px 10px 12px}
  .woocommerce-cart table.cart tr.cart_item{grid-template-columns:58px 1fr auto;gap:2px 8px}
  .woocommerce-cart td.product-thumbnail img{width:58px;height:58px}
  .woocommerce-cart .product-quantity .qty{width:34px;height:32px}
  .woocommerce-cart .product-quantity .nss-qty-btn{width:26px;height:32px}
  .woocommerce-cart td.product-name{font-size:13px}
  .woocommerce-cart td.product-subtotal{font-size:14px}
  .woocommerce-cart td.product-price::before{display:block}
  .nss-steps li{font-size:11px}
  .nss-steps li span{width:26px;height:26px}
}

/* Loading overlay for AJAX */
.nss-loading{opacity:.55;pointer-events:none}
.woocommerce a.added_to_cart.wc-forward{display:none}

/* =====================================================================
   Section animations — scroll reveal + ambient motion (v1.4.0)
   Reveal targets are tagged by JS (html.nss-anim gate = safe without JS);
   classes are stripped after the entrance so hover transforms still win.
   ===================================================================== */
html.nss-anim .nss-rv{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s cubic-bezier(.16,1,.3,1);transition-delay:var(--rvd,0ms)}
html.nss-anim .nss-rv.in{opacity:1;transform:none}
@media print{html.nss-anim .nss-rv{opacity:1;transform:none}}

@media (prefers-reduced-motion: no-preference){
  /* banner illustrations drift gently (individual `translate` composes with
     the centering transform on .nss-pagehero art) */
  .nss-banner-art{animation:nss-float 6.5s ease-in-out infinite alternate}
  .nss-hero-card .nss-banner-art{animation-duration:5s}
  /* flash-sale flame pulses (section heading + the header menu item) */
  .nss-flash-title svg,.nss-flashlink svg{animation:nss-flame 1.15s ease-in-out infinite;transform-origin:50% 85%}
  /* category icon pops on hover */
  .nss-cat-circle:hover .nss-cat-ic{animation:nss-pop .45s ease}
  /* WhatsApp FAB attention ping (desktop only — FAB hidden ≤820px) */
  .nss-fab-wa::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:0 0 0 0 rgba(31,175,83,.5);animation:nss-ping 2.8s ease-out infinite;pointer-events:none}
  /* FAQ answer slides in when a question opens */
  .nss-faq-item[open] .nss-faq-a{animation:nss-fadeup .35s ease}

  /* --- login / register screen ------------------------------------------ */
  /* card lifts in on load; brand copy and each form row follow in sequence.
     Staggered with nth-child so the templates stay markup-only (no JS, no
     inline --i) — the lists are short and fixed. */
  .nss-auth{animation:nss-auth-card .55s cubic-bezier(.16,1,.3,1) both}
  .nss-auth-brand-inner>*,.nss-auth-perks li{animation:nss-auth-slide .5s cubic-bezier(.16,1,.3,1) both}
  .nss-auth-brand-inner>:nth-child(1){animation-delay:.12s}
  .nss-auth-brand-inner>:nth-child(2){animation-delay:.19s}
  .nss-auth-brand-inner>:nth-child(3){animation-delay:.26s}
  .nss-auth-perks li:nth-child(1){animation-delay:.30s}
  .nss-auth-perks li:nth-child(2){animation-delay:.37s}
  .nss-auth-perks li:nth-child(3){animation-delay:.44s}
  .nss-auth-perks li:nth-child(4){animation-delay:.51s}
  /* pane crossfade on tab switch — .is-active is toggled by JS, so the
     animation re-runs each time the element re-enters the flow */
  .nss-auth-pane.is-active{animation:nss-auth-pane .34s cubic-bezier(.16,1,.3,1) both}
  .nss-auth-pane.is-active>*{animation:nss-auth-rise .42s cubic-bezier(.16,1,.3,1) both}
  .nss-auth-pane.is-active>:nth-child(2){animation-delay:.05s}
  .nss-auth-pane.is-active>:nth-child(3){animation-delay:.1s}
  .nss-auth-pane.is-active>:nth-child(4){animation-delay:.15s}
  /* button gets a light sweep on hover */
  .nss-auth-submit::after{content:"";position:absolute;top:0;left:-60%;width:45%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.34),transparent);transform:skewX(-18deg);transition:left .55s ease}
  .nss-auth-submit:hover::after{left:120%}
  /* field lifts a touch while focused */
  :is(.nss-auth,.nss-accform) .nss-field-ctl input:focus{transform:translateY(-1px)}

  /* --- account dashboard ------------------------------------------------ */
  /* Entrance: sidebar, hero, stat cards, panels then order rows arrive in
     sequence. fill-mode is `backwards` (not `both`) throughout — a forwards
     fill keeps animating `transform`/`opacity` locked at the to-frame, which
     silently kills every hover lift underneath (.nss-dash-stats li:hover …). */
  .nss-acc-card,.nss-acc-menu,.nss-acc-help,.nss-dash-hero,.nss-dash-stats li,.nss-dash-panel,.nss-dash-cols>*{animation:nss-auth-rise .5s cubic-bezier(.16,1,.3,1) backwards}
  .nss-acc-menu{animation-delay:.06s}
  .nss-acc-help{animation-delay:.12s}
  /* menu rows fade in one by one; a slide would clip against the card's
     overflow:hidden, so this one is opacity-only */
  .nss-acc-menu li{animation:nss-auth-pane .32s ease backwards}
  .nss-acc-menu li:nth-child(1){animation-delay:.12s}
  .nss-acc-menu li:nth-child(2){animation-delay:.17s}
  .nss-acc-menu li:nth-child(3){animation-delay:.22s}
  .nss-acc-menu li:nth-child(4){animation-delay:.27s}
  .nss-acc-menu li:nth-child(5){animation-delay:.32s}
  .nss-acc-menu li:nth-child(6){animation-delay:.37s}
  .nss-acc-menu li:nth-child(n+7){animation-delay:.42s}
  .nss-acc-avatar{animation:nss-pop-in .55s .2s cubic-bezier(.34,1.56,.64,1) backwards}
  .nss-dash-stats li:nth-child(1){animation-delay:.10s}
  .nss-dash-stats li:nth-child(2){animation-delay:.16s}
  .nss-dash-stats li:nth-child(3){animation-delay:.22s}
  .nss-dash-stats li:nth-child(4){animation-delay:.28s}
  /* the tinted icon squares pop in just behind their card */
  .nss-dash-stats .nss-dash-ic{animation:nss-pop-in .5s cubic-bezier(.34,1.56,.64,1) backwards}
  .nss-dash-stats li:nth-child(1) .nss-dash-ic{animation-delay:.22s}
  .nss-dash-stats li:nth-child(2) .nss-dash-ic{animation-delay:.28s}
  .nss-dash-stats li:nth-child(3) .nss-dash-ic{animation-delay:.34s}
  .nss-dash-stats li:nth-child(4) .nss-dash-ic{animation-delay:.40s}
  .nss-dash>.nss-dash-panel{animation-delay:.32s}
  .nss-dash-cols>:nth-child(1){animation-delay:.38s}
  .nss-dash-cols>:nth-child(2){animation-delay:.44s}
  /* order rows cascade after the panel that frames them */
  .nss-ord-list>li{animation:nss-auth-rise .42s cubic-bezier(.16,1,.3,1) backwards}
  .nss-ord-list>li:nth-child(1){animation-delay:.40s}
  .nss-ord-list>li:nth-child(2){animation-delay:.47s}
  .nss-ord-list>li:nth-child(3){animation-delay:.54s}
  .nss-ord-list>li:nth-child(4){animation-delay:.61s}
  .nss-ord-list>li:nth-child(5){animation-delay:.68s}
  .nss-ord-list>li:nth-child(n+6){animation-delay:.75s}

  /* Hero ambience: a slow light sweep, a drifting bubble and the illustration
     floating a little slower than the site-wide .nss-banner-art default. */
  .nss-dash-hero::before{content:"";position:absolute;z-index:1;top:-20%;left:0;width:38%;height:140%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.16),transparent);transform:translateX(-260%) skewX(-16deg);animation:nss-sheen 6.5s ease-in-out 1s infinite;pointer-events:none}
  .nss-dash-hero::after{animation:nss-orb 9s ease-in-out infinite alternate}
  .nss-dash-art{animation-duration:7.5s}
  /* same sweep on the sidebar card (absolute, so it stays out of the flexbox) */
  .nss-acc-card{position:relative;overflow:hidden}
  .nss-acc-card::after{content:"";position:absolute;top:-20%;left:0;width:38%;height:140%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.2),transparent);transform:translateX(-260%) skewX(-16deg);animation:nss-sheen 7.5s ease-in-out 1.8s infinite;pointer-events:none}

  /* Hover micro-motion. All transition-based: swapping `animation` on :hover
     would restart the entrance keyframes again on mouse-out. */
  .nss-dash-ic .nss-ic{transition:transform .3s cubic-bezier(.34,1.56,.64,1)}
  .nss-dash-stats li:hover .nss-dash-ic .nss-ic{transform:scale(1.16) rotate(-7deg)}
  .nss-dash-panel{transition:box-shadow .25s,border-color .25s}
  .nss-dash-panel:hover{box-shadow:var(--sh)}
  .nss-dash-panel-head a .nss-ic{transition:transform .2s}
  .nss-dash-panel-head a:hover .nss-ic{transform:translateX(3px)}
  .nss-acc-menu li a:hover .nss-ic{transform:scale(1.15)}
  .nss-acc-menu li.is-active a::before{animation:nss-bar .4s cubic-bezier(.16,1,.3,1) backwards;transform-origin:50% 0}
  .nss-acc-help:hover .nss-ic{animation:nss-pop .45s ease}
  /* order rows: the stacked thumbnails fan apart, kept under the 12px gap so
     they never slide beneath the order number */
  .nss-ord-thumb{transition:transform .28s cubic-bezier(.16,1,.3,1)}
  .nss-ord-main:hover .nss-ord-thumb:nth-child(1){transform:scale(1.06)}
  .nss-ord-main:hover .nss-ord-thumb:nth-child(2){transform:translateX(3px)}
  .nss-ord-main:hover .nss-ord-thumb:nth-child(3){transform:translateX(6px)}
  .nss-ord-main:hover .nss-ord-thumb:nth-child(4){transform:translateX(9px)}
  .nss-ord-main:hover .nss-ord-thumb:nth-child(n+5){transform:translateX(12px)}
  /* "sedang berjalan" statuses keep a slow heartbeat on their dot */
  .nss-pill.is-info::before,.nss-pill.is-warn::before{animation:nss-dot 1.9s ease-in-out infinite}
  /* empty states: the big outline icon bobs, its CTA arrow nudges */
  .nss-dash-empty>.nss-ic{animation:nss-bob 3s ease-in-out infinite alternate}
  .nss-dash-empty .nss-btn-primary .nss-ic{transition:transform .2s}
  .nss-dash-empty .nss-btn-primary:hover .nss-ic{transform:translateX(4px)}
  /* white CTA gets the same sweep as the auth submit */
  .nss-btn-white{position:relative;overflow:hidden}
  .nss-btn-white::after{content:"";position:absolute;top:0;left:-60%;width:45%;height:100%;background:linear-gradient(100deg,transparent,rgba(52,111,254,.16),transparent);transform:skewX(-18deg);transition:left .55s ease}
  .nss-btn-white:hover::after{left:120%}
  /* counted-up figures (JS) — steady width so the row doesn't jitter */
  .nss-dash-stats>li>div>b{font-variant-numeric:tabular-nums}

  /* --- mini cart -------------------------------------------------------- */
  /* Rows fade in only while the panel is open, so re-opening replays them.
     `backwards` again — a forwards fill would freeze the row transform and kill
     .nss-mc-item:hover. The panel itself animates via its own transition. */
  .nss-minicart:hover>.nss-minicart-pop .nss-mc-item,
  .nss-minicart:focus-within>.nss-minicart-pop .nss-mc-item,
  .nss-minicart.is-open>.nss-minicart-pop .nss-mc-item{animation:nss-auth-rise .34s cubic-bezier(.16,1,.3,1) backwards}
  .nss-minicart-pop .nss-mc-item:nth-child(1){animation-delay:.06s}
  .nss-minicart-pop .nss-mc-item:nth-child(2){animation-delay:.11s}
  .nss-minicart-pop .nss-mc-item:nth-child(3){animation-delay:.16s}
  .nss-minicart-pop .nss-mc-item:nth-child(n+4){animation-delay:.2s}
  .nss-minicart:hover>.nss-minicart-pop .nss-mc-foot,
  .nss-minicart:focus-within>.nss-minicart-pop .nss-mc-foot,
  .nss-minicart.is-open>.nss-minicart-pop .nss-mc-foot{animation:nss-auth-pane .3s .18s ease backwards}
  .nss-minicart:hover>.nss-minicart-pop .nss-mc-empty>.nss-ic,
  .nss-minicart.is-open>.nss-minicart-pop .nss-mc-empty>.nss-ic{animation:nss-pop-in .45s cubic-bezier(.34,1.56,.64,1) backwards}
  .nss-mc-item{transition:background .15s}
  .nss-mc-thumb img{transition:transform .3s cubic-bezier(.16,1,.3,1)}
  .nss-mc-item:hover .nss-mc-thumb img{transform:scale(1.07)}
  .nss-mc-btn.is-primary .nss-ic{transition:transform .2s}
  .nss-mc-btn.is-primary:hover .nss-ic{transform:translateX(3px)}
  /* badge kicks whenever main.js sees the fragment count change */
  .nss-cart-count.is-bump{animation:nss-pop .5s cubic-bezier(.34,1.56,.64,1)}
  .nss-cart .nss-ic{transition:transform .2s cubic-bezier(.34,1.56,.64,1)}
  .nss-minicart:hover .nss-cart .nss-ic{transform:scale(1.08)}
}
@keyframes nss-auth-card{from{opacity:0;transform:translateY(22px) scale(.985)}to{opacity:1;transform:none}}
@keyframes nss-auth-slide{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes nss-auth-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes nss-auth-pane{from{opacity:0}to{opacity:1}}
@keyframes nss-float{from{translate:0 0}to{translate:0 -9px}}
@keyframes nss-flame{0%,100%{transform:scale(1)}50%{transform:scale(1.15) rotate(-4deg)}}
@keyframes nss-pop{40%{transform:scale(1.14)}100%{transform:scale(1)}}
@keyframes nss-ping{0%{box-shadow:0 0 0 0 rgba(31,175,83,.5)}70%,100%{box-shadow:0 0 0 16px rgba(31,175,83,0)}}
@keyframes nss-fadeup{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@keyframes nss-pop-in{from{opacity:0;transform:scale(.5)}to{opacity:1;transform:none}}
@keyframes nss-sheen{0%,18%{transform:translateX(-260%) skewX(-16deg)}62%,100%{transform:translateX(330%) skewX(-16deg)}}
@keyframes nss-orb{from{transform:none}to{transform:translate(-18px,14px) scale(1.12)}}
@keyframes nss-bar{from{transform:scaleY(0)}to{transform:none}}
@keyframes nss-dot{0%,100%{transform:none;opacity:1}50%{transform:scale(1.45);opacity:.55}}
@keyframes nss-bob{from{transform:none}to{transform:translateY(-6px)}}

/* ==========================================================================
   Header live search — suggestion popup + product-grid results page
   ========================================================================== */
/* Anchored to the search form (position:relative). Sits above the category bar
   (z-index 140 > catdrop 120) and over page content (header is z-index 200). */
.nss-suggest{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:140;background:#fff;border:1px solid var(--line2);border-radius:var(--rad);box-shadow:var(--sh-lg);padding:6px;max-height:min(72vh,520px);overflow-y:auto;overscroll-behavior:contain;text-align:left}
.nss-suggest[hidden]{display:none}
.nss-sug-sec{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--mut);padding:9px 10px 5px}
.nss-sug-item,.nss-sug-cat{display:flex;align-items:center;gap:11px;padding:8px 10px;border-radius:var(--rad-sm);color:var(--ink)}
.nss-sug-item:hover,.nss-sug-cat:hover,.nss-sug-item.is-active,.nss-sug-cat.is-active{background:var(--blue-soft)}
.nss-sug-thumb{flex:0 0 auto;width:46px;height:46px;border-radius:8px;border:1px solid var(--line);overflow:hidden;background:#fafafa;display:flex;align-items:center;justify-content:center}
.nss-sug-thumb img{width:100%;height:100%;object-fit:cover}
.nss-sug-info{min-width:0;display:flex;flex-direction:column;gap:2px}
.nss-sug-title{font-size:13.5px;line-height:1.35;font-weight:500;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.nss-sug-title mark,.nss-sug-cat-name mark{background:transparent;color:var(--blue);font-weight:700;padding:0}
.nss-sug-price{font-size:13px;font-weight:700;color:var(--red);line-height:1.2}
.nss-sug-price .amount,.nss-sug-price .woocommerce-Price-amount{color:var(--red);font-size:13px}
.nss-sug-price del,.nss-sug-price del .amount{color:var(--mut);font-weight:400;font-size:11px;margin-left:5px}
.nss-sug-price ins{background:transparent;text-decoration:none}
.nss-sug-cat-ic{flex:0 0 auto;width:30px;height:30px;border-radius:8px;background:var(--blue-soft);color:var(--blue);display:flex;align-items:center;justify-content:center}
.nss-sug-cat-ic::before{content:"";width:15px;height:15px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h8v8H3zM13 3h8v8h-8zM3 13h8v8H3zM13 13h8v8h-8z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h8v8H3zM13 3h8v8h-8zM3 13h8v8H3zM13 13h8v8h-8z'/%3E%3C/svg%3E") center/contain no-repeat}
.nss-sug-cat-name{flex:1;min-width:0;font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nss-sug-cat-count{flex:0 0 auto;font-size:12px;color:var(--mut);background:var(--line);border-radius:20px;padding:2px 9px}
.nss-sug-all{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:4px;padding:11px;border-top:1px solid var(--line);color:var(--blue);font-weight:700;font-size:13px}
.nss-sug-all:hover{color:var(--blue-dd);text-decoration:underline}
.nss-sug-empty{padding:22px 14px;text-align:center;color:var(--sub);font-size:13.5px}
.nss-sug-loading{display:flex;align-items:center;justify-content:center;gap:9px;padding:20px;color:var(--mut);font-size:13px}
.nss-sug-spin{width:16px;height:16px;border-radius:50%;border:2px solid var(--line2);border-top-color:var(--blue);animation:nss-spin .6s linear infinite}
@keyframes nss-spin{to{transform:rotate(360deg)}}

/* Search results page (search.php) */
.nss-search-results{padding-top:18px;padding-bottom:44px}
.nss-search-head{margin-bottom:18px}
.nss-search-results .nss-page-title{margin-bottom:5px}
.nss-search-results .nss-page-title span{color:var(--blue)}
.nss-search-count{font-size:13.5px;color:var(--sub);margin:0}
.nss-search-empty-sub{font-size:13.5px;color:var(--mut);margin:-8px 0 18px}
@media (max-width:680px){
  .nss-suggest{max-height:min(64vh,440px)}
  .nss-sug-thumb{width:42px;height:42px}
}
