:root {
  --bg: #050505;
  --panel: #0c0f13;
  --panel-2: #11151b;
  --line: rgba(255,255,255,.12);
  --text: #f6f7fb;
  --muted: #bfc3c7;
  --blue: #68a8ff;
  --green: #61d77d;
  --red: #ff6666;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; overflow-x: hidden; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; background: var(--bg); color: var(--text); }
body.store { padding-top: var(--store-header-height, 178px); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, 240px) auto minmax(120px, 1fr) auto;
  align-items: center;
  gap: 2px 28px;
  padding: 8px 36px 0;
  background: rgba(5, 5, 5, .94);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  transition: padding .18s ease, background .18s ease, gap .18s ease;
}
.site-header.compact { position: fixed; }
.site-header.is-scrolled { gap: 0 28px; padding-top: 6px; background: rgba(5, 5, 5, .97); }
.brand { grid-column: 1 / -1; grid-row: 1; display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; letter-spacing: 8px; font-weight: 700; }
.brand span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand img { width: 188px; height: 104px; object-fit: contain; object-position: center; border-radius: 4px; background: #000; transition: width .18s ease, height .18s ease; }
.site-header.is-scrolled .brand img { width: 116px; height: 62px; }
.brand b, .hero span, .premium-band span { color: #fff; }
.nav { grid-column: 2; grid-row: 2; display: flex; justify-content: center; gap: 32px; padding-top: 0; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.nav a { position: relative; padding: 14px 0 15px; color: #f5f5f5; opacity: .88; }
.site-header.is-scrolled .nav a { padding: 10px 0 12px; }
.nav a::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 1px; background: #fff; transform: translateX(-50%); transition: width .18s ease; }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active, .nav a:hover { color: #fff; }
.menu-toggle { display: none; place-items: center; gap: 4px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; background: rgba(255,255,255,.045); cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 2px; border-radius: 99px; background: #fff; transition: transform .18s ease, opacity .18s ease; }
.menu-toggle.open { gap: 0; }
.menu-toggle.open span:nth-child(1) { transform: translateY(2px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-2px) rotate(-45deg); }
.header-actions { grid-column: 4; grid-row: 2; align-self: center; display: flex; align-items: center; justify-content: flex-end; gap: 14px; min-width: 0; }
.icon-btn { width: 42px; height: 42px; border: 1px solid transparent; border-radius: 50%; color: var(--text); background: transparent; cursor: pointer; }
.icon-btn:hover { border-color: rgba(255,255,255,.72); background: rgba(255,255,255,.08); }
.header-search { grid-column: 1; grid-row: 2; align-self: center; justify-self: start; display: flex; align-items: center; width: min(220px, 100%); min-width: 0; border-bottom: 1px solid rgba(255,255,255,.36); opacity: .82; transition: opacity .18s ease, border-color .18s ease; }
.header-search:focus-within, .header-search:hover { opacity: 1; border-color: rgba(255,255,255,.72); }
.header-search input { min-height: 38px; height: 38px; padding-left: 0; border: 0; border-radius: 0; background: transparent; }
.header-search::after { content: ""; width: 14px; height: 14px; margin-left: 10px; border: 2px solid #fff; border-radius: 50%; box-shadow: 7px 7px 0 -5px #fff; transform: rotate(-8deg); }
.cart-button { position: relative; display: grid; place-items: center; border-color: rgba(255,255,255,.18); }
.cart-button [data-cart-count] { position: absolute; right: -4px; top: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #fff; color: #050505; font-size: 11px; line-height: 18px; font-weight: 900; }
.cart-icon-svg { display: block; width: 22px; height: 22px; }
.search-button::before { content: ""; display: block; width: 14px; height: 14px; border: 2px solid #fff; border-radius: 50%; transform: translate(8px, 7px); }
.search-button::after { content: ""; display: block; width: 9px; height: 2px; background: #fff; transform: rotate(45deg) translate(19px, 1px); }
.whatsapp-pill { padding: 10px 14px; border: 1px solid #375d8b; border-radius: 22px; color: #dcecff; }
.account-links { display: inline-flex; align-items: center; gap: 8px; color: #dfe6f2; font-size: 11px; letter-spacing: .5px; text-transform: uppercase; white-space: nowrap; }
.account-links i { width: 1px; height: 12px; background: rgba(255,255,255,.28); }
.account-links a:hover, .account-links.single:hover { color: #fff; }

.hero { position: relative; min-height: 520px; overflow: hidden; border-bottom: 1px solid var(--line); background: #050505; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; opacity: .72; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #050505 0%, rgba(5,5,5,.82) 36%, rgba(5,5,5,.18) 100%); }
.hero-copy { position: relative; z-index: 1; max-width: 650px; padding: 118px 0 108px 10vw; }
.eyebrow { text-transform: uppercase; letter-spacing: 7px; color: #fff; font-size: 13px; }
.hero h1 { margin: 18px 0; font-size: clamp(44px, 5.8vw, 68px); letter-spacing: 13px; font-weight: 800; }
.hero-logo-title { margin: 18px 0 12px; }
.hero-logo-title img { width: min(520px, 78vw); height: auto; }
.hero-logo-title span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero p { max-width: 560px; color: #e9ecef; font-size: 18px; line-height: 1.55; }
.hero-actions, .section-title, .admin-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 22px; border-radius: 6px; border: 1px solid var(--line); cursor: pointer; font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .8px; transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.btn.primary { background: #fff; color: #050609; border-color: #fff; }
.btn.primary:hover { background: #dfe2e6; border-color: #dfe2e6; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,.52); }
.btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); transform: translateY(-1px); }
.btn.dark { width: 100%; background: #1b2029; color: var(--text); border-color: #1f2630; }
.btn.danger { background: rgba(255,102,102,.12); color: #ff8a8a; border-color: rgba(255,102,102,.45); }
.btn.whatsapp-mini { display: inline-flex; width: fit-content; margin-top: 12px; border-color: rgba(37,211,102,.45); color: #dfffea; background: rgba(37,211,102,.1); }
.btn.whatsapp-mini:hover { border-color: #25d366; color: #fff; background: rgba(37,211,102,.18); }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.trust-strip, .work-strip, .social-proof, .footer { max-width: 1500px; margin: 0 auto; }
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 26px 10vw; background: #080808; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.08); }
.trust-strip article { display: flex; align-items: center; gap: 14px; padding: 10px 26px; border-left: 1px solid rgba(255,255,255,.12); }
.trust-strip article:first-child { border-left: 0; }
.trust-strip i { position: relative; flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; }
.trust-strip i::after { content: ""; position: absolute; left: 11px; top: 8px; width: 10px; height: 15px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(38deg); opacity: .82; }
.trust-strip b, .trust-strip span { display: block; }
.trust-strip b { color: #fff; font-size: 13px; letter-spacing: .4px; }
.trust-strip span, .category-card span, .product-card p, .section-title span, .footer p, small { color: var(--muted); }

.section, .page { max-width: 1500px; margin: 0 auto; padding: 34px 7vw; }
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.category-card, .product-card, .social-proof article, .panel, .metric-grid article, .login-card {
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
}
.category-card { padding: 14px; text-align: center; }
.category-card img {
  width: 100%;
  height: 150px;
  padding: 12px;
  object-fit: contain;
  object-position: center;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 6px;
  margin-bottom: 10px;
  background: radial-gradient(circle at 50% 34%, rgba(255,255,255,.075), rgba(255,255,255,.025) 42%, rgba(0,0,0,.16) 100%);
}
.category-card strong, .category-card span { display: block; }
.section-title { margin-bottom: 18px; }
.section-title h1, .section-title h2 { margin: 0; letter-spacing: 7px; text-transform: uppercase; font-size: 18px; }
.section-title a { color: var(--blue); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card { position: relative; padding: 16px; }
.product-card-media { position: relative; display: grid; place-items: center; min-height: 220px; margin-bottom: 12px; border: 1px solid rgba(255,255,255,.06); border-radius: 6px; background: linear-gradient(145deg, rgba(104,168,255,.055), rgba(255,255,255,.02)); overflow: hidden; }
.product-card img { width: 100%; height: 220px; padding: 10px; object-fit: contain; object-position: center; border-radius: 6px; margin-bottom: 0; background: transparent; }
.product-card h3 { margin: 0 0 5px; font-size: 20px; }
.product-card p { margin: 4px 0; }
.product-card strong { display: block; margin: 14px 0; }
.empty-results { padding: 22px; color: var(--muted); }
.delivery { display: inline-flex; margin-top: 10px; padding: 6px 10px; border-radius: 99px; background: rgba(97,215,125,.12); color: var(--green); font-size: 12px; font-weight: 800; }
.delivery.order { background: rgba(104,168,255,.13); color: var(--blue); }
.delivery.sold { background: rgba(255,102,102,.14); color: #ff8d8d; }
.product-status-pill { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; border: 1px solid transparent; background: rgba(0,0,0,.48); backdrop-filter: blur(8px); }
.product-status-pill.available { color: #7bf09c; border-color: rgba(97,215,125,.3); background: rgba(97,215,125,.1); }
.product-status-pill.order { color: #9ac5ff; border-color: rgba(104,168,255,.3); background: rgba(104,168,255,.1); }
.product-status-pill.sold { color: #ff9a9a; border-color: rgba(255,102,102,.34); background: rgba(255,102,102,.12); }

.premium-band { max-width: 1380px; min-height: 230px; margin: 12px auto; padding: 46px 8vw; display: flex; justify-content: flex-end; background: linear-gradient(90deg, rgba(5,8,11,.24), rgba(5,8,11,.98)), url("../img/hero-iphone.png") left center / cover; border-radius: 8px; border: 1px solid var(--line); }
.premium-band div { max-width: 640px; }
.premium-band h2 { margin: 0; letter-spacing: 8px; text-transform: uppercase; }
.work-strip { padding: 26px 7vw; text-align: center; background: #0d0f12; border-block: 1px solid var(--line); }
.work-strip h2 { letter-spacing: 7px; text-transform: uppercase; font-size: 16px; }
.work-strip div { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; color: #d6deeb; }
.about-band { max-width: 1380px; margin: 22px auto; padding: 34px 7vw; display: grid; grid-template-columns: minmax(0, 1.2fr) .8fr; gap: 26px; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(135deg, rgba(104,168,255,.12), rgba(255,255,255,.03)); }
.about-band h2 { margin: 0 0 12px; letter-spacing: 4px; text-transform: uppercase; }
.about-band p, .about-band li { color: var(--muted); }
.about-band ul { display: grid; gap: 10px; margin: 0; padding-left: 20px; }
.social-proof { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; padding: 24px 7vw 36px; }
.social-proof.reviews-only { grid-template-columns: 1fr; }
.social-proof article { padding: 24px; }
.reviews-only > article > .stars { display: none; }
.stars { color: #ffd76a; letter-spacing: 4px; }
.review-strip { display: flex; gap: 14px; margin-top: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; cursor: grab; padding-bottom: 10px; }
.review-strip.dragging { cursor: grabbing; user-select: none; }
.review-card { flex: 0 0 min(420px, 82vw); scroll-snap-align: start; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: rgba(0,0,0,.22); }
.review-card p { margin: 8px 0; }
.footer { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; padding: 34px 7vw; border-top: 1px solid var(--line); }
.footer img { width: 210px; height: 110px; object-fit: contain; object-position: center; background: #000; }

.cart-drawer { position: fixed; top: 0; right: 0; z-index: 40; width: min(430px, 100vw); height: 100vh; padding: 22px; background: #07090c; border-left: 1px solid var(--line); transform: translateX(105%); transition: transform .22s ease; overflow: auto; }
.cart-drawer.open { transform: translateX(0); }
.whatsapp-floating { position: fixed; right: 24px; bottom: 24px; z-index: 55; display: grid; place-items: center; width: 62px; height: 62px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; background: linear-gradient(180deg, #25d366, #10a84f); box-shadow: 0 18px 46px rgba(0,0,0,.42), 0 0 0 8px rgba(37,211,102,.08); transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
.whatsapp-floating:hover { transform: translateY(-2px) scale(1.03); filter: brightness(1.05); box-shadow: 0 22px 56px rgba(0,0,0,.5), 0 0 0 10px rgba(37,211,102,.1); }
.whatsapp-floating svg { width: 32px; height: 32px; fill: currentColor; }
.cart-toast { position: fixed; right: 24px; bottom: 96px; z-index: 60; padding: 14px 18px; border: 1px solid rgba(104,168,255,.5); border-radius: 8px; color: #fff; background: #101721; box-shadow: 0 18px 50px rgba(0,0,0,.35); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s ease; }
.cart-toast.show { opacity: 1; transform: translateY(0); }
.drawer-head, .cart-item, .cart-total, .row, .table-list > div, .order-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.cart-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; }
.cart-item span, .row span, .table-list span { flex: 1; }
.cart-item button { border: 0; color: #fff; background: transparent; font-size: 24px; cursor: pointer; }
.cart-summary { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
.cart-summary p { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0; color: var(--muted); font-size: 13px; }
.cart-summary .discount { color: #62f08b; }
.cart-total { padding: 12px 0 18px; font-size: 20px; }
.checkout-form { display: grid; gap: 10px; }
.checkout-review-panel { display: grid; gap: 10px; padding: 16px; border: 1px solid rgba(104,168,255,.42); border-radius: 8px; background: #0d141d; }
.checkout-review-panel[hidden] { display: none; }
.checkout-review-panel > span { color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; }
.checkout-review-panel p, .checkout-review-panel dl { margin: 0; }
.checkout-review-panel [data-checkout-review-items] { display: grid; gap: 8px; }
.checkout-review-panel [data-checkout-review-items] p, .checkout-review-panel dl div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.checkout-review-panel dt { color: var(--muted); }
.checkout-review-panel dd { margin: 0; color: #fff; font-weight: 900; text-align: right; }
.transfer-checkout-panel, .transfer-success-card, .mixed-payment-panel { display: grid; gap: 12px; padding: 16px; border: 1px solid rgba(104,168,255,.34); border-radius: 8px; background: linear-gradient(135deg, rgba(104,168,255,.12), rgba(255,255,255,.035)); }
.transfer-checkout-panel[hidden], .mixed-payment-panel[hidden] { display: none; }
.transfer-checkout-panel strong { display: block; margin-top: 4px; color: #fff; font-size: 24px; }
.transfer-checkout-panel small, .transfer-checkout-panel p, .mixed-payment-panel small, .mixed-payment-panel p { color: var(--muted); }
.mixed-payment-panel p { display: grid; gap: 6px; margin: 0; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); }
.mixed-payment-panel strong { color: #fff; font-size: 20px; }
.transfer-checkout-panel dl, .transfer-success-card dl { display: grid; gap: 8px; margin: 0; }
.transfer-checkout-panel dl div, .transfer-success-card dl div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.08); }
.transfer-checkout-panel dt, .transfer-success-card dt { color: var(--muted); }
.transfer-checkout-panel dd, .transfer-success-card dd { display: flex; align-items: center; gap: 8px; margin: 0; color: #fff; font-weight: 800; text-align: right; }
.transfer-checkout-panel button[data-copy-value] { padding: 6px 8px; border: 1px solid rgba(104,168,255,.35); border-radius: 7px; color: var(--blue); background: rgba(104,168,255,.08); cursor: pointer; }
input, select, textarea { width: 100%; min-height: 44px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 7px; color: #fff; background: #0c1016; }
textarea { min-height: 88px; resize: vertical; }
.success-page { min-height: 100vh; display: grid; place-content: center; justify-items: center; padding: 24px; text-align: center; }

.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 50% 0%, rgba(104,168,255,.16), rgba(3,4,5,.92) 44%, #030405 100%); }
.login-card { width: min(440px, 92vw); padding: 34px; display: grid; gap: 14px; border-color: rgba(104,168,255,.16); background: linear-gradient(145deg, rgba(18,25,35,.92), rgba(8,10,14,.96)); }
.login-brand { display: grid; place-items: center; min-height: 132px; margin-bottom: 4px; border: 1px solid rgba(255,255,255,.06); border-radius: 8px; background: #000; overflow: hidden; }
.login-card img { width: 245px; height: 118px; object-fit: contain; object-position: center; margin: 0 auto; }
.login-card .eyebrow { margin: 4px 0 0; font-size: 11px; letter-spacing: 4px; }
.login-card h1 { margin: 0 0 10px; font-size: 30px; }
.login-card input { background: #090d13; }
.login-card small { color: var(--muted); }
.alert { color: var(--red); }
.admin-live-notice { position: fixed; right: 24px; bottom: 24px; z-index: 80; display: flex; align-items: center; gap: 14px; max-width: min(560px, calc(100vw - 32px)); padding: 14px 16px; border: 1px solid rgba(104,168,255,.55); border-radius: 8px; color: #fff; background: #0d151f; box-shadow: 0 22px 70px rgba(0,0,0,.45); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s ease; }
.admin-live-notice.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.admin-live-notice span { color: #dce7f5; }
.admin-note { display: grid; gap: 5px; padding: 14px 16px; margin: 12px 0; border: 1px solid rgba(104,168,255,.35); border-radius: 8px; background: rgba(104,168,255,.08); }
.admin-note span { color: var(--muted); }
.admin-shell { display: grid; grid-template-columns: 310px 1fr; height: 100vh; min-height: 100vh; overflow: hidden; background: radial-gradient(circle at top left, #101927, #030405 42%); }
.admin-sidebar { position: sticky; top: 0; height: 100vh; padding: 34px; border-right: 1px solid var(--line); background: rgba(3,4,5,.72); display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; overflow: hidden; }
.admin-sidebar-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 38px; }
.admin-sidebar img { width: 190px; height: 90px; object-fit: contain; background: #000; }
.admin-sidebar nav { display: grid; gap: 10px; margin-bottom: 22px; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; scrollbar-color: rgba(104,168,255,.55) rgba(255,255,255,.05); }
.admin-sidebar nav::-webkit-scrollbar { width: 7px; }
.admin-sidebar nav::-webkit-scrollbar-track { background: rgba(255,255,255,.04); border-radius: 999px; }
.admin-sidebar nav::-webkit-scrollbar-thumb { background: rgba(104,168,255,.55); border-radius: 999px; }
.admin-sidebar a { padding: 14px 16px; border-radius: 8px; color: #eef3fb; }
.admin-sidebar a.active, .admin-sidebar a:hover { background: linear-gradient(90deg, rgba(104,168,255,.22), rgba(104,168,255,.06)); }
.admin-sidebar a.locked { color: #68717f; opacity: .65; cursor: not-allowed; }
.admin-sidebar a.locked:hover { background: rgba(255,255,255,.025); color: #7a8493; }
.admin-main { height: 100vh; padding: 48px; overflow-y: auto; overflow-x: hidden; scroll-behavior: smooth; }
.admin-section { scroll-margin-top: 28px; }
.admin-section { min-height: 80vh; padding-bottom: 50px; }
.admin-top h1 { margin: 0; font-size: 32px; }
.admin-top p { margin: 8px 0 0; color: var(--muted); font-size: 18px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 34px 0 24px; }
.metric-grid article { padding: 26px; }
.metric-grid span, .metric-grid small { color: var(--muted); display: block; }
.metric-grid strong { display: block; margin: 10px 0; font-size: 30px; }
.admin-grid.two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.panel { padding: 24px; }
.row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.row small, .table-list small { display: block; margin-top: 4px; }
.admin-form { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 18px; margin: 16px 0 22px; background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 8px; }
.admin-form textarea, .admin-form label { grid-column: span 2; }
.admin-form .btn { grid-column: span 4; }
.admin-create-product { margin: 16px 0 22px; }
.admin-create-product > summary { width: fit-content; list-style: none; }
.admin-create-product > summary::-webkit-details-marker { display: none; }
.admin-create-product[open] > summary { margin-bottom: 14px; }
.product-create-form { border-color: rgba(104,168,255,.25); background: rgba(104,168,255,.055); }
.feature-checklist { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; border: 1px solid rgba(104,168,255,.28); border-radius: 8px; background: rgba(104,168,255,.06); }
.feature-checklist b { grid-column: 1 / -1; letter-spacing: 2px; text-transform: uppercase; font-size: 12px; }
.feature-checklist label { grid-column: span 1; display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; background: rgba(0,0,0,.18); }
.feature-checklist input { width: 18px; min-height: 18px; accent-color: var(--blue); }
.permission-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; border: 1px solid rgba(104,168,255,.28); border-radius: 8px; background: rgba(104,168,255,.06); }
.permission-grid b { grid-column: 1 / -1; letter-spacing: 2px; text-transform: uppercase; font-size: 12px; color: #fff; }
.permission-grid label { display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; background: rgba(0,0,0,.18); }
.permission-grid input { width: 18px; min-height: 18px; accent-color: var(--blue); }
.type-specs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: rgba(0,0,0,.16); }
.type-specs b { grid-column: 1 / -1; letter-spacing: 2px; text-transform: uppercase; font-size: 12px; color: var(--blue); }
.table-list { display: grid; gap: 10px; }
.table-list > div, .order-row, .review-admin-card { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.035); }
.table-list img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.order-row select { max-width: 150px; }
.review-admin-card { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px; }
.inline-check { display: inline-flex; align-items: center; gap: 8px; color: #dce7f5; }
.inline-check input { width: 18px; min-height: 18px; accent-color: var(--blue); }
.admin-edit-card { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.035); }
.admin-edit-card summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; list-style: none; }
.admin-edit-card summary::-webkit-details-marker { display: none; }
.admin-edit-card summary img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.admin-edit-card summary span { flex: 1; }
.admin-archive-block { margin-top: 18px; padding: 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; background: rgba(255,255,255,.025); }
.admin-archive-block > summary { cursor: pointer; color: #dce7f5; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.archived-product-card { opacity: .78; }
.archived-product-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.archived-product-row img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.archived-product-row span { flex: 1; }
.compact-form { margin-top: 16px; }
.delete-form { display: flex; justify-content: flex-end; padding-top: 10px; }
.good { color: var(--green); }
.bad { color: var(--red); }

.product-detail-btn { width: 100%; margin-bottom: 8px; }
.checkout-form .account-link { color: var(--blue); text-align: center; font-size: 13px; }
.transfer-receipt-box, .admin-receipt-review, .receipt-review-card { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.035); }
.receipt-preview { display: flex; align-items: center; gap: 12px; color: #eef5ff; }
.receipt-preview img, .receipt-thumb img { width: 78px; height: 78px; object-fit: cover; border-radius: 8px; border: 1px solid rgba(104,168,255,.35); background: #07090d; }
.receipt-upload-form, .receipt-actions { display: grid; gap: 10px; }
.receipt-actions { grid-template-columns: auto minmax(160px, 1fr) auto; align-items: center; }
.receipt-review-list { display: grid; gap: 12px; }
.receipt-review-card { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; }
.receipt-review-card .receipt-actions { grid-column: 1 / -1; }
.business-settings-form { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.settings-group { display: grid; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.035); }
.settings-group.wide { grid-column: 1 / -1; }
.settings-group h3 { margin: 0; }
.settings-group label { display: grid; gap: 7px; color: #dce7f5; font-weight: 800; }
.settings-group textarea { min-height: 130px; }
.receipt-page { min-height: 100vh; padding: 34px; color: #10151d; background: #e8edf4; }
.receipt-sheet { max-width: 980px; margin: 0 auto; padding: 38px; border-radius: 8px; background: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.18); }
.receipt-head { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 2px solid #10151d; }
.receipt-head img { width: 160px; height: 74px; object-fit: contain; background: #050607; border-radius: 8px; }
.receipt-head h1 { margin: 4px 0; color: #10151d; font-size: 32px; letter-spacing: 0; }
.receipt-head span, .receipt-grid h2, .receipt-terms h2 { color: #245d9f; font-size: 12px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; }
.receipt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.receipt-grid article, .receipt-terms { padding: 16px; border: 1px solid #d8e0ea; border-radius: 8px; background: #f8fafc; }
.receipt-grid .wide { grid-column: 1 / -1; }
.receipt-table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.receipt-table th, .receipt-table td { padding: 12px; border-bottom: 1px solid #d8e0ea; text-align: left; }
.receipt-table th { color: #10151d; background: #eef3f8; }
.receipt-table small { display: block; color: #657287; }
.receipt-total { max-width: 360px; margin-left: auto; padding: 16px; border-radius: 8px; background: #10151d; color: #fff; }
.receipt-total p { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0; }
.receipt-total strong { font-size: 24px; }
.receipt-print-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 22px; }
.warranty-page { min-height: 100vh; padding: 34px; color: #141922; background: #e8edf4; }
.warranty-sheet { max-width: 980px; margin: 0 auto; padding: 42px; border-radius: 8px; background: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.18); }
.warranty-head { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 2px solid #10151d; }
.warranty-head img { width: 160px; height: 74px; object-fit: contain; background: #050607; border-radius: 8px; }
.warranty-head h1 { margin: 4px 0; color: #10151d; font-size: 34px; letter-spacing: 0; }
.warranty-head span, .warranty-grid h2, .warranty-products h2, .warranty-terms h2 { color: #245d9f; font-size: 12px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; }
.warranty-hero { margin: 24px 0; padding: 20px; border: 1px solid #d8e0ea; border-radius: 8px; background: linear-gradient(135deg, #f8fafc, #eef3f8); }
.warranty-hero p { max-width: 760px; margin: 0; color: #2c3543; font-size: 17px; line-height: 1.55; }
.warranty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.warranty-grid article, .warranty-products article, .warranty-terms { padding: 16px; border: 1px solid #d8e0ea; border-radius: 8px; background: #f8fafc; }
.warranty-products { display: grid; gap: 12px; margin: 22px 0; }
.warranty-products h2 { margin: 0; }
.warranty-products article { display: grid; grid-template-columns: minmax(220px, .8fr) 1fr; gap: 18px; align-items: start; }
.warranty-products small { display: block; margin-top: 5px; color: #657287; }
.warranty-products dl { display: grid; gap: 8px; margin: 0; }
.warranty-products dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid #d8e0ea; }
.warranty-products dt { color: #657287; }
.warranty-products dd { margin: 0; font-weight: 800; text-align: right; }
.warranty-terms ul { display: grid; gap: 8px; margin: 0 0 12px; padding-left: 20px; }
.warranty-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; margin-top: 42px; }
.warranty-sign span { display: block; height: 1px; margin-bottom: 10px; background: #10151d; }
.warranty-sign b { color: #10151d; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.checkout-lock { display: grid; gap: 12px; margin-top: 18px; padding: 18px; border: 1px solid rgba(104,168,255,.34); border-radius: 8px; background: rgba(104,168,255,.08); }
.checkout-lock p { margin: 0; color: var(--muted); }
.buy-guide-page { display: grid; gap: 34px; }
.buy-guide-hero { max-width: 980px; padding: 58px 0 14px; }
.buy-guide-hero h1 { margin: 8px 0 14px; font-size: clamp(44px, 7vw, 76px); line-height: 1; letter-spacing: 0; }
.buy-guide-hero p { max-width: 720px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.buy-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.buy-steps article { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.014)); }
.buy-steps span { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 18px; border: 1px solid rgba(104,168,255,.55); border-radius: 50%; color: var(--blue); font-weight: 900; }
.buy-steps h2, .guide-detail-grid h2 { margin: 0 0 12px; font-size: 20px; letter-spacing: 0; }
.buy-steps p, .guide-detail-grid p, .faq-section p { color: var(--muted); line-height: 1.6; }
.guide-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.faq-section { display: grid; gap: 12px; }
.faq-section details { padding: 18px 20px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.028); }
.faq-section summary { cursor: pointer; color: #fff; font-weight: 900; }
.faq-section p { margin: 12px 0 0; }
.product-page, .account-page { max-width: 1500px; margin: 0 auto; padding: 42px 7vw; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 34px; align-items: start; }
.product-gallery, .product-info, .account-form, .orders-panel {
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  padding: 18px;
}
.gallery-main { width: 100%; aspect-ratio: 1.05; object-fit: cover; border-radius: 8px; background: #0b0d10; }
.gallery-main-trigger { display: block; width: 100%; border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.gallery-main-trigger:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 10px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.gallery-thumbs button { border: 1px solid var(--line); border-radius: 7px; padding: 0; background: #090b0f; cursor: pointer; overflow: hidden; }
.gallery-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-info h1 { margin: 8px 0 12px; font-size: clamp(34px, 5vw, 62px); letter-spacing: 3px; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 22px 0; }
.spec-grid span { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.035); color: var(--muted); }
.spec-grid b { display: block; color: #fff; margin-bottom: 4px; }
.condition-note { padding: 16px; border-left: 3px solid var(--blue); background: rgba(104,168,255,.08); border-radius: 6px; }
.condition-note p { margin-bottom: 0; color: var(--muted); }
.detail-price { display: block; margin: 22px 0; font-size: 32px; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.product-showcase { max-width: 1540px; padding-top: 22px; }
.showcase-hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); gap: 40px; align-items: start; }
.showcase-gallery, .showcase-buybox, .product-panel {
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.showcase-gallery { position: relative; padding: 28px; min-height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 22px; }
.showcase-gallery.single-image { justify-content: center; padding-top: 58px; padding-bottom: 40px; }
.premium-chip { position: absolute; top: 26px; left: 26px; z-index: 2; padding: 8px 12px; border: 1px solid var(--blue); border-radius: 5px; color: #d8eaff; background: rgba(7,12,19,.66); text-transform: uppercase; font-size: 12px; font-weight: 800; letter-spacing: 1px; }
.showcase-main { width: min(520px, 88%); height: 380px; margin: 0 auto; object-fit: contain; background: transparent; }
.showcase-gallery.single-image .showcase-main { height: 410px; }
.gallery-arrow { position: absolute; top: 42%; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; background: rgba(0,0,0,.28); cursor: pointer; font-size: 30px; line-height: 1; }
.gallery-arrow.left { left: 22px; }
.gallery-arrow.right { right: 22px; }
.showcase-thumbs { grid-template-columns: repeat(5, minmax(74px, 1fr)); }
.showcase-thumbs button { min-height: 92px; border-color: rgba(255,255,255,.16); }
.showcase-thumbs button.active, .showcase-thumbs button:hover { border-color: var(--blue); }
.image-viewer { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 72px 86px; background: rgba(0,0,0,.88); backdrop-filter: blur(14px); }
.image-viewer[hidden] { display: none; }
.image-viewer img { max-width: min(1120px, 100%); max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 10px; background: #080a0d; box-shadow: 0 30px 90px rgba(0,0,0,.55); }
.image-viewer-close, .image-viewer-arrow { position: fixed; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); color: #fff; background: rgba(5,5,5,.72); cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.image-viewer-close:hover, .image-viewer-arrow:hover { border-color: rgba(255,255,255,.42); background: rgba(18,20,24,.92); transform: translateY(-1px); }
.image-viewer-close { top: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%; font-size: 30px; line-height: 1; }
.image-viewer-arrow { top: 50%; width: 50px; height: 50px; border-radius: 50%; font-size: 34px; line-height: 1; transform: translateY(-50%); }
.image-viewer-arrow:hover { transform: translateY(-50%) scale(1.03); }
.image-viewer-arrow.left { left: 26px; }
.image-viewer-arrow.right { right: 26px; }
body.image-viewer-open { overflow: hidden; }
.showcase-buybox { padding: 18px 22px 22px; background: linear-gradient(145deg, rgba(6,9,13,.9), rgba(6,8,12,.35)); }
.stock-state { margin: 0 0 14px; color: var(--green); font-size: 12px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.stock-state.order { color: var(--blue); }
.stock-state.sold { color: #ff8d8d; }
.showcase-buybox h1 { margin: 0 0 8px; font-size: clamp(34px, 4.8vw, 54px); line-height: 1.04; letter-spacing: 0; }
.product-subline, .rating-line, .installments { color: var(--muted); }
.product-subline span { display: inline-block; width: 5px; height: 5px; margin: 0 10px 2px; border-radius: 50%; background: var(--blue); }
.certified-badge { display: inline-flex; align-items: center; gap: 9px; width: fit-content; margin: 8px 0 10px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #eef1f4; background: rgba(255,255,255,.045); font-size: 11px; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase; }
.certified-badge i { position: relative; width: 18px; height: 18px; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; }
.certified-badge i::after { content: ""; position: absolute; left: 5px; top: 4px; width: 6px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(42deg); }
.product-status-floating { position: absolute; top: 24px; right: 24px; left: auto; z-index: 3; }
.sold-note { margin: 12px 0 0; padding: 10px 12px; border: 1px solid rgba(255,102,102,.22); border-radius: 8px; color: #ffd2d2; background: rgba(255,102,102,.08); font-size: 14px; line-height: 1.45; }
.rating-line { display: flex; align-items: center; gap: 8px; margin-top: 24px; }
.price-box { display: grid; gap: 7px; margin: 24px 0 26px; padding: 20px 0 18px; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.price-box > span { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.showcase-price { display: block; margin: 0; font-size: clamp(44px, 5.4vw, 64px); line-height: 1; letter-spacing: 0; }
.price-box p { margin: 2px 0 0; color: #d6dadf; font-size: 15px; }
.price-box b { color: #fff; font-size: 18px; }
.installments { color: var(--blue); }
.buy-actions { display: grid; gap: 14px; margin: 24px 0 28px; }
.whatsapp-buy { min-height: 54px; color: #fff; background: linear-gradient(180deg, #13c96a, #08a94f); border-color: #16c86a; box-shadow: 0 12px 28px rgba(8,185,87,.2); }
.whatsapp-buy:hover { background: linear-gradient(180deg, #18d875, #0fba5c); border-color: #1dd873; transform: translateY(-1px); }
.add-cart-wide { min-height: 50px; gap: 12px; color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.025); }
.add-cart-wide:hover:not(:disabled) { border-color: #fff; background: rgba(255,255,255,.075); }
.disabled-future { min-height: 48px; color: rgba(255,255,255,.62); border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.025); opacity: 1; cursor: not-allowed; }
.disabled-future:hover { transform: none; border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.025); }
.disabled-future small { margin-left: 8px; color: rgba(255,255,255,.42); font-size: 10px; letter-spacing: 1px; }
.benefit-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.benefit-row span { color: var(--muted); font-size: 13px; }
.benefit-row b { display: block; color: #fff; margin-bottom: 3px; }
.detail-panels { display: grid; grid-template-columns: .92fr 1.08fr; gap: 18px; margin-top: 34px; }
.product-panel { padding: 26px 30px; min-height: 210px; }
.product-panel h2 { margin: 0 0 18px; text-transform: uppercase; letter-spacing: 5px; font-size: 16px; }
.product-panel p, .product-panel li, .product-panel small { color: var(--muted); }
.product-spec-list { display: grid; gap: 10px; margin: 20px 0 0; }
.product-spec-list div { display: grid; grid-template-columns: 170px 1fr; gap: 18px; }
.product-spec-list dt { color: var(--muted); }
.product-spec-list dd { margin: 0; color: #fff; }
.panel-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.panel-head h2 span { color: var(--blue); }
.audit-list { display: grid; gap: 0; margin-bottom: 14px; }
.audit-list p { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line); }
.audit-list b { color: var(--green); }
.audit-log-list { gap: 10px; }
.audit-log-card { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.035); }
.audit-log-card summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; }
.audit-log-card pre { max-height: 260px; overflow: auto; padding: 12px; border-radius: 8px; color: #dce7f5; background: #070a0f; white-space: pre-wrap; }
.verified-check { display: inline-grid; place-items: center; width: 23px; height: 23px; border: 1px solid rgba(97,215,125,.72); border-radius: 50%; background: rgba(97,215,125,.13); }
.verified-check::before { content: ""; width: 11px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg) translate(1px, -1px); }
.pending-check { color: var(--muted); font-size: 13px; }
.product-panel ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.product-panel li { position: relative; padding-left: 24px; }
.product-panel li::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border: 1px solid var(--blue); border-radius: 50%; box-shadow: inset 0 0 0 2px #071018; background: var(--blue); }
.include-panel { background-image: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012)), url("../img/iport-logo-horizontal.png"); background-repeat: no-repeat; background-position: right 24px bottom 18px; background-size: 260px auto; }
.account-grid { display: grid; grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr); gap: 20px; align-items: start; }
.single-auth { max-width: 1080px; margin: 0 auto; grid-template-columns: minmax(340px, .95fr) minmax(280px, .7fr); }
.auth-switch-panel { min-height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 14px; background: radial-gradient(circle at 70% 18%, rgba(104,168,255,.18), rgba(255,255,255,.035) 46%, rgba(255,255,255,.018)); }
.auth-switch-panel h2 { margin: 0; font-size: 30px; }
.auth-switch-panel p { margin: 0; color: var(--muted); line-height: 1.6; }
.auth-switch-panel .btn { width: fit-content; margin-top: 8px; }
.account-form { display: grid; gap: 12px; }
.account-form h1, .orders-panel h1 { margin: 0 0 8px; }
.premium-form label, .field-label { display: grid; gap: 7px; color: #dce7f5; font-size: 13px; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.form-grid .wide { grid-column: 1 / -1; }
.customer-hero { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 34px; margin-bottom: 20px; border: 1px solid rgba(255,255,255,.09); border-radius: 8px; background: linear-gradient(135deg, rgba(104,168,255,.14), rgba(255,255,255,.035)); }
.customer-hero h1 { margin: 4px 0; font-size: clamp(34px, 5vw, 58px); }
.customer-hero p { margin: 0; color: var(--muted); }
.customer-actions { justify-content: flex-start; margin-top: 18px; }
.customer-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; min-width: min(560px, 100%); }
.customer-stats span { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: rgba(0,0,0,.22); color: var(--muted); }
.customer-stats b { display: block; color: #fff; font-size: 20px; }
.customer-dashboard { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.customer-menu { position: sticky; top: 96px; display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.035); }
.customer-menu a { padding: 12px; border-radius: 7px; color: #dce7f5; }
.customer-menu a:hover { background: rgba(104,168,255,.13); color: #fff; }
.customer-panels { display: grid; gap: 18px; }
.address-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 14px 0 20px; }
.address-card { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.035); }
.address-card p { color: var(--muted); }
.inline-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.address-form { padding-top: 14px; border-top: 1px solid var(--line); }
.muted-copy { color: var(--muted); }
.reviewable-list { display: grid; gap: 12px; margin-top: 16px; }
.reviewable-card { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.035); }
.reviewable-card img { width: 90px; height: 90px; object-fit: cover; border-radius: 7px; }
.review-form { display: grid; gap: 10px; margin-top: 10px; }
.claim-form { margin-top: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.claim-list { display: grid; gap: 12px; margin-top: 16px; }
.claim-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; padding: 15px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.035); }
.claim-card p { grid-column: 1 / -1; margin: 0; color: var(--muted); }
.claim-card small, .claim-card b { display: block; }
.claim-status { align-self: start; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; font-weight: 900; white-space: nowrap; }
.claim-status.open { color: #ffd76a; border-color: rgba(255,215,106,.38); background: rgba(255,215,106,.08); }
.claim-status.reviewing { color: var(--blue); border-color: rgba(104,168,255,.44); background: rgba(104,168,255,.08); }
.claim-status.supplier { color: #d8c4ff; border-color: rgba(183,156,255,.45); background: rgba(183,156,255,.09); }
.claim-status.resolved { color: var(--green); border-color: rgba(97,215,125,.45); background: rgba(97,215,125,.1); }
.claim-status.rejected { color: var(--red); border-color: rgba(255,102,102,.46); background: rgba(255,102,102,.1); }
.order-card { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.035); margin-top: 12px; }
.status-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0; }
.status-track span { padding: 8px; border-radius: 99px; text-align: center; color: var(--muted); background: #0b0f15; border: 1px solid var(--line); font-size: 12px; }
.status-track span.active { color: #06101d; background: var(--blue); border-color: var(--blue); font-weight: 800; }
.admin-gallery-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 12px; }
.admin-gallery-list form { display: grid; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.03); }
.admin-gallery-list img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.legacy-hidden { display: none !important; }
.stock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
.stock-kpis article { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.035); }
.stock-kpis b { display: block; font-size: 28px; }
.stock-kpis span { color: var(--muted); }
.stock-kpis .ok { border-color: rgba(97,215,125,.35); }
.stock-kpis .low { border-color: rgba(255,196,87,.45); }
.stock-kpis .out { border-color: rgba(255,102,102,.45); }
.stock-table-wrap { margin: 18px 0 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.025); }
.stock-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.stock-table th, .stock-table td { padding: 15px 16px; border-bottom: 1px solid rgba(255,255,255,.07); text-align: left; }
.stock-table th { color: #fff; font-size: 13px; background: #101721; }
.stock-table td { color: #edf3fb; }
.stock-table td:nth-child(3), .stock-table td:nth-child(4) { text-align: center; font-weight: 900; }
.stock-table td small { display: block; margin-top: 4px; color: var(--muted); }
.stock-table tr:last-child td { border-bottom: 0; }
.stock-table tr.ok { box-shadow: inset 4px 0 0 var(--green); }
.stock-table tr.low { box-shadow: inset 4px 0 0 #ffc457; }
.stock-table tr.out { box-shadow: inset 4px 0 0 var(--red); }
.stock-min-form { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.stock-min-form input { width: 76px; padding: 8px; text-align: center; }
.stock-min-form .btn { min-height: 34px; padding: 0 10px; }
.stock-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 82px; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.stock-pill.ok { color: #dffff0; background: rgba(97,215,125,.14); border: 1px solid rgba(97,215,125,.4); }
.stock-pill.low { color: #fff1d1; background: rgba(255,196,87,.14); border: 1px solid rgba(255,196,87,.46); }
.stock-pill.out { color: #ffe2e2; background: rgba(255,102,102,.14); border: 1px solid rgba(255,102,102,.46); }
.stock-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 24px; }
.stock-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.035); }
.stock-card b, .stock-card small, .stock-card em { display: block; }
.stock-card strong { font-size: 28px; }
.stock-card em { grid-column: 2 / 4; color: var(--muted); font-style: normal; font-size: 12px; }
.stock-dot { width: 13px; height: 13px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,255,255,.04); }
.stock-card.ok { border-color: rgba(97,215,125,.34); }
.stock-card.ok .stock-dot { background: var(--green); }
.stock-card.low { border-color: rgba(255,196,87,.42); }
.stock-card.low .stock-dot { background: #ffc457; }
.stock-card.out { border-color: rgba(255,102,102,.45); }
.stock-card.out .stock-dot { background: var(--red); }
.admin-filter-bar { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin: 14px 0; }
.order-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 18px; }
.order-tabs a { padding: 10px 13px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.035); color: var(--muted); }
.order-tabs a.active, .order-tabs a:hover { border-color: var(--blue); color: #fff; background: rgba(104,168,255,.12); }
.order-tabs b { margin-left: 6px; color: #fff; }
.orders-board { display: grid; gap: 12px; }
.order-admin-card { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.035); }
.order-admin-card summary { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px; cursor: pointer; list-style: none; }
.order-admin-card summary::-webkit-details-marker { display: none; }
.status-badge { padding: 7px 10px; border-radius: 99px; border: 1px solid var(--line); color: #dce7f5; background: #0b0f15; font-size: 12px; font-weight: 800; }
.status-badge.pending { color: #ffd76a; border-color: rgba(255,215,106,.35); }
.status-badge.preparing { color: var(--blue); border-color: rgba(104,168,255,.45); }
.status-badge.shipped { color: #b79cff; border-color: rgba(183,156,255,.45); }
.status-badge.delivered { color: var(--green); border-color: rgba(97,215,125,.45); }
.status-badge.cancelled { color: var(--red); border-color: rgba(255,102,102,.45); }
.order-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--line); }
.order-status-form, .support-reply { display: grid; gap: 10px; }
.order-status-form label { display: grid; gap: 6px; color: #dce7f5; font-size: 13px; font-weight: 700; }
.order-action-trace, .order-closed-box { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.035); }
.order-action-trace h3 { margin: 0 0 2px; }
.order-action-trace p { margin: 0; color: var(--muted); }
.order-action-trace b { color: #fff; }
.order-closed-box { border-color: rgba(97,215,125,.35); color: #dff9e8; background: rgba(97,215,125,.08); }
.order-closed-box span { color: var(--muted); }
.support-thread { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.message-bubble { display: grid; gap: 4px; max-width: 760px; padding: 11px 13px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.035); }
.message-bubble.admin { margin-left: auto; border-color: rgba(104,168,255,.35); background: rgba(104,168,255,.09); }
.message-bubble span { color: #edf3fb; }
.support-reply { grid-template-columns: 1fr auto; }
.order-calendar-wrap { max-width: 720px; margin: 28px auto; padding: 22px; border: 1px solid rgba(104,168,255,.22); border-radius: 8px; background: linear-gradient(180deg, #111822, #090d13); box-shadow: 0 22px 60px rgba(0,0,0,.34); }
.calendar-toolbar { display: grid; grid-template-columns: 46px 1fr 46px; align-items: center; gap: 14px; margin-bottom: 14px; }
.calendar-toolbar div { text-align: center; }
.calendar-toolbar span { display: block; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.calendar-toolbar h2 { margin: 4px 0; font-size: 30px; color: #fff; }
.calendar-toolbar small { color: var(--muted); }
.calendar-arrow { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(104,168,255,.35); border-radius: 8px; color: #fff; background: linear-gradient(180deg, #173050, #0d1724); font-size: 32px; line-height: 1; }
.calendar-arrow:hover { border-color: var(--blue); color: var(--blue); }
.calendar-jump { display: flex; justify-content: center; gap: 10px; margin: 0 0 16px; }
.calendar-jump select { max-width: 260px; }
.open-order-alerts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0; }
.open-order-alerts a { display: grid; gap: 3px; padding: 11px; border: 1px solid rgba(255,102,102,.42); border-radius: 8px; background: rgba(255,102,102,.08); color: #fff; }
.open-order-alerts small { color: #ffb6b6; }
.order-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; overflow: visible; border: 0; border-radius: 0; background: transparent; }
.order-calendar > b { padding: 8px 2px; color: #dfe9f6; font-size: 13px; text-align: center; text-transform: none; background: transparent; }
.order-calendar article, .calendar-empty { min-height: 74px; padding: 7px; border: 1px solid rgba(255,255,255,.07); border-radius: 8px; background: #0a0f16; box-shadow: inset 0 1px 0 rgba(255,255,255,.03); }
.order-calendar article.has-orders { border-color: rgba(104,168,255,.28); background: #0d141d; }
.order-calendar article strong { display: grid; gap: 2px; margin-bottom: 5px; color: #fff; }
.order-calendar article strong span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: rgba(255,255,255,.06); font-size: 14px; }
.order-calendar article strong small { display: none; }
.order-calendar article a { display: grid; grid-template-columns: auto 1fr; gap: 4px; align-items: center; margin-top: 4px; padding: 5px 6px; border-radius: 7px; font-size: 11px; line-height: 1.15; color: #fff; }
.order-calendar article a b { font-size: 10px; }
.order-calendar article a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-calendar article a.open { border: 1px solid rgba(255,182,77,.42); background: linear-gradient(180deg, #d68119, #9b5311); color: #fff4df; }
.order-calendar article a.delivered { border: 1px solid rgba(97,215,125,.42); background: linear-gradient(180deg, #20984a, #12602f); color: #e9ffef; }
.order-calendar article a.cancelled { border: 1px solid rgba(255,102,102,.48); background: linear-gradient(180deg, #d54a4a, #8c1d28); color: #ffe7e7; }
.order-calendar article a.postventa { border: 1px solid rgba(104,168,255,.46); background: linear-gradient(180deg, #2f6fac, #16395e); color: #e6f2ff; }
.order-calendar article.selected-day { border-color: rgba(255,196,87,.7); box-shadow: inset 0 0 0 2px rgba(255,196,87,.2), 0 0 0 1px rgba(255,196,87,.18); }
.audit-calendar article small { display: block; margin-top: 5px; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.calendar-legend { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; color: var(--muted); font-size: 12px; }
.calendar-legend span { display: inline-flex; align-items: center; gap: 7px; }
.calendar-legend i { width: 10px; height: 10px; border-radius: 50%; }
.calendar-legend i.delivered { background: #22b95a; }
.calendar-legend i.cancelled { background: #d94c4c; }
.calendar-legend i.open { background: #d68119; }
.calendar-legend i.postventa-dot { background: #4b9af0; }
.postventa-list { display: grid; gap: 10px; max-width: 980px; margin: 0 auto; }
.postventa-list article { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.035); }
.postventa-list span, .postventa-list small { display: block; }
.claim-admin-grid { display: grid; gap: 12px; }
.claim-admin-card { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.035); }
.claim-admin-card[open] { border-color: rgba(104,168,255,.22); background: linear-gradient(145deg, rgba(104,168,255,.06), rgba(255,255,255,.025)); }
.claim-admin-card summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; cursor: pointer; list-style: none; }
.claim-admin-card summary::-webkit-details-marker { display: none; }
.claim-admin-card summary small { display: block; margin-top: 4px; }
.claim-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 16px; margin-top: 14px; border-top: 1px solid var(--line); }
.claim-detail-grid article, .claim-admin-form { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(0,0,0,.18); }
.claim-detail-grid h3 { margin-top: 0; }
.claim-detail-grid p { color: var(--muted); }
.claim-admin-form { display: grid; gap: 10px; grid-column: 1 / -1; }
.claim-admin-form label { display: grid; gap: 6px; color: #dce7f5; font-size: 13px; font-weight: 700; }
.supplier-card, .supplier-unit-card { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.035); }
.supplier-card { grid-template-columns: repeat(2, 1fr); }
.supplier-card textarea, .supplier-card label, .supplier-card button, .supplier-actions { grid-column: 1 / -1; }
.supplier-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.supplier-actions .btn { margin-top: 0; }
.supplier-units { display: grid; gap: 10px; max-height: 720px; overflow: auto; }
.supplier-unit-card span, .supplier-unit-card small { display: block; }
.is-hidden { display: none !important; }
.finance-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 16px 0; }
.finance-summary article { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.035); }
.finance-summary span, .finance-summary small { display: block; color: var(--muted); }
.finance-summary strong { display: block; margin: 8px 0; font-size: 25px; }
.finance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.finance-hero { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 14px; margin: 18px 0; }
.finance-hero article { padding: 22px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.018)); }
.finance-hero article:first-child { background: linear-gradient(145deg, rgba(104,168,255,.16), rgba(255,255,255,.025)); }
.finance-hero article.positive { border-color: rgba(97,215,125,.34); }
.finance-hero article.negative { border-color: rgba(255,102,102,.42); }
.finance-hero span, .finance-hero small { display: block; color: var(--muted); }
.finance-hero strong { display: block; margin: 9px 0; font-size: clamp(26px, 3vw, 38px); }
.finance-month-form { min-width: min(360px, 100%); margin: 0; }
.finance-summary { grid-template-columns: repeat(6, 1fr); }
.finance-table { display: grid; gap: 8px; overflow-x: auto; }
.finance-table > div { display: grid; grid-template-columns: minmax(120px, 1.2fr) repeat(3, minmax(92px, .8fr)); gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); min-width: 520px; }
.finance-table > div:first-child { color: #dfe9f6; font-size: 12px; text-transform: uppercase; letter-spacing: .8px; }
.finance-table span { color: #fff; }
.finance-table strong { text-align: right; }
.finance-bars { display: grid; gap: 11px; }
.finance-bars > div { display: grid; grid-template-columns: 54px minmax(70px, 1fr) minmax(70px, 1fr) auto; gap: 9px; align-items: center; }
.finance-bars span { color: #fff; font-size: 12px; font-weight: 800; }
.finance-bars i { display: block; width: var(--w); min-width: 4px; height: 12px; border-radius: 99px; justify-self: start; }
.finance-bars i.income { background: linear-gradient(90deg, rgba(97,215,125,.35), var(--green)); }
.finance-bars i.expense { background: linear-gradient(90deg, rgba(255,102,102,.35), var(--red)); }
.finance-bars small { white-space: nowrap; }
.finance-entry-form { border-color: rgba(104,168,255,.24); background: rgba(104,168,255,.045); }
.analytics-summary { grid-template-columns: repeat(4, 1fr); }
.marketing-panel { display: grid; gap: 10px; margin: 14px 0 18px; }
.marketing-panel textarea { min-height: 96px; }
.customer-table td:nth-child(3), .customer-table td:nth-child(4) { text-align: left; }
.print-report-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 16px; }
.print-report-head h3 { margin: 0 0 4px; }
.print-report-brand { display: none; }
.print-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0; }
.print-kpis p { margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.035); color: var(--muted); }
.print-table { width: 100%; border-collapse: collapse; margin: 12px 0 22px; font-size: 12px; }
.print-table th, .print-table td { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.print-table th { color: #fff; background: rgba(104,168,255,.1); }
.compact-print-table { max-width: 760px; }

@media (max-width: 1100px) {
  body.store { padding-top: var(--store-header-height, 156px); }
  .site-header { grid-template-columns: minmax(0, 1fr) auto auto; padding: 14px; }
  .brand { grid-column: 1; grid-row: 1; justify-content: flex-start; }
  .menu-toggle { grid-column: 2; grid-row: 1; }
  .header-actions { grid-column: 3; grid-row: 1; }
  .header-search { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .menu-toggle { display: inline-grid; }
  .site-header .nav { grid-column: 1 / -1; grid-row: 3; display: none; flex-basis: 100%; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(8,12,17,.96); }
  .site-header .nav.open { display: grid; }
  .site-header .nav a { padding: 11px 12px; border: 1px solid rgba(255,255,255,.07); border-radius: 7px; background: rgba(255,255,255,.035); }
  .category-grid, .product-grid, .metric-grid, .stock-board, .stock-kpis { grid-template-columns: repeat(2, 1fr); }
  .admin-shell { grid-template-columns: 1fr; height: auto; overflow: visible; }
  .admin-sidebar { position: sticky; top: 0; z-index: 30; height: auto; backdrop-filter: blur(18px); }
  .admin-main { height: auto; overflow: visible; }
  .admin-sidebar nav { grid-template-columns: repeat(3, 1fr); }
  .admin-form, .admin-grid.two, .social-proof, .footer, .product-detail, .showcase-hero, .detail-panels, .account-grid, .customer-dashboard, .order-detail-grid, .finance-summary, .finance-grid, .finance-hero, .about-band, .open-order-alerts, .claim-detail-grid, .business-settings-form { grid-template-columns: 1fr; }
  .footer { text-align: center; justify-items: center; }
  .footer img { margin: 0 auto; }
  .showcase-gallery { min-height: auto; }
  .customer-menu { position: sticky; top: 92px; z-index: 12; grid-template-columns: repeat(4, 1fr); backdrop-filter: blur(18px); }
  .customer-hero { align-items: stretch; flex-direction: column; }
  .admin-form textarea, .admin-form label, .admin-form .btn, .feature-checklist, .feature-checklist b, .permission-grid, .permission-grid b, .type-specs, .type-specs b { grid-column: span 1; }
  .feature-checklist { grid-template-columns: 1fr 1fr; }
  .permission-grid { grid-template-columns: 1fr 1fr; }
  .type-specs { grid-template-columns: 1fr 1fr; }
  .receipt-actions, .receipt-review-card { grid-template-columns: 1fr; }
  .postventa-list article { align-items: stretch; flex-direction: column; }
}

@media print {
  body { background: #fff !important; color: #111 !important; }
  .admin-sidebar, .admin-main > section:not(#finanzas), #finanzas > :not(.finance-print-panel), .no-print { display: none !important; }
  .admin-shell { display: block !important; background: #fff !important; }
  .admin-main { padding: 0 !important; overflow: visible !important; }
  #finanzas, .finance-print-panel { display: block !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; background: #fff !important; color: #111 !important; }
  .finance-print-panel { padding: 18px !important; }
  .print-report-brand { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 2px solid #111; font-weight: 800; }
  .print-report-brand img { width: 90px; height: 42px; object-fit: contain; filter: invert(1); }
  .print-report-head, .print-kpis { color: #111 !important; }
  .print-kpis { grid-template-columns: repeat(4, 1fr); }
  .print-kpis p { border: 1px solid #aaa !important; background: #fff !important; color: #111 !important; }
  .print-table { color: #111 !important; page-break-inside: auto; }
  .print-table tr { page-break-inside: avoid; page-break-after: auto; }
  .print-table th, .print-table td { border: 1px solid #bbb !important; color: #111 !important; }
  .print-table th { background: #eee !important; }
  .receipt-page { padding: 0 !important; background: #fff !important; }
  .receipt-sheet { max-width: none; padding: 0; box-shadow: none; }
  .warranty-page { padding: 0 !important; background: #fff !important; }
  .warranty-sheet { max-width: none; padding: 0; box-shadow: none; }
  .warranty-products article, .warranty-grid article, .warranty-terms, .warranty-hero { break-inside: avoid; }
  a { color: #111 !important; }
}

@media (max-width: 700px) {
  body.store { padding-top: var(--store-header-height, 132px); }
  .site-header { grid-template-columns: auto 1fr auto auto; gap: 10px 12px; padding: 10px 8px 12px; }
  .header-actions { gap: 8px; margin-left: auto; }
  .account-links { display: none; }
  .header-search { grid-column: 1 / -1; grid-row: 2; width: 100%; min-width: 0; padding-right: 34px; position: relative; }
  .header-search input { padding-right: 0; }
  .header-search::after { position: absolute; right: 8px; margin-left: 0; }
  .site-header .nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 9px;
    background: rgba(6,8,10,.98);
    box-shadow: 0 22px 60px rgba(0,0,0,.45);
  }
  .site-header .nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 9px 11px;
    font-size: 11px;
    letter-spacing: 1.8px;
  }
  .brand { grid-column: 1; grid-row: 1; justify-content: flex-start; min-width: 0; letter-spacing: 3px; font-size: 12px; }
  .brand span { max-width: 150px; }
  .brand img { width: 104px; height: 60px; }
  .site-header.is-scrolled .brand img { width: 82px; height: 48px; }
  .menu-toggle { grid-column: 3; grid-row: 1; }
  .header-actions { grid-column: 4; grid-row: 1; }
  .icon-btn { width: 40px; height: 40px; }
  .whatsapp-pill { display: none; }
  .hero { min-height: 560px; }
  .hero-copy { padding: 90px 22px; }
  .hero h1 { letter-spacing: 7px; overflow-wrap: anywhere; }
  .hero-logo-title img { width: min(360px, 92vw); }
  .eyebrow { letter-spacing: 4px; }
  .section-title h1, .section-title h2, .premium-band h2 { letter-spacing: 4px; }
  .cart-drawer { width: 100vw; padding: 16px; }
  .whatsapp-floating { right: 14px; bottom: 18px; width: 50px; height: 50px; box-shadow: 0 14px 34px rgba(0,0,0,.42), 0 0 0 6px rgba(37,211,102,.08); }
  .whatsapp-floating svg { width: 26px; height: 26px; }
  .cart-toast { right: 14px; bottom: 84px; left: 14px; text-align: center; }
  .cart-item { align-items: flex-start; }
  .category-grid, .metric-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .trust-strip { padding: 18px 16px; gap: 8px; }
  .trust-strip article { padding: 12px 14px; border-left: 0; border: 1px solid rgba(255,255,255,.07); border-radius: 8px; background: rgba(255,255,255,.025); }
  .category-grid { gap: 10px; }
  .category-card { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; text-align: left; }
  .category-card img { grid-row: 1 / span 2; width: 86px; height: 86px; padding: 8px; margin: 0; object-fit: contain; }
  .category-card strong { align-self: end; grid-column: 2; font-size: 16px; }
  .category-card span { align-self: start; grid-column: 2; font-size: 13px; }
  .product-card { padding: 10px; border-radius: 8px; }
  .product-card[data-product-card] { display: flex; flex-direction: column; min-width: 0; }
  .product-card[data-product-card] .product-card-media { display: grid; place-items: center; min-height: 136px; margin-bottom: 9px; border: 1px solid rgba(255,255,255,.06); border-radius: 8px; background: linear-gradient(145deg, rgba(104,168,255,.06), rgba(255,255,255,.025)); overflow: hidden; }
  .product-card[data-product-card] img { width: 100%; height: 136px; max-height: none; aspect-ratio: auto; margin: 0; padding: 8px; object-fit: contain; background: transparent; }
  .product-card[data-product-card] h3 { margin: 0 0 5px; font-size: 15px; line-height: 1.18; }
  .product-card[data-product-card] p { margin: 0 0 3px; font-size: 12px; line-height: 1.28; }
  .product-card[data-product-card] .delivery { width: fit-content; max-width: 100%; margin: 6px 0 8px; padding: 5px 7px; font-size: 10px; line-height: 1.2; }
  .product-card[data-product-card] strong { margin: auto 0 8px; font-size: 16px; }
  .product-card[data-product-card] .product-detail-btn,
  .product-card[data-product-card] .btn.dark { width: 100%; min-height: 36px; padding: 0 8px; font-size: 10px; letter-spacing: .3px; }
  .product-card[data-product-card] .product-detail-btn { margin-bottom: 7px; }
  .stock-board { grid-template-columns: 1fr; }
  .stock-kpis { grid-template-columns: 1fr; }
  .section, .page, .admin-main { padding: 24px 16px; }
  .admin-sidebar { padding: 18px; }
  .admin-sidebar-head { margin-bottom: 0; }
  .admin-sidebar img { width: 126px; height: 62px; }
  .admin-sidebar nav { display: none; grid-template-columns: 1fr; max-height: 62vh; margin: 14px 0; padding-right: 4px; }
  .admin-sidebar nav.open { display: grid; }
  .admin-sidebar > small, .admin-sidebar > a { margin-top: 8px; }
  .table-list > div, .order-row, .receipt-preview, .supplier-actions { align-items: stretch; flex-direction: column; }
  .spec-grid, .status-track, .benefit-row { grid-template-columns: 1fr; }
  .showcase-price { font-size: clamp(38px, 11vw, 48px); }
  .price-box { margin: 20px 0 22px; padding: 16px 0; }
  .product-page { padding: 24px 14px; }
  .showcase-gallery, .showcase-buybox, .product-panel { padding: 18px; }
  .showcase-main, .showcase-gallery.single-image .showcase-main { width: 100%; height: 320px; }
  .gallery-arrow { display: none; }
  .image-viewer { padding: 58px 16px 24px; }
  .image-viewer img { max-height: 76vh; border-radius: 8px; }
  .image-viewer-close { top: 12px; right: 12px; width: 40px; height: 40px; }
  .image-viewer-arrow { width: 42px; height: 42px; font-size: 30px; background: rgba(5,5,5,.82); }
  .image-viewer-arrow.left { left: 10px; }
  .image-viewer-arrow.right { right: 10px; }
  .buy-steps, .guide-detail-grid { grid-template-columns: 1fr; }
  .buy-guide-hero { padding-top: 34px; }
  .product-spec-list div, .audit-list p { grid-template-columns: 1fr; gap: 4px; }
  .gallery-thumbs, .admin-gallery-list { grid-template-columns: repeat(3, 1fr); }
  .form-grid, .address-grid, .customer-stats, .finance-bars > div { grid-template-columns: 1fr; }
  .customer-menu { top: 76px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 42vh; overflow: auto; }
  .reviewable-card { grid-template-columns: 1fr; }
  .admin-filter-bar, .support-reply, .order-admin-card summary { grid-template-columns: 1fr; }
  .calendar-jump { flex-wrap: wrap; }
  .order-calendar-wrap { max-width: 100%; padding: 16px; overflow-x: auto; }
  .order-calendar { min-width: 520px; grid-template-columns: repeat(7, minmax(64px, 1fr)); gap: 5px; }
  .calendar-toolbar { grid-template-columns: 38px 1fr 38px; }
  .calendar-arrow { width: 38px; height: 38px; }
  .calendar-toolbar h2 { font-size: 22px; }
  .supplier-card { grid-template-columns: 1fr; }
  .review-admin-card { grid-template-columns: 1fr; }
  .feature-checklist { grid-template-columns: 1fr; }
  .permission-grid { grid-template-columns: 1fr; }
  .type-specs { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .site-header .nav { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
  .product-card[data-product-card] .product-card-media,
  .product-card[data-product-card] img { height: 160px; }
}
