/* NATSTORE: shared storefront and administration styles. */
:root { color-scheme: dark; --font-sans: "IBM Plex Sans Condensed"; }
*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-width: 320px; min-height: 100vh;
  background: var(--bg-dark, #101218); color: var(--text, #f3f4f6);
  font-family: var(--font-sans), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 14px; font-weight: 400; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
body.store-page { display: flex; flex-direction: column; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { color: var(--heading); font-weight: 700; line-height: 1.25; letter-spacing: -.025em; }
h1 { font-size: clamp(25px, 2.8vw, 34px); margin-bottom: 24px; }
h2 { font-size: 22px; margin-bottom: 16px; }
h3 { font-size: 17px; margin-bottom: 12px; }
p { margin: 12px 0; }
a { color: var(--link); text-decoration: none; transition: color .15s, background .15s, border-color .15s; }
a:hover { color: var(--heading); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
strong, b { font-weight: 650; }
small, .muted { color: var(--muted); }
small { font-size: 12px; }
hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
img, svg { vertical-align: middle; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: 7px;
  background: var(--button); color: var(--button-text); font-size: 13px; line-height: 1.45; font-weight: 650;
  cursor: pointer; text-align: center; text-decoration: none; transition: background .15s, border-color .15s, box-shadow .15s;
}
button:hover, .btn:hover { background: var(--button-hover); color: var(--button-text); text-decoration: none; }
button:disabled, .disabled { cursor: not-allowed; background: var(--disabled); color: var(--disabled-text); opacity: .8; }
button.secondary, .btn.secondary { color: var(--text); background: var(--bg-light); border-color: var(--border); }
button.secondary:hover, .btn.secondary:hover { background: var(--hover); border-color: var(--focus); }
button .icon, .btn .icon { color: currentColor; width: 18px; height: 18px; }
input, select, textarea {
  display: block; width: 100%; min-width: 0; min-height: 44px; padding: 10px 13px;
  border: 1px solid var(--border); border-radius: 7px; background: var(--input); color: var(--text);
  font-size: 14px; line-height: 1.5; transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .8; }
input:hover, select:hover, textarea:hover { border-color: var(--icon); }
input:focus, select:focus, textarea:focus { border-color: var(--focus); outline: 2px solid color-mix(in srgb, var(--focus) 22%, transparent); outline-offset: 1px; }
input[type="checkbox"], input[type="radio"] { display: inline-block; width: 17px; height: 17px; min-height: 17px; margin: 4px 0 0; padding: 0; flex-shrink: 0; accent-color: var(--primary); }
input[type="file"] { padding: 7px; color: var(--muted); font-size: 12px; }
input[type="file"]::file-selector-button { border: 1px solid var(--border); border-radius: 4px; padding: 6px 10px; background: var(--bg-light); color: var(--text); font: inherit; margin-right: 12px; cursor: pointer; }
input[type="color"] { padding: 5px; height: 44px; min-width: 52px; cursor: pointer; }
input[type="date"] { color-scheme: dark; }
select { cursor: pointer; padding-right: 28px; }
textarea { min-height: 112px; resize: vertical; }
label { display: block; margin: 17px 0 7px; color: var(--muted); font-size: 12px; font-weight: 550; line-height: 1.5; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; line-height: 1.75; }
.formgrid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 22px; }
.formgrid .full { grid-column: 1 / -1; }
.icon { display: inline-block; width: 20px; height: 20px; flex-shrink: 0; color: var(--icon); }
.container { width: min(1180px, 100% - 48px); margin-inline: auto; padding: 0; }
.row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.between { justify-content: space-between; }
.stack { display: grid; gap: 14px; }
.spacer { margin-top: 22px; }
.grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.cols { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 28px; align-items: start; }
.panel { min-width: 0; padding: 26px; margin-bottom: 22px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-light); }
.panel > h2:first-child { margin: 0 0 20px; }
.narrow { width: 100%; max-width: 530px; margin: 24px auto; padding: 32px; }
.narrow h1 { margin-bottom: 14px; }
.narrow form > button:not([data-close]) { width: 100%; margin-top: 24px; }
.notice { padding: 14px 17px; margin: 0 0 22px; border: 1px solid var(--focus); border-left-width: 3px; border-radius: 7px; background: var(--bg-light); color: var(--text); }
.notice.error { border-color: var(--cancel); }
.pre { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.9; }
.secret { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; }
.eyebrow { display: block; color: var(--secondary); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
nav { z-index: 30; background: var(--navbar); border-bottom: 1px solid var(--border); }
.navinner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; color: var(--heading); font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -.8px; }
.brand img { display: block; width: auto; max-width: 160px; max-height: 42px; object-fit: contain; }
.navlinks { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-left: auto; }
.navlinks a { color: var(--muted); font-size: 13px; font-weight: 550; padding: 10px 0; }
.navlinks a:hover, .navlinks a.is-active { color: var(--link); }
.store-page main { flex: 1; padding: 34px 0 68px; }
.hero { display: flex; flex-direction: column; align-items: flex-start; padding: 42px; margin: 0 0 36px; border: 1px solid var(--border); border-radius: 11px; background: linear-gradient(115deg, var(--gradient-start),var(--gradient-end)); }
.hero h1 { max-width: 680px; font-size: clamp(28px,3.5vw,42px); line-height: 1.2; margin: 14px 0; letter-spacing: -.04em; }
.hero p { max-width: 580px; margin: 0; color: var(--muted); font-size: 15px; }
.hero .row { margin-top: 26px; gap: 22px; }
.hero .row > a:not(.btn) { font-size: 13px; font-weight: 550; }
.sectionhead { margin: 32px 0 18px; }
.sectionhead h2 { font-size: 22px; margin: 0; }
.sectionhead a { font-size: 12px; font-weight: 600; }
.card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: 9px; background: var(--bg-light); transition: border-color .2s, transform .2s; }
.card:hover { border-color: color-mix(in srgb,var(--primary) 60%,var(--border)); transform: translateY(-2px); }
.thumb { display: block; width: 100%; height: 172px; object-fit: cover; object-position: center; background: var(--input); }
.placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 172px; background: var(--input); border-bottom: 1px solid var(--border); }
.placeholder .icon { width: 38px; height: 38px; opacity: .45; }
.cardbody { display: flex; align-items: stretch; flex-direction: column; flex: 1; gap: 0; padding: 18px; }
.cardbody.row { flex-direction: row; align-items: center; }
.card h3 { font-size: 16px; margin: 7px 0 12px; line-height: 1.5; }
.card h3 a { color: var(--heading); }
.cardbody > small { font-size: 11px; }
.card .price { font-size: 19px; margin: 0 0 13px; }
.card .badge { align-self: flex-start; margin-bottom: 14px; }
.card .btn, .card button { width: 100%; margin-top: auto; min-height: 40px; }
.grid > a.card { color: var(--text); }
.grid > a.card .thumb, .grid > a.card .placeholder { height: 155px; }
.grid > a.card .cardbody { font-size: 14px; }
.price { color: var(--heading); font-size: 26px; font-weight: 750; letter-spacing: -.03em; }
.badge { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 5px; background: var(--secondary); color: var(--badge-text); font-size: 10px; font-weight: 650; line-height: 1.5; letter-spacing: .035em; }
.status-success { background: var(--success); }
.status-pending { background: var(--pending); }
.status-paid { background: var(--paid); }
.status-cancel { background: var(--cancel); }
.sold { background: var(--sold-out); }
.detailimg { display: block; width: 100%; height: auto; max-height: 720px; object-fit: contain; object-position: center top; border: 1px solid var(--border); border-radius: 9px; background: var(--input); }
.cols > .panel > h1 { font-size: 28px; margin: 10px 0 18px; }
.cols > .panel > .price { padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.cols > .panel > .btn { margin-top: 12px; width: 100%; }
.cols > .panel > p:last-child { margin: 14px 0 0; font-size: 12px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0; }
.tabs a { padding: 8px 15px; border: 1px solid var(--border); border-radius: 6px; color: var(--muted); font-size: 12px; font-weight: 550; background: var(--bg-light); }
.tabs a:hover, .tabs a.is-active { color: var(--link); border-color: var(--primary); background: var(--hover); }
.filter { display: grid; grid-template-columns: minmax(180px,2fr) minmax(130px,1fr) minmax(140px,1fr) auto; gap: 12px; margin: 22px 0; }
.filter button { min-width: 86px; }
footer { padding: 24px 0; margin-top: auto; border-top: 1px solid var(--border); background: var(--footer); color: var(--muted); font-size: 12px; }
.logofooter { color: var(--heading); font-weight: 750; font-size: 16px; }
.admin { display: grid; grid-template-columns: 232px minmax(0,1fr); min-height: 100vh; }
.sidebar { display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; padding: 30px 15px 20px; overflow-y: auto; background: var(--navbar); border-right: 1px solid var(--border); }
.sidebar .brand { padding: 0 12px 29px; min-height: 60px; }
.sidebar-caption { padding: 7px 13px 14px; color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: .13em; }
.sidebar-menu { display: grid; gap: 6px; }
.sidebar-link { display: flex; align-items: center; gap: 12px; min-height: 45px; padding: 10px 13px; border: 1px solid transparent; border-radius: 7px; color: var(--muted); font-size: 13px; font-weight: 500; }
.sidebar-link .icon { width: 19px; height: 19px; opacity: .8; }
.sidebar-link:hover { color: var(--text); background: var(--hover); }
.sidebar-link.is-active { color: var(--link); border-color: color-mix(in srgb,var(--primary) 27%,transparent); background: color-mix(in srgb,var(--primary) 16%,var(--navbar)); font-weight: 650; }
.sidebar-link.is-active .icon { color: currentColor; opacity: 1; }
.sidebar > form { margin-top: auto; padding-top: 24px; }
.sidebar-logout { width: 100%; justify-content: flex-start; font-size: 12px; }
.adminmain { min-width: 0; padding: 31px 34px 60px; }
.admin-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 22px; margin-bottom: 6px; }
.admin-heading h1 { margin: 8px 0 0; font-size: 29px; }
.admin-heading .eyebrow { color: var(--muted); font-size: 9px; }
.view-store { font-size: 12px; padding: 8px 13px; min-height: 38px; }
.adminmain > .row.between { margin-bottom: 20px; }
.adminmain .filter { margin: 12px 0 22px; }
.adminmain .filter input, .adminmain .filter select { background: var(--bg-light); }
.stats { margin-top: 8px; }
.stats .panel { margin: 0; padding: 22px; }
.stats small { display: block; font-size: 11px; }
.stats strong { display: block; margin-top: 10px; font-size: clamp(23px,2.2vw,30px); line-height: 1.2; letter-spacing: -.035em; color: var(--heading); }
.tablewrap { padding: 0; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; line-height: 1.5; text-align: left; }
th, td { padding: 17px 20px; border-bottom: 1px solid var(--border); white-space: nowrap; vertical-align: middle; }
th { background: color-mix(in srgb,var(--hover) 50%,var(--bg-light)); color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: .035em; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: color-mix(in srgb,var(--hover) 35%,transparent); }
td > button { min-height: 33px; padding: 6px 12px; font-size: 11px; }
.panel:not(.tablewrap) > .tablewrap { border: 1px solid var(--border); border-radius: 7px; }
.empty-cell { height: 210px; text-align: center; white-space: normal; }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; }
.empty-state .icon { width: 33px; height: 33px; opacity: .55; }
.actions { display: flex; gap: 7px; align-items: center; }
.actions form { margin: 0; }
.actions button { min-height: 33px; padding: 6px 11px; font-size: 11px; }
.pagination { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.pagination a { display: inline-flex; align-items: center; padding: 8px 13px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-light); font-size: 12px; }
canvas { width: 100%; max-height: 280px; }
dialog { width: min(610px,calc(100vw - 32px)); max-height: min(88vh,900px); margin: auto; padding: 27px; overflow-y: auto; border: 1px solid var(--border); border-radius: 11px; background: var(--modal); color: var(--text); box-shadow: 0 20px 80px color-mix(in srgb,var(--bg-dark) 75%,transparent); }
dialog::backdrop { background: color-mix(in srgb,var(--bg-dark) 75%,transparent); backdrop-filter: blur(3px); }
dialog:not([open]) { display: none; }
.modalhead { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 18px; margin-bottom: 9px; border-bottom: 1px solid var(--border); }
.modalhead h2 { font-size: 20px; margin: 0; }
.modalhead button { width: 32px; min-height: 32px; padding: 0; font-size: 22px; }
dialog form > .spacer { margin-top: 23px; }
.colorgrid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px 24px; }
.colorrow { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 9px; }
.colorrow input:not([type="color"]) { font-family: ui-monospace,monospace; font-size: 12px; }
.adminmain > form > .panel { margin-bottom: 24px; }
@media(min-width:1500px) { .adminmain { padding-inline: 42px; } }
@media(max-width:1100px) {
 .admin { grid-template-columns: 208px minmax(0,1fr); }
 .adminmain { padding: 26px 24px 48px; }
 .grid { gap: 16px; }
 .stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .colorgrid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .filter { grid-template-columns: minmax(160px,2fr) minmax(100px,1fr) minmax(130px,1fr) auto; gap: 9px; }
 .cardbody { padding: 15px; }
}
@media(max-width:850px) {
 .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .cols { grid-template-columns: 1fr; gap: 22px; }
 .detailimg { max-height: none; }
 .admin { grid-template-columns: 185px minmax(0,1fr); }
 .sidebar { padding-inline: 10px; }
 .sidebar-link { gap: 9px; padding-inline: 10px; }
 .sidebar .brand { font-size: 21px; }
 .adminmain { padding-inline: 20px; }
 .adminmain .filter { grid-template-columns: 1fr 1fr; }
 .adminmain .filter input:first-child { grid-column: 1 / -1; }
 .adminmain .filter button { width: 100%; }
 .colorgrid, .formgrid { grid-template-columns: 1fr; }
 .navlinks { gap: 19px; }
 .panel { padding: 22px; }
 .tablewrap { padding: 0; }
 .filter { grid-template-columns: 1fr 1fr; }
 .filter input:first-child { grid-column: 1 / -1; }
 .filter button { grid-column: 1 / -1; }
}
@media(max-width:600px) {
 body { font-size: 13px; }
 .container { width: calc(100% - 32px); }
 .navinner { min-height: 0; padding-block: 18px 12px; gap: 15px; flex-wrap: wrap; }
 .brand { font-size: 23px; }
 .navlinks { width: 100%; justify-content: space-between; margin: 0; gap: 10px; }
 .navlinks a { padding: 6px 0; font-size: 11px; }
 .navlinks .icon { width: 16px; height: 16px; }
 .store-page main { padding-block: 24px 40px; }
 .hero { padding: 26px 22px; margin-bottom: 28px; }
 .hero h1 { font-size: 29px; }
 .hero p { font-size: 13px; }
 .hero .row { gap: 15px; }
 .sectionhead h2 { font-size: 19px; }
 .sectionhead a { font-size: 11px; }
 .grid { gap: 12px; }
 .thumb, .placeholder { height: 140px; }
 .grid > a.card .thumb, .grid > a.card .placeholder { height: 112px; }
 .grid > a.card .cardbody { font-size: 12px; }
 .cardbody { padding: 13px; }
 .card h3 { font-size: 14px; }
 .card .price { font-size: 17px; }
 .card .btn, .card button { font-size: 11px; padding-inline: 7px; }
 .card .icon { width: 16px; height: 16px; }
 .card .badge { font-size: 9px; }
 .panel { padding: 21px; border-radius: 8px; }
 .narrow { padding: 25px 22px; margin: 8px auto; }
 .cols > .panel > h1 { font-size: 25px; }
 .price { font-size: 25px; }
 footer .row { gap: 12px; }
 .admin { display: block; }
 .sidebar { position: sticky; z-index: 40; top: 0; height: auto; display: flex; flex-direction: row; align-items: center; padding: 9px; border-right: 0; border-bottom: 1px solid var(--border); overflow-x: auto; overflow-y: hidden; gap: 6px; }
 .sidebar .brand, .sidebar-caption { display: none; }
 .sidebar-menu { display: flex; gap: 5px; }
 .sidebar-link { min-height: 36px; white-space: nowrap; padding: 8px 11px; gap: 7px; font-size: 11px; }
 .sidebar-link .icon { width: 16px; height: 16px; }
 .sidebar > form { margin: 0; padding: 0; flex-shrink: 0; }
 .sidebar-logout { min-height: 36px; padding: 7px 11px; white-space: nowrap; font-size: 11px; }
 .adminmain { padding: 23px 16px 40px; }
 .admin-heading { gap: 10px; padding-bottom: 20px; }
 .admin-heading h1 { font-size: 26px; }
 .view-store { min-height: 34px; padding: 7px 10px; font-size: 10px; }
 .view-store .icon { width: 15px; height: 15px; }
 .stats { gap: 11px; }
 .stats .panel { padding: 18px 15px; }
 .stats strong { font-size: 22px; }
 .stats small { font-size: 10px; }
 .tablewrap { padding: 0; }
 th, td { padding: 14px 15px; }
 .empty-cell { height: 170px; }
 .filter { gap: 10px; }
 .adminmain .filter button { grid-column: auto; }
 dialog { padding: 22px; max-height: 90vh; }
 .colorgrid { grid-template-columns: 1fr; gap: 3px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; } }
/* Uploaded homepage banner and pointer hover. */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-content { position: relative; z-index: 2; }
.hero-with-banner { min-height: 320px; justify-content: center; }
.hero-with-banner::after { position: absolute; z-index: 1; inset: 0; content: ""; background: linear-gradient(90deg,color-mix(in srgb,var(--bg-dark) 96%,transparent),color-mix(in srgb,var(--bg-dark) 65%,transparent) 55%,color-mix(in srgb,var(--bg-dark) 22%,transparent)); }
.hero-banner { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.banner-preview { display: block; width: 100%; margin-top: 12px; max-height: 160px; aspect-ratio: 16 / 5; object-fit: cover; border: 1px solid var(--border); border-radius: 7px; }
.banner-help { display: block; margin-top: 8px; }
.store-page .grid > .card { position: relative; transform-style: preserve-3d; will-change: auto; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.store-page .grid > .card::after { position: absolute; inset: 0; z-index: 3; content: ""; pointer-events: none; opacity: 0; border-radius: inherit; background: radial-gradient(240px circle at var(--mouse-x,50%) var(--mouse-y,50%),color-mix(in srgb,var(--primary) 16%,transparent),transparent 75%); transition: opacity .2s; }
.store-page .grid > .card.pointer-active { transform: perspective(900px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) translateY(-4px); border-color: var(--primary); box-shadow: 0 12px 28px color-mix(in srgb,var(--bg-dark) 70%,transparent); }
.store-page .grid > .card.pointer-active::after { opacity: 1; }
.card:focus-within { border-color: var(--focus); }
@media(max-width:600px) { .hero-with-banner { min-height: 300px; }.hero-with-banner::after { background: color-mix(in srgb,var(--bg-dark) 78%,transparent); } }
@media(prefers-reduced-motion:reduce),(hover:none) { .store-page .grid > .card:hover,.store-page .grid > .card.pointer-active { transform: none; }.store-page .grid > .card::after { display: none; } }
/* Banner carousel and timed promotions. */
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.banner-carousel { position:relative;isolation:isolate;width:100%;margin:0 0 24px;overflow:hidden;border:1px solid var(--border);border-radius:11px;background:var(--bg-light);touch-action:pan-y; }
.banner-carousel:focus-visible { outline:2px solid var(--focus);outline-offset:4px; }
.banner-track { position:relative;aspect-ratio:16 / 5;min-height:180px; }
.banner-slide { position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .55s ease,visibility .55s;pointer-events:none; }
.banner-slide.is-active { opacity:1;visibility:visible;pointer-events:auto; }
.banner-slide img { display:block;width:100%;height:100%;object-fit:cover; }
.banner-link { display:block;width:100%;height:100%; }
.banner-caption { position:absolute;left:0;right:0;bottom:0;padding:48px 65px 54px;background:linear-gradient(transparent,color-mix(in srgb,var(--bg-dark) 92%,transparent));color:var(--heading);font-size:clamp(18px,2.5vw,30px);font-weight:750;letter-spacing:-.025em;pointer-events:none; }
.carousel-arrow { position:absolute;top:50%;z-index:3;min-height:38px;width:38px;padding:0;transform:translateY(-50%);border:1px solid var(--border);border-radius:50%;background:color-mix(in srgb,var(--bg-dark) 80%,transparent);color:var(--text); }
.carousel-prev { left:16px; }.carousel-next { right:16px; }.carousel-prev .icon { transform:rotate(180deg); }
.carousel-arrow:hover { background:var(--button); }.carousel-bottom { position:absolute;left:0;right:0;bottom:14px;z-index:3;display:flex;justify-content:center;align-items:center;gap:14px;pointer-events:none; }
.carousel-dots { display:flex;gap:7px;pointer-events:auto; }
.carousel-dot { width:9px;min-height:9px;height:9px;padding:0;border-radius:8px;background:var(--muted);border:0;opacity:.65; }
.carousel-dot.is-active { width:25px;background:var(--primary);opacity:1; }
.carousel-toggle { min-height:27px;padding:4px 10px;font-size:10px;border:1px solid var(--border);background:color-mix(in srgb,var(--bg-dark) 80%,transparent);color:var(--text);pointer-events:auto; }
.hero.hero-compact { padding:25px 30px;margin-bottom:28px;background:var(--bg-light); }
.hero-compact h1 { font-size:28px; }.hero-compact .row { margin-top:18px; }
.price-block { display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;margin:14px 0; }
.old-price { display:block;color:var(--muted);font-size:12px;text-decoration:line-through; }
.price-block .price { margin:0; }
.sale-badge { color:var(--badge-text);background:var(--primary);font-size:10px; }
.sale-clock { display:block;color:var(--link);font-size:11px;font-variant-numeric:tabular-nums;font-weight:600;margin:0 0 15px; }
.sale-ended { color:var(--muted);font-weight:400; }
.flash-section { border:1px solid var(--border);border-radius:11px;padding:23px;margin:0 0 30px;background:color-mix(in srgb,var(--primary) 5%,var(--bg-dark)); }
.flash-section .sectionhead { margin:0 0 19px; }.flash-section .eyebrow { margin-bottom:6px;color:var(--primary); }.sale-timezone { font-size:11px; }
.card .price-block { gap:7px;margin:8px 0 12px; }.card .price-block .price { font-size:19px; }.card .price-block .badge { margin:0;align-self:center; }.card .old-price { flex-basis:100%; }
.cols > .panel > .price-block { padding-bottom:17px;border-bottom:1px solid var(--border); }
.banner-table-image { width:140px;height:50px;object-fit:cover;border-radius:4px;border:1px solid var(--border); }
@media(max-width:600px) { .banner-track { aspect-ratio:16/7;min-height:155px; }.banner-carousel { border-radius:8px;margin-bottom:18px; }.carousel-arrow { width:30px;min-height:30px; }.carousel-prev { left:9px; }.carousel-next { right:9px; }.carousel-arrow .icon { width:16px;height:16px; }.banner-caption { padding:24px 42px 45px;font-size:18px; }.carousel-bottom { bottom:10px;gap:10px; }.carousel-dot { width:7px;height:7px;min-height:7px; }.carousel-dot.is-active { width:20px; }.hero.hero-compact { padding:23px 20px; }.hero-compact h1 { font-size:24px; }.flash-section { padding:16px 13px; }.flash-section .sectionhead h2 { font-size:20px; }.sale-timezone { display:none; }.card .price-block .price { font-size:16px; }.card .sale-clock { font-size:10px; }.old-price { font-size:11px; } }
@media(prefers-reduced-motion:reduce) { .banner-slide { transition:none; } }

[hidden] { display:none !important; }
/* Mobile menu, uncropped banner and square gallery images. */
.hamburger{display:none}.store-nav .navlinks{display:flex}
.banner-carousel:not(.product-gallery) .banner-track{aspect-ratio:auto;min-height:0}
.banner-carousel:not(.product-gallery) .banner-slide{height:auto}
.banner-carousel:not(.product-gallery) .banner-slide.is-active{position:relative}
.banner-carousel:not(.product-gallery) .banner-slide img{width:100%;height:auto;object-fit:contain}
.banner-carousel:not(.product-gallery) .banner-link{height:auto}
.store-page .grid>.card .thumb,.store-page .grid>.card .placeholder,.store-page .grid>a.card .thumb,.store-page .grid>a.card .placeholder{width:100%;height:auto;min-height:0;aspect-ratio:1/1;object-fit:contain;object-position:center;background:var(--input)}
.store-page .grid>.card>a{display:block}.product-gallery .banner-track{aspect-ratio:1/1;min-height:0}
.product-gallery .banner-slide{position:absolute;inset:0}.product-gallery .banner-slide img{display:block;width:100%;height:100%;object-fit:contain;background:var(--input)}.product-gallery .banner-link{height:100%}
.card-gallery{border:0;border-bottom:1px solid var(--border);border-radius:0;margin:0;flex-shrink:0}
.card-gallery .carousel-arrow{width:27px;min-height:27px}.card-gallery .carousel-prev{left:8px}.card-gallery .carousel-next{right:8px}.card-gallery .carousel-arrow .icon{width:15px;height:15px}
.card-gallery .carousel-bottom{bottom:8px;gap:8px}.card-gallery .carousel-toggle{font-size:9px;min-height:22px;padding:3px 6px}.card-gallery .carousel-dot{width:6px;height:6px;min-height:6px}.card-gallery .carousel-dot.is-active{width:16px}
.detail-gallery{margin:0}.flash-section .sectionhead{align-items:center;justify-content:flex-start;gap:16px}
.flash-heading-clock{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;margin:0;border:1px solid var(--border);border-radius:6px;background:var(--bg-light);color:var(--link);font-variant-numeric:tabular-nums}
.stock-photo-list,.upload-preview{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.stock-photo-list img,.upload-preview img{display:block;width:78px;height:78px;object-fit:contain;background:var(--input);border:1px solid var(--border);border-radius:6px}
@media(max-width:700px){
.store-nav .navinner{position:relative;display:flex;flex-wrap:wrap;align-items:center;min-height:72px;padding-block:16px;gap:0}
.hamburger{display:inline-flex;min-height:38px;margin-left:auto;padding:8px 11px;background:var(--bg-light);border:1px solid var(--border);color:var(--text);font-size:12px}.hamburger .icon{color:currentColor;width:18px;height:18px}
.store-nav .navlinks{display:none;width:100%;flex-direction:column;align-items:stretch;gap:0;margin:16px 0 0;padding:8px 0 0;border-top:1px solid var(--border)}.store-nav .navlinks.is-open{display:flex}
.store-nav .navlinks a{display:flex;align-items:center;gap:10px;padding:12px 10px;font-size:13px;border-radius:5px}.store-nav .navlinks a:hover{background:var(--hover)}
.flash-section .sectionhead{gap:12px;flex-wrap:wrap}.flash-heading-clock{font-size:11px;padding:6px 10px}
.banner-carousel:not(.product-gallery) .banner-track{min-height:0;aspect-ratio:auto}.banner-carousel:not(.product-gallery) .carousel-bottom{bottom:7px}.banner-caption{padding-bottom:40px}
}

/* Countdown beside the Flash Sale title. */
.flash-section .flash-sale-heading{display:block}
.flash-title-row{display:flex;align-items:center;gap:16px;flex-wrap:nowrap}
.flash-title-row h2{flex:none;white-space:nowrap}
.flash-title-row .flash-heading-clock{display:flex;align-items:flex-start;gap:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--text);font-variant-numeric:tabular-nums;flex:none}
.flash-time-unit{position:relative;display:flex;flex-direction:column;align-items:center;min-width:20px;gap:2px}
.flash-time-unit+ .flash-time-unit{margin-left:10px}
.flash-time-unit+ .flash-time-unit:before{content:':';position:absolute;left:-7px;top:0;font-size:14px;font-weight:800;line-height:1.2}
.flash-time-unit strong{font-size:14px;line-height:1.2;font-weight:800;color:inherit}
.flash-time-unit>span{font-size:7px;font-weight:600;letter-spacing:.2px;line-height:1.4;color:var(--muted)}
@media(max-width:600px){.flash-title-row{gap:12px}.flash-title-row h2{font-size:20px}.flash-time-unit{min-width:18px}.flash-time-unit strong,.flash-time-unit+ .flash-time-unit:before{font-size:13px}.flash-time-unit+ .flash-time-unit{margin-left:8px}.flash-time-unit+ .flash-time-unit:before{left:-6px}.flash-time-unit>span{font-size:6px}}
@media(max-width:350px){.flash-title-row{gap:10px}.flash-title-row h2{font-size:18px}.flash-time-unit{min-width:16px}.flash-time-unit strong,.flash-time-unit+ .flash-time-unit:before{font-size:12px}}

/* Compact product information. */
.store-page article.card .cardbody{display:flex;flex-direction:column;justify-content:flex-start;gap:0;padding:14px}
.store-page article.card .cardbody>small{display:block;margin:0 0 4px;line-height:1.3}
.store-page article.card .cardbody>h3{margin:0 0 6px;padding:0;line-height:1.3}
.store-page article.card .price-block{margin:0;padding:0;min-height:0;gap:4px}
.store-page article.card .price,.store-page article.card .old-price{margin:0;line-height:1.3}
.store-page article.card .cardbody>.badge{display:none}
.store-page article.card .cardbody>.btn,.store-page article.card .cardbody>button{margin-top:14px}
@media(max-width:600px){.store-page article.card .cardbody{padding:12px}}

/* Discount ribbon. */
.store-page .product-card .product-cover{position:relative;display:block;overflow:hidden;flex-shrink:0}
.store-page .product-card .discount-ribbon{position:absolute;top:0;right:0;z-index:4;display:block;width:94px;height:94px;padding:0;overflow:hidden;background:transparent;pointer-events:none}
.store-page .product-card .discount-ribbon>span{position:absolute;top:19px;right:-31px;display:block;width:132px;padding:6px 0;transform:rotate(45deg);background:var(--primary);color:var(--badge-text);font-size:12px;font-weight:800;line-height:1.2;text-align:center;box-shadow:0 3px 7px rgb(0 0 0 / 20%)}
.store-page .product-card .cardbody{display:flex;flex-direction:column;justify-content:flex-start;gap:0;padding:12px 14px 14px}
.store-page .product-card .cardbody>small{margin:0 0 3px;line-height:1.2}
.store-page .product-card .cardbody>h3{margin:0 0 2px;padding:0;line-height:1.25}
.store-page .product-card .cardbody>h3 a{display:block}
.store-page .product-card .price-block{margin:0;padding:0;gap:0;min-height:0}
.store-page .product-card .price-block>.price{margin:0;padding:0;line-height:1.2}
.store-page .product-card .old-price{display:none}
@media(max-width:600px){.store-page .product-card .cardbody{padding:10px 11px 12px}.store-page .product-card .discount-ribbon{width:80px;height:80px}.store-page .product-card .discount-ribbon>span{top:16px;right:-33px;width:120px;padding:5px 0;font-size:11px}}

/* Kartu produk */
.store-page .product-card {
    overflow: visible !important;
}

/* Gambar produk */
.store-page .product-card .product-cover {
    position: relative;
    display: block;
    flex-shrink: 0;
    isolation: isolate;
    overflow: visible !important;
    border-radius: 8px 8px 0 0;
}

.store-page .product-card .product-cover > .thumb,
.store-page .product-card .product-cover > .placeholder {
    border-radius: 8px 8px 0 0;
}

/* Wadah pita diskon */
.store-page .product-card .discount-ribbon {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 5;
    display: block !important;
    width: 80px !important;
    height: 80px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    pointer-events: none;
}

/* Lipatan atas */
.store-page .product-card .discount-ribbon::before {
    content: "";
    position: absolute;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 0;
    width: 10px !important;
    height: 6px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: color-mix(
        in srgb,
        var(--primary) 45%,
        #000
    ) !important;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

/* Lipatan samping kanan */
.store-page .product-card .discount-ribbon::after {
    content: "";
    position: absolute;
    top: auto !important;
    bottom: 0 !important;
    right: 0 !important;
    left: auto !important;
    z-index: 0;
    width: 6px !important;
    height: 10px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: color-mix(
        in srgb,
        var(--primary) 45%,
        #000
    ) !important;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* Bagian depan pita */
.store-page .product-card .discount-ribbon > span {
    position: absolute !important;
    top: 18px !important;
    right: -26px !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 1;
    display: block !important;
    width: 112px !important;
    margin: 0 !important;
    padding: 5px 0 !important;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--primary) 85%, #fff),
        var(--primary)
    ) !important;
    color: var(--badge-text) !important;
    border-top: 1px solid rgb(255 255 255 / 30%);
    border-bottom: 1px solid rgb(0 0 0 / 18%);
    font-size: 10px !important;
    font-weight: 800;
    line-height: 1.3 !important;
    text-align: center;
    white-space: nowrap;
    transform: rotate(45deg) !important;
    box-shadow: 0 3px 5px rgb(0 0 0 / 35%);
}

/* Informasi produk */
.store-page .product-card .cardbody {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 12px;
}

/* Kategori kiri, kode produk kanan */
.store-page .product-card .product-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    margin: 0 0 5px;
}

.store-page .product-card .product-category {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: var(--muted);
    font-size: clamp(9px, 1.8vw, 12px);
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.store-page .product-card .product-code {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 60%;
    margin-left: auto;
    color: var(--heading);
    font-size: clamp(10px, 2vw, 13px);
    font-weight: 700;
    line-height: 1.3;
    text-align: right;
    overflow-wrap: anywhere;
}

.store-page .product-card .product-code:hover {
    color: var(--link);
}

/* Harga rapat dan mengikuti warna pita */
.store-page .product-card .price-block {
    min-height: 0;
    margin: 0 !important;
    padding: 0;
    gap: 0;
}

.store-page .product-card .price-block > .price {
    margin: 0 !important;
    padding: 0;
    color: var(--primary) !important;
    line-height: 1.2;
}

.store-page .product-card .old-price {
    display: none;
}

/* SOLD OUT menimpa gambar */
.store-page .product-card .product-stock-overlay {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 8px 8px 0 0;
    background: rgb(0 0 0 / 55%);
    pointer-events: none;
}

.store-page .product-card .product-stock-overlay > span {
    max-width: 100%;
    padding: 7px 14px;
    border: 2px solid #fff;
    border-radius: 4px;
    color: #fff;
    font-size: clamp(14px, 2.5vw, 23px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .06em;
    text-align: center;
    text-transform: uppercase;
    transform: rotate(-10deg);
}

/* Tampilan HP */
@media (max-width: 600px) {
    .store-page .product-card .cardbody {
        padding: 10px;
    }

    .store-page .product-card .product-meta {
        gap: 6px;
        margin-bottom: 4px;
    }

    .store-page .product-card .product-stock-overlay > span {
        padding: 6px 10px;
    }
}

.store-page .product-card .product-cover {
    position: relative !important;
    display: block !important;
}

.store-page .product-card .product-stock-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 6 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 12px !important;
    background: rgb(0 0 0 / 55%) !important;
    border-radius: 8px 8px 0 0;
    pointer-events: none;
}

.store-page .product-card .product-stock-overlay > span {
    display: block !important;
    margin: 0 !important;
    padding: 7px 14px !important;
    border: 2px solid #fff !important;
    border-radius: 4px;
    color: #fff !important;
    background: transparent !important;
    font-size: clamp(14px, 2.5vw, 23px) !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    letter-spacing: .06em;
    text-align: center;
    transform: rotate(-10deg) !important;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 18px;
    font-size: clamp(11px, 2vw, 14px);
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.product-breadcrumb > a {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.product-breadcrumb svg {
    display: block;
    flex-shrink: 0;
}

/* Product checkout layout. */
.checkout-product{margin-top:32px;scroll-margin-top:24px}
.checkout-page-heading{margin-bottom:20px}
.checkout-page-heading .eyebrow{margin-bottom:7px}
.checkout-page-heading h2{margin:0;font-size:24px}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:28px;align-items:start}
.checkout-main,.checkout-sidebar{min-width:0}
.checkout-main{display:grid;gap:24px}
.checkout-sidebar{position:sticky;top:24px;display:grid;gap:16px;align-self:start}
.checkout-box{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:11px;background:var(--bg-light)}
.checkout-box-heading{display:flex;align-items:center;gap:14px;min-height:49px;padding:0 18px;background:var(--hover);border-bottom:1px solid var(--border)}
.checkout-box-heading h3{margin:0;font-size:14px;font-weight:700;letter-spacing:0;line-height:1.4}
.checkout-box-heading>.icon{color:var(--primary);width:20px;height:20px}
.checkout-box-heading:has(.checkout-step){padding-left:0}
.checkout-step{display:flex;align-items:center;justify-content:center;align-self:stretch;flex:0 0 44px;background:var(--primary);color:var(--badge-text);font-size:16px;font-weight:800}
.checkout-box-body{padding:20px}
.checkout-payments{display:grid;gap:12px;min-width:0;margin:0;padding:0;border:0}
.payment-option{position:relative;min-width:0}
.payment-option>input[type="radio"]{position:absolute;width:1px;height:1px;min-height:0;opacity:0;clip-path:inset(50%);margin:0;overflow:hidden}
.checkout-product .payment-card{position:relative;display:flex;align-items:center;gap:14px;min-height:94px;margin:0;padding:18px;border:1px solid var(--border);border-radius:10px;background:var(--input);color:var(--text);cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}
.payment-card:hover{border-color:var(--primary)}
.payment-option>input:checked+.payment-card{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 9%,var(--input));box-shadow:inset 0 0 0 1px var(--primary)}
.payment-option>input:focus-visible+.payment-card{outline:2px solid var(--focus);outline-offset:3px}
.payment-symbol{display:flex;align-items:center;justify-content:center;flex:0 0 44px;height:44px;background:var(--bg-light);border:1px solid var(--border);border-radius:9px;color:var(--primary)}
.payment-copy{display:grid;gap:5px;flex:1;min-width:0}
.payment-copy strong{color:var(--heading);font-size:14px;font-weight:700;overflow-wrap:anywhere}
.payment-copy small{font-size:11px;color:var(--muted);font-weight:400}
.payment-check{display:flex;align-items:center;justify-content:center;flex:0 0 20px;height:20px;border:1px solid var(--border);border-radius:50%;color:transparent}
.payment-option>input:checked+.payment-card .payment-check{border-color:var(--primary);background:var(--primary);color:var(--badge-text)}
.checkout-product .checkout-hint{margin:14px 0 0;color:var(--muted);font-size:11px;line-height:1.7}
.checkout-contact>label:first-child{margin-top:0}
.checkout-contact>label{margin:17px 0 7px;color:var(--text);font-size:12px}
.checkout-contact input{min-height:45px;font-size:13px}
.checkout-contact-note{display:flex;align-items:flex-start;gap:9px;margin-top:17px;padding:11px 12px;border:1px solid var(--border);border-radius:7px;color:var(--muted);font-size:11px;line-height:1.65}
.checkout-contact-note svg{flex-shrink:0;margin-top:1px;color:var(--primary)}
.checkout-summary h4{margin:5px 0 20px;font-size:17px;line-height:1.4;overflow-wrap:anywhere}
.checkout-summary-line{display:flex;justify-content:space-between;align-items:baseline;gap:15px;margin:11px 0;color:var(--muted);font-size:12px}
.checkout-summary-line strong{min-width:0;max-width:65%;color:var(--text);text-align:right;overflow-wrap:anywhere}
.checkout-summary-total{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-top:18px;margin-top:18px;border-top:1px solid var(--border);font-size:12px;color:var(--muted)}
.checkout-summary-total strong{color:var(--primary);font-size:clamp(18px,2vw,24px);font-weight:800;line-height:1.3;text-align:right;overflow-wrap:anywhere}
.checkout-product .checkout-terms{display:flex;align-items:flex-start;gap:10px;margin:20px 0 17px;color:var(--muted);font-size:11px;font-weight:400;line-height:1.7}
.checkout-terms input{flex:0 0 17px;margin-top:3px}
.checkout-product .checkout-submit{display:flex;width:100%;min-height:45px;gap:9px;font-size:13px}
.checkout-reservation-note{margin:12px 0 0;text-align:center;font-size:10px;line-height:1.7;color:var(--muted)}
.checkout-help{display:flex;align-items:center;gap:13px;padding:18px 20px;border:1px solid var(--border);border-radius:10px;background:var(--bg-light)}
.checkout-help>svg{flex-shrink:0;color:var(--primary)}
.checkout-help>div{min-width:0;display:grid;gap:3px}
.checkout-help strong{font-size:12px;color:var(--heading)}
.checkout-help a{font-size:11px;line-height:1.6}
@media(max-width:1000px){.checkout-layout{grid-template-columns:minmax(0,1fr) minmax(260px,310px);gap:20px}.checkout-box-body{padding:17px}.payment-card{gap:10px}}
@media(max-width:760px){.checkout-layout{grid-template-columns:minmax(0,1fr);gap:20px}.checkout-sidebar{position:static;top:auto}.checkout-main{gap:20px}.checkout-product{margin-top:26px}.checkout-page-heading h2{font-size:22px}}
@media(max-width:420px){.checkout-box-body{padding:15px}.checkout-product .payment-card{min-height:82px;padding:14px;gap:10px}.payment-copy strong{font-size:13px}.payment-copy small{font-size:10px}.payment-symbol{flex-basis:36px;height:36px}.checkout-summary-total strong{font-size:21px}.checkout-box-heading{gap:11px}.checkout-contact-note{padding:10px}}
@media (max-width: 760px) {
    .checkout-product .checkout-submit {
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        z-index: 100;
        width: auto;
        min-height: 48px;
        margin: 0;
        border-radius: 10px;
        box-shadow:
            0 6px 24px rgb(0 0 0 / 40%),
            0 0 0 8px var(--bg-dark);
    }

    /* Ruang agar tombol tidak menutupi akhir halaman */
    body.store-page:has(.checkout-submit) {
        padding-bottom: calc(
            84px + env(safe-area-inset-bottom, 0px)
        );
    }
}

/* Ringkasan yang bisa dibuka dan ditutup */
.order-summary-toggle {
    min-width: 0;
}

.order-summary-toggle > summary {
    display: flex;
    align-items: center;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.order-summary-toggle > summary::-webkit-details-marker {
    display: none;
}

.order-summary-toggle > summary::marker {
    content: "";
}

.order-summary-toggle > summary:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: -3px;
}

.order-summary-title {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 700;
}

.order-summary-chevron {
    flex-shrink: 0;
    transition: transform .2s;
}

/* Tertutup: v. Terbuka: ^ */
.order-summary-toggle[open] .order-summary-chevron {
    transform: rotate(180deg);
}

.order-summary-actions {
    padding: 0 20px 20px;
}

.checkout-product .order-summary-actions .checkout-terms {
    margin: 14px 0;
}

/* Menggantikan CSS tombol fixed sebelumnya */
.checkout-product .order-summary-actions .checkout-submit {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    margin: 0 !important;
    box-shadow: none !important;
}

/* HP: seluruh ringkasan menempel di bawah layar */
@media (max-width: 760px) {
    .checkout-product .checkout-sidebar {
        position: fixed !important;
        top: auto !important;
        left: 12px;
        right: 12px;
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        z-index: 100;
        display: block;
    }

    .checkout-product .checkout-summary {
        margin: 0;
        border-radius: 12px;
        box-shadow: 0 8px 35px rgb(0 0 0 / 50%);
    }

    .order-summary-toggle > summary {
        min-height: 46px;
        padding: 0 14px;
    }

    .order-summary-title {
        font-size: 12px;
    }

    .checkout-product .order-summary-content {
        max-height: 35vh;
        max-height: 35dvh;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 14px;
    }

    .checkout-product .order-summary-content h4 {
        margin-bottom: 12px;
        font-size: 14px;
    }

    .order-summary-actions {
        padding: 0 14px 14px;
    }

    .checkout-product .order-summary-actions .checkout-terms {
        margin: 10px 0;
        font-size: 10px;
    }

    .checkout-product .checkout-sidebar > .checkout-help {
        display: none;
    }

    body.store-page:has(.checkout-submit) {
        padding-bottom: calc(
            210px + env(safe-area-inset-bottom, 0px)
        );
    }
}

/* Navbar lebih slim */
.store-nav .navinner {
    min-height: 62px;
    padding-block: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 20px;
}

.store-nav .brand {
    min-width: 0;
    font-size: 21px;
}

.store-nav .brand img {
    max-height: 34px;
    max-width: 140px;
    width: auto;
    object-fit: contain;
}

.desktop-navlinks {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
}

.desktop-navlinks a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.desktop-navlinks a:hover {
    color: var(--primary);
}

.desktop-navlinks .icon {
    width: 17px;
    height: 17px;
}

.mobile-menu-button {
    display: none;
}

/* Panel kanan */
dialog.mobile-store-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(310px, 86vw);
    max-width: none;
    height: 100%;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-left: 1px solid var(--border);
    border-radius: 0;
    background: var(--navbar);
    color: var(--text);
    overflow: hidden;
    transform: translateX(100%);
    transition: transform .22s ease;
    box-shadow: -12px 0 35px rgb(0 0 0 / 25%);
}

dialog.mobile-store-drawer[open] {
    display: flex;
    flex-direction: column;
}

dialog.mobile-store-drawer.is-open {
    transform: translateX(0);
}

dialog.mobile-store-drawer::backdrop {
    background: rgb(0 0 0 / 60%);
    backdrop-filter: blur(3px);
}

.drawer-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    min-height: 58px;
    padding: 10px 18px;
    border-bottom: 1px solid var(--border);
}

.drawer-heading strong {
    color: var(--heading);
    font-size: 13px;
}

.drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    min-height: 34px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
}

.drawer-close:hover {
    background: var(--hover);
    color: var(--heading);
}

.drawer-content {
    flex: 1;
    min-height: 0;
    padding: 16px 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.drawer-support {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px;
    margin-bottom: 17px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: color-mix(
        in srgb,
        var(--primary) 10%,
        var(--bg-light)
    );
}

.drawer-support > svg {
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    color: var(--primary);
}

.drawer-support > span {
    display: grid;
    gap: 2px;
}

.drawer-support strong {
    color: var(--heading);
    font-size: 12px;
}

.drawer-support small {
    font-size: 10px;
    line-height: 1.5;
}

.drawer-links {
    display: grid;
    gap: 5px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.drawer-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 45px;
    padding: 11px 13px;
    border-radius: 7px;
    color: var(--muted);
    font-size: 12px;
}

.drawer-links a:hover {
    background: var(--hover);
    color: var(--heading);
}

.drawer-links svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--icon);
}

.drawer-footer {
    flex-shrink: 0;
    padding: 15px;
    padding-bottom: calc(15px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 10px;
    text-align: center;
}

body.store-menu-open {
    overflow: hidden;
}

@media (max-width: 700px) {
    .store-nav .navinner {
        min-height: 56px;
        padding-block: 8px;
        gap: 12px;
    }

    .store-nav .brand img {
        max-height: 30px;
        max-width: 125px;
    }

    .desktop-navlinks {
        display: none;
    }

    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 38px;
        min-height: 38px;
        margin-left: auto;
        padding: 0;
        border: 1px solid var(--border);
        border-radius: 7px;
        background: var(--bg-light);
        color: var(--heading);
    }

    .mobile-menu-button:hover {
        background: var(--hover);
        color: var(--primary);
    }
}

@media (prefers-reduced-motion: reduce) {
    dialog.mobile-store-drawer {
        transition: none;
    }
}

.catalog-filter-toggle {
    margin: 20px 0;
}

.catalog-filter-toggle > summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 16px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: var(--bg-light);
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.catalog-filter-toggle > summary::-webkit-details-marker {
    display: none;
}

.catalog-filter-toggle > summary::marker {
    content: "";
}

.catalog-filter-toggle > summary:hover,
.catalog-filter-toggle[open] > summary {
    border-color: var(--primary);
    color: var(--primary);
}

.catalog-filter-toggle > summary:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
}

.catalog-filter-toggle > summary svg {
    flex-shrink: 0;
}

.catalog-filter-toggle > .filter {
    margin: 14px 0 0;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-light);
}
.catalog-filter-toggle > summary {
    display: flex;
    width: fit-content;
    margin-left: auto;
    flex-direction: row;
}

/* Tombol filter rata kanan */
.catalog-filter-toolbar {
    display: flex;
    justify-content: flex-end;
    margin: 18px 0;
}

.catalog-filter-button {
    gap: 8px;
    min-height: 40px;
}

.catalog-filter-button svg {
    flex-shrink: 0;
}

/* Popup filter */
dialog.catalog-filter-modal {
    width: min(540px, calc(100vw - 28px));
    max-height: 85vh;
    max-height: 85dvh;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--modal);
}

dialog.catalog-filter-modal[open] {
    display: flex;
    flex-direction: column;
}

.catalog-filter-modal::backdrop {
    background: rgb(0 0 0 / 65%);
    backdrop-filter: blur(4px);
}

.catalog-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    gap: 15px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-light);
}

.catalog-filter-header h2 {
    margin: 0;
    font-size: 16px;
}

.catalog-filter-close {
    width: 32px;
    min-height: 32px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--text);
}

.catalog-filter-close:hover {
    background: var(--hover);
    color: var(--primary);
}

.catalog-filter-form {
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin: 0;
}

.catalog-filter-body {
    min-height: 0;
    padding: 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.catalog-filter-body > label:first-child {
    margin-top: 0;
}

.catalog-filter-body label,
.catalog-price-range legend {
    color: var(--heading);
    font-size: 12px;
    font-weight: 600;
}

.catalog-price-range {
    min-width: 0;
    margin: 20px 0 0;
    padding: 0;
    border: 0;
}

.catalog-price-range legend {
    margin-bottom: 8px;
    padding: 0;
}

.catalog-price-inputs {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.catalog-price-inputs > span {
    color: var(--muted);
}

.catalog-filter-footer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    flex-shrink: 0;
    gap: 10px;
    padding: 14px 18px;
    border-top: 1px solid var(--border);
    background: var(--bg-light);
}

@media (max-width: 600px) {
    .catalog-filter-header,
    .catalog-filter-body,
    .catalog-filter-footer {
        padding: 14px;
    }

    .catalog-filter-body input,
    .catalog-filter-body select {
        font-size: 16px;
    }
}
/* Kartu subkategori mendatar */
.subcategory-cards {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 10px;
    margin: 20px 0;
    padding: 3px;
}

.subcategory-card {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 72px;
    padding: 13px 42px 13px 13px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: linear-gradient(
        130deg,
        var(--bg-light),
        color-mix(in srgb, var(--primary) 8%, var(--bg-light))
    );
    color: var(--text);
    transition:
        border-color .18s,
        background .18s,
        box-shadow .18s;
}

.subcategory-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.subcategory-copy strong {
    color: var(--heading);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.subcategory-copy small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

.subcategory-symbol {
    position: absolute;
    right: 7px;
    bottom: -3px;
    width: 34px;
    height: 34px;
    color: var(--primary);
    opacity: .45;
    transform: rotate(-12deg);
    pointer-events: none;
}

.subcategory-card:hover,
.subcategory-card.is-active {
    border-color: var(--primary);
    background: color-mix(
        in srgb,
        var(--primary) 14%,
        var(--bg-light)
    );
}

.subcategory-card.is-active {
    box-shadow: 0 0 0 1px var(--primary);
}

.subcategory-card.is-active .subcategory-copy strong {
    color: var(--primary);
}

.subcategory-card.is-active .subcategory-symbol {
    opacity: 1;
}

/* HP: geser horizontal */
@media (max-width: 760px) {
    .subcategory-cards {
        grid-auto-columns: 150px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
        scrollbar-color: var(--border) transparent;
        padding-bottom: 8px;
    }

    .subcategory-card {
        min-height: 66px;
        scroll-snap-align: start;
    }

    .subcategory-copy strong {
        font-size: 11px;
    }

    .subcategory-copy small {
        font-size: 10px;
    }
}
.store-page .product-card .product-title-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 3px;
}

.store-page .product-card .product-title {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: var(--heading);
    font-size: clamp(11px, 1.4vw, 14px);
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.store-page .product-card .product-title:hover {
    color: var(--primary);
}

.store-page .product-card .product-title-price .price-block {
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 0 !important;
    text-align: right;
}

.store-page .product-card .product-title-price .price {
    margin: 0;
    color: var(--primary) !important;
    font-size: clamp(12px, 1.6vw, 17px);
    font-weight: 800;
    line-height: 1.35;
    white-space: nowrap;
}

.store-page .nat-footer {
    margin-top: 64px;
    padding: 48px 0 24px;
    border-top: 1px solid var(--border, #30333b);
    background: var(--bg-dark, var(--bg, #101218));
    color: var(--text, #e5e7eb);
}

.store-page .nat-footer-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.6fr)
        minmax(0, 1.2fr)
        minmax(0, .8fr)
        minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.store-page .nat-footer-grid > * {
    min-width: 0;
}

.store-page .nat-footer-logo {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin-bottom: 18px;
    color: var(--heading);
    font-size: 24px;
    text-decoration: none;
}

.store-page .nat-footer-logo img {
    display: block;
    width: auto;
    max-width: 190px;
    height: 48px;
    object-fit: contain;
    object-position: left center;
}

.store-page .nat-footer-description {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.store-page .nat-footer-title {
    margin: 0 0 16px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.store-page .nat-footer-subtitle {
    margin-top: 26px;
}

.store-page .nat-footer-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 15px;
    border: 1px solid var(--border, #30333b);
    border-radius: 12px;
    background: var(--panel, transparent);
    color: var(--heading);
    text-decoration: none;
    transition:
        border-color .2s ease,
        color .2s ease;
}

.store-page .nat-footer-contact-label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
}

.store-page .nat-footer-contact-label svg {
    flex-shrink: 0;
    width: 21px;
    height: 21px;
    color: var(--primary);
}

.store-page .nat-footer-contact:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.store-page .nat-footer-note {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.store-page .nat-footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.store-page .nat-footer-links a,
.store-page .nat-footer-bottom-links a {
    color: var(--text, #e5e7eb);
    font-size: 12px;
    line-height: 1.5;
    text-decoration: none;
    transition: color .2s ease;
}

.store-page .nat-footer-links a:hover,
.store-page .nat-footer-bottom-links a:hover {
    color: var(--primary);
}

.store-page .nat-footer-payment {
    margin-top: 24px;
    padding: 16px;
    border: 1px solid var(--border, #30333b);
    border-radius: 12px;
}

.store-page .nat-footer-payment h3 {
    margin: 0 0 12px;
    color: var(--heading);
    font-size: 13px;
    font-weight: 700;
}

.store-page .nat-footer-channels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.store-page .nat-footer-channels span {
    padding: 6px 9px;
    border: 1px solid var(--border, #30333b);
    border-radius: 6px;
    color: var(--heading);
    font-size: 10px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.store-page .nat-footer-payment small {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

.store-page .nat-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid var(--border, #30333b);
}

.store-page .nat-footer-bottom p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}

.store-page .nat-footer-bottom strong {
    color: var(--heading);
}

.store-page .nat-footer-bottom-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.store-page .nat-footer-bottom-links span {
    color: var(--muted);
    font-size: 11px;
}

@media (max-width: 1000px) {
    .store-page .nat-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .store-page .nat-footer {
        margin-top: 40px;
        padding-top: 30px;
    }

    .store-page .nat-footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .store-page .nat-footer-logo img {
        max-width: 160px;
        height: 42px;
    }

    .store-page .nat-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 28px;
    }

    .store-page .nat-footer-bottom-links {
        gap: 16px;
    }
}
/* Navbar dua baris; warna mengikuti tema admin. */
.store-nav.ns-store-header { background:var(--bg-dark, var(--panel, #12151c)); border-bottom:1px solid var(--border); }
.ns-store-header .navinner { min-height:64px; padding-block:10px; gap:22px; flex-wrap:nowrap; }
.ns-store-header .brand { flex:0 0 auto; }
.ns-store-header .brand img { display:block; width:auto; height:34px; max-width:150px; object-fit:contain; }
.ns-nav-search { display:flex; align-items:center; gap:10px; flex:1; min-width:0; margin:0; padding:0 5px 0 14px; height:38px; border:1px solid var(--border); border-radius:24px; background:var(--bg-light, var(--panel, #191c24)); }
.ns-nav-search > svg { width:18px; height:18px; flex-shrink:0; color:var(--muted); }
.ns-nav-search input { flex:1; min-width:0; width:100%; height:100%; margin:0; padding:0; border:0; border-radius:0; outline:none; box-shadow:none; background:transparent; color:var(--heading); font-size:12px; }
.ns-nav-search:focus-within { border-color:var(--primary); }
.ns-nav-search button { width:auto; min-height:28px; height:28px; margin:0; padding:0 13px; border-radius:18px; font-size:11px; }
.ns-nav-locale { flex-shrink:0; border:1px solid var(--border); border-radius:22px; padding:8px 14px; font-size:11px; font-weight:700; color:var(--heading); }
.ns-nav-bottom { border-top:1px solid var(--border); }
.ns-store-header .desktop-navlinks { display:flex; align-items:center; justify-content:flex-start; gap:24px; min-height:42px; margin-inline:auto; }
.ns-store-header .desktop-navlinks a { position:relative; display:inline-flex; align-items:center; gap:8px; min-height:42px; padding:0 2px; color:var(--muted); font-size:12px; font-weight:600; text-decoration:none; }
.ns-store-header .desktop-navlinks a > svg { width:17px; height:17px; flex-shrink:0; }
.ns-store-header .desktop-navlinks a:hover,.ns-store-header .desktop-navlinks a.is-active { color:var(--primary); }
.ns-store-header .desktop-navlinks a.is-active::after { content:""; position:absolute; bottom:0; left:0; right:0; height:2px; background:var(--primary); }
.ns-store-header .desktop-navlinks .ns-nav-help { margin-left:auto; }
.ns-drawer-search { margin:0 0 20px; }
.ns-drawer-search label { display:block; margin:0 0 8px; font-size:12px; color:var(--muted); }
.ns-drawer-search > div { display:flex; gap:7px; }
.ns-drawer-search input { min-width:0; flex:1; margin:0; font-size:12px; }
.ns-drawer-search button { display:inline-flex; align-items:center; justify-content:center; flex:0 0 40px; width:40px; margin:0; padding:0; }
@media(max-width:700px) {
 .ns-store-header .navinner { min-height:56px; padding-block:9px; gap:12px; }
 .ns-store-header .brand img { height:30px; max-width:130px; }
 .ns-store-header .ns-nav-search,.ns-store-header .ns-nav-locale,.ns-store-header .ns-nav-bottom { display:none; }
 .ns-store-header .mobile-menu-button { display:inline-flex; width:36px; min-height:36px; height:36px; margin-left:auto; border-radius:8px; }
}

/* Ikon mewarisi warna tautan aktif dan pintasan pencarian. */
.ns-store-header .desktop-navlinks a > svg { color:inherit; }
.ns-store-header .ns-nav-search .ns-search-shortcut { display:inline-flex; align-items:center; justify-content:center; min-width:53px; padding:0 8px; border:1px solid var(--border); border-radius:6px; background:transparent; color:var(--muted); box-shadow:none; }
.ns-search-shortcut kbd { font:inherit; font-size:10px; white-space:nowrap; }
.ns-store-header .ns-nav-search .ns-search-shortcut:hover { color:var(--heading); border-color:var(--primary); }
.ns-mobile-search { display:none; }
.ns-mobile-search-panel[hidden] { display:none!important; }
.ns-mobile-search-panel { display:none; }
@media(max-width:700px) {
 .ns-store-header .ns-mobile-search { display:inline-flex; align-items:center; justify-content:center; flex:0 0 36px; width:36px; height:36px; min-height:36px; margin:0 0 0 auto; padding:0; border:1px solid var(--border); border-radius:50%; background:var(--bg-light,var(--panel,#191c24)); color:var(--muted); }
 .ns-store-header .ns-mobile-search:hover { color:var(--primary); }
 .ns-store-header .mobile-menu-button { margin-left:0; }
 .ns-mobile-search-panel { display:block; padding-bottom:12px; }
 .ns-mobile-search-panel form { display:flex; gap:8px; margin:0; }
 .ns-mobile-search-panel input { flex:1; min-width:0; margin:0; font-size:13px; }
 .ns-mobile-search-panel button { display:inline-flex; align-items:center; justify-content:center; width:40px; flex:0 0 40px; margin:0; padding:0; }
}

/* Gunakan font yang sama untuk teks dan kontrol formulir. */
button,
input,
select,
textarea {
    font-family: inherit;
}

/* Satu garis bergerak untuk navigasi desktop. */
.ns-store-header .desktop-navlinks.has-sliding-line {
    position: relative;
}

.ns-store-header .desktop-navlinks.has-sliding-line a::after {
    content: none;
    display: none;
}

.ns-store-header .desktop-navlinks > .ns-nav-indicator {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: var(--primary);
    opacity: 0;
    pointer-events: none;
    transform: translateX(0);
}

.ns-store-header .desktop-navlinks.line-ready > .ns-nav-indicator {
    transition:
        transform .24s ease,
        width .24s ease,
        opacity .15s ease;
}

@media (prefers-reduced-motion: reduce) {
    .ns-store-header .desktop-navlinks.line-ready > .ns-nav-indicator {
        transition: none;
    }
}
