:root {
  color-scheme: light;
  --canvas: #f6f7f8;
  --surface: #fff;
  --surface-soft: #fbfbfc;
  --ink: #17191f;
  --ink-strong: #0e1014;
  --muted: #70747d;
  --line: rgba(20, 22, 27, .1);
  --line-strong: rgba(20, 22, 27, .16);
  --orange: #ef6426;
  --orange-dark: #ce482f;
  --orange-soft: #fff2e9;
  --blue: #1769e8;
  --green: #14854b;
  --shadow: 0 10px 36px rgba(24, 28, 36, .07);
  --radius-card: 18px;
  --radius-panel: 24px;
  --radius-control: 12px;
  --content: 1280px;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-size: 14px; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(23, 105, 232, .42); outline-offset: 2px; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; z-index: 50; top: 8px; left: 8px; padding: 12px 16px; color: white; background: var(--ink); border-radius: 10px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.preview-note { min-height: 30px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 6px 12px; color: #555b63; background: #f0f1f3; font-size: 11px; text-align: center; }
.preview-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.site-header { position: sticky; z-index: 20; top: 0; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-main { max-width: var(--content); min-height: 78px; margin: auto; padding: 12px 24px; display: grid; grid-template-columns: 176px minmax(280px, 1fr) auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-size: 21px; font-weight: 800; letter-spacing: -.9px; }
.brand-mark { position: relative; display: grid; width: 36px; height: 36px; place-items: center; overflow: hidden; color: white; background: linear-gradient(145deg, #ff9a32, #ef6426 55%, #ce482f); border-radius: 12px; box-shadow: 0 5px 12px rgba(239,100,38,.22); }
.brand-mark::after { position: absolute; top: -8px; right: -5px; width: 20px; height: 20px; content: ''; background: rgba(255,255,255,.25); border-radius: 50%; }
.brand-mark span { z-index: 1; font-size: 17px; }
.search-wrap { position: relative; width: 100%; }
.search-form { height: 46px; display: flex; align-items: center; gap: 11px; padding: 0 15px; background: #f5f6f7; border: 1px solid transparent; border-radius: 14px; transition: border-color .18s ease, background .18s ease; }
.search-form:focus-within { background: white; border-color: rgba(239,100,38,.5); }
.search-icon { flex: 0 0 auto; color: #6c737d; font-size: 18px; }
.search-form input { width: 100%; min-width: 0; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: 13px; }
.search-form input::placeholder { color: #8b9097; }
.search-key { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 5px; color: #8b9097; font-size: 10px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-link { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 12px; color: #4b5058; font-size: 12px; font-weight: 600; white-space: nowrap; }
.icon-button { position: relative; width: 42px; height: 42px; display: grid; place-items: center; background: transparent; border: 1px solid transparent; border-radius: 13px; cursor: pointer; font-size: 18px; }
.icon-glyph { width: 20px; height: 20px; }
.icon-button:hover { background: #f7f7f8; border-color: var(--line); }
.cart-count { position: absolute; top: 0; right: 0; min-width: 17px; height: 17px; display: grid; place-items: center; padding: 0 4px; color: white; background: #df2436; border: 2px solid white; border-radius: 99px; font-size: 9px; font-weight: 800; }
.cart-count[hidden] { display: none; }
.auth-actions { display: flex; align-items: center; gap: 8px; margin-left: 2px; }
.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 17px; background: white; border: 1px solid var(--line-strong); border-radius: var(--radius-control); cursor: pointer; font-size: 12px; font-weight: 700; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 5px 14px rgba(20,22,27,.08); }
.button-primary { color: white; background: linear-gradient(120deg,#f77a24,#df4f2c); border-color: transparent; }
.button-primary:hover { background: linear-gradient(120deg,#ed6e20,#c8472d); }
.button-quiet { color: var(--ink); background: transparent; border-color: transparent; }
.button-small { min-height: 36px; padding-inline: 13px; }
.desktop-nav { max-width: var(--content); height: 43px; display: flex; align-items: center; gap: 27px; margin: auto; padding: 0 24px; color: #656a73; font-size: 11px; font-weight: 600; }
.desktop-nav a:hover, .header-link:hover { color: var(--orange-dark); }
.desktop-nav .nav-spacer { flex: 1; }
.desktop-nav .nav-feature { color: var(--orange-dark); }
.mobile-top { display: none; }
.mobile-search-row { display: none; }
.search-suggestions { position: absolute; z-index: 25; top: calc(100% + 8px); left: 0; right: 0; display: none; padding: 8px; background: white; border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); }
.search-suggestions.open { display: block; }
.suggestion-caption { padding: 7px 10px; color: var(--muted); font-size: 10px; font-weight: 700; }
.suggestion-option { width: 100%; min-height: 40px; display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: white; border: 0; border-radius: 9px; cursor: pointer; text-align: left; }
.suggestion-option:hover, .suggestion-option:focus-visible { background: #f6f7f8; }
.suggestion-mark { width: 28px; height: 28px; display: grid; place-items: center; background: var(--orange-soft); border-radius: 8px; font-size: 13px; }
.suggestion-text { min-width: 0; flex: 1; }
.suggestion-text strong { display: block; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.suggestion-text small { color: var(--muted); font-size: 10px; }
.page-container { max-width: var(--content); margin: auto; padding: 24px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--muted); font-size: 11px; }
.breadcrumbs a:hover { color: var(--orange-dark); }
.breadcrumbs span:last-child { color: var(--ink); font-weight: 600; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(245px, .8fr); gap: 16px; }
.hero-main { position: relative; min-height: 258px; display: flex; align-items: center; overflow: hidden; padding: 36px 42px; color: white; background: linear-gradient(122deg,#ff9a32 0%,#f77a24 34%,#ef6126 67%,#cf472d 100%); border-radius: var(--radius-panel); }
.hero-main::before, .hero-main::after { position: absolute; content: ''; pointer-events: none; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.hero-main::before { width: 350px; height: 350px; top: -165px; right: -48px; }
.hero-main::after { width: 240px; height: 240px; top: -112px; right: 7px; }
.hero-content { position: relative; z-index: 1; max-width: 450px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px; font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow-pill { padding: 6px 9px; background: rgba(255,255,255,.19); border: 1px solid rgba(255,255,255,.3); border-radius: 99px; letter-spacing: .04em; }
.hero-main h1 { max-width: 400px; margin: 0; font-size: clamp(27px,3.1vw,40px); line-height: 1.15; letter-spacing: -1.8px; }
.hero-main p { max-width: 385px; margin: 11px 0 21px; color: rgba(255,255,255,.9); font-size: 12px; line-height: 1.7; }
.hero-main .button { color: #a93f22; background: white; border: 0; }
.hero-art { position: absolute; width: 215px; height: 215px; right: 55px; bottom: -25px; display: grid; place-items: center; border-radius: 45%; transform: rotate(8deg); }
.hero-device { width: 112px; height: 148px; display: grid; place-items: center; background: linear-gradient(145deg,#fff5e9,#fff); border: 8px solid rgba(255,255,255,.54); border-radius: 27px; box-shadow: 0 24px 44px rgba(108,37,17,.22); transform: rotate(-9deg); }
.hero-device-mark { width: 54px; height: 54px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg,#feaa43,#ec5729); border-radius: 18px; font-size: 25px; font-weight: 800; }
.hero-float { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; color: var(--orange-dark); background: white; border: 1px solid rgba(255,255,255,.6); border-radius: 17px; box-shadow: 0 13px 24px rgba(87,34,16,.14); font-size: 22px; }
.hero-float.one { top: 20px; left: 10px; transform: rotate(-9deg); }
.hero-float.two { right: 0; bottom: 26px; transform: rotate(8deg); }
.hero-side { display: flex; flex-direction: column; gap: 14px; }
.side-promo { position: relative; min-height: 122px; flex: 1; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 20px 21px; background: white; border: 1px solid var(--line); border-radius: 20px; }
.side-promo::after { position: absolute; width: 95px; height: 95px; top: -25px; right: -20px; content: ''; background: var(--orange-soft); border: 1px solid #ffe0cd; border-radius: 50%; }
.side-promo.blue::after { background: #edf4ff; border-color: #d9e8ff; }
.side-promo small { z-index: 1; color: var(--muted); font-size: 10px; }
.side-promo strong { z-index: 1; max-width: 190px; margin: 6px 0; font-size: 16px; line-height: 1.32; letter-spacing: -.45px; }
.side-promo a { z-index: 1; width: fit-content; color: var(--orange-dark); font-size: 10px; font-weight: 700; }
.side-promo.blue a { color: var(--blue); }
.section { margin-top: 36px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.section-title { margin: 0; font-size: 20px; line-height: 1.2; letter-spacing: -.7px; }
.section-subtitle { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--orange-dark); font-size: 11px; font-weight: 700; white-space: nowrap; }
.category-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 12px; }
.category-item { min-height: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 12px 8px; background: white; border: 1px solid var(--line); border-radius: 17px; text-align: center; transition: transform .15s ease,border-color .15s ease; }
.category-item:hover { transform: translateY(-2px); border-color: rgba(239,100,38,.35); }
.category-icon { width: 46px; height: 46px; display: grid; place-items: center; background: #fff3ea; border-radius: 15px; font-size: 21px; }
.category-item:nth-child(2n) .category-icon { background: #f0f4ff; }
.category-item:nth-child(3n) .category-icon { background: #f4f0ff; }
.category-item span:last-child { font-size: 10px; font-weight: 700; }
.product-toolbar { display: flex; align-items: center; gap: 10px; margin: -2px 0 17px; }
.filter-chip { min-height: 34px; padding: 0 13px; color: #555b63; background: white; border: 1px solid var(--line); border-radius: 99px; cursor: pointer; font-size: 10px; font-weight: 600; white-space: nowrap; }
.filter-chip[aria-pressed="true"] { color: white; background: var(--ink); border-color: var(--ink); }
.filter-scroll { min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.filter-scroll::-webkit-scrollbar { display: none; }
.category-grid { scrollbar-width: none; }
.category-grid::-webkit-scrollbar { display: none; }
.sort-select { min-height: 36px; margin-left: auto; padding: 0 12px; color: #555b63; background: white; border: 1px solid var(--line); border-radius: 10px; font-size: 10px; }
.product-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; }
.product-card { position: relative; min-width: 0; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius-card); transition: transform .17s ease,box-shadow .17s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card-link { display: block; }
.product-art { position: relative; min-height: 150px; display: grid; place-items: center; overflow: hidden; margin: 10px 10px 0; background: var(--art-bg,#fff1e9); border-radius: 13px; }
.product-art::before { position: absolute; width: 128px; height: 128px; top: -68px; right: -44px; content: ''; background: rgba(255,255,255,.55); border-radius: 50%; }
.product-art::after { position: absolute; width: 86px; height: 86px; bottom: -55px; left: -22px; content: ''; background: rgba(255,255,255,.42); border-radius: 50%; }
.product-symbol { position: relative; z-index: 1; width: 70px; height: 70px; display: grid; place-items: center; color: var(--art-ink,#b64a23); background: rgba(255,255,255,.79); border: 1px solid rgba(255,255,255,.88); border-radius: 23px; box-shadow: 0 8px 20px rgba(50,37,30,.08); font-size: 26px; font-weight: 800; }
.product-duration { position: absolute; z-index: 2; right: 8px; bottom: 8px; padding: 5px 8px; color: #555b63; background: rgba(255,255,255,.9); border-radius: 99px; font-size: 9px; font-weight: 700; }
.product-info { padding: 12px 13px 13px; }
.product-category { color: var(--muted); font-size: 9px; font-weight: 600; }
.product-title { min-height: 36px; margin: 5px 0 9px; display: -webkit-box; overflow: hidden; font-size: 12px; font-weight: 700; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-price { display: block; color: var(--ink-strong); font-size: 14px; font-weight: 800; letter-spacing: -.35px; }
.product-price-note { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #f0f1f2; }
.fulfillment { display: inline-flex; align-items: center; gap: 5px; color: #515760; font-size: 9px; }
.fulfillment-dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; }
.quick-add { position: absolute; top: 128px; right: 17px; width: 29px; height: 29px; display: grid; place-items: center; color: var(--orange-dark); background: rgba(255,255,255,.96); border: 1px solid rgba(20,22,27,.08); border-radius: 9px; box-shadow: 0 2px 8px rgba(20,22,27,.08); cursor: pointer; font-size: 16px; }
.empty-state { padding: 36px 18px; background: white; border: 1px dashed var(--line-strong); border-radius: 18px; text-align: center; }
.empty-state-mark { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 12px; background: #f5f6f7; border-radius: 16px; font-size: 20px; }
.empty-state h3 { margin: 0; font-size: 15px; }
.empty-state p { margin: 7px auto 14px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.trust-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 38px; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.trust-item { display: flex; align-items: center; gap: 11px; padding: 4px 8px; }
.trust-icon { width: 37px; height: 37px; flex: 0 0 auto; display: grid; place-items: center; background: #fff2e9; border-radius: 12px; font-size: 17px; }
.trust-item strong { display: block; font-size: 10px; }
.trust-item small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.site-footer { margin-top: 42px; color: #d9dbe0; background: #191b20; }
.footer-inner { max-width: var(--content); display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 28px; margin: auto; padding: 38px 24px 25px; }
.footer-brand { color: white; }
.footer-summary { max-width: 290px; margin: 13px 0 0; color: #adb1b9; font-size: 10px; line-height: 1.7; }
.footer-col h3 { margin: 3px 0 13px; color: white; font-size: 11px; }
.footer-col a { display: block; width: fit-content; margin: 9px 0; color: #b4b8c0; font-size: 10px; }
.footer-col a:hover { color: white; }
.footer-bottom { max-width: var(--content); display: flex; justify-content: space-between; gap: 12px; margin: auto; padding: 15px 24px 20px; color: #9297a0; border-top: 1px solid rgba(255,255,255,.11); font-size: 9px; }
.page-panel { padding: 27px; background: white; border: 1px solid var(--line); border-radius: var(--radius-panel); }
.page-heading { max-width: 740px; margin-bottom: 23px; }
.page-heading h1 { margin: 0; font-size: clamp(25px,3vw,36px); letter-spacing: -1.35px; line-height: 1.18; }
.page-heading p { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.catalog-layout { display: grid; grid-template-columns: 225px minmax(0,1fr); gap: 20px; }
.filter-panel { align-self: start; padding: 19px; background: white; border: 1px solid var(--line); border-radius: 17px; }
.filter-panel h2 { margin: 0 0 12px; font-size: 13px; }
.filter-panel .filter-option { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 10px 0; color: #60656d; background: transparent; border: 0; border-bottom: 1px solid #f1f2f3; cursor: pointer; font-size: 11px; text-align: left; }
.filter-panel .filter-option:last-child { border-bottom: 0; }
.filter-panel .filter-option.active { color: var(--orange-dark); font-weight: 700; }
.catalog-main { min-width: 0; }
.catalog-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.catalog-topline p { margin: 0; color: var(--muted); font-size: 11px; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr); gap: 26px; }
.detail-art { min-height: 380px; display: grid; place-items: center; overflow: hidden; background: var(--art-bg,#fff1e9); border-radius: 20px; }
.detail-art .product-symbol { width: 120px; height: 120px; border-radius: 38px; font-size: 44px; }
.detail-summary { padding: 5px 0; }
.detail-summary h1 { margin: 8px 0 9px; font-size: 29px; line-height: 1.2; letter-spacing: -1.2px; }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; }
.detail-meta .meta-pill { padding: 6px 9px; background: #f4f5f6; border-radius: 99px; }
.detail-price-box { margin: 20px 0; padding: 16px; background: #fffaf6; border: 1px solid #ffe4d5; border-radius: 15px; }
.detail-price-box small { color: var(--muted); font-size: 10px; }
.detail-price { display: block; margin-top: 4px; font-size: 25px; font-weight: 800; letter-spacing: -.8px; }
.detail-price-note { margin-top: 5px; color: var(--muted); font-size: 9px; }
.detail-actions { display: flex; gap: 9px; }
.detail-actions .button { flex: 1; }
.term-list { margin: 21px 0 0; padding: 0; list-style: none; }
.term-list li { display: grid; grid-template-columns: 125px minmax(0,1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid #f0f1f2; font-size: 10px; line-height: 1.5; }
.term-list li span:first-child { color: var(--muted); }
.detail-description { margin: 22px 0 0; color: #555b63; font-size: 11px; line-height: 1.75; }
.info-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.info-card { padding: 19px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 15px; }
.info-card-mark { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 12px; background: #fff1e8; border-radius: 12px; font-size: 17px; }
.info-card h2 { margin: 0 0 7px; font-size: 12px; }
.info-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.faq-list { max-width: 800px; }
.faq-list details { padding: 15px 0; border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-size: 12px; font-weight: 700; }
.faq-list details p { margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.faq-support { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding: 17px; background: #f8f8f9; border: 1px solid var(--line); border-radius: 14px; }
.faq-support > div { display: grid; gap: 5px; }
.faq-support strong { font-size: 12px; }
.faq-support span { color: var(--muted); font-size: 11px; }
.cart-layout { display: grid; grid-template-columns: minmax(0,1fr) 315px; align-items: start; gap: 18px; }
.cart-list { display: grid; gap: 10px; }
.cart-row { display: grid; grid-template-columns: 76px minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 13px; background: white; border: 1px solid var(--line); border-radius: 15px; }
.cart-thumb { width: 76px; height: 76px; display: grid; place-items: center; background: var(--art-bg,#fff1e9); border-radius: 12px; font-size: 25px; font-weight: 800; }
.cart-row h2 { margin: 0; font-size: 12px; }
.cart-row small { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; }
.cart-price { display: block; margin-top: 8px; font-size: 12px; font-weight: 800; }
.cart-controls { display: flex; align-items: center; gap: 7px; margin-top: 8px; }
.qty-button { width: 27px; height: 27px; display: grid; place-items: center; background: white; border: 1px solid var(--line-strong); border-radius: 8px; cursor: pointer; }
.qty-value { min-width: 18px; text-align: center; font-size: 10px; font-weight: 700; }
.remove-button { margin-left: 5px; padding: 5px; color: #ba4035; background: transparent; border: 0; cursor: pointer; font-size: 9px; }
.summary-card { position: sticky; top: 145px; padding: 20px; background: white; border: 1px solid var(--line); border-radius: 17px; }
.summary-card h2 { margin: 0 0 15px; font-size: 14px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; margin: 10px 0; color: #60656d; font-size: 10px; }
.summary-total { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 800; }
.summary-card .button { width: 100%; margin-top: 16px; }
.summary-note { margin: 11px 0 0; color: var(--muted); font-size: 9px; line-height: 1.55; text-align: center; }
.notice-card { max-width: 610px; padding: 24px; background: #fffaf6; border: 1px solid #ffe3d3; border-radius: 18px; }
.notice-card h2 { margin: 0 0 8px; font-size: 17px; }
.notice-card p { margin: 7px 0 17px; color: #696d75; font-size: 11px; line-height: 1.7; }
.notice-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.mobile-bottom { display: none; }
.mobile-purchase { display: none; }
.toast { position: fixed; z-index: 60; right: 24px; bottom: 24px; max-width: min(360px,calc(100vw - 32px)); padding: 13px 16px; color: white; background: #1f252d; border-radius: 12px; box-shadow: var(--shadow); font-size: 11px; opacity: 0; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease; pointer-events: none; }
.toast.visible { opacity: 1; transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }
.role-mode { padding: 0; background: #f3f4f6; }
.role-app { min-height: 100vh; background: #f3f4f6; }
.role-preview-banner { min-height: 32px; display: flex; align-items: center; justify-content: center; gap: 20px; padding: 6px 16px; color: #8a4b2e; background: #fff1e7; font-size: 9px; font-weight: 700; }
.role-preview-banner a { color: #b14a29; }
.role-topbar { position: sticky; z-index: 15; top: 0; min-height: 70px; display: grid; grid-template-columns: 245px 1fr auto; align-items: center; gap: 22px; padding: 10px max(24px,calc((100% - 1370px)/2)); background: white; border-bottom: 1px solid var(--line); }
.role-context { display: flex; align-items: center; gap: 9px; color: #4e535c; font-size: 12px; font-weight: 700; }
.role-context-dot { width: 8px; height: 8px; background: var(--orange); border-radius: 50%; }
.role-exit { color: #646a73; font-size: 10px; font-weight: 700; }
.role-layout { max-width: 1440px; display: grid; grid-template-columns: 236px minmax(0,1fr); gap: 22px; margin: auto; padding: 22px 24px 50px; }
.role-sidebar { position: sticky; top: 92px; align-self: start; min-height: calc(100vh - 115px); display: flex; flex-direction: column; padding: 17px 12px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.role-sidebar-heading { padding: 5px 10px 13px; color: #92969d; font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.role-sidebar nav { display: grid; gap: 4px; }
.role-nav-link { min-height: 41px; display: flex; align-items: center; gap: 10px; padding: 0 10px; color: #646a73; border-radius: 10px; font-size: 10px; font-weight: 600; }
.role-nav-link > span:first-child { width: 23px; color: #767b83; font-size: 15px; text-align: center; }
.role-nav-link:hover { background: #f7f7f8; }
.role-nav-link.active { color: #aa4929; background: #fff0e7; font-weight: 700; }
.role-nav-link.active > span:first-child { color: var(--orange-dark); }
.role-sidebar-foot { margin-top: auto; padding: 13px 10px 2px; color: #92969d; border-top: 1px solid #eff0f1; font-size: 8px; }
.role-main { min-width: 0; }
.role-page-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 3px 0 20px; }
.role-page-head h1 { margin: 4px 0 6px; font-size: 25px; letter-spacing: -.9px; }
.role-page-head p { max-width: 680px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.role-eyebrow { color: var(--orange-dark); font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.metric-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; }
.metric-card { min-width: 0; padding: 15px 16px; background: white; border: 1px solid var(--line); border-radius: 15px; }
.metric-card small { display: block; color: var(--muted); font-size: 9px; }
.metric-card strong { display: block; overflow: hidden; margin: 8px 0 5px; font-size: clamp(18px,2vw,24px); letter-spacing: -.7px; text-overflow: ellipsis; white-space: nowrap; }
.metric-card span { display: block; color: #858a92; font-size: 8px; line-height: 1.4; }
.metric-attention { background: #fffaf1; border-color: #f5e7c6; }
.metric-balance { color: white; background: linear-gradient(135deg,#f17a27,#d4512d); border-color: transparent; }
.metric-balance small,.metric-balance span { color: rgba(255,255,255,.8); }
.role-section { margin-top: 20px; }
.role-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.role-panel { min-width: 0; padding: 17px; background: white; border: 1px solid var(--line); border-radius: 15px; }
.role-panel h2 { margin: 0 0 8px; font-size: 13px; }
.role-panel p { font-size: 10px; line-height: 1.6; }
.role-muted { color: var(--muted); }
.role-section-head { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.role-section-head h2 { margin: 0; font-size: 13px; }
.role-section-head p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }
.role-list { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 14px; }
.role-panel .role-list { border-radius: 11px; }
.role-list-row { min-width: 0; display: grid; grid-template-columns: 38px minmax(0,1fr) auto auto; align-items: center; gap: 11px; padding: 12px 14px; color: inherit; border-bottom: 1px solid #eff0f2; }
.role-list-row:last-child { border-bottom: 0; }
a.role-list-row:hover { background: #fcfcfd; }
.role-list-icon { width: 35px; height: 35px; display: grid; place-items: center; color: #b44a28; background: #fff1e7; border-radius: 11px; font-size: 15px; }
.role-list-main { min-width: 0; }
.role-list-main strong { display: block; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.role-list-main small,.role-list-status small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; }
.role-list-status { min-width: 100px; text-align: right; }
.role-list-arrow { color: #9ca0a7; }
.status-tag { display: inline-flex; align-items: center; min-height: 22px; padding: 4px 8px; color: #5f6670; background: #f2f3f5; border-radius: 99px; font-size: 8px; font-weight: 700; white-space: nowrap; }
.tone-success { color: #157447; background: #eaf7ef; }
.tone-warning { color: #94600a; background: #fff3d8; }
.tone-danger { color: #a53236; background: #fff0ef; }
.tone-neutral { color: #5f6670; background: #f2f3f5; }
.role-info-note { margin: 12px 0 0; padding: 11px 13px; color: #735436; background: #fff7e8; border: 1px solid #f5e7c6; border-radius: 11px; font-size: 9px; line-height: 1.6; }
.role-status-list { display: grid; gap: 0; margin: 4px 0 14px; }
.role-status-list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.role-status-list > div:last-child { border-bottom: 0; }
.role-status-list strong { color: #4d535b; font-size: 9px; }
.role-store-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; margin-top: 14px; }
.role-store-card { display: grid; grid-template-columns: 40px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 14px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.role-store-card > div:nth-child(2) { min-width: 0; }
.role-store-card strong,.role-store-card b,.role-store-card small { display: block; }
.role-store-card strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.role-store-card small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.role-store-card b { margin-top: 7px; color: #262a30; font-size: 12px; }
.role-profile-fields { display: grid; gap: 0; margin: 3px 0 14px; }
.role-profile-fields > div { display: grid; grid-template-columns: 95px minmax(0,1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.role-profile-fields > div:last-child { border-bottom: 0; }
.role-profile-fields small { color: var(--muted); font-size: 9px; }
.role-profile-fields strong { color: #454a52; font-size: 9px; }
.role-campaign-card { color: white; background: linear-gradient(125deg,#ee7629,#d55134); border-color: transparent; }
.role-campaign-card .role-eyebrow,.role-campaign-card p { color: rgba(255,255,255,.85); }
.role-campaign-card .button { color: #a6492b; background: white; border-color: white; }
.order-timeline { margin-top: 20px; }
.timeline-step { position: relative; display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 10px; padding-bottom: 20px; }
.timeline-step:not(:last-child)::after { position: absolute; top: 17px; bottom: 0; left: 7px; width: 1px; content: ''; background: #dfe2e5; }
.timeline-step > span { position: relative; z-index: 1; width: 15px; height: 15px; margin-top: 2px; background: white; border: 2px solid #c8cbd0; border-radius: 50%; }
.timeline-step.done > span { background: var(--green); border-color: var(--green); }
.timeline-step.current > span { background: #fff3e9; border-color: var(--orange); }
.timeline-step strong { display: block; font-size: 10px; }
.timeline-step small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.5; }
.support-order-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.support-order-link:last-of-type { margin-bottom: 13px; border-bottom: 0; }
.support-order-link strong { display: block; font-size: 10px; }
.support-order-link small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; }
.role-panel details { padding: 12px 0; border-bottom: 1px solid var(--line); }
.role-panel summary { cursor: pointer; font-size: 10px; font-weight: 700; }
.role-panel details p { color: var(--muted); }
.reseller-product { display: grid; grid-template-columns: 38px minmax(120px,1.3fr) minmax(120px,.8fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.reseller-product:last-child { border-bottom: 0; }
.reseller-product-mark { width: 38px; height: 38px; display: grid; place-items: center; color: var(--art-ink); background: var(--art-bg); border-radius: 11px; font-size: 14px; font-weight: 800; }
.reseller-product-main strong,.reseller-price strong { display: block; font-size: 10px; }
.reseller-product-main small,.reseller-price small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; }
.reseller-product-main span { display: block; margin-top: 5px; color: #777c84; font-size: 8px; }
.reseller-price { text-align: right; }
.reseller-price strong { margin-top: 4px; color: #24272c; }
.reseller-order-form { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 13px; }
.reseller-order-form label { color: #555b63; font-size: 9px; font-weight: 700; }
.reseller-order-form input { min-height: 39px; padding: 0 12px; background: #fbfbfc; border: 1px solid var(--line-strong); border-radius: 10px; font-size: 10px; }
.reseller-order-form .role-info-note { margin: 0 0 7px; }
.reseller-order-form .reseller-product { grid-template-columns: 38px minmax(110px,1fr) minmax(110px,.7fr) auto; }
.balance-hero { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 20px; color: white; background: linear-gradient(125deg,#ef7a29,#cf482e); border-radius: 17px; }
.balance-hero small,.balance-hero span { display: block; color: rgba(255,255,255,.78); font-size: 8px; }
.balance-hero strong { display: block; margin: 6px 0; font-size: 25px; letter-spacing: -.7px; }
.balance-hero .button { color: #9e4528; border: 0; }
.ledger-credit { color: #147449; font-size: 10px; }
.ledger-debit { color: #a33d3c; font-size: 10px; }
.table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0; }
.role-table-search { max-width: 350px; flex: 1; min-height: 38px; display: flex; align-items: center; gap: 9px; padding: 0 11px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.role-table-search input { width: 100%; border: 0; outline: 0; font-size: 10px; }
.table-wrap { overflow-x: auto; background: white; border: 1px solid var(--line); border-radius: 13px; }
.table-wrap table { width: 100%; border-collapse: collapse; text-align: left; }
.table-wrap th { padding: 12px 13px; color: #777c84; background: #fafafb; border-bottom: 1px solid var(--line); font-size: 8px; font-weight: 700; white-space: nowrap; }
.table-wrap td { padding: 12px 13px; border-bottom: 1px solid #eff0f1; font-size: 9px; white-space: nowrap; }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap td .button { min-height: 29px; font-size: 8px; }
.role-empty { padding: 36px 18px; background: white; border: 1px dashed var(--line-strong); border-radius: 15px; text-align: center; }
.role-empty > span { color: var(--orange-dark); font-size: 22px; }
.role-empty h2 { margin: 8px 0 5px; font-size: 14px; }
.role-empty p { margin: 0 0 12px; color: var(--muted); font-size: 10px; }
.preview-lock { min-height: 100vh; display: grid; place-items: center; padding: 22px; background: #f3f4f6; }
.preview-lock-card { max-width: 520px; padding: 26px; background: white; border: 1px solid var(--line); border-radius: 18px; text-align: center; }
.preview-lock-card h1 { font-size: 21px; }
.preview-lock-card p { color: var(--muted); font-size: 10px; line-height: 1.7; }
.preview-lock-card .button { margin: 6px; }
.preview-choice-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.preview-choice { min-height: 155px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 17px; background: white; border: 1px solid var(--line); border-radius: 15px; cursor: pointer; text-align: left; }
.preview-choice:hover { border-color: rgba(239,100,38,.4); box-shadow: var(--shadow); }
.preview-choice-icon { width: 37px; height: 37px; display: grid; place-items: center; color: var(--orange-dark); background: #fff1e7; border-radius: 12px; font-size: 17px; }
.preview-choice strong { font-size: 11px; }
.preview-choice small { color: var(--muted); font-size: 8px; line-height: 1.5; }
.preview-choice .text-link { margin-top: auto; font-size: 9px; }
.preview-disclaimer { margin-top: 14px; color: var(--muted); font-size: 9px; line-height: 1.6; }
.role-mobile-nav { display: none; }

@media (max-width: 1100px) {
  :root { --content: 100%; }
  .header-main { grid-template-columns: 155px minmax(220px,1fr) auto; gap: 15px; padding-inline: 20px; }
  .header-actions { gap: 3px; }
  .header-link { padding-inline: 8px; }
  .product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .category-grid { grid-template-columns: repeat(7,minmax(84px,1fr)); overflow-x: auto; padding-bottom: 3px; }
}
@media (max-width: 850px) {
  .header-main { min-height: 68px; grid-template-columns: 138px minmax(180px,1fr) auto; gap: 12px; padding-inline: 18px; }
  .auth-actions, .header-link { display: none; }
  .desktop-nav { gap: 17px; padding-inline: 18px; overflow-x: auto; scrollbar-width: none; }
  .desktop-nav::-webkit-scrollbar { display: none; }
  .hero-grid { grid-template-columns: minmax(0,1.45fr) minmax(210px,.8fr); }
  .hero-main { padding: 29px; }
  .hero-art { right: 0; transform: scale(.8) rotate(8deg); transform-origin: bottom right; }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .catalog-layout { grid-template-columns: 190px minmax(0,1fr); gap: 13px; }
  .cart-layout { grid-template-columns: minmax(0,1fr) 270px; }
  .detail-layout { grid-template-columns: minmax(0,1fr) minmax(310px,1fr); gap: 18px; }
  .detail-art { min-height: 320px; }
  .role-layout { grid-template-columns: 200px minmax(0,1fr); gap: 14px; padding-inline: 16px; }
  .role-topbar { grid-template-columns: 205px 1fr auto; gap: 12px; padding-inline: 16px; }
  .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .reseller-product { grid-template-columns: 38px minmax(100px,1fr) minmax(105px,.7fr); }
  .reseller-product > .button { grid-column: 2/-1; justify-self: end; }
}
@media (max-width: 640px) {
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); font-size: 13px; }
  body.has-sticky-purchase { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
  .preview-note { min-height: 27px; font-size: 9px; }
  .site-header { position: static; border-bottom: 0; background: white; }
  .header-main, .desktop-nav { display: none; }
  .mobile-top { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 6px 15px 5px; }
  .brand { gap: 8px; font-size: 18px; }
  .brand-mark { width: 31px; height: 31px; border-radius: 10px; }
  .brand-mark span { font-size: 15px; }
  .mobile-tools { display: flex; align-items: center; gap: 4px; }
  .mobile-tools .icon-button { width: 38px; height: 38px; font-size: 17px; }
  .mobile-search-row { padding: 0 15px 13px; }
  .mobile-search-row { display: block; }
  .search-form { height: 44px; gap: 9px; border-radius: 14px; }
  .search-form input { font-size: 12px; }
  .search-key { display: none; }
  .page-container { padding: 15px 14px 24px; }
  .breadcrumbs { margin-bottom: 13px; font-size: 9px; }
  .hero-grid { display: block; }
  .hero-main { min-height: 218px; padding: 23px 20px; border-radius: 20px; }
  .hero-main h1 { max-width: 255px; font-size: 29px; letter-spacing: -1.25px; }
  .hero-main p { max-width: 245px; margin: 8px 0 15px; font-size: 10px; }
  .hero-main .eyebrow { margin-bottom: 10px; font-size: 8px; }
  .hero-main .button { min-height: 37px; padding-inline: 13px; font-size: 10px; }
  .hero-art { width: 150px; height: 165px; right: -13px; bottom: -18px; transform: scale(.76) rotate(8deg); }
  .hero-device { width: 94px; height: 122px; border-width: 6px; border-radius: 23px; }
  .hero-device-mark { width: 46px; height: 46px; border-radius: 15px; font-size: 21px; }
  .hero-float { width: 42px; height: 42px; border-radius: 14px; font-size: 18px; }
  .hero-float.one { top: 15px; left: 0; }
  .hero-float.two { right: -2px; bottom: 16px; }
  .hero-side { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 10px; }
  .side-promo { min-height: 98px; padding: 13px; border-radius: 15px; }
  .side-promo strong { max-width: 120px; font-size: 12px; }
  .side-promo small, .side-promo a { font-size: 8px; }
  .section { margin-top: 26px; }
  .section-head { margin-bottom: 12px; }
  .section-title { font-size: 17px; }
  .section-subtitle { max-width: 260px; font-size: 9px; }
  .text-link { font-size: 9px; }
  .category-grid { grid-template-columns: repeat(7,76px); gap: 8px; margin-right: -14px; padding-right: 14px; }
  .category-item { min-height: 83px; gap: 7px; padding: 8px 5px; border-radius: 14px; }
  .category-icon { width: 36px; height: 36px; border-radius: 12px; font-size: 17px; }
  .category-item span:last-child { font-size: 8px; }
  .product-toolbar { align-items: flex-start; margin-bottom: 12px; }
  .filter-scroll { margin-right: -14px; padding-right: 14px; }
  .filter-chip { min-height: 31px; padding-inline: 11px; font-size: 9px; }
  .sort-select { max-width: 118px; min-height: 32px; padding-inline: 8px; font-size: 9px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .product-art { min-height: 132px; margin: 7px 7px 0; border-radius: 11px; }
  .product-symbol { width: 60px; height: 60px; border-radius: 20px; font-size: 22px; }
  .product-duration { right: 6px; bottom: 6px; padding: 4px 6px; font-size: 8px; }
  .product-info { padding: 10px 10px 11px; }
  .product-category { font-size: 8px; }
  .product-title { min-height: 33px; margin: 4px 0 7px; font-size: 10px; line-height: 1.45; }
  .product-price { font-size: 12px; }
  .product-price-note { font-size: 8px; }
  .product-card-footer { margin-top: 9px; padding-top: 8px; }
  .fulfillment { gap: 4px; font-size: 8px; }
  .quick-add { width: 27px; height: 27px; }
  .quick-add { top: 112px; right: 14px; }
  .trust-strip { grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 25px; padding: 12px 8px; border-radius: 15px; }
  .trust-item { align-items: flex-start; gap: 8px; padding: 3px; }
  .trust-icon { width: 31px; height: 31px; border-radius: 10px; font-size: 14px; }
  .trust-item strong { font-size: 8px; }
  .trust-item small { font-size: 8px; }
  .page-panel { padding: 18px 15px; border-radius: 19px; }
  .page-heading { margin-bottom: 18px; }
  .page-heading h1 { font-size: 25px; }
  .page-heading p { font-size: 10px; }
  .catalog-layout { display: block; }
  .filter-panel { display: none; }
  .catalog-main .product-toolbar { overflow: visible; }
  .catalog-main .filter-scroll { flex: 1; }
  .catalog-main .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .detail-layout { display: block; }
  .detail-art { min-height: min(84vw,330px); margin: 0 -2px 17px; border-radius: 17px; }
  .detail-art .product-symbol { width: 100px; height: 100px; border-radius: 32px; font-size: 37px; }
  .detail-summary h1 { font-size: 24px; }
  .detail-price-box { margin: 15px 0; padding: 13px; }
  .detail-price { font-size: 22px; }
  .detail-summary .detail-actions { display: none; }
  .mobile-purchase { position: fixed; z-index: 28; right: 0; bottom: calc(72px + env(safe-area-inset-bottom)); left: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 9px 14px; background: rgba(255,255,255,.98); border-top: 1px solid var(--line); box-shadow: 0 -7px 20px rgba(20,22,27,.06); }
  .mobile-purchase small { display: block; color: var(--muted); font-size: 8px; }
  .mobile-purchase strong { display: block; margin-top: 3px; font-size: 14px; }
  .mobile-purchase .button { min-height: 42px; padding-inline: 14px; font-size: 10px; }
  .term-list li { grid-template-columns: 105px minmax(0,1fr); gap: 8px; font-size: 9px; }
  .detail-description { font-size: 10px; }
  .info-grid { grid-template-columns: 1fr; gap: 9px; }
  .info-card { padding: 15px; }
  .cart-layout { display: flex; flex-direction: column; }
  .cart-list, .summary-card { width: 100%; }
  .summary-card { position: static; }
  .cart-row { grid-template-columns: 60px minmax(0,1fr); gap: 10px; padding: 10px; }
  .cart-thumb { width: 60px; height: 60px; border-radius: 10px; }
  .cart-row > .cart-side { grid-column: 2; }
  .summary-card { padding: 16px; }
  .notice-card { padding: 19px; }
  .mobile-bottom { position: fixed; z-index: 30; left: 10px; right: 10px; bottom: calc(8px + env(safe-area-inset-bottom)); min-height: 60px; display: grid; grid-template-columns: repeat(5,1fr); align-items: center; padding: 5px; background: rgba(255,255,255,.96); border: 1px solid rgba(20,22,27,.1); border-radius: 20px; box-shadow: 0 8px 28px rgba(20,22,27,.13); backdrop-filter: blur(14px); }
  .mobile-nav-link { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 48px; color: #797e86; font-size: 8px; font-weight: 600; }
  .mobile-nav-link .nav-icon { font-size: 17px; line-height: 1; }
  .mobile-nav-link[aria-current="page"] { color: var(--orange-dark); }
  .toast { right: 14px; bottom: calc(80px + env(safe-area-inset-bottom)); font-size: 10px; }
  .role-mode { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .role-preview-banner { min-height: 28px; justify-content: space-between; gap: 6px; padding-inline: 11px; font-size: 7px; }
  .role-preview-banner a { font-size: 7px; white-space: nowrap; }
  .role-topbar { position: sticky; min-height: 58px; grid-template-columns: 1fr auto; gap: 8px; padding: 7px 13px; }
  .role-topbar .brand { font-size: 16px; }
  .role-topbar .brand-mark { width: 30px; height: 30px; }
  .role-context { grid-row: 2; grid-column: 1/-1; padding: 5px 0 1px; font-size: 9px; }
  .role-exit { grid-row: 1; grid-column: 2; font-size: 8px; }
  .role-layout { display: block; padding: 16px 13px 25px; }
  .role-sidebar { display: none; }
  .role-page-head { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 15px; }
  .role-page-head h1 { font-size: 22px; }
  .role-page-head p { font-size: 9px; }
  .metric-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .metric-card { padding: 12px; border-radius: 13px; }
  .metric-card strong { font-size: 18px; }
  .metric-card small { font-size: 8px; }
  .metric-card span { font-size: 7px; }
  .role-section { margin-top: 15px; }
  .role-columns { grid-template-columns: 1fr; gap: 9px; }
  .role-store-grid { grid-template-columns: 1fr; gap: 8px; }
  .role-store-card { grid-template-columns: 34px minmax(0,1fr) auto; gap: 8px; padding: 11px; }
  .role-store-card .reseller-product-mark { width: 33px; height: 33px; }
  .role-panel { padding: 14px; }
  .role-section-head h2 { font-size: 12px; }
  .role-section-head p { font-size: 8px; }
  .role-list-row { grid-template-columns: 32px minmax(0,1fr) auto; gap: 8px; padding: 10px; }
  .role-list-icon { width: 30px; height: 30px; font-size: 13px; }
  .role-list-main strong { font-size: 9px; }
  .role-list-main small,.role-list-status small { font-size: 7px; }
  .role-list-status { min-width: 0; }
  .role-list-status .status-tag { max-width: 112px; font-size: 7px; }
  .role-list-arrow { display: none; }
  .role-list-row > .text-link { grid-column: 2/-1; justify-self: end; font-size: 8px; }
  .role-list-row > .ledger-credit,.role-list-row > .ledger-debit { grid-column: 2/-1; justify-self: end; }
  .role-list-row > .role-list-status + .role-list-arrow { display: none; }
  .role-list-row .role-list-status { grid-column: 3; grid-row: 1; }
  .role-list-row .role-list-status .status-tag { white-space: normal; text-align: center; }
  .role-list-row .role-list-status small { text-align: right; }
  .status-tag { min-height: 20px; padding: 3px 6px; }
  .reseller-product { grid-template-columns: 34px minmax(0,1fr) auto; gap: 8px; padding: 11px 0; }
  .reseller-product-mark { width: 33px; height: 33px; }
  .reseller-product-main { grid-column: 2; }
  .reseller-product-main strong,.reseller-price strong { font-size: 9px; }
  .reseller-price { grid-column: 2; grid-row: 2; text-align: left; }
  .reseller-price small { display: inline; margin: 0 6px 0 0; font-size: 7px; }
  .reseller-product > .button { grid-column: 3; grid-row: 1/3; min-height: 32px; padding-inline: 10px; }
  .reseller-order-form .reseller-product { grid-template-columns: 34px minmax(0,1fr) auto; }
  .balance-hero { padding: 15px; border-radius: 14px; }
  .balance-hero strong { font-size: 19px; }
  .balance-hero .button { min-height: 35px; padding-inline: 10px; font-size: 8px; }
  .table-toolbar { align-items: stretch; }
  .table-toolbar .button { padding-inline: 10px; font-size: 8px; }
  .table-wrap th,.table-wrap td { padding: 10px; }
  .preview-choice-grid { grid-template-columns: 1fr; gap: 9px; }
  .preview-choice { min-height: 120px; padding: 14px; }
  .preview-disclaimer { font-size: 8px; }
  .preview-lock-card { padding: 20px; }
  .preview-lock-card h1 { font-size: 19px; }
  .role-mobile-nav { position: fixed; z-index: 31; right: 10px; bottom: calc(8px + env(safe-area-inset-bottom)); left: 10px; min-height: 59px; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); align-items: center; padding: 5px; background: rgba(255,255,255,.97); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 25px rgba(20,22,27,.12); backdrop-filter: blur(13px); }
  .role-mobile-admin { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .role-mobile-nav a { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 47px; color: #767b83; font-size: 15px; }
  .role-mobile-nav a[aria-current="page"] { color: var(--orange-dark); }
  .role-mobile-nav small { font-size: 7px; font-weight: 600; }
  .role-mode .toast { bottom: calc(79px + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .hero-main h1 { max-width: 218px; font-size: 26px; }
  .hero-main p { max-width: 215px; font-size: 9px; }
  .hero-art { right: -24px; transform: scale(.66) rotate(8deg); }
  .hero-main { padding-inline: 16px; }
  .product-art { min-height: 115px; }
  .product-info { padding-inline: 8px; }
  .product-title { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Bacshop visual pass: reusable image slots stay empty until real assets exist. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('./assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
:root {
  --shadow: 0 4px 16px rgba(24, 28, 36, .045);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
body, button, input, select { font-family: 'Plus Jakarta Sans', sans-serif; }
small { font-size: 11px; }
.preview-note { min-height: 28px; font-size: 11px; }
.preview-dot { display: none; }
.brand { gap: 0; }
.brand-mark { display: none !important; }
.feather-icon { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.search-icon { width: 18px; height: 18px; }
.button { transition: color .18s ease, border-color .18s ease, background-color .18s ease; }
.button:hover { transform: none; box-shadow: none; }
.button-primary { background: var(--orange); }
.button-primary:hover { background: var(--orange-dark); }
.icon-button:hover, .suggestion-option:hover { box-shadow: none; }
.search-suggestions { box-shadow: 0 3px 12px rgba(24, 28, 36, .05); }

.hero-grid { display: block; }
.hero-carousel { position: relative; min-height: 320px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #f1f2f3; touch-action: pan-y; }
.hero-slide { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: center; gap: 28px; padding: 42px 74px; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s ease; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-copy { max-width: 490px; }
.hero-copy h1 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.15; letter-spacing: -1.7px; }
.hero-copy p { max-width: 420px; margin: 13px 0 22px; color: #5d626a; font-size: 14px; line-height: 1.7; }
.hero-copy .button { width: fit-content; }
.hero-image-placeholder, .hero-secondary-placeholder { min-height: 220px; height: 100%; border: 1px dashed #cfd2d6; border-radius: 16px; background: #e9ebed; }
.hero-slide-image { display: block; padding: 0; }
.hero-slide-image .hero-secondary-placeholder { position: absolute; inset: 0; border: 0; border-radius: 0; background: #e9ebed; }
.hero-control { position: absolute; z-index: 2; top: 50%; width: 38px; height: 38px; display: grid; place-items: center; color: #444a52; background: rgba(255,255,255,.88); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; transform: translateY(-50%); transition: background .18s ease; }
.hero-control:hover { background: white; box-shadow: none; }
.hero-control .feather-icon { width: 17px; height: 17px; }
.hero-previous { left: 16px; }
.hero-next { right: 16px; }
.hero-dots { position: absolute; z-index: 2; bottom: 17px; left: 50%; display: flex; gap: 7px; transform: translateX(-50%); }
.hero-dots button { width: 7px; height: 7px; padding: 0; background: #b8bdc3; border: 0; border-radius: 10px; cursor: pointer; transition: width .2s ease, background .2s ease; }
.hero-dots button[aria-pressed="true"] { width: 22px; background: #454b53; }
.hero-main, .hero-art, .hero-device, .hero-device-mark, .hero-float, .hero-side, .side-promo { display: none !important; }
.plain-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 38px; padding: 21px 0; border-top: 1px solid var(--line); }
.plain-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0; color: inherit; }
.plain-link > span { display: grid; gap: 5px; }
.plain-link strong { font-size: 14px; font-weight: 700; }
.plain-link > span > span { color: var(--muted); font-size: 12px; }
.plain-link .feather-icon { width: 17px; color: var(--muted); }
.plain-link:hover strong { color: var(--orange-dark); }

.category-grid { gap: 12px; }
.category-item { min-height: auto; gap: 10px; padding: 10px; box-shadow: none; }
.category-placeholder { width: 100%; aspect-ratio: 1.35; border: 1px dashed #d7dade; border-radius: 10px; background: #f0f1f2; }
.category-item span:last-child { font-size: 11px; font-weight: 600; }
.category-item:hover, .product-card:hover { transform: none; box-shadow: none; }
.product-card { display: flex; flex-direction: column; box-shadow: none; transition: border-color .18s ease; }
.product-card:hover { border-color: rgba(239,100,38,.38); }
.product-card-link { display: block; flex: 1; }
.image-placeholder, .product-art, .detail-art, .cart-thumb, .role-product-placeholder { border: 1px dashed #d4d7db; background: #f0f1f2 !important; }
.product-art { min-height: 170px; margin: 10px 10px 0; border-radius: 12px; }
.product-art::before, .product-art::after, .product-symbol { display: none !important; }
.product-info { padding: 13px; }
.product-category { font-size: 11px; }
.product-title { min-height: 0; font-size: 13px; }
.product-price-note { font-size: 10px; }
.product-card-footer { display: none; }
.quick-add { position: static; width: auto; height: 36px; display: inline-flex; align-items: center; justify-content: center; margin: 0 13px 13px; padding: 0 12px; color: var(--orange-dark); background: white; border: 1px solid #f0c8b5; border-radius: 9px; box-shadow: none; font-size: 12px; font-weight: 700; }
.quick-add:hover { background: #fff8f4; }
.detail-art { min-height: 380px; border-radius: 18px; }
.cart-thumb { border-radius: 10px; }
.category-icon, .product-symbol, .trust-icon, .info-card-mark, .role-list-icon, .preview-choice-icon, .empty-state-mark, .suggestion-mark, .role-eyebrow { display: none !important; }
.trust-strip { border-radius: 14px; box-shadow: none; }
.trust-item { padding-inline: 5px; }
.trust-item strong { font-size: 12px; }
.trust-item small { font-size: 11px; }
.info-grid { gap: 14px; }
.info-card, .preview-choice, .role-panel, .metric-card, .role-store-card, .role-list-row, .table-wrap, .summary-card, .cart-list { box-shadow: none; }
.info-card { padding: 18px; }
.info-card h2 { margin-top: 0; }
.preview-choice:hover { box-shadow: none; border-color: rgba(239,100,38,.4); }
.role-store-card { grid-template-columns: 52px minmax(0,1fr) auto; }
.role-product-placeholder { width: 52px; height: 52px; border-radius: 10px; }
.reseller-product { grid-template-columns: 48px minmax(150px,1fr) minmax(145px,.7fr) auto; }
.reseller-product .role-product-placeholder { width: 48px; height: 48px; }
.role-mobile-nav, .mobile-bottom { box-shadow: 0 2px 10px rgba(20,22,27,.06); }
.role-mobile-label { font-size: 10px; font-weight: 600; }
.role-mobile-nav a { font-size: 12px; }
.mobile-nav-link .feather-icon { width: 19px; height: 19px; }
.role-mobile-nav small { font-size: 10px; }
.role-page-head p, .role-section-head p { font-size: 12px; }
.role-list-main small, .role-list-status small, .metric-card small, .reseller-price small { font-size: 10px; }
.role-preview-banner, .role-preview-banner a { font-size: 10px; }
.role-mode .role-info-note { font-size: 11px; }
.role-mode .role-list-main > span, .role-mode .role-list-status > span,
.role-mode .role-store-card div span, .role-mode .reseller-product span,
.role-mode .metric-card span { font-size: 11px; line-height: 1.45; }
.role-mode .reseller-product-main strong, .role-mode .reseller-price strong,
.role-mode .role-store-card strong { font-size: 13px; }
.role-mode .reseller-order-form label { font-size: 11px; }
.role-mode .role-list-main small, .role-mode .role-list-status small,
.role-mode .metric-card small { font-size: 10px; }
.metric-card span { font-size: 11px; }
.table-wrap th { font-size: 10px; }
.table-wrap td { font-size: 11px; }
.role-list-row, .role-store-card { border-radius: 11px; }
.role-list-arrow, .support-order-link > span[aria-hidden="true"] { color: var(--muted); }

@media (max-width: 850px) {
  .hero-carousel { min-height: 300px; }
  .hero-slide { gap: 18px; padding: 35px 60px; }
}
@media (max-width: 640px) {
  .hero-carousel { min-height: 440px; border-radius: 16px; }
  .hero-slide { grid-template-columns: 1fr; grid-template-rows: auto minmax(150px, 1fr); align-content: center; gap: 18px; padding: 24px 20px 48px; }
  .hero-slide-image { display: block; }
  .hero-copy h1 { max-width: 330px; font-size: 31px; letter-spacing: -1px; }
  .hero-copy p { margin: 9px 0 13px; font-size: 13px; }
  .hero-image-placeholder { min-height: 145px; }
  .hero-control { top: auto; bottom: 9px; width: 30px; height: 30px; transform: none; }
  .hero-previous { left: 11px; }
  .hero-next { right: 11px; }
  .hero-dots { bottom: 20px; }
  .plain-links { grid-template-columns: 1fr; gap: 18px; margin-top: 28px; }
  .plain-link strong { font-size: 13px; }
  .plain-link > span > span { font-size: 11px; }
  .category-grid { grid-template-columns: repeat(7, 92px); gap: 8px; }
  .category-item { gap: 7px; }
  .category-placeholder { aspect-ratio: 1.2; }
  .category-item span:last-child { font-size: 10px; }
  .product-grid { gap: 10px; }
  .product-art { min-height: 120px; margin: 7px 7px 0; }
  .product-info { padding: 10px; }
  .product-category { font-size: 10px; }
  .product-title { font-size: 11px; }
  .product-price { font-size: 13px; }
  .quick-add { height: 34px; margin: 0 10px 10px; font-size: 11px; }
  .detail-art { min-height: min(84vw, 330px); }
  .role-store-card { grid-template-columns: 40px minmax(0,1fr) auto; }
  .role-product-placeholder { width: 40px; height: 40px; }
  .reseller-product { grid-template-columns: 34px minmax(0,1fr) auto; }
  .reseller-product .role-product-placeholder { width: 34px; height: 34px; }
  .role-mobile-nav a { font-size: 11px; }
  .role-mobile-label { font-size: 9px; }
  .metric-card small { font-size: 10px; }
  .metric-card span { font-size: 10px; }
}
@media (max-width: 360px) {
  .hero-carousel { min-height: 415px; }
  .hero-slide { padding-inline: 15px; }
  .hero-copy h1 { font-size: 27px; }
}

/* Navigation, product availability, and advanced filters. */
#app { min-height: 100vh; display: flex; flex-direction: column; }
.page-container { width: 100%; flex: 1 0 auto; }
.site-footer { width: 100%; flex: 0 0 auto; margin-top: auto; padding: 0; color: #d9dbe0; background: #191b20; border-radius: 20px 20px 0 0; }
.footer-inner { padding-top: 34px; }
.footer-bottom { padding-bottom: max(18px, env(safe-area-inset-bottom)); border-radius: 0; }
.mobile-bottom { grid-template-columns: repeat(4,minmax(0,1fr)); }
.admin-mode .preview-note, .is-not-found .preview-note { display: none; }
.admin-mode #app, .is-not-found #app { min-height: 100dvh; }
.admin-mode .skip-link, .is-not-found .skip-link { position: absolute; }
.not-found-page { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; background: #f6f7f8; text-align: center; }
.not-found-page h1 { margin: 0; font-size: clamp(25px,4vw,38px); letter-spacing: -1px; }
.not-found-page p { margin: 0 0 9px; color: var(--muted); font-size: 14px; }

.hero-carousel { aspect-ratio: 4 / 1; min-height: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; }
.hero-slide { grid-template-columns: 1fr; padding: 0; border: 1px solid #d5d8dc; border-radius: 18px; background: #e9ebed; }
.hero-image-placeholder, .hero-secondary-placeholder { position: absolute; inset: 0; min-height: 0; height: auto; border: 0; border-radius: inherit; background: #e9ebed; }
.hero-copy { max-width: 530px; padding: 32px 56px; color: #17191f; }
.hero-copy h1 { max-width: 490px; }
.hero-copy p { color: #555b63; }
.hero-control { top: 50%; z-index: 3; background: white; box-shadow: 0 1px 5px rgba(20,22,27,.1); }
.hero-control:hover { background: #fff; box-shadow: 0 1px 5px rgba(20,22,27,.1); }
.hero-previous { left: 0; transform: translate(-50%,-50%); }
.hero-next { right: 0; transform: translate(50%,-50%); }
.hero-dots { bottom: 13px; }
.hero-slide-image .hero-secondary-placeholder { border-radius: 18px; }
.category-placeholder { aspect-ratio: 1.35; }
.product-art { min-height: 0; aspect-ratio: 1.25; }
.detail-art { min-height: 0; aspect-ratio: 1.25; }
.availability-label { display: block; margin-top: 5px; color: #8f4b20; font-size: 10px; font-weight: 650; }
.preorder-contact { min-height: 36px; display: flex; align-items: center; justify-content: center; padding: 0 9px; color: #9a492c; border-color: #e7c3b2; font-size: 11px; text-align: center; }
.preorder-contact:hover { color: #763a25; background: #fff8f4; }

.product-toolbar { justify-content: flex-start; }
.filter-trigger { min-height: 38px; color: #353a42; background: white; }
.filter-trigger .feather-icon { width: 17px; height: 17px; }
.filter-count { min-width: 19px; height: 19px; display: grid; place-items: center; color: white; background: var(--orange); border-radius: 50%; font-size: 10px; }
.filter-summary { color: var(--muted); font-size: 12px; }
.catalog-topline { margin-top: 3px; }
.filter-dialog { width: min(540px, calc(100vw - 32px)); max-height: min(720px, calc(100dvh - 36px)); padding: 0; overflow: auto; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 19px; box-shadow: 0 16px 45px rgba(20,22,27,.18); }
.filter-dialog::backdrop { background: rgba(18,21,26,.36); backdrop-filter: blur(2px); }
.filter-dialog-form { display: flex; flex-direction: column; }
.filter-dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.filter-dialog-head h2 { margin: 0; font-size: 19px; }
.filter-dialog-body { display: grid; gap: 19px; padding: 20px; }
.filter-dialog label, .price-filter legend { color: #41464e; font-size: 12px; font-weight: 650; }
.filter-dialog select, .filter-dialog input[type="number"] { width: 100%; min-height: 42px; margin-top: 7px; padding: 0 11px; color: var(--ink); background: white; border: 1px solid var(--line-strong); border-radius: 10px; font-size: 13px; }
.filter-category-mobile { display: none; }
.price-filter { margin: 0; padding: 0; border: 0; }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 8px; }
.range-inputs { display: grid; gap: 6px; margin-top: 11px; }
.range-inputs input { width: 100%; accent-color: var(--orange); }
.range-limits { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
.filter-dialog-actions { display: flex; justify-content: flex-end; gap: 9px; padding: 14px 20px 20px; border-top: 1px solid var(--line); }
.filter-dialog-actions .button-primary { min-width: 170px; }

.reseller-program-page { max-width: 790px; margin-inline: auto; }
.reseller-program-page .page-heading { margin-bottom: 16px; }
.reseller-steps { display: grid; gap: 0; margin: 0 0 22px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.reseller-steps li { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 13px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.reseller-steps li > span { color: var(--orange-dark); font-size: 13px; font-weight: 700; }
.reseller-steps strong { font-size: 14px; }
.reseller-steps p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.reseller-program-actions { display: flex; align-items: center; gap: 18px; }

.admin-page { min-height: 100dvh; color: var(--ink); background: #f6f7f8; }
.admin-auth-head, .admin-app-head { min-height: 62px; display: flex; align-items: center; gap: 18px; padding: 10px max(20px, calc((100vw - 1200px) / 2)); background: white; border-bottom: 1px solid var(--line); }
.admin-auth-head .brand, .admin-app-head .brand { font-size: 19px; }
.admin-auth-head > span, .admin-app-head > span { color: var(--muted); font-size: 13px; }
.admin-auth-card { width: min(450px, calc(100% - 28px)); margin: clamp(50px, 12vh, 120px) auto; padding: 26px; background: white; border: 1px solid var(--line); border-radius: 17px; }
.admin-auth-card h1, .admin-products-heading h1 { margin: 0; font-size: 25px; letter-spacing: -.7px; }
.admin-auth-card > p, .admin-products-heading p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.admin-auth-form { display: grid; gap: 13px; margin-top: 19px; }
.admin-auth-form label, .admin-fields > label { display: grid; gap: 6px; color: #434851; font-size: 12px; font-weight: 650; }
.admin-auth-form input, .admin-fields input, .admin-fields select, .admin-fields textarea { width: 100%; min-height: 41px; padding: 9px 11px; color: var(--ink); background: white; border: 1px solid var(--line-strong); border-radius: 9px; font: inherit; font-size: 13px; }
.admin-auth-form small, .admin-fields small { color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.5; }
.admin-form-message { min-height: 0; margin: 0; color: #167143; font-size: 12px; }
.admin-form-message:empty { display: none; }
.admin-form-message.is-error { color: #a53236; }
.admin-back-link { display: inline-block; margin-top: 17px; color: #626771; font-size: 12px; }
.admin-app-head { gap: 17px; }
.admin-app-head > div { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.admin-app-head > div > span { color: var(--muted); font-size: 12px; }
.admin-products { max-width: 1050px; margin: 28px auto 0; padding: 0 20px 50px; }
.admin-products-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.admin-products-heading p { margin: 7px 0 0; }
.admin-products-heading > span { color: var(--muted); font-size: 12px; }
.admin-product-list { display: grid; gap: 10px; }
.admin-product-editor { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 12px; }
.admin-product-editor summary { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px; cursor: pointer; list-style: none; }
.admin-product-editor summary::-webkit-details-marker { display: none; }
.admin-product-editor summary > span:first-child { display: grid; gap: 4px; }
.admin-product-editor summary strong { font-size: 14px; }
.admin-product-editor summary small { color: var(--muted); font-size: 11px; }
.admin-edit-label { color: var(--orange-dark); font-size: 12px; font-weight: 650; }
.admin-product-form { padding: 16px; border-top: 1px solid var(--line); }
.admin-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.admin-fields textarea { resize: vertical; line-height: 1.5; }
.admin-wide, .admin-confirm-stock { grid-column: 1/-1; }
.admin-confirm-stock { display: flex !important; align-items: flex-start; gap: 10px !important; padding: 11px 12px; background: #f8f8f9; border-radius: 10px; }
.admin-confirm-stock input { width: 17px; min-height: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--orange); }
.admin-confirm-stock span { display: grid; gap: 4px; }
.admin-product-form > .button { margin-top: 10px; }
.admin-loading, .admin-service-error { width: min(580px, calc(100% - 32px)); margin: 14vh auto; padding: 24px; background: white; border: 1px solid var(--line); border-radius: 15px; text-align: center; }
.admin-service-error h1 { font-size: 22px; }
.admin-service-error p { margin: 8px 0 18px; color: var(--muted); line-height: 1.6; }

@media (max-width: 640px) {
  html { scroll-padding-top: 116px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  body.has-sticky-purchase { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
  body.admin-mode, body.is-not-found { padding-bottom: 0; }
  .preview-note { display: none; }
  .site-header { position: sticky; z-index: 40; top: 0; padding-top: env(safe-area-inset-top); background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
  .mobile-top { min-height: 51px; padding: 5px 14px 3px; }
  .mobile-search-row { padding: 0 14px 10px; }
  .search-form { height: 43px; }
  .site-footer { display: none !important; }
  .mobile-bottom { position: fixed; z-index: 30; right: 0; bottom: 0; left: 0; height: calc(68px + env(safe-area-inset-bottom)); min-height: 0; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 5px 10px calc(5px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.98); border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: 0 -5px 18px rgba(20,22,27,.08); backdrop-filter: blur(16px); }
  .mobile-nav-link { min-height: 54px; gap: 5px; font-size: 10px; }
  .mobile-nav-link .feather-icon { width: 20px; height: 20px; }
  .mobile-purchase { bottom: calc(68px + env(safe-area-inset-bottom)); min-height: 70px; padding: 10px 16px; box-shadow: 0 -3px 14px rgba(20,22,27,.08); }
  .mobile-purchase small { font-size: 10px; }
  .mobile-purchase strong { font-size: 15px; }
  .mobile-purchase .button { min-height: 46px; padding-inline: 16px; font-size: 12px; }
  .toast { bottom: calc(76px + env(safe-area-inset-bottom)); }
  body.has-sticky-purchase .toast { bottom: calc(146px + env(safe-area-inset-bottom)); }
  .role-mode { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .role-mobile-nav { right: 0; bottom: 0; left: 0; height: calc(68px + env(safe-area-inset-bottom)); min-height: 0; padding: 5px 8px calc(5px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.98); border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: 0 -5px 18px rgba(20,22,27,.08); backdrop-filter: blur(16px); }
  .role-mobile-nav a { min-height: 54px; gap: 4px; }
  .role-mobile-nav small { font-size: 9px; }
  .role-mobile-icon { width: 19px; height: 19px; flex: 0 0 auto; }
  .role-mobile-label { font-size: 9px; line-height: 1.1; }
  .role-topbar { top: 0; padding-top: calc(7px + env(safe-area-inset-top)); }
  .role-list-row:not(:has(.role-list-icon)) { grid-template-columns: minmax(0,1fr) auto; gap: 7px 9px; }
  .role-list-status { min-width: 0; }
  .role-list-main > span { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.45; overflow-wrap: anywhere; }
  .role-list-row > .text-link { grid-column: 1/-1; justify-self: start; }
  .role-mode .toast { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .admin-auth-head, .admin-app-head { position: sticky; z-index: 20; top: 0; padding-top: calc(10px + env(safe-area-inset-top)); }
  .faq-support { align-items: stretch; flex-direction: column; gap: 13px; margin-top: 18px; padding: 15px; }
  .faq-support .button { min-height: 46px; font-size: 12px; }
  .hero-carousel { min-height: 0; }
  .hero-slide { display: block; aspect-ratio: 4 / 1; }
  .hero-copy { display: none; }
  .hero-control { top: 50%; bottom: auto; width: 31px; height: 31px; transform: translate(-50%,-50%); }
  .hero-previous { left: 0; }
  .hero-next { right: 0; transform: translate(50%,-50%); }
  .hero-dots { bottom: 7px; }
  .hero-dots button { width: 6px; height: 6px; }
  .hero-dots button[aria-pressed="true"] { width: 17px; }
  .category-placeholder { aspect-ratio: 1.35; }
  .product-art { min-height: 0; aspect-ratio: 1.25; }
  .detail-art { min-height: 0; aspect-ratio: 1.25; }
  .filter-category-mobile { display: block; }
  .filter-dialog { position: fixed; right: 0; bottom: 0; left: 0; width: 100%; max-width: none; max-height: min(82dvh, 740px); margin: auto 0 0; border-radius: 19px 19px 0 0; }
  .filter-dialog-body { gap: 15px; padding: 16px; }
  .filter-dialog-head, .filter-dialog-actions { padding-inline: 16px; }
  .filter-dialog-actions .button-primary { min-width: 0; flex: 1; }
  .reseller-program-page { padding: 18px 15px; }
  .reseller-program-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .admin-auth-head, .admin-app-head { min-height: 56px; padding-inline: 14px; }
  .admin-app-head { flex-wrap: wrap; }
  .admin-app-head > div { gap: 7px; }
  .admin-app-head > div > span { display: none; }
  .admin-products { margin-top: 20px; padding-inline: 13px; }
  .admin-products-heading h1 { font-size: 22px; }
  .admin-product-editor summary { padding-inline: 12px; }
  .admin-product-form { padding: 12px; }
  .admin-fields { grid-template-columns: 1fr; gap: 11px; }
  .admin-wide, .admin-confirm-stock { grid-column: auto; }
}

/* Admin workspace: clear navigation, scannable product cards, and consistent custom controls. */
.admin-app-head { min-height: 72px; padding-inline: max(24px, calc((100vw - 1240px) / 2)); }
.admin-app-head .brand { font-size: 21px; }
.admin-products { max-width: 1240px; margin-top: 30px; padding-inline: 24px; }
.admin-tabs { display: flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; margin: 0 0 26px; padding: 5px; overflow-x: auto; background: #ebeef1; border: 1px solid rgba(20,22,27,.06); border-radius: 13px; scrollbar-width: none; }
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tabs a { flex: 0 0 auto; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; color: #616771; border-radius: 9px; font-size: 12px; font-weight: 650; white-space: nowrap; transition: color .16s ease, background .16s ease, box-shadow .16s ease; }
.admin-tabs a:hover { color: var(--ink); background: rgba(255,255,255,.65); }
.admin-tabs a[aria-current="page"] { color: var(--ink); background: white; box-shadow: 0 1px 4px rgba(20,22,27,.08); }
.admin-section { min-width: 0; }
.admin-products-heading { align-items: center; margin-bottom: 22px; }
.admin-products-heading h1, .admin-product-detail-heading h1 { margin-top: 4px; font-size: clamp(26px, 3vw, 34px); line-height: 1.12; letter-spacing: -1.1px; }
.admin-products-heading p, .admin-product-detail-heading p { max-width: 540px; margin-top: 9px; line-height: 1.55; }
.admin-eyebrow { color: var(--orange-dark); font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.admin-product-count { display: grid; justify-items: end; gap: 2px; color: var(--muted); }
.admin-product-count strong { color: var(--ink); font-size: 21px; line-height: 1; }
.admin-product-count small { font-size: 11px; }
.admin-create-product { margin: 0 0 17px; border-color: rgba(239,100,38,.22); box-shadow: 0 4px 14px rgba(39,31,26,.025); }
.admin-create-product summary { min-height: 72px; justify-content: flex-start; padding: 12px 18px; }
.admin-add-product-icon { width: 40px; height: 40px; display: grid; flex: 0 0 auto; place-items: center; color: var(--orange-dark); background: var(--orange-soft); border-radius: 12px; }
.admin-add-product-icon .feather-icon { width: 19px; height: 19px; }
.admin-add-product-copy { display: grid; gap: 4px; }
.admin-add-product-copy strong { font-size: 14px; }
.admin-add-product-copy small { color: var(--muted); font-size: 11px; }
.admin-create-chevron { margin-left: auto; color: var(--muted); transition: transform .18s ease; }
.admin-create-product[open] .admin-create-chevron { transform: rotate(180deg); }
.admin-product-toolbar { display: grid; grid-template-columns: minmax(220px,1fr) auto auto; align-items: center; gap: 14px; margin: 0 0 17px; padding: 12px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.admin-product-search { min-width: 0; height: 42px; display: flex; align-items: center; gap: 9px; padding: 0 12px; color: #777e88; background: #f7f8f9; border: 1px solid var(--line); border-radius: 10px; }
.admin-product-search .feather-icon { width: 17px; height: 17px; flex: 0 0 auto; }
.admin-product-search input { width: 100%; min-width: 0; padding: 0; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: 12px; }
.admin-select-all { display: inline-flex !important; align-items: center; gap: 8px !important; color: #555c66 !important; font-size: 11px !important; font-weight: 600 !important; white-space: nowrap; }
.admin-select-all input, .admin-product-check input { width: 16px; height: 16px; min-height: 0; margin: 0; accent-color: var(--orange); }
.admin-product-bulk-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.admin-product-bulk-actions > span { margin-right: 3px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.admin-product-bulk-actions .button { min-height: 34px; padding: 0 10px; font-size: 11px; }
.admin-product-bulk-actions button:disabled { opacity: .4; cursor: not-allowed; }
.admin-product-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; gap: 16px; }
.admin-product-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 3px 12px rgba(20,22,27,.025); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.admin-product-card:hover { transform: translateY(-2px); border-color: rgba(20,22,27,.16); box-shadow: 0 10px 28px rgba(20,22,27,.075); }
.admin-product-card[hidden] { display: none; }
.admin-search-empty[hidden] { display: none; }
.admin-product-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 17px; color: #9a5133; background: linear-gradient(135deg,#fff4ec,#f9e7da); }
.admin-product-card:nth-child(3n + 2) .admin-product-placeholder { color: #45679e; background: linear-gradient(135deg,#eff4ff,#e5ecf8); }
.admin-product-card:nth-child(3n) .admin-product-placeholder { color: #6b5791; background: linear-gradient(135deg,#f5f0fb,#ece5f4); }
.admin-product-placeholder span { font-size: 10px; font-weight: 650; letter-spacing: .02em; }
.admin-product-placeholder strong { align-self: flex-end; font-size: clamp(48px, 8vw, 76px); font-weight: 750; line-height: .8; opacity: .72; }
.admin-product-check { position: absolute; top: 11px; left: 11px; display: inline-flex !important; align-items: center; gap: 7px !important; padding: 7px 9px; color: #333842 !important; background: rgba(255,255,255,.94); border: 1px solid rgba(20,22,27,.09); border-radius: 8px; box-shadow: 0 2px 8px rgba(20,22,27,.07); font-size: 10px !important; font-weight: 650 !important; cursor: pointer; }
.admin-product-archived { position: absolute; top: 11px; right: 11px; padding: 6px 9px; color: #555c66; background: rgba(255,255,255,.94); border-radius: 7px; font-size: 10px; font-weight: 700; }
.admin-product-card-body { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 11px; padding: 14px 15px 15px; }
.admin-product-card-overline { display: flex; align-items: center; justify-content: space-between; gap: 9px; color: var(--muted); font-size: 10px; }
.admin-product-card-overline > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-product-state { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 5px; color: #247747; font-size: 9px; font-weight: 650; white-space: nowrap; }
.admin-product-state i { width: 6px; height: 6px; background: #2e9a5b; border-radius: 50%; }
.admin-product-state.is-muted { color: #6b7079; }
.admin-product-state.is-muted i { background: #8c929c; }
.admin-product-card h2 { min-height: 38px; margin: 0; overflow: hidden; font-size: 14px; line-height: 1.4; }
.admin-product-prices { min-height: 35px; display: grid; align-content: start; gap: 3px; }
.admin-product-prices strong { font-size: 14px; }
.admin-product-prices span { color: var(--muted); font-size: 10px; }
.admin-product-stock { display: flex; align-items: center; gap: 7px; padding-top: 9px; color: #626975; border-top: 1px solid var(--line); font-size: 10px; }
.admin-product-stock .feather-icon { width: 14px; height: 14px; }
.admin-product-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 2px; }
.admin-product-card-actions .button { min-width: 96px; }
.admin-product-card-id { max-width: 55%; overflow: hidden; color: #9297a0; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.admin-product-card.is-archived { opacity: .72; }
.admin-product-card.is-archived:hover { opacity: 1; }
.admin-product-detail-page { max-width: 920px; margin-inline: auto; }
.admin-back-products { width: fit-content; display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; color: #626975; font-size: 12px; font-weight: 650; }
.admin-back-products:hover { color: var(--ink); }
.admin-back-products .feather-icon { width: 16px; height: 16px; }
.admin-product-detail-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.admin-product-detail-id { max-width: 240px; margin-bottom: 5px; padding: 7px 10px; overflow: hidden; color: #737984; background: #eceef1; border-radius: 8px; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.admin-product-edit-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 28px rgba(20,22,27,.04); }
.admin-product-edit-preview { display: flex; align-items: center; gap: 15px; padding: 18px 20px; background: linear-gradient(110deg,#fffaf6,#fff 65%); border-bottom: 1px solid var(--line); }
.admin-product-edit-preview > img, .admin-product-edit-preview > .admin-product-placeholder { width: 90px; height: 68px; flex: 0 0 auto; object-fit: cover; border-radius: 11px; }
.admin-product-edit-preview > .admin-product-placeholder { padding: 8px; }
.admin-product-edit-preview .admin-product-placeholder span { font-size: 8px; }
.admin-product-edit-preview .admin-product-placeholder strong { font-size: 33px; }
.admin-product-edit-preview > div:last-child { display: grid; gap: 5px; }
.admin-product-edit-preview > div:last-child strong { font-size: 14px; }
.admin-product-edit-preview > div:last-child span { color: var(--muted); font-size: 11px; }
.admin-empty-state { grid-column: 1/-1; display: grid; justify-items: center; gap: 10px; padding: 54px 24px; background: white; border: 1px dashed var(--line-strong); border-radius: 16px; text-align: center; }
.admin-empty-state h1, .admin-empty-state h2 { margin: 0; font-size: 19px; }
.admin-empty-state p { max-width: 380px; margin: 0 0 5px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.admin-empty-icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--orange-dark); background: var(--orange-soft); border-radius: 14px; }
.admin-empty-icon .feather-icon { width: 21px; height: 21px; }
.admin-fields input[type="number"], .admin-fields input[type="date"], .admin-fields input:not([type]), .admin-fields textarea, .admin-auth-form input, .admin-fulfillment-form input { transition: border-color .15s ease, box-shadow .15s ease; }
.admin-fields input:focus, .admin-fields textarea:focus, .admin-auth-form input:focus, .admin-fulfillment-form input:focus { border-color: rgba(239,100,38,.66); box-shadow: 0 0 0 3px rgba(239,100,38,.12); outline: 0; }
.admin-fields textarea { min-height: 92px; }
.admin-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.admin-form-actions .button { min-height: 41px; padding-inline: 16px; }
.admin-form-actions .button-danger { margin-left: auto; }
.admin-product-form { padding: 20px; }
.admin-fields { gap: 17px 18px; }
.admin-field { min-width: 0; display: grid; align-content: start; gap: 6px; color: #434851; font-size: 12px; font-weight: 650; }
.admin-field-label { color: #434851; font-size: 12px; font-weight: 650; }
.custom-dropdown { position: relative; min-width: 0; }
.custom-dropdown-trigger { width: 100%; min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 11px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 9px; font-size: 12px; font-weight: 500; text-align: left; cursor: pointer; }
.custom-dropdown-trigger:hover { border-color: rgba(20,22,27,.28); }
.custom-dropdown-trigger[aria-expanded="true"] { border-color: rgba(239,100,38,.68); box-shadow: 0 0 0 3px rgba(239,100,38,.1); }
.custom-dropdown-trigger > .feather-icon { width: 15px; height: 15px; flex: 0 0 auto; color: #777e88; transition: transform .16s ease; }
.custom-dropdown-trigger[aria-expanded="true"] > .feather-icon { transform: rotate(180deg); }
.custom-dropdown-menu { position: absolute; z-index: 60; top: calc(100% + 6px); right: 0; left: 0; max-height: 250px; padding: 5px; overflow-y: auto; background: white; border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 14px 35px rgba(20,22,27,.15); }
.custom-dropdown-menu[hidden] { display: none; }
.custom-dropdown-option { width: 100%; min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 9px; color: #454a53; background: transparent; border: 0; border-radius: 7px; font-size: 11px; text-align: left; cursor: pointer; }
.custom-dropdown-option:hover, .custom-dropdown-option[aria-selected="true"] { color: var(--ink); background: #f5f6f7; }
.custom-dropdown-option[aria-selected="true"] { font-weight: 700; }
.custom-dropdown-option .feather-icon { width: 15px; height: 15px; color: var(--orange-dark); }
.catalog-sort { width: min(220px,48vw); }
.sort-filter { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; }
.bulk-product-picker > span { color: #555c66; font-size: 11px; font-weight: 650; }
.bulk-product-select { width: 100%; }
.bulk-product-select .custom-dropdown-trigger { min-height: 42px; font-weight: 500; }
.admin-image-field { min-width: 0; display: grid; gap: 7px; }
.admin-image-upload { min-width: 0; display: grid; grid-template-columns: 125px minmax(0,1fr); align-items: center; gap: 13px; padding: 11px; background: #f8f9fa; border: 1px solid var(--line); border-radius: 12px; }
.admin-upload-preview { width: 125px; aspect-ratio: 1.55; display: grid; place-items: center; overflow: hidden; color: #8c929c; background: #eceef1; border: 1px solid rgba(20,22,27,.05); border-radius: 9px; }
.admin-upload-preview > img { width: 100%; height: 100%; object-fit: cover; }
.admin-upload-preview > span { display: grid; justify-items: center; gap: 3px; }
.admin-upload-preview .feather-icon { width: 21px; height: 21px; }
.admin-upload-preview small { font-size: 8px; }
.admin-upload-controls { min-width: 0; display: grid; justify-items: start; gap: 6px; }
.admin-upload-button { min-height: 35px; display: inline-flex; align-items: center; gap: 7px; padding-inline: 11px; font-size: 11px; }
.admin-upload-button .feather-icon, .custom-file-control .button .feather-icon { width: 15px; height: 15px; }
.admin-upload-name { max-width: 100%; overflow: hidden; color: #4e535d; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.admin-upload-controls small { font-size: 9px; }
.custom-file-input { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
.custom-file-input:focus-visible + button { outline: 3px solid rgba(23,105,232,.42); outline-offset: 3px; }
.custom-file-control { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.custom-file-control > span { color: var(--muted); font-size: 10px; }
.custom-file-control .button { min-height: 37px; display: inline-flex; align-items: center; gap: 7px; padding-inline: 11px; font-size: 11px; }
.admin-cms-form { display: grid; gap: 16px; }
.admin-cms-form > .admin-section { padding: 19px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.admin-cms-form .admin-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.admin-cms-form .admin-section-heading h2 { margin: 0; font-size: 17px; letter-spacing: -.3px; }
.admin-cms-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.admin-cms-row { min-width: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 12px; padding: 15px; background: #fbfbfc; border: 1px solid var(--line); border-radius: 13px; }
.admin-cms-row legend { padding: 0 6px; color: var(--muted); font-size: 10px; font-weight: 700; }
.admin-cms-row > label { min-width: 0; display: grid; gap: 6px; color: #434851; font-size: 11px; font-weight: 650; }
.admin-cms-row input:not([type="checkbox"]), .admin-cms-row textarea { width: 100%; min-height: 38px; padding: 8px 10px; color: var(--ink); background: white; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; font-size: 11px; }
.admin-cms-row textarea { min-height: 68px; resize: vertical; }
.admin-cms-row .admin-image-field { grid-column: 1/-1; }
.admin-cms-row .admin-image-upload { grid-template-columns: 105px minmax(0,1fr); }
.admin-cms-row .admin-upload-preview { width: 105px; }
.cms-active-field { display: flex !important; align-items: center; gap: 8px !important; }
.cms-active-field input { width: 16px; height: 16px; min-height: 0; margin: 0; accent-color: var(--orange); }
.admin-cms-row > .button-danger { justify-self: start; }
.payment-config-note { display: grid; justify-items: start; gap: 9px; padding: 15px; color: #4f5560; background: #f7f8f9; border-radius: 12px; }
.payment-config-note strong { color: var(--ink); font-size: 13px; }
.payment-config-note p { margin: 0; font-size: 11px; line-height: 1.6; }
.payment-config-note a { color: var(--orange-dark); font-size: 11px; font-weight: 650; }
.admin-fulfillment-form { display: grid; grid-template-columns: minmax(160px,.7fr) minmax(180px,1.3fr) auto; align-items: end; gap: 12px; margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--line); }
.admin-fulfillment-form > label { min-width: 0; display: grid; gap: 6px; color: #434851; font-size: 11px; font-weight: 650; }
.admin-fulfillment-form input { width: 100%; min-height: 42px; padding: 0 10px; color: var(--ink); background: white; border: 1px solid var(--line-strong); border-radius: 9px; font-size: 11px; }
.admin-order-list { display: grid; gap: 12px; }
.admin-order-card { padding: 17px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.admin-order-card > p { color: #505660; font-size: 12px; }
.admin-order-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.admin-order-head > div { display: grid; gap: 5px; }
.admin-order-head > div span { color: var(--muted); font-size: 10px; }
.admin-order-status { display: flex; flex-wrap: wrap; gap: 7px; }
.admin-service-error { margin-block: 70px; }
.admin-section > h2 { margin: 26px 0 13px; font-size: 18px; letter-spacing: -.3px; }
.admin-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; margin: 21px 0 19px; }
.admin-metrics > a { min-width: 0; display: grid; gap: 9px; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.admin-metrics > a:hover { transform: translateY(-2px); border-color: rgba(239,100,38,.34); box-shadow: 0 8px 22px rgba(20,22,27,.06); }
.admin-metrics > a span { color: #626975; font-size: 11px; }
.admin-metrics > a strong { font-size: 25px; letter-spacing: -.5px; }
.admin-shortcuts { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 27px; }
.admin-shortcuts .button { min-height: 40px; padding-inline: 15px; }
.admin-section > .admin-empty { padding: 22px; color: var(--muted); background: white; border: 1px dashed var(--line-strong); border-radius: 13px; text-align: center; }
.admin-service-error .button { min-height: 42px; }

@media (max-width: 980px) {
  .admin-product-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-product-toolbar { grid-template-columns: minmax(200px,1fr) auto; }
  .admin-product-bulk-actions { grid-column: 1/-1; justify-content: flex-start; padding-top: 4px; }
}

@media (max-width: 640px) {
  .admin-app-head { min-height: 60px; padding-inline: 14px; }
  .admin-products { max-width: 100%; margin-top: 17px; padding: 0 13px 34px; }
  .admin-tabs { width: 100%; gap: 3px; margin-bottom: 20px; }
  .admin-tabs a { min-height: 36px; padding-inline: 11px; font-size: 10px; }
  .admin-products-heading { align-items: center; margin-bottom: 17px; }
  .admin-products-heading h1, .admin-product-detail-heading h1 { font-size: 25px; }
  .admin-product-count { padding: 8px 10px; background: white; border: 1px solid var(--line); border-radius: 10px; }
  .admin-product-toolbar { grid-template-columns: minmax(0,1fr) auto; gap: 10px; padding: 10px; }
  .admin-product-search { grid-column: 1/-1; }
  .admin-product-bulk-actions { display: flex; flex-wrap: wrap; gap: 6px; }
  .admin-product-bulk-actions > span { width: 100%; }
  .admin-product-bulk-actions .button { min-height: 32px; padding-inline: 9px; }
  .admin-product-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .admin-product-media { aspect-ratio: 1.3; }
  .admin-product-card-body { gap: 8px; padding: 11px 10px 12px; }
  .admin-product-card-overline { align-items: flex-start; flex-direction: column; gap: 5px; }
  .admin-product-card h2 { min-height: 38px; font-size: 12px; }
  .admin-product-prices { min-height: 33px; }
  .admin-product-prices strong { font-size: 12px; }
  .admin-product-stock { padding-top: 7px; font-size: 9px; }
  .admin-product-card-actions { align-items: stretch; flex-direction: column; gap: 5px; }
  .admin-product-card-actions .button { width: 100%; min-width: 0; min-height: 35px; }
  .admin-product-card-id { max-width: 100%; }
  .admin-product-check { top: 7px; left: 7px; padding: 6px 7px; font-size: 9px !important; }
  .admin-product-archived { top: 7px; right: 7px; padding: 5px 7px; font-size: 9px; }
  .admin-product-detail-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .admin-product-edit-preview { gap: 11px; padding: 13px; }
  .admin-product-edit-preview > img, .admin-product-edit-preview > .admin-product-placeholder { width: 72px; height: 58px; }
  .admin-product-form { padding: 14px; }
  .admin-fields { grid-template-columns: 1fr; gap: 13px; }
  .admin-wide, .admin-confirm-stock { grid-column: 1/-1; }
  .admin-image-upload { grid-template-columns: 94px minmax(0,1fr); gap: 10px; padding: 9px; }
  .admin-upload-preview { width: 94px; }
  .admin-upload-controls small { font-size: 8px; }
  .admin-upload-button { min-height: 32px; padding-inline: 9px; }
  .admin-form-actions { align-items: stretch; }
  .admin-form-actions .button { flex: 1; padding-inline: 10px; font-size: 11px; }
  .admin-form-actions .button-danger { margin-left: 0; }
  .admin-cms-form > .admin-section { padding: 13px; }
  .admin-cms-form .admin-section-heading { align-items: flex-start; }
  .admin-cms-grid { grid-template-columns: 1fr; }
  .admin-cms-row { grid-template-columns: 1fr; padding: 12px; }
  .admin-cms-row .admin-image-upload { grid-template-columns: 84px minmax(0,1fr); }
  .admin-cms-row .admin-upload-preview { width: 84px; }
  .admin-fulfillment-form { grid-template-columns: 1fr; }
  .sort-filter { align-items: flex-start; flex-direction: column; gap: 6px; }
  .catalog-sort { width: 100%; }
  .bulk-calculator { grid-template-columns: minmax(0,1fr); }
  .admin-metrics { grid-template-columns: 1fr; gap: 9px; }
  .admin-metrics > a { grid-template-columns: 1fr auto; align-items: center; padding: 14px; }
  .admin-metrics > a strong { grid-column: 2; grid-row: 1; font-size: 22px; }
  .admin-shortcuts { align-items: stretch; flex-direction: column; }
  .admin-shortcuts .button { width: 100%; }
}

/* Keep useful content visible before store imagery is uploaded in CMS. */
.hero-slide:not(.hero-slide-image) { isolation: isolate; }
.hero-copy { position: relative; z-index: 1; }
.hero-fallback-image {
  position: relative;
  z-index: 0;
  min-height: 220px;
  height: 100%;
  border: 0;
  background: radial-gradient(circle at 70% 35%, #fff 0 8%, transparent 8.5%), radial-gradient(circle at 72% 38%, #ffe1cc 0 24%, transparent 24.5%), linear-gradient(135deg, #fff4eb, #f9e6d8 54%, #f4f1ef);
}
.hero-slide.is-active:has(.hero-fallback-image) { background: linear-gradient(110deg, #fffaf6 0%, #fff 56%, #fff4eb 100%); }
.hero-slide.is-active:has(.hero-fallback-image) .hero-image-placeholder { grid-column: 2; }
.category-placeholder { border: 0; background: linear-gradient(145deg, #f5f2ef, #fff8f2 55%, #f5f2ef); }
.category-item:nth-child(2n) .category-placeholder { background: linear-gradient(145deg, #eef3fb, #f9fbff 55%, #edf3fb); }
.category-item:nth-child(3n) .category-placeholder { background: linear-gradient(145deg, #f2eef9, #fcfaff 55%, #f1edf8); }
.product-card:nth-child(5n + 1) .product-art.image-placeholder { background: linear-gradient(145deg, #fff0e5, #fffaf6 55%, #f9e8dd) !important; border: 0; }
.product-card:nth-child(5n + 2) .product-art.image-placeholder { background: linear-gradient(145deg, #edf3ff, #fbfcff 55%, #e9effa) !important; border: 0; }
.product-card:nth-child(5n + 3) .product-art.image-placeholder { background: linear-gradient(145deg, #f3eefb, #fdfbff 55%, #ece6f6) !important; border: 0; }
.product-card:nth-child(5n + 4) .product-art.image-placeholder { background: linear-gradient(145deg, #edf7f2, #fbfefc 55%, #e8f3ee) !important; border: 0; }
.product-card:nth-child(5n) .product-art.image-placeholder { background: linear-gradient(145deg, #fff5df, #fffdf7 55%, #f8efd8) !important; border: 0; }

@media (max-width: 640px) {
  body { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .mobile-bottom {
    right: 12px;
    bottom: calc(9px + env(safe-area-inset-bottom));
    left: 12px;
    height: 64px;
    min-height: 0;
    padding: 4px 7px;
    background: rgba(255,255,255,.97);
    border: 1px solid rgba(30,34,40,.09);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(20,22,27,.13);
  }
  .mobile-nav-link { min-height: 52px; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .hero-carousel { aspect-ratio: auto; min-height: 166px; height: 166px; overflow: hidden; }
  .hero-slide { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0,1fr); align-items: start; gap: 0; aspect-ratio: auto; min-height: 0; padding: 19px 17px 24px; }
  .hero-copy { position: absolute; top: 14px; right: 17px; left: 17px; display: block; max-width: none; padding: 0; }
  .hero-copy h1 { position: relative; z-index: 4; display: block; max-width: 100%; margin: 0 0 7px !important; color: #17191f; font-size: clamp(19px, 6vw, 24px); line-height: 1.15; letter-spacing: -.7px; visibility: visible; }
  .hero-copy p { max-width: 36ch; margin: 7px 0 11px; font-size: 10px; line-height: 1.5; }
  .hero-copy .button { min-height: 34px; padding: 0 11px; font-size: 10px; }
  .hero-slide.is-active:has(.hero-fallback-image) .hero-image-placeholder { display: none; }
  .hero-dots { bottom: 8px; }
}

@media (max-width: 360px) {
  .mobile-bottom { right: 9px; left: 9px; }
  .hero-carousel { min-height: 174px; height: 174px; }
  .hero-slide { padding-inline: 15px; }
}

/* Final storefront fit: stable blank carousel, compact card actions and editable cart controls. */
.hero-carousel { isolation: isolate; contain: paint; background: #f0f1f2; }
.hero-slide, .hero-slide-image { position: absolute !important; inset: 0; display: none !important; padding: 0 !important; border: 0 !important; border-radius: inherit; background: #f0f1f2 !important; opacity: 1 !important; visibility: visible !important; transition: none !important; }
.hero-slide.is-active { display: block !important; }
.hero-copy, .hero-fallback-image, .hero-image-placeholder, .hero-secondary-placeholder, .hero-uploaded-image { display: none !important; }
.hero-slide::before, .hero-slide::after { content: none !important; display: none !important; }
.hero-carousel .hero-control { z-index: 4; }
.hero-carousel .hero-dots { z-index: 4; }
.category-placeholder { background: #f0f1f2 !important; }
.product-card { display: flex; flex-direction: column; }
.product-card-link { flex: 1 1 auto; }
.product-card-actions { display: grid; grid-template-columns: minmax(0,1fr) 44px; gap: 8px; margin: 0 12px 12px; }
.product-card-actions .button { min-width: 0; min-height: 42px; }
.product-detail-button { width: 100%; font-weight: 700; }
.cart-icon-button { width: 44px; padding: 0; display: grid; place-items: center; background: #fff; border: 1px solid var(--line-strong); color: var(--ink); }
.cart-icon-button .feather-icon { width: 18px; height: 18px; }
.cart-icon-button:hover { color: var(--orange-dark); border-color: var(--orange); }
.cart-controls { gap: 8px; }
.qty-button { width: 34px; height: 34px; flex: 0 0 34px; padding: 0; }
.qty-button .feather-icon { width: 14px; height: 14px; }
.qty-value { width: 48px; height: 34px; padding: 0 3px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font: inherit; font-size: 12px; text-align: center; }
.qty-value:focus { outline: 2px solid rgba(239,100,38,.24); border-color: var(--orange); }
.checkout-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(285px,.65fr); align-items: start; gap: 22px; }
.checkout-items { padding: 22px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.checkout-items h2 { margin: 0 0 16px; font-size: 15px; }
.checkout-item { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 13px; }
.checkout-item > span { display: grid; gap: 5px; min-width: 0; }
.checkout-item > span strong { font-size: 13px; }
.checkout-item small { color: var(--muted); font-size: 11px; }
.checkout-item > strong { flex: 0 0 auto; }
.checkout-payment-hint { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; padding: 13px; color: #565d67; background: #f7f8f9; border-radius: 11px; font-size: 11px; line-height: 1.5; }
.checkout-payment-hint .feather-icon { width: 15px; height: 15px; flex: 0 0 15px; }
.checkout-layout .summary-card { position: static; padding: 22px; }
.checkout-layout .summary-line, .checkout-layout .summary-total { font-size: 13px; }
.order-payment-card { padding: 22px; }
.qris-frame { width: min(100%, 300px); margin: 18px auto; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.qris-frame img { width: 100%; aspect-ratio: 1; display: block; object-fit: contain; }
.qris-expiration { color: var(--muted); font-size: 11px; text-align: center; }
.order-payment-card .button { width: 100%; margin-top: 14px; }
.payment-config-note { padding: 15px 16px; background: #f7f8f9; border: 1px solid var(--line); border-radius: 12px; }
.payment-config-note strong { font-size: 13px; }
.payment-config-note p { margin: 7px 0 10px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.payment-config-note a { color: var(--orange-dark); font-size: 11px; font-weight: 700; }
.admin-order-help { color: var(--muted); font-size: 11px; }
.auth-header { position: fixed; z-index: 20; top: 0; right: 0; width: auto; min-height: 0; margin: 0; padding: 20px 24px; justify-content: flex-end; }
.auth-main { padding-top: 100px; }

@media (max-width: 640px) {
  .product-card-actions { grid-template-columns: minmax(0,1fr) 40px; gap: 6px; margin: 0 9px 9px; }
  .product-card-actions .button { min-height: 37px; }
  .cart-icon-button { width: 40px; }
  .cart-row { grid-template-columns: 56px minmax(0,1fr); gap: 10px; }
  .cart-thumb { width: 56px; height: 56px; }
  .cart-row > div:nth-child(2) { min-width: 0; }
  .cart-side { grid-column: 2; justify-self: end; }
  .cart-side .cart-price { margin-top: 0; }
  .cart-controls { flex-wrap: wrap; }
  .remove-button { margin-left: auto; }
  .checkout-layout { grid-template-columns: 1fr; gap: 12px; }
  .checkout-items, .checkout-layout .summary-card { padding: 16px; }
  .checkout-item { font-size: 12px; }
  .checkout-item > strong { font-size: 11px; }
  .auth-header { padding: 14px 16px; }
  .auth-main { padding: 78px 16px 32px; }
}

/* Standalone customer authentication, plain page canvases, and account forms. */
.auth-mode { min-height: 100dvh; padding: 0; background: #f6f7f8; }
.auth-mode #app { min-height: 100dvh; }
.auth-shell { min-height: 100dvh; display: flex; flex-direction: column; }
.auth-header { width: min(1120px, 100%); min-height: 76px; display: flex; align-items: center; margin-inline: auto; padding: 0 24px; }
.auth-logo { color: var(--ink); font-size: 22px; font-weight: 800; letter-spacing: -.9px; }
.auth-main { width: 100%; flex: 1; display: grid; place-items: center; padding: 22px 20px 60px; }
.auth-page { width: min(440px,100%); margin: 0 auto; }
.auth-card { padding: 34px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 34px rgba(20,22,27,.06); }
.auth-heading { margin-bottom: 26px; }
.auth-heading h1 { margin: 0; font-size: 28px; line-height: 1.2; letter-spacing: -.9px; }
.auth-heading p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.customer-auth-form { display: grid; gap: 16px; }
.customer-auth-form label, .profile-form label { display: grid; gap: 7px; color: #424750; font-size: 12px; font-weight: 650; }
.customer-auth-form input:not([type="hidden"]), .profile-form input:not([type="file"]) { width: 100%; min-width: 0; min-height: 48px; padding: 0 13px; color: var(--ink); background: white; border: 1px solid #d9dce1; border-radius: 10px; font: inherit; font-size: 14px; }
.customer-auth-form input:focus, .profile-form input:focus { border-color: #ee8c5e; outline: 3px solid rgba(239,100,38,.12); }
.customer-auth-form .button { width: 100%; min-height: 48px; margin-top: 2px; }
.auth-switch { margin: 20px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.auth-switch a, .auth-back-link { color: var(--orange-dark); font-weight: 700; }
.auth-back-link { display: block; margin-top: 20px; color: #777d86; font-size: 11px; font-weight: 600; text-align: center; }
.form-message { margin: 0; color: #a53236; font-size: 12px; line-height: 1.45; }
.form-message:empty { display: none; }
.page-panel { padding: 0; background: transparent; border: 0; border-radius: 0; }
.page-heading { margin-bottom: 22px; }
.catalog-category-chips { display: none; }
.account-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(220px,.75fr); align-items: start; gap: 18px; }
.account-profile-card, .account-menu-card { min-width: 0; padding: 22px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.account-profile-head { display: flex; align-items: center; gap: 14px; min-width: 0; margin-bottom: 22px; }
.avatar-large { width: 58px; height: 58px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; color: #a34621; background: #fff0e6; border-radius: 50%; font-size: 20px; font-weight: 750; }
.avatar-large img { width: 100%; height: 100%; object-fit: cover; }
.account-profile-head h2 { margin: 0 0 5px; font-size: 18px; overflow-wrap: anywhere; }
.account-profile-head p { margin: 0 0 8px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.profile-form { display: grid; gap: 15px; max-width: 540px; }
.profile-form input[type="file"] { width: 100%; min-width: 0; padding: 10px; background: #fafafa; border: 1px solid var(--line); border-radius: 10px; font-size: 12px; }
.profile-form small { color: var(--muted); font-size: 11px; font-weight: 400; }
.profile-form > .button { justify-self: start; min-width: 150px; }
.account-menu-card { display: grid; gap: 0; padding: 8px 18px; }
.account-menu-card a, .account-menu-card button { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #eff0f2; font: inherit; font-size: 13px; text-align: left; }
.account-menu-card button { color: #a53236; border-bottom: 0; cursor: pointer; }
.avatar-mark { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; color: #a34621; background: #fff0e6; border-radius: 50%; font-size: 12px; font-weight: 750; }
.avatar-mark img { width: 100%; height: 100%; object-fit: cover; }
.account-link { min-width: 0; max-width: 180px; display: flex; align-items: center; gap: 8px; }
.account-link-copy { min-width: 0; display: grid; gap: 2px; }
.account-link-copy strong, .account-link-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-link-copy strong { max-width: 126px; font-size: 11px; }
.account-link-copy small { color: var(--muted); font-size: 9px; }
.mobile-account-link { width: 36px; height: 36px; display: grid; place-items: center; }
.catalog-category-chips { min-width: 0; display: flex; gap: 8px; margin: 0 0 14px; padding: 1px 1px 5px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.catalog-category-chips::-webkit-scrollbar { display: none; }
.category-chip { min-height: 36px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; color: #555b63; background: white; border: 1px solid var(--line); border-radius: 99px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.category-chip.active { color: #a34621; background: #fff1e8; border-color: #f2c7b1; }

@media (min-width: 641px) {
  .catalog-category-chips { display: none; }
}

@media (max-width: 640px) {
  .auth-mode { padding-bottom: 0; }
  .auth-header { min-height: 62px; padding-inline: 18px; }
  .auth-main { align-items: start; padding: 26px 16px 38px; }
  .auth-card { padding: 25px 21px; border-radius: 16px; }
  .auth-heading { margin-bottom: 23px; }
  .auth-heading h1 { font-size: 25px; }
  .auth-heading p { font-size: 12px; }
  .page-panel { padding: 0; }
  .page-heading { margin-bottom: 17px; }
  .page-heading h1 { font-size: 26px; }
  .catalog-page .page-heading p { font-size: 11px; }
  .catalog-layout { display: block; }
  .catalog-layout > .filter-panel { display: none; }
  .catalog-category-chips { display: flex; margin-right: -14px; padding-right: 14px; }
  .category-chip { min-height: 36px; padding-inline: 13px; font-size: 10px; }
  .catalog-main .product-toolbar { align-items: center; gap: 9px; margin: 0 0 11px; overflow: visible; }
  .catalog-topline { margin-bottom: 11px; }
  .account-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .account-profile-card { padding: 17px; }
  .account-menu-card { padding-inline: 14px; }
  .profile-form > .button { width: 100%; }
  .mobile-top .account-mark-copy { max-width: 98px; }
  .hero-carousel { height: 190px; min-height: 190px; }
  .hero-slide { min-height: 190px; }
  .hero-copy { top: 14px; right: 40px; left: 40px; }
  .hero-control { top: 50%; bottom: auto; width: 28px; height: 28px; transform: translateY(-50%); }
  .hero-previous { left: 7px; transform: translateY(-50%); }
  .hero-next { right: 7px; transform: translateY(-50%); }
}

@media (max-width: 360px) {
  .hero-carousel, .hero-slide { height: 196px; min-height: 196px; }
  .hero-copy { right: 37px; left: 37px; }
  .hero-control { width: 26px; height: 26px; }
  .hero-previous { left: 6px; }
  .hero-next { right: 6px; }
}

/* Keep the authentication mark pinned and the carousel visually quiet at every viewport. */
.auth-header { position: fixed; z-index: 20; top: 0; right: 0; left: auto; width: auto; min-height: 0; margin: 0; padding: 20px 24px; justify-content: flex-end; }
.auth-main { padding-top: 100px; }
.hero-carousel { isolation: isolate; contain: paint; background: #f0f1f2; }
.hero-slide, .hero-slide-image { position: absolute !important; inset: 0; display: none !important; padding: 0 !important; border: 0 !important; border-radius: inherit; background: #f0f1f2 !important; opacity: 1 !important; visibility: visible !important; transition: none !important; }
.hero-slide.is-active { display: block !important; }
.hero-copy, .hero-fallback-image, .hero-image-placeholder, .hero-secondary-placeholder, .hero-uploaded-image { display: none !important; }
.hero-slide::before, .hero-slide::after { content: none !important; display: none !important; }
.hero-carousel .hero-control, .hero-carousel .hero-dots { z-index: 4; }
.hero-carousel .hero-control { transform: translateY(-50%); }
.hero-carousel .hero-previous { left: 16px; }
.hero-carousel .hero-next { right: 16px; }
.category-placeholder { background: #f0f1f2 !important; }
.product-card { display: flex; flex-direction: column; }
.product-card-link { flex: 1 1 auto; }
.product-card-actions { display: grid; grid-template-columns: minmax(0,1fr) 44px; gap: 8px; margin: 0 12px 12px; }
.product-card-actions .button { min-width: 0; min-height: 42px; }
.product-detail-button { width: 100%; font-weight: 700; }
.cart-icon-button { width: 44px; padding: 0; display: grid; place-items: center; background: #fff; border: 1px solid var(--line-strong); color: var(--ink); }
.cart-icon-button .feather-icon { width: 18px; height: 18px; }
.cart-icon-button:hover { color: var(--orange-dark); border-color: var(--orange); }
.cart-controls { gap: 8px; }
.qty-button { width: 34px; height: 34px; flex: 0 0 34px; padding: 0; }
.qty-button .feather-icon { width: 14px; height: 14px; }
.qty-value { width: 48px; height: 34px; padding: 0 3px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font: inherit; font-size: 12px; text-align: center; }
.qty-value:focus { outline: 2px solid rgba(239,100,38,.24); border-color: var(--orange); }
.checkout-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(285px,.65fr); align-items: start; gap: 22px; }
.checkout-items { padding: 22px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.checkout-items h2 { margin: 0 0 16px; font-size: 15px; }
.checkout-item { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 13px; }
.checkout-item > span { display: grid; gap: 5px; min-width: 0; }
.checkout-item > span strong { font-size: 13px; }
.checkout-item small { color: var(--muted); font-size: 11px; }
.checkout-item > strong { flex: 0 0 auto; }
.checkout-payment-hint { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; padding: 13px; color: #565d67; background: #f7f8f9; border-radius: 11px; font-size: 11px; line-height: 1.5; }
.checkout-payment-hint .feather-icon { width: 15px; height: 15px; flex: 0 0 15px; }
.checkout-layout .summary-card { position: static; padding: 22px; }
.checkout-layout .summary-line, .checkout-layout .summary-total { font-size: 13px; }
.order-payment-card { padding: 22px; }
.qris-frame { width: min(100%,300px); margin: 18px auto; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.qris-frame img { width: 100%; aspect-ratio: 1; display: block; object-fit: contain; }
.qris-expiration { color: var(--muted); font-size: 11px; text-align: center; }
.order-payment-card .button { width: 100%; margin-top: 14px; }
.payment-config-note { padding: 15px 16px; background: #f7f8f9; border: 1px solid var(--line); border-radius: 12px; }
.payment-config-note strong { font-size: 13px; }
.payment-config-note p { margin: 7px 0 10px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.payment-config-note a { color: var(--orange-dark); font-size: 11px; font-weight: 700; }
.admin-order-help { color: var(--muted); font-size: 11px; }
@media (max-width: 640px) {
  .hero-carousel .hero-previous { left: 10px; }
  .hero-carousel .hero-next { right: 10px; }
  .auth-header { padding: 14px 16px; }
  .auth-main { padding: 78px 16px 32px; }
  .product-card-actions { grid-template-columns: minmax(0,1fr) 40px; gap: 6px; margin: 0 9px 9px; }
  .product-card-actions .button { min-height: 37px; }
  .cart-icon-button { width: 40px; }
  .cart-row { grid-template-columns: 56px minmax(0,1fr); gap: 10px; }
  .cart-thumb { width: 56px; height: 56px; }
  .cart-row > div:nth-child(2) { min-width: 0; }
  .cart-side { grid-column: 2; justify-self: end; }
  .cart-side .cart-price { margin-top: 0; }
  .cart-controls { flex-wrap: wrap; }
  .remove-button { margin-left: auto; }
  .checkout-layout { grid-template-columns: 1fr; gap: 12px; }
  .checkout-items, .checkout-layout .summary-card { padding: 16px; }
  .checkout-item { font-size: 12px; }
  .checkout-item > strong { font-size: 11px; }
}
.reseller-program-page { display: grid; gap: 18px; }
.reseller-choice-tabs, .faq-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.reseller-choice-tabs button, .faq-topics button { min-height: 38px; padding: 0 14px; color: #555c66; background: white; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 12px; cursor: pointer; }
.reseller-choice-tabs button.is-active, .faq-topics button.is-active { color: #fff; background: var(--ink); border-color: var(--ink); }
.reseller-choice-panel { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.8fr); align-items: center; gap: 28px; padding: clamp(20px,4vw,36px); background: white; border: 1px solid var(--line); border-radius: 20px; }
.reseller-choice-panel[hidden] { display: none; }
.reseller-choice-copy h2 { max-width: 18ch; margin: 7px 0 9px; font-size: clamp(20px,3vw,29px); letter-spacing: -.8px; }
.reseller-choice-copy p { max-width: 48ch; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.reseller-choice-kicker { color: var(--orange-dark); font-size: 11px; font-weight: 750; }
.bulk-calculator { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; padding: 16px; background: #f7f8f9; border-radius: 14px; }
.bulk-product-picker, .bulk-quantity-picker { display: grid; gap: 7px; color: #555c66; font-size: 11px; font-weight: 650; }
.bulk-product-picker { grid-column: 1 / -1; }
.bulk-product-picker select, .bulk-quantity-picker input, .faq-search input { width: 100%; min-width: 0; min-height: 42px; padding: 0 11px; background: white; border: 1px solid var(--line-strong); border-radius: 9px; color: var(--ink); font: inherit; }
.bulk-calculator-result { grid-column: 1 / -1; min-height: 36px; margin: 0; color: #555c66; font-size: 11px; line-height: 1.6; }
.bulk-calculator .text-link { grid-column: 1 / -1; justify-self: start; }
.reseller-plan-card { display: grid; gap: 10px; padding: 18px; background: #fff8f3; border: 1px solid #f4ddcf; border-radius: 15px; }
.reseller-plan-card > span { color: var(--muted); font-size: 11px; }
.reseller-plan-card > strong { font-size: 27px; letter-spacing: -.6px; }
.reseller-plan-card p { margin: 0; color: #565d67; font-size: 12px; line-height: 1.65; }
.reseller-plan-card .button { width: 100%; }
.faq-page { max-width: 880px; }
.faq-search { display: grid; gap: 7px; max-width: 460px; margin-bottom: 14px; color: #555c66; font-size: 11px; font-weight: 650; }
.faq-topics { margin-bottom: 10px; }
.faq-list { padding: 0 18px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.faq-list details { padding: 17px 2px; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; list-style: none; font-size: 13px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--orange-dark); font-size: 19px; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { max-width: 68ch; font-size: 12px; }
.faq-list [data-faq-item][hidden] { display: none; }
.faq-empty { padding: 18px 0; color: var(--muted); font-size: 12px; }
@media (max-width: 640px) {
  .reseller-choice-panel { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .bulk-calculator { grid-template-columns: minmax(0,1fr) 92px; gap: 9px; padding: 12px; }
  .reseller-choice-tabs button, .faq-topics button { min-height: 35px; padding-inline: 11px; font-size: 11px; }
}

/* Shared information layout for help, reseller access, and policy pages. */
.info-layout { width: min(var(--content), calc(100% - 48px)); display: grid; grid-template-columns: minmax(0,1fr) minmax(230px,280px); align-items: start; gap: 24px; margin: 0 auto; padding: 18px 0 52px; }
.info-main { min-width: 0; }
.info-main .page-heading { margin-bottom: 20px; }
.info-side-rail { width: 100%; max-width: 280px; display: grid; gap: 12px; }
.rail-card { display: grid; gap: 10px; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.rail-card-soft { background: #f8f8f9; }
.rail-eyebrow { color: var(--orange-dark); font-size: 10px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.rail-card h2 { margin: 0; font-size: 16px; line-height: 1.35; letter-spacing: -.25px; }
.rail-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.rail-link, .legal-nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; color: var(--ink); border-top: 1px solid var(--line); font-size: 11px; font-weight: 700; }
.rail-link .feather-icon { width: 14px; height: 14px; }
.rail-steps { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; counter-reset: rail-step; }
.rail-steps li { position: relative; padding-left: 27px; color: #565d67; font-size: 11px; line-height: 1.5; counter-increment: rail-step; }
.rail-steps li::before { position: absolute; top: 0; left: 0; width: 18px; height: 18px; display: grid; place-items: center; content: counter(rail-step); color: #a34621; background: #fff0e6; border-radius: 50%; font-size: 10px; font-weight: 750; }
.info-layout .faq-list { max-width: none; }
.info-layout .faq-search { max-width: 460px; }
.info-layout .faq-support { margin-top: 14px; padding: 15px; }
.info-layout-reseller .info-main { display: grid; gap: 16px; }
.info-layout-reseller .page-heading { margin-bottom: 0; }
.info-layout-reseller .reseller-choice-tabs { margin-bottom: 0; }
.info-layout-reseller .reseller-choice-panel { grid-template-columns: minmax(0,1fr) minmax(190px,250px); gap: 18px; padding: 22px; }
.info-layout-reseller .reseller-choice-copy h2 { font-size: clamp(19px,2.3vw,25px); }
.info-layout-reseller .bulk-calculator { grid-template-columns: minmax(0,1fr) 92px; gap: 10px; padding: 13px; }
.info-layout-reseller .bulk-calculator-result { min-height: 0; }
.info-layout-reseller .reseller-plan-card { padding: 15px; }
.legal-nav { display: grid; }
.legal-nav a { justify-content: flex-start; }
.content-prose { display: grid; gap: 0; padding: 0 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.content-prose section { padding: 19px 0; border-bottom: 1px solid var(--line); }
.content-prose section:last-child { border-bottom: 0; }
.content-prose h2 { margin: 0 0 8px; font-size: 14px; }
.content-prose p { max-width: 74ch; margin: 0; color: #555c66; font-size: 12px; line-height: 1.75; }

/* Account pages keep the brand at the upper left and use the side rail for help. */
.auth-header { position: relative !important; inset: auto !important; z-index: 2; width: min(1200px,calc(100% - 48px)); min-height: 82px; justify-content: flex-start; margin: 0 auto; padding: 0; }
.auth-logo { display: inline-flex; align-items: center; min-height: 44px; }
.auth-main { display: grid; align-items: center; justify-items: center; padding: 18px 24px 64px; }
.auth-layout { width: min(980px,100%); display: grid; grid-template-columns: minmax(0,1fr) minmax(250px,320px); align-items: center; gap: clamp(24px,5vw,54px); margin: auto; }
.auth-page { width: 100%; max-width: 500px; }
.auth-card { padding: clamp(24px,4vw,38px); }
.auth-kicker { display: block; margin-bottom: 9px; color: var(--orange-dark); font-size: 10px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.auth-heading { margin-bottom: 22px; }
.auth-heading h1 { font-size: clamp(25px,3.4vw,32px); }
.auth-story { display: grid; gap: 12px; padding: 23px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.auth-story h2 { margin: 0; font-size: 20px; line-height: 1.3; letter-spacing: -.5px; }
.auth-story > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.auth-story ul { display: grid; gap: 10px; margin: 2px 0; padding-left: 18px; color: #535963; font-size: 11px; line-height: 1.55; }
.auth-story-links { display: grid; gap: 0; margin-top: 2px; border-top: 1px solid var(--line); }
.auth-story-links a { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--ink); border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 700; }
.auth-story-links .feather-icon { width: 14px; height: 14px; }
.auth-legal-links { margin: 17px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.auth-legal-links a { color: var(--orange-dark); font-weight: 650; }
.auth-back-link { margin-top: 16px; }

@media (max-width: 760px) {
  .info-layout { width: min(100% - 32px,var(--content)); grid-template-columns: minmax(0,1fr); gap: 16px; padding-top: 12px; }
  .info-side-rail { max-width: none; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .info-layout-reseller .reseller-choice-panel { grid-template-columns: minmax(0,1fr); }
  .info-layout-reseller .bulk-calculator { grid-template-columns: minmax(0,1fr) 92px; }
  .content-prose { padding-inline: 16px; }
  .auth-header { width: calc(100% - 36px); min-height: 66px; }
  .auth-main { align-items: start; padding: 10px 18px 44px; }
  .auth-layout { width: min(520px,100%); grid-template-columns: minmax(0,1fr); gap: 14px; }
  .auth-story { padding: 18px; }
}
@media (max-width: 420px) {
  .info-side-rail { grid-template-columns: minmax(0,1fr); }
  .info-layout .faq-support { align-items: flex-start; flex-direction: column; }
  .info-layout .faq-support .button { width: 100%; }
  .info-layout-reseller .bulk-calculator { grid-template-columns: minmax(0,1fr) 92px; }
}

/* Storefront refinements requested from the latest desktop and mobile references. */
.auth-header { width: min(1240px,calc(100% - 48px)); }
.auth-layout { width: min(1060px,100%); grid-template-columns: minmax(0,1fr) minmax(310px,.78fr); gap: clamp(22px,4vw,48px); }
.auth-page { max-width: 500px; }
.auth-card { border-radius: 16px; box-shadow: 0 7px 26px rgba(20,22,27,.055); }
.auth-heading { margin-bottom: 20px; }
.auth-heading p { margin-top: 6px; }
.auth-story { position: relative; min-height: 390px; align-content: end; overflow: hidden; padding: clamp(24px,3vw,38px); color: white; background: linear-gradient(142deg,#fa641f 0%,#ef4d16 52%,#d94013 100%); border: 0; border-radius: 18px; box-shadow: 0 12px 30px rgba(216,68,20,.14); }
.auth-story::before, .auth-story::after { position: absolute; pointer-events: none; content: ""; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.auth-story::before { width: 440px; height: 440px; top: -185px; right: -180px; box-shadow: 0 0 0 18px rgba(255,255,255,.035),0 0 0 42px rgba(255,255,255,.035),0 0 0 72px rgba(255,255,255,.025); }
.auth-story::after { width: 240px; height: 240px; top: -70px; right: -68px; background: repeating-linear-gradient(135deg,transparent 0 6px,rgba(255,255,255,.12) 7px 8px); }
.auth-story > * { position: relative; z-index: 1; }
.auth-story .rail-eyebrow { color: rgba(255,255,255,.8); letter-spacing: .14em; }
.auth-story-mark { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 20px; color: #f45118; background: white; border-radius: 15px; }
.auth-story-mark .feather-icon { width: 23px; height: 23px; }
.auth-story h2 { max-width: 12ch; margin-top: 7px; font-size: clamp(25px,3vw,34px); letter-spacing: -1px; }
.auth-story-link { min-height: 42px; display: inline-flex; align-items: center; gap: 9px; justify-self: start; margin-top: 8px; padding: 0 14px; color: #25282e; background: white; border-radius: 10px; font-size: 12px; font-weight: 700; }
.auth-story-link .feather-icon { width: 15px; height: 15px; }
.auth-legal-links { max-width: 44ch; line-height: 1.6; }

.mobile-purchase { right: 10px; left: 10px; min-height: 60px; border: 1px solid rgba(20,22,27,.1); border-radius: 20px; box-shadow: 0 8px 28px rgba(20,22,27,.13); }
.info-layout { grid-template-columns: minmax(0,1fr) minmax(204px,224px); gap: 18px; }
.info-side-rail { max-width: 224px; gap: 10px; }
.rail-card { gap: 8px; padding: 15px; border-radius: 14px; }
.rail-card h2 { font-size: 14px; }
.rail-card p, .rail-steps li { font-size: 10px; }
.rail-link, .legal-nav a { min-height: 33px; font-size: 10px; }
.info-layout .faq-search { width: 100%; max-width: none; }
.faq-search input { width: 100%; }
.info-layout-reseller .reseller-choice-panel { grid-template-columns: minmax(0,1fr) minmax(180px,230px); gap: 16px; padding: 20px; }
.reseller-contact-link { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; color: var(--orange-dark); background: #fff; border: 1px solid #f0c6b3; border-radius: 10px; font-size: 12px; font-weight: 700; }
.faq-side-rail .rail-card-soft { background: #fff; }

.catalog-filter-panel { position: sticky; top: 92px; padding: 17px; }
.catalog-filter-panel h2 { margin: 0 0 15px; font-size: 14px; }
.catalog-filter-form { display: grid; gap: 15px; }
.catalog-filter-price { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.catalog-filter-price legend, .catalog-filter-price label, .catalog-filter-sort > span { color: #555b64; font-size: 11px; font-weight: 650; }
.catalog-filter-price label { display: grid; gap: 6px; }
.catalog-filter-price input { width: 100%; min-width: 0; min-height: 40px; padding: 0 10px; color: var(--ink); background: white; border: 1px solid var(--line-strong); border-radius: 9px; font: inherit; font-size: 12px; }
.catalog-filter-price input:focus { border-color: rgba(239,100,38,.66); outline: 3px solid rgba(239,100,38,.12); }
.catalog-filter-sort { display: grid; gap: 7px; }
.catalog-filter-sort .custom-dropdown { width: 100%; }
.catalog-filter-sort .custom-dropdown-trigger { min-height: 40px; }
.catalog-filter-form > .button { width: 100%; min-height: 40px; }
.catalog-filter-reset { min-height: 34px; margin-top: -10px; color: #676d76; background: transparent; border: 0; font: inherit; font-size: 11px; cursor: pointer; }
.catalog-filter-reset:hover { color: var(--orange-dark); }
.catalog-main .product-toolbar { display: none; }
.mobile-filter-toolbar { display: none; }
.catalog-category-chips { min-width: 0; display: flex; flex-wrap: nowrap; gap: 8px; margin: 0 0 14px; padding: 1px 1px 4px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; -ms-overflow-style: none; }
.catalog-category-chips::-webkit-scrollbar { display: none; }
.category-chip { flex: 0 0 auto; }
@media (max-width: 760px) {
  .auth-header { width: calc(100% - 36px); min-height: 62px; }
  .auth-main { align-items: start; padding: 10px 18px 38px; }
  .auth-layout { width: min(520px,100%); grid-template-columns: minmax(0,1fr); gap: 0; }
  .auth-story { display: none; }
  .auth-card { padding: 24px 21px; }
  .info-layout { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .info-side-rail { max-width: none; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .info-layout-reseller .reseller-choice-panel { grid-template-columns: minmax(0,1fr); }
  .catalog-layout > .catalog-filter-panel { display: none; }
  .catalog-main .product-toolbar { display: flex; align-items: center; gap: 9px; margin: 0 0 11px; }
  .mobile-filter-toolbar { display: flex; align-items: center; gap: 9px; }
  .catalog-main .filter-trigger { display: inline-flex; }
  .catalog-main .filter-summary { display: inline; color: var(--muted); font-size: 12px; }
  .mobile-bottom { right: 10px; bottom: calc(8px + env(safe-area-inset-bottom)); left: 10px; height: 60px; min-height: 60px; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 5px; border: 1px solid rgba(20,22,27,.1); border-radius: 20px; box-shadow: 0 8px 28px rgba(20,22,27,.13); }
  .mobile-nav-link { min-height: 48px; font-size: 9px; }
  .mobile-purchase { right: 10px; bottom: calc(76px + env(safe-area-inset-bottom)); left: 10px; min-height: 60px; padding: 8px 12px; border: 1px solid rgba(20,22,27,.1); border-radius: 20px; box-shadow: 0 8px 28px rgba(20,22,27,.13); }
  .mobile-purchase small { font-size: 9px; }
  .mobile-purchase strong { font-size: 14px; }
  .mobile-purchase .button { min-height: 42px; padding-inline: 13px; font-size: 10px; }
}
@media (max-width: 420px) {
  .info-side-rail { grid-template-columns: minmax(0,1fr); }
}

/* Tokopedia-style catalog filters: sort choices first, currency-prefixed prices, and real availability checkboxes. */
.catalog-filter-form { gap: 16px; }
.catalog-sort-options, .catalog-filter-price, .catalog-availability { min-width: 0; margin: 0; padding: 0; border: 0; }
.catalog-sort-options { display: grid; gap: 2px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.catalog-sort-options legend, .catalog-filter-price legend, .catalog-availability legend { margin-bottom: 8px; color: #363b43; font-size: 12px; font-weight: 750; }
.catalog-choice { min-height: 34px; display: flex; align-items: center; gap: 9px; color: #4e545d; font-size: 11px; cursor: pointer; }
.catalog-choice input { width: 16px; height: 16px; flex: 0 0 auto; margin: 0; accent-color: var(--orange); }
.catalog-choice input:focus-visible { outline: 3px solid rgba(239,100,38,.18); outline-offset: 2px; }
.catalog-filter-price .catalog-price-inputs { display: grid; gap: 8px; }
.catalog-price-inputs > label { color: #555b64; font-size: 10px; font-weight: 650; }
.catalog-currency-input { min-height: 40px; display: flex; align-items: center; gap: 7px; margin-top: 5px; padding: 0 10px; color: #4f555d; background: #fff; border: 1px solid var(--line-strong); border-radius: 9px; }
.catalog-currency-input:focus-within { border-color: rgba(239,100,38,.7); box-shadow: 0 0 0 3px rgba(239,100,38,.1); }
.catalog-currency-input > span { color: #777d86; font-size: 11px; font-weight: 650; }
.catalog-currency-input input { width: 100%; min-width: 0; min-height: 36px; padding: 0; color: var(--ink); background: transparent; border: 0; outline: 0; font: inherit; font-size: 12px; }
.catalog-currency-input input:focus { outline: 0; }
.catalog-availability { padding-top: 1px; }
.catalog-filter-form > .button { margin-top: 0; }
.filter-dialog-body .catalog-sort-options { padding-bottom: 12px; }
.filter-dialog-body .catalog-currency-input { min-height: 44px; }
.filter-dialog-body .catalog-currency-input input { min-height: 40px; font-size: 14px; }

/* Split-screen customer authentication based on the supplied layout reference. */
.auth-mode { color: #111318; background: #fff; }
.auth-shell { position: relative; min-height: 100svh; display: block; }
.auth-header { position: absolute !important; inset: 0 0 auto !important; z-index: 5; width: 100%; min-height: 96px; display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; margin: 0; padding: 0 32px; }
.auth-logo { min-height: 44px; display: inline-flex; align-items: center; color: #17191f; font-size: 22px; font-weight: 800; letter-spacing: -.9px; }
.auth-header-action { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 19px; color: #202127; background: #fff; border: 1px solid rgba(28,29,31,.1); border-radius: 11px; box-shadow: 0 2px 6px rgba(20,22,27,.08); font-size: 14px; font-weight: 600; }
.auth-main { width: 100%; min-height: 100svh; display: block; padding: 0; }
.auth-layout { width: 100%; min-height: 100svh; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: stretch; gap: 0; margin: 0; }
.auth-page { width: 100%; max-width: none; min-width: 0; display: grid; place-items: center; padding: 112px clamp(28px,6vw,90px) 48px; }
.auth-card { width: min(442px,100%); padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.auth-heading { margin-bottom: 27px; text-align: center; }
.auth-heading h1 { font-size: clamp(25px,2vw,30px); letter-spacing: -.8px; }
.auth-heading p { margin-top: 8px; color: #696e78; font-size: 14px; }
.customer-auth-form { gap: 18px; }
.customer-auth-form label { gap: 9px; color: #17191f; font-size: 14px; font-weight: 550; }
.customer-auth-form input:not([type="hidden"]) { min-height: 52px; padding: 0 13px; border-color: #d9dce1; border-radius: 11px; font-size: 14px; }
.auth-password-field { position: relative; display: block; }
.auth-password-field input { padding-right: 50px !important; }
.auth-password-toggle { position: absolute; inset: 0 0 0 auto; width: 48px; display: grid; place-items: center; color: #353941; background: transparent; border: 0; cursor: pointer; }
.auth-password-toggle .feather-icon { width: 19px; height: 19px; }
.customer-auth-form .button { min-height: 52px; margin-top: 2px; border-radius: 11px; font-size: 14px; }
.auth-switch { margin-top: 20px; color: #676c76; font-size: 13px; }
.auth-switch a { color: #164fc2; text-decoration: underline; text-underline-offset: 2px; }
.auth-legal-links { max-width: 40ch; margin: 25px auto 0; color: #70747d; font-size: 12px; line-height: 1.6; text-align: center; }
.auth-legal-links a { color: #5d636d; font-weight: 550; text-decoration: underline; text-underline-offset: 2px; }
.auth-story { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding: 72px clamp(38px,6vw,82px) 15vh; color: #fff; background: linear-gradient(130deg,#e94811 0%,#fa5017 48%,#ff5c1e 100%); border: 0; border-radius: 0; box-shadow: none; }
.auth-story::before { position: absolute; width: min(66vw,710px); aspect-ratio: 1; top: 5%; right: -4%; content: ""; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; box-shadow: 0 0 0 14px rgba(255,255,255,.025),0 0 0 32px rgba(255,255,255,.045),0 0 0 55px rgba(255,255,255,.025); }
.auth-story::after { position: absolute; width: min(58vw,620px); aspect-ratio: 1; top: 9%; right: 1%; content: ""; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: repeating-linear-gradient(135deg,transparent 0 6px,rgba(255,255,255,.13) 7px 8px); mask-image: radial-gradient(circle,transparent 0 37%,#000 38% 70%,transparent 71%); }
.auth-story-copy { position: relative; z-index: 1; max-width: 480px; }
.auth-story-kicker { display: block; margin-bottom: 19px; color: rgba(255,255,255,.94); font-family: ui-monospace,Consolas,monospace; font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.auth-story h2 { max-width: 15ch; margin: 0; font-size: clamp(30px,3vw,42px); line-height: 1.13; letter-spacing: -1.5px; }
.auth-story-copy p { max-width: 52ch; margin: 18px 0 20px; color: rgba(255,255,255,.91); font-size: 15px; line-height: 1.6; }
.auth-story-link { min-height: 46px; margin-top: 0; padding: 0 16px; color: #202127; border-radius: 11px; font-size: 14px; }

@font-face { font-family: 'Google Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/google-sans-medium.woff2') format('woff2'); }
.auth-google-button { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; color: #1f1f1f; background: #fff; border: 1px solid #747775; border-radius: 4px; font-family: 'Google Sans', Arial, sans-serif; font-size: 14px; font-weight: 500; cursor: pointer; }
.auth-google-button img { width: 20px; height: 20px; flex: 0 0 20px; object-fit: contain; }
.auth-google-button:hover { background: #f8faff; }
.auth-google-button:focus-visible { outline: 3px solid #d2e3fc; outline-offset: 2px; }
.auth-google-button:disabled { cursor: not-allowed; background: #f8f9fa; }
.auth-google-note { color: var(--muted); font-size: 11px; text-align: center; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: #70747c; font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.auth-visual { min-width: 0; padding: 0; align-items: center; justify-content: center; background: var(--orange); }
.auth-visual::before, .auth-visual::after { content: none; display: none; }
.auth-visual-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.auth-visual-placeholder { display: grid; justify-items: center; gap: 10px; padding: 32px; text-align: center; }
.auth-visual-placeholder span { font-size: 18px; font-weight: 600; }
.auth-visual-placeholder small { color: rgba(255,255,255,.9); font-size: 13px; }
.auth-header .auth-logo { padding: 0 12px; background: white; border-radius: 8px; }
.admin-cms-form[data-storefront-kind="authVisual"] .admin-upload-preview { aspect-ratio: 4 / 5; }

@media (max-width: 760px) {
  .auth-mode { background: #fff; }
  .auth-header { min-height: 72px; padding: 0 18px; }
  .auth-logo { font-size: 20px; }
  .auth-header-action { min-height: 40px; padding: 0 15px; font-size: 13px; }
  .auth-main { min-height: 100svh; padding: 0; }
  .auth-layout { min-height: 100svh; grid-template-columns: minmax(0,1fr); }
  .auth-page { padding: 100px 22px 38px; }
  .auth-card { width: min(442px,100%); }
  .auth-heading { margin-bottom: 24px; }
  .auth-heading h1 { font-size: 26px; }
  .auth-story { display: none; }
}

@media (max-width: 360px) {
  .auth-page { padding-inline: 17px; }
  .customer-auth-form { gap: 15px; }
}

/* Checkout is the payment step; cart remains the place to change quantities. */
.checkout-steps { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; padding: 0; list-style: none; color: var(--muted); font-size: 11px; }
.checkout-steps li { display: inline-flex; align-items: center; gap: 8px; }
.checkout-steps li + li::before { width: 30px; height: 1px; content: ""; background: var(--line-strong); }
.checkout-step-number { width: 25px; height: 25px; display: grid; place-items: center; color: #626873; background: #fff; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 10px; font-weight: 750; }
.checkout-steps .is-complete .checkout-step-number { color: #fff; background: var(--green); border-color: var(--green); }
.checkout-steps .is-current { color: var(--ink); font-weight: 750; }
.checkout-steps .is-current .checkout-step-number { color: #fff; background: var(--orange-dark); border-color: var(--orange-dark); }
.checkout-layout { grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr); align-items: start; gap: 20px; }
.checkout-payment-panel, .checkout-order-panel, .checkout-total-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.checkout-payment-panel { padding: 22px; }
.checkout-section-kicker { margin: 0 0 7px; color: var(--orange-dark); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.checkout-payment-panel h2, .checkout-order-panel h2, .checkout-total-card h2 { margin: 0; font-size: 16px; }
.checkout-payment-method { display: flex; align-items: center; gap: 12px; margin-top: 17px; padding: 14px; background: #fffaf7; border: 1px solid #f2d8ca; border-radius: 12px; }
.checkout-payment-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; color: var(--orange-dark); background: #fff; border: 1px solid #f2d8ca; border-radius: 11px; }
.checkout-payment-icon .feather-icon { width: 21px; height: 21px; }
.checkout-payment-method-copy { min-width: 0; display: grid; gap: 4px; }
.checkout-payment-method-copy strong { font-size: 13px; }
.checkout-payment-method-copy small { color: var(--muted); font-size: 10px; line-height: 1.45; }
.checkout-payment-status { margin-left: auto; padding: 5px 8px; color: #26643f; background: #eaf6ee; border-radius: 999px; font-size: 9px; font-weight: 750; white-space: nowrap; }
.checkout-account-note { display: grid; gap: 4px; margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line); }
.checkout-account-note span, .checkout-account-note small { color: var(--muted); font-size: 10px; }
.checkout-account-note strong { font-size: 12px; }
.checkout-payment-explainer { display: flex; align-items: flex-start; gap: 9px; margin: 15px 0 0; color: #626873; font-size: 11px; line-height: 1.55; }
.checkout-payment-explainer .feather-icon { width: 15px; height: 15px; flex: 0 0 15px; margin-top: 1px; }
.checkout-order-panel { margin-top: 14px; padding: 18px 22px; }
.checkout-order-panel > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; }
.checkout-order-panel > summary::-webkit-details-marker { display: none; }
.checkout-order-panel > summary span { color: var(--muted); font-size: 10px; }
.checkout-order-list { margin-top: 12px; border-top: 1px solid var(--line); }
.checkout-item { padding: 12px 0; font-size: 12px; }
.checkout-total-card { position: sticky; top: 100px; padding: 21px; }
.checkout-total-card h2 { margin-bottom: 16px; }
.checkout-total-card .summary-line, .checkout-total-card .summary-total { font-size: 12px; }
.checkout-total-card .summary-total { margin-bottom: 15px; padding-top: 14px; }
.checkout-total-card [data-create-order] { width: 100%; min-height: 48px; }
.checkout-total-card .summary-note { margin-top: 10px; line-height: 1.55; }
.checkout-edit-cart { display: flex; justify-content: center; margin-top: 12px; color: var(--muted); font-size: 10px; text-decoration: underline; text-underline-offset: 3px; }
.checkout-error { margin: 10px 0 0; color: #b4232f; font-size: 11px; line-height: 1.5; }
.checkout-unavailable { display: grid; gap: 10px; padding: 12px; color: #78352a; background: #fff2ed; border-radius: 10px; font-size: 11px; line-height: 1.5; }
.checkout-unavailable strong { font-size: 12px; }
@media (max-width: 760px) {
  .checkout-layout { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .checkout-total-card { position: static; }
}
@media (max-width: 420px) {
  .checkout-steps { gap: 7px; font-size: 10px; }
  .checkout-steps li { gap: 6px; }
  .checkout-steps li + li::before { width: 16px; }
  .checkout-payment-panel, .checkout-total-card { padding: 16px; }
  .checkout-order-panel { padding: 15px 16px; }
  .checkout-payment-status { padding: 4px 6px; font-size: 8px; }
}

/* Tablet catalog: once the sidebar is hidden, let the grid reclaim its column. */
@media (max-width: 760px) {
  .catalog-layout { display: block; width: 100%; }
  .catalog-main { width: 100%; min-width: 0; }
  .catalog-main .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
}
@media (max-width: 640px) {
  .catalog-main .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
}

/* Keep the responsive filter sheet compact and give price fields one border. */
.filter-dialog .catalog-currency-input { width: 100%; min-height: 44px; margin: 0; padding: 0 12px; }
.filter-dialog .catalog-currency-input input[type="number"] { width: 100%; min-width: 0; min-height: 40px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font: inherit; font-size: 14px; }
.filter-dialog .catalog-currency-input input[type="number"]:focus { border: 0; outline: 0; box-shadow: none; }
@media (max-width: 760px) {
  .filter-dialog { position: fixed; top: auto; right: 0; bottom: 0; left: 0; width: 100%; max-width: none; max-height: min(86dvh,680px); margin: auto 0 0; overflow: hidden; border-radius: 18px 18px 0 0; }
  .filter-dialog-form { max-height: min(86dvh,680px); min-height: 0; }
  .filter-dialog-head { flex: 0 0 auto; padding: 14px 18px 12px; }
  .filter-dialog-head h2 { font-size: 17px; }
  .filter-dialog-body { min-height: 0; flex: 1 1 auto; gap: 13px; overflow-y: auto; padding: 14px 18px; overscroll-behavior: contain; }
  .filter-dialog-actions { position: sticky; bottom: 0; flex: 0 0 auto; padding: 11px 18px calc(11px + env(safe-area-inset-bottom)); background: #fff; }
}

.order-detail-page > .checkout-steps { margin-top: 18px; }
.order-payment-card.is-paid { border-color: #c5e6d1; background: #f8fcf9; }
.payment-success-copy { margin: 14px 0; padding: 12px; color: #276943; background: #eaf6ee; border-radius: 10px; font-size: 12px; line-height: 1.5; }
.payment-pending-copy { margin: 14px 0; padding: 12px; color: #565d67; background: #f7f8f9; border-radius: 10px; font-size: 12px; line-height: 1.55; }

/* Admin catalog cards reuse the storefront product-card primitives. */
.admin-product-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; gap: 16px; }
.admin-product-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: 0 3px 12px rgba(20,22,27,.025); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.admin-product-card:hover { transform: translateY(-2px); border-color: rgba(239,100,38,.28); box-shadow: 0 10px 28px rgba(20,22,27,.07); }
.admin-product-card[hidden] { display: none; }
.admin-product-media { position: relative; min-width: 0; overflow: hidden; }
.admin-product-media > .product-art { width: calc(100% - 20px); height: auto; min-height: 0; margin: 10px 10px 0; }
.admin-product-check { position: absolute; z-index: 2; top: 18px; left: 18px; min-height: 32px; display: inline-flex !important; align-items: center; gap: 7px !important; padding: 0 9px; color: #333842 !important; background: rgba(255,255,255,.96); border: 1px solid rgba(20,22,27,.09); border-radius: 9px; box-shadow: 0 2px 8px rgba(20,22,27,.07); font-size: 10px !important; font-weight: 650 !important; cursor: pointer; }
.admin-product-check input { width: 15px; height: 15px; min-height: 0; margin: 0; accent-color: var(--orange); }
.admin-product-archived { position: absolute; z-index: 2; top: 18px; right: 18px; padding: 7px 9px; color: #555c66; background: rgba(255,255,255,.96); border: 1px solid rgba(20,22,27,.08); border-radius: 8px; font-size: 10px; font-weight: 700; }
.admin-product-card .admin-product-info { min-width: 0; display: flex; flex: 1; flex-direction: column; align-items: stretch; gap: 0; padding: 13px 14px 12px; }
.admin-product-card-overline { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.admin-product-card-overline .product-category { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-product-state { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 5px; color: #247747; font-size: 9px; font-weight: 650; white-space: nowrap; }
.admin-product-state i { width: 6px; height: 6px; background: #2e9a5b; border-radius: 50%; }
.admin-product-state.is-muted { color: #737984; }
.admin-product-state.is-muted i { background: #9499a2; }
.admin-product-state.is-warning { color: #986323; }
.admin-product-state.is-warning i { background: #d59a32; }
.admin-product-card .product-title { min-height: 36px; margin: 7px 0 8px; font-size: 13px; }
.admin-product-card .product-price { font-size: 14px; }
.admin-product-card .product-price-note { margin-top: 2px; }
.admin-product-reseller { display: block; margin-top: 7px; color: #4f5e74; font-size: 10px; font-weight: 650; }
.admin-product-stock { display: flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 10px; color: #626975; border-top: 1px solid var(--line); font-size: 10px; }
.admin-product-stock .feather-icon { width: 14px; height: 14px; flex: 0 0 auto; }
.admin-product-card .admin-product-card-actions { grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 9px; margin: 0; padding: 0 14px 14px; }
.admin-product-card .admin-product-card-actions .button { min-width: 76px; min-height: 38px; }
.admin-product-card-id { max-width: 56%; overflow: hidden; color: #9297a0; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.admin-product-card.is-archived { opacity: .76; }
.admin-product-card.is-archived:hover { opacity: 1; }

@media (max-width: 980px) {
  .admin-product-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 640px) {
  .admin-product-list { gap: 10px; }
  .admin-product-media > .product-art { width: calc(100% - 16px); margin: 8px 8px 0; }
  .admin-product-check { top: 14px; left: 14px; min-height: 29px; padding-inline: 7px; font-size: 9px !important; }
  .admin-product-archived { top: 14px; right: 14px; padding: 6px 7px; font-size: 9px; }
  .admin-product-card .admin-product-info { padding: 11px 10px 10px; }
  .admin-product-card-overline { align-items: flex-start; flex-direction: column; gap: 5px; }
  .admin-product-card .product-title { min-height: 35px; font-size: 12px; }
  .admin-product-card .product-price { font-size: 12px; }
  .admin-product-reseller, .admin-product-stock { font-size: 9px; }
  .admin-product-card .admin-product-card-actions { gap: 5px; padding: 0 10px 10px; }
  .admin-product-card .admin-product-card-actions .button { min-width: 0; min-height: 35px; }
  .admin-product-card-id { max-width: 48%; font-size: 8px; }
}

/* Admin workspace shell: persistent sidebar on desktop and an accessible drawer on small screens. */
.admin-workspace-page {
  --admin-sidebar-width: 252px;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: var(--admin-sidebar-width) minmax(0,1fr);
  color: var(--ink);
  background: #f5f6f8;
  transition: grid-template-columns .2s ease;
}
.admin-workspace-page.is-sidebar-collapsed { --admin-sidebar-width: 78px; }
.admin-drawer-backdrop { display: none; }
.admin-sidebar {
  position: sticky;
  z-index: 45;
  top: 0;
  width: var(--admin-sidebar-width);
  height: 100dvh;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 21px 13px 15px;
  overflow: hidden auto;
  background: #fff;
  border-right: 1px solid #e7e9ed;
  transition: width .2s ease, transform .22s ease, box-shadow .22s ease;
}
.admin-sidebar-brand-row { min-height: 43px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 5px; }
.admin-sidebar-brand { min-width: 0; display: inline-flex; align-items: center; gap: 8px; color: #20242b; font-size: 19px; font-weight: 800; letter-spacing: -.8px; white-space: nowrap; }
.admin-sidebar-brand > span:not(.admin-brand-name) { padding: 3px 5px; color: #bb491f; background: #fff0e8; border-radius: 5px; font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.admin-sidebar-collapse, .admin-menu-toggle { width: 34px; height: 34px; display: grid; flex: 0 0 auto; place-items: center; color: #626975; background: #fff; border: 1px solid #e8eaed; border-radius: 9px; cursor: pointer; transition: color .16s ease, background .16s ease, border-color .16s ease; }
.admin-sidebar-collapse:hover, .admin-menu-toggle:hover { color: var(--ink); background: #f7f8f9; border-color: #d9dce1; }
.admin-sidebar-collapse .feather-icon { width: 16px; height: 16px; }
.admin-nav-heading { margin: 34px 8px 10px; color: #9399a3; font-size: 9px; font-weight: 750; letter-spacing: .13em; }
.admin-nav { display: grid; gap: 5px; }
.admin-nav-link { min-width: 0; min-height: 43px; display: flex; align-items: center; gap: 12px; padding: 0 11px; color: #656b75; border: 1px solid transparent; border-radius: 10px; font-size: 12px; font-weight: 600; text-decoration: none; transition: color .16s ease, background .16s ease, border-color .16s ease; }
.admin-nav-link:hover { color: #252a31; background: #f7f8f9; }
.admin-nav-link[aria-current="page"] { color: #c84d21; background: #fff3ed; border-color: #fbe5da; font-weight: 700; }
.admin-nav-icon { width: 19px; height: 19px; display: grid; flex: 0 0 19px; place-items: center; }
.admin-nav-icon .feather-icon { width: 17px; height: 17px; }
.admin-nav-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-sidebar-bottom { display: grid; gap: 13px; margin-top: auto; padding-top: 20px; }
.admin-store-link { min-height: 40px; display: flex; align-items: center; gap: 11px; padding: 0 11px; color: #555c66; border: 1px solid #eaecf0; border-radius: 10px; font-size: 11px; font-weight: 650; text-decoration: none; }
.admin-store-link:hover { color: #292e36; background: #f8f9fa; }
.admin-store-link .feather-icon { width: 16px; height: 16px; flex: 0 0 16px; }
.admin-sidebar-account { min-width: 0; display: flex; align-items: center; gap: 9px; padding: 12px 5px 2px; border-top: 1px solid #eceef1; }
.admin-account-mark { width: 33px; height: 33px; display: grid; flex: 0 0 33px; place-items: center; color: #9a4525; background: #fff0e8; border-radius: 50%; font-size: 12px; font-weight: 750; }
.admin-account-copy { min-width: 0; display: grid; gap: 3px; }
.admin-account-copy strong { font-size: 11px; }
.admin-account-copy small { max-width: 146px; overflow: hidden; color: #818792; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.admin-workspace { min-width: 0; }
.admin-topbar { position: sticky; z-index: 30; top: 0; min-height: 70px; display: flex; align-items: center; gap: 13px; padding: 0 clamp(20px,3.2vw,48px); background: rgba(255,255,255,.94); border-bottom: 1px solid #e8eaed; backdrop-filter: blur(14px); }
.admin-page-context { min-width: 0; display: grid; gap: 3px; }
.admin-page-context > span { color: #8c929c; font-size: 9px; font-weight: 750; letter-spacing: .08em; }
.admin-page-context > span i { padding-inline: 3px; font-style: normal; }
.admin-page-context > strong { overflow: hidden; color: #252a31; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.admin-topbar-actions { display: flex; align-items: center; gap: 15px; margin-left: auto; }
.admin-topbar-email { max-width: 230px; overflow: hidden; color: #737984; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.admin-view-store { min-height: 34px; display: inline-flex; align-items: center; gap: 7px; color: #565d67; font-size: 10px; font-weight: 650; text-decoration: none; }
.admin-view-store:hover { color: var(--orange-dark); }
.admin-view-store .feather-icon { width: 14px; height: 14px; }
.admin-top-logout { min-height: 34px; padding-inline: 12px; font-size: 10px; }
.admin-menu-toggle { display: none; }
.admin-workspace-page .admin-products { width: 100%; max-width: none; min-height: calc(100dvh - 70px); margin: 0; padding: 33px clamp(20px,3.2vw,48px) 60px; }
.admin-workspace-page .admin-section { width: 100%; max-width: 1280px; margin-inline: auto; }
.admin-workspace-page .admin-products-heading { margin-bottom: 23px; }
.admin-workspace-page .admin-products-heading p { max-width: 580px; }
.admin-workspace-page .admin-eyebrow { display: inline-block; }
.admin-workspace-page .admin-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin: 24px 0 21px; }
.admin-workspace-page .admin-metrics > a { min-height: 112px; align-content: space-between; padding: 19px 20px; border-radius: 15px; }
.admin-workspace-page .admin-metrics > a span { font-size: 11px; }
.admin-workspace-page .admin-metrics > a strong { font-size: 27px; }
.admin-workspace-page .admin-shortcuts { gap: 10px; margin-bottom: 29px; }
.admin-workspace-page .admin-shortcuts .button { min-height: 41px; }
.admin-workspace-page .admin-order-list { gap: 13px; }
.admin-workspace-page .admin-order-card { padding: 19px; border-radius: 15px; box-shadow: 0 3px 12px rgba(20,22,27,.025); }
.admin-workspace-page .admin-order-head > div { min-width: 0; }
.admin-workspace-page .admin-order-head > div > strong, .admin-workspace-page .admin-order-head > div > span { overflow-wrap: anywhere; }
.admin-workspace-page .admin-order-head > strong { flex: 0 0 auto; white-space: nowrap; }
.admin-workspace-page .admin-cms-form { gap: 17px; }
.admin-workspace-page .admin-cms-form > .admin-section { padding: 21px; border-radius: 15px; box-shadow: 0 3px 12px rgba(20,22,27,.025); }
.admin-workspace-page .admin-cms-form .admin-section-heading { align-items: center; margin-bottom: 17px; }
.admin-workspace-page .admin-cms-form .admin-section-heading h2 { font-size: 16px; }
.admin-workspace-page .admin-cms-form .admin-section-heading > .button { min-height: 35px; padding-inline: 12px; color: #fff; background: var(--orange); border-color: var(--orange); font-size: 10px; font-weight: 700; }
.admin-workspace-page .admin-cms-form .admin-section-heading > .button:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.admin-workspace-page .admin-product-toolbar { margin-bottom: 19px; border-radius: 13px; box-shadow: 0 2px 8px rgba(20,22,27,.02); }
.admin-workspace-page .admin-create-product { margin-bottom: 18px; border-radius: 14px; box-shadow: 0 3px 12px rgba(20,22,27,.025); }
.admin-workspace-page .admin-add-product-icon { color: #fff; background: var(--orange); }
.admin-workspace-page .admin-create-product summary:hover .admin-add-product-icon { background: var(--orange-dark); }
.admin-workspace-page .admin-product-detail-page { max-width: 1000px; }
.admin-workspace-page :focus-visible { outline: 3px solid rgba(239,100,38,.3); outline-offset: 3px; }
.admin-workspace-page #main:focus { outline: none; }
.admin-workspace-page #main.admin-content-enter { animation: admin-page-enter .18s cubic-bezier(.2,.7,.25,1) both; }
@keyframes admin-page-enter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.admin-workspace-page.is-sidebar-collapsed .admin-sidebar-brand-row { position: relative; min-height: 78px; justify-content: center; align-items: flex-start; padding: 0; }
.admin-workspace-page.is-sidebar-collapsed .admin-sidebar-brand { width: 39px; height: 39px; justify-content: center; color: #fff; background: var(--orange); border-radius: 12px; font-size: 0; }
.admin-workspace-page.is-sidebar-collapsed .admin-sidebar-brand::before { content: "B"; font-size: 19px; font-weight: 800; letter-spacing: -.8px; }
.admin-workspace-page.is-sidebar-collapsed .admin-brand-name, .admin-workspace-page.is-sidebar-collapsed .admin-sidebar-brand > span:not(.admin-brand-name), .admin-workspace-page.is-sidebar-collapsed .admin-nav-heading, .admin-workspace-page.is-sidebar-collapsed .admin-nav-label, .admin-workspace-page.is-sidebar-collapsed .admin-store-link > span, .admin-workspace-page.is-sidebar-collapsed .admin-account-copy { display: none; }
.admin-workspace-page.is-sidebar-collapsed .admin-sidebar-collapse { position: absolute; top: 45px; right: 12px; width: 28px; height: 28px; background: #f7f8f9; }
.admin-workspace-page.is-sidebar-collapsed .admin-nav-link { justify-content: center; padding-inline: 0; }
.admin-workspace-page.is-sidebar-collapsed .admin-sidebar-bottom { justify-items: center; }
.admin-workspace-page.is-sidebar-collapsed .admin-store-link { width: 42px; justify-content: center; padding: 0; }
.admin-workspace-page.is-sidebar-collapsed .admin-sidebar-account { width: 100%; justify-content: center; padding-inline: 0; }

@media (max-width: 980px) {
  .admin-workspace-page .admin-product-toolbar { grid-template-columns: minmax(0,1fr) auto; }
  .admin-workspace-page .admin-product-bulk-actions { grid-column: 1/-1; justify-content: flex-start; flex-wrap: wrap; }
  .admin-workspace-page .admin-cms-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .admin-workspace-page { display: block; }
  body.admin-drawer-open { overflow: hidden; }
  .admin-sidebar { position: fixed; z-index: 72; top: 0; left: 0; width: min(286px,calc(100vw - 52px)); height: 100dvh; min-height: 0; padding: calc(15px + env(safe-area-inset-top)) 14px calc(15px + env(safe-area-inset-bottom)); visibility: hidden; transform: translateX(-105%); box-shadow: 16px 0 40px rgba(20,22,27,.12); transition: transform .22s ease, visibility 0s linear .22s, box-shadow .22s ease; }
  .admin-workspace-page.is-drawer-open .admin-sidebar { visibility: visible; transform: translateX(0); transition-delay: 0s; }
  .admin-drawer-backdrop { position: fixed; z-index: 71; inset: 0; display: block; visibility: hidden; opacity: 0; background: rgba(25,29,35,.34); border: 0; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
  .admin-workspace-page.is-drawer-open .admin-drawer-backdrop { visibility: visible; opacity: 1; pointer-events: auto; }
  .admin-sidebar-collapse { display: none; }
  .admin-workspace-page.is-sidebar-collapsed .admin-sidebar-brand-row { min-height: 43px; justify-content: space-between; align-items: center; padding-inline: 5px; }
  .admin-workspace-page.is-sidebar-collapsed .admin-sidebar-brand { width: auto; height: auto; justify-content: flex-start; color: #20242b; background: transparent; border-radius: 0; font-size: 19px; }
  .admin-workspace-page.is-sidebar-collapsed .admin-sidebar-brand::before { content: none; }
  .admin-workspace-page.is-sidebar-collapsed .admin-brand-name, .admin-workspace-page.is-sidebar-collapsed .admin-sidebar-brand > span:not(.admin-brand-name), .admin-workspace-page.is-sidebar-collapsed .admin-nav-heading, .admin-workspace-page.is-sidebar-collapsed .admin-nav-label, .admin-workspace-page.is-sidebar-collapsed .admin-store-link > span { display: initial; }
  .admin-workspace-page.is-sidebar-collapsed .admin-account-copy { display: grid; }
  .admin-workspace-page.is-sidebar-collapsed .admin-sidebar-account { width: auto; justify-content: flex-start; padding-inline: 5px; }
  .admin-workspace-page.is-sidebar-collapsed .admin-nav-link { justify-content: flex-start; padding-inline: 11px; }
  .admin-workspace-page.is-sidebar-collapsed .admin-sidebar-bottom { justify-items: stretch; }
  .admin-workspace-page.is-sidebar-collapsed .admin-store-link { width: auto; justify-content: flex-start; padding-inline: 11px; }
  .admin-nav-heading { margin-top: 28px; }
  .admin-menu-toggle { display: grid; }
  .admin-menu-toggle > span, .admin-menu-toggle > span::before, .admin-menu-toggle > span::after { width: 15px; height: 1.7px; display: block; background: currentColor; border-radius: 2px; }
  .admin-menu-toggle > span { position: relative; }
  .admin-menu-toggle > span::before, .admin-menu-toggle > span::after { position: absolute; left: 0; content: ""; }
  .admin-menu-toggle > span::before { top: -5px; }
  .admin-menu-toggle > span::after { top: 5px; }
  .admin-topbar { min-height: 62px; gap: 10px; padding: 0 15px; }
  .admin-workspace-page .admin-products { min-height: calc(100dvh - 62px); padding: 24px 16px 46px; }
  .admin-workspace-page .admin-products-heading { align-items: flex-start; gap: 10px; margin-bottom: 18px; }
  .admin-workspace-page .admin-products-heading h1, .admin-workspace-page .admin-product-detail-heading h1 { font-size: 25px; }
  .admin-workspace-page .admin-metrics { grid-template-columns: 1fr; gap: 9px; margin: 17px 0; }
  .admin-workspace-page .admin-metrics > a { min-height: 68px; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 13px 15px; }
  .admin-workspace-page .admin-metrics > a strong { grid-column: 2; grid-row: 1; font-size: 22px; }
  .admin-workspace-page .admin-shortcuts { display: grid; grid-template-columns: 1fr; margin-bottom: 24px; }
  .admin-workspace-page .admin-shortcuts .button { width: 100%; }
  .admin-workspace-page .admin-product-toolbar { grid-template-columns: minmax(0,1fr) auto; gap: 9px; padding: 9px; }
  .admin-workspace-page .admin-product-search { grid-column: 1/-1; }
  .admin-workspace-page .admin-product-bulk-actions { grid-column: 1/-1; }
  .admin-workspace-page .admin-cms-form > .admin-section { padding: 15px; }
  .admin-workspace-page .admin-cms-form .admin-section-heading { align-items: flex-start; }
  .admin-workspace-page .admin-cms-row { grid-template-columns: 1fr; padding: 12px; }
  .admin-workspace-page .admin-cms-row .admin-image-upload { grid-template-columns: 84px minmax(0,1fr); }
  .admin-workspace-page .admin-cms-row .admin-upload-preview { width: 84px; }
  .admin-workspace-page .admin-fulfillment-form { grid-template-columns: 1fr; }
  .admin-workspace-page .admin-order-card { padding: 15px; }
}

@media (max-width: 520px) {
  .admin-topbar-email, .admin-view-store { display: none; }
  .admin-topbar-actions { gap: 8px; }
  .admin-workspace-page .admin-products { padding-inline: 13px; }
  .admin-workspace-page .admin-product-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .admin-workspace-page .admin-product-card .admin-product-card-actions { grid-template-columns: minmax(0,1fr); }
  .admin-workspace-page .admin-product-card-id { max-width: 100%; }
  .admin-workspace-page .admin-product-detail-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .admin-workspace-page .admin-order-head { align-items: flex-start; flex-direction: column; gap: 7px; }
  .admin-workspace-page .admin-cms-form .admin-section-heading { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .admin-workspace-page #main.admin-content-enter { animation: none !important; }
  .admin-workspace-page, .admin-sidebar, .admin-drawer-backdrop, .admin-nav-link, .admin-sidebar-collapse, .admin-menu-toggle, .admin-workspace-page .admin-metrics > a, .admin-workspace-page .admin-product-card { transition-duration: .01ms !important; transition-delay: 0s !important; }
  .admin-workspace-page .admin-metrics > a:hover, .admin-workspace-page .admin-product-card:hover { transform: none; }
}

/* Product options are chosen before either checkout or adding a cart line. */
.product-purchase-dialog {
  width: min(500px, calc(100vw - 28px));
  max-width: none;
  max-height: min(760px, calc(100dvh - 28px));
  padding: 0;
  overflow: auto;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 26px 90px rgba(16, 20, 27, .22);
}
.product-purchase-dialog::backdrop { background: rgba(23, 27, 33, .48); backdrop-filter: blur(3px); }
.product-purchase-form { display: grid; gap: 0; }
.product-purchase-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 23px 24px 19px; border-bottom: 1px solid var(--line); }
.product-purchase-header > div { min-width: 0; }
.product-purchase-header h2 { margin: 7px 0 4px; font-size: 22px; letter-spacing: -.55px; }
.product-purchase-header p { margin: 0; color: var(--muted); font-size: 13px; }
.product-purchase-header .icon-button { width: 36px; height: 36px; flex: 0 0 36px; }
.product-purchase-fields { display: grid; gap: 17px; padding: 21px 24px; }
.purchase-specification-field, .purchase-quantity-field { display: grid; gap: 7px; color: #343a43; font-size: 12px; font-weight: 700; }
.purchase-specification-field select, .purchase-quantity-field input { width: 100%; min-height: 46px; padding: 0 13px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; font: inherit; font-size: 13px; }
.purchase-specification-field select:focus, .purchase-quantity-field input:focus { outline: 3px solid rgba(241, 95, 35, .15); border-color: var(--orange); }
.purchase-no-specification { margin: 0; padding: 12px 14px; color: var(--muted); background: #f7f8f9; border-radius: 10px; font-size: 12px; line-height: 1.55; }
.purchase-price-preview { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 24px; padding: 15px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.purchase-price-preview strong { color: var(--ink); font-size: 17px; }
.purchase-selection-error { margin: 0 24px 12px; color: #b4232f; font-size: 12px; line-height: 1.5; }
.product-purchase-actions { display: flex; justify-content: flex-end; gap: 9px; padding: 15px 24px 21px; border-top: 1px solid var(--line); }
.product-purchase-actions .button { min-width: 100px; min-height: 43px; }
.product-purchase-actions [type="submit"] { min-width: 160px; }
.product-purchase-actions [disabled] { opacity: .52; cursor: not-allowed; }

/* Reseller access starts with a product order; the full-catalog plan is secondary. */
.reseller-program-page { width: 100%; max-width: none; display: grid; gap: 24px; margin-inline: 0; }
.reseller-program-page .page-heading { max-width: 790px; margin-bottom: 0; }
.reseller-page-eyebrow, .reseller-path-label { color: var(--orange-dark); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.reseller-access-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.75fr); align-items: start; gap: 18px; }
.reseller-bulk-panel { min-width: 0; display: grid; align-content: start; gap: 20px; padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: 17px; }
.reseller-panel-heading { display: flex; align-items: flex-start; gap: 14px; }
.reseller-panel-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; color: var(--orange-dark); background: #fff1e9; border-radius: 12px; }
.reseller-panel-icon .feather-icon { width: 19px; height: 19px; }
.reseller-panel-heading h2, .reseller-catalog-offer h2 { margin: 5px 0 7px; font-size: clamp(18px,2vw,22px); letter-spacing: -.45px; line-height: 1.25; }
.reseller-panel-heading p, .reseller-catalog-offer > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.bulk-config-grid { display: grid; grid-template-columns: minmax(0,1fr) 145px; align-items: start; gap: 13px; }
.bulk-product-picker, .bulk-quantity-picker { min-width: 0; display: grid; align-content: start; gap: 7px; color: #343a43; font-size: 11px; font-weight: 700; }
.bulk-product-picker > span, .bulk-quantity-picker > span { color: #343a43; font-size: 11px; font-weight: 700; }
.bulk-product-select .custom-dropdown-trigger { width: 100%; min-height: 44px; padding-inline: 12px; }
.bulk-quantity-picker input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 10px; font: inherit; font-size: 13px; }
.bulk-quantity-picker small { color: var(--muted); font-size: 10px; font-weight: 450; }
.reseller-bulk-result { display: flex; align-items: flex-start; gap: 10px; padding: 12px 13px; background: #f7f8f8; border: 1px solid #edf0f1; border-radius: 12px; }
.reseller-result-icon { width: 23px; height: 23px; flex: 0 0 23px; display: grid; place-items: center; color: #177245; background: #e8f5ed; border-radius: 50%; }
.reseller-result-icon.is-unavailable { color: #b4232f; background: #fcebed; }
.bulk-quantity-picker input:disabled { background: #f1f3f5; color: #747c86; opacity: .8; cursor: not-allowed; }
.reseller-result-icon .feather-icon { width: 13px; height: 13px; }
.bulk-calculator-result { min-height: 0; margin: 1px 0 0; color: #4e5965; font-size: 11px; line-height: 1.55; }
.bulk-product-link { width: 100%; min-height: 45px; }
.bulk-product-link.is-disabled { opacity: .5; cursor: not-allowed; }
.reseller-catalog-offer { min-width: 0; display: grid; align-content: start; gap: 12px; padding: 25px; background: #fff8f3; border: 1px solid #f2ddd1; border-radius: 17px; }
.reseller-offer-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.reseller-once-badge { padding: 5px 8px; color: #6f4a34; background: #f9e7dc; border-radius: 999px; font-size: 9px; font-weight: 750; white-space: nowrap; }
.reseller-catalog-offer h2 { max-width: 18ch; margin: 0; }
.reseller-catalog-offer > p { min-height: 40px; }
.reseller-offer-price { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; padding-top: 14px; border-top: 1px solid #f0ded3; }
.reseller-offer-price strong { color: var(--ink); font-size: 27px; letter-spacing: -.6px; }
.reseller-offer-price span { color: var(--muted); font-size: 11px; }
.reseller-catalog-offer > .button { width: 100%; min-height: 45px; }
.reseller-active-label { color: #24653f; font-size: 11px; font-weight: 700; }
.reseller-program-footnote { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 17px; border-top: 1px solid var(--line); }
.reseller-program-footnote > p { display: flex; align-items: flex-start; gap: 10px; margin: 0; }
.reseller-program-footnote > p > span:last-child { display: grid; gap: 3px; }
.reseller-program-footnote strong { color: #343a43; font-size: 11px; }
.reseller-program-footnote small { color: var(--muted); font-size: 10px; line-height: 1.5; }
.reseller-program-footnote > .text-link { display: inline-flex; align-items: center; gap: 5px; color: var(--orange-dark); font-size: 11px; font-weight: 700; white-space: nowrap; }
.reseller-program-footnote > .text-link .feather-icon { width: 14px; height: 14px; }

/* The payment page owns QR creation; checkout remains an order review step. */
.checkout-layout { margin-top: 18px; }
.checkout-payment-column { min-width: 0; display: grid; gap: 13px; }
.checkout-confirmation-panel { display: grid; gap: 0; }
.checkout-confirmation-panel h2 { margin-bottom: 2px; }
.checkout-account-note { margin-top: 13px; }
.checkout-payment-explainer { margin: 13px 0 0; }
.checkout-order-panel { margin-top: 0; }
.checkout-order-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.checkout-order-panel > header strong { font-size: 15px; }
.checkout-order-panel > header span { color: var(--muted); font-size: 11px; white-space: nowrap; }
.checkout-total-card > .button { width: 100%; min-height: 48px; }
.checkout-total-card [data-confirm-order] { width: 100%; min-height: 48px; }
.checkout-total-card .summary-note { color: var(--muted); font-size: 11px; }
.order-payment-card [data-create-qris], .order-payment-card [data-refresh-order] { width: 100%; min-height: 46px; }
.admin-preview-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px max(18px, calc((100vw - var(--content)) / 2)); color: #51402f; background: #fff1e7; border-bottom: 1px solid #f4d8c8; font-size: 11px; }
.admin-preview-banner strong { color: #20242b; }
.admin-preview-banner a { color: var(--orange-dark); font-weight: 750; white-space: nowrap; }
.admin-preview-user-label { display: inline-flex; align-items: center; min-height: 37px; color: #555d68; font-size: 11px; font-weight: 700; }
.admin-preview-bottom { grid-template-columns: repeat(2, minmax(0,1fr)); }

/* Nested admin navigation keeps content pages one click from their section. */
.admin-nav-group { display: grid; gap: 3px; }
.admin-nav-parent { width: 100%; min-height: 43px; display: flex; align-items: center; gap: 11px; padding: 0 11px; color: #505761; background: transparent; border: 0; border-radius: 10px; text-align: left; font: inherit; font-size: 12px; cursor: pointer; }
.admin-nav-parent:hover, .admin-nav-group.is-active > .admin-nav-parent { color: var(--ink); background: #f5f6f7; }
.admin-nav-parent .admin-nav-icon { width: 17px; height: 17px; flex: 0 0 17px; display: grid; place-items: center; }
.admin-nav-parent .admin-nav-chevron { width: 14px; height: 14px; margin-left: auto; transition: transform .16s ease; }
.admin-nav-parent[aria-expanded="true"] .admin-nav-chevron { transform: rotate(90deg); }
.admin-nav-children { display: grid; gap: 2px; margin: 1px 0 5px 16px; padding-left: 10px; border-left: 1px solid #e4e7eb; }
.admin-nav-children[hidden] { display: none; }
.admin-nav-children .admin-nav-link { min-height: 37px; padding-left: 10px; font-size: 11px; }
.admin-nav-children .admin-nav-link[aria-current="page"] { color: var(--orange-dark); background: #fff1e9; }
.admin-workspace-page.is-sidebar-collapsed .admin-nav-parent { justify-content: center; padding-inline: 0; }
.admin-workspace-page.is-sidebar-collapsed .admin-nav-parent .admin-nav-label, .admin-workspace-page.is-sidebar-collapsed .admin-nav-parent .admin-nav-chevron { display: none; }
.admin-workspace-page.is-sidebar-collapsed .admin-nav-children { display: none; }

@media (max-width: 760px) {
  .reseller-access-layout { grid-template-columns: minmax(0,1fr); }
  .reseller-catalog-offer > p { min-height: 0; }
  .admin-preview-banner { padding-inline: 16px; font-size: 10px; }
}
@media (max-width: 520px) {
  .product-purchase-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); border-radius: 16px; }
  .product-purchase-header { padding: 18px 17px 15px; }
  .product-purchase-header h2 { font-size: 19px; }
  .product-purchase-fields { gap: 14px; padding: 17px; }
  .purchase-price-preview { margin-inline: 17px; }
  .purchase-selection-error { margin-inline: 17px; }
  .product-purchase-actions { padding: 13px 17px 17px; }
  .reseller-program-page { gap: 19px; }
  .reseller-bulk-panel, .reseller-catalog-offer { padding: 18px; }
  .bulk-config-grid { grid-template-columns: minmax(0,1fr); }
  .reseller-program-footnote { align-items: flex-start; flex-direction: column; }
  .admin-preview-banner { align-items: flex-start; flex-direction: column; gap: 4px; padding: 8px 13px; }
  .checkout-payment-panel, .checkout-total-card { padding: 17px; }
  .checkout-order-panel { padding: 15px 17px; }
  .checkout-steps { justify-content: space-between; }
}

/* Product variants are configured as fields, then validated by the server. */
.admin-specification-editor { min-width: 0; display: grid; gap: 12px; }
.admin-specification-editor-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin-specification-editor-heading > div { display: grid; gap: 4px; }
.admin-specification-editor-heading p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.admin-specification-editor-heading .button { flex: 0 0 auto; }
.admin-specification-empty { margin: 0; padding: 13px 14px; color: var(--muted); background: #f7f8f9; border: 1px dashed var(--line-strong); border-radius: 11px; font-size: 11px; }
.admin-specification-empty[hidden] { display: none; }
.admin-specification-list { display: grid; gap: 12px; }
.admin-specification-row { min-width: 0; display: grid; gap: 12px; margin: 0; padding: 15px; border: 1px solid var(--line); border-radius: 13px; }
.admin-specification-row legend { padding: 0 6px; color: #41464e; font-size: 11px; font-weight: 750; }
.admin-specification-head { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: end; gap: 11px; }
.admin-specification-head label, .admin-specification-option label { min-width: 0; display: grid; gap: 6px; color: #434851; font-size: 11px; font-weight: 650; }
.admin-specification-head input:not([type="checkbox"]), .admin-specification-option input:not([type="hidden"]) { width: 100%; min-width: 0; min-height: 39px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); background: #fff; font: inherit; font-size: 12px; }
.admin-specification-required { min-height: 39px; display: flex !important; align-items: center; gap: 7px !important; white-space: nowrap; }
.admin-specification-required input { width: 16px; height: 16px; accent-color: var(--orange); }
.admin-spec-remove { min-height: 39px; color: #a3272e; border-color: #efd3d5; }
.admin-specification-options { display: grid; gap: 8px; }
.admin-specification-option { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) minmax(180px,.65fr) auto; align-items: end; gap: 9px; padding: 10px; background: #f8f9fa; border-radius: 10px; }
.admin-specification-option small { color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.4; }
.admin-specification-option input[type="number"] { min-width: 120px; }
.admin-spec-remove-option { min-height: 39px; color: #a3272e; border-color: #e5e8ec; }
.admin-spec-add-option { justify-self: start; min-height: 34px; }
.admin-specification-editor button:disabled { opacity: .45; cursor: not-allowed; }
.admin-specification-editor :is(input,button):focus-visible { outline: 3px solid rgba(239,100,38,.23); outline-offset: 2px; }
.admin-nav-children .admin-nav-link { gap: 9px; }
.footer-preview-note { margin: 10px 0; color: #adb1b9; font-size: 10px; line-height: 1.6; }
@media (max-width: 760px) {
  .reseller-access-layout { gap: 13px; }
  .reseller-bulk-panel, .reseller-catalog-offer { padding: 19px; }
  .admin-specification-head { grid-template-columns: minmax(0,1fr) auto; }
  .admin-specification-head > label:first-child { grid-column: 1/-1; }
  .admin-specification-option { grid-template-columns: minmax(0,1fr) minmax(145px,.7fr) auto; }
}
@media (max-width: 520px) {
  .reseller-panel-heading { gap: 11px; }
  .reseller-panel-heading p { font-size: 11px; }
  .reseller-program-footnote { gap: 12px; }
  .admin-specification-editor-heading { align-items: flex-start; flex-direction: column; }
  .admin-specification-option { grid-template-columns: minmax(0,1fr); }
  .admin-specification-option input[type="number"] { min-width: 0; }
  .admin-spec-remove-option { justify-self: start; }
}

/* Product options stay on the detail page, beside the information a buyer needs. */
.product-detail-page { padding: 22px; }
.product-detail-page .detail-layout { display: grid; grid-template-columns: minmax(190px,.82fr) minmax(235px,1fr) minmax(250px,.86fr); align-items: start; gap: 22px; }
.product-detail-page .detail-gallery { min-width: 0; }
.product-detail-page .detail-gallery .detail-art { min-height: 0; width: 100%; aspect-ratio: 1; border-radius: 14px; }
.product-detail-page .detail-summary { min-width: 0; padding: 2px 0; }
.product-detail-page .detail-summary h1 { margin-top: 7px; font-size: clamp(22px,2.3vw,29px); }
.product-detail-page .detail-description { margin: 15px 0; font-size: 12px; }
.product-detail-page .term-list { margin: 0; }
.detail-purchase-card { min-width: 0; padding: 19px; background: #fff; border: 1px solid var(--line); border-radius: 15px; }
.detail-purchase-form { display: grid; gap: 15px; }
.detail-purchase-form .detail-price-box { display: grid; gap: 5px; margin: 0; padding: 0 0 14px; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.detail-purchase-form .detail-price-box small { color: var(--muted); font-size: 11px; }
.detail-purchase-form .detail-price { font-size: 24px; }
.detail-specification-list { display: grid; gap: 12px; }
.detail-specification-field, .detail-quantity-field { min-width: 0; display: grid; gap: 6px; color: #343a43; font-size: 11px; font-weight: 700; }
.detail-specification-field select, .detail-quantity-field input { width: 100%; min-width: 0; min-height: 42px; padding: 0 11px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 9px; font: inherit; font-size: 12px; }
.detail-specification-field select:focus, .detail-quantity-field input:focus { outline: 3px solid rgba(241,95,35,.15); border-color: var(--orange); }
.detail-no-specification { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.detail-quantity-row { display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.detail-quantity-field { width: min(130px,50%); }
.detail-stock-note { padding-bottom: 12px; color: var(--muted); font-size: 10px; }
.detail-purchase-total { display: flex; justify-content: space-between; gap: 10px; padding-top: 13px; border-top: 1px solid var(--line); color: #555c66; font-size: 12px; }
.detail-purchase-total strong { color: var(--ink); font-size: 15px; }
.detail-purchase-form .detail-actions { display: grid; gap: 8px; }
.detail-purchase-form .detail-actions .button { width: 100%; min-height: 44px; }
.detail-purchase-form .detail-actions [disabled] { opacity: .5; cursor: not-allowed; }
.detail-cart-action { color: var(--ink); background: #fff; border: 1px solid var(--line-strong); }
.detail-purchase-error { margin: 0; color: #b4232f; font-size: 11px; line-height: 1.5; }
.detail-purchase-error[hidden] { display: none; }
.product-detail-page .bulk-unlock-note { margin: 17px 0 0; }

/* The reseller information page shares the FAQ grid and rail, without a product picker. */
.info-layout-reseller .page-heading { margin-bottom: 0; }
.info-layout-reseller .reseller-info-list { max-width: none; margin-top: 2px; }
.info-layout-reseller .faq-support { margin-top: 0; }
.info-layout-reseller .faq-side-rail .button { width: 100%; min-height: 39px; }
.reseller-rail-price { display: block; margin: 1px 0 2px; color: var(--ink); font-size: 21px; letter-spacing: -.4px; }
.reseller-rail-price small { color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: 0; }
.reseller-price-preview { min-width: 0; display: grid; gap: 8px; }
.reseller-preview-product-thumb { width: 100%; aspect-ratio: 1.55; border-radius: 10px; }
.reseller-preview-product-copy { display: grid; gap: 4px; }
.reseller-preview-product-copy strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.reseller-preview-product-copy > span:last-child { color: var(--orange-dark); font-size: 15px; font-weight: 750; }
.reseller-price-preview-locked > strong { font-size: 13px; line-height: 1.4; }
.reseller-price-preview-locked > p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.reseller-price-preview .rail-link { margin-top: 1px; }

/* Checkout reviews the digital recipient and order; QRIS is created on the next page. */
.checkout-order-list .checkout-item { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; align-items: center; gap: 12px; }
.checkout-item-thumb { width: 64px; aspect-ratio: 1; border-radius: 9px; }
.checkout-order-review .checkout-item > span { display: grid; gap: 4px; min-width: 0; }
.checkout-order-review .checkout-item > span strong { font-size: 12px; }
.checkout-order-review .checkout-item > strong { font-size: 12px; }

@media (max-width: 1000px) {
  .product-detail-page .detail-layout { grid-template-columns: minmax(170px,.75fr) minmax(220px,1fr); gap: 18px; }
  .product-detail-page .detail-purchase-card { grid-column: 2; }
}
@media (max-width: 760px) {
  .product-detail-page { padding: 16px; }
  .product-detail-page .detail-layout { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .product-detail-page .detail-purchase-card { grid-column: auto; }
  .product-detail-page .detail-gallery .detail-art { aspect-ratio: 1.25; }
  .checkout-order-list .checkout-item { grid-template-columns: 52px minmax(0,1fr) auto; gap: 9px; }
  .checkout-item-thumb { width: 52px; }
}
@media (max-width: 420px) {
  .detail-purchase-card { padding: 15px; }
  .checkout-order-list .checkout-item { grid-template-columns: 46px minmax(0,1fr); }
  .checkout-item-thumb { width: 46px; }
  .checkout-order-review .checkout-item > strong { grid-column: 2; }
}
