:root {
  --blue: #086edb;
  --blue-dark: #082752;
  --green: #1ea84c;
  --green-dark: #12813a;
  --mint: #ecfff3;
  --soft-blue: #eef7ff;
  --text: #12213f;
  --muted: #667494;
  --line: #dfe8f3;
  --card: #ffffff;
  --bg: #f7fbff;
  --warning: #ffb020;
  --shadow: 0 20px 60px rgba(8, 39, 82, 0.08);
  --shadow-soft: 0 12px 34px rgba(8, 39, 82, 0.07);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1260px;
  --animation-duration-fast: .6s;
  --animation-duration-medium: 1s;
  --animation-duration-slow: 1.5s;
  --stagger-delay: .16s;
  --ease-smooth: cubic-bezier(.25, .46, .45, .94);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --blue: #38a3ff;
  --blue-dark: #edf6ff;
  --green: #45db76;
  --green-dark: #83efa4;
  --mint: rgba(45, 219, 118, .12);
  --soft-blue: rgba(56, 163, 255, .12);
  --text: #eaf3ff;
  --muted: #a9b8cf;
  --line: rgba(191, 215, 245, .18);
  --card: #101d31;
  --bg: #081326;
  --shadow: 0 24px 70px rgba(0, 0, 0, .38);
  --shadow-soft: 0 14px 38px rgba(0, 0, 0, .30);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 5%, rgba(15, 143, 238, .08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 38%, #ffffff 100%);
  line-height: 1.55;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
img[data-theme-image],
img[data-theme-logo] {
  transition: opacity .16s ease, filter .16s ease;
}
img.is-theme-image-pending {
  opacity: .96;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 72px 0; }
.section.tight { padding: 36px 0; }
.section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 760px;
}
.section.tight {
  contain-intrinsic-size: 1px 420px;
}
.section-header { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--green-dark);
  background: rgba(30, 168, 76, .1);
  border: 1px solid rgba(30, 168, 76, .2);
  padding: 8px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.08; color: var(--blue-dark); }
h1 { font-size: clamp(42px, 7vw, 78px); letter-spacing: -0.06em; }
h2 { font-size: clamp(30px, 4.5vw, 48px); letter-spacing: -0.045em; }
h3 { font-size: 22px; letter-spacing: -0.025em; }
p { color: var(--muted); margin: 0; }
.text-green { color: var(--green); }
.text-blue { color: var(--blue); }
.small { font-size: 13px; }
.lead { font-size: clamp(18px, 2.4vw, 22px); max-width: 680px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 76px; flex: 0 0 auto; }
.brand img { width: auto; height: 62px; max-width: 76px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 800; font-size: 14px; flex: 0 1 auto; }
.nav-links a { color: var(--blue-dark); position: relative; padding: 28px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 3px;
  transform: scaleX(0); transform-origin: left; transition: .2s ease; background: var(--blue); border-radius: 999px;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.phone-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; color: var(--blue-dark); white-space: nowrap; }
.nav-track-link {
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 14px;
  white-space: nowrap;
}
.nav-track-link i { color: var(--blue); }
.icon-btn, .mobile-toggle {
  width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; color: var(--blue-dark); display: inline-grid; place-items: center;
  box-shadow: 0 8px 18px rgba(8,39,82,.05);
  position: relative;
}
.icon-btn.whatsapp { color: var(--green); }
.cart-preview-wrap { position: relative; display: inline-grid; }
.cart-preview {
  position: absolute; right: 0; top: calc(100% + 12px); width: min(320px, calc(100vw - 28px));
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease; z-index: 100;
}
.cart-preview-wrap:hover .cart-preview,
.cart-preview-wrap:focus-within .cart-preview { opacity: 1; visibility: visible; transform: translateY(0); }
.cart-preview-list { display: grid; gap: 8px; margin-top: 12px; }
.cart-preview-list div { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 13px; }
.theme-toggle {
  width: auto; min-width: 106px; padding: 0 13px; gap: 8px;
  font-weight: 950; background: var(--card);
}
.theme-toggle i { color: var(--warning); font-size: 15px; }
.theme-toggle span { font-size: 13px; }
.cart-count {
  position: absolute; right: -5px; top: -8px; min-width: 20px; height: 20px;
  border-radius: 999px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 900;
  display: grid; place-items: center; padding: 0 5px; border: 2px solid #fff;
}
.mobile-toggle { display: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 14px; padding: 13px 18px; min-height: 48px;
  font-weight: 900; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 14px 26px rgba(8,110,219,.17);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #0878e6, #0064cb); color: #fff; }
.btn-success { background: linear-gradient(135deg, #24b95d, #14913e); }
.btn:disabled { opacity: .72; cursor: not-allowed; transform: none; }
.btn-green { background: linear-gradient(135deg, #24b95d, #14913e); color: #fff; box-shadow: 0 14px 26px rgba(30,168,76,.2); }
.btn-danger { background: linear-gradient(135deg, #d64155, #a92332); color: #fff; box-shadow: 0 14px 26px rgba(204,51,68,.2); }
.btn-outline { border: 1px solid var(--line); background: #fff; color: var(--blue-dark); box-shadow: none; }
.btn-soft { background: var(--mint); color: var(--green-dark); box-shadow: none; }
.btn-full { width: 100%; }
.product-stock-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}
.product-stock-pill.stock-ok {
  background: rgba(35, 184, 92, .14);
  color: var(--green-dark);
}
.product-stock-pill.stock-low {
  background: rgba(255, 184, 77, .18);
  color: #9a5a00;
}
.product-stock-pill.stock-out,
.product-stock-pill.stock-inactive {
  background: rgba(217, 48, 37, .12);
  color: #b3261e;
}

/* Hero */
.hero { position: relative; padding: 56px 0 34px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 80% 24%, rgba(30,168,76,.12), transparent 26%),
    radial-gradient(circle at 20% 24%, rgba(8,110,219,.13), transparent 24%);
  animation: heroGradientDrift 10s ease-in-out infinite alternate;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(340px, .97fr); align-items: center; gap: 42px; }
.hero-copy { display: grid; gap: 22px; }
.hero-copy .eyebrow {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  animation: heroFadeUp var(--animation-duration-fast) var(--ease-smooth) .05s forwards;
}
.hero-title {
  display: grid;
  gap: .03em;
  font-size: 72px;
  letter-spacing: 0;
}
.hero-title-line {
  display: block;
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  animation: heroFadeUp var(--animation-duration-slow) var(--ease-bounce) forwards;
}
.hero-title-line:nth-child(1) { animation-delay: .18s; }
.hero-title-line:nth-child(2) { animation-delay: .34s; }
.hero-title-line:nth-child(3) { animation-delay: .50s; }
.hero-title-accent {
  text-shadow: 0 0 0 rgba(45,219,118,0);
  animation-name: heroFadeUp, accentGlow;
  animation-duration: var(--animation-duration-slow), 3.6s;
  animation-timing-function: var(--ease-bounce), ease-in-out;
  animation-fill-mode: forwards, none;
  animation-iteration-count: 1, infinite;
}
.hero-title-line:nth-child(1) .hero-title-accent { animation-delay: .18s, 1.25s; }
.hero-title-line:nth-child(2).hero-title-accent { animation-delay: .34s, 1.38s; }
.hero .lead,
.hero-actions {
  opacity: 0;
  transform: translate3d(-18px, 0, 0);
  animation: heroFadeSlide var(--animation-duration-medium) var(--ease-smooth) forwards;
}
.hero .lead { animation-delay: .68s; }
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation-delay: 1.08s;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 5px; }
.mini-card {
  display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-soft);
  transition: transform .24s var(--ease-smooth), box-shadow .24s var(--ease-smooth), border-color .24s var(--ease-smooth);
}
.hero-tags .mini-card {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  animation: heroFadeUp var(--animation-duration-fast) var(--ease-bounce) forwards;
}
.hero-tags .mini-card:nth-child(1) { animation-delay: .82s; }
.hero-tags .mini-card:nth-child(2) { animation-delay: calc(.82s + var(--stagger-delay)); }
.hero-tags .mini-card:nth-child(3) { animation-delay: calc(.82s + (var(--stagger-delay) * 2)); }
.mini-card:hover {
  transform: translateY(-5px) scale(1.015);
  border-color: rgba(30,168,76,.32);
  box-shadow: 0 18px 38px rgba(8,39,82,.13);
}
.mini-card:hover strong { color: var(--green-dark); }
.mini-card i { color: var(--green); font-size: 22px; }
.mini-card strong { display: block; font-size: 13px; color: var(--blue-dark); }
.mini-card span { display: block; font-size: 12px; color: var(--muted); }
.hero-image {
  width: min(100%, 500px);
  min-height: auto;
  display: grid;
  place-items: center;
  justify-self: center;
  position: relative;
  padding: 14px;
  border: 1px solid rgba(179,211,245,.42);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(238,247,255,.52));
  box-shadow: 0 24px 54px rgba(8,39,82,.14);
}
.hero-image::before {
  display: none;
}
.hero-image img {
  width: 100%;
  position: relative;
  z-index: 1;
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(8,39,82,.16);
}
.hero-logo { isolation: isolate; }
.hero .hero-logo {
  opacity: 0;
  transform: translate3d(52px, 0, 0) scale(.98);
  animation: heroLogoEnter var(--animation-duration-medium) var(--ease-smooth) .38s forwards;
}
.hero-logo-scene {
  position: relative;
  z-index: 1;
  width: min(430px, 92%);
  aspect-ratio: 1.05;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 34px 44px rgba(8,39,82,.18));
  animation: logoFloat 4.8s ease-in-out infinite;
}
.hero-logo-scene::before,
.hero-logo-scene::after,
.logo-orbit {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-logo-scene::before {
  inset: 6%;
  border: 1px solid rgba(30,168,76,.22);
  background:
    linear-gradient(135deg, rgba(255,255,255,.9), rgba(238,247,255,.5)),
    repeating-linear-gradient(135deg, rgba(8,110,219,.08) 0 1px, transparent 1px 18px);
  box-shadow: inset 0 0 0 18px rgba(255,255,255,.28), 0 28px 52px rgba(8,39,82,.16);
}
.hero-logo-scene::after {
  inset: 18%;
  border: 1px solid rgba(8,110,219,.18);
  transform: rotate(-8deg);
  animation: logoRingPulse 3.4s ease-in-out infinite;
}
.logo-orbit {
  inset: 12%;
  border: 1px solid rgba(30,168,76,.26);
}
.logo-orbit-two {
  inset: 20% 13%;
  border-color: rgba(8,110,219,.22);
  transform: rotate(24deg);
}
.hero-logo-card {
  position: relative;
  z-index: 2;
  width: min(340px, 84%);
  min-height: 190px;
  display: grid;
  place-items: center;
  padding: 38px;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(179,211,245,.46);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(238,247,255,.9)),
    linear-gradient(135deg, rgba(30,168,76,.12), rgba(8,110,219,.12));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.86),
    inset 0 -24px 42px rgba(8,39,82,.08),
    0 28px 46px rgba(8,39,82,.18);
}
.hero-logo-card::before {
  content: "";
  position: absolute;
  inset: -30% -45%;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.72) 50%, transparent 62%);
  transform: translateX(-58%) rotate(10deg);
  animation: logoShine 4s ease-in-out infinite;
}
.hero-logo-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 22px;
  border: 1px solid rgba(30,168,76,.16);
}
.hero-logo-card img {
  width: min(270px, 94%);
  max-height: 132px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 18px 22px rgba(8,39,82,.18));
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes logoRingPulse {
  0%, 100% { opacity: .7; transform: rotate(-8deg) scale(.96); }
  50% { opacity: 1; transform: rotate(-8deg) scale(1.04); }
}
@keyframes logoShine {
  0%, 42% { transform: translateX(-58%) rotate(10deg); opacity: 0; }
  55% { opacity: .9; }
  72%, 100% { transform: translateX(58%) rotate(10deg); opacity: 0; }
}
@keyframes heroFadeUp {
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes heroFadeSlide {
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes heroLogoEnter {
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes accentGlow {
  0%, 100% { text-shadow: 0 0 0 rgba(45,219,118,0); }
  48% { text-shadow: 0 0 22px rgba(45,219,118,.28); }
}
@keyframes heroGradientDrift {
  0% { opacity: .82; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.04); }
}
.site-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity .72s var(--ease-smooth),
    transform .72s var(--ease-smooth);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.site-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.hero-image.site-reveal,
.showcase-media.site-reveal,
.account-cylinder-visual.site-reveal,
.fleet-card.site-reveal {
  transform: translate3d(34px, 0, 0) scale(.98);
}
.hero-image.site-reveal.is-visible,
.showcase-media.site-reveal.is-visible,
.account-cylinder-visual.site-reveal.is-visible,
.fleet-card.site-reveal.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}
.delivery-strip {
  margin-top: 32px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px;
  display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; box-shadow: var(--shadow-soft);
}
.delivery-strip .where { display: flex; align-items: center; gap: 15px; }
.delivery-strip .where i { width: 56px; height: 56px; display: grid; place-items: center; background: var(--blue); color: #fff; border-radius: 50%; font-size: 22px; }
.delivery-actions { display: flex; gap: 12px; align-items: center; }
.select, .input, .textarea {
  width: 100%; border: 1px solid #ccd9e7; border-radius: 13px; background: #fff; padding: 14px 15px; color: var(--blue-dark); outline: none;
  transition: border .2s ease, box-shadow .2s ease;
}
.select:focus, .input:focus, .textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(8,110,219,.1); }

/* Cards and product */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-soft);
}
.product-card { position: relative; display: grid; grid-template-columns: 118px 1fr; gap: 22px; min-height: 315px; overflow: hidden; }
.product-card::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 180px; height: 180px; background: rgba(8,110,219,.07); border-radius: 50%;
}
.product-image {
  align-self: center;
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff, #eef7ff);
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 16px 20px rgba(8,39,82,.14));
}
.product-info { position: relative; display: flex; flex-direction: column; gap: 13px; }
.product-meta { color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.product-detail-grid { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: rgba(235,246,255,.7); border: 1px solid var(--line); }
.product-detail-grid p { font-size: 12px; line-height: 1.45; }
.product-detail-grid strong { color: var(--blue-dark); }
.related-products { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; font-weight: 900; color: var(--muted); }
.related-pill { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: var(--soft-blue); color: var(--blue); }
.check-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.check-list li { color: var(--blue-dark); font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.check-list i { color: var(--green); margin-top: 2px; }
.product-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price { font-size: 30px; color: var(--green); font-weight: 950; letter-spacing: -.04em; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.qty button { width: 38px; height: 38px; border: 0; background: #fff; color: var(--blue-dark); font-weight: 900; }
.qty span { width: 36px; text-align: center; font-weight: 900; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 10px;
  font-size: 12px; font-weight: 900; background: rgba(30,168,76,.13); color: var(--green-dark);
}
.badge.blue { background: rgba(8,110,219,.12); color: var(--blue); }
.badge.dark { background: var(--blue-dark); color: #fff; }

/* Feature bars */
.feature-row { background: #fff; border: 1px solid var(--line); border-radius: 20px; display: grid; grid-template-columns: repeat(4, 1fr); box-shadow: var(--shadow-soft); }
.feature { padding: 24px; display: flex; gap: 15px; border-right: 1px solid var(--line); align-items: flex-start; }
.feature:last-child { border-right: 0; }
.feature i { width: 48px; height: 48px; min-width: 48px; display: grid; place-items: center; border-radius: 14px; color: var(--green); background: var(--mint); font-size: 22px; }
.feature:nth-child(even) i { color: var(--blue); background: var(--soft-blue); }
.feature strong { display: block; color: var(--blue-dark); }
.feature span { color: var(--muted); font-size: 13px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; padding-left: 82px; min-height: 120px; }
.step-number { position: absolute; left: 24px; top: 24px; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 950; }
.step:nth-child(1) .step-number { background: var(--green); }
.testimonial { display: grid; gap: 14px; }
.testimonial i { font-size: 28px; }
.testimonial strong { color: var(--blue-dark); }

/* Page hero */
.page-hero { padding: 62px 0 28px; }
.page-hero .container { display: grid; gap: 16px; }
.page-hero p { max-width: 760px; font-size: 18px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.breadcrumb a { color: var(--blue); font-weight: 800; }

/* Shop controls */
.shop-layout { display: grid; grid-template-columns: 270px 1fr; gap: 24px; align-items: start; }
.sidebar { position: sticky; top: 102px; display: grid; gap: 18px; }
.filter-group { display: grid; gap: 12px; }
.filter-option { display: flex; align-items: center; gap: 10px; color: var(--blue-dark); font-weight: 700; }
.shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.searchbar { position: relative; }
.searchbar i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.searchbar input { padding-left: 44px; }

/* Cart / checkout */
.cart-layout, .checkout-layout, .account-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.cart-list { display: grid; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: 18px; padding: 14px; background: #fff; }
.cart-item img { height: 86px; object-fit: contain; }
.cart-item .remove { border: 0; background: transparent; color: #cc3344; font-weight: 900; }
.summary-row { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.summary-row strong { color: var(--blue-dark); }
.total-row { font-size: 26px; font-weight: 950; color: var(--green); border: 0; padding-top: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: grid; gap: 8px; font-weight: 800; color: var(--blue-dark); font-size: 14px; }
.textarea { min-height: 112px; resize: vertical; }
.field { display: grid; gap: 8px; align-content: start; }
.field label span { color: #cc3344; }
.field-error, .field-warning { min-height: 18px; margin: 0; font-size: 12px; font-weight: 800; }
.field-error { color: #cc3344; }
.field-warning { color: #9b6b00; }
.input.is-invalid,
.select.is-invalid,
.textarea.is-invalid { border-color: #cc3344; box-shadow: 0 0 0 4px rgba(204,51,68,.1); }
.checkbox-field { grid-template-columns: auto 1fr; align-items: start; column-gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(235,246,255,.55); }
.checkbox-field input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); }
.checkbox-field .field-error { grid-column: 1 / -1; }
.form-alert { display: none; border-radius: 14px; padding: 12px 14px; margin-bottom: 16px; font-weight: 800; }
.form-alert.show { display: block; }
.form-alert.error { background: rgba(204,51,68,.1); color: #a92332; border: 1px solid rgba(204,51,68,.28); }
.form-alert.success { background: var(--mint); color: var(--green-dark); border: 1px solid rgba(30,168,76,.22); }
.trust-note { background: var(--mint); box-shadow: none; }
.location-panel {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(260px, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(238,247,255,.84), rgba(236,255,243,.78));
}
.location-copy {
  display: grid;
  align-content: start;
  gap: 10px;
}
.location-copy h3 { font-size: 22px; }
.location-copy .btn { justify-self: start; margin-top: 4px; }
.location-status { min-height: 0; }
.location-map-frame {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  border: 1px solid rgba(8,110,219,.18);
  border-radius: 16px;
  background: linear-gradient(135deg, #e8f4ff, #eafff1);
}
.location-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 190px;
  border: 0;
  display: block;
  filter: saturate(1.05);
}
.location-map-frame a {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.order-confirmation { border-color: rgba(30,168,76,.3); }
.confirmation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.confirmation-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.confirmation-actions .btn { min-height: 48px; }
.checkout-stepper { display: flex; justify-content: center; gap: 58px; align-items: center; margin: 36px 0 28px; }
.checkout-step { display: flex; align-items: center; gap: 13px; color: var(--muted); font-weight: 800; }
.checkout-step .circle { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--blue-dark); box-shadow: var(--shadow-soft); }
.checkout-step.active .circle { background: var(--green); color: #fff; border-color: transparent; }
.checkout-step.done .circle { background: #fff; color: var(--green); }

/* Order tracking */
.tracking-layout {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.tracking-form,
.tracking-result {
  display: grid;
  gap: 16px;
}
.tracking-result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.tracking-result-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.status-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.status-timeline li {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: capitalize;
}
.status-timeline li span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
}
.status-timeline li.done span {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(30,168,76,.12);
}
.status-timeline li.current {
  color: var(--blue-dark);
}
.tracking-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.tracking-detail-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(235,246,255,.72);
}
.tracking-detail-grid strong,
.tracking-detail-grid span {
  display: block;
}
.tracking-detail-grid strong {
  color: var(--blue-dark);
  font-size: 12px;
  text-transform: uppercase;
}
.tracking-detail-grid span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.tracking-map-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) max-content;
  gap: 14px;
  align-items: center;
  padding: 15px;
  border: 1px solid rgba(30,168,76,.22);
  border-radius: 16px;
  background: rgba(232, 255, 241, .74);
}
.tracking-map-card > i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
}
.tracking-map-card strong,
.tracking-map-card span {
  display: block;
}
.tracking-map-card strong {
  color: var(--blue-dark);
}
.tracking-map-card span {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

/* Admin */
.admin-body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(238,247,255,.9), rgba(247,251,255,.96)),
    var(--bg);
}
.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}
.admin-login-card {
  width: min(460px, 100%);
  display: grid;
  gap: 18px;
}
.admin-login-card h1 { font-size: 34px; }
.admin-login-logo { width: auto; height: 154px; object-fit: contain; }
.admin-form { display: grid; gap: 16px; }
.admin-form-field { display: grid; gap: 7px; }
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.admin-form-grid label {
  display: grid;
  gap: 7px;
  font-weight: 850;
}
.admin-password-field {
  position: relative;
  display: block;
  min-width: 0;
}
.admin-password-field .input {
  padding-right: 56px;
}
.admin-password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 40px;
  height: 40px;
  min-height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--admin-muted, var(--muted));
  box-shadow: none;
  transform: translateY(-50%);
}
.admin-password-toggle:hover,
.admin-password-toggle:focus-visible {
  background: var(--admin-soft, var(--soft-blue));
  color: var(--admin-text, var(--blue-dark));
  outline: 0;
}
.admin-password-toggle:focus-visible {
  box-shadow: 0 0 0 3px rgba(8,110,219,.18);
}
.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 70;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px max(20px, calc((100vw - var(--container)) / 2));
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.admin-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-weight: 800;
}
.admin-shell {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 64px;
  display: grid;
  gap: 24px;
}
.admin-heading,
.admin-panel-head,
.admin-order-main,
.admin-update {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.admin-heading h1 {
  margin-top: 12px;
  font-size: clamp(34px, 5vw, 58px);
}
.admin-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.admin-stats .stat-card {
  min-height: 118px;
  box-shadow: var(--shadow-soft);
}
.stat-card strong {
  display: block;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1;
  color: var(--blue-dark);
}
.stat-card span:not(.stat-icon) {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.admin-panel { display: grid; gap: 20px; }
.admin-panel h2 { font-size: 30px; }
.admin-panel-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.admin-print-header,
.admin-print-link-url,
.admin-print-map-link,
.admin-print-title-single {
  display: none;
}
.admin-receipt-body {
  min-height: 100vh;
  background: #edf3f8;
  color: #111;
}
.admin-receipt-toolbar {
  position: sticky;
  top: 0;
  z-index: 40;
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  background: #edf3f8;
}
.admin-receipt-page {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 8px 0 56px;
}
.admin-receipt-sheet {
  display: grid;
  gap: 22px;
  padding: 28px;
  border: 1px solid #b8c7d9;
  background: #fff;
}
.admin-receipt-header,
.admin-receipt-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.admin-receipt-header {
  padding-bottom: 18px;
  border-bottom: 2px solid #d0d9e4;
}
.admin-receipt-header img {
  width: 146px;
  height: auto;
  max-height: 64px;
  object-fit: contain;
}
.admin-receipt-header div {
  display: grid;
  gap: 4px;
  justify-items: end;
  text-align: right;
}
.admin-receipt-header p,
.admin-receipt-header span {
  margin: 0;
  color: #42566e;
  font-size: 12px;
}
.admin-receipt-header h1 {
  margin: 0;
  color: #082752;
  font-size: clamp(24px, 4vw, 34px);
  letter-spacing: 0;
}
.admin-receipt-summary h2 {
  margin: 8px 0 2px;
  color: #082752;
  font-size: clamp(22px, 4vw, 30px);
}
.admin-receipt-summary p {
  margin: 0;
  color: #222;
}
.admin-receipt-summary > strong {
  color: #12813a;
  font-size: clamp(24px, 4vw, 34px);
  white-space: nowrap;
}
.admin-receipt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.admin-receipt-box {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #d0d9e4;
  background: #fff;
}
.admin-receipt-box-wide {
  grid-column: 1 / -1;
}
.admin-receipt-box h3 {
  margin: 0;
  color: #111;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}
.admin-receipt-box p {
  margin: 0;
  color: #222;
}
.admin-receipt-items {
  width: 100%;
  border-collapse: collapse;
  color: #111;
}
.admin-receipt-items th,
.admin-receipt-items td {
  padding: 9px 8px;
  border-bottom: 1px solid #e3ebf4;
  text-align: left;
  vertical-align: top;
}
.admin-receipt-items th {
  color: #082752;
  font-size: 11px;
  text-transform: uppercase;
}
.admin-receipt-items th:nth-child(n+2),
.admin-receipt-items td:nth-child(n+2) {
  text-align: right;
  white-space: nowrap;
}
.admin-receipt-map-link {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #8fb3e8;
  background: #f8fbff;
  color: #0645ad;
  overflow-wrap: anywhere;
  text-decoration: underline;
}
.admin-receipt-map-link span {
  color: #0645ad;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}
.admin-receipt-totals p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.admin-receipt-totals b {
  color: #111;
}
.admin-receipt-totals strong {
  color: #12813a;
}
.admin-db-offline-card {
  text-align: center;
}
.admin-db-offline-card p {
  margin: 0;
}
.admin-db-actions {
  display: grid;
  gap: 10px;
}
.admin-filter { width: min(260px, 100%); }
.admin-orders-panel .admin-panel-actions {
  flex: 1 1 100%;
  justify-content: flex-start;
}
.admin-order-filter {
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
  align-items: stretch;
  gap: 8px;
}
.admin-order-filter .select,
.admin-order-filter .input,
.admin-order-filter .btn {
  min-width: 0;
}
.admin-order-filter .btn {
  justify-content: center;
  white-space: nowrap;
}
.admin-quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.admin-debug-output {
  max-width: 100%;
  width: 100%;
  margin: 12px 0 0;
  padding: 14px;
  overflow-x: hidden;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background: var(--admin-surface-strong);
  color: var(--admin-text);
  font-size: 13px;
  line-height: 1.45;
}
.admin-orders { display: grid; gap: 14px; }
.admin-order {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
}
.admin-order.is-removed {
  border-color: rgba(204, 51, 68, .28);
  background: rgba(204, 51, 68, .05);
}
.admin-removed-badge {
  margin-left: 8px;
  background: rgba(204, 51, 68, .12);
  color: #a92332;
}
.admin-order-main h3 { margin-top: 9px; }
.admin-order-main strong {
  color: var(--green);
  font-size: 24px;
  white-space: nowrap;
}
.admin-order-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr .8fr .8fr;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(235,246,255,.72);
  border: 1px solid var(--line);
}
.admin-order-grid p {
  min-width: 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.admin-order-grid strong { color: var(--blue-dark); }
.admin-update {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto auto auto;
}
.admin-order-danger,
.admin-order-restore {
  margin-top: 4px;
}
.admin-order-danger {
  border: 1px solid rgba(204, 51, 68, .24);
  border-radius: 14px;
  padding: 12px;
  background: rgba(204, 51, 68, .05);
}
.admin-order-danger summary {
  cursor: pointer;
  color: #a92332;
  font-weight: 950;
}
.admin-remove-order-form {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(220px, 1fr) max-content;
  gap: 10px;
  align-items: end;
  margin-top: 12px;
}
.admin-today-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.admin-today-summary article,
.admin-today-list a {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(235,246,255,.72);
  padding: 14px;
}
.admin-today-summary strong {
  display: block;
  color: var(--blue-dark);
  font-size: 24px;
}
.admin-today-summary span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}
.admin-today-list {
  display: grid;
  gap: 8px;
}
.admin-today-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}
.admin-today-list small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}
.admin-blog-form {
  display: grid;
  gap: 18px;
}
.admin-blog-editor {
  display: grid;
  gap: 18px;
}
.admin-post-body {
  min-height: 180px;
}
.admin-toggle {
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}
.admin-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

/* Admin layout refresh */
.admin-body {
  --admin-bg: #f5f8fc;
  --admin-surface: rgba(255,255,255,.96);
  --admin-surface-strong: #fff;
  --admin-text: #10213f;
  --admin-muted: #63718d;
  --admin-line: #dce7f3;
  --admin-soft: #eef6ff;
  --admin-shadow: 0 18px 46px rgba(8,39,82,.08);
  background:
    linear-gradient(135deg, rgba(8,110,219,.08) 0 18%, transparent 18% 100%),
    linear-gradient(180deg, #f7fbff 0%, var(--admin-bg) 44%, #eef5fb 100%);
  color: var(--admin-text);
}
.admin-body p,
.admin-body .admin-nav,
.admin-body .stat-card span {
  color: var(--admin-muted);
}
.admin-body h1,
.admin-body h2,
.admin-body h3,
.admin-body h4,
.admin-body strong,
.admin-body label {
  color: var(--admin-text);
}
.admin-body .eyebrow {
  color: var(--green-dark);
  background: rgba(30,168,76,.12);
  border-color: rgba(30,168,76,.20);
}
.admin-topbar {
  min-height: 82px;
  background: rgba(255,255,255,.86);
  border-color: var(--admin-line);
  box-shadow: 0 12px 32px rgba(8,39,82,.06);
}
.admin-topbar .brand {
  min-width: 72px;
}
.admin-topbar .brand img {
  height: 62px;
  max-width: 76px;
}
.admin-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.admin-nav > span {
  padding: 11px 14px;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background: var(--admin-soft);
  color: var(--admin-text);
  font-size: 13px;
}
.admin-theme-toggle {
  white-space: nowrap;
}
.admin-theme-toggle i {
  color: var(--green);
}
.admin-shell {
  gap: 28px;
  padding-top: 38px;
}
.admin-heading {
  padding: 26px;
  border: 1px solid var(--admin-line);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(238,247,255,.82));
  box-shadow: var(--admin-shadow);
}
.admin-heading h1 {
  font-size: clamp(34px, 4.2vw, 54px);
  letter-spacing: 0;
}
.admin-stats {
  gap: 18px;
}
.admin-stats .stat-card,
.admin-panel,
.admin-blog-editor,
.admin-login-card {
  background: var(--admin-surface);
  border-color: var(--admin-line);
  box-shadow: var(--admin-shadow);
}
.admin-stats .stat-card {
  position: relative;
  overflow: hidden;
}
.admin-stats .stat-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--green), #1a8dff);
}
.admin-panel,
.admin-blog-editor {
  border-radius: 24px;
}
.admin-panel-head {
  padding-bottom: 2px;
}
.admin-filter .select,
.admin-filter .input,
.admin-update .select,
.admin-update .input,
.admin-blog-form .input,
.admin-blog-form .select,
.admin-blog-form .textarea,
.admin-form .input {
  background: var(--admin-surface-strong);
  border-color: var(--admin-line);
  color: var(--admin-text);
}
.admin-orders {
  gap: 16px;
}
.admin-order {
  padding: 20px;
  border-color: var(--admin-line);
  background: var(--admin-surface-strong);
  box-shadow: 0 12px 28px rgba(8,39,82,.05);
}
.admin-order-grid {
  grid-template-columns: minmax(160px, 1.2fr) minmax(220px, 1.5fr) minmax(120px, .8fr) minmax(120px, .8fr);
  background: var(--admin-soft);
  border-color: var(--admin-line);
}
.admin-order-detail {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 7px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.admin-order-detail > strong {
  font-size: 12px;
  line-height: 1.2;
}
.admin-order-detail > span {
  color: var(--admin-text);
  line-height: 1.55;
}
.admin-delivery-detail {
  gap: 10px;
}
.admin-map-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin-top: 2px;
  padding: 10px 12px;
  border: 1px solid rgba(30,168,76,.26);
  border-radius: 14px;
  background: rgba(30,168,76,.12);
  color: var(--green-dark);
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(8,39,82,.06);
}
.admin-map-card i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border-radius: 11px;
  background: var(--green);
  color: #fff;
}
.admin-map-card span {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.admin-map-card b {
  color: inherit;
  line-height: 1.15;
}
.admin-map-card small {
  color: var(--admin-muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}
.admin-map-card:hover {
  transform: translateY(-1px);
  border-color: rgba(30,168,76,.42);
  background: rgba(30,168,76,.18);
}
.admin-map-card.is-pinned {
  width: min(360px, 100%);
  padding: 12px 14px;
  border-color: rgba(30,168,76,.42);
  background: linear-gradient(135deg, rgba(30,168,76,.18), rgba(8,110,219,.10));
}
.admin-map-card.is-address {
  border-color: rgba(8,110,219,.24);
  background: rgba(8,110,219,.10);
  color: var(--blue);
}
.admin-map-card.is-address i {
  background: var(--blue);
}
.admin-instructions-detail {
  gap: 10px;
}
.admin-instruction-pin {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(30,168,76,.36);
  border-radius: 14px;
  background: rgba(30,168,76,.12);
  color: var(--green-dark);
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(8,39,82,.06);
}
.admin-instruction-pin i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border-radius: 11px;
  background: var(--green);
  color: #fff;
}
.admin-instruction-pin span {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.admin-instruction-pin b {
  line-height: 1.15;
}
.admin-instruction-pin small {
  color: var(--admin-muted);
  font-size: 11px;
}
.admin-instruction-pin:hover {
  transform: translateY(-1px);
  border-color: rgba(30,168,76,.48);
  background: rgba(30,168,76,.18);
}
.admin-map-action {
  border-color: rgba(30,168,76,.32);
  color: var(--green-dark);
}
.admin-print-action {
  border-color: rgba(8,110,219,.26);
  color: var(--blue);
}
.admin-order-grid strong,
.admin-body label,
.admin-body .summary-row strong {
  color: var(--admin-text);
}
.admin-update {
  grid-template-columns: minmax(160px, 190px) minmax(220px, 1fr) repeat(8, minmax(84px, max-content));
  align-items: stretch;
}
.admin-update .btn,
.admin-update .input,
.admin-update .select {
  min-height: 46px;
}
.admin-login {
  background:
    radial-gradient(circle at 20% 10%, rgba(8,110,219,.13), transparent 30%),
    radial-gradient(circle at 78% 12%, rgba(30,168,76,.14), transparent 34%);
}
.admin-login-card {
  width: min(500px, 100%);
  padding: 30px;
  border-radius: 26px;
  text-align: left;
}
.admin-login-tools {
  display: flex;
  justify-content: flex-end;
}
.admin-login-logo {
  justify-self: center;
  height: 130px;
}
.admin-login-card h1 {
  text-align: center;
}
.admin-login-card > p {
  text-align: center;
}
.admin-blog-editor .form-grid {
  align-items: start;
}
.admin-post-body {
  min-height: 220px;
}
.admin-toggle {
  background: var(--admin-surface-strong);
  border-color: var(--admin-line);
  color: var(--admin-text);
  font-weight: 900;
}
html[data-admin-theme="dark"] .admin-body {
  --admin-bg: #0b1d32;
  --admin-surface: rgba(19,44,72,.97);
  --admin-surface-strong: #102945;
  --admin-text: #f6fbff;
  --admin-muted: #d2e0f0;
  --admin-line: rgba(188,219,252,.28);
  --admin-soft: rgba(93,177,255,.16);
  --admin-shadow: 0 20px 46px rgba(0,0,0,.28);
  background:
    linear-gradient(135deg, rgba(30,168,76,.13) 0 16%, transparent 16% 100%),
    linear-gradient(180deg, #0b1d32 0%, #102945 48%, #08192c 100%);
}
html[data-admin-theme="dark"] .admin-topbar {
  background: rgba(9,24,42,.94);
  border-color: var(--admin-line);
}
html[data-admin-theme="dark"] .admin-heading {
  background: linear-gradient(135deg, rgba(20,49,80,.98), rgba(12,36,62,.94));
}
html[data-admin-theme="dark"] .admin-body h1,
html[data-admin-theme="dark"] .admin-body h2,
html[data-admin-theme="dark"] .admin-body h3,
html[data-admin-theme="dark"] .admin-body h4,
html[data-admin-theme="dark"] .admin-body strong,
html[data-admin-theme="dark"] .admin-body label {
  color: var(--admin-text);
}
html[data-admin-theme="dark"] .admin-body p,
html[data-admin-theme="dark"] .admin-body .admin-nav,
html[data-admin-theme="dark"] .admin-body .stat-card span,
html[data-admin-theme="dark"] .admin-panel-head p {
  color: var(--admin-muted);
}
html[data-admin-theme="dark"] .admin-body .eyebrow {
  color: #74f2a3;
  background: rgba(45,211,111,.14);
  border-color: rgba(116,242,163,.24);
}
html[data-admin-theme="dark"] .admin-body .card,
html[data-admin-theme="dark"] .admin-order,
html[data-admin-theme="dark"] .admin-nav > span,
html[data-admin-theme="dark"] .admin-toggle {
  background: var(--admin-surface);
  border-color: var(--admin-line);
  color: var(--admin-text);
}
html[data-admin-theme="dark"] .admin-order-grid {
  background: var(--admin-soft);
  border-color: var(--admin-line);
}
html[data-admin-theme="dark"] .admin-map-card {
  background: rgba(45,211,111,.14);
  border-color: rgba(116,242,163,.28);
  color: #b7ffd0;
  box-shadow: 0 12px 24px rgba(0,0,0,.18);
}
html[data-admin-theme="dark"] .admin-map-card small {
  color: #c3d8ec;
}
html[data-admin-theme="dark"] .admin-map-card:hover {
  background: rgba(45,211,111,.20);
  border-color: rgba(116,242,163,.42);
}
html[data-admin-theme="dark"] .admin-map-card.is-address {
  background: rgba(79,176,255,.14);
  border-color: rgba(79,176,255,.30);
  color: #9fd4ff;
}
html[data-admin-theme="dark"] .admin-instruction-pin {
  background: rgba(45,211,111,.14);
  border-color: rgba(116,242,163,.28);
  color: #b7ffd0;
  box-shadow: 0 12px 24px rgba(0,0,0,.18);
}
html[data-admin-theme="dark"] .admin-instruction-pin small {
  color: #c3d8ec;
}
html[data-admin-theme="dark"] .admin-instruction-pin:hover {
  background: rgba(45,211,111,.20);
  border-color: rgba(116,242,163,.42);
}
html[data-admin-theme="dark"] .admin-filter .select,
html[data-admin-theme="dark"] .admin-filter .input,
html[data-admin-theme="dark"] .admin-update .select,
html[data-admin-theme="dark"] .admin-update .input,
html[data-admin-theme="dark"] .admin-blog-form .input,
html[data-admin-theme="dark"] .admin-blog-form .select,
html[data-admin-theme="dark"] .admin-blog-form .textarea,
html[data-admin-theme="dark"] .admin-form .input {
  background: #0d243d;
  border-color: var(--admin-line);
  color: var(--admin-text);
}
html[data-admin-theme="dark"] .admin-filter .select::placeholder,
html[data-admin-theme="dark"] .admin-filter .input::placeholder,
html[data-admin-theme="dark"] .admin-update .input::placeholder,
html[data-admin-theme="dark"] .admin-blog-form .input::placeholder,
html[data-admin-theme="dark"] .admin-blog-form .textarea::placeholder,
html[data-admin-theme="dark"] .admin-form .input::placeholder {
  color: #a9bdd3;
}
html[data-admin-theme="dark"] .admin-body .btn-outline {
  background: rgba(14,35,60,.88);
  border-color: var(--admin-line);
  color: var(--admin-text);
}
html[data-admin-theme="dark"] .admin-body .btn-outline:hover {
  border-color: rgba(79,176,255,.42);
  background: rgba(79,176,255,.12);
}

@media (max-width: 920px) {
  .tracking-layout { grid-template-columns: 1fr; }
  .tracking-detail-grid { grid-template-columns: 1fr; }
  .tracking-result-head,
  .tracking-result-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .tracking-map-card {
    grid-template-columns: 1fr;
  }
  .tracking-map-card > i {
    width: 44px;
    height: 44px;
  }
  .tracking-map-card .btn,
  .tracking-result-actions .btn,
  .tracking-result-head .btn {
    width: 100%;
  }
  .status-timeline { grid-template-columns: 1fr; }
  .status-timeline li { grid-template-columns: 24px 1fr; justify-items: start; text-align: left; }
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-order-grid { grid-template-columns: 1fr 1fr; }
  .admin-update { grid-template-columns: 1fr; }
  .admin-update .btn { width: 100%; }
}

@media (max-width: 620px) {
  .admin-heading,
  .admin-panel-head,
  .admin-order-main {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-shell {
    width: min(100% - 24px, var(--container));
    padding-top: 18px;
    gap: 18px;
  }
  .admin-panel,
  .admin-order {
    padding: 16px;
    border-radius: 18px;
  }
  .admin-heading {
    padding: 18px;
    border-radius: 20px;
  }
  .admin-heading h1,
  .admin-panel h2 {
    font-size: 30px;
  }
  .admin-stats,
  .admin-order-grid { grid-template-columns: 1fr; }
  .admin-stats {
    gap: 10px;
  }
  .admin-stats .stat-card {
    min-height: auto;
    padding: 14px 16px 14px 18px;
  }
  .admin-order-main strong {
    font-size: 26px;
  }
  .admin-order-grid {
    padding: 0;
    border: 0;
    background: transparent;
    gap: 10px;
  }
  .admin-order-detail {
    padding: 12px;
    border: 1px solid var(--admin-line);
    border-radius: 14px;
    background: var(--admin-soft);
  }
  .admin-map-card {
    width: 100%;
  }
}

/* Account */
.account-hero { display: grid; grid-template-columns: 1fr 400px; gap: 26px; align-items: center; }
.account-hero .profile-intro { display: grid; gap: 12px; }
.account-hero > img { width: 100%; max-height: 260px; object-fit: contain; }
.account-logo-visual {
  min-height: 250px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(68,238,134,.16), transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(238,247,255,.72));
}
.account-logo-visual::before {
  content: "";
  position: absolute;
  width: 82%;
  aspect-ratio: 1.45 / 1;
  border-radius: 50%;
  border: 1px solid rgba(30,168,76,.16);
  background: radial-gradient(circle, rgba(255,255,255,.72), rgba(235,246,255,.18) 62%, transparent 63%);
}
.account-logo-visual::after {
  content: "";
  position: absolute;
  inset: auto 12% 10% 12%;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(8,39,82,.18), transparent 70%);
  filter: blur(8px);
}
.account-logo-scene {
  width: min(330px, 94%);
}
.account-logo-card {
  width: min(285px, 86%);
  min-height: 154px;
  padding: 28px;
  border-radius: 24px;
}
.account-logo-card img {
  width: min(220px, 94%);
  max-height: 104px;
}
.account-cylinder-visual {
  padding: 0;
  border: 1px solid rgba(179,211,245,.46);
  background: #fff;
}
.account-cylinder-visual::before,
.account-cylinder-visual::after {
  display: none;
}
.account-cylinder-visual img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
}
.stat-card { display: flex; align-items: center; gap: 16px; }
.stat-icon { width: 56px; height: 56px; min-width: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--green); font-size: 22px; }
.stat-card:nth-child(even) .stat-icon { background: var(--blue); }
.order-history { display: grid; gap: 14px; }
.order-line { display: grid; grid-template-columns: 70px 1fr auto; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.order-line img { height: 76px; object-fit: contain; }

/* Blog */
.blog-card { overflow: hidden; padding: 0; }
.blog-thumb { height: 190px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(8,110,219,.14), rgba(30,168,76,.18)); }
.blog-thumb i { font-size: 52px; color: var(--green); }
.blog-body { padding: 24px; display: grid; gap: 13px; }
.post-content { max-width: 880px; margin: 0 auto; display: grid; gap: 18px; }
.post-content p, .post-content li { color: var(--muted); }
.post-content ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; }
.contact-card i { width: 50px; height: 50px; min-width: 50px; display: grid; place-items: center; border-radius: 16px; background: var(--soft-blue); color: var(--blue); font-size: 22px; }
.map-box { overflow: hidden; border-radius: 22px; min-height: 390px; background: linear-gradient(135deg, #e8f4ff, #eafff1); border: 1px solid var(--line); position: relative; }
.map-box iframe { width: 100%; height: 100%; min-height: 390px; border: 0; filter: saturate(1.05); }
.fallback-map { position: absolute; inset: auto 24px 24px 24px; background: rgba(255,255,255,.9); padding: 18px; border-radius: 18px; border: 1px solid var(--line); }

/* Footer */
.site-footer { margin-top: 56px; border-top: 1px solid var(--line); background: rgba(255,255,255,.94); }
.footer-main { padding: 42px 0; display: grid; grid-template-columns: 1.4fr .8fr .9fr 1.15fr 1fr; gap: 34px; }
.footer-logo { width: auto; height: 132px; margin-bottom: 14px; object-fit: contain; }
.footer-col h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; color: var(--muted); font-size: 14px; }
.footer-col a:hover { color: var(--blue); }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--blue-dark); }
.footer-cta { border-top: 1px solid var(--line); background: linear-gradient(90deg, rgba(8,110,219,.07), rgba(30,168,76,.05)); }
.footer-cta .container { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer-bottom { padding: 18px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; }

.cookie-notice {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  max-width: 820px;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(8, 110, 219, .20);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(232, 255, 241, .92), rgba(238, 247, 255, .96)),
    rgba(255, 255, 255, .98);
  box-shadow: 0 24px 54px rgba(7, 39, 82, .22);
  backdrop-filter: blur(14px);
}
.cookie-notice-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--blue);
  color: #fff;
  font-size: 22px;
}
.cookie-notice strong { display: block; color: var(--blue-dark); margin-bottom: 4px; }
.cookie-notice p { color: var(--muted); font-size: 13px; line-height: 1.45; margin: 0; }
.cookie-notice-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.cookie-notice .btn { min-height: 42px; }
.price-list li { display: flex; justify-content: space-between; gap: 18px; }
.price-list strong { color: var(--green); }


/* Utility */
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.center { text-align: center; }
.hidden { display: none !important; }
.toast {
  position: fixed; z-index: 100; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(120px);
  background: var(--blue-dark); color: #fff; border-radius: 999px; padding: 14px 20px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px; transition: .25s ease; font-weight: 900;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.live-demand-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 85;
  width: min(360px, calc(100vw - 28px));
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(8,110,219,.2);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 22px 50px rgba(0,38,84,.18);
  color: var(--blue-dark);
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: transform .22s ease, opacity .22s ease;
}
.live-demand-widget.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.live-demand-widget::before,
.live-demand-inline::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--green), var(--blue));
}
.live-demand-widget strong,
.live-demand-inline strong { color: var(--blue-dark); }
.live-demand-widget p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}
.live-demand-meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.live-demand-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--blue-dark);
  cursor: pointer;
}
.live-demand-widget .btn {
  justify-self: start;
  min-height: 42px;
}
.live-demand-inline {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 12px;
  margin: 14px 0 18px;
  padding: 14px 16px 14px 18px;
  border: 1px solid rgba(8,110,219,.2);
  border-radius: 16px;
  background: rgba(235,246,255,.78);
}
.live-demand-inline > i {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(30,168,76,.12);
  color: var(--green);
}
.live-demand-inline span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 750;
}
.live-demand-widget.is-busy,
.live-demand-inline.is-busy {
  border-color: rgba(30,168,76,.34);
}
.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; width: 62px; height: 62px; border-radius: 50%; z-index: 70;
  display: grid; place-items: center; background: #25d366; color: #fff; font-size: 30px; box-shadow: 0 16px 32px rgba(37,211,102,.35);
}
.empty-state { text-align: center; padding: 44px 20px; }
.empty-state i { font-size: 46px; color: var(--blue); margin-bottom: 12px; }

@media (max-width: 1080px) {
  .theme-toggle { width: 46px; min-width: 46px; padding: 0; }
  .theme-toggle span { display: none; }
  .nav-links { gap: 18px; }
  .phone-link span { display: none; }
  .hero-grid, .account-hero { grid-template-columns: 1fr; }
  .hero-title { font-size: 58px; }
  .hero-image { min-height: auto; }
  .grid-4, .feature-row { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: 0; }
  .shop-layout, .cart-layout, .checkout-layout, .account-layout, .contact-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-main { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .container { width: min(100% - 28px, var(--container)); }
  .nav-wrap { height: 76px; }
  .brand { min-width: 0; }
  .brand img { height: 58px; max-width: 72px; }
  .mobile-toggle { display: inline-grid; }
  .nav-links {
    position: fixed; left: 14px; right: 14px; top: 86px; background: #fff; border: 1px solid var(--line); border-radius: 24px;
    display: grid; gap: 0; padding: 16px; box-shadow: var(--shadow); transform: translateY(-16px); opacity: 0; pointer-events: none; transition: .2s ease;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-links a { padding: 14px 12px; border-radius: 12px; }
  .nav-links a::after { display: none; }
  .nav-links a.active, .nav-links a:hover { background: var(--soft-blue); color: var(--blue); }
  .nav-actions .btn-primary { display: none; }
  .hero { padding-top: 36px; }
  .delivery-strip { grid-template-columns: 1fr; }
  .delivery-actions { flex-direction: column; align-items: stretch; }
  .grid-2, .grid-3, .grid-4, .shop-grid, .steps, .feature-row { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: 0; }
  .product-card { grid-template-columns: 105px 1fr; padding: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .checkout-stepper { gap: 12px; justify-content: space-between; }
  .checkout-step { font-size: 12px; }
  .checkout-step .circle { width: 44px; height: 44px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-cta .container, .footer-bottom .container { flex-direction: column; align-items: flex-start; padding: 18px 0; }
}
@media (max-width: 540px) {
  h1 { font-size: 42px; }
  .nav-actions .phone-link { display: none; }
  .hero-tags, .product-bottom { flex-direction: column; align-items: stretch; }
  .mini-card { width: 100%; }
  .cart-item, .order-line { grid-template-columns: 62px 1fr; }
  .cart-item .cart-price, .order-line .order-price { grid-column: 1 / -1; justify-self: stretch; display: flex; justify-content: space-between; align-items: center; }
  .account-hero > img { display: none; }
}

@media (max-width: 1180px) {
  .nav-actions .nav-track-link {
    width: 46px;
    min-width: 46px;
    padding: 0;
    font-size: 0;
    box-shadow: 0 8px 18px rgba(8,39,82,.05);
  }
  .nav-actions .nav-track-link i { font-size: 16px; }
}

/* Dark / bright mode */
html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 15% 5%, rgba(56, 163, 255, .15), transparent 28%),
    linear-gradient(180deg, #061020 0%, var(--bg) 42%, #0b182c 100%);
}
html[data-theme="dark"] .site-header,
html[data-theme="dark"] .site-footer {
  background: rgba(8, 19, 38, .88);
}
html[data-theme="dark"] .nav-links,
html[data-theme="dark"] .icon-btn,
html[data-theme="dark"] .mobile-toggle,
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .btn-outline,
html[data-theme="dark"] .mini-card,
html[data-theme="dark"] .delivery-strip,
html[data-theme="dark"] .card,
html[data-theme="dark"] .feature-row,
html[data-theme="dark"] .cart-item,
html[data-theme="dark"] .checkout-step .circle,
html[data-theme="dark"] .checkout-step.done .circle,
html[data-theme="dark"] .qty,
html[data-theme="dark"] .qty button,
html[data-theme="dark"] .select,
html[data-theme="dark"] .input,
html[data-theme="dark"] .textarea,
html[data-theme="dark"] .socials a {
  background: var(--card);
  color: var(--text);
}
html[data-theme="dark"] .hero::before {
  background:
    radial-gradient(circle at 80% 24%, rgba(45, 219, 118, .13), transparent 26%),
    radial-gradient(circle at 20% 24%, rgba(56, 163, 255, .15), transparent 24%);
}
html[data-theme="dark"] .hero-image::before {
  display: none;
}
html[data-theme="dark"] .hero-image {
  background: linear-gradient(135deg, rgba(13,29,50,.88), rgba(4,12,24,.78));
  border-color: rgba(68,238,134,.20);
  box-shadow: 0 28px 58px rgba(0,0,0,.34);
}
html[data-theme="dark"] .hero-logo-scene {
  filter: drop-shadow(0 34px 48px rgba(0,0,0,.42));
}
html[data-theme="dark"] .hero-logo-scene::before {
  background:
    linear-gradient(135deg, rgba(16,29,49,.94), rgba(8,19,38,.78)),
    repeating-linear-gradient(135deg, rgba(68,238,134,.08) 0 1px, transparent 1px 18px);
  border-color: rgba(68,238,134,.2);
}
html[data-theme="dark"] .hero-logo-card {
  background:
    linear-gradient(180deg, rgba(9,22,42,.96), rgba(3,12,24,.94)),
    linear-gradient(135deg, rgba(68,238,134,.12), rgba(79,176,255,.12));
  border-color: rgba(179,211,245,.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -24px 42px rgba(0,0,0,.24),
    0 28px 46px rgba(0,0,0,.32);
}
html[data-theme="dark"] .hero-logo-card::after {
  border-color: rgba(68,238,134,.2);
}
html[data-theme="dark"] .product-card::before {
  background: rgba(56, 163, 255, .10);
}
html[data-theme="dark"] .product-image {
  border-color: rgba(179,211,245,.16);
  background: linear-gradient(180deg, rgba(8,23,43,.9), rgba(4,14,28,.96));
}
html[data-theme="dark"] .product-image img {
  filter: brightness(1.08) drop-shadow(0 18px 22px rgba(0,0,0,.34));
}
html[data-theme="dark"] .footer-cta,
html[data-theme="dark"] .blog-thumb,
html[data-theme="dark"] .map-box {
  background: linear-gradient(135deg, rgba(56, 163, 255, .12), rgba(45, 219, 118, .10));
}
html[data-theme="dark"] .fallback-map {
  background: rgba(16, 29, 49, .92);
}
html[data-theme="dark"] .badge {
  background: rgba(45, 219, 118, .16);
  color: var(--green-dark);
}
html[data-theme="dark"] .badge.blue {
  background: rgba(56, 163, 255, .16);
  color: var(--blue);
}
html[data-theme="dark"] .toast {
  background: #eaf3ff;
  color: #081326;
}
html[data-theme="dark"] .cart-count {
  border-color: var(--card);
}
html[data-theme="dark"] .map-box iframe {
  filter: saturate(.9) brightness(.82) contrast(1.05);
}
html[data-theme="dark"] .checkout-step.active .circle {
  background: var(--green);
  color: #061020;
  border-color: transparent;
}
html[data-theme="dark"] .select,
html[data-theme="dark"] .input,
html[data-theme="dark"] .textarea {
  border-color: var(--line);
}



/* Refined dark mode and desktop fit polish */
.nav-actions .btn-primary { white-space: nowrap; }
.icon-btn:hover,
.mobile-toggle:hover,
.btn-outline:hover {
  border-color: rgba(8, 110, 219, .35);
  box-shadow: 0 12px 24px rgba(8, 39, 82, .08);
}
.theme-toggle {
  border-radius: 18px;
  border: 1px solid rgba(8, 110, 219, .22);
}
.theme-toggle:hover { border-color: var(--green); }

html[data-theme="dark"] {
  --blue: #46a8ff;
  --blue-dark: #f2f8ff;
  --green: #39e77c;
  --green-dark: #8dffb4;
  --text: #edf6ff;
  --muted: #b8c7dd;
  --line: rgba(170, 203, 240, .18);
  --card: rgba(12, 26, 47, .92);
  --bg: #071426;
  --shadow: 0 28px 85px rgba(0, 0, 0, .46);
  --shadow-soft: 0 16px 42px rgba(0, 0, 0, .34);
}
html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 12% 0%, rgba(70, 168, 255, .18), transparent 31%),
    radial-gradient(circle at 88% 18%, rgba(57, 231, 124, .11), transparent 30%),
    linear-gradient(180deg, #030a16 0%, #071426 46%, #09182b 100%);
}
html[data-theme="dark"] .site-header {
  background: rgba(5, 15, 31, .94);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .28);
}
html[data-theme="dark"] .site-footer {
  background:
    radial-gradient(circle at 12% 12%, rgba(70, 168, 255, .08), transparent 36%),
    linear-gradient(180deg, rgba(7, 20, 38, .96), #061020);
}
html[data-theme="dark"] .card,
html[data-theme="dark"] .mini-card,
html[data-theme="dark"] .delivery-strip,
html[data-theme="dark"] .feature-row,
html[data-theme="dark"] .cart-item,
html[data-theme="dark"] .order-line,
html[data-theme="dark"] .footer-col.card {
  background: linear-gradient(180deg, rgba(15, 31, 55, .94), rgba(10, 23, 42, .92));
  border-color: rgba(170, 203, 240, .16);
}
html[data-theme="dark"] .icon-btn,
html[data-theme="dark"] .mobile-toggle,
html[data-theme="dark"] .btn-outline,
html[data-theme="dark"] .qty,
html[data-theme="dark"] .qty button,
html[data-theme="dark"] .select,
html[data-theme="dark"] .input,
html[data-theme="dark"] .textarea,
html[data-theme="dark"] .socials a,
html[data-theme="dark"] .checkout-step .circle,
html[data-theme="dark"] .checkout-step.done .circle {
  background: rgba(9, 22, 42, .88);
  border-color: rgba(170, 203, 240, .19);
  color: var(--text);
}
html[data-theme="dark"] .theme-toggle {
  background: linear-gradient(135deg, rgba(70, 168, 255, .14), rgba(57, 231, 124, .10));
  border: 1px solid rgba(255, 255, 255, .58);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 12px 28px rgba(0, 0, 0, .24);
}
html[data-theme="dark"] .theme-toggle i { color: #ffbd38; }
html[data-theme="dark"] .theme-toggle:hover { border-color: var(--green); }
html[data-theme="dark"] .nav-links a,
html[data-theme="dark"] .phone-link,
html[data-theme="dark"] .footer-col strong,
html[data-theme="dark"] .check-list li,
html[data-theme="dark"] .feature strong,
html[data-theme="dark"] label,
html[data-theme="dark"] .summary-row strong {
  color: var(--text);
}
html[data-theme="dark"] .footer-cta {
  background: linear-gradient(90deg, rgba(13, 77, 126, .42), rgba(13, 93, 55, .34));
}
html[data-theme="dark"] .footer-bottom {
  background: rgba(4, 12, 24, .78);
}
html[data-theme="dark"] .footer-bottom strong.text-green {
  color: var(--green);
}
html[data-theme="dark"] .brand img,
html[data-theme="dark"] .footer-logo {
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .32));
}
html[data-theme="dark"] .hero-image img,
html[data-theme="dark"] .product-image img,
html[data-theme="dark"] .account-hero > img {
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, .42));
}
html[data-theme="dark"] .select option { background: #09162a; color: var(--text); }

@media (max-width: 1320px) {
  .container { width: min(100% - 32px, var(--container)); }
  .brand { min-width: 150px; }
  .brand img { height: 58px; max-width: 72px; }
  .nav-links { gap: 18px; font-size: 13px; }
  .phone-link { font-size: 14px; }
  .nav-actions .btn-primary { padding-inline: 15px; }
  .theme-toggle { min-width: 98px; }
}

@media (max-width: 1160px) {
  .theme-toggle { width: 46px; min-width: 46px; padding: 0; }
  .theme-toggle span { display: none; }
  .nav-actions .btn-primary { display: none; }
}

@media (max-width: 980px) {
  .mobile-toggle { display: inline-grid; }
  .nav-links {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 86px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    display: grid;
    gap: 0;
    padding: 16px;
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: .2s ease;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-links a { padding: 14px 12px; border-radius: 12px; }
  .nav-links a::after { display: none; }
  .nav-links a.active, .nav-links a:hover { background: var(--soft-blue); color: var(--blue); }
}

@media (max-width: 620px) {
  .whatsapp-float { right: 16px; bottom: 18px; width: 56px; height: 56px; }
  .hero-title-line { animation-duration: .85s; }
  .hero-title { font-size: 44px; }
  .hero .lead,
  .hero-actions,
  .hero .hero-logo,
  .hero-tags .mini-card { animation-duration: .55s; }
  .hero-logo-scene {
    width: min(340px, 96%);
  }
  .hero-logo-card { width: min(300px, 86%); min-height: 168px; padding: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero-copy .eyebrow,
  .hero-title-line,
  .hero-title-accent,
  .hero .lead,
  .hero-tags .mini-card,
  .hero-actions,
  .hero .hero-logo,
  .hero-logo-scene,
  .hero-logo-scene::after,
  .hero-logo-card::before {
    animation: none;
  }
  .hero-copy .eyebrow,
  .hero-title-line,
  .hero .lead,
  .hero-tags .mini-card,
  .hero-actions,
  .hero .hero-logo {
    opacity: 1;
    transform: none;
  }
}

/* Real photo showcase sections */
.split-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(238,247,255,.88));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
}
.split-showcase::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,168,76,.12), transparent 68%);
  pointer-events: none;
}
.showcase-content,
.showcase-media { position: relative; z-index: 1; }
.showcase-content { display: grid; gap: 18px; padding: clamp(4px, 2vw, 18px); }
.showcase-media { min-height: 360px; border-radius: 24px; overflow: hidden; background: var(--soft-blue); box-shadow: var(--shadow-soft); }
.showcase-media > img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.media-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.92);
  color: var(--blue-dark);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 950;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}
.media-badge i { color: var(--green); }
.mini-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.mini-photo-grid img,
.photo-card img,
.fleet-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.promo-card {
  overflow: hidden;
  padding: 0;
}
.promo-card img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.photo-card { overflow: hidden; padding: 0; }
.photo-card img { height: 320px; border: 0; border-radius: 0; box-shadow: none; }
.photo-card .photo-body { padding: 22px; display: grid; gap: 10px; }
.fleet-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.fleet-card {
  position: relative;
  min-height: 270px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: var(--card);
}
.fleet-card img { width: 100%; height: 100%; min-height: 270px; object-fit: cover; }
.fleet-card.service-visual {
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 70% 22%, rgba(68,238,134,.22), transparent 34%),
    linear-gradient(135deg, rgba(8,110,219,.18), rgba(30,168,76,.14)),
    var(--card);
}
.service-art {
  display: grid;
  place-items: center;
  gap: 14px;
  color: var(--blue-dark);
}
.service-art i {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  font-size: 40px;
  box-shadow: 0 20px 38px rgba(8,39,82,.18);
}
.service-art span {
  font-size: clamp(36px, 6vw, 64px);
  line-height: .9;
  font-weight: 950;
  letter-spacing: -.06em;
  color: var(--green);
}
.fleet-card .overlay {
  position: absolute;
  inset: auto 14px 14px 14px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px;
  padding: 14px;
  backdrop-filter: blur(14px);
}
.fleet-card .overlay h3 { font-size: 18px; }
.fleet-card .overlay p { font-size: 13px; }
.blog-thumb.image-thumb { background: #dcebf8; }
.blog-thumb.image-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-cover {
  position: relative;
  overflow: hidden;
  align-content: end;
  justify-items: start;
  padding: 22px;
  min-height: 210px;
  color: #fff;
}
.news-cover::before {
  content: "";
  position: absolute;
  inset: -25% -10% auto auto;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.news-cover i {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,.14);
  font-size: 30px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}
.news-cover span {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  font-size: 24px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.03em;
}
.cover-supply { background: linear-gradient(135deg, #0a6fdc, #06335f 58%, #071421); }
.cover-imports { background: linear-gradient(135deg, #159a52, #075c47 54%, #071421); }
.cover-health { background: linear-gradient(135deg, #0e8bd8, #0b5677 48%, #071421); }
.truck-cta {
  background:
    linear-gradient(90deg, rgba(5, 20, 38, .90), rgba(5, 20, 38, .42)),
    url('../images/optimized/delivery-truck-front.jpg') center/cover no-repeat;
  color: #fff;
  border: 0;
}
.truck-cta h2,
.truck-cta h3 { color: #fff; }
.truck-cta p { color: rgba(255,255,255,.82); }

/* Dark mode refinements */
html[data-theme="dark"] {
  --blue: #4fb0ff;
  --blue-dark: #f4f9ff;
  --green: #44ee86;
  --green-dark: #a4ffc4;
  --mint: rgba(68, 238, 134, .12);
  --soft-blue: rgba(79, 176, 255, .13);
  --text: #eef7ff;
  --muted: #bdd0e8;
  --line: rgba(179, 211, 245, .18);
  --card: rgba(13, 29, 52, .90);
  --bg: #061121;
  --shadow: 0 30px 90px rgba(0,0,0,.48);
  --shadow-soft: 0 18px 44px rgba(0,0,0,.34);
}
html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 9% 2%, rgba(79,176,255,.18), transparent 28%),
    radial-gradient(circle at 84% 13%, rgba(68,238,134,.13), transparent 30%),
    linear-gradient(180deg, #030916 0%, #061121 44%, #08172a 100%);
}
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4 { color: var(--blue-dark); }
html[data-theme="dark"] .site-header {
  background: rgba(4, 13, 27, .92);
  border-bottom-color: rgba(179,211,245,.14);
  box-shadow: 0 16px 44px rgba(0,0,0,.32);
}
html[data-theme="dark"] .nav-links {
  background: transparent;
  border: 0;
  box-shadow: none;
}
html[data-theme="dark"] .nav-links a { color: #eaf4ff; }
html[data-theme="dark"] .nav-links a:hover,
html[data-theme="dark"] .nav-links a.active { color: #fff; }
html[data-theme="dark"] .nav-links a::after { background: linear-gradient(90deg, var(--blue), var(--green)); }
html[data-theme="dark"] .phone-link { color: #f4f9ff; }
html[data-theme="dark"] .icon-btn,
html[data-theme="dark"] .mobile-toggle,
html[data-theme="dark"] .btn-outline,
html[data-theme="dark"] .qty,
html[data-theme="dark"] .qty button,
html[data-theme="dark"] .select,
html[data-theme="dark"] .input,
html[data-theme="dark"] .textarea,
html[data-theme="dark"] .socials a,
html[data-theme="dark"] .checkout-step .circle,
html[data-theme="dark"] .checkout-step.done .circle {
  background: rgba(9, 22, 42, .92);
  border-color: rgba(179,211,245,.20);
  color: var(--text);
}
html[data-theme="dark"] .theme-toggle {
  background: linear-gradient(135deg, rgba(79,176,255,.18), rgba(68,238,134,.12));
  border-color: rgba(255,255,255,.68);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 14px 30px rgba(0,0,0,.28);
}
html[data-theme="dark"] .theme-toggle i { color: #ffc045; }
html[data-theme="dark"] .card,
html[data-theme="dark"] .mini-card,
html[data-theme="dark"] .delivery-strip,
html[data-theme="dark"] .feature-row,
html[data-theme="dark"] .cart-item,
html[data-theme="dark"] .order-line,
html[data-theme="dark"] .footer-col.card,
html[data-theme="dark"] .split-showcase {
  background: linear-gradient(180deg, rgba(16,35,62,.94), rgba(9,22,41,.92));
  border-color: rgba(179,211,245,.16);
  box-shadow: var(--shadow-soft);
}
html[data-theme="dark"] .split-showcase::before { background: radial-gradient(circle, rgba(68,238,134,.13), transparent 68%); }
html[data-theme="dark"] .showcase-media,
html[data-theme="dark"] .fleet-card,
html[data-theme="dark"] .photo-card { border-color: rgba(179,211,245,.18); background: rgba(9,22,42,.92); }
html[data-theme="dark"] .media-badge,
html[data-theme="dark"] .fleet-card .overlay {
  background: rgba(5, 14, 29, .78);
  color: #f4f9ff;
  border-color: rgba(179,211,245,.22);
}
html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .badge,
html[data-theme="dark"] .btn-soft {
  background: rgba(68,238,134,.12);
  border-color: rgba(68,238,134,.24);
  color: var(--green-dark);
}
html[data-theme="dark"] .badge.blue { background: rgba(79,176,255,.15); color: #9fd4ff; }
html[data-theme="dark"] .btn-primary { background: linear-gradient(135deg, #1987f2, #075ecd); box-shadow: 0 16px 34px rgba(8,110,219,.28); }
html[data-theme="dark"] .btn-green { background: linear-gradient(135deg, #2dd36f, #11964a); box-shadow: 0 16px 34px rgba(45,211,111,.22); }
html[data-theme="dark"] .btn-outline:hover { border-color: rgba(79,176,255,.48); background: rgba(79,176,255,.12); }
html[data-theme="dark"] .select:focus,
html[data-theme="dark"] .input:focus,
html[data-theme="dark"] .textarea:focus { box-shadow: 0 0 0 4px rgba(79,176,255,.16); }
html[data-theme="dark"] .hero-image::before { display: none; }
html[data-theme="dark"] .product-card::before { background: radial-gradient(circle, rgba(79,176,255,.16), transparent 66%); }
html[data-theme="dark"] .blog-thumb { background: linear-gradient(135deg, rgba(79,176,255,.14), rgba(68,238,134,.10)); }
html[data-theme="dark"] .site-footer {
  background:
    radial-gradient(circle at 12% 12%, rgba(79,176,255,.09), transparent 34%),
    linear-gradient(180deg, rgba(7,20,38,.98), #040c18);
  border-top-color: rgba(179,211,245,.14);
}
html[data-theme="dark"] .footer-cta {
  background: linear-gradient(90deg, rgba(12,64,108,.45), rgba(10,89,50,.34));
}
html[data-theme="dark"] .footer-bottom { background: rgba(3,9,18,.72); }
html[data-theme="dark"] .footer-bottom strong.text-green { color: var(--green); }
html[data-theme="dark"] .cookie-notice {
  background:
    linear-gradient(135deg, rgba(9, 36, 33, .96), rgba(7, 20, 38, .96)),
    rgba(7,20,38,.96);
  border-color: rgba(179,211,245,.22);
  box-shadow: 0 18px 42px rgba(0,0,0,.38);
}
html[data-theme="dark"] .cookie-notice-icon {
  background: rgba(79,176,255,.22);
  color: #dff0ff;
}
html[data-theme="dark"] .cookie-notice strong { color: #f5fbff; }
html[data-theme="dark"] .cookie-notice p { color: #b8c9dd; }
html[data-theme="dark"] .map-box iframe { filter: saturate(.86) brightness(.78) contrast(1.08); }
html[data-theme="dark"] .map-box,
html[data-theme="dark"] .fallback-map { border-color: rgba(179,211,245,.18); }
html[data-theme="dark"] .fallback-map { background: rgba(5,14,29,.82); }
html[data-theme="dark"] .tracking-map-card {
  border-color: rgba(68,238,134,.22);
  background: rgba(9, 36, 33, .72);
}
html[data-theme="dark"] .tracking-map-card strong {
  color: #f5fbff;
}
html[data-theme="dark"] .tracking-map-card span {
  color: #b8c9dd;
}
html[data-theme="dark"] .select option { background: #09162a; color: var(--text); }
html[data-theme="dark"] .cart-count { border-color: #09162a; }
html[data-theme="dark"] .toast { background: #eef7ff; color: #061121; }
input[type="date"].input,
.admin-body input[type="date"],
.admin-body input[type="month"],
.admin-body input[type="time"] {
  min-width: 150px;
  min-height: 46px;
  padding: 11px 13px;
  color-scheme: light;
  font-size: 15px;
  line-height: 1.2;
}
.admin-body input[type="date"]::-webkit-datetime-edit,
.admin-body input[type="month"]::-webkit-datetime-edit,
.admin-body input[type="time"]::-webkit-datetime-edit {
  min-width: 0;
  color: inherit;
}
.admin-body input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: .8;
}
html[data-admin-theme="dark"] .admin-body input[type="date"],
html[data-admin-theme="dark"] .admin-body input[type="month"],
html[data-admin-theme="dark"] .admin-body input[type="time"] {
  background: #10243a;
  border-color: rgba(140, 180, 225, .32);
  color: #edf6ff;
  color-scheme: dark;
}
html[data-theme="dark"] .live-demand-widget,
html[data-theme="dark"] .live-demand-inline {
  background: rgba(9,22,42,.96);
  border-color: rgba(79,176,255,.24);
  color: var(--text);
  box-shadow: 0 22px 50px rgba(0,0,0,.38);
}
html[data-theme="dark"] .live-demand-widget strong,
html[data-theme="dark"] .live-demand-inline strong {
  color: var(--text);
}
html[data-theme="dark"] .live-demand-widget p,
html[data-theme="dark"] .live-demand-inline span {
  color: #b8c9dd;
}
html[data-theme="dark"] .live-demand-close {
  background: #10243a;
  border-color: rgba(140,180,225,.28);
  color: var(--text);
}
html[data-theme="dark"] .brand img,
html[data-theme="dark"] .footer-logo { filter: drop-shadow(0 8px 18px rgba(0,0,0,.38)); }
html[data-theme="dark"] .hero-image img,
html[data-theme="dark"] .product-image img,
html[data-theme="dark"] .account-hero > img { filter: drop-shadow(0 28px 36px rgba(0,0,0,.45)); }
html[data-theme="dark"] .cart-preview,
html[data-theme="dark"] .product-detail-grid,
html[data-theme="dark"] .checkbox-field {
  background: #071423;
  border-color: rgba(179,211,245,.2);
}
html[data-theme="dark"] .account-logo-visual {
  background:
    radial-gradient(circle at 50% 42%, rgba(68,238,134,.14), transparent 38%),
    linear-gradient(135deg, rgba(9,22,42,.92), rgba(3,12,24,.96));
  border: 1px solid rgba(179,211,245,.14);
}
html[data-theme="dark"] .account-logo-visual::before {
  border-color: rgba(68,238,134,.18);
  background: radial-gradient(circle, rgba(13,38,63,.52), rgba(3,12,24,.16) 62%, transparent 63%);
}
html[data-theme="dark"] .account-logo-visual::after {
  background: radial-gradient(ellipse, rgba(0,0,0,.58), transparent 70%);
}
html[data-theme="dark"] .account-cylinder-visual {
  background: #050505;
  border-color: rgba(179,211,245,.18);
}
html[data-theme="dark"] .product-detail-grid strong { color: #eef7ff; }
html[data-theme="dark"] .related-pill { background: rgba(79,176,255,.15); color: #9fd4ff; }
html[data-theme="dark"] .tracking-detail-grid > div,
body.dark-mode .tracking-detail-grid > div {
  background: #071423 !important;
  border-color: rgba(179,211,245,.26) !important;
}
html[data-theme="dark"] .tracking-detail-grid > div strong,
body.dark-mode .tracking-detail-grid > div strong {
  color: #f5fbff !important;
}
html[data-theme="dark"] .tracking-detail-grid > div span,
body.dark-mode .tracking-detail-grid > div span {
  color: #b9d7f4 !important;
}
html[data-theme="dark"] .field-warning { color: #ffd36b; }
html[data-theme="dark"] .form-alert.error { background: rgba(255,90,110,.13); color: #ffb5bf; border-color: rgba(255,90,110,.28); }
html[data-theme="dark"] .form-alert.success,
html[data-theme="dark"] .trust-note { background: rgba(45,219,118,.12); color: #b9ffd3; border-color: rgba(45,219,118,.22); }
html[data-theme="dark"] .location-panel {
  background: linear-gradient(135deg, rgba(56,163,255,.11), rgba(45,219,118,.10));
  border-color: rgba(179,211,245,.18);
}
html[data-theme="dark"] .location-map-frame {
  background: rgba(5,14,29,.82);
  border-color: rgba(179,211,245,.18);
}
html[data-theme="dark"] .location-map-frame iframe {
  filter: saturate(.86) brightness(.78) contrast(1.08);
}
html[data-theme="dark"] .location-map-frame a {
  background: rgba(5,14,29,.86);
  border-color: rgba(179,211,245,.22);
  color: #f4f9ff;
}
html[data-theme="dark"] .input.is-invalid,
html[data-theme="dark"] .select.is-invalid,
html[data-theme="dark"] .textarea.is-invalid { border-color: #ff8290; box-shadow: 0 0 0 4px rgba(255,90,110,.14); }

/* Fit polish */
html, body { max-width: 100%; }
.nav-wrap,
.nav-actions,
.footer-cta .container,
.footer-cta .container > div { min-width: 0; }
.nav-actions .btn-primary,
.footer-cta .btn { white-space: nowrap; }
.footer-cta .container { flex-wrap: wrap; }
.whatsapp-float { bottom: 86px; }

@media (max-width: 1320px) {
  .nav-wrap { gap: 10px; }
  .brand img { height: 56px; max-width: 68px; }
  .nav-links { gap: 15px; }
  .icon-btn, .mobile-toggle { width: 44px; height: 44px; }
  .theme-toggle { min-width: 92px; padding-inline: 10px; }
  .nav-actions { gap: 7px; }
}
@media (max-width: 980px) {
  html[data-theme="dark"] .nav-links {
    background: rgba(7, 18, 35, .98);
    border: 1px solid rgba(179,211,245,.18);
    box-shadow: var(--shadow);
  }
  .split-showcase { grid-template-columns: 1fr; }
  .showcase-media,
  .showcase-media > img { min-height: 300px; }
  .fleet-strip { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .mini-photo-grid { grid-template-columns: 1fr; }
  .footer-cta .container { align-items: stretch; }
  .footer-cta .btn { width: 100%; }
}
@media (max-width: 620px) {
  .split-showcase { padding: 16px; border-radius: 22px; }
  .showcase-media,
  .showcase-media > img { min-height: 250px; }
  .media-badge { position: static; margin: 12px; border-radius: 16px; }
  .whatsapp-float { right: 16px; bottom: 18px; width: 56px; height: 56px; }
}



/* Updated cylinder imagery */
.product-image img { width: 100%; max-width: 220px; object-fit: contain; border-radius: 18px; }
.order-line img { width: 72px; height: 92px; object-fit: contain; border-radius: 12px; background: transparent; }
.hero-image img[data-theme-image]:not(.hero-cylinder) { width: min(480px, 100%); }
.size-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.guide-card { overflow: hidden; padding: 0; }
.guide-card img {
  display: block;
  width: 100%;
  height: 405px;
  object-fit: contain;
  object-position: center;
  background: #fff;
}
.guide-copy { padding: 18px 20px 22px; }
.guide-copy h3 { margin-bottom: 8px; }
html[data-theme="dark"] .guide-card { background: rgba(9,22,42,.92); border-color: rgba(179,211,245,.18); }
html[data-theme="dark"] .guide-card img { background: #050505; }
@media (max-width: 980px) {
  .size-guide-grid { grid-template-columns: 1fr; }
  .guide-card img { height: 360px; }
}
@media (max-width: 620px) {
  .guide-card img { height: 300px; }
}

/* Cylinder alignment refinements */
.product-card { grid-template-columns: 165px 1fr; align-items: stretch; }
.product-image {
  min-height: 245px;
  padding: 10px 8px;
  overflow: visible;
  border-radius: 20px;
}
.product-image img {
  width: 100%;
  height: 235px;
  max-width: 165px;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
  display: block;
}
.hero-image { overflow: hidden; }
.hero-image img[data-theme-image]:not(.hero-cylinder) {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  margin-inline: auto;
}
.account-hero > img[data-theme-image] {
  max-height: 250px;
  object-fit: contain;
  object-position: center bottom;
}
@media (max-width: 620px) {
  .product-card { grid-template-columns: 1fr; }
  .product-image {
    min-height: clamp(245px, 62vw, 300px);
    padding: 18px 10px 8px;
  }
  .product-image img {
    height: clamp(230px, 58vw, 285px);
    max-width: min(230px, 72vw);
  }
}

/* Mobile responsiveness pass */
@media (max-width: 900px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 52px 0; }
  .section.tight { padding: 28px 0; }
  .page-hero { padding: 44px 0 22px; }
  .grid-2,
  .grid-3,
  .grid-4,
  .shop-grid,
  .steps,
  .fleet-strip,
  .contact-grid,
  .shop-layout,
  .cart-layout,
  .checkout-layout,
  .account-layout,
  .account-hero,
  .split-showcase {
    grid-template-columns: 1fr;
  }
  .sidebar { position: static; }
  .feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature:nth-child(2n) { border-right: 0; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  h1 { font-size: 40px; letter-spacing: 0; }
  h2 { font-size: 30px; letter-spacing: 0; }
  h3 { font-size: 20px; letter-spacing: 0; }
  .lead,
  .page-hero p { font-size: 17px; }
  .card { padding: 18px; border-radius: 18px; }
  .btn { width: 100%; padding-inline: 14px; }
  .brand img { height: 52px; max-width: 64px; }
  .nav-wrap { height: 72px; gap: 8px; }
  .nav-actions { gap: 6px; }
  .nav-actions .phone-link,
  .nav-actions .whatsapp,
  .nav-actions > .icon-btn[aria-label="My account"] {
    display: none;
  }
  .icon-btn,
  .mobile-toggle {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }
  .theme-toggle {
    width: 42px;
    min-width: 42px;
    padding: 0;
  }
  .theme-toggle span { display: none; }
  .nav-links {
    top: 80px;
    left: 12px;
    right: 12px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
  .hero { padding: 30px 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .hero-copy { gap: 18px; }
  .hero-image {
    min-height: auto;
    padding: 12px;
    border-radius: 22px;
  }
  .hero-image::before {
    display: none;
  }
  .hero-image img { border-radius: 16px; }
  .hero-logo-scene { width: min(310px, 96%); }
  .hero-logo-card { width: min(270px, 88%); min-height: 150px; padding: 26px; }
  .account-logo-visual { min-height: 220px; }
  .account-cylinder-visual img { height: 220px; }
  .account-logo-scene { width: min(280px, 94%); }
  .hero-tags,
  .product-bottom,
  .delivery-actions,
  .footer-cta .container,
  .footer-cta .container > div {
    flex-direction: column;
    align-items: stretch;
  }
  .mini-card { width: 100%; }
  .delivery-strip {
    grid-template-columns: 1fr;
    margin-top: 22px;
    padding: 16px;
  }
  .delivery-strip .where { align-items: flex-start; }
  .delivery-strip .where i {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }
  .product-card {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 16px;
    padding: 18px;
  }
  .product-image {
    min-height: clamp(245px, 62vw, 300px);
    padding: 18px 10px 8px;
  }
  .product-image img {
    height: clamp(230px, 58vw, 285px);
    max-width: min(230px, 72vw);
    margin-inline: auto;
  }
  .product-card .badge[style] {
    position: static !important;
    justify-self: start;
    margin-bottom: -8px;
  }
  .qty { width: 100%; justify-content: space-between; }
  .qty button { flex: 0 0 44px; }
  .qty span { flex: 1; }
  .product-bottom > div:last-child { width: 100%; }
  .cart-item,
  .order-line {
    grid-template-columns: 70px 1fr;
    gap: 12px;
  }
  .cart-item .cart-price,
  .order-line .order-price {
    grid-column: 1 / -1;
    justify-self: stretch;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .cart-item .cart-price .btn,
  .order-line .order-price .btn,
  .cart-item .remove {
    width: 100%;
  }
  .checkout-stepper {
    gap: 8px;
    justify-content: stretch;
  }
  .checkout-step {
    flex: 1;
    min-width: 0;
    flex-direction: column;
    text-align: center;
    font-size: 12px;
    gap: 8px;
  }
  .checkout-step .circle {
    width: 44px;
    height: 44px;
  }
  .confirmation-grid {
    grid-template-columns: 1fr;
  }
  .confirmation-actions .btn {
    width: 100%;
  }
  .cart-preview {
    right: -62px;
  }
  .product-detail-grid {
    padding: 10px;
  }
  .form-grid { grid-template-columns: 1fr; }
  .location-panel { grid-template-columns: 1fr; }
  .location-copy .btn { width: 100%; }
  .location-map-frame,
  .location-map-frame iframe { min-height: 220px; }
  .feature-row { grid-template-columns: 1fr; }
  .feature {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px;
  }
  .feature:last-child { border-bottom: 0; }
  .step {
    padding-left: 18px;
    padding-top: 76px;
  }
  .step-number {
    left: 18px;
    top: 18px;
  }
  .showcase-media,
  .showcase-media > img,
  .promo-card img {
    min-height: 240px;
  }
  .fleet-card { min-height: 250px; }
  .news-cover { min-height: 180px; }
  .footer-main { grid-template-columns: 1fr; gap: 24px; }
  .footer-cta .btn { width: 100%; }
  .footer-bottom .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-notice {
    left: 12px;
    right: 12px;
    bottom: 12px;
    align-items: stretch;
    grid-template-columns: 1fr;
  }
  .cookie-notice-icon {
    width: 46px;
    height: 46px;
  }
  .cookie-notice-actions {
    justify-content: stretch;
  }
  .cookie-notice-actions .btn { flex: 1 1 120px; }
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 380px) {
  .container { width: min(100% - 22px, var(--container)); }
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .brand img { height: 48px; max-width: 58px; }
  .nav-actions { gap: 5px; }
  .icon-btn,
  .mobile-toggle,
  .theme-toggle {
    width: 39px;
    height: 39px;
    min-width: 39px;
  }
  .cart-item,
  .order-line {
    grid-template-columns: 58px 1fr;
  }
  .price { font-size: 26px; }
}

/* Admin responsive refinements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.admin-body .admin-login-card,
.admin-body .admin-heading,
.admin-body .admin-panel,
.admin-body .admin-order,
.admin-body .admin-order-detail,
.admin-body .admin-map-card,
.admin-body .admin-instruction-pin,
.admin-body .admin-update > *,
.admin-body .admin-nav > * {
  min-width: 0;
}
.admin-form label {
  display: grid;
  gap: 7px;
}
.admin-login-card h1,
.admin-heading h1,
.admin-panel h2,
.admin-order-main h3,
.admin-order-main p,
.admin-order-detail > span,
.admin-map-card small,
.admin-instruction-pin small,
.admin-body .form-alert {
  overflow-wrap: anywhere;
}
.admin-panel-head .admin-filter {
  justify-self: end;
}
.admin-panel-head .admin-panel-actions {
  justify-self: end;
}
.admin-update .btn {
  white-space: nowrap;
}
.admin-menu-toggle {
  display: none;
  width: 48px;
  min-width: 48px;
  max-width: 48px;
  height: 48px;
  padding: 0;
  flex: 0 0 48px;
  justify-self: end;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  appearance: none;
  background: var(--admin-surface-strong);
  color: var(--admin-text);
  box-shadow: none;
  place-items: center;
}
.admin-menu-toggle i {
  font-size: 19px;
  color: var(--green);
}

@media (max-width: 760px) {
  .admin-login {
    min-height: 100svh;
    padding: 18px 12px;
  }
  .admin-login-card {
    width: min(100%, 430px);
    gap: 14px;
    padding: 22px;
    border-radius: 20px;
  }
  .admin-login-logo {
    height: 104px;
  }
  .admin-login-card h1 {
    font-size: clamp(28px, 8vw, 34px);
    letter-spacing: 0;
  }
  .admin-login-card > p {
    font-size: 15px;
  }
  .admin-login-tools .admin-theme-toggle {
    width: auto;
    min-height: 42px;
    padding: 10px 12px;
  }
  .admin-shell {
    width: min(100% - 24px, var(--container));
    padding-bottom: 44px;
  }
  .admin-heading .btn,
  .admin-heading-actions,
  .admin-panel-actions,
  .admin-filter,
  .admin-update .btn {
    width: 100%;
  }
  .admin-heading-actions {
    justify-content: stretch;
  }
  .admin-panel-actions {
    justify-content: stretch;
  }
  .admin-panel-actions .btn {
    width: 100%;
  }
  .admin-panel-head .admin-filter {
    justify-self: stretch;
  }
  .admin-update {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .admin-login {
    padding: 12px 10px;
  }
  .admin-login-card {
    padding: 18px;
    gap: 12px;
    border-radius: 18px;
  }
  .admin-login-logo {
    height: 86px;
  }
  .admin-login-card h1,
  .admin-heading h1,
  .admin-panel h2 {
    font-size: 26px;
  }
  .admin-form {
    gap: 12px;
  }
  .admin-shell {
    width: min(100% - 20px, var(--container));
  }
  .admin-heading,
  .admin-panel,
  .admin-order {
    padding: 14px;
  }
  .admin-order-main strong {
    font-size: 22px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .admin-order-detail,
  .admin-map-card {
    border-radius: 12px;
  }
  .admin-update .btn,
  .admin-update .input,
  .admin-update .select {
    min-height: 44px;
  }
}

@media (max-width: 380px) {
  .admin-login-tools .admin-theme-toggle {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .admin-topbar {
    position: sticky;
    display: grid;
    grid-template-columns: minmax(0, auto) 48px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 66px;
    overflow: visible;
    padding: 10px 12px;
  }
  .admin-topbar .brand {
    min-width: 0;
    align-self: center;
  }
  .admin-topbar .brand img {
    width: 54px;
    height: 54px;
    max-width: 54px;
  }
  .admin-menu-toggle {
    display: inline-grid;
    width: 48px !important;
    min-width: 48px;
    max-width: 48px;
    height: 48px;
    padding: 0;
  }
  .admin-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    width: auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--admin-line);
    border-radius: 18px;
    background: var(--admin-surface);
    box-shadow: var(--admin-shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 90;
  }
  .admin-nav.is-open {
    display: grid;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .admin-nav > span {
    order: -1;
    grid-column: auto;
    min-width: 0;
    padding: 10px 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
  }
  .admin-nav .btn {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 13px;
    font-size: 13px;
    justify-content: center;
  }
  .admin-nav .btn[href$="logout.php"] {
    grid-column: auto;
  }
}

@media (max-width: 380px) {
  .admin-topbar {
    grid-template-columns: minmax(0, auto) 44px;
  }
  .admin-topbar .brand img {
    width: 46px;
    height: 46px;
    max-width: 46px;
  }
  .admin-menu-toggle {
    width: 44px !important;
    min-width: 44px;
    max-width: 44px;
    height: 44px;
    border-radius: 13px;
  }
}

/* Admin hamburger menu - single source of truth */
.admin-body .admin-topbar {
  position: sticky;
  display: grid;
  grid-template-columns: minmax(0, auto) 48px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 78px;
  overflow: visible;
}
.admin-body .admin-topbar .brand {
  min-width: 0;
}
.admin-body .admin-menu-toggle {
  display: inline-grid !important;
  width: 48px !important;
  min-width: 48px;
  max-width: 48px;
  height: 48px;
  padding: 0;
  justify-self: end;
}
.admin-body .admin-nav {
  position: absolute;
  top: calc(100% + 8px);
  right: max(12px, calc((100vw - var(--container)) / 2));
  width: min(360px, calc(100vw - 24px));
  display: none !important;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--admin-line);
  border-radius: 18px;
  background: var(--admin-surface);
  box-shadow: var(--admin-shadow);
  z-index: 90;
}
.admin-body .admin-nav.is-open {
  display: grid !important;
}
.admin-body .admin-nav > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}
.admin-body .admin-nav .btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 760px) {
  .admin-body .admin-topbar {
    grid-template-columns: minmax(0, auto) 48px;
    min-height: 66px;
    padding: 10px 12px;
  }
  .admin-body .admin-nav {
    left: 12px;
    right: 12px;
    width: auto;
  }
}

@media (max-width: 380px) {
  .admin-body .admin-topbar {
    grid-template-columns: minmax(0, auto) 44px;
  }
  .admin-body .admin-menu-toggle {
    width: 44px !important;
    min-width: 44px;
    max-width: 44px;
    height: 44px;
  }
}

/* Admin responsive hardening */
.admin-body {
  overflow-x: hidden;
}
.admin-body .admin-topbar {
  grid-template-columns: minmax(0, auto) 48px;
  align-items: center;
  min-height: 78px;
  padding-inline: max(16px, calc((100vw - var(--container)) / 2));
}
.admin-body .admin-topbar .brand {
  width: auto;
}
.admin-body .admin-topbar .brand img {
  width: auto;
  height: 58px;
  max-width: 72px;
}
.admin-body .admin-menu-toggle {
  display: inline-grid !important;
  width: 48px !important;
  min-width: 48px;
  max-width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background: var(--admin-surface-strong);
  color: var(--admin-text);
  line-height: 1;
}
.admin-body .admin-menu-toggle:focus-visible,
.admin-body .admin-nav .btn:focus-visible,
.admin-body .admin-nav > span:focus-visible {
  outline: 3px solid rgba(8,110,219,.28);
  outline-offset: 3px;
}
.admin-body .admin-nav {
  position: absolute;
  top: calc(100% + 8px);
  right: max(16px, calc((100vw - var(--container)) / 2));
  left: auto;
  width: min(380px, calc(100vw - 32px));
  display: none !important;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--admin-line);
  border-radius: 18px;
  background: var(--admin-surface);
  box-shadow: var(--admin-shadow);
  z-index: 100;
}
.admin-body .admin-nav.is-open {
  display: grid !important;
}
.admin-body .admin-nav .btn,
.admin-body .admin-nav > span {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  justify-content: center;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
.admin-body .admin-nav > span {
  display: flex;
  align-items: center;
  border: 1px solid var(--admin-line);
}
.admin-body .admin-shell {
  width: min(var(--container), calc(100% - 40px));
  padding-top: 32px;
  min-width: 0;
}
.admin-body .admin-heading,
.admin-body .admin-panel,
.admin-body .admin-order,
.admin-body .admin-blog-editor,
.admin-body .admin-login-card {
  max-width: 100%;
  min-width: 0;
}
.admin-body .admin-heading,
.admin-body .admin-panel-head,
.admin-body .admin-order-main {
  min-width: 0;
}
.admin-body .admin-heading .btn,
.admin-body .admin-panel-head .admin-filter,
.admin-body .admin-panel-head .admin-panel-actions {
  flex: 0 0 auto;
}
.admin-body .admin-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.admin-body .admin-order-grid {
  grid-template-columns: minmax(160px, 1.15fr) minmax(220px, 1.45fr) minmax(120px, .8fr) minmax(120px, .8fr);
}
.admin-body .admin-order-detail,
.admin-body .admin-order-main,
.admin-body .admin-order-main > div,
.admin-body .admin-map-card,
.admin-body .admin-map-card span,
.admin-body .admin-instruction-pin,
.admin-body .admin-instruction-pin span {
  min-width: 0;
}
.admin-body .admin-order-main h3,
.admin-body .admin-order-main p,
.admin-body .admin-order-detail > span,
.admin-body .admin-map-card small,
.admin-body .admin-instruction-pin small {
  overflow-wrap: anywhere;
}
.admin-body .summary-card,
.admin-body .summary-row,
.admin-body .summary-row span,
.admin-body .summary-row strong,
.admin-body .admin-products-table-wrap,
.admin-body .admin-products-table,
.admin-body .admin-products-table th,
.admin-body .admin-products-table td,
.admin-body .admin-debug-output,
.admin-body .form-alert {
  min-width: 0;
  max-width: 100%;
}
.admin-body .summary-row {
  align-items: flex-start;
}
.admin-body .summary-row span {
  flex: 0 1 auto;
}
.admin-body .summary-row strong,
.admin-body .admin-products-table td,
.admin-body .admin-products-table td * {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.admin-setup-guide {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--admin-line);
  border-radius: 16px;
  background: var(--admin-soft);
}
.admin-setup-guide h3 {
  margin: 0;
  font-size: 18px;
}
.admin-setup-guide ol {
  margin: 0;
  padding-left: 20px;
  color: var(--admin-text);
}
.admin-setup-guide li {
  margin: 8px 0;
  line-height: 1.45;
}
.admin-setup-guide code {
  padding: 2px 5px;
  border-radius: 6px;
  background: var(--admin-surface-strong);
  color: var(--admin-text);
  overflow-wrap: anywhere;
}
.admin-setup-guide p,
.admin-test-form {
  margin: 0;
}
.admin-test-form {
  display: grid;
  gap: 9px;
}
.admin-body .admin-update {
  display: grid;
  grid-template-columns: minmax(170px, 210px) minmax(260px, 1fr) repeat(5, minmax(120px, max-content));
  align-items: end;
  gap: 10px;
}
.admin-body .admin-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  font-size: 13px;
  font-weight: 900;
  color: var(--admin-text);
}
.admin-body .admin-field .select,
.admin-body .admin-field .textarea,
.admin-body .admin-update .btn {
  min-height: 48px;
}
.admin-body .admin-field .select,
.admin-body .admin-field .textarea {
  background: var(--admin-surface-strong);
  border-color: var(--admin-line);
  color: var(--admin-text);
}
.admin-body .admin-field .textarea::placeholder {
  color: var(--admin-muted);
}
.admin-body .admin-note-input {
  min-height: 76px;
  resize: vertical;
}
.admin-body .admin-update .btn {
  align-self: end;
  white-space: normal;
}
.admin-body .admin-blog-form .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .admin-body .admin-topbar {
    min-height: 72px;
    padding-inline: 16px;
  }
  .admin-body .admin-shell {
    width: min(100% - 32px, var(--container));
    padding-top: 24px;
  }
  .admin-body .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-body .admin-order-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-body .admin-update {
    grid-template-columns: 1fr;
  }
  .admin-body .admin-update .btn,
  .admin-body .admin-field,
  .admin-body .admin-field .select,
  .admin-body .admin-field .textarea {
    width: 100%;
  }
  .admin-body .admin-note-input {
    min-height: 104px;
  }
  .admin-body .admin-blog-form .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .admin-body .admin-update {
    grid-template-columns: 1fr;
  }
  .admin-body .admin-update .btn,
  .admin-body .admin-field,
  .admin-body .admin-field .select,
  .admin-body .admin-field .textarea {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .admin-body {
    font-size: 15px;
  }
  .admin-receipt-toolbar,
  .admin-receipt-page {
    width: min(100% - 22px, 980px);
  }
  .admin-receipt-toolbar {
    justify-content: stretch;
  }
  .admin-receipt-toolbar .btn {
    flex: 1 1 140px;
  }
  .admin-receipt-sheet {
    padding: 16px;
    gap: 18px;
  }
  .admin-receipt-header,
  .admin-receipt-summary {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-receipt-header div {
    justify-items: start;
    text-align: left;
  }
  .admin-receipt-summary > strong {
    white-space: normal;
  }
  .admin-receipt-grid {
    grid-template-columns: 1fr;
  }
  .admin-receipt-items {
    font-size: 12px;
  }
  .admin-receipt-items th,
  .admin-receipt-items td {
    padding: 8px 5px;
  }
  .admin-body .admin-topbar {
    grid-template-columns: minmax(0, auto) 48px;
    min-height: 66px;
    padding: 10px 12px;
  }
  .admin-body .admin-topbar .brand img {
    height: 54px;
    max-width: 58px;
  }
  .admin-body .admin-nav {
    left: 12px;
    right: 12px;
    width: auto;
  }
  .admin-body .admin-shell {
    width: min(100% - 24px, var(--container));
    padding: 18px 0 44px;
    gap: 18px;
  }
  .admin-body .admin-heading,
  .admin-body .admin-panel-head,
  .admin-body .admin-order-main {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-body .admin-heading,
  .admin-body .admin-panel,
  .admin-body .admin-order,
  .admin-body .admin-blog-editor {
    padding: 16px;
    border-radius: 18px;
  }
  .admin-body .admin-heading h1,
  .admin-body .admin-panel h2 {
    font-size: 28px;
    letter-spacing: 0;
  }
  .admin-body .admin-heading .btn,
  .admin-body .admin-heading-actions,
  .admin-body .admin-panel-actions,
  .admin-body .admin-filter {
    width: 100%;
  }
  .admin-body .admin-heading-actions,
  .admin-body .admin-panel-actions {
    justify-content: stretch;
  }
  .admin-body .admin-panel-actions .btn {
    width: 100%;
  }
  .admin-body .admin-stats,
  .admin-body .admin-order-grid {
    grid-template-columns: 1fr;
  }
  .admin-body .summary-row {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 5px;
  }
  .admin-body .summary-row strong {
    text-align: left;
  }
  .admin-body .admin-products-table-wrap {
    overflow-x: hidden;
  }
  .admin-body .admin-products-table {
    min-width: 0 !important;
    width: 100%;
  }
  .admin-body .admin-stats .stat-card {
    min-height: auto;
    padding: 14px 16px 14px 18px;
  }
  .admin-body .admin-order-main strong {
    font-size: 24px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .admin-body .admin-order-grid {
    padding: 0;
    border: 0;
    background: transparent;
    gap: 10px;
  }
  .admin-body .admin-order-detail {
    padding: 12px;
    border: 1px solid var(--admin-line);
    border-radius: 14px;
    background: var(--admin-soft);
  }
  .admin-body .admin-map-card {
    width: 100%;
  }
  .admin-body .admin-instruction-pin {
    width: 100%;
  }
  .admin-body .admin-update {
    gap: 12px;
  }
  .admin-body .admin-update .btn,
  .admin-body .admin-field .select,
  .admin-body .admin-field .textarea {
    min-height: 48px;
    font-size: 15px;
  }
  .admin-body .admin-login {
    min-height: 100svh;
    padding: 16px 12px;
  }
  .admin-body .admin-login-card {
    width: min(100%, 430px);
    padding: 22px;
    gap: 14px;
    border-radius: 20px;
  }
  .admin-body .admin-login-logo {
    height: 104px;
  }
  .admin-body .admin-login-card h1 {
    font-size: 30px;
    letter-spacing: 0;
  }
}

@media (max-width: 480px) {
  .admin-body .admin-topbar {
    grid-template-columns: minmax(0, auto) 44px;
    min-height: 62px;
    gap: 10px;
  }
  .admin-body .admin-topbar .brand img {
    height: 48px;
    max-width: 52px;
  }
  .admin-body .admin-menu-toggle {
    width: 44px !important;
    min-width: 44px;
    max-width: 44px;
    height: 44px;
    min-height: 44px;
    border-radius: 13px;
  }
  .admin-body .admin-shell {
    width: min(100% - 20px, var(--container));
  }
  .admin-body .admin-heading,
  .admin-body .admin-panel,
  .admin-body .admin-order,
  .admin-body .admin-blog-editor {
    padding: 14px;
  }
  .admin-body .admin-heading h1,
  .admin-body .admin-panel h2 {
    font-size: 24px;
  }
  .admin-body .admin-nav .btn,
  .admin-body .admin-nav > span {
    min-height: 48px;
    padding: 13px 14px;
    font-size: 14px;
  }
  .admin-body .admin-login-card {
    padding: 18px;
  }
  .admin-body .admin-login-logo {
    height: 86px;
  }
}

@media (min-width: 1025px) {
  .admin-body .admin-topbar {
    display: flex;
    grid-template-columns: none;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    gap: 18px;
    padding: 14px max(20px, calc((100vw - var(--container)) / 2));
  }
  .admin-body .admin-topbar .brand {
    flex: 0 0 auto;
    min-width: 72px;
  }
  .admin-body .admin-topbar .brand img {
    width: auto;
    height: 62px;
    max-width: 76px;
  }
  .admin-body .admin-menu-toggle {
    display: none !important;
  }
  .admin-body .admin-nav {
    position: static;
    inset: auto;
    width: auto;
    display: flex !important;
    grid-template-columns: none;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 14px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    z-index: auto;
  }
  .admin-body .admin-nav .btn {
    width: auto;
    min-height: 48px;
    padding: 13px 18px;
    white-space: nowrap;
  }
  .admin-body .admin-nav > span {
    width: auto;
    max-width: 260px;
    min-height: 48px;
    padding: 11px 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Switch-style theme toggles */
.theme-toggle,
.admin-theme-toggle {
  position: relative !important;
  width: 74px !important;
  min-width: 74px !important;
  max-width: 74px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex: 0 0 74px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(8, 110, 219, .28) !important;
  background: linear-gradient(135deg, #f8fbff, #eef7ff) !important;
  color: #082752 !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.72), 0 10px 22px rgba(8,39,82,.10) !important;
  overflow: hidden !important;
}

.theme-toggle::before,
.admin-theme-toggle::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,176,32,.28), rgba(8,110,219,.16));
  opacity: .92;
}

.theme-toggle i,
.admin-theme-toggle i {
  position: relative;
  z-index: 1;
  width: 30px !important;
  height: 30px !important;
  margin-left: 5px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #ffb020 !important;
  font-size: 14px !important;
  box-shadow: 0 7px 16px rgba(8,39,82,.18) !important;
  transform: translateX(0);
  transition: transform .22s ease, background .22s ease, color .22s ease;
}

.theme-toggle [data-theme-label],
.admin-theme-toggle [data-admin-theme-label] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.theme-toggle:hover,
.admin-theme-toggle:hover {
  border-color: rgba(30,168,76,.55) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.76), 0 12px 26px rgba(8,39,82,.13) !important;
}

.theme-toggle:focus-visible,
.admin-theme-toggle:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(8,110,219,.18), inset 0 0 0 1px rgba(255,255,255,.78) !important;
}

html[data-theme="dark"] .theme-toggle,
html[data-admin-theme="dark"] .admin-theme-toggle {
  background: linear-gradient(135deg, #071426, #102945) !important;
  border-color: rgba(255,255,255,.28) !important;
  color: #fff !important;
}

html[data-theme="dark"] .theme-toggle::before,
html[data-admin-theme="dark"] .admin-theme-toggle::before {
  background: linear-gradient(90deg, rgba(70,168,255,.22), rgba(57,231,124,.18));
}

html[data-theme="dark"] .theme-toggle i,
html[data-admin-theme="dark"] .admin-theme-toggle i {
  background: #fff8df !important;
  color: #ffb020 !important;
  transform: translateX(34px);
}

@media (max-width: 640px) {
  .theme-toggle,
  .admin-theme-toggle {
    width: 66px !important;
    min-width: 66px !important;
    max-width: 66px !important;
    flex-basis: 66px !important;
  }

  html[data-theme="dark"] .theme-toggle i,
  html[data-admin-theme="dark"] .admin-theme-toggle i {
    transform: translateX(26px);
  }
}

@media print {
  @page {
    margin: 12mm;
  }

  html,
  body,
  body.admin-body,
  body.admin-receipt-body {
    background: #fff !important;
    color: #111 !important;
    color-scheme: light !important;
  }

  body.admin-receipt-body {
    font-size: 12px;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body.admin-receipt-body .admin-receipt-toolbar {
    display: none !important;
  }

  body.admin-receipt-body .admin-receipt-page {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.admin-receipt-body .admin-receipt-sheet {
    padding: 0 !important;
    border: 0 !important;
    background: #fff !important;
  }

  body.admin-receipt-body .admin-receipt-header,
  body.admin-receipt-body .admin-receipt-summary {
    break-inside: avoid;
  }

  body.admin-receipt-body .admin-receipt-box {
    break-inside: avoid;
    background: #fff !important;
  }

  body.admin-receipt-body a {
    color: #0645ad !important;
    text-decoration: underline !important;
  }

  body.admin-body {
    font-size: 12px;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body.admin-body *,
  body.admin-body *::before,
  body.admin-body *::after {
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body.admin-body .admin-topbar,
  body.admin-body .admin-heading,
  body.admin-body .admin-stats,
  body.admin-body .admin-panel-head,
  body.admin-body .admin-update,
  body.admin-body .form-alert {
    display: none !important;
  }

  body.admin-body .admin-shell,
  body.admin-body .admin-panel,
  body.admin-body .admin-orders {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  body.admin-body .admin-print-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    margin: 0 0 8mm !important;
    padding: 0 0 5mm !important;
    border-bottom: 2px solid #d0d9e4 !important;
    background: #fff !important;
    color: #082752 !important;
  }

  body.admin-body .admin-print-header img {
    width: 142px !important;
    height: auto !important;
    max-height: 62px !important;
    object-fit: contain !important;
  }

  body.admin-body .admin-print-header div {
    display: grid !important;
    gap: 3px !important;
    justify-items: end !important;
    text-align: right !important;
  }

  body.admin-body .admin-print-header h2 {
    margin: 0 !important;
    color: #082752 !important;
    font-size: 22px !important;
    letter-spacing: 0 !important;
  }

  body.admin-body .admin-print-header p {
    margin: 0 !important;
    color: #42566e !important;
    font-size: 11px !important;
  }

  body.admin-body .admin-print-title-orders {
    display: inline !important;
  }

  body.admin-body .admin-print-title-single {
    display: none !important;
  }

  body.admin-body.admin-print-single .admin-print-title-orders {
    display: none !important;
  }

  body.admin-body.admin-print-single .admin-print-title-single {
    display: inline !important;
  }

  body.admin-body .admin-orders::before {
    display: none !important;
    content: none !important;
  }

  body.admin-body.admin-print-single .admin-order {
    display: none !important;
  }

  body.admin-body.admin-print-single .admin-order.is-print-target {
    display: grid !important;
  }

  body.admin-body .admin-order {
    break-inside: avoid;
    page-break-inside: avoid;
    margin: 0 0 10mm !important;
    padding: 12px !important;
    display: grid !important;
    gap: 10px !important;
    border: 1px solid #9db2c8 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #111 !important;
  }

  body.admin-body .admin-order-main {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  body.admin-body .admin-order-main h3 {
    margin: 6px 0 2px !important;
    color: #082752 !important;
    font-size: 20px !important;
  }

  body.admin-body .admin-order-main p,
  body.admin-body .admin-order-detail > span {
    color: #222 !important;
  }

  body.admin-body .admin-order-main strong {
    color: #12813a !important;
    font-size: 20px !important;
  }

  body.admin-body .admin-order-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 0 !important;
    border: 0 !important;
    background: #fff !important;
  }

  body.admin-body .admin-order-detail {
    padding: 8px !important;
    display: grid !important;
    gap: 4px !important;
    border: 1px solid #d0d9e4 !important;
    border-radius: 0 !important;
    background: #fff !important;
  }

  body.admin-body .admin-order-detail > strong {
    color: #111 !important;
    font-size: 10px !important;
    text-transform: uppercase;
  }

  body.admin-body .badge,
  body.admin-body .admin-map-card,
  body.admin-body .admin-instruction-pin {
    border: 1px solid #c5d0dc !important;
    background: #fff !important;
    color: #111 !important;
  }

  body.admin-body .admin-map-card,
  body.admin-body .admin-instruction-pin {
    width: 100% !important;
    padding: 7px 8px !important;
    text-decoration: none !important;
  }

  body.admin-body .admin-print-link-url {
    display: none !important;
  }

  body.admin-body .admin-map-card i,
  body.admin-body .admin-instruction-pin i {
    display: none !important;
  }

  body.admin-body a {
    color: #111 !important;
    text-decoration: none !important;
  }

  body.admin-body .admin-print-map-link {
    display: block !important;
    margin-top: 7px !important;
    padding: 8px 9px !important;
    border: 1px solid #8fb3e8 !important;
    border-radius: 0 !important;
    background: #f8fbff !important;
    color: #0645ad !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere !important;
    text-decoration: underline !important;
  }

  body.admin-body .admin-print-map-link span {
    display: block !important;
    margin-top: 2px !important;
    color: #0645ad !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere !important;
    text-decoration: underline !important;
  }
}

.admin-products-panel {
  scroll-margin-top: 96px;
}
.admin-product-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.admin-inventory-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--admin-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
}
.admin-inventory-card.is-alert {
  border-color: rgba(225, 152, 36, .45);
  background: rgba(255, 184, 77, .12);
}
.admin-inventory-card strong {
  display: block;
  color: var(--admin-text);
  font-size: 24px;
  line-height: 1;
}
.admin-inventory-card span:not(.stat-icon) {
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.admin-products-layout {
  display: grid;
  grid-template-columns: minmax(220px, .34fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.admin-stock-alerts,
.admin-products-main {
  min-width: 0;
}
.admin-stock-alerts {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--admin-line);
  border-radius: 18px;
  background: var(--admin-soft);
}
.admin-stock-alerts h3 {
  margin: 0 0 6px;
  font-size: 20px;
  letter-spacing: 0;
}
.admin-alert-list {
  display: grid;
  gap: 10px;
}
.admin-stock-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background: var(--admin-surface);
  color: var(--admin-text);
}
.admin-stock-alert i {
  color: #c47a12;
}
.admin-stock-alert.stock-out i {
  color: #d93025;
}
.admin-stock-alert b,
.admin-stock-alert small {
  display: block;
}
.admin-stock-alert small {
  color: var(--admin-muted);
  margin-top: 2px;
}
.admin-product-tools {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(140px, max-content) minmax(140px, max-content) max-content;
  gap: 10px;
  margin-bottom: 14px;
}
.admin-products-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--admin-line);
  border-radius: 18px;
}
.admin-products-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  background: var(--admin-surface);
}
.admin-products-table th,
.admin-products-table td {
  padding: 14px;
  border-bottom: 1px solid var(--admin-line);
  text-align: left;
  vertical-align: middle;
}
.admin-products-table th {
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.admin-products-table tr:last-child td {
  border-bottom: 0;
}
.admin-products-table tr.is-inactive {
  opacity: .72;
}
.admin-product-name-cell {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.admin-product-name-cell img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  padding: 8px;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background: rgba(248, 251, 255, .92);
}
.admin-product-name-cell > div {
  min-width: 0;
}
.admin-products-table td > strong,
.admin-products-table td > span,
.admin-products-table td > small {
  display: block;
}
.admin-products-table td > span {
  max-width: 420px;
  color: var(--admin-text);
  margin-top: 5px;
}
.admin-products-table td > small,
.admin-products-table td small {
  color: var(--admin-muted);
  margin-top: 5px;
}
.admin-stock-inline {
  display: grid;
  grid-template-columns: 92px max-content;
  gap: 8px;
  align-items: center;
}
.admin-stock-inline .input {
  min-height: 42px;
  padding: 10px 11px;
}
.admin-stock-inline .btn {
  min-height: 42px;
  padding: 10px 12px;
}
.admin-stock-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}
.admin-stock-badge.stock-ok {
  background: rgba(35, 184, 92, .14);
  color: #13823f;
}
.admin-stock-badge.stock-low {
  background: rgba(255, 184, 77, .18);
  color: #9a5a00;
}
.admin-stock-badge.stock-out {
  background: rgba(217, 48, 37, .13);
  color: #b3261e;
}
.admin-stock-badge.stock-inactive {
  background: rgba(101, 116, 139, .16);
  color: #475569;
}
.admin-product-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-product-actions form {
  margin: 0;
}
.admin-product-actions .btn {
  min-height: 42px;
  padding: 10px 12px;
}
.admin-product-actions .danger {
  border-color: rgba(217, 48, 37, .28);
  color: #b3261e;
}
.admin-product-modal {
  width: min(720px, calc(100vw - 28px));
  max-height: min(820px, calc(100vh - 28px));
  padding: 0;
  border: 1px solid var(--admin-line);
  border-radius: 24px;
  background: var(--admin-surface);
  color: var(--admin-text);
  box-shadow: 0 24px 70px rgba(7, 29, 52, .24);
}
.admin-product-modal::backdrop {
  background: rgba(4, 12, 24, .58);
}
.admin-product-form {
  display: grid;
  gap: 18px;
  padding: 22px;
}
.admin-modal-head,
.admin-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.admin-modal-head h2 {
  margin-top: 8px;
  font-size: 28px;
  letter-spacing: 0;
}
.admin-product-form .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.admin-product-form .textarea {
  min-height: 118px;
}
.admin-image-upload-area {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding: 14px;
  border: 1px dashed var(--admin-line);
  border-radius: 18px;
  background: var(--admin-soft);
}
.admin-image-upload-area small,
.admin-image-preview figcaption {
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 800;
}
.admin-image-preview {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 0;
}
.admin-image-preview[hidden] {
  display: none;
}
.admin-image-preview img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  padding: 10px;
  border: 1px solid var(--admin-line);
  border-radius: 16px;
  background: #fff;
}
.admin-modal-actions {
  justify-content: flex-end;
}
html[data-admin-theme="dark"] .admin-inventory-card,
html[data-admin-theme="dark"] .admin-stock-alert,
html[data-admin-theme="dark"] .admin-products-table,
html[data-admin-theme="dark"] .admin-product-modal {
  background: var(--admin-surface);
  border-color: var(--admin-line);
}
html[data-admin-theme="dark"] .admin-product-name-cell img,
html[data-admin-theme="dark"] .admin-image-preview img {
  background: rgba(8, 23, 43, .92);
  border-color: var(--admin-line);
}
html[data-admin-theme="dark"] .admin-stock-badge.stock-ok {
  background: rgba(45, 219, 118, .16);
  color: #86efac;
}
html[data-admin-theme="dark"] .admin-stock-badge.stock-low {
  background: rgba(255, 193, 84, .16);
  color: #f8cf73;
}
html[data-admin-theme="dark"] .admin-stock-badge.stock-out {
  background: rgba(248, 113, 113, .16);
  color: #fca5a5;
}

@media (max-width: 1024px) {
  .admin-product-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-products-layout {
    grid-template-columns: 1fr;
  }
  .admin-product-tools {
    grid-template-columns: 1fr 1fr;
  }
  .admin-product-tools .btn {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .admin-products-table-wrap {
    border: 0;
    overflow: visible;
  }
  .admin-products-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 12px;
    background: transparent;
  }
  .admin-products-table thead {
    display: none;
  }
  .admin-products-table tr,
  .admin-products-table td {
    display: block;
    width: 100%;
  }
  .admin-products-table tr {
    padding: 14px;
    border: 1px solid var(--admin-line);
    border-radius: 18px;
    background: var(--admin-surface);
  }
  .admin-products-table td {
    padding: 10px 0;
    border: 0;
  }
  .admin-products-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    color: var(--admin-muted);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
  }
  .admin-product-summary,
  .admin-product-tools,
  .admin-product-form .form-grid {
    grid-template-columns: 1fr;
  }
  .admin-stock-inline {
    grid-template-columns: 1fr;
  }
  .admin-product-name-cell,
  .admin-image-preview {
    grid-template-columns: 1fr;
  }
  .admin-product-name-cell img,
  .admin-image-preview img {
    width: 100%;
    max-width: 180px;
    height: 150px;
  }
  .admin-modal-head,
  .admin-modal-actions,
  .admin-product-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-modal-actions .btn,
  .admin-product-actions .btn,
  .admin-product-actions form {
    width: 100%;
  }
}

@media (max-width: 1180px) {
  .nav-actions .nav-track-link {
    width: 46px !important;
    min-width: 46px !important;
    height: 46px;
    min-height: 46px;
    padding: 0 !important;
    font-size: 0;
    flex: 0 0 46px;
  }
  .nav-actions .nav-track-link i { font-size: 16px; }
}

@media (max-width: 540px) {
  .nav-actions .nav-track-link {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px;
    min-height: 42px;
    border-radius: 13px;
    flex-basis: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .site-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Admin dashboard layout repair */
.admin-body,
.admin-body * {
  box-sizing: border-box;
}

.admin-body .admin-shell {
  max-width: var(--container);
  margin-inline: auto;
}

.admin-body .admin-heading,
.admin-body .admin-panel,
.admin-body .admin-order,
.admin-body .admin-products-main,
.admin-body .admin-stock-alerts {
  min-width: 0;
}

.admin-body .admin-heading,
.admin-body .admin-panel-head,
.admin-body .admin-order-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-body .admin-heading > div:first-child,
.admin-body .admin-panel-head > div:first-child,
.admin-body .admin-order-main > div:first-child {
  flex: 1 1 280px;
  min-width: 0;
}

.admin-body .admin-heading-actions,
.admin-body .admin-panel-actions {
  flex: 0 1 auto;
  min-width: 0;
}

.admin-body .admin-product-summary {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.admin-body .admin-products-layout {
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
}

.admin-body .admin-products-table-wrap {
  max-width: 100%;
}

.admin-body .admin-products-table {
  table-layout: fixed;
}

.admin-body .admin-products-table th:nth-child(1),
.admin-body .admin-products-table td:nth-child(1) {
  width: 36%;
}

.admin-body .admin-products-table th:nth-child(2),
.admin-body .admin-products-table td:nth-child(2) {
  width: 12%;
}

.admin-body .admin-products-table th:nth-child(3),
.admin-body .admin-products-table td:nth-child(3) {
  width: 20%;
}

.admin-body .admin-products-table th:nth-child(4),
.admin-body .admin-products-table td:nth-child(4) {
  width: 15%;
}

.admin-body .admin-products-table th:nth-child(5),
.admin-body .admin-products-table td:nth-child(5) {
  width: 17%;
}

.admin-body .admin-product-name-cell,
.admin-body .admin-stock-inline,
.admin-body .admin-product-actions {
  min-width: 0;
}

.admin-body .admin-products-table td,
.admin-body .admin-products-table td * {
  overflow-wrap: anywhere;
}

.admin-body .admin-product-actions .btn,
.admin-body .admin-stock-inline .btn {
  white-space: nowrap;
}

@media (min-width: 1181px) {
  .admin-body .admin-update {
    grid-template-columns: minmax(170px, 220px) minmax(260px, 1fr) repeat(4, minmax(112px, 1fr));
  }

  .admin-body .admin-update .btn {
    width: 100%;
    min-width: 0;
    padding-inline: 12px;
  }
}

@media (min-width: 1025px) {
  .admin-body .admin-topbar {
    display: flex;
    grid-template-columns: none;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 82px;
    padding: 14px max(20px, calc((100vw - var(--container)) / 2));
  }

  .admin-body .admin-menu-toggle {
    display: none !important;
  }

  .admin-body .admin-nav {
    position: static;
    inset: auto;
    width: auto;
    display: flex !important;
    grid-template-columns: none;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .admin-body .admin-nav .btn,
  .admin-body .admin-nav > span {
    width: auto;
    min-height: 44px;
    padding: 10px 13px;
    white-space: nowrap;
  }

  .admin-body .admin-theme-toggle {
    width: 74px !important;
    min-width: 74px !important;
    max-width: 74px !important;
    flex-basis: 74px !important;
  }
}

@media (max-width: 1180px) {
  .admin-body .admin-products-layout {
    grid-template-columns: 1fr;
  }

  .admin-body .admin-product-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .admin-body .admin-heading-actions,
  .admin-body .admin-panel-actions,
  .admin-body .admin-product-tools {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .admin-body .admin-heading-actions .btn,
  .admin-body .admin-panel-actions .btn,
  .admin-body .admin-product-tools .btn,
  .admin-body .admin-product-tools .input,
  .admin-body .admin-product-tools .select {
    width: 100%;
  }

  .admin-body .admin-products-table {
    table-layout: auto;
  }

  .admin-body .admin-products-table th,
  .admin-body .admin-products-table td {
    width: auto !important;
  }

  .admin-body .admin-product-actions .btn,
  .admin-body .admin-stock-inline .btn {
    white-space: normal;
  }
}

/* Final admin mobile overflow guard for diagnostics/settings pages */
.admin-body .summary-card,
.admin-body .summary-row,
.admin-body .summary-row span,
.admin-body .summary-row strong,
.admin-body .admin-debug-output,
.admin-body .admin-products-table-wrap,
.admin-body .admin-products-table,
.admin-body .admin-products-table th,
.admin-body .admin-products-table td,
.admin-body .admin-products-table td *,
.admin-body .admin-form-grid,
.admin-body .admin-password-field,
.admin-body .form-alert {
  min-width: 0;
  max-width: 100%;
}

.admin-body .summary-row strong,
.admin-body .admin-products-table td,
.admin-body .admin-products-table td *,
.admin-body .admin-debug-output,
.admin-body .form-alert,
.admin-setup-guide,
.admin-setup-guide * {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-body .admin-debug-output {
  width: 100%;
  overflow-x: hidden;
  white-space: pre-wrap;
}

@media (max-width: 720px) {
  .admin-body .summary-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    align-items: start;
  }

  .admin-body .summary-row strong {
    text-align: left;
  }

  .admin-body .admin-products-table-wrap {
    overflow-x: hidden;
  }

  .admin-body .admin-products-table {
    width: 100%;
    min-width: 0 !important;
  }

  .admin-body .admin-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Admin paid-order sound and popup */
.admin-sound-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 160;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(30, 168, 76, .35);
  border-radius: 999px;
  background: #1ea84c;
  color: #fff;
  font: inherit;
  font-weight: 950;
  box-shadow: 0 16px 36px rgba(4, 21, 39, .22);
  cursor: pointer;
}

.admin-sound-float:not(.is-on) {
  border-color: var(--admin-line);
  background: var(--admin-surface);
  color: var(--admin-text);
}

.admin-paid-popup {
  position: fixed;
  right: 18px;
  bottom: 84px;
  z-index: 170;
  width: min(420px, calc(100vw - 28px));
  padding: 20px;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(30, 168, 76, .32);
  border-radius: 22px;
  background: var(--admin-surface);
  color: var(--admin-text);
  box-shadow: 0 24px 70px rgba(4, 21, 39, .28);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.admin-paid-popup.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.admin-paid-popup h2 {
  margin: 0;
  font-size: 26px;
  overflow-wrap: anywhere;
}

.admin-paid-popup p {
  margin: 0;
  color: var(--admin-muted);
}

.admin-paid-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--admin-line);
  border-radius: 999px;
  background: var(--admin-surface-strong);
  color: var(--admin-text);
  cursor: pointer;
}

.admin-paid-popup-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background: var(--admin-soft);
}

.admin-paid-popup-meta strong {
  color: var(--green-dark);
  font-size: 20px;
}

.admin-paid-popup-meta span {
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.admin-paid-popup-customer {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background: rgba(30, 168, 76, .08);
}

.admin-paid-popup-customer strong,
.admin-paid-popup-customer span,
.admin-paid-popup-customer small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-paid-popup-customer span,
.admin-paid-popup-customer small {
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-paid-popup-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.admin-paid-popup-actions .btn {
  width: 100%;
}

.admin-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 28px;
  margin-left: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(8, 110, 219, .12);
  color: var(--blue);
  font-size: 14px;
  font-weight: 950;
  vertical-align: middle;
}

.admin-orders-toggle,
.admin-panel-toggle {
  gap: 9px;
}

.admin-orders-toggle [data-admin-orders-toggle-icon],
.admin-panel-toggle [data-admin-collapse-icon] {
  transition: transform .18s ease;
}

.admin-orders-panel.is-open .admin-orders-toggle [data-admin-orders-toggle-icon],
.admin-collapsible-panel.is-open .admin-panel-toggle [data-admin-collapse-icon] {
  transform: rotate(180deg);
}

.admin-orders-content,
.admin-products-content {
  display: grid;
}

.admin-orders-panel.is-collapsed .admin-orders-content,
.admin-collapsible-panel.is-collapsed [data-admin-collapse-content],
[data-admin-collapse-content][hidden] {
  display: none;
}

.admin-orders-panel.is-collapsed .admin-print-header {
  display: none;
}

html[data-admin-theme="dark"] .admin-sound-float:not(.is-on),
html[data-admin-theme="dark"] .admin-paid-popup,
html[data-admin-theme="dark"] .admin-paid-popup-close {
  background: var(--admin-surface);
  color: var(--admin-text);
  border-color: var(--admin-line);
}

@media (max-width: 640px) {
  .admin-sound-float {
    right: 12px;
    bottom: 12px;
    min-height: 44px;
    padding: 10px 13px;
    font-size: 13px;
  }

  .admin-paid-popup {
    right: 12px;
    bottom: 72px;
    width: calc(100vw - 24px);
    padding: 16px;
    border-radius: 18px;
  }

  .admin-paid-popup h2 {
    font-size: 22px;
  }
}

@media (max-width: 900px) {
  .admin-order-filter,
  .admin-remove-order-form,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-today-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .admin-today-summary {
    grid-template-columns: 1fr;
  }

  .admin-today-list a {
    align-items: flex-start;
    flex-direction: column;
  }

  .live-demand-widget {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
  }

  .live-demand-inline {
    grid-template-columns: 1fr;
  }

  .admin-body input[type="date"],
  .admin-body input[type="month"],
  .admin-body input[type="time"] {
    width: 100%;
    min-width: 0;
    font-size: 16px;
  }
}
