:root {
  --bg: #f3f6fb;
  --bg-strong: #edf3ff;
  --panel: #ffffff;
  --panel-alt: #f8faff;
  --panel-soft: #eef5ff;
  --text: #101828;
  --muted: #52607a;
  --primary: #ff9900;
  --primary-deep: #ea8d00;
  --brand-ink: #142a3b;
  --brand-accent: #2c9e95;
  --brand-gold: #c4a15a;
  --navy: #131921;
  --navy-2: #1d2736;
  --line: rgba(16, 24, 40, 0.08);
  --shadow: 0 24px 60px rgba(19, 25, 33, 0.12);
  --success: #1d9c68;
  --danger: #d93025;
  --warning: #f8d672;
  --card: #0f1729;
}

body.dark-theme {
  --bg: #07111e;
  --bg-strong: #0d1727;
  --panel: #101d2d;
  --panel-alt: #112236;
  --panel-soft: #15293f;
  --text: #edf4ff;
  --muted: #a7bbd6;
  --primary: #ffb347;
  --primary-deep: #ff9d00;
  --brand-ink: #f4f7f7;
  --brand-accent: #69d0c3;
  --brand-gold: #d4b56f;
  --navy: #0f1724;
  --navy-2: #17253a;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 72px rgba(3, 8, 16, 0.52);
  --success: #35c48d;
  --danger: #ff6b6b;
  --warning: #ffd978;
  --card: #111a2a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-strong) 100%);
  color: var(--text);
  transition: background 0.25s ease, color 0.25s ease;
}

button,
input,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

button,
input {
  border: none;
}

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

.hidden {
  display: none !important;
}

.page-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px 42px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  background: var(--navy);
  color: white;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: white;
  border-radius: 2px;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(82vw, 320px);
  height: 100dvh;
  background: var(--panel);
  color: var(--text);
  border-right: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
  transform: translateX(-105%);
  transition: transform 0.28s ease;
  z-index: 160;
  padding: 18px 14px 22px;
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 13, 20, 0.52);
  z-index: 150;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav-list a,
.mobile-nav-list button {
  width: 100%;
  text-align: left;
  padding: 14px 12px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text);
  font-weight: 600;
}

.mobile-nav-list a:hover,
.mobile-nav-list button:hover {
  background: rgba(255, 153, 0, 0.08);
  border-color: rgba(255, 153, 0, 0.18);
}

.payment-result-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--bg);
}

.payment-result-panel {
  width: min(100%, 620px);
  padding: clamp(28px, 6vw, 56px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
  text-align: center;
}

.payment-result-panel h1 {
  margin: 12px 0;
}

.payment-result-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.payment-result-panel .hero-actions {
  justify-content: center;
  margin-top: 24px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-symbol-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.brand-lockup {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
}

.brand-symbol {
  width: 100%;
  height: 100%;
  color: var(--brand-ink);
  --brand-gold: #c4a15a;
}

.topbar .brand-symbol,
.site-footer .brand-symbol {
  color: #f4f7f7;
  --brand-gold: #d4b56f;
}

.brand-short {
  display: none;
}

.footer-brand-symbol {
  width: 40px;
  height: 40px;
}

.brand-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  padding-bottom: 6px;
}

.footer-brand > div {
  position: relative;
  padding-bottom: 6px;
}

.topbar .brand-copy::after,
.mobile-nav-header .brand-copy::after,
.footer-brand > div::after {
  position: absolute;
  right: 5px;
  bottom: 0;
  left: 1px;
  height: 5px;
  border-bottom: 1.5px solid var(--brand-gold);
  border-radius: 50%;
  content: '';
  transform: rotate(-2deg);
}

.topbar .brand-copy::before,
.mobile-nav-header .brand-copy::before,
.footer-brand > div::before {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 4px;
  height: 4px;
  border-top: 1.5px solid var(--brand-gold);
  border-right: 1.5px solid var(--brand-gold);
  content: '';
  transform: rotate(28deg);
}

.auth-brand-line,
.payment-result-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.auth-brand-line .brand-symbol,
.payment-result-brand img {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
}

.tracking-brand-symbol {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.product-identifiers {
  color: var(--brand-accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 800;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.7);
}

.search-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 720px;
  min-width: 220px;
  background: var(--panel);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.search-wrap input {
  flex: 1;
  min-width: 0;
  padding: 13px 8px;
  font-size: 0.98rem;
  color: var(--text);
  background-color: var(--panel);
  caret-color: var(--primary-deep);
  -webkit-text-fill-color: var(--text);
  outline: none;
  opacity: 1;
  -webkit-appearance: none;
}

.search-wrap input::placeholder,
.search-wrap input::-webkit-input-placeholder,
.search-wrap input::-moz-placeholder,
.search-wrap input:-ms-input-placeholder {
  color: var(--muted);
  opacity: 1;
}

.search-wrap input:-webkit-autofill,
.search-wrap input:-webkit-autofill:hover,
.search-wrap input:-webkit-autofill:focus,
.search-wrap input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--text) !important;
  -webkit-box-shadow: 0 0 0 1000px var(--panel) inset !important;
  box-shadow: 0 0 0 1000px var(--panel) inset !important;
  background-color: var(--panel) !important;
  color: var(--text) !important;
}

.search-glyph {
  padding: 0 4px 3px 14px;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
}

.visual-search-trigger,
.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  background: transparent;
  color: var(--brand-ink);
}

.visual-search-trigger svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.visual-search-trigger:hover,
.icon-button:hover {
  color: var(--brand-accent);
}

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

.visual-search-dialog {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 20px;
}

.visual-search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 30, 0.62);
  backdrop-filter: blur(4px);
}

.visual-search-panel {
  position: relative;
  width: min(100%, 460px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.visual-search-heading,
.visual-results-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.visual-search-heading h2,
.visual-results-header h2 {
  margin: 6px 0 0;
}

.visual-search-panel > p,
.visual-results-header p {
  color: var(--muted);
  line-height: 1.6;
}

.visual-search-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0 12px;
}

.visual-search-choice {
  display: flex;
  min-height: 86px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-alt);
  color: var(--text);
  text-align: left;
}

.visual-search-choice:hover {
  border-color: var(--brand-accent);
}

.visual-search-choice > span {
  color: var(--brand-accent);
  font-size: 1.5rem;
}

.visual-camera-panel {
  margin: 18px 0 12px;
}

.visual-camera-preview {
  display: block;
  width: 100%;
  max-height: min(55vh, 440px);
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: #080d12;
  object-fit: contain;
}

.visual-camera-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.visual-search-status {
  min-height: 1.4em;
  color: var(--muted);
  font-size: 0.88rem;
}

.visual-search-cancel {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
}

.visual-search-results {
  margin: 30px 0 50px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.visual-results-header {
  margin-bottom: 18px;
}

.visual-search-preview {
  display: block;
  width: min(100%, 320px);
  max-height: 280px;
  object-fit: contain;
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-alt);
}

.visual-result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
}

.visual-result-grid .product-card {
  min-width: 0;
}

.visual-match-block h3,
.visual-similar-section h3 {
  margin: 0 0 12px;
}

.visual-similar-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.search-btn {
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #171717;
  padding: 14px 18px;
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.account-status {
  display: inline-flex;
}

.theme-toggle,
.account-btn,
.mini-cart {
  border-radius: 10px;
  padding: 9px 14px;
  transition: transform 0.2s ease;
}

.theme-toggle {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.account-btn {
  background: rgba(255, 153, 0, 0.12);
  color: white;
  border: 1px solid rgba(255, 153, 0, 0.28);
  font-weight: 600;
}

.mini-cart {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  position: relative;
}

#cartCount {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  background: var(--primary);
  color: #1a1a1a;
  border-radius: 50%;
  margin-left: 8px;
  font-weight: 800;
}

.promo-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(255, 153, 0, 0.12), rgba(255, 255, 255, 0.82));
  border: 1px solid rgba(255, 153, 0, 0.12);
  color: var(--text);
  padding: 14px 18px;
  border-radius: 0 0 18px 18px;
  font-weight: 600;
}

.live-status,
.catalog-live-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.live-status i,
.catalog-live-label i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(29, 156, 104, 0.12);
}

.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 8px 12px;
  justify-content: center;
}

.category-pill,
.filter-chip,
.mode-toggle,
.assistant-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: 0 8px 20px rgba(32, 41, 56, 0.04);
}

.category-pill.active,
.filter-chip.active,
.mode-toggle.active {
  background: var(--navy);
  color: white;
  border-color: transparent;
}

.marketplace-main {
  padding-top: 12px;
}

.hero-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
  background: linear-gradient(135deg, var(--panel) 0%, var(--panel-alt) 100%);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 38px 30px;
  box-shadow: var(--shadow);
}

.eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e08900;
  font-size: 0.72rem;
  font-weight: 800;
}

.hero-copy h1 {
  margin: 14px 0 14px;
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

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

.primary-btn,
.secondary-btn,
.add-cart-btn,
.checkout-btn,
.track-btn,
.payment-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn,
.checkout-btn,
.track-btn,
.payment-btn {
  background: linear-gradient(135deg, var(--primary), #ffb347);
  color: #191919;
  box-shadow: 0 18px 30px rgba(255, 153, 0, 0.22);
  padding: 14px 22px;
}

.secondary-btn {
  background: rgba(19, 25, 33, 0.06);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 14px 22px;
}

.primary-btn:hover,
.secondary-btn:hover,
.add-cart-btn:hover,
.checkout-btn:hover,
.track-btn:hover,
.payment-btn:hover,
.theme-toggle:hover,
.account-btn:hover,
.mini-cart:hover,
.assistant-btn:hover {
  transform: translateY(-1px);
}

.hero-metrics {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-metrics div {
  min-width: 150px;
  background: rgba(255, 153, 0, 0.07);
  border-radius: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 153, 0, 0.06);
}

.hero-metrics strong {
  display: block;
  font-size: 1.3rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.product-showcase {
  width: min(100%, 440px);
  background: linear-gradient(180deg, #101827 0%, #1b2738 100%);
  border-radius: 30px;
  padding: 24px;
  color: white;
  box-shadow: 0 32px 80px rgba(7, 13, 24, 0.32);
}

.chip {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 153, 0, 0.12);
  color: #ffd59f;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.showcase-graphic {
  height: 260px;
  display: grid;
  place-items: center;
  margin: 18px 0 14px;
  border-radius: 24px;
  background: radial-gradient(circle at 20% 20%, rgba(141, 191, 255, 0.3), transparent 25%), linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.device-shell {
  position: relative;
  width: 210px;
  height: 210px;
  border-radius: 48px;
  background: linear-gradient(145deg, rgba(255, 226, 165, 0.9), rgba(255, 153, 0, 0.7));
  transform: rotate(18deg);
  box-shadow: 0 30px 60px rgba(255, 153, 0, 0.2);
}

.device-shell::before,
.device-shell::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.device-shell::before {
  width: 80px;
  height: 80px;
  top: 18px;
  left: 18px;
}

.device-shell::after {
  width: 100px;
  height: 100px;
  right: 18px;
  bottom: 18px;
}

.product-showcase h2 {
  margin: 0 0 8px;
  font-size: 1.9rem;
}

.showcase-copy p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.7;
}

.showcase-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
}

.showcase-footer strong {
  font-size: 2rem;
}

.showcase-footer small {
  color: rgba(255, 255, 255, 0.72);
}

.deal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.deal-strip article,
.value-card,
.about-panel,
.assistant-box {
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-alt) 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
}

.deal-tag {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(19, 25, 33, 0.06);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
}

.deal-strip h3,
.value-card h3 {
  margin: 16px 0 0;
  font-size: 1.15rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.value-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 153, 0, 0.12);
  font-size: 1.5rem;
}

.value-card p,
.about-copy p,
.mini-feature strong {
  color: var(--muted);
  line-height: 1.7;
}

.about-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  margin-top: 42px;
  align-items: center;
}

.about-copy h2 {
  margin: 12px 0 10px;
  font-size: clamp(2rem, 2.8vw, 3rem);
}

.about-toggle {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 153, 0, 0.35);
  border-radius: 10px;
  background: rgba(255, 153, 0, 0.08);
  color: var(--text);
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.about-toggle span {
  color: var(--primary-deep);
  font-size: 1.15rem;
  line-height: 1;
}

.about-toggle:hover {
  background: rgba(255, 153, 0, 0.16);
  transform: translateY(-1px);
}

.about-story {
  max-width: 680px;
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 3px solid var(--primary);
  background: rgba(255, 153, 0, 0.05);
  border-radius: 0 14px 14px 0;
}

.about-story p {
  margin: 0 0 12px;
}

.about-story p:last-child {
  margin-bottom: 0;
}

.about-story h3 {
  margin: 20px 0 8px;
  font-size: 1.05rem;
}

.about-story + .about-toggle {
  margin-top: 16px;
}

.trust-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.trust-stats div {
  min-width: 140px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 153, 0, 0.04);
  padding: 16px 18px;
}

.trust-stats strong {
  display: block;
  font-size: 1.5rem;
}

.trust-stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.about-panel {
  display: grid;
  gap: 14px;
}

.mini-feature {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(19, 25, 33, 0.02);
}

.mini-feature span {
  display: block;
  color: #e08900;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.mini-feature strong {
  display: block;
  margin-top: 10px;
}

.assistant-section {
  margin-top: 42px;
}

.assistant-head h2 {
  margin: 10px 0 0;
  font-size: clamp(1.9rem, 2.4vw, 2.8rem);
}

.assistant-box {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.assistant-message {
  border-radius: 16px;
  background: rgba(255, 153, 0, 0.06);
  border: 1px solid rgba(255, 153, 0, 0.14);
  padding: 16px 18px;
  color: var(--text);
  line-height: 1.7;
}

.assistant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.assistant-btn {
  background: rgba(19, 25, 33, 0.04);
}

.catalog-section {
  margin-top: 42px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.section-header h2 {
  margin: 10px 0 0;
  font-size: clamp(1.8rem, 2vw, 2.6rem);
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.catalog-live-label {
  color: var(--success);
  font-size: 0.88rem;
  font-weight: 700;
}

.catalog-loading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 180px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  color: var(--muted);
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 153, 0, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: catalog-spin 0.8s linear infinite;
}

@keyframes catalog-spin {
  to {
    transform: rotate(360deg);
  }
}

.product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
}

.product-grid-compact .product-video,
.product-grid-compact .product-visual {
  height: 190px;
}

.product-card-compact .product-body {
  padding: 16px;
}

.product-card-compact .product-card-actions {
  grid-template-columns: 1fr;
}

.product-card-compact .product-card-actions .secondary-btn {
  display: none;
}

.product-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) 42px;
  gap: 9px;
  margin-top: 16px;
}

.product-card-actions .secondary-btn,
.product-card-actions .add-cart-btn,
.product-card-actions .save-product-btn {
  width: 100%;
  margin-top: 0;
  padding: 11px 10px;
  font-size: 0.84rem;
}

.save-product-btn {
  display: inline-grid;
  min-width: 42px;
  min-height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-alt);
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1;
}

.save-product-btn:hover,
.save-product-btn.is-saved {
  border-color: rgba(181, 61, 76, 0.35);
  color: #b53d4c;
}

.detail-save-btn {
  width: 100%;
  margin-top: 10px;
  grid-auto-flow: column;
  gap: 8px;
  font-size: 0.9rem;
}

.wishlist-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wishlist-header-btn span {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  font-size: 0.72rem;
}

.wishlist-local-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.wishlist-item .product-card {
  width: 100%;
}

.wishlist-item .product-card-compact .product-card-actions {
  grid-template-columns: minmax(0, 1fr) 42px;
}

.add-cart-btn:disabled,
.primary-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.section-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--primary-deep);
  font-weight: 800;
}

.home-assistance-section {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

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

.home-assistance-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 190px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.02);
}

.home-assistance-item h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.35;
}

.home-assistance-item p {
  flex: 1;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.text-link,
.text-link-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary-deep);
  font-weight: 750;
  text-align: left;
  cursor: pointer;
  margin-top: auto;
}

.home-quick-links,
.home-quick-links a {
  display: none;
}

.home-quick-links a:hover,
.text-link:hover,
.text-link-button:hover {
  color: var(--primary-deep);
  text-decoration: underline;
}

.information-page .page-shell {
  max-width: 1120px;
}

.information-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.information-header .brand-name {
  font-size: 1rem;
}

.information-header .brand-symbol {
  color: var(--brand-ink);
  --brand-accent: #c4a15a;
}

.information-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
}

.information-header nav a,
.information-footer a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.information-header nav a:hover,
.information-footer a:hover {
  color: var(--primary-deep);
}

.information-main {
  width: min(100%, 820px);
  margin: 0 auto;
}

.information-intro {
  padding: 54px 0 30px;
}

.information-intro h1 {
  margin: 8px 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.information-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.information-section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.information-section h2 {
  margin: 7px 0 16px;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.information-section h3 {
  margin: 25px 0 8px;
  font-size: 1.1rem;
}

.information-section p {
  color: var(--muted);
  line-height: 1.75;
}

.information-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 17px 0;
}

.information-actions .primary-btn,
.information-actions .secondary-btn,
.information-section > .primary-btn {
  width: fit-content;
}

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

.information-benefits article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.information-benefits h3 {
  margin: 0 0 6px;
}

.information-benefits p {
  margin: 0;
  font-size: 0.9rem;
}

.information-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding: 18px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.product-video {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: #0f1729;
  display: block;
}

.product-visual {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, rgba(255, 153, 0, 0.12), rgba(20, 96, 255, 0.12));
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.product-body {
  padding: 18px 16px 20px;
}

.product-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.product-badge,
.featured-badge {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.product-badge {
  background: rgba(19, 25, 33, 0.06);
  color: var(--navy);
}

.featured-badge {
  background: rgba(29, 156, 104, 0.12);
  color: var(--success);
}

.product-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  min-height: 72px;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #f7b500;
  font-size: 0.92rem;
}

.rating-row strong {
  color: var(--text);
}

.price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.price {
  font-size: 1.6rem;
  font-weight: 800;
}

.compare-price {
  color: var(--muted);
  text-decoration: line-through;
}

.product-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 12px;
}

.rating-row small {
  color: var(--muted);
}

.review-panel {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.review-panel summary {
  cursor: pointer;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.review-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.review-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel-alt);
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  outline: none;
  border-color: rgba(255, 153, 0, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.12);
}

.review-submit {
  padding: 10px 12px;
  border: 1px solid rgba(255, 153, 0, 0.28);
  border-radius: 9px;
  background: rgba(255, 153, 0, 0.1);
  color: var(--text);
  font-weight: 700;
}

.review-status {
  min-height: 1.2em;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.add-cart-btn {
  width: 100%;
  margin-top: 18px;
  border: 1px solid rgba(255, 153, 0, 0.28);
  background: rgba(255, 153, 0, 0.1);
  color: var(--text);
  padding: 12px 16px;
  font-weight: 700;
}

.track-section {
  margin-top: 42px;
}

.track-card {
  background: linear-gradient(135deg, var(--panel) 0%, var(--panel-alt) 100%);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.track-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  margin-top: 18px;
}

.track-form label,
.auth-form label,
.payment-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
}

.track-form input,
.auth-form input,
.payment-form input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--panel-alt);
  color: var(--text);
  outline: none;
}

.track-form input:focus,
.auth-form input:focus,
.payment-form input:focus {
  border-color: rgba(255, 153, 0, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.12);
}

.track-result {
  margin-top: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 153, 0, 0.04);
  color: var(--muted);
  border-radius: 14px;
  padding: 16px 18px;
  line-height: 1.8;
}

.cart-modal,
.auth-modal,
.checkout-modal {
  position: fixed;
  inset: 0;
  background: rgba(9, 13, 20, 0.55);
  display: grid;
  place-items: center;
  z-index: 100;
}

.cart-panel,
.auth-panel,
.checkout-panel {
  width: min(92vw, 560px);
  max-height: 90vh;
  overflow: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.cart-header,
.auth-header,
.checkout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.cart-header h2,
.auth-header h2,
.checkout-header h2 {
  margin: 8px 0 0;
}

.close-cart {
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-alt);
  padding: 12px 14px;
}

.cart-item strong {
  display: block;
  margin-bottom: 4px;
}

.cart-item small {
  color: var(--muted);
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.remove-btn {
  background: transparent;
  color: var(--danger);
  font-weight: 700;
}

.empty-cart,
.empty-state {
  padding: 22px 18px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: rgba(19, 25, 33, 0.02);
  color: var(--muted);
  text-align: center;
}

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

.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.auth-switcher {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-alt);
}

.contact-method {
  padding: 9px 10px;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}

.contact-method.active {
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
}

.google-signin-container {
  width: 100%;
  margin-bottom: 12px;
}

.google-auth-btn,
.apple-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--text);
  font-weight: 700;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.google-auth-btn {
  width: 100%;
  background: #fff;
  color: #1f1f1f;
}

.google-auth-btn:hover:not(:disabled),
.apple-auth-btn:hover:not(:disabled) {
  border-color: rgba(66, 133, 244, 0.5);
  box-shadow: 0 8px 20px rgba(66, 133, 244, 0.12);
  transform: translateY(-1px);
}

.google-mark {
  color: #4285f4;
  font-size: 1.2rem;
  font-weight: 800;
}

.apple-auth-btn:disabled {
  cursor: wait;
  opacity: 0.7;
}


.apple-mark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 800;
}

.auth-link-btn {
  display: inline-flex;
  align-self: flex-start;
  background: transparent;
  padding: 0;
  color: var(--primary-deep);
  font-weight: 700;
}

.auth-reset-panel {
  display: grid;
  gap: 14px;
  padding: 4px 0 0;
}

.auth-panel.reset-mode {
  width: min(100% - 32px, 460px);
  max-height: calc(100dvh - 36px);
  overflow: visible;
  padding: 30px;
}

.auth-panel.reset-mode > :not(.auth-reset-panel) {
  display: none !important;
}

.auth-panel.reset-mode .auth-reset-panel {
  display: grid;
}

.auth-reset-panel h2 {
  margin: 0;
  font-size: 1.55rem;
}

.auth-reset-panel .reset-state-label {
  color: var(--brand-accent);
}

.auth-reset-panel > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.password-reset-form {
  display: grid;
  gap: 14px;
}

.reset-password-field {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.reset-password-field input {
  min-width: 0;
  flex: 1;
}

.reset-password-toggle {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  background: var(--panel-alt);
  color: var(--text);
  font-weight: 650;
}

.reset-password-requirements {
  margin: -8px 0 0 !important;
  color: var(--muted) !important;
  font-size: 0.84rem;
}

.password-reset-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.password-reset-form .auth-submit {
  width: 100%;
  margin-top: 2px;
}

.password-reset-sent {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-alt);
}

.password-reset-sent strong {
  color: var(--brand-accent);
  font-size: 0.78rem;
}

.password-reset-sent p {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
}

.password-reset-sent > span {
  color: var(--muted);
  font-size: 0.88rem;
}

.password-reset-sent .secondary-btn {
  justify-self: start;
  width: auto;
}

.auth-reset-back {
  justify-self: start;
  padding: 4px 0;
  background: transparent;
  color: var(--muted);
  font-weight: 650;
}

.auth-reset-back:hover {
  color: var(--brand-accent);
}

.auth-reset-panel strong {
  font-size: 1rem;
}

.auth-reset-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 560px) {
  .auth-panel.reset-mode {
    width: calc(100vw - 28px);
    max-height: calc(100dvh - 28px);
    padding: 22px 20px;
  }
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: var(--line);
}

.auth-security-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
  text-align: center;
}

.account-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(9, 13, 20, 0.55);
}

.account-panel {
  width: min(1120px, 96vw);
  height: min(860px, 92vh);
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.account-header {
  grid-column: 1 / -1;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 12px;
  border-right: 1px solid var(--line);
  background: var(--panel-alt);
}

.account-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.account-nav a:hover,
.account-nav a:focus-visible {
  outline: none;
  background: var(--panel);
  color: var(--text);
}

.account-content {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 26px;
  scroll-behavior: smooth;
}

.account-section {
  display: grid;
  gap: 14px;
  padding: 0 0 24px;
  margin: 0 0 24px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 16px;
}

.account-section:last-child {
  margin-bottom: 0;
}

.account-section-heading,
.account-orders-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-header h2 {
  margin: 8px 0 0;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  letter-spacing: -0.03em;
}

.account-section-heading h3,
.account-orders-head h3 {
  margin: 5px 0 0;
  font-size: 1.08rem;
}

.account-order-count {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.82rem;
}

.account-order-count strong {
  color: var(--text);
}

.account-summary {
  display: grid;
  gap: 6px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-alt);
}

.account-summary strong {
  font-size: 1.04rem;
}

.account-summary span,
.account-orders-head > span,
.account-order small,
.account-field-help {
  color: var(--muted);
  font-size: 0.84rem;
}

.account-profile-form {
  display: grid;
  gap: 0;
}

.account-profile-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 650;
}

.account-profile-form label + label {
  margin-top: 14px;
}

.account-profile-form input,
.account-address-field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-weight: 400;
}

.account-profile-form input:focus,
.account-address-field textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--brand-accent) 40%, transparent);
  border-color: var(--brand-accent);
}

.account-profile-form input[readonly] {
  background: var(--panel-alt);
  color: var(--muted);
  cursor: default;
}

.account-field-help {
  line-height: 1.5;
}

.account-address-field {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 650;
}

.account-address-field textarea {
  min-height: 92px;
  resize: vertical;
}

.account-profile-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 17px;
}

.account-profile-actions .primary-btn {
  min-width: 150px;
}

.account-profile-actions .review-status {
  margin: 0;
}

.account-profile-actions .is-error {
  color: var(--danger);
}

.account-security {
  display: grid;
  gap: 5px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-alt);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.account-security strong {
  color: var(--text);
}

.account-reset-link,
.account-shop-link {
  color: var(--brand-accent);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.account-reset-link {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.account-reset-link:hover,
.account-shop-link:hover {
  text-decoration: underline;
}

.account-orders-head {
  align-items: end;
}

.account-orders {
  display: grid;
  gap: 12px;
}

.account-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, auto) auto;
  align-items: start;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-alt);
}

.account-order-main,
.account-order-meta {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.account-order-main > strong,
.account-order-meta > strong {
  overflow-wrap: anywhere;
}

.account-order-items,
.account-order-tracking,
.account-order-meta small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.account-order-items {
  display: grid;
  gap: 7px;
}

.account-order-product {
  display: flex;
  align-items: center;
  gap: 9px;
  overflow-wrap: anywhere;
}

.account-order-product img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  object-fit: cover;
}

.account-order-status {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--panel);
  color: var(--text);
  font-size: 0.77rem;
  font-weight: 700;
}

.account-order-tracking a,
.account-order-details a {
  color: var(--brand-accent);
}

.order-details-btn {
  padding: 4px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.84rem;
  text-align: left;
}

.account-order-details {
  display: grid;
  gap: 9px;
  margin-top: 2px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-alt);
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.account-order-details strong {
  color: var(--text);
}

.account-empty-state {
  display: grid;
  justify-items: start;
  gap: 4px;
  padding: 21px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: var(--panel-alt);
}

.account-empty-state p {
  margin: 0 0 8px;
  color: var(--text);
}

.account-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 2px;
}

.account-signout {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.account-logout-status {
  margin: 0;
  color: var(--danger);
  font-size: 0.8rem;
  text-align: right;
}

.account-logout {
  flex: 0 0 auto;
}

@media (max-width: 760px) {
  .account-modal {
    padding: 10px;
  }

  .account-panel {
    width: min(96vw, 680px);
    height: min(900px, 96vh);
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto minmax(0, 1fr);
    border-radius: 14px;
  }

  .account-header {
    padding: 17px;
  }

  .account-nav {
    flex-direction: row;
    overflow-x: auto;
    padding: 9px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    scrollbar-width: thin;
  }

  .account-nav a {
    flex: 0 0 auto;
    padding: 8px 10px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .account-content {
    padding: 19px;
  }
}

@media (max-width: 520px) {
  .account-modal {
    padding: 0;
  }

  .account-panel {
    width: 100%;
    height: 100%;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .account-header {
    padding: 14px 16px;
  }

  .account-content {
    padding: 17px 16px;
  }

  .account-order {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
  }

  .account-order-meta {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .account-order-meta > strong {
    grid-column: 1 / -1;
  }

  .account-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-signout {
    justify-items: start;
  }

  .account-logout-status {
    text-align: left;
  }
}

.account-panel {
  --panel: #ffffff;
  --panel-alt: #f8fafc;
  --panel-soft: #fff7ed;
  --text: #17212f;
  --muted: #667085;
  --line: rgba(23, 33, 47, 0.12);
  --brand-accent: #e87900;
  --primary: #ff9900;
  --primary-deep: #e87900;
  width: min(1320px, 98vw);
  height: min(940px, 94vh);
  border-top: 4px solid #ff9900;
  border-radius: 20px;
  background: #ffffff;
  color: #17212f;
}

.account-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 28px;
}

.account-header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.account-header-avatar {
  width: 44px;
  height: 44px;
  font-size: 0.9rem;
}

.account-header .eyebrow,
.account-section .eyebrow {
  color: #c65e00;
}

.account-nav {
  background: #f8fafc;
}

.account-nav a {
  border-left: 3px solid transparent;
}

.account-nav a:hover,
.account-nav a:focus-visible {
  border-left-color: #ff9900;
  background: #fff7ed;
  color: #17212f;
}

.account-content {
  padding: 30px clamp(20px, 4vw, 48px);
}

.account-section {
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.account-section-heading h3,
.account-orders-head h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.account-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border-color: #f1e4d7;
  border-radius: 14px;
  background: linear-gradient(110deg, #fff8f1 0%, #ffffff 68%);
}

.account-summary-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.account-summary-copy strong {
  font-size: 1.2rem;
}

.account-summary-note {
  font-size: 0.78rem !important;
}

.account-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  overflow: hidden;
  place-items: center;
  border: 2px solid #ffe0bd;
  border-radius: 50%;
  background: #fff1df;
  color: #a64b00;
  font-size: 1.35rem;
  font-weight: 750;
}

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

.account-avatar-summary {
  width: 70px;
  height: 70px;
}

.account-dashboard-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.account-dashboard-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 142px;
  padding: 18px;
  border: 1px solid #e8ebef;
  border-radius: 13px;
  background: #ffffff;
  color: #17212f;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.account-dashboard-card:hover,
.account-dashboard-card:focus-visible {
  border-color: #f5a64d;
  box-shadow: 0 10px 24px rgba(104, 67, 25, 0.08);
  outline: none;
  transform: translateY(-2px);
}

.account-dashboard-card > span:last-child {
  color: #667085;
  font-size: 0.82rem;
  line-height: 1.5;
}

.account-dashboard-icon {
  color: #d66b00;
  font-size: 1.45rem;
}

.account-avatar-editor {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid #e8ebef;
  border-radius: 12px;
  background: #ffffff;
}

.account-avatar-actions {
  display: grid;
  gap: 7px;
}

.account-avatar-buttons,
.account-address-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.account-avatar-buttons .primary-btn,
.account-avatar-buttons .secondary-btn,
.account-address-form .primary-btn,
.account-address-form .secondary-btn,
.account-section-heading > .secondary-btn {
  width: auto;
  padding: 9px 13px;
}

.account-avatar-buttons button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.account-address-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.account-address-card {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid #e8ebef;
  border-radius: 12px;
  background: #ffffff;
}

.account-address-card > div:first-child {
  min-width: 0;
}

.account-address-card p {
  margin: 8px 0 0;
  color: #667085;
  font-size: 0.86rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.account-default-badge {
  display: inline-flex;
  margin-left: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff1df;
  color: #a64b00;
  font-size: 0.7rem;
  font-weight: 700;
}

.account-address-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #f1e4d7;
  border-radius: 12px;
  background: #fffaf5;
}

.account-address-form label {
  display: grid;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 650;
}

.account-address-form input,
.account-address-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  background: #ffffff;
  color: #17212f;
  font: inherit;
}

.account-address-form textarea {
  resize: vertical;
}

.account-remove-address {
  color: #b42318;
}

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

.account-dashboard-product-grid .product-card {
  min-width: 0;
}

.account-info-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid #e8ebef;
  border-radius: 12px;
  background: #ffffff;
}

.account-info-card p {
  margin: 0;
  color: #667085;
  font-size: 0.88rem;
  line-height: 1.65;
}

.account-info-card .account-shop-link {
  width: fit-content;
  margin-top: 4px;
}

.account-notification-options {
  display: grid;
  gap: 12px;
  padding: 17px;
  border: 1px solid #e8ebef;
  border-radius: 12px;
  background: #ffffff;
}

.account-notification-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #344054;
  font-size: 0.88rem;
}

.account-notification-options input {
  width: 18px;
  height: 18px;
  accent-color: #e87900;
}

@media (max-width: 760px) {
  .account-panel {
    width: min(98vw, 680px);
    height: min(940px, 98vh);
  }

  .account-dashboard-cards {
    grid-template-columns: 1fr;
  }

  .account-dashboard-card {
    min-height: 0;
  }

  .account-address-list,
  .account-dashboard-product-grid {
    grid-template-columns: 1fr;
  }

  .account-address-card {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .account-panel {
    width: 100%;
    height: 100%;
    max-height: 100dvh;
    border-radius: 0;
  }

  .account-header {
    padding: 14px 16px;
  }

  .account-content {
    padding: 18px 16px;
  }

  .account-avatar-editor {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-avatar-buttons {
    align-items: flex-start;
  }
}

.auth-form,
.payment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-submit {
  width: 100%;
  margin-top: 8px;
}

.payment-status {
  border-radius: 14px;
  background: rgba(255, 153, 0, 0.08);
  border: 1px solid rgba(255, 153, 0, 0.15);
  padding: 12px 14px;
  font-size: 0.92rem;
  color: var(--muted);
}

.checkout-panel {
  width: min(94vw, 700px);
  max-height: 92vh;
  padding: 26px;
  border-radius: 12px;
}

.checkout-provider {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 3px solid #f5a623;
  border-radius: 8px;
  background: var(--panel-alt);
}

.checkout-provider-wordmark {
  color: #a65d00;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.checkout-provider strong,
.checkout-provider p {
  display: block;
  margin: 0;
}

.checkout-provider p,
.checkout-exchange-note,
.checkout-powered {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.checkout-order-summary {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-alt);
}

.checkout-order-summary h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.checkout-quote-items {
  display: grid;
  gap: 8px;
}

.checkout-quote-items > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.checkout-quote-item,
.checkout-totals > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.checkout-quote-item {
  color: var(--muted);
  font-size: 0.86rem;
}

.checkout-quote-item strong,
.checkout-totals dd {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.checkout-totals {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.checkout-totals dt,
.checkout-totals dd {
  margin: 0;
}

.checkout-totals dt {
  color: var(--muted);
  font-size: 0.86rem;
}

.checkout-totals .checkout-grand-total {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 800;
}

.checkout-totals .checkout-grand-total dt,
.checkout-totals .checkout-grand-total dd {
  color: var(--text);
  font-size: 1rem;
}

.checkout-exchange-note,
.checkout-powered {
  margin-bottom: 0;
}

.checkout-powered {
  text-align: center;
}

.checkout-panel .payment-btn {
  min-height: 48px;
}

@media (max-width: 560px) {
  .checkout-panel {
    width: 100%;
    max-height: 100vh;
    padding: 18px;
    border-radius: 12px 12px 0 0;
    align-self: end;
  }

  .checkout-provider {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.payment-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.delivery-section {
  margin-top: 42px;
}

.delivery-head {
  margin-bottom: 18px;
}

.delivery-head h2 {
  margin: 10px 0 0;
  font-size: clamp(1.9rem, 2.2vw, 2.8rem);
}

.delivery-head p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

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

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

.delivery-card {
  padding: 22px;
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-alt) 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
}

.delivery-card p {
  color: var(--muted);
  line-height: 1.75;
}

.delivery-card .primary-btn {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
}

.order-updates-section,
.why-shop-section {
  margin-top: 46px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.order-updates-section > p,
.why-shop-copy p {
  max-width: 850px;
  color: var(--muted);
  line-height: 1.8;
}

.order-journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 24px 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  list-style: none;
}

.order-journey li {
  min-height: 94px;
  padding: 16px;
  background: var(--panel);
}

.order-journey strong,
.order-journey span {
  display: block;
}

.order-journey strong {
  font-size: 0.92rem;
}

.order-journey span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.why-shop-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.info-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.info-action-row .primary-btn,
.info-action-row .secondary-btn {
  display: inline-flex;
  width: fit-content;
}

.customer-contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin: 24px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.customer-email-link {
  color: var(--primary-deep);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.whatsapp-configuration-note {
  flex-basis: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.delivery-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 153, 0, 0.12);
  font-size: 1.6rem;
}

.delivery-card h3 {
  margin: 18px 0 10px;
  font-size: 1.15rem;
}

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

.care-section {
  margin-top: 42px;
}

.care-head {
  margin-bottom: 18px;
}

.care-head h2 {
  margin: 10px 0 0;
  font-size: clamp(1.9rem, 2.2vw, 2.8rem);
}

.care-head p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

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

.care-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.care-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 153, 0, 0.4);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.care-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 153, 0, 0.12);
  color: var(--primary-deep);
  font-size: 1.3rem;
  font-weight: 800;
}

.care-card strong,
.care-card small {
  display: block;
}

.care-card strong {
  margin-bottom: 6px;
}

.care-card small {
  color: var(--muted);
  line-height: 1.5;
}

.care-arrow {
  color: var(--primary-deep);
  font-size: 1.2rem;
  font-weight: 800;
}

.product-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(9, 13, 20, 0.6);
}

.product-detail-panel {
  width: min(94vw, 860px);
  max-height: 90vh;
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.detail-header,
.ai-panel-header,
.tracking-result-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.detail-header h2 {
  margin: 8px 0 0;
}

.product-detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 22px;
}

.detail-media .product-video,
.detail-media .product-visual {
  height: 330px;
  border-radius: 16px;
}

.product-gallery {
  display: grid;
  gap: 12px;
}

.gallery-main {
  overflow: hidden;
  border-radius: 16px;
  background: #0f1729;
}

.gallery-main .product-video {
  border-radius: 0;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumb {
  flex: 0 0 68px;
  width: 68px;
  height: 56px;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #0f1729;
  cursor: pointer;
}

.gallery-thumb.active {
  border-color: var(--primary);
}

.gallery-thumb img,
.gallery-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.detail-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.detail-price {
  margin: 10px 0 20px;
  font-size: 2rem;
  font-weight: 800;
}

.detail-price del {
  margin-left: 10px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
}

.detail-facts {
  display: grid;
  gap: 10px;
  width: 100%;
  margin-bottom: 22px;
  color: var(--muted);
}

.detail-facts span {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.detail-facts strong {
  color: var(--text);
  text-align: right;
}

.detail-add-btn {
  width: 100%;
}

.ai-widget {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.ai-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 153, 0, 0.45);
  border-radius: 999px;
  background: var(--navy);
  color: white;
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(8, 14, 26, 0.25);
}

.ai-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #171717;
}

.ai-panel {
  width: min(360px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.ai-panel-header strong {
  display: block;
  margin-top: 5px;
}

.ai-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--panel-alt);
  color: var(--muted);
  font-size: 1.3rem;
}

.ai-panel .assistant-message {
  margin-top: 14px;
  font-size: 0.88rem;
}

.assistant-conversation {
  display: grid;
  gap: 8px;
  max-height: 150px;
  overflow-y: auto;
  margin-top: 10px;
}

.assistant-bubble {
  margin: 0;
  padding: 9px 11px;
  border-radius: 12px;
  background: var(--panel-alt);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.assistant-bubble.customer {
  background: rgba(255, 153, 0, 0.12);
  color: var(--text);
}

.assistant-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.assistant-form input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 11px;
  background: var(--panel-alt);
  color: var(--text);
  outline: none;
}

.assistant-form button {
  border-radius: 10px;
  padding: 0 13px;
  background: var(--primary);
  color: #171717;
  font-weight: 800;
}

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

.tracking-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 30px;
}

.tracking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--navy);
  color: white;
}

.tracking-intro {
  max-width: 700px;
  padding: 88px 0 36px;
}

.tracking-intro h1 {
  margin: 12px 0;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.tracking-intro p {
  max-width: 600px;
  color: var(--muted);
  line-height: 1.8;
}

.tracking-card-wide {
  margin: 0;
}

.tracking-auth-note {
  color: var(--muted);
  font-size: 0.86rem;
}

.tracking-auth-note a {
  color: var(--primary-deep);
  font-weight: 800;
}

.tracking-result-head h2 {
  margin: 8px 0 0;
}

.tracking-status-badge {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(29, 156, 104, 0.12);
  color: var(--success);
  font-size: 0.78rem;
  font-weight: 800;
}

.tracking-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 28px 0;
  list-style: none;
}

.tracking-timeline li {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 0.78rem;
}

.tracking-timeline li span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--panel-alt);
  border: 1px solid var(--line);
}

.tracking-timeline li.complete {
  color: var(--text);
}

.tracking-timeline li.complete span {
  background: var(--primary);
  border-color: var(--primary);
  color: #171717;
  font-weight: 800;
}

.tracking-timeline small,
.tracking-summary span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.tracking-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  background: var(--panel-alt);
}

.tracking-summary strong {
  display: block;
  margin-top: 5px;
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.tracking-summary dt {
  color: var(--muted);
  font-size: 0.82rem;
}

.tracking-summary dd {
  margin: 5px 0 0;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.tracking-items {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.tracking-items h3 {
  margin: 0 0 10px;
}

.tracking-items ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tracking-items li,
.tracking-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.tracking-total {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-weight: 800;
}

.tracking-error {
  color: var(--danger);
}

.tracking-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

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

.tracking-help span {
  margin-top: 6px;
  color: var(--muted);
}

.tracking-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 70px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.tracking-footer a {
  color: var(--primary-deep);
  font-weight: 800;
}

.site-footer {
  margin-top: 52px;
  padding: 28px 24px 16px;
  background: var(--navy);
  color: white;
  border-radius: 22px 22px 0 0;
  box-shadow: var(--shadow);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand strong {
  display: block;
  font-size: 1.15rem;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer p {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.site-footer h4 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.site-footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link,
.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease, transform 0.2s ease;
}

button.footer-link {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.footer-link:hover,
.footer-cta:hover {
  color: var(--primary);
  transform: translateX(2px);
}

.footer-cta {
  width: fit-content;
  margin-top: 16px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 153, 0, 0.35);
  border-radius: 10px;
  color: #ffd59f;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .topbar {
    flex-wrap: wrap;
  }

  .search-wrap {
    order: 3;
    width: 100%;
    max-width: 100%;
  }

  .hero-panel,
  .about-section,
  .product-grid,
  .value-grid,
  .deal-strip,
  .delivery-grid,
  .delivery-policy-content,
  .why-shop-copy,
  .care-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 720px) {
  body.menu-open {
    overflow: hidden;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .page-shell {
    padding-left: 12px;
    padding-right: 12px;
  }

  .topbar {
    border-radius: 16px;
    padding: 14px 12px;
  }

  .brand-copy small,
  .search-wrap,
  .theme-toggle,
  .header-actions .theme-toggle {
    display: none;
  }

  .brand-wrap {
    min-width: 0;
    flex: 1;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .header-actions {
    width: auto;
    justify-content: flex-end;
    gap: 8px;
  }

  .promo-bar {
    justify-content: center;
    text-align: center;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-panel {
    padding: 24px 18px;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn,
  .track-btn,
  .checkout-btn {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .home-assistance-grid {
    grid-template-columns: 1fr;
  }

  .info-action-row {
    align-items: stretch;
    flex-direction: column;
  }

  .info-action-row .primary-btn,
  .info-action-row .secondary-btn,
  .delivery-card .primary-btn {
    width: 100%;
  }

  .customer-contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hide-floating-ai-toggle #aiToggle {
    visibility: hidden;
    pointer-events: none;
  }

  .order-journey {
    grid-template-columns: 1fr;
  }

  .product-card h3 {
    font-size: 1.2rem;
  }

  .product-body,
  .product-card-compact .product-body {
    padding: 14px;
  }

  .product-card-actions {
    grid-template-columns: 1fr;
  }

  .product-detail-content,
  .tracking-summary,
  .care-grid,
  .delivery-grid,
  .footer-grid,
  .home-assistance-grid {
    grid-template-columns: 1fr;
  }

  .ai-widget {
    right: 12px;
    bottom: 12px;
  }

  .ai-toggle {
    padding: 11px 13px;
  }

  .auth-panel,
  .cart-panel,
  .checkout-panel,
  .product-detail-panel {
    width: min(94vw, 560px);
    padding: 18px;
  }

  .auth-switcher,
  .contact-methods,
  .payment-split,
  .track-form {
    grid-template-columns: 1fr;
    display: grid;
  }

  .auth-switcher {
    gap: 8px;
  }

  .contact-methods {
    gap: 6px;
  }

  .topbar .brand-copy {
    display: flex;
    min-width: 0;
  }

  .topbar .brand-name {
    display: none;
  }

  .topbar .brand-short {
    display: inline;
    color: white;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1;
  }

  .search-wrap {
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    z-index: 5;
    box-shadow: var(--shadow);
  }

  .topbar {
    position: relative;
    margin-bottom: 58px;
  }

  .search-wrap input {
    padding-top: 11px;
    padding-bottom: 11px;
    font-size: 0.9rem;
  }

  .search-btn {
    padding: 11px 12px;
  }

  .visual-search-trigger {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .visual-search-results {
    margin-top: 22px;
    padding: 16px;
  }

  .visual-results-header {
    flex-direction: column;
  }

  .visual-results-header .secondary-btn {
    width: auto;
  }

  .visual-search-panel {
    padding: 20px;
  }

  .visual-search-actions {
    grid-template-columns: 1fr;
  }

  .tracking-shell {
    width: min(100% - 24px, 1120px);
    padding-top: 12px;
  }

  .tracking-header {
    align-items: flex-start;
  }

  .tracking-header .brand-name {
    font-size: 0.98rem;
  }

  .tracking-header .secondary-btn {
    padding: 10px;
    font-size: 0.78rem;
  }

  .tracking-intro {
    padding: 58px 0 26px;
  }

  .tracking-intro h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .tracking-card-wide {
    padding: 18px;
  }

  .tracking-timeline {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tracking-timeline li {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .tracking-help,
  .tracking-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-meta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .header-actions {
    gap: 6px;
  }

  .theme-toggle {
    display: none;
  }

  .account-btn,
  .mini-cart {
    padding: 9px 10px;
  }

  .category-bar {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-left: 2px;
    padding-right: 2px;
    scrollbar-width: none;
  }

  .category-bar::-webkit-scrollbar {
    display: none;
  }

  .category-pill {
    flex: 0 0 auto;
  }

  .product-detail-content {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .home-assistance-grid {
  .detail-media .product-visual {
    height: 220px;

  .information-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .information-header nav {
    justify-content: flex-start;
  }

  .information-intro {
    padding-top: 34px;
  }

  .information-benefits {
    grid-template-columns: 1fr;
  }

  .information-actions .primary-btn,
  .information-actions .secondary-btn {
    width: 100%;
  }

  .information-footer {
    flex-direction: column;
  }
  }

  .ai-widget {
    right: 12px;
    bottom: 12px;
  }

  .ai-toggle {
    padding: 11px 13px;
  }

  .tracking-shell {
    width: min(100% - 24px, 1120px);
    padding-top: 12px;
  }

  .tracking-header {
    align-items: flex-start;
  }

  .tracking-header .brand-name {
    font-size: 0.98rem;
  }

  .tracking-header .secondary-btn {
    padding: 10px;
    font-size: 0.78rem;
  }

  .tracking-intro {
    padding: 58px 0 26px;
  }

  .tracking-intro h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .tracking-card-wide {
    padding: 18px;
  }

  .tracking-timeline {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tracking-timeline li {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .tracking-summary {
    grid-template-columns: 1fr 1fr;
  }

  .tracking-help,
  .tracking-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
