:root {
  --brand: #16b6d9;
  --brand-deep: #0c8fb5;
  --ink: #123342;
  --muted: #587383;
  --line: rgba(51, 176, 207, 0.24);
  --surface: #ffffff;
  --soft: #eefdff;
  --page:
    radial-gradient(ellipse at 18% 10%, rgba(206, 249, 255, 0.36), transparent 28%),
    radial-gradient(ellipse at 82% 12%, rgba(80, 194, 233, 0.62), transparent 32%),
    radial-gradient(ellipse at 14% 86%, rgba(58, 174, 217, 0.5), transparent 34%),
    radial-gradient(ellipse at 88% 82%, rgba(4, 66, 98, 0.46), transparent 36%),
    linear-gradient(145deg, #b7f1ff 0%, #50c2e9 22%, #3aaed9 46%, #137da7 70%, #043f63 100%);
  --header: rgba(229, 250, 255, 0.9);
  --panel: rgba(255, 255, 255, 0.9);
  --card: #ffffff;
  --control: #ffffff;
  --control-ink: #27485a;
  --rose: #ff6f91;
  --gold: #f9b938;
  --mint: #3ddc97;
  --violet: #8b5cf6;
  --shadow: 0 24px 58px rgba(37, 93, 130, 0.16);
}

:root[data-theme="dark"] {
  --ink: #edf7fb;
  --muted: #a7b7c5;
  --line: #244356;
  --surface: #0f1b24;
  --soft: #142734;
  --page:
    linear-gradient(125deg, rgba(255, 111, 145, 0.12) 0 13%, transparent 13% 100%),
    linear-gradient(238deg, rgba(249, 185, 56, 0.1) 0 16%, transparent 16% 100%),
    radial-gradient(ellipse at 8% 8%, rgba(80, 194, 233, 0.22), transparent 30%),
    radial-gradient(ellipse at 86% 12%, rgba(139, 92, 246, 0.2), transparent 28%),
    radial-gradient(ellipse at 20% 84%, rgba(61, 220, 151, 0.12), transparent 26%),
    radial-gradient(ellipse at 92% 88%, rgba(255, 111, 145, 0.13), transparent 28%),
    linear-gradient(135deg, #07131b 0%, #0c1f2b 42%, #111827 72%, #08131b 100%);
  --header: rgba(8, 19, 27, 0.86);
  --panel: rgba(15, 27, 36, 0.94);
  --card: #102431;
  --control: #0c1c26;
  --control-ink: #dcecf4;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.34);
}

:root[data-theme="dark"] .category-card,
:root[data-theme="dark"] .product-card,
:root[data-theme="dark"] .filters-panel,
:root[data-theme="dark"] .admin-card {
  box-shadow: var(--shadow);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--page);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 22% 18%, rgba(255, 255, 255, 0.28), transparent 26%),
    radial-gradient(ellipse at 76% 28%, rgba(177, 240, 255, 0.22), transparent 24%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 36%),
    linear-gradient(300deg, rgba(2, 52, 81, 0.22), transparent 42%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3));
}

:root[data-theme="dark"] body::before {
  background:
    linear-gradient(120deg, rgba(80, 194, 233, 0.12), transparent 34%),
    linear-gradient(300deg, rgba(139, 92, 246, 0.1), transparent 38%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: relative;
  top: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 56px);
  overflow: visible;
  border-bottom: 1px solid rgba(255, 255, 255, 0.58);
  background:
    radial-gradient(ellipse at 8% 0%, rgba(255, 255, 255, 0.72), transparent 34%),
    radial-gradient(ellipse at 72% 12%, rgba(80, 194, 233, 0.52), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(218, 248, 255, 0.78) 36%, rgba(80, 194, 233, 0.42) 100%);
  box-shadow:
    0 16px 42px rgba(4, 63, 99, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(22px) saturate(1.25);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 28%, rgba(255, 255, 255, 0.34) 42%, transparent 58%),
    linear-gradient(90deg, rgba(255, 111, 145, 0.08), transparent 30%, rgba(249, 185, 56, 0.1));
}

.site-header > * {
  position: relative;
  z-index: 1;
}

:root[data-theme="dark"] .site-header {
  border-bottom-color: rgba(80, 194, 233, 0.22);
  background:
    radial-gradient(ellipse at 10% 0%, rgba(80, 194, 233, 0.18), transparent 34%),
    radial-gradient(ellipse at 78% 12%, rgba(139, 92, 246, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(12, 31, 43, 0.94), rgba(7, 19, 27, 0.9) 58%, rgba(16, 36, 49, 0.94));
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .site-header::before {
  background:
    linear-gradient(115deg, transparent 0 30%, rgba(80, 194, 233, 0.12) 46%, transparent 62%),
    linear-gradient(90deg, rgba(255, 111, 145, 0.06), transparent 32%, rgba(249, 185, 56, 0.05));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  color: #fff;
  font-weight: 900;
  background: transparent;
  box-shadow: none;
}

.brand-mark img {
  width: 58px;
  height: 58px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(14, 36, 47, 0.16));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.1rem;
}

.header-mobile-search {
  display: flex;
  flex: 0 1 min(38vw, 360px);
  align-items: center;
  gap: 10px;
  width: min(38vw, 360px);
  min-height: 46px;
  margin-top: 5px;
  position: relative;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  padding: 4px 7px 4px 8px;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 1), transparent 30%),
    radial-gradient(circle at 92% 52%, rgba(255, 111, 145, 0.18), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #dff9ff 34%, #91e1f6 68%, #50c2e9 100%);
  box-shadow:
    0 16px 34px rgba(4, 63, 99, 0.2),
    0 0 0 4px rgba(255, 255, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -14px 24px rgba(58, 174, 217, 0.16);
  backdrop-filter: blur(16px) saturate(1.18);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.header-mobile-search::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 34%, rgba(255, 255, 255, 0.62) 48%, transparent 64%);
  animation: headerSearchShine 3600ms ease-in-out infinite;
}

.header-mobile-search:focus-within {
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 18px 38px rgba(4, 63, 99, 0.22),
    0 0 0 4px rgba(80, 194, 233, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  transform: translateY(-1px);
}

.header-search-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  color: var(--brand-deep);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.header-search-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:root[data-theme="dark"] .header-search-icon {
  color: #e8f9ff;
  background: rgba(80, 194, 233, 0.14);
}

@keyframes headerSearchShine {
  0%,
  42% {
    transform: translateX(-120%);
  }

  70%,
  100% {
    transform: translateX(120%);
  }
}

.header-mobile-search input {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 0 10px 0 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  font-size: 0.84rem;
  font-weight: 900;
  outline: none;
}

.header-mobile-search input::placeholder {
  color: rgba(18, 51, 66, 0.66);
}

.header-mobile-search input:focus {
  box-shadow: none;
}

:root[data-theme="dark"] .header-mobile-search {
  border-color: rgba(80, 194, 233, 0.28);
  background:
    radial-gradient(circle at 16% 12%, rgba(80, 194, 233, 0.2), transparent 34%),
    radial-gradient(circle at 86% 60%, rgba(139, 92, 246, 0.16), transparent 42%),
    linear-gradient(135deg, rgba(12, 31, 43, 0.96), rgba(16, 48, 64, 0.9) 48%, rgba(80, 194, 233, 0.16));
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .header-mobile-search input {
  color: #edf7fb;
}

:root[data-theme="dark"] .header-mobile-search input::placeholder {
  color: rgba(237, 247, 251, 0.62);
}

.floating-shop-bar {
  position: fixed;
  top: 10px;
  right: clamp(12px, 4vw, 28px);
  left: clamp(12px, 4vw, 28px);
  z-index: 121;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-14px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.floating-shop-bar.visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-shop-bar > * {
  pointer-events: none;
}

.floating-shop-bar.visible > * {
  pointer-events: auto;
}

.floating-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(520px, calc(100% - 92px));
  min-height: 46px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  padding: 4px 7px 4px 8px;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 1), transparent 30%),
    radial-gradient(circle at 92% 52%, rgba(255, 111, 145, 0.18), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #dff9ff 34%, #91e1f6 68%, #50c2e9 100%);
  box-shadow:
    0 16px 34px rgba(4, 63, 99, 0.2),
    0 0 0 4px rgba(255, 255, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px) saturate(1.2);
}

.floating-search-suggestions {
  top: calc(100% + 10px);
  right: 0;
  left: 0;
  width: 100%;
  border-color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.78), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(231, 250, 255, 0.96));
  box-shadow: 0 24px 52px rgba(2, 44, 68, 0.22);
}

.floating-search input {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 0.86rem;
  font-weight: 900;
  outline: none;
}

.floating-bag-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  padding: 0 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 16px 34px rgba(4, 63, 99, 0.2);
  font-weight: 950;
  backdrop-filter: blur(18px);
}

:root[data-theme="dark"] .floating-search {
  border-color: rgba(80, 194, 233, 0.28);
  background:
    radial-gradient(circle at 16% 12%, rgba(80, 194, 233, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(12, 31, 43, 0.96), rgba(16, 48, 64, 0.9) 48%, rgba(80, 194, 233, 0.16));
}

:root[data-theme="dark"] .floating-search input {
  color: #edf7fb;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.desktop-nav {
  display: flex;
  gap: 10px;
  color: var(--control-ink);
  font-weight: 900;
}

.desktop-nav a:hover,
.desktop-nav button:hover {
  color: var(--brand-deep);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 16px 32px rgba(4, 63, 99, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  transform: translateY(-2px);
}

.desktop-nav a,
.desktop-nav button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--control-ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.94), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(223, 249, 255, 0.72) 54%, rgba(80, 194, 233, 0.2));
  box-shadow:
    0 10px 24px rgba(4, 63, 99, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 950;
  backdrop-filter: blur(12px);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.desktop-nav svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-access-link {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.72) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.32), transparent 38%),
    linear-gradient(135deg, #50c2e9, #3aaed9) !important;
  box-shadow: 0 14px 28px rgba(58, 174, 217, 0.24) !important;
}

.admin-mobile-link {
  display: none;
}

.settings-menu {
  display: grid;
  gap: 8px;
}

.settings-menu[hidden] {
  display: none;
}

.desktop-settings-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: clamp(96px, 4vw, 128px);
  z-index: 130;
  width: 230px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(229, 250, 255, 0.9)),
    var(--header);
  box-shadow: 0 18px 42px rgba(2, 44, 68, 0.22);
  backdrop-filter: blur(18px);
}

.settings-menu a,
.settings-menu button {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  border: 1px solid rgba(58, 174, 217, 0.24);
  border-radius: 13px;
  padding: 0 12px;
  color: var(--control-ink);
  background: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 950;
}

.settings-menu svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

:root[data-theme="dark"] .desktop-nav a,
:root[data-theme="dark"] .desktop-nav button {
  color: #e8f9ff;
  border-color: rgba(80, 194, 233, 0.24);
  background:
    radial-gradient(circle at 18% 12%, rgba(80, 194, 233, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(16, 40, 54, 0.86), rgba(12, 31, 43, 0.78));
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .desktop-settings-menu {
  border-color: rgba(80, 194, 233, 0.28);
  background:
    linear-gradient(135deg, rgba(13, 35, 48, 0.96), rgba(6, 23, 34, 0.94)),
    var(--header);
}

:root[data-theme="dark"] .settings-menu a,
:root[data-theme="dark"] .settings-menu button {
  color: #e8f9ff;
  border-color: rgba(80, 194, 233, 0.24);
  background: rgba(16, 47, 61, 0.86);
}

.admin-auth-pending body > :not(.admin-auth-overlay) {
  visibility: hidden;
}

.admin-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at 20% 0%, rgba(80, 194, 233, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(241, 252, 255, 0.96), rgba(255, 255, 255, 0.94));
}

.admin-auth-card {
  width: min(390px, 100%);
  border: 1px solid rgba(80, 194, 233, 0.28);
  border-radius: 22px;
  padding: 22px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.84), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(232, 250, 255, 0.9));
  box-shadow: 0 28px 80px rgba(3, 39, 57, 0.22);
}

.admin-auth-card h1 {
  margin: 8px 0 6px;
  color: var(--ink);
  font-size: clamp(1.8rem, 8vw, 2.55rem);
  line-height: 1;
}

.admin-auth-card p {
  color: var(--muted);
  font-weight: 750;
}

.admin-auth-card form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.admin-auth-card input {
  min-height: 48px;
  border: 1px solid rgba(80, 194, 233, 0.32);
  border-radius: 14px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  font-weight: 900;
}

.admin-auth-error {
  min-height: 20px;
  color: #d11f4c;
  font-size: 0.86rem;
  font-weight: 900;
}

.admin-auth-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

:root[data-theme="dark"] .admin-auth-overlay {
  background:
    radial-gradient(circle at 20% 0%, rgba(80, 194, 233, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(6, 22, 31, 0.97), rgba(11, 35, 48, 0.94));
}

:root[data-theme="dark"] .admin-auth-card {
  border-color: rgba(80, 194, 233, 0.26);
  background:
    radial-gradient(circle at 18% 0%, rgba(80, 194, 233, 0.14), transparent 38%),
    linear-gradient(145deg, rgba(15, 45, 58, 0.96), rgba(8, 27, 38, 0.92));
}

.icon-button {
  min-width: 42px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--control);
  font-weight: 800;
}

.theme-button {
  padding: 0 14px;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
}

.promo-marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  color: #fff;
  background: linear-gradient(90deg, #3aaed9, #50c2e9, #31c7b6, #f9b938);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 34px;
  padding: 11px 0;
  animation: marquee 24s linear infinite;
}

.marquee-track span {
  position: relative;
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 900;
}

.marquee-track span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  transform: translateY(-50%);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

[data-cart-count] {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--rose);
  font-size: 0.78rem;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.55fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
  overflow: hidden;
  width: min(1240px, calc(100% - 28px));
  min-height: clamp(560px, 74vh, 720px);
  margin: 18px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 28px;
  padding: clamp(34px, 6vw, 74px);
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.92) 0 40%, rgba(255, 255, 255, 0.58) 40% 100%),
    linear-gradient(145deg, rgba(255, 111, 145, 0.2), rgba(22, 182, 217, 0.2) 45%, rgba(249, 185, 56, 0.22)),
    url("https://images.unsplash.com/photo-1607083206968-13611e3d76db?auto=format&fit=crop&w=900&q=58");
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 80px rgba(28, 88, 118, 0.18);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 111, 145, 0.38) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(22, 182, 217, 0.28) 0 1px, transparent 1px 100%);
  background-size: 64px 64px;
  opacity: 0.42;
}

.hero::after {
  content: "";
  position: absolute;
  right: clamp(18px, 5vw, 84px);
  bottom: clamp(20px, 5vw, 62px);
  width: min(34vw, 360px);
  aspect-ratio: 1;
  pointer-events: none;
  background:
    conic-gradient(from 45deg, rgba(249, 185, 56, 0.46), rgba(255, 111, 145, 0.38), rgba(22, 182, 217, 0.42), rgba(61, 220, 151, 0.34), rgba(249, 185, 56, 0.46));
  clip-path: polygon(50% 0, 100% 34%, 84% 100%, 18% 100%, 0 34%);
  opacity: 0.24;
  transform: rotate(10deg);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-deep);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  max-width: 790px;
  font-size: clamp(3.5rem, 9.5vw, 8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 8px;
  font-size: clamp(1.55rem, 4vw, 2.5rem);
  letter-spacing: 0;
}

h3 {
  font-size: 1.05rem;
}

.hero-copy > p:not(.eyebrow),
.section-heading p {
  color: rgba(239, 253, 255, 0.94);
  font-size: 1.03rem;
  line-height: 1.7;
  text-shadow: 0 2px 14px rgba(2, 50, 74, 0.28);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.offer-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.offer-cluster span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 13px;
  color: var(--control-ink);
  background: var(--card);
  box-shadow: 0 10px 24px rgba(24, 47, 66, 0.07);
  font-size: 0.82rem;
  font-weight: 900;
}

.primary-action,
.secondary-action,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  font-weight: 900;
}

.primary-action {
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(135deg, #50c2e9, #3aaed9);
  box-shadow: 0 14px 32px rgba(58, 174, 217, 0.28);
}

.secondary-action {
  padding: 0 18px;
  color: var(--brand-deep);
  border: 1px solid rgba(58, 174, 217, 0.26);
  background: rgba(255, 255, 255, 0.78);
}

:root[data-theme="dark"] .secondary-action {
  color: #e8f9ff;
  border-color: #235d74;
  background: #102f3d;
}

:root[data-theme="dark"] input,
:root[data-theme="dark"] select,
:root[data-theme="dark"] textarea {
  color: #edf7fb;
  border-color: rgba(80, 194, 233, 0.26);
  background:
    linear-gradient(135deg, rgba(12, 31, 43, 0.96), rgba(16, 47, 61, 0.9)),
    var(--control);
}

:root[data-theme="dark"] input::placeholder,
:root[data-theme="dark"] textarea::placeholder {
  color: rgba(237, 247, 251, 0.62);
}

.text-button {
  min-height: auto;
  padding: 0;
  color: var(--brand-deep);
  background: transparent;
}

.hero-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-self: start;
}

.feature-tile {
  min-height: clamp(150px, 18vw, 230px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 20px;
  color: #fff;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.feature-tile:hover {
  transform: translateY(-6px);
}

.feature-tile span,
.feature-tile strong {
  display: block;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.feature-tile span {
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-tile strong {
  margin-top: 6px;
  font-size: clamp(1rem, 2vw, 1.45rem);
  line-height: 1.1;
}

.tile-jewellery {
  background-image: linear-gradient(145deg, rgba(249, 185, 56, 0.92), rgba(255, 111, 145, 0.65)),
    url("https://images.unsplash.com/photo-1515562141207-7a88fb7ce338?auto=format&fit=crop&w=420&q=58");
}

.tile-cosmetics {
  margin-top: 14px;
  background-image: linear-gradient(145deg, rgba(255, 111, 145, 0.88), rgba(80, 194, 233, 0.5)),
    url("https://images.unsplash.com/photo-1596462502278-27bfdc403348?auto=format&fit=crop&w=420&q=58");
}

.tile-dryfruits {
  background-image: linear-gradient(145deg, rgba(61, 220, 151, 0.85), rgba(249, 185, 56, 0.55)),
    url("https://images.unsplash.com/photo-1599599810769-bcde5a160d32?auto=format&fit=crop&w=420&q=58");
}

.tile-toys {
  margin-top: 14px;
  background-image: linear-gradient(145deg, rgba(139, 92, 246, 0.78), rgba(80, 194, 233, 0.68)),
    url("https://images.unsplash.com/photo-1566576912321-d58ddd7a6088?auto=format&fit=crop&w=420&q=58");
}

.stats-strip,
.section-shell,
.shop-layout,
.admin-shell {
  margin: 0 auto;
  width: min(1180px, calc(100% - 32px));
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 20px;
  background: rgba(22, 182, 217, 0.22);
  box-shadow: 0 18px 42px rgba(28, 88, 118, 0.1);
}

.stats-strip div {
  padding: 20px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
}

.stats-strip strong,
.stats-strip span {
  display: block;
}

.stats-strip span {
  margin-top: 4px;
  color: var(--muted);
}

.section-shell,
.admin-shell {
  padding: 72px 0 0;
}

.admin-shell {
  padding-top: 22px;
}

.categories-start {
  padding-top: clamp(34px, 6vw, 70px);
}

.category-video-strip {
  width: min(1180px, calc(100% - 32px));
  margin: clamp(18px, 4vw, 38px) auto 0;
}

.category-video-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.52), transparent 34%),
    linear-gradient(135deg, rgba(80, 194, 233, 0.24), rgba(58, 174, 217, 0.1));
  box-shadow: 0 20px 48px rgba(4, 63, 99, 0.14);
}

.category-video-frame img,
.category-video-frame video {
  display: block;
  width: 100%;
  max-height: 430px;
  aspect-ratio: 72 / 49;
  object-fit: cover;
  background: rgba(2, 24, 36, 0.08);
}

.category-video-frame video {
  cursor: pointer;
}

.category-video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: rgba(2, 24, 36, 0.08);
  backdrop-filter: blur(1px);
}

.category-video-play[hidden] {
  display: none;
}

.category-video-play svg {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  padding: 18px;
  fill: currentColor;
  filter: drop-shadow(0 16px 28px rgba(2, 24, 36, 0.32));
  background: rgba(58, 174, 217, 0.42);
  backdrop-filter: blur(14px);
}

.admin-page {
  min-height: calc(100vh - 86px);
  padding-bottom: 42px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.82), transparent 24%),
    radial-gradient(circle at 92% 4%, rgba(80, 194, 233, 0.34), transparent 28%),
    linear-gradient(135deg, rgba(80, 194, 233, 0.22), rgba(58, 174, 217, 0.1) 42%, rgba(255, 255, 255, 0.42));
}

.admin-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(18px, 3vw, 28px) 0 4px;
}

.admin-hero-actions {
  display: grid;
  justify-items: end;
  gap: 10px;
  min-width: min(360px, 100%);
}

.admin-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-top-action {
  display: inline-grid;
  grid-template-columns: 34px minmax(0, 1fr);
  min-height: 44px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(58, 174, 217, 0.18);
  border-radius: 999px;
  padding: 5px 13px 5px 6px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(231, 249, 255, 0.88)),
    var(--card);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 22px rgba(4, 46, 70, 0.1);
  font-size: 0.84rem;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.admin-top-action:hover,
.admin-top-action:focus-visible {
  border-color: rgba(58, 174, 217, 0.42);
  outline: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 16px 30px rgba(58, 174, 217, 0.18);
  transform: translateY(-1px);
}

.admin-top-action i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #50c2e9, #3aaed9);
  box-shadow: 0 8px 16px rgba(58, 174, 217, 0.24);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 950;
}

.admin-top-action span {
  min-width: 0;
}

.admin-priority-action {
  min-width: 150px;
  justify-content: center;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.34), transparent 42%),
    linear-gradient(135deg, #0c8fb5, #50c2e9);
  box-shadow: 0 16px 34px rgba(12, 143, 181, 0.24);
}

.admin-hero h1 {
  margin-bottom: 6px;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 0.95;
}

.admin-hero p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.35;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 24px;
  border-left: 5px solid rgba(255, 255, 255, 0.72);
  padding: 4px 0 6px 18px;
}

.section-heading .eyebrow,
.products-toolbar .eyebrow {
  color: #eefdff;
  font-size: 0.82rem;
  font-weight: 950;
  text-shadow: 0 2px 14px rgba(2, 50, 74, 0.34);
}

.section-heading h2,
.products-toolbar h2 {
  color: #ffffff;
  font-weight: 950;
  line-height: 1.04;
  text-shadow:
    0 3px 18px rgba(2, 46, 70, 0.42),
    0 0 28px rgba(80, 194, 233, 0.32);
}

.story-section .section-heading {
  max-width: 780px;
  border-left-color: rgba(255, 255, 255, 0.84);
}

.story-section .eyebrow {
  color: #f7feff;
}

.story-section h2 {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.02;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.category-card {
  position: relative;
  display: flex;
  min-height: 92px;
  overflow: hidden;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  isolation: isolate;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 12px;
  color: #fff;
  text-align: left;
  background-color: var(--brand-deep);
  background-position: center;
  background-size: cover;
  box-shadow: 0 12px 24px rgba(4, 46, 70, 0.12);
  animation: categoryCardIn 560ms ease both;
  animation-delay: calc(var(--category-index, 0) * 70ms);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease;
}

.category-card::before,
.category-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.category-card::before {
  inset: 0;
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(100deg, rgba(2, 18, 29, 0.82), rgba(2, 18, 29, 0.38) 62%, rgba(2, 18, 29, 0.22));
  transition: opacity 220ms ease;
}

.category-card::after {
  width: 88px;
  height: 88px;
  right: -30px;
  top: -30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  transform: scale(0.82);
  transition: transform 260ms ease;
}

.category-card:hover {
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 20px 42px rgba(4, 46, 70, 0.2),
    0 0 0 4px rgba(255, 255, 255, 0.14);
  filter: saturate(1.08);
  transform: translateY(-5px) scale(1.015);
}

.category-card:hover::after {
  transform: scale(1.18);
}

.category-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  order: 2;
}

.category-card b {
  display: block;
  font-size: 0.95rem;
  line-height: 1.12;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

.category-card small {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.62rem;
  font-weight: 850;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

.category-count {
  display: inline-flex;
  min-width: 38px;
  min-height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  order: 1;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(224, 247, 255, 0.84));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 10px 22px rgba(2, 18, 29, 0.2);
  color: #073449;
  font-size: 0.88rem;
  font-weight: 950;
  backdrop-filter: blur(14px);
}

.subcategory-picks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  padding: 11px;
  background:
    linear-gradient(135deg, rgba(80, 194, 233, 0.92), rgba(58, 174, 217, 0.78)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  box-shadow:
    0 16px 34px rgba(58, 174, 217, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(16px);
}

.products-area > .subcategory-picks {
  display: flex;
}

.mobile-subcategory-picks {
  display: none;
}

.subcategory-picks[hidden] {
  display: none;
}

.subcategory-chip {
  appearance: none;
  font-family: inherit;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  padding: 8px 14px;
  color: #073449;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 8px 18px rgba(4, 46, 70, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.subcategory-chip:hover {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 24px rgba(4, 46, 70, 0.18);
  transform: translateY(-1px);
}

.subcategory-chip.active {
  border-color: rgba(255, 255, 255, 0.86);
  color: #073449;
  background: linear-gradient(135deg, #ffffff, #e7f9ff);
  box-shadow:
    0 12px 24px rgba(4, 46, 70, 0.22),
    inset 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.subcategory-picks-label {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.42);
  padding: 0 14px 0 4px;
  color: #f7fdff;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(4, 46, 70, 0.22);
  white-space: nowrap;
}

@keyframes categoryCardIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-card {
    animation: none;
  }
}

.premium-search {
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: 0 0 18px;
  border: 1px solid rgba(80, 194, 233, 0.32);
  border-radius: 24px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(240, 251, 255, 0.88)),
    var(--panel);
  box-shadow: 0 18px 42px rgba(58, 174, 217, 0.14);
  backdrop-filter: blur(18px);
}

:root[data-theme="dark"] .premium-search {
  border-color: rgba(80, 194, 233, 0.22);
  background:
    linear-gradient(135deg, rgba(16, 36, 49, 0.9), rgba(12, 28, 38, 0.84)),
    var(--panel);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.premium-search h3 {
  margin: 0;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
}

.category-jewellery {
  background-image: linear-gradient(145deg, rgba(249, 185, 56, 0.9), rgba(20, 24, 31, 0.22)),
    url("https://images.unsplash.com/photo-1515562141207-7a88fb7ce338?auto=format&fit=crop&w=520&q=58");
}

.category-cosmetics {
  background-image: linear-gradient(145deg, rgba(255, 111, 145, 0.9), rgba(58, 174, 217, 0.32)),
    url("https://images.unsplash.com/photo-1596462502278-27bfdc403348?auto=format&fit=crop&w=520&q=58");
}

.category-dry-fruits {
  background-image: linear-gradient(145deg, rgba(61, 220, 151, 0.82), rgba(83, 47, 22, 0.28)),
    url("https://images.unsplash.com/photo-1599599810769-bcde5a160d32?auto=format&fit=crop&w=520&q=58");
}

.category-toys {
  background-image: linear-gradient(145deg, rgba(139, 92, 246, 0.84), rgba(80, 194, 233, 0.42)),
    url("https://images.unsplash.com/photo-1566576912321-d58ddd7a6088?auto=format&fit=crop&w=520&q=58");
}

.category-combo-offers {
  background-image: linear-gradient(145deg, rgba(255, 111, 145, 0.78), rgba(58, 174, 217, 0.62)),
    url("https://images.unsplash.com/photo-1513201099705-a9746e1e201f?auto=format&fit=crop&w=520&q=58");
}

.category-perfumes {
  background-image: linear-gradient(145deg, rgba(154, 116, 255, 0.72), rgba(255, 111, 145, 0.48)),
    url("https://images.unsplash.com/photo-1594035910387-fea47794261f?auto=format&fit=crop&w=520&q=58");
}

.category-books-learning,
.category-school-items {
  background-image: linear-gradient(145deg, rgba(58, 174, 217, 0.76), rgba(249, 185, 56, 0.42)),
    url("https://images.unsplash.com/photo-1512820790803-83ca734da794?auto=format&fit=crop&w=520&q=58");
}

.category-birthday-party {
  background-image: linear-gradient(145deg, rgba(255, 111, 145, 0.76), rgba(249, 185, 56, 0.54)),
    url("https://images.unsplash.com/photo-1513151233558-d860c5398176?auto=format&fit=crop&w=520&q=58");
}

.category-gift-items {
  background-image: linear-gradient(145deg, rgba(255, 111, 145, 0.78), rgba(249, 185, 56, 0.5)),
    url("https://images.unsplash.com/photo-1549465220-1a8b9238cd48?auto=format&fit=crop&w=520&q=58");
}

.category-bags-accessories {
  background-image: linear-gradient(145deg, rgba(20, 24, 31, 0.24), rgba(58, 174, 217, 0.58)),
    url("https://images.unsplash.com/photo-1590874103328-eac38a683ce7?auto=format&fit=crop&w=520&q=58");
}

.category-umbrellas-rainwear {
  background-image: linear-gradient(145deg, rgba(58, 174, 217, 0.86), rgba(61, 220, 151, 0.36)),
    url("https://images.unsplash.com/photo-1519692933481-e162a57d6721?auto=format&fit=crop&w=520&q=58");
}

.category-spices-masala {
  background-image: linear-gradient(145deg, rgba(210, 63, 35, 0.78), rgba(249, 185, 56, 0.48)),
    url("https://images.unsplash.com/photo-1596040033229-a9821ebd058d?auto=format&fit=crop&w=520&q=58");
}

.category-kids-collection {
  background-image: linear-gradient(145deg, rgba(139, 92, 246, 0.72), rgba(255, 111, 145, 0.52)),
    url("https://images.unsplash.com/photo-1515488042361-ee00e0ddd4e4?auto=format&fit=crop&w=520&q=58");
}

.category-stationery-items {
  background-image: linear-gradient(145deg, rgba(58, 174, 217, 0.78), rgba(249, 185, 56, 0.44)),
    url("https://images.unsplash.com/photo-1452860606245-08befc0ff44b?auto=format&fit=crop&w=520&q=58");
}

.category-general {
  background-image: linear-gradient(145deg, rgba(80, 194, 233, 0.84), rgba(255, 111, 145, 0.36)),
    url("https://images.unsplash.com/photo-1607083206968-13611e3d76db?auto=format&fit=crop&w=520&q=58");
}

.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, minmax(180px, auto));
  gap: 16px;
  overflow: hidden;
  isolation: isolate;
}

.story-panel {
  position: relative;
  display: flex;
  min-height: 188px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 18px;
  padding: 22px;
  color: #fff;
  background-size: cover;
  background-position: center;
  box-shadow:
    0 22px 54px rgba(4, 63, 99, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
  transition:
    opacity 260ms ease,
    transform 260ms ease,
    background-image 260ms ease;
  cursor: pointer;
}

.story-panel:hover {
  transform: translateY(-4px);
  box-shadow:
    0 26px 62px rgba(4, 63, 99, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.story-panel:focus-visible {
  outline: 3px solid rgba(249, 185, 56, 0.86);
  outline-offset: 4px;
}

.story-panel::before,
.story-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.story-panel::before {
  inset: 0;
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(4, 28, 42, 0.08), rgba(4, 28, 42, 0.62)),
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.26), transparent 26%),
    radial-gradient(circle at 92% 18%, rgba(249, 185, 56, 0.24), transparent 22%),
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.18) 52%, transparent 64%);
  transform: none;
}

.story-panel::after {
  top: 16px;
  right: 14px;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  opacity: 0;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.98) 0 10%, transparent 12%),
    conic-gradient(from 30deg, var(--gold), var(--rose), var(--brand), var(--mint), var(--gold));
  filter: blur(0.2px) drop-shadow(0 0 18px rgba(255, 255, 255, 0.72));
  transform: scale(0.2) rotate(0deg);
}

.story-panel.story-changing {
  animation: storyDriftLeft 1700ms cubic-bezier(0.22, 1, 0.36, 1) both;
  box-shadow:
    0 22px 48px rgba(80, 194, 233, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 0 34px rgba(255, 111, 145, 0.18);
}

.story-panel.story-changing::before {
  animation: storyColorSweep 1700ms ease both;
}

.story-panel.story-changing::after {
  animation: storyRightStrike 1700ms ease-out both;
}

.story-panel.story-changing:nth-child(2) {
  animation-delay: 120ms;
}

.story-panel.story-changing:nth-child(3) {
  animation-delay: 240ms;
}

@keyframes storyDriftLeft {
  0% {
    opacity: 0;
    transform: translateX(115%) scale(0.97);
  }

  28% {
    opacity: 1;
    transform: translateX(18px) scale(1.02);
  }

  46% {
    opacity: 1;
    transform: translateX(-12px) scale(1);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes storyColorSweep {
  0%,
  12% {
    opacity: 0;
    transform: translateX(58%);
  }

  25% {
    opacity: 0.95;
    transform: translateX(24%);
  }

  56% {
    opacity: 0.36;
    transform: translateX(-18%);
  }

  100% {
    opacity: 0;
    transform: translateX(-44%);
  }
}

@keyframes storyRightStrike {
  0%,
  16% {
    opacity: 0;
    transform: scale(0.18) rotate(0deg);
  }

  26% {
    opacity: 1;
    transform: scale(1.18) rotate(60deg);
  }

  38% {
    opacity: 0.82;
    transform: scale(0.72) rotate(120deg);
  }

  58% {
    opacity: 0.22;
    transform: scale(1.58) rotate(210deg);
  }

  100% {
    opacity: 0;
    transform: scale(2.1) rotate(300deg);
  }
}

.story-panel span {
  position: relative;
  z-index: 1;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.story-panel strong {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 560px;
  margin-top: 8px;
  font-size: clamp(1.25rem, 3vw, 2.15rem);
  line-height: 1.12;
}

.story-discount {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-grid;
  min-height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  padding: 0 13px;
  color: #fff;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.38), transparent 28%),
    linear-gradient(135deg, #ff6f91, #f9b938);
  box-shadow:
    0 12px 26px rgba(2, 44, 68, 0.3),
    0 0 26px rgba(255, 111, 145, 0.34);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  animation: offerBadgePulse 1800ms ease-in-out infinite;
}

.story-offer-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-top: 16px;
}

.story-detail,
.story-offer,
.story-timer {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  padding: 0 13px;
  box-shadow:
    0 10px 24px rgba(2, 44, 68, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.46);
  font-style: normal;
  font-weight: 950;
  backdrop-filter: blur(12px);
}

.story-detail {
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.26), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(80, 194, 233, 0.26));
  text-shadow: 0 1px 8px rgba(2, 44, 68, 0.3);
}

.story-offer {
  color: #062d42;
  background:
    radial-gradient(circle at 14% 16%, rgba(255, 255, 255, 0.96), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(204, 246, 255, 0.84));
}

.story-timer {
  color: #fff;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(135deg, rgba(58, 174, 217, 0.92), rgba(12, 143, 181, 0.92));
  text-shadow: 0 1px 8px rgba(2, 44, 68, 0.28);
}

@keyframes offerBadgePulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }
}

.story-large,
.story-festival {
  grid-row: span 2;
  background-image: linear-gradient(145deg, rgba(23, 33, 43, 0.18), rgba(58, 174, 217, 0.7)),
    url("https://images.unsplash.com/photo-1607082348824-0a96f2a4b9da?auto=format&fit=crop&w=560&q=58");
}

.story-beauty {
  background-image: linear-gradient(145deg, rgba(255, 111, 145, 0.88), rgba(23, 33, 43, 0.24)),
    url("https://images.unsplash.com/photo-1522335789203-aabd1fc54bc9?auto=format&fit=crop&w=520&q=58");
}

.story-play {
  background-image: linear-gradient(145deg, rgba(139, 92, 246, 0.8), rgba(58, 174, 217, 0.62)),
    url("https://images.unsplash.com/photo-1515488042361-ee00e0ddd4e4?auto=format&fit=crop&w=520&q=58");
}

.story-combo {
  background-image: linear-gradient(145deg, rgba(255, 111, 145, 0.72), rgba(58, 174, 217, 0.76)),
    url("https://images.unsplash.com/photo-1512496015851-a90fb38ba796?auto=format&fit=crop&w=560&q=58");
}

.story-dryfruit {
  background-image: linear-gradient(145deg, rgba(61, 220, 151, 0.78), rgba(249, 185, 56, 0.42)),
    url("https://images.unsplash.com/photo-1600555844726-0e3a81f2ee1b?auto=format&fit=crop&w=520&q=58");
}

.story-arrivals {
  background-image: linear-gradient(145deg, rgba(80, 194, 233, 0.82), rgba(139, 92, 246, 0.55)),
    url("https://images.unsplash.com/photo-1611652022419-a9419f74343d?auto=format&fit=crop&w=520&q=58");
}

.story-birthday {
  background-image: linear-gradient(145deg, rgba(139, 92, 246, 0.76), rgba(255, 111, 145, 0.62)),
    url("https://images.unsplash.com/photo-1566576912321-d58ddd7a6088?auto=format&fit=crop&w=560&q=58");
}

.story-premium {
  background-image: linear-gradient(145deg, rgba(249, 185, 56, 0.76), rgba(23, 33, 43, 0.3)),
    url("https://images.unsplash.com/photo-1515562141207-7a88fb7ce338?auto=format&fit=crop&w=520&q=58");
}

.story-budget {
  background-image: linear-gradient(145deg, rgba(58, 174, 217, 0.78), rgba(61, 220, 151, 0.48)),
    url("https://images.unsplash.com/photo-1607083206968-13611e3d76db?auto=format&fit=crop&w=520&q=58");
}

.shop-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  padding-top: 44px;
  align-items: start;
}

.filters-panel,
.admin-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 16px 36px rgba(24, 47, 66, 0.07);
}

.filters-panel {
  position: sticky;
  top: 88px;
  padding: 18px;
}

.filter-header,
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.filter-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.popup-close-button {
  min-width: 36px;
  min-height: 36px;
  border-radius: 999px;
}

.field,
.sort-field {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: var(--control-ink);
  font-size: 0.86rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--control);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(80, 194, 233, 0.14);
}

.search-box {
  position: relative;
}

.search-box input {
  min-height: 58px;
  border-radius: 18px;
  padding: 12px 52px 12px 18px;
  border-color: rgba(80, 194, 233, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(238, 251, 255, 0.96)),
    var(--control);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 14px 30px rgba(58, 174, 217, 0.14);
  font-weight: 800;
}

:root[data-theme="dark"] .search-box input {
  background:
    linear-gradient(135deg, rgba(12, 28, 38, 0.96), rgba(16, 40, 54, 0.94)),
    var(--control);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 30px rgba(0, 0, 0, 0.24);
}

.search-clear {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--brand-deep);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 900;
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 220;
  display: grid;
  gap: 6px;
  max-height: 340px;
  overflow: auto;
  border: 1px solid rgba(80, 194, 233, 0.34);
  border-radius: 16px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 42px rgba(18, 51, 66, 0.16);
  backdrop-filter: blur(16px);
}

.search-suggestions[hidden] {
  display: none;
}

.header-search-suggestions {
  top: calc(100% + 10px);
  right: auto;
  left: 0;
  width: min(380px, 86vw);
  border-color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.78), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(231, 250, 255, 0.96));
  box-shadow: 0 24px 52px rgba(2, 44, 68, 0.22);
}

.search-suggestions button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 12px;
  padding: 9px 10px;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.search-suggestions button:hover,
.search-suggestions button:focus {
  background: var(--soft);
  outline: none;
}

.header-search-suggestions button:hover,
.header-search-suggestions button:focus {
  background: rgba(80, 194, 233, 0.12);
}

.search-suggestions strong,
.search-suggestions small {
  display: block;
}

.search-suggestions small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
}

.search-suggestions b {
  border-radius: 999px;
  padding: 4px 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  font-size: 0.66rem;
  text-transform: uppercase;
}

:root[data-theme="dark"] .search-suggestions,
:root[data-theme="dark"] .header-search-suggestions,
:root[data-theme="dark"] .floating-search-suggestions {
  color: #edf7fb;
  border-color: rgba(80, 194, 233, 0.28);
  background:
    radial-gradient(circle at 16% 0%, rgba(80, 194, 233, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(13, 35, 48, 0.98), rgba(6, 23, 34, 0.96));
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.34);
}

:root[data-theme="dark"] .search-suggestions button {
  color: #edf7fb;
  background: rgba(16, 47, 61, 0.66);
}

:root[data-theme="dark"] .search-suggestions button:hover,
:root[data-theme="dark"] .search-suggestions button:focus {
  background: rgba(80, 194, 233, 0.16);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--control-ink);
  background: var(--control);
  font-size: 0.84rem;
  font-weight: 800;
}

.chip.active {
  color: #fff;
  border-color: var(--brand-deep);
  background: var(--brand-deep);
}

.products-toolbar {
  position: relative;
  z-index: 45;
  margin-bottom: 10px;
  border-left: 5px solid rgba(255, 255, 255, 0.66);
  padding-left: 14px;
}

.products-toolbar h2 {
  margin-bottom: 0;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.products-toolbar .sort-field {
  color: #f7feff;
  text-shadow: 0 2px 12px rgba(2, 50, 74, 0.24);
}

.sort-field {
  position: relative;
  z-index: 60;
  width: min(210px, 42vw);
  margin-top: 0;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  padding: 3px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.22)),
    linear-gradient(135deg, #50c2e9, #3aaed9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 14px 30px rgba(2, 44, 68, 0.18),
    0 0 0 4px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.sort-field::after {
  content: "";
  position: absolute;
  right: 17px;
  top: 18px;
  width: 9px;
  height: 9px;
  pointer-events: none;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  filter: drop-shadow(0 1px 4px rgba(2, 44, 68, 0.32));
  transform: rotate(45deg);
}

.sort-field span {
  pointer-events: none;
}

.native-sort-select {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.sort-trigger {
  display: inline-flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: flex-start;
  border: 0;
  border-radius: 999px;
  padding: 8px 36px 8px 12px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.4), transparent 38%),
    linear-gradient(135deg, #50c2e9, #3aaed9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 10px 22px rgba(2, 44, 68, 0.18);
  font-size: 0.86rem;
  font-weight: 950;
  text-align: left;
  text-shadow: 0 1px 8px rgba(2, 44, 68, 0.28);
}

:root[data-theme="dark"] .sort-trigger {
  color: #fff;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.18), transparent 38%),
    linear-gradient(135deg, #50c2e9, #3aaed9);
}

.sort-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 140;
  display: grid;
  width: min(260px, 72vw);
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 18px;
  padding: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.64), transparent 34%),
    linear-gradient(135deg, rgba(240, 252, 255, 0.96), rgba(222, 247, 255, 0.92));
  box-shadow: 0 22px 48px rgba(2, 44, 68, 0.22);
  backdrop-filter: blur(18px);
}

.sort-menu button {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid rgba(80, 194, 233, 0.18);
  border-radius: 12px;
  padding: 0 12px;
  color: #087fa8;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 900;
  text-align: left;
}

.sort-menu button:hover,
.sort-menu button[aria-selected="true"] {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.68);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.3), transparent 38%),
    linear-gradient(135deg, #50c2e9, #3aaed9);
  box-shadow: 0 10px 20px rgba(58, 174, 217, 0.22);
}

:root[data-theme="dark"] .sort-menu {
  border-color: rgba(80, 194, 233, 0.28);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(13, 35, 48, 0.96), rgba(6, 23, 34, 0.94));
}

:root[data-theme="dark"] .sort-menu button {
  color: #e8f9ff;
  border-color: rgba(80, 194, 233, 0.24);
  background: rgba(16, 47, 61, 0.86);
}

.mobile-filter-row {
  display: none;
  margin-bottom: 10px;
}

.mobile-shop-controls {
  display: none;
}

.mobile-tool-button {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  padding: 0 14px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.36), transparent 38%),
    linear-gradient(135deg, #50c2e9, #3aaed9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 10px 22px rgba(2, 44, 68, 0.18);
  font-weight: 950;
  text-align: center;
}

.mobile-custom-filter-row {
  display: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.load-more-button {
  width: min(280px, 100%);
  margin: 22px auto 0;
}

.load-more-button:disabled {
  cursor: default;
  color: var(--muted);
  border-color: var(--line);
  background: var(--surface);
}

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 255, 0.95), transparent 28%),
    radial-gradient(circle at 92% 0%, rgba(80, 194, 233, 0.26), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(226, 249, 255, 0.84) 46%, rgba(196, 240, 255, 0.72)),
    var(--card);
  box-shadow:
    0 18px 38px rgba(4, 63, 99, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
  content-visibility: auto;
  contain-intrinsic-size: 360px 520px;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.34) 50%, transparent 60%),
    radial-gradient(circle at 95% 88%, rgba(249, 185, 56, 0.16), transparent 26%);
  opacity: 0.86;
}

.product-card > * {
  position: relative;
  z-index: 1;
}

.product-card:hover {
  border-color: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 26px 58px rgba(4, 63, 99, 0.22),
    0 0 0 4px rgba(80, 194, 233, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transform: translateY(-4px);
}

:root[data-theme="dark"] .product-card {
  color: #edf7fb;
  border-color: rgba(80, 194, 233, 0.24);
  background:
    radial-gradient(circle at 16% 8%, rgba(80, 194, 233, 0.18), transparent 30%),
    radial-gradient(circle at 92% 0%, rgba(139, 92, 246, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(17, 45, 59, 0.96), rgba(10, 28, 39, 0.92) 54%, rgba(8, 22, 32, 0.96)),
    var(--card);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .product-card::before {
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(80, 194, 233, 0.1) 50%, transparent 60%),
    radial-gradient(circle at 95% 88%, rgba(249, 185, 56, 0.08), transparent 26%);
}

:root[data-theme="dark"] .product-media {
  background:
    radial-gradient(circle at 82% 12%, rgba(80, 194, 233, 0.18), transparent 28%),
    linear-gradient(135deg, #102f3d, #071923);
}

:root[data-theme="dark"] .stock-pill,
:root[data-theme="dark"] .product-tags span,
:root[data-theme="dark"] .product-perks span {
  color: #d8f5ff;
  border-color: rgba(80, 194, 233, 0.26);
  background: rgba(80, 194, 233, 0.13);
}

.product-open {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
}

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.36), transparent 28%),
    linear-gradient(135deg, #eefdff, #dff7ff);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 220ms ease;
}

.product-media-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.product-media-track img {
  width: 100%;
  height: 100%;
}

.product-media-gallery .product-media-track img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  filter: saturate(0.94) brightness(0.98);
  animation: productGalleryPulseFade calc(var(--slide-count) * 1250ms) ease-in-out infinite;
  animation-delay: calc(var(--slide-index) * 1250ms);
  will-change: opacity, transform, filter;
}

.gallery-count {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  min-width: 28px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #123342;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 950;
  backdrop-filter: blur(12px);
}

@keyframes productGalleryPulseFade {
  0%,
  100% {
    opacity: 0;
    transform: scale(1.04);
    filter: saturate(0.94) brightness(0.98);
  }

  8%,
  72% {
    opacity: 1;
    transform: scale(1);
    filter: saturate(1.06) brightness(1.02);
  }

  86% {
    opacity: 0;
    transform: scale(1.025);
    filter: saturate(1) brightness(1);
  }
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

.badge {
  position: absolute;
  left: 12px;
  top: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  color: #fff;
  background: var(--rose);
  font-size: 0.76rem;
  font-weight: 900;
}

.quick-view {
  position: absolute;
  right: 12px;
  bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 6px 10px;
  color: #123342;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(18, 51, 66, 0.12);
  font-size: 0.72rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.product-body {
  display: grid;
  gap: 10px;
  padding: 15px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08));
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-meta {
  color: var(--brand-deep);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stock-pill {
  border-radius: 999px;
  padding: 5px 8px;
  color: #137891;
  background: rgba(80, 194, 233, 0.14);
  font-size: 0.68rem;
  font-weight: 900;
  white-space: nowrap;
}

.product-title {
  min-height: 44px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.24;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 0;
}

.mini-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
}

.mini-rating b {
  color: var(--ink);
  font-size: 0.74rem;
}

.mini-rating small {
  color: var(--muted);
  font-size: 0.72rem;
}

.product-summary {
  display: -webkit-box;
  min-height: 42px;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.star-on {
  color: #f7b733;
}

.star-off {
  color: #cbd5df;
}

.price-row strong {
  font-size: 1.08rem;
}

.price-row s {
  color: #98a2b3;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 28px;
}

.product-tags span {
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--control-ink);
  background: var(--soft);
  font-size: 0.72rem;
  font-weight: 800;
}

.product-perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.product-perks span {
  min-height: 32px;
  border: 1px solid rgba(80, 194, 233, 0.22);
  border-radius: 10px;
  padding: 8px;
  color: var(--control-ink);
  background: rgba(238, 251, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
}

.product-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.product-view-button,
.product-share-button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  font-weight: 900;
}

.product-view-button {
  color: #fff;
  background: linear-gradient(135deg, #50c2e9, #3aaed9);
  box-shadow: 0 14px 30px rgba(58, 174, 217, 0.22);
}

.product-share-button {
  display: inline-flex;
  width: auto;
  min-width: 92px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(80, 194, 233, 0.34);
  color: #075d80;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.92), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(231, 249, 255, 0.86));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 12px 24px rgba(58, 174, 217, 0.14);
}

.product-share-button svg,
.detail-share-action svg,
.detail-share-floating svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.empty-state {
  padding: 28px;
  border: 1px dashed #b7ddeb;
  border-radius: 18px;
  text-align: center;
  color: var(--muted);
  background: var(--soft);
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 12px;
}

.admin-single-grid,
.admin-form-page {
  width: min(100%, 920px);
  margin: 0 auto;
}

.admin-smart-upload {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px dashed rgba(12, 143, 181, 0.42);
  border-radius: 16px;
  padding: 14px;
  color: var(--control-ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.84), transparent 38%),
    linear-gradient(135deg, rgba(80, 194, 233, 0.16), rgba(255, 255, 255, 0.78));
  cursor: pointer;
}

.admin-smart-upload input {
  width: 48px;
  min-height: 48px;
  opacity: 0;
}

.admin-smart-upload::before {
  content: "+";
  display: grid;
  width: 48px;
  height: 48px;
  grid-column: 1;
  grid-row: 1;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #0c8fb5, #50c2e9);
  font-size: 1.8rem;
  font-weight: 950;
}

.admin-smart-upload span {
  display: grid;
  gap: 3px;
}

.admin-smart-upload small {
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-image-preview {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  border: 1px solid rgba(58, 174, 217, 0.18);
  border-radius: 14px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.admin-image-preview img {
  width: 86px;
  aspect-ratio: 1;
  border-radius: 12px;
  object-fit: cover;
}

.admin-image-preview span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-upload-section {
  display: grid;
  gap: 10px;
  border: 1px dashed rgba(12, 143, 181, 0.34);
  border-radius: 16px;
  padding: 12px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.84), transparent 38%),
    linear-gradient(135deg, rgba(80, 194, 233, 0.14), rgba(255, 255, 255, 0.78));
}

.admin-upload-section small {
  color: var(--muted);
}

.admin-upload-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.admin-upload-slot {
  position: relative;
  display: grid;
  overflow: hidden;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(58, 174, 217, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  cursor: pointer;
}

.admin-upload-slot input {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  cursor: pointer;
}

.admin-upload-slot span {
  color: #0c8fb5;
  font-size: 2rem;
  font-weight: 950;
}

.admin-upload-slot img {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-upload-slot.has-image img {
  display: block;
}

.admin-upload-slot.has-image span {
  display: none;
}

.admin-product-success {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 95;
  display: grid;
  gap: 4px;
  width: min(360px, calc(100% - 36px));
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  padding: 14px;
  color: #07384e;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.9), transparent 38%),
    linear-gradient(135deg, #d8fbff, #ffffff 54%, #ffe4ed);
  box-shadow: 0 22px 54px rgba(3, 51, 74, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.98);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.admin-product-success.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.admin-product-success::before {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: -1;
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 111, 145, 0.28), transparent 18%),
    radial-gradient(circle at 72% 18%, rgba(249, 185, 56, 0.28), transparent 18%),
    radial-gradient(circle at 84% 78%, rgba(80, 194, 233, 0.26), transparent 18%);
  animation: successPop 900ms ease both;
}

.admin-product-success strong,
.admin-product-success span,
.admin-product-success a {
  position: relative;
  z-index: 1;
}

.admin-product-success a {
  margin-top: 4px;
  color: #0c8fb5;
  font-weight: 950;
}

.admin-install-prompt {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 180;
  width: min(430px, calc(100% - 36px));
}

.admin-install-prompt section {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  padding: 14px;
  color: #07384e;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.92), transparent 38%),
    linear-gradient(135deg, #d8fbff, #ffffff 54%, #e6f8ff);
  box-shadow: 0 22px 54px rgba(3, 51, 74, 0.22);
  backdrop-filter: blur(18px);
}

.admin-install-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #0c8fb5, #50c2e9);
  box-shadow: 0 14px 28px rgba(12, 143, 181, 0.24);
  font-size: 1.45rem;
  font-weight: 950;
}

.admin-install-prompt h2 {
  margin: 0 0 4px;
  font-size: 1.08rem;
}

.admin-install-prompt p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.admin-install-actions {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.admin-install-actions .primary-action,
.admin-install-actions .secondary-action {
  min-height: 40px;
  border-radius: 12px;
  padding: 0 12px;
}

@keyframes successPop {
  0% {
    opacity: 0;
    transform: scale(0.7) rotate(-4deg);
  }

  55% {
    opacity: 1;
    transform: scale(1.04) rotate(2deg);
  }

  100% {
    opacity: 0.78;
    transform: scale(1) rotate(0);
  }
}

.admin-single-grid {
  width: 100%;
}

.admin-ops-strip {
  position: sticky;
  top: 86px;
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 18px;
  padding: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(232, 250, 255, 0.84)),
    var(--panel);
  box-shadow: 0 14px 32px rgba(12, 91, 122, 0.11);
  backdrop-filter: blur(18px);
}

.admin-ops-strip a,
.admin-ops-strip button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(58, 174, 217, 0.2);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--control-ink);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 950;
}

.admin-ops-strip .admin-ops-primary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.54);
  background: linear-gradient(135deg, #0c8fb5, #50c2e9);
  box-shadow: 0 10px 22px rgba(12, 143, 181, 0.18);
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.admin-stat-sections {
  display: grid;
  gap: 14px;
}

.admin-stat-sections > section {
  border: 1px solid rgba(58, 174, 217, 0.12);
  border-radius: 18px;
  padding: 12px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.82), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(232, 250, 255, 0.48));
  box-shadow: 0 12px 28px rgba(4, 46, 70, 0.08);
}

.admin-stat-sections .admin-kpi-grid {
  margin-bottom: 0;
}

.admin-stat-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.admin-stat-heading span {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 950;
}

.admin-stat-heading small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-kpi {
  min-height: 84px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(238, 252, 255, 0.88)),
    var(--panel);
  box-shadow: 0 14px 32px rgba(12, 91, 122, 0.1);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.admin-kpi:hover,
.admin-kpi:focus-visible {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 42px rgba(12, 91, 122, 0.16);
  outline: 0;
  transform: translateY(-3px);
}

.admin-kpi span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-kpi strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  line-height: 1;
}

.admin-kpi-wide strong {
  overflow: hidden;
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  line-height: 1.14;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-section-grid {
  margin-top: 12px;
}

.admin-card {
  padding: 14px;
  border-color: rgba(255, 255, 255, 0.62);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.78), rgba(239, 252, 255, 0.9)),
    var(--panel);
  box-shadow: 0 14px 32px rgba(12, 91, 122, 0.09);
}

.admin-page .field,
.admin-page .sort-field {
  gap: 5px;
  margin-top: 9px;
  font-size: 0.78rem;
}

.admin-page input,
.admin-page select,
.admin-page textarea {
  min-height: 38px;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.84rem;
}

.admin-page textarea {
  min-height: 74px;
}

.admin-page h3 {
  font-size: 1.02rem;
  line-height: 1.15;
}

.admin-page .eyebrow {
  font-size: 0.68rem;
}

.admin-page .primary-action,
.admin-page .secondary-action,
.admin-page .text-button {
  min-height: 38px;
}

.admin-card-title,
.admin-manager-actions,
.admin-toolbar,
.manager-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-card-title,
.admin-manager-actions {
  justify-content: space-between;
}

.admin-card-title {
  margin-bottom: 10px;
}

.admin-status {
  border: 1px solid rgba(80, 194, 233, 0.24);
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--muted);
  background: var(--soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0;
  color: var(--control-ink);
  font-weight: 800;
}

.toggle-row input {
  width: auto;
  min-height: auto;
}

.admin-stack {
  display: grid;
  gap: 12px;
}

.compact-form .secondary-action {
  width: 100%;
  margin-top: 10px;
}

.product-manager {
  margin-top: 12px;
}

.admin-grid > .product-manager,
.admin-workspace-card {
  margin-top: 0;
}

.admin-workspace-card {
  min-height: 100%;
}

.admin-toolbar {
  align-items: end;
  margin: 10px 0;
}

.admin-toolbar .field {
  flex: 1 1 180px;
}

.admin-token-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 9px 0 2px;
}

.admin-token-list span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(58, 174, 217, 0.34);
  border-radius: 999px;
  padding: 4px 5px 4px 10px;
  color: #075d80;
  background: rgba(80, 194, 233, 0.12);
  font-size: 0.76rem;
  font-weight: 900;
}

.admin-token-list button {
  min-width: 24px;
  min-height: 24px;
  border: 0;
  border-radius: 999px;
  color: #0a5573;
  background: rgba(255, 255, 255, 0.68);
  font-weight: 900;
  cursor: pointer;
}

.manager-list {
  display: grid;
  gap: 8px;
}

.manager-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px;
  border: 1px solid rgba(58, 174, 217, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
}

.manager-item img,
.manager-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
}

.manager-copy {
  min-width: 0;
}

.manager-thumb-stack {
  position: relative;
  overflow: hidden;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--soft);
}

.manager-thumb-stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.manager-thumb-stack.is-animated img {
  opacity: 0;
  transform: scale(1.04);
  animation: productGalleryPulseFade calc(var(--slide-count) * 1150ms) ease-in-out infinite;
  animation-delay: calc(var(--slide-index) * 1150ms);
}

.manager-thumb-stack span {
  position: absolute;
  right: 4px;
  bottom: 4px;
  display: grid;
  min-width: 18px;
  min-height: 18px;
  place-items: center;
  border-radius: 999px;
  color: #123342;
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.62rem;
  font-weight: 950;
}

@media (prefers-reduced-motion: reduce) {
  .product-media-gallery .product-media-track img,
  .manager-thumb-stack.is-animated img {
    animation: none;
  }
}

.manager-item strong,
.manager-item span {
  display: block;
}

.manager-item strong {
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manager-item span {
  color: var(--muted);
  font-size: 0.8rem;
}

.manager-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}

.manager-item small,
.manager-item em {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.74rem;
  font-style: normal;
}

.manager-badges small {
  margin-top: 0;
  border: 1px solid rgba(80, 194, 233, 0.22);
  border-radius: 999px;
  padding: 3px 7px;
  color: #087fa8;
  background: rgba(238, 251, 255, 0.86);
  font-size: 0.66rem;
  font-weight: 900;
}

.danger-text {
  color: #b42318;
}

.toggle-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 9px 0;
  color: var(--control-ink);
  font-weight: 850;
}

.admin-ai-toggle {
  justify-content: space-between;
  border: 1px solid rgba(58, 174, 217, 0.18);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.62);
}

.admin-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.admin-action-tile {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  min-height: 82px;
  overflow: hidden;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(58, 174, 217, 0.16);
  border-radius: 16px;
  padding: 12px;
  color: var(--ink);
  text-align: left;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(231, 249, 255, 0.88)),
    var(--card);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 26px rgba(4, 46, 70, 0.1);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.admin-action-tile:hover,
.admin-action-tile:focus-visible,
.admin-action-tile.active {
  outline: 0;
  border-color: rgba(58, 174, 217, 0.38);
  background:
    radial-gradient(circle at 100% 0%, rgba(80, 194, 233, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(223, 248, 255, 0.94));
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 18px 34px rgba(58, 174, 217, 0.18);
}

.admin-action-tile span {
  grid-column: 3;
  grid-row: 1 / span 3;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(58, 174, 217, 0.16);
  border-radius: 999px;
  color: #087fa8;
  background: rgba(80, 194, 233, 0.1);
  font-size: 0.68rem;
  font-weight: 950;
}

.admin-action-tile i {
  display: grid;
  grid-column: 1;
  grid-row: 1 / span 3;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #50c2e9, #3aaed9);
  box-shadow: 0 10px 20px rgba(58, 174, 217, 0.24);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 950;
}

.admin-action-tile strong {
  grid-column: 2;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.12;
}

.admin-action-tile small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.admin-action-panel {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.9), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(232, 250, 255, 0.72));
  box-shadow: 0 16px 34px rgba(4, 46, 70, 0.1);
  overflow: hidden;
}

.admin-action-panel + .admin-action-panel {
  margin-top: 10px;
}

.admin-action-panel[open] {
  display: block;
}

.admin-action-panel summary {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.admin-action-panel summary::-webkit-details-marker {
  display: none;
}

.admin-action-panel summary::after {
  content: "+";
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #50c2e9, #3aaed9);
  box-shadow: 0 10px 22px rgba(58, 174, 217, 0.22);
  font-size: 1.15rem;
  font-weight: 950;
}

.admin-action-panel[open] summary::after {
  content: "-";
}

.admin-action-panel summary span,
.admin-action-panel summary small {
  display: block;
  min-width: 0;
}

.admin-action-panel summary span {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
}

.admin-action-panel summary small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.admin-action-panel > .admin-card {
  border: 0;
  border-top: 1px solid rgba(58, 174, 217, 0.14);
  border-radius: 0;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.5);
}

.admin-wide-panel {
  margin-top: 12px;
}

.toggle-line input {
  width: auto;
  min-height: auto;
}

.admin-order-icon,
.admin-user-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #50c2e9, #3aaed9);
  font-weight: 950;
}

.admin-user-avatar {
  border-radius: 999px;
}

.admin-order-item select {
  min-width: 160px;
  min-height: 36px;
  border: 1px solid rgba(58, 174, 217, 0.24);
  border-radius: 12px;
  padding: 0 10px;
  color: var(--control-ink);
  background: var(--control);
  font-weight: 850;
}

.admin-order-item {
  cursor: pointer;
}

.admin-order-item:hover,
.admin-order-item:focus-visible {
  border-color: rgba(58, 174, 217, 0.38);
  outline: 0;
  box-shadow: 0 14px 32px rgba(12, 91, 122, 0.12);
}

.admin-order-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.85fr);
  gap: 14px;
  margin: 14px 0 18px;
}

.admin-order-detail-grid h4 {
  margin-bottom: 10px;
}

.admin-order-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.admin-order-detail-head h2 {
  margin-bottom: 4px;
}

.admin-order-detail-head > div:first-child > span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.admin-order-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 16px;
}

.admin-order-summary-strip > div,
.admin-order-detail-card,
.admin-tracking-card {
  border: 1px solid rgba(58, 174, 217, 0.18);
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.86), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(232, 250, 255, 0.72));
  box-shadow: 0 12px 28px rgba(4, 46, 70, 0.08);
}

.admin-order-summary-strip > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 11px;
}

.admin-order-summary-strip span,
.admin-tracking-card small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-order-summary-strip strong,
.admin-tracking-card strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.9rem;
}

.admin-order-detail-card {
  padding: 14px;
}

.admin-tracking-card {
  display: grid;
  gap: 5px;
  padding: 13px;
}

.admin-tracking-card span {
  color: #087fa8;
  font-weight: 850;
}

.admin-order-items-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 10px;
}

.admin-order-items-head span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.admin-order-items {
  display: grid;
  gap: 9px;
}

.admin-order-product-row {
  grid-template-columns: 68px minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.admin-order-product-row > span {
  min-width: 0;
}

.admin-order-product-main {
  display: grid;
  gap: 4px;
}

.admin-order-product-main strong {
  white-space: normal;
}

.admin-order-product-main span {
  color: #087fa8;
  font-size: 0.78rem;
  font-weight: 900;
}

.admin-order-product-main small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.admin-order-product-main em {
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
}

.admin-order-product-price {
  display: grid;
  gap: 4px;
  justify-items: end;
  text-align: right;
}

.admin-order-product-price small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
}

.admin-order-product-price b {
  color: #075d80;
  font-size: 0.95rem;
}

.admin-order-item-photo {
  width: 68px;
  height: 68px;
  border: 1px solid rgba(58, 174, 217, 0.18);
  border-radius: 16px;
  object-fit: cover;
  background: var(--soft);
}

.admin-order-item-mark {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #50c2e9, #3aaed9);
  font-weight: 950;
}

.admin-detail-status {
  margin-bottom: 12px;
}

.admin-email-search {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-email-search input {
  min-height: 42px;
  border: 1px solid rgba(58, 174, 217, 0.24);
  border-radius: 13px;
  padding: 0 12px;
  color: var(--control-ink);
  background: var(--control);
}

.admin-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.admin-insight-grid section {
  min-width: 0;
  border: 1px solid rgba(58, 174, 217, 0.16);
  border-radius: 14px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.58);
}

.admin-insight-grid h4 {
  margin-bottom: 8px;
}

.admin-mini-list {
  display: grid;
  gap: 7px;
}

.admin-mini-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(58, 174, 217, 0.14);
  border-radius: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.admin-mini-list strong,
.admin-mini-list span {
  min-width: 0;
}

.admin-mini-list span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: right;
}

.admin-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(5, 35, 49, 0.48);
  backdrop-filter: blur(12px);
}

.admin-detail-modal.open {
  display: flex;
}

.admin-detail-panel {
  position: relative;
  width: min(820px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  padding: clamp(20px, 4vw, 34px);
  background:
    radial-gradient(circle at 12% 0%, rgba(80, 194, 233, 0.2), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(232, 250, 255, 0.92));
  box-shadow: 0 28px 80px rgba(3, 39, 57, 0.3);
  overscroll-behavior: contain;
}

.admin-detail-panel h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.admin-detail-value {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  margin: 8px 0 18px;
  border: 1px solid rgba(58, 174, 217, 0.24);
  border-radius: 999px;
  padding: 0 16px;
  color: #075d80;
  background: rgba(80, 194, 233, 0.14);
  font-size: 1.1rem;
  font-weight: 950;
}

.admin-detail-list {
  display: grid;
  gap: 10px;
}

.admin-detail-list > div {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(58, 174, 217, 0.16);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.7);
}

.admin-detail-product-row {
  display: grid;
  gap: 4px;
  width: 100%;
  border: 1px solid rgba(58, 174, 217, 0.16);
  border-radius: 14px;
  padding: 12px;
  color: var(--ink);
  text-align: left;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.admin-detail-product-row:hover,
.admin-detail-product-row:focus-visible {
  border-color: rgba(58, 174, 217, 0.42);
  outline: 0;
  box-shadow: 0 12px 28px rgba(12, 91, 122, 0.12);
}

.admin-detail-list strong,
.admin-detail-list span,
.admin-detail-list small,
.admin-detail-product-row strong,
.admin-detail-product-row span,
.admin-detail-product-row small {
  display: block;
}

.admin-detail-list span,
.admin-detail-list small,
.admin-detail-product-row span,
.admin-detail-product-row small {
  color: var(--muted);
}

.admin-product-detail {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-product-detail img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(58, 174, 217, 0.18);
  border-radius: 18px;
  object-fit: cover;
  background: var(--soft);
}

.admin-detail-edit {
  width: 100%;
  margin-top: 14px;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 170;
  display: none;
  justify-content: flex-end;
  background: rgba(15, 23, 42, 0.38);
}

.product-modal,
.combo-modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(15, 23, 42, 0.46);
}

.product-modal.open,
.combo-modal.open {
  display: flex;
}

.combo-detail-panel {
  position: relative;
  width: min(1060px, 100%);
  max-height: min(860px, 92vh);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.product-detail-panel {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: auto;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.82), transparent 30%),
    radial-gradient(circle at 92% 12%, rgba(80, 194, 233, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(238, 251, 255, 0.98), rgba(255, 255, 255, 0.98));
}

:root[data-theme="dark"] .product-detail-panel {
  background:
    radial-gradient(circle at 12% 0%, rgba(80, 194, 233, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(10, 29, 40, 0.98), rgba(7, 20, 30, 0.98));
}

.combo-detail-panel {
  width: min(920px, 100%);
  border-color: rgba(255, 255, 255, 0.58);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 251, 255, 0.92)),
    radial-gradient(circle at 10% 10%, rgba(249, 185, 56, 0.26), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(255, 111, 145, 0.18), transparent 30%);
}

:root[data-theme="dark"] .combo-detail-panel {
  background:
    linear-gradient(135deg, rgba(12, 37, 48, 0.98), rgba(8, 24, 34, 0.96)),
    radial-gradient(circle at 10% 10%, rgba(249, 185, 56, 0.18), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(255, 111, 145, 0.16), transparent 30%);
}

.detail-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 4;
  border: 1px solid rgba(80, 194, 233, 0.34);
  color: #075d80;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.78), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(232, 250, 255, 0.88));
  box-shadow: 0 14px 32px rgba(2, 44, 68, 0.18);
  backdrop-filter: blur(14px);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.98fr) minmax(0, 1.02fr);
  gap: clamp(14px, 2.4vw, 28px);
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  align-items: center;
  margin: 0;
  padding: 0 clamp(14px, 3vw, 34px) 24px 0;
}

.combo-detail-hero {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.combo-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(3, 31, 46, 0.82), rgba(3, 31, 46, 0.34)),
    radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.28), transparent 26%),
    linear-gradient(135deg, rgba(80, 194, 233, 0.38), rgba(255, 111, 145, 0.24));
}

.combo-detail-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  min-height: 280px;
  max-width: 720px;
  padding: 30px;
}

.combo-detail-copy h2 {
  max-width: 620px;
  margin: 8px 46px 10px 0;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.96;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.combo-detail-copy p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
}

.combo-detail-pills,
.combo-items {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.combo-detail-pills span,
.combo-items span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  padding: 0 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.17);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  font-size: 0.82rem;
  font-weight: 950;
  backdrop-filter: blur(12px);
}

.combo-detail-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}

.combo-detail-card {
  border: 1px solid rgba(58, 174, 217, 0.18);
  border-radius: 18px;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(235, 251, 255, 0.74)),
    radial-gradient(circle at 18% 10%, rgba(249, 185, 56, 0.16), transparent 30%);
  box-shadow: 0 14px 34px rgba(4, 63, 99, 0.1);
}

:root[data-theme="dark"] .combo-detail-card {
  border-color: rgba(80, 194, 233, 0.24);
  background:
    linear-gradient(145deg, rgba(16, 47, 61, 0.92), rgba(11, 31, 42, 0.82)),
    radial-gradient(circle at 18% 10%, rgba(249, 185, 56, 0.12), transparent 30%);
}

.combo-detail-card h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
}

.combo-detail-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.combo-items span {
  color: var(--brand-deep);
  border-color: rgba(58, 174, 217, 0.2);
  background: rgba(255, 255, 255, 0.72);
}

:root[data-theme="dark"] .combo-items span {
  color: #e8f9ff;
  border-color: rgba(80, 194, 233, 0.26);
  background: rgba(255, 255, 255, 0.1);
}

.combo-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  grid-column: 1 / -1;
}

.combo-detail-actions .primary-action,
.combo-detail-actions .secondary-action {
  flex: 1 1 220px;
}

.combo-buy-action {
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(135deg, #ff6f91, #f9b938 54%, #3aaed9);
  box-shadow:
    0 18px 38px rgba(255, 111, 145, 0.24),
    0 12px 26px rgba(58, 174, 217, 0.18);
}

.detail-media {
  position: sticky;
  top: 0;
  overflow: hidden;
  align-self: start;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 620px;
  aspect-ratio: auto;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-width: 0 1px 0 0;
  border-radius: 0 34px 34px 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.78), transparent 32%),
    linear-gradient(135deg, rgba(80, 194, 233, 0.2), rgba(58, 174, 217, 0.08)),
    var(--soft);
  box-shadow:
    0 34px 82px rgba(2, 44, 68, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.detail-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%),
    radial-gradient(circle at 92% 10%, rgba(80, 194, 233, 0.2), transparent 24%);
}

.detail-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  cursor: zoom-in;
}

.detail-media-gallery img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition:
    opacity 360ms ease,
    transform 700ms ease;
}

.detail-media-gallery img:first-child {
  position: relative;
}

.detail-media-gallery img.is-active {
  opacity: 1;
  transform: scale(1.01);
  z-index: 1;
}

.detail-gallery-count {
  left: 16px;
  bottom: 16px;
  min-width: auto;
  padding: 0 12px;
  color: #fff;
  background: rgba(7, 93, 128, 0.72);
}

.detail-zoom-button {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 9;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  padding: 0 14px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.32), transparent 38%),
    linear-gradient(135deg, #50c2e9, #3aaed9);
  box-shadow: 0 14px 30px rgba(2, 44, 68, 0.24);
  font-size: 0.8rem;
  font-weight: 950;
}

.product-zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(2, 24, 36, 0.88);
  backdrop-filter: blur(18px);
}

.product-zoom-modal.open {
  display: grid;
}

.product-zoom-modal img {
  max-width: min(100%, 1120px);
  max-height: calc(100vh - 46px);
  max-height: calc(100dvh - 46px);
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.44);
}

.product-zoom-close {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 2;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(7, 93, 128, 0.72);
}

.detail-gallery-thumbs {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 8;
  display: flex;
  max-width: min(70%, 320px);
  gap: 7px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 14px 28px rgba(2, 44, 68, 0.18);
  backdrop-filter: blur(14px);
  scrollbar-width: none;
}

.detail-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 8;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  color: #fff;
  background:
    radial-gradient(circle at 25% 12%, rgba(255, 255, 255, 0.34), transparent 36%),
    linear-gradient(135deg, #50c2e9, #3aaed9);
  box-shadow: 0 14px 30px rgba(2, 44, 68, 0.24);
  transform: translateY(-50%);
  pointer-events: auto;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.detail-gallery-nav:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 18px 36px rgba(2, 44, 68, 0.3);
}

.detail-gallery-nav span {
  display: block;
  margin-top: -2px;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.detail-gallery-prev {
  left: 14px;
}

.detail-gallery-next {
  right: 14px;
}

.detail-gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.detail-gallery-thumbs button {
  display: block;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0;
  background: #fff;
  box-shadow: 0 8px 18px rgba(2, 44, 68, 0.1);
  cursor: pointer;
}

.detail-gallery-thumbs button.is-active {
  border-color: #3aaed9;
  box-shadow:
    0 0 0 3px rgba(80, 194, 233, 0.28),
    0 12px 24px rgba(58, 174, 217, 0.25);
}

.detail-gallery-thumbs img {
  position: static;
  width: 100%;
  height: 100%;
  opacity: 1;
  object-fit: cover;
}

:root[data-theme="dark"] .detail-media {
  border-color: rgba(80, 194, 233, 0.28);
  background:
    radial-gradient(circle at 20% 0%, rgba(80, 194, 233, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(9, 28, 39, 0.96), rgba(16, 47, 61, 0.9)),
    var(--soft);
  box-shadow:
    0 30px 72px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .detail-media::after {
  background:
    linear-gradient(135deg, rgba(80, 194, 233, 0.12), transparent 42%),
    linear-gradient(180deg, transparent 52%, rgba(3, 15, 22, 0.38));
}

:root[data-theme="dark"] .detail-gallery-count {
  color: #edf7fb;
  border: 1px solid rgba(80, 194, 233, 0.28);
  background: rgba(5, 25, 35, 0.78);
}

:root[data-theme="dark"] .detail-gallery-thumbs {
  border-color: rgba(80, 194, 233, 0.3);
  background: rgba(5, 25, 35, 0.72);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
}

:root[data-theme="dark"] .detail-gallery-thumbs button {
  border-color: rgba(80, 194, 233, 0.2);
  background: #0f2a38;
}

:root[data-theme="dark"] .detail-gallery-thumbs button.is-active {
  border-color: #50c2e9;
  box-shadow:
    0 0 0 3px rgba(80, 194, 233, 0.24),
    0 12px 24px rgba(0, 0, 0, 0.34);
}

:root[data-theme="dark"] .detail-gallery-nav {
  color: #fff;
  border-color: rgba(80, 194, 233, 0.34);
  background:
    radial-gradient(circle at 25% 12%, rgba(255, 255, 255, 0.18), transparent 36%),
    linear-gradient(135deg, #50c2e9, #0c8fb5);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38);
}

@media (prefers-reduced-motion: reduce) {
  .product-media-gallery .product-media-track img,
  .detail-media-gallery img {
    transition: none;
  }
}

.detail-content h2 {
  max-width: 720px;
  margin: 7px 44px 8px 0;
  color: var(--ink);
  font-size: clamp(1.9rem, 4.2vw, 3.9rem);
  line-height: 0.96;
}

.detail-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.detail-kicker > span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid rgba(80, 194, 233, 0.26);
  border-radius: 999px;
  padding: 0 11px;
  color: #087fa8;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 22px rgba(58, 174, 217, 0.1);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

:root[data-theme="dark"] .detail-kicker > span,
:root[data-theme="dark"] .detail-rating,
:root[data-theme="dark"] .detail-trust-strip span,
:root[data-theme="dark"] .detail-tags span,
:root[data-theme="dark"] .reviews-box,
:root[data-theme="dark"] .reviews-box article {
  color: #e8f9ff;
  border-color: rgba(80, 194, 233, 0.24);
  background: rgba(16, 47, 61, 0.72);
}

:root[data-theme="dark"] .detail-info div {
  border-color: rgba(80, 194, 233, 0.22);
  background:
    linear-gradient(145deg, rgba(16, 47, 61, 0.86), rgba(11, 31, 42, 0.76)),
    var(--soft);
}

.detail-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  border: 1px solid rgba(80, 194, 233, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  width: fit-content;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 12px 28px rgba(58, 174, 217, 0.1);
}

.stars {
  display: inline-flex;
  gap: 1px;
  font-size: 1rem;
}

.detail-rating strong {
  color: var(--ink);
}

.detail-rating span,
.detail-content p {
  color: var(--muted);
}

.detail-price strong {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.detail-content .detail-description {
  max-width: 680px;
  border: 1px solid rgba(80, 194, 233, 0.2);
  border-radius: 18px;
  padding: 13px 14px;
  color: #17485d;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.9), transparent 36%),
    linear-gradient(135deg, rgba(237, 251, 255, 0.86), rgba(255, 255, 255, 0.74));
  box-shadow: 0 14px 30px rgba(58, 174, 217, 0.08);
  font-size: clamp(1.02rem, 1.5vw, 1.12rem);
  font-weight: 650;
  line-height: 1.68;
}

.detail-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.detail-trust-strip span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(80, 194, 233, 0.2);
  border-radius: 999px;
  color: #075d80;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.76), transparent 34%),
    linear-gradient(135deg, rgba(80, 194, 233, 0.16), rgba(58, 174, 217, 0.08));
  font-size: 0.8rem;
  font-weight: 950;
}

.detail-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.detail-info div {
  min-height: 78px;
  border: 1px solid rgba(80, 194, 233, 0.2);
  border-radius: 18px;
  padding: 11px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(235, 251, 255, 0.64)),
    var(--soft);
  box-shadow: 0 14px 30px rgba(58, 174, 217, 0.08);
}

.detail-info b,
.detail-info span {
  display: block;
}

.detail-info b {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.detail-info span {
  color: var(--muted);
  font-size: 0.84rem;
}

.detail-tags {
  margin-bottom: 10px;
}

.detail-tags span {
  border-color: rgba(80, 194, 233, 0.2);
  color: #087fa8;
  background: rgba(255, 255, 255, 0.72);
}

.detail-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 10px;
  margin: 14px 0 10px;
}

.detail-actions .secondary-action,
.detail-actions .primary-action {
  border-radius: 999px;
}

.detail-actions .primary-action {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.34), transparent 38%),
    linear-gradient(135deg, #50c2e9, #3aaed9);
  box-shadow: 0 16px 34px rgba(58, 174, 217, 0.24);
}

.detail-back-action,
.detail-share-action,
.detail-share-floating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #087fa8;
  border-color: rgba(80, 194, 233, 0.36);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.82), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(234, 250, 255, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 12px 26px rgba(58, 174, 217, 0.12);
}

.detail-share-floating {
  position: sticky;
  top: 16px;
  left: 16px;
  z-index: 8;
  width: max-content;
  min-height: 42px;
  margin: 16px 0 -58px 16px;
  border: 1px solid rgba(80, 194, 233, 0.36);
  border-radius: 999px;
  padding: 0 14px;
  font-weight: 900;
  backdrop-filter: blur(14px);
}

.detail-back-action:hover,
.detail-share-action:hover,
.detail-share-floating:hover {
  transform: translateY(-1px);
  color: #075d80;
  border-color: rgba(58, 174, 217, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 32px rgba(58, 174, 217, 0.18);
}

.share-feedback {
  margin: -2px 0 8px;
  border: 1px solid rgba(80, 194, 233, 0.22);
  border-radius: 12px;
  padding: 9px 12px;
  color: #075d80;
  background: rgba(238, 251, 255, 0.88);
  font-size: 0.84rem;
  font-weight: 900;
}

:root[data-theme="dark"] .detail-content .detail-description {
  color: #d8f5ff;
  border-color: rgba(80, 194, 233, 0.28);
  background:
    radial-gradient(circle at 10% 0%, rgba(80, 194, 233, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(15, 45, 58, 0.92), rgba(8, 27, 38, 0.82));
}

:root[data-theme="dark"] .detail-back-action,
:root[data-theme="dark"] .detail-share-action,
:root[data-theme="dark"] .detail-share-floating {
  color: #d8f5ff;
  border-color: rgba(80, 194, 233, 0.34);
  background:
    radial-gradient(circle at 18% 0%, rgba(80, 194, 233, 0.22), transparent 38%),
    linear-gradient(135deg, rgba(18, 58, 74, 0.9), rgba(10, 35, 48, 0.84));
}

:root[data-theme="dark"] .product-share-button,
:root[data-theme="dark"] .share-feedback {
  color: #d8f5ff;
  border-color: rgba(80, 194, 233, 0.3);
  background: linear-gradient(135deg, rgba(19, 59, 75, 0.94), rgba(10, 33, 46, 0.9));
}

.detail-add-action {
  position: relative;
  overflow: hidden;
}

.detail-add-action::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.54), transparent 62%);
  transform: translateX(-120%);
}

.detail-add-action.added {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.34), transparent 38%),
    linear-gradient(135deg, #3ddc97, #3aaed9);
  animation: addBagPop 520ms ease both;
}

.detail-add-action.added::after {
  animation: addBagShine 760ms ease both;
}

.bag-added-message {
  display: grid;
  gap: 3px;
  margin-bottom: 12px;
  border: 1px solid rgba(61, 220, 151, 0.38);
  border-radius: 16px;
  padding: 12px 14px;
  color: #075d45;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.72), transparent 32%),
    linear-gradient(135deg, rgba(61, 220, 151, 0.22), rgba(80, 194, 233, 0.18));
  box-shadow: 0 16px 34px rgba(61, 220, 151, 0.14);
  animation: addBagMessageIn 360ms ease both;
}

.bag-added-message span {
  color: var(--muted);
  font-size: 0.86rem;
}

@keyframes addBagPop {
  0%,
  100% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.04);
  }
}

@keyframes addBagShine {
  to {
    transform: translateX(120%);
  }
}

@keyframes addBagMessageIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reviews-box {
  border: 1px solid rgba(80, 194, 233, 0.18);
  border-radius: 22px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 36px rgba(58, 174, 217, 0.08);
}

.review-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.review-heading span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: #075d80;
  background: rgba(80, 194, 233, 0.14);
  font-size: 0.78rem;
  font-weight: 950;
}

.review-form {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  border: 1px solid rgba(80, 194, 233, 0.16);
  border-radius: 16px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.66);
}

.review-form input[readonly] {
  color: #075d80;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.86), transparent 34%),
    linear-gradient(135deg, rgba(238, 251, 255, 0.92), rgba(255, 255, 255, 0.82));
  cursor: default;
}

.review-login-required {
  opacity: 0.94;
}

.review-login-required textarea,
.review-login-required input[name="name"] {
  cursor: not-allowed;
}

.review-form .secondary-action {
  width: 100%;
}

.review-stars-input {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.review-stars-input input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.review-stars-input label {
  min-height: 36px;
  border: 1px solid rgba(247, 183, 51, 0.3);
  border-radius: 999px;
  padding: 8px 10px;
  color: #b47505;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 18px rgba(247, 183, 51, 0.08);
  font-size: 0.88rem;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.review-stars-input input:checked + label {
  color: #3d2900;
  background: linear-gradient(135deg, #ffd76f, #f7b733);
  box-shadow: 0 12px 24px rgba(247, 183, 51, 0.24);
}

.review-stars-input label:hover {
  transform: translateY(-1px);
}

.review-message {
  min-height: 18px;
  margin: 0;
  color: #b42318;
  font-size: 0.82rem;
  font-weight: 850;
}

.review-message.success {
  color: #087f5b;
}

.customer-review-list {
  display: grid;
  gap: 8px;
}

.review-load-more {
  width: 100%;
  margin-top: 4px;
}

.reviews-box article,
.customer-review-card {
  margin-top: 8px;
  border: 1px solid rgba(80, 194, 233, 0.16);
  border-radius: 16px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.customer-review-card > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #50c2e9, #3aaed9);
  font-weight: 950;
}

.reviews-box p {
  margin: 6px 0 0;
  font-size: 0.92rem;
}

.cart-drawer.open {
  display: flex;
}

.cart-panel {
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  height: 100%;
  padding: 20px;
  background: var(--card);
}

.cart-items {
  display: grid;
  gap: 12px;
  overflow: auto;
  padding: 12px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.cart-item span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.cart-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.cart-footer > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cart-footer .primary-action,
.cart-footer .secondary-action {
  width: 100%;
}

.cart-footer .secondary-action {
  margin-top: 10px;
}

.checkout-modal,
.account-modal,
.tracking-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.48);
}

.checkout-modal.open,
.account-modal.open,
.tracking-modal.open {
  display: flex;
}

.checkout-panel,
.account-panel,
.tracking-panel {
  position: relative;
  width: min(1120px, 100%);
  max-height: min(880px, 92vh);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.account-panel {
  width: min(940px, 100%);
  background:
    radial-gradient(ellipse at 18% 8%, rgba(183, 241, 255, 0.42), transparent 34%),
    radial-gradient(ellipse at 86% 16%, rgba(80, 194, 233, 0.34), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(227, 250, 255, 0.9) 48%, rgba(210, 243, 255, 0.82));
}

.tracking-panel {
  width: min(760px, calc(100% - 24px));
  padding: 22px;
  background:
    radial-gradient(circle at 12% 12%, rgba(80, 194, 233, 0.28), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(230, 250, 255, 0.92));
}

:root[data-theme="dark"] .cart-panel,
:root[data-theme="dark"] .checkout-panel,
:root[data-theme="dark"] .tracking-panel {
  color: #edf7fb;
  border-color: rgba(80, 194, 233, 0.24);
  background:
    radial-gradient(circle at 12% 12%, rgba(80, 194, 233, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(13, 35, 48, 0.98), rgba(7, 21, 31, 0.98));
}

:root[data-theme="dark"] .account-panel {
  color: #edf7fb;
  border-color: rgba(80, 194, 233, 0.24);
  background:
    radial-gradient(ellipse at 18% 8%, rgba(80, 194, 233, 0.16), transparent 34%),
    radial-gradient(ellipse at 86% 16%, rgba(139, 92, 246, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(13, 35, 48, 0.98), rgba(7, 21, 31, 0.96));
}

:root[data-theme="dark"] .checkout-card,
:root[data-theme="dark"] .account-card,
:root[data-theme="dark"] .order-card {
  color: #edf7fb;
  border-color: rgba(80, 194, 233, 0.24);
  background:
    radial-gradient(circle at 12% 0%, rgba(80, 194, 233, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(16, 47, 61, 0.9), rgba(10, 29, 40, 0.84));
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(250px, 0.8fr);
  gap: 18px;
  padding: 22px;
}

.checkout-grid[hidden] {
  display: none;
}

.checkout-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: var(--panel);
}

.order-summary-card {
  align-self: start;
}

.place-order-summary {
  margin-top: 4px;
}

.account-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 24px 4px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(223, 249, 255, 0.78)),
    radial-gradient(circle at 88% 16%, rgba(80, 194, 233, 0.24), transparent 28%);
  box-shadow: 0 18px 44px rgba(58, 174, 217, 0.14);
}

.account-avatar {
  display: grid;
  overflow: hidden;
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 16px 34px rgba(58, 174, 217, 0.28);
  font-size: 1.8rem;
  font-weight: 950;
}

.account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-hero h2 {
  margin-bottom: 6px;
}

.account-hero p:not(.eyebrow),
.account-signin p,
.account-address span {
  color: var(--muted);
}

.account-signout-top {
  margin-left: auto;
  flex: 0 0 auto;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 20px 24px 24px;
}

.account-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(235, 251, 255, 0.78)),
    radial-gradient(circle at 100% 0%, rgba(80, 194, 233, 0.18), transparent 30%);
  box-shadow:
    0 14px 34px rgba(58, 174, 217, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.account-signin {
  width: min(560px, calc(100% - 32px));
  margin: 24px auto;
}

.account-address-form {
  width: min(680px, calc(100% - 32px));
  margin: 24px auto;
}

.account-address-action {
  width: 100%;
  margin-top: 12px;
}

.account-address-list,
.address-choice-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.checkout-address-options {
  display: grid;
  gap: 10px;
}

.address-choice {
  display: grid;
  width: 100%;
  gap: 4px;
  border: 1px solid rgba(80, 194, 233, 0.24);
  border-radius: 14px;
  padding: 12px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(238, 253, 255, 0.72)),
    var(--panel);
  text-align: left;
}

.address-choice span,
.address-choice small {
  color: var(--muted);
}

.address-choice.active {
  border-color: rgba(58, 174, 217, 0.72);
  box-shadow: 0 0 0 3px rgba(80, 194, 233, 0.16);
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.auth-actions .primary-action,
.auth-actions .secondary-action {
  flex: 1 1 180px;
}

.account-lines {
  display: grid;
  gap: 10px;
}

.account-lines div,
.account-address {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(80, 194, 233, 0.24);
  border-radius: 14px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(238, 253, 255, 0.68)),
    radial-gradient(circle at 90% 12%, rgba(58, 174, 217, 0.13), transparent 26%);
}

.account-lines span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.account-lines strong {
  overflow-wrap: anywhere;
}

.account-orders {
  grid-column: 1 / -1;
}

.account-order-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.order-success {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  overflow: hidden;
  padding: clamp(28px, 6vw, 72px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 18%, rgba(80, 194, 233, 0.24), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(232, 250, 255, 0.86));
}

.order-success::before,
.order-success::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.order-success::before {
  width: 210px;
  height: 210px;
  border: 2px solid rgba(80, 194, 233, 0.38);
  box-shadow:
    0 0 0 18px rgba(249, 185, 56, 0.1),
    0 0 0 38px rgba(255, 111, 145, 0.08);
  opacity: 0;
}

.order-success::after {
  width: 360px;
  height: 360px;
  background:
    conic-gradient(from 0deg, transparent, rgba(80, 194, 233, 0.18), transparent, rgba(255, 111, 145, 0.16), transparent);
  opacity: 0;
}

.order-success.success-animated::before {
  animation: successRing 1100ms ease-out both;
}

.order-success.success-animated::after {
  animation: successGlowSpin 1800ms ease-out both;
}

.order-success[hidden] {
  display: none;
}

.order-success > :not(.celebration) {
  position: relative;
  z-index: 1;
}

.success-badge {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 20px 40px rgba(58, 174, 217, 0.28);
  font-size: 2.8rem;
  font-weight: 900;
  animation: successPop 520ms ease both;
}

.order-success.success-animated .success-badge {
  animation:
    successPop 520ms ease both,
    successPulse 1300ms ease 520ms both;
}

.order-success h2 {
  max-width: 680px;
  margin-inline: auto;
  font-size: clamp(2rem, 6vw, 4rem);
}

.order-success p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.celebration {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.celebration span {
  position: absolute;
  top: -32px;
  width: 12px;
  height: 20px;
  border-radius: 4px;
  background: var(--brand);
  animation: confettiFall 1800ms ease-in-out infinite;
}

.order-success.success-animated .celebration span {
  animation:
    confettiFall 1800ms ease-in-out infinite,
    confettiSpark 760ms ease-out both;
}

.celebration span:nth-child(1) {
  left: 10%;
  background: var(--brand);
  animation-delay: 0ms;
}

.celebration span:nth-child(2) {
  left: 22%;
  background: var(--gold);
  animation-delay: 140ms;
}

.celebration span:nth-child(3) {
  left: 34%;
  background: var(--rose);
  animation-delay: 280ms;
}

.celebration span:nth-child(4) {
  left: 48%;
  background: var(--mint);
  animation-delay: 60ms;
}

.celebration span:nth-child(5) {
  left: 60%;
  background: var(--brand-deep);
  animation-delay: 220ms;
}

.celebration span:nth-child(6) {
  left: 72%;
  background: var(--violet);
  animation-delay: 360ms;
}

.celebration span:nth-child(7) {
  left: 84%;
  background: var(--gold);
  animation-delay: 110ms;
}

.celebration span:nth-child(8) {
  left: 92%;
  background: var(--rose);
  animation-delay: 300ms;
}

@keyframes successPop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }

  70% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes confettiFall {
  0% {
    transform: translateY(-40px) rotate(0deg);
    opacity: 0;
  }

  18% {
    opacity: 1;
  }

  100% {
    transform: translateY(620px) rotate(540deg);
    opacity: 0;
  }
}

.order-tracking {
  grid-column: 1 / -1;
}

.checkout-items,
.order-tracking > div:last-child {
  display: grid;
  gap: 12px;
}

.checkout-line,
.order-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: var(--card);
}

.checkout-line,
.order-topline,
.shipping-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.checkout-line span,
.order-topline span,
.order-card p,
.shipping-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.order-card p {
  margin: 10px 0 12px;
}

.order-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.order-card .order-card-actions .secondary-action {
  margin-top: 0;
}

.order-help-button {
  min-width: 78px;
  color: #075d80;
  background: rgba(80, 194, 233, 0.13);
}

@keyframes successRing {
  0% {
    opacity: 0.9;
    transform: scale(0.18);
  }

  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@keyframes successGlowSpin {
  0% {
    opacity: 0;
    transform: scale(0.55) rotate(0deg);
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1.08) rotate(180deg);
  }
}

@keyframes successPulse {
  0%,
  100% {
    box-shadow: 0 20px 40px rgba(58, 174, 217, 0.28);
  }

  45% {
    box-shadow:
      0 22px 44px rgba(58, 174, 217, 0.32),
      0 0 0 16px rgba(80, 194, 233, 0.12),
      0 0 0 30px rgba(249, 185, 56, 0.08);
  }
}

@keyframes confettiSpark {
  0% {
    transform: translateY(120px) scale(0.2) rotate(0deg);
    opacity: 0;
  }

  45% {
    opacity: 1;
  }

  100% {
    transform: translateY(-20px) scale(1.1) rotate(220deg);
    opacity: 0;
  }
}

.tracking-hero {
  margin-bottom: 16px;
  border: 1px solid rgba(80, 194, 233, 0.26);
  border-radius: 18px;
  padding: 18px;
  background:
    radial-gradient(circle at 92% 12%, rgba(58, 174, 217, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(229, 250, 255, 0.74));
}

.tracking-hero h2 {
  margin-bottom: 6px;
  font-size: clamp(1.6rem, 5vw, 2.8rem);
}

.tracking-hero p:not(.eyebrow) {
  color: var(--muted);
}

.tracking-progress {
  overflow: hidden;
  height: 12px;
  margin: 18px 0 8px;
  border-radius: 999px;
  background: rgba(80, 194, 233, 0.16);
}

.tracking-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 8px 18px rgba(58, 174, 217, 0.3);
  transition: width 260ms ease;
}

.tracking-progress-labels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-align: center;
}

.tracking-steps {
  display: none;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.tracking-steps span {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.tracking-steps i {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: var(--line);
}

.tracking-steps .active {
  color: var(--brand-deep);
}

.tracking-steps .active i {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
}

.tracking-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.tracking-meta span {
  display: grid;
  gap: 3px;
  border: 1px solid rgba(80, 194, 233, 0.24);
  border-radius: 12px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(236, 251, 255, 0.72));
  color: var(--muted);
  font-size: 0.82rem;
}

.tracking-meta b {
  color: var(--ink);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.tracking-timeline {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.tracking-details {
  margin: 12px 0;
  border: 1px solid rgba(80, 194, 233, 0.22);
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(232, 250, 255, 0.62));
}

.tracking-timeline div {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(80, 194, 233, 0.18);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.58);
}

.tracking-timeline i {
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--line);
}

.tracking-timeline .active i {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 0 0 4px rgba(80, 194, 233, 0.14);
}

.tracking-timeline span,
.tracking-timeline strong,
.tracking-timeline small {
  display: block;
}

.tracking-timeline small,
.tracking-timeline em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
}

.tracking-address {
  margin-top: 12px;
}

.order-card > .secondary-action {
  width: 100%;
  margin-top: 12px;
}

.order-card-highlight {
  animation: orderGlow 1400ms ease;
}

@keyframes orderGlow {
  0%,
  100% {
    box-shadow: none;
  }

  35% {
    box-shadow: 0 0 0 4px rgba(80, 194, 233, 0.22), 0 18px 34px rgba(58, 174, 217, 0.2);
  }
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 0.64fr) minmax(0, 1.36fr);
  gap: clamp(12px, 3vw, 22px);
  align-items: stretch;
  margin: clamp(24px, 5vw, 54px) 0 0;
  position: relative;
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding: clamp(20px, 4vw, 34px) clamp(16px, 5vw, 72px) calc(clamp(22px, 4vw, 38px) + 10px);
  color: #fff;
  background:
    radial-gradient(ellipse at 14% 0%, rgba(255, 255, 255, 0.26), transparent 32%),
    radial-gradient(ellipse at 84% 12%, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(135deg, #50c2e9 0%, #3aaed9 100%);
  box-shadow: none;
}

.site-footer::before {
  content: none;
  position: absolute;
  inset: 1px;
  border-radius: 21px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.13), transparent 42%);
}

.footer-brand {
  position: relative;
  z-index: 1;
}

.footer-brand::after {
  content: "";
  position: absolute;
  top: 0;
  right: -12px;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.42), transparent);
}

.footer-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin-bottom: 10px;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.24));
}

.footer-block {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-top: 3px solid rgba(255, 255, 255, 0.44);
  border-radius: 16px;
  padding: 15px;
  background:
    linear-gradient(145deg, rgba(10, 39, 52, 0.64), rgba(17, 74, 88, 0.5)),
    rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 18px 42px rgba(2, 48, 70, 0.18);
  backdrop-filter: blur(18px);
}

.footer-block::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 46%);
}

.footer-block > * {
  position: relative;
  z-index: 1;
}

.footer-info {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.footer-store {
  grid-column: span 3;
}

.footer-contact {
  grid-column: span 3;
}

.footer-hours-card,
.footer-policy,
.footer-social {
  grid-column: span 2;
}

.footer-contact {
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 111, 145, 0.16), transparent 36%),
    linear-gradient(145deg, rgba(10, 39, 52, 0.64), rgba(17, 74, 88, 0.5)),
    rgba(255, 255, 255, 0.12);
}

.footer-policy {
  background:
    radial-gradient(circle at 92% 10%, rgba(61, 220, 151, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(10, 39, 52, 0.64), rgba(17, 74, 88, 0.5)),
    rgba(255, 255, 255, 0.12);
}

.footer-social {
  background:
    radial-gradient(circle at 88% 8%, rgba(139, 92, 246, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(10, 39, 52, 0.64), rgba(17, 74, 88, 0.5)),
    rgba(255, 255, 255, 0.12);
}

.footer-hours-card {
  background:
    radial-gradient(circle at 90% 8%, rgba(249, 185, 56, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(10, 39, 52, 0.64), rgba(17, 74, 88, 0.5)),
    rgba(255, 255, 255, 0.12);
}

.site-footer h2 {
  max-width: 760px;
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.site-footer h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 7px;
  color: #fff;
  font-size: 0.98rem;
}

.site-footer h3::after {
  content: "";
  height: 1px;
  flex: 1;
  min-width: 24px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.42), transparent);
}

.site-footer p:not(.eyebrow),
.site-footer a {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 7px;
  margin-top: 9px;
}

.footer-links a,
.footer-pill {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0 11px;
  color: #fff !important;
  background: linear-gradient(135deg, rgba(255, 111, 145, 0.24), rgba(22, 182, 217, 0.22));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.footer-pill {
  margin-top: 9px;
}

.site-footer svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.footer-primary-links {
  margin-top: 14px;
}

.footer-search {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  width: min(100%, 360px);
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 6px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.26), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(80, 194, 233, 0.15), rgba(255, 111, 145, 0.12)),
    rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 14px 32px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.footer-search::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 15px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 42%);
}

.footer-search input {
  position: relative;
  z-index: 1;
  min-height: 38px;
  border: 0;
  border-radius: 12px;
  padding: 0 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 850;
}

.footer-search input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.footer-search button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 12px;
  padding: 0 12px;
  color: #08202b;
  background: linear-gradient(135deg, #ffffff, #d7fbff 48%, #ffd6e2);
  box-shadow: 0 10px 18px rgba(80, 194, 233, 0.16);
  font-size: 0.78rem;
  font-weight: 950;
}

.footer-hours {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}

.footer-hours span {
  font-weight: 900;
  color: #fff;
}

.footer-hours b {
  font-weight: 800;
}

.mobile-nav {
  display: none;
}

.policy-page {
  min-height: 100vh;
}

.policy-nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(80, 194, 233, 0.24);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.58);
}

.policy-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) 0 56px;
}

.policy-hero {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  padding: clamp(24px, 5vw, 48px);
  color: #fff;
  background:
    radial-gradient(ellipse at 14% 0%, rgba(255, 255, 255, 0.28), transparent 34%),
    radial-gradient(ellipse at 82% 10%, rgba(249, 185, 56, 0.14), transparent 30%),
    linear-gradient(135deg, #50c2e9, #3aaed9);
  box-shadow: 0 24px 58px rgba(37, 93, 130, 0.16);
}

.policy-hero .eyebrow {
  color: rgba(255, 255, 255, 0.88);
}

.policy-hero h1 {
  max-width: 860px;
  margin-bottom: 14px;
  font-size: clamp(2.8rem, 9vw, 6.6rem);
  line-height: 0.9;
}

.policy-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.04rem;
  line-height: 1.7;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.policy-card {
  border: 1px solid rgba(80, 194, 233, 0.24);
  border-top: 3px solid #50c2e9;
  border-radius: 16px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(238, 251, 255, 0.8)),
    var(--card);
  box-shadow: 0 14px 34px rgba(24, 47, 66, 0.08);
}

.policy-card h2 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
}

.policy-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.policy-card .footer-pill {
  width: fit-content;
  margin-top: 14px;
  color: #fff !important;
  background: linear-gradient(135deg, #50c2e9, #3aaed9);
}

.contact-card {
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 111, 145, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(238, 251, 255, 0.82));
}

.about-hero {
  position: relative;
}

.about-hero img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: drop-shadow(0 14px 20px rgba(2, 48, 70, 0.18));
}

.about-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-card {
  min-height: 190px;
}

.about-hours {
  color: var(--muted);
}

.about-hours span {
  color: var(--ink);
}

.about-links a {
  color: #fff !important;
  background: linear-gradient(135deg, #50c2e9, #3aaed9);
}

@media (max-width: 980px) {
  .admin-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-ops-strip {
    position: static;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-board {
    order: 0;
  }

  .feature-tile {
    min-height: 86px;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .filters-panel {
    position: fixed;
    inset: auto 12px 76px;
    z-index: 30;
    display: none;
    max-height: 72vh;
    overflow: auto;
  }

  .filters-panel.open {
    display: block;
  }

  .custom-filter-field {
    display: none;
  }

  .mobile-filter-row {
    display: grid;
    gap: 8px;
  }

  .mobile-shop-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .mobile-tool-button {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 999px;
    color: #fff;
    background:
      radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.34), transparent 38%),
      linear-gradient(135deg, #50c2e9, #3aaed9);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.34),
      0 12px 26px rgba(2, 44, 68, 0.18);
    text-shadow: 0 1px 8px rgba(2, 44, 68, 0.24);
  }

  .mobile-custom-filter-row {
    display: flex;
    gap: 8px;
    align-items: center;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    margin: 0 -2px;
    padding: 2px 2px 8px;
    scrollbar-width: none;
  }

  .mobile-custom-filter-row::-webkit-scrollbar {
    display: none;
  }

  .mobile-custom-filter-row::before {
    content: "Custom";
    flex: 0 0 auto;
    color: #f7feff;
    font-size: 0.76rem;
    font-weight: 950;
    text-shadow: 0 2px 12px rgba(2, 50, 74, 0.28);
  }

  .mobile-custom-filter-row .chip {
    min-height: 32px;
    flex: 0 0 auto;
    border-color: rgba(80, 194, 233, 0.34);
    color: #087fa8;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 18px rgba(58, 174, 217, 0.12);
  }

  .mobile-custom-filter-row .chip.active {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.66);
    background:
      radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.3), transparent 38%),
      linear-gradient(135deg, #50c2e9, #3aaed9);
    box-shadow: 0 10px 22px rgba(58, 174, 217, 0.28);
    text-shadow: 0 1px 8px rgba(2, 44, 68, 0.24);
  }

  .products-area > .subcategory-picks:not(.mobile-subcategory-picks) {
    display: none;
  }

  .mobile-subcategory-picks:not([hidden]) {
    display: flex;
    order: 2;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    margin: 0 -2px;
    border-radius: 18px;
    padding: 8px;
    scrollbar-width: none;
  }

  .mobile-subcategory-picks::-webkit-scrollbar {
    display: none;
  }

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

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

  .story-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .story-large {
    grid-row: auto;
  }

  .premium-search {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-store,
  .footer-contact,
  .footer-hours-card,
  .footer-policy,
  .footer-social {
    grid-column: auto;
  }

}

@media (max-width: 720px) {
  body {
    padding-bottom: 62px;
  }

  .admin-page {
    padding-bottom: 92px;
  }

  .admin-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 12px;
  }

  .admin-hero {
    width: min(100% - 20px, 1180px);
    gap: 10px;
    padding: 16px 0 6px;
  }

  .admin-hero h1 {
    margin-bottom: 4px;
    font-size: clamp(1.85rem, 9vw, 2.65rem);
  }

  .admin-hero p:not(.eyebrow) {
    display: none;
  }

  .admin-hero-buttons {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 7px;
  }

  .admin-top-action {
    width: 100%;
    min-height: 48px;
    border-radius: 16px;
    padding: 6px 12px 6px 7px;
  }

  .admin-quick-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .admin-action-tile {
    min-height: 68px;
    grid-template-columns: 38px minmax(0, 1fr) 28px;
    border-radius: 15px;
    padding: 10px;
  }

  .admin-action-tile i {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    font-size: 0.62rem;
  }

  .admin-action-tile span {
    width: 28px;
    height: 28px;
    font-size: 0.62rem;
  }

  .admin-action-tile strong {
    font-size: 0.9rem;
  }

  .admin-action-tile small {
    font-size: 0.68rem;
  }

  .admin-priority-action {
    width: 100%;
    min-width: 0;
  }

  .admin-ops-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
  }

  .admin-ops-strip a,
  .admin-ops-strip button {
    justify-content: center;
    text-align: center;
  }

  .admin-ops-strip a:not(.admin-ops-primary),
  .admin-ops-strip button {
    display: inline-flex;
  }

  .admin-card {
    padding: 12px;
    border-radius: 14px;
  }

  .admin-card-title,
  .filter-header {
    align-items: flex-start;
    gap: 8px;
  }

  .admin-status {
    width: 100%;
  }

  .desktop-nav {
    display: none;
  }

  .site-header {
    position: relative;
    top: 0;
    z-index: 120;
    padding: 8px 12px;
  }

  .site-header .cart-button {
    display: inline-flex;
    min-height: 38px;
    margin-left: auto;
    border-color: rgba(80, 194, 233, 0.26);
    border-radius: 999px;
    padding: 0 10px 0 12px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 250, 255, 0.86)),
      var(--control);
    box-shadow: 0 10px 24px rgba(58, 174, 217, 0.12);
  }

  .site-header .cart-button [data-cart-count] {
    border: 2px solid #fff;
    background: #ff6f91;
  }

  .admin-mobile-link {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: fit-content;
    margin: 8px 10px 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 999px;
    padding: 0 12px;
    color: #fff;
    background:
      radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.3), transparent 38%),
      linear-gradient(135deg, #50c2e9, #3aaed9);
    box-shadow: 0 10px 22px rgba(58, 174, 217, 0.22);
    font-size: 0.76rem;
    font-weight: 950;
  }

  .admin-mobile-link svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .brand {
    flex: 0 0 auto;
    align-items: center;
    overflow: visible;
  }

  .brand > span:last-child {
    flex: 1;
  }

  .header-mobile-search {
    display: flex;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    max-width: min(100%, 250px);
    margin-top: 3px;
  }

  .header-search-suggestions {
    width: min(340px, calc(100vw - 32px));
  }

  .header-mobile-search input {
    width: 100%;
  }

  :root[data-theme="dark"] .header-mobile-search input {
    color: #edf7fb;
  }

  .hero {
    padding-top: 14px;
  }

  .section-shell,
  .shop-layout {
    width: min(1180px, calc(100% - 20px));
  }

  .section-shell {
    padding-top: 28px;
  }

  .category-video-strip {
    width: min(1180px, calc(100% - 20px));
    margin-top: 12px;
  }

  .category-video-frame {
    border-radius: 16px;
  }

  .category-video-frame img,
  .category-video-frame video {
    max-height: 320px;
    object-fit: contain;
  }

  .categories-start {
    padding-top: 18px;
  }

  .section-heading {
    margin-bottom: 12px;
    border-left-width: 3px;
    padding: 2px 0 3px 10px;
  }

  .section-heading h2,
  .products-toolbar h2 {
    font-size: 1.28rem;
    line-height: 1.08;
  }

  .section-heading p {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .category-grid {
    gap: 7px;
  }

  .category-card {
    min-height: 82px;
    gap: 6px;
    border-radius: 12px;
    padding: 9px;
  }

  .category-card b {
    font-size: 0.86rem;
  }

  .category-card small {
    font-size: 0.66rem;
    line-height: 1.25;
  }

  .category-count {
    min-width: 32px;
    min-height: 32px;
    border-radius: 11px;
    font-size: 0.72rem;
  }

  .subcategory-picks {
    flex-wrap: nowrap;
    gap: 8px;
    margin-inline: -2px;
    overflow-x: auto;
    padding: 8px;
    scrollbar-width: none;
  }

  .subcategory-picks::-webkit-scrollbar {
    display: none;
  }

  .subcategory-picks-label {
    min-height: 34px;
    padding-right: 10px;
    font-size: 0.66rem;
  }

  .subcategory-chip {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 0.78rem;
  }

  .shop-layout {
    gap: 10px;
    padding-top: 20px;
  }

  .hero-board {
    gap: 10px;
  }

  .feature-tile {
    min-height: 74px;
    border-radius: 16px;
    padding: 10px;
  }

  .feature-tile strong {
    font-size: 0.92rem;
  }

  .stats-strip,
  .admin-kpi-grid,
  .admin-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

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

  .admin-kpi {
    min-height: 78px;
  }

  .admin-ops-strip {
    overflow: visible;
    flex-wrap: wrap;
    scrollbar-width: none;
  }

  .admin-ops-strip a,
  .admin-ops-strip button {
    flex: 0 0 auto;
  }

  .story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 6px;
  }

  .story-large,
  .story-festival {
    grid-row: auto;
  }

  .story-panel {
    min-height: 132px;
    border-radius: 10px;
    padding: 7px;
  }

  .story-panel.story-changing {
    animation-name: storyDriftLeftMobile;
  }

  .story-panel.story-changing::before,
  .story-panel.story-changing::after {
    animation-duration: 1100ms;
  }

  @keyframes storyDriftLeftMobile {
    0% {
      opacity: 0;
      transform: translateX(28px) scale(0.98);
    }

    45% {
      opacity: 1;
      transform: translateX(-5px) scale(1.01);
    }

    100% {
      opacity: 1;
      transform: translateX(0) scale(1);
    }
  }

  .story-panel span {
    padding: 3px 6px;
    font-size: 0.52rem;
    line-height: 1.1;
  }

  .story-panel strong {
    display: -webkit-box;
    max-width: 100%;
    min-height: 32px;
    margin-top: 3px;
    overflow: hidden;
    font-size: 0.62rem;
    line-height: 1.14;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .story-discount {
    top: 5px;
    right: 5px;
    min-height: 20px;
    padding: 0 5px;
    font-size: 0.52rem;
    box-shadow:
      0 8px 18px rgba(2, 44, 68, 0.28),
      0 0 18px rgba(255, 111, 145, 0.26);
  }

  .story-offer-row {
    display: grid;
    gap: 4px;
    margin-top: 5px;
  }

  .story-detail,
  .story-offer,
  .story-timer {
    min-height: 21px;
    padding: 0 6px;
    font-size: 0.54rem;
    line-height: 1.05;
    border-radius: 10px;
  }

  .story-timer {
    font-variant-numeric: tabular-nums;
  }

  .products-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 7px;
    border-left-width: 3px;
    padding-left: 10px;
  }

  .sort-field {
    position: relative;
    width: 100%;
  }

  .products-toolbar > .sort-field {
    width: 0;
    height: 0;
    margin: 0;
    overflow: visible;
    border: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .products-toolbar > .sort-field::after,
  .products-toolbar > .sort-field .sort-trigger {
    display: none;
  }

  .products-toolbar > .sort-field .sort-menu {
    left: 0;
    right: auto;
    top: 8px;
    width: min(270px, calc(100vw - 32px));
  }

  .search-suggestions {
    max-height: 280px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .products-area {
    padding-bottom: 84px;
  }

  .load-more-button {
    margin-bottom: 18px;
  }

  .product-card {
    border-radius: 10px;
  }

  .product-body {
    gap: 5px;
    padding: 6px;
  }

  .product-meta {
    font-size: 0.62rem;
  }

  .product-perks,
  .quick-view {
    display: none;
  }

  .stock-pill {
    padding: 3px 5px;
    font-size: 0.54rem;
  }

  .product-title {
    min-height: 32px;
    margin: 0;
    font-size: 0.76rem;
    line-height: 1.16;
  }

  .product-summary {
    min-height: 31px;
    font-size: 0.66rem;
    line-height: 1.24;
  }

  .price-row {
    display: block;
    margin-bottom: 0;
  }

  .price-row strong {
    display: block;
    font-size: 0.78rem;
  }

  .price-row s {
    display: block;
    font-size: 0.68rem;
  }

  .product-tags {
    display: none;
  }

  .product-card-actions {
    grid-template-columns: minmax(0, 1fr) 32px;
    gap: 5px;
  }

  .product-view-button,
  .product-share-button {
    min-height: 30px;
    border-radius: 8px;
    padding: 0 5px;
    font-size: 0.62rem;
  }

  .product-share-button {
    min-width: 32px;
  }

  .product-share-button span {
    display: none;
  }

  .product-share-button svg {
    width: 14px;
    height: 14px;
  }

  .mini-rating {
    gap: 3px;
    font-size: 0.56rem;
  }

  .mini-rating b,
  .mini-rating small {
    font-size: 0.56rem;
  }

  .badge {
    left: 6px;
    top: 6px;
    padding: 4px 6px;
    font-size: 0.62rem;
  }

  .product-modal,
  .combo-modal {
    align-items: stretch;
    padding: 0;
  }

  .combo-detail-panel {
    width: 100%;
    max-height: 88vh;
    border-radius: 24px 24px 0 0;
  }

  .product-detail-panel {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    padding-bottom: 92px;
  }

  .combo-detail-hero {
    min-height: 230px;
    border-radius: 24px 24px 0 0;
  }

  .combo-detail-copy {
    min-height: 230px;
    padding: 18px;
  }

  .combo-detail-copy h2 {
    margin-right: 44px;
    font-size: 2rem;
  }

  .combo-detail-copy p:not(.eyebrow) {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .combo-detail-pills span,
  .combo-items span {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .combo-detail-body {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .combo-detail-card {
    border-radius: 15px;
    padding: 13px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    min-height: auto;
    align-items: start;
    padding: 0 0 18px;
  }

  .detail-media {
    position: relative;
    top: auto;
    width: 100%;
    height: min(68vh, 620px);
    height: min(68dvh, 620px);
    min-height: 430px;
    aspect-ratio: auto;
    border-width: 0 0 1px;
    border-radius: 0 0 28px 28px;
  }

  .detail-content {
    padding: 0 12px;
  }

  .checkout-modal,
  .account-modal,
  .tracking-modal {
    align-items: flex-end;
    padding: 0 0 92px;
  }

  .checkout-panel,
  .account-panel,
  .tracking-panel {
    max-height: calc(100vh - 108px);
    max-height: calc(100dvh - 108px);
    border-radius: 24px 24px 0 0;
    scroll-padding-bottom: 108px;
  }

  .checkout-grid,
  .account-grid {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .account-hero {
    flex-wrap: wrap;
    margin: 14px;
    padding: 14px;
  }

  .account-signout-top {
    width: 100%;
    margin-left: 0;
  }

  .account-card {
    border-radius: 15px;
    padding: 14px;
  }

  .account-signin {
    margin: 14px auto 22px;
  }

  .tracking-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tracking-meta,
  .tracking-timeline div {
    grid-template-columns: 1fr;
  }

  .detail-content h2 {
    margin-right: 42px;
    font-size: clamp(1.65rem, 8vw, 2.35rem);
  }

  .detail-kicker > span {
    min-height: 28px;
    padding: 0 9px;
    font-size: 0.66rem;
  }

  .detail-rating {
    width: 100%;
    border-radius: 16px;
  }

  .detail-trust-strip {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .detail-info {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .detail-info div {
    min-height: auto;
  }

  .detail-actions {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 170;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 18px;
    padding: 8px;
    background:
      radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.68), transparent 42%),
      linear-gradient(135deg, rgba(239, 251, 255, 0.92), rgba(255, 255, 255, 0.86));
    box-shadow: 0 18px 44px rgba(2, 44, 68, 0.2);
    backdrop-filter: blur(18px);
  }

  .detail-share-floating {
    top: 12px;
    left: 12px;
    min-height: 38px;
    margin: 12px 0 -50px 12px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  :root[data-theme="dark"] .detail-actions {
    border-color: rgba(80, 194, 233, 0.26);
    background:
      radial-gradient(circle at 16% 0%, rgba(80, 194, 233, 0.16), transparent 42%),
      linear-gradient(135deg, rgba(13, 38, 50, 0.94), rgba(9, 26, 36, 0.9));
  }

  .detail-actions .secondary-action,
  .detail-actions .primary-action {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    padding: 0 10px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .manager-item {
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    border-radius: 16px;
    padding: 10px;
    background:
      radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.86), transparent 36%),
      linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(232, 250, 255, 0.78));
  }

  .manager-item img,
  .manager-thumb,
  .manager-thumb-stack {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  .manager-copy {
    display: grid;
    gap: 4px;
    padding-top: 1px;
  }

  .manager-item strong {
    font-size: 0.92rem;
    line-height: 1.18;
    white-space: normal;
  }

  .manager-item span {
    font-size: 0.76rem;
    line-height: 1.25;
  }

  .manager-item em {
    overflow: hidden;
    max-width: 100%;
    font-size: 0.68rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .manager-badges small {
    padding: 3px 6px;
    font-size: 0.62rem;
  }

  .admin-hero {
    align-items: start;
    flex-direction: column;
  }

  .admin-hero-actions {
    justify-items: stretch;
    width: 100%;
  }

  .admin-mobile-hide {
    display: none;
  }

  .admin-toolbar,
  .admin-manager-actions,
  .admin-email-search,
  .manager-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .admin-order-detail-grid {
    grid-template-columns: 1fr;
  }

  .admin-detail-modal {
    align-items: stretch;
    padding: 10px;
  }

  .admin-detail-panel {
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
    border-radius: 18px;
    padding: 18px;
    -webkit-overflow-scrolling: touch;
  }

  .admin-order-detail-head {
    flex-direction: column;
    gap: 8px;
  }

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

  .admin-order-product-row {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .admin-order-item-photo,
  .admin-order-item-mark {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .admin-order-product-price {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }

  .admin-product-detail {
    grid-template-columns: 1fr;
  }

  .admin-order-item select,
  .admin-email-search input {
    width: 100%;
  }

  .manager-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .manager-actions .text-button {
    min-height: 40px;
    justify-content: center;
    border-radius: 12px;
  }

  .mobile-nav {
    position: fixed;
    right: 14px;
    bottom: 12px;
    left: 14px;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(239, 251, 255, 0.86)),
      var(--header);
    box-shadow: 0 18px 40px rgba(16, 46, 62, 0.18);
    backdrop-filter: blur(18px);
  }

  :root[data-theme="dark"] .mobile-nav {
    background:
      linear-gradient(135deg, rgba(16, 36, 49, 0.92), rgba(12, 28, 38, 0.9)),
      var(--header);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
  }

  .mobile-nav > a,
  .mobile-nav > button {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 54px;
    border: 0;
    border-radius: 18px;
    color: var(--control-ink);
    background: transparent;
    font-size: 0.64rem;
    font-weight: 900;
    transition:
      transform 160ms ease,
      color 160ms ease,
      background 160ms ease;
  }

  .mobile-nav > .active {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-deep));
    box-shadow: 0 12px 24px rgba(58, 174, 217, 0.26);
  }

  .mobile-nav > a:active,
  .mobile-nav > button:active {
    transform: translateY(1px) scale(0.98);
  }

  .mobile-nav svg {
    width: 21px;
    height: 21px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-nav span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-bag-icon {
    position: relative;
    display: inline-grid;
    place-items: center;
  }

  .mobile-bag-icon [data-cart-count] {
    position: absolute;
    top: -9px;
    right: -12px;
    min-width: 18px;
    height: 18px;
    border: 2px solid #fff;
    font-size: 0.62rem;
  }

  .mobile-settings-menu {
    position: absolute;
    right: 8px;
    bottom: calc(100% + 10px);
    width: min(220px, 58vw);
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: 18px;
    padding: 10px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(229, 250, 255, 0.88)),
      var(--header);
    box-shadow: 0 18px 42px rgba(2, 44, 68, 0.28);
    backdrop-filter: blur(18px);
  }

  :root[data-theme="dark"] .mobile-settings-menu {
    border-color: rgba(80, 194, 233, 0.28);
    background:
      linear-gradient(135deg, rgba(13, 35, 48, 0.96), rgba(6, 23, 34, 0.94)),
      var(--header);
  }

  .footer-info {
    grid-template-columns: 1fr;
  }

  .policy-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .policy-nav {
    display: none;
  }

  .footer-brand::after {
    right: 0;
    top: auto;
    bottom: -12px;
    width: 100%;
    height: 1px;
  }

  .footer-store,
  .footer-contact,
  .footer-hours-card,
  .footer-policy,
  .footer-social {
    grid-column: 1 / -1;
  }

  .footer-block {
    border-radius: 14px;
    padding: 14px;
  }

  .site-footer h2 {
    font-size: clamp(1.75rem, 10vw, 2.8rem);
  }
}

