:root {
  --bg: #f8fafc;
  --bg-elevated: #ffffff;
  --bg-dark: #090d16;
  --bg-dark-soft: #0f172a;
  --surface: #ffffff;
  --surface-muted: #f1f5f9;
  --surface-subtle: #f8fafc;
  --text: #0f172a;
  --text-secondary: #334155;
  --text-inverse: #ffffff;
  --muted: #64748b;
  --muted-light: #94a3b8;
  --accent: #0066FF;
  --accent-hover: #0052cc;
  --accent-soft: rgba(0, 102, 255, 0.08);
  --accent-glow: rgba(0, 102, 255, 0.25);
  --tech-cyan: #06b6d4;
  --tech-emerald: #10b981;
  --tech-purple: #8b5cf6;
  --sage: #2563eb;
  --sage-soft: rgba(37, 99, 235, 0.08);
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 0 1px rgba(0, 102, 255, 0.15), 0 12px 32px rgba(0, 102, 255, 0.18);
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-full: 999px;
  --container: min(1320px, calc(100vw - 2.5rem));
  --header-h: 4.5rem;
  --font-display: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.2s var(--ease-out);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

.store-banner {
  margin: 0;
  padding: 0.55rem 1rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

.store-banner a {
  color: #38bdf8;
  font-weight: 600;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 40% at 50% -10%, rgba(0, 102, 255, 0.06), transparent 50%),
    radial-gradient(ellipse 50% 30% at 90% 10%, rgba(6, 182, 212, 0.04), transparent 45%),
    var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

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

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

button {
  cursor: pointer;
}

::selection {
  background: var(--accent-soft);
  color: var(--text);
}

/* ─── Layout ─── */

.page-shell {
  width: var(--container);
  margin: 0 auto;
}

/* ─── Announcement ─── */

.announcement-bar {
  padding: 0.5rem 1.5rem;
  text-align: center;
  background: #090d16;
  color: #94a3b8;
  font-size: 0.8125rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  max-height: 3.5rem;
  overflow: hidden;
  transition:
    max-height 0.35s var(--ease-out),
    padding 0.35s var(--ease-out),
    opacity 0.3s var(--ease-out);
}

.announcement-bar strong {
  color: #ffffff;
  font-weight: 600;
}

.announcement-bar__sep {
  color: #475569;
  font-weight: 300;
}

/* ─── Header (fixed + spacer) ─── */

.site-chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition: box-shadow 0.35s var(--ease-out);
}

.site-chrome.is-scrolled {
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

.site-chrome.is-scrolled .announcement-bar {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
  border: none;
}

.site-chrome.is-scrolled .site-header-wrap {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
}

.site-chrome.is-scrolled .site-header {
  height: 4rem;
}

.site-chrome-spacer {
  display: block;
  width: 100%;
  height: calc(var(--header-h) + 2.4rem);
  pointer-events: none;
}

.site-header-wrap {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.site-header {
  position: relative;
  width: var(--container);
  margin: 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: height 0.35s var(--ease-out);
}

/* Header Left: Brand + Mega Menu Trigger */
.site-header__left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--transition);
}

.brand:hover {
  opacity: 0.9;
}

.brand-logo {
  height: 38px;
  width: auto;
  display: block;
}

/* Mega Menu Trigger & Panel */
.mega-menu-trigger-wrap {
  position: relative;
}

.mega-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.mega-menu-btn:hover,
.mega-menu-trigger-wrap.is-open .mega-menu-btn {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.mega-icon-grid {
  color: var(--accent);
}

.mega-chevron {
  transition: transform 0.25s var(--ease-out);
  color: var(--muted);
}

.mega-menu-trigger-wrap.is-open .mega-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 900px;
  max-width: calc(100vw - 3rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.22s var(--ease-out);
  z-index: 100;
  overflow: hidden;
}

.mega-menu-trigger-wrap.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu__container {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 420px;
}

.mega-menu__sidebar {
  background: var(--surface-subtle);
  border-right: 1px solid var(--line);
  padding: 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mega-tab {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 0.875rem;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition);
}

.mega-tab__icon {
  display: flex;
  align-items: center;
  color: var(--muted);
  transition: color var(--transition);
}

.mega-tab__label {
  flex: 1;
}

.mega-tab__arrow {
  color: var(--muted);
  opacity: 0;
  transition: all var(--transition);
}

.mega-tab:hover {
  background: var(--surface-muted);
  color: var(--text);
}

.mega-tab.is-active {
  background: var(--surface);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--accent);
}

.mega-tab.is-active .mega-tab__icon,
.mega-tab.is-active .mega-tab__arrow {
  color: var(--accent);
  opacity: 1;
}

.mega-menu__content {
  padding: 1.5rem;
  background: var(--surface);
  overflow-y: auto;
  max-height: 480px;
}

.mega-panel {
  display: none;
}

.mega-panel.is-active {
  display: block;
  animation: fadeIn 0.2s var(--ease-out);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.mega-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--line);
}

.mega-panel__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

.mega-panel__desc {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
  max-width: 440px;
}

.mega-panel__view-all {
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--transition);
}

.mega-panel__view-all:hover {
  transform: translateX(3px);
  text-decoration: underline;
}

.mega-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.25rem;
}

.mega-subitem {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
}

.mega-subitem:hover {
  background: var(--surface-muted);
  color: var(--accent);
  transform: translateX(2px);
}

.mega-subitem__icon {
  display: flex;
  align-items: center;
  color: var(--muted);
  flex-shrink: 0;
}

.mega-subitem:hover .mega-subitem__icon {
  color: var(--accent);
}

.mega-subitem__name {
  flex: 1;
}

.mega-subitem__tag {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
}

/* Header Center: Smart Search Bar */
.site-header__center {
  flex: 1;
  max-width: 520px;
  position: relative;
}

.header-search-wrap {
  position: relative;
  width: 100%;
}

.header-search-form {
  display: flex;
  align-items: center;
  background: var(--surface-muted);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem 0.35rem 1rem;
  transition: all var(--transition);
}

.header-search-form:focus-within {
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

.search-icon {
  color: var(--muted);
  flex-shrink: 0;
  margin-right: 0.65rem;
}

.header-search-form:focus-within .search-icon {
  color: var(--accent);
}

.header-search-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.875rem;
  color: var(--text);
  min-width: 0;
}

.header-search-input::placeholder {
  color: var(--muted);
}

.search-clear-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0.25rem;
  font-size: 0.8125rem;
  line-height: 1;
  border-radius: var(--radius-full);
}

.search-clear-btn:hover {
  color: var(--text);
}

/* Live Search Results Popover */
.search-results-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.05);
  z-index: 150;
  max-height: 480px;
  overflow-y: auto;
  animation: fadeIn 0.18s var(--ease-out);
}

.search-popover-inner {
  padding: 1rem;
}

.search-popover-section {
  margin-bottom: 1rem;
}

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

.search-popover-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.search-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.search-pill {
  border: 1px solid var(--line);
  background: var(--surface-muted);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
}

.search-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.search-brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.search-brand-chip {
  padding: 0.35rem 0.75rem;
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}

.search-brand-chip:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.search-cat-matches {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.search-cat-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background var(--transition);
}

.search-cat-link:hover {
  background: var(--surface-muted);
  color: var(--accent);
}

.search-cat-link__icon {
  color: var(--accent);
  display: flex;
}

.search-cat-link__arrow {
  margin-left: auto;
  color: var(--muted);
}

.search-product-matches {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition);
}

.search-item:hover {
  background: var(--surface-muted);
}

.search-item__thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.search-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.search-item__info {
  flex: 1;
  min-width: 0;
}

.search-item__name {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-item__cat {
  font-size: 0.75rem;
  color: var(--muted);
}

.search-item__price {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.search-popover-footer {
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.search-all-results-link {
  display: block;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.search-all-results-link:hover {
  text-decoration: underline;
}

.search-popover--empty {
  text-align: center;
  padding: 1.5rem 1rem;
}

.search-popover--empty p {
  margin: 0 0 0.25rem;
  color: var(--text);
  font-size: 0.9375rem;
}

/* Header Right: Navigation Links + Actions */
.site-header__right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--accent);
  background: var(--surface-muted);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-link-account {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition);
}

.nav-link-account:hover {
  color: var(--accent);
  background: var(--surface-muted);
}

.nav-cta--label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
  transition: all var(--transition);
}

.nav-cta--label:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.35);
}

.nav-cta__count {
  display: inline-grid;
  place-items: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 1;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
}

.nav-toggle__bars {
  position: relative;
  width: 1.125rem;
  height: 0.875rem;
  display: block;
}

.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: all 0.25s var(--ease-out);
}

.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: calc(50% - 1px); }
.nav-toggle__bars span:nth-child(3) { bottom: 0; }

.is-nav-open .nav-toggle__bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.is-nav-open .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}
.is-nav-open .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 340px;
  max-width: 85vw;
  background: var(--surface);
  box-shadow: -10px 0 30px rgba(15, 23, 42, 0.15);
  transform: translateX(100%);
  transition: transform 0.28s var(--ease-out);
  z-index: 300;
  display: flex;
  flex-direction: column;
}

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

.mobile-nav-drawer__header {
  padding: 1.125rem 1.25rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  color: var(--text);
}

.mobile-drawer-close {
  background: transparent;
  border: none;
  font-size: 1.125rem;
  cursor: pointer;
  color: var(--muted);
}

.mobile-nav-drawer__body {
  padding: 1rem 1.25rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-search input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  font-size: 0.875rem;
  color: var(--text);
}

.mobile-category-accordions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-cat-group {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.mobile-cat-summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface-subtle);
  list-style: none;
}

.mobile-cat-summary::-webkit-details-marker {
  display: none;
}

.mobile-cat-summary__icon {
  color: var(--accent);
  display: flex;
}

.mobile-cat-summary__name {
  flex: 1;
}

.mobile-cat-summary__count {
  font-size: 0.6875rem;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-full);
  color: var(--muted);
}

.mobile-cat-children {
  padding: 0.5rem 0.85rem 0.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: var(--surface);
}

.mobile-cat-all-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  padding-bottom: 0.25rem;
  border-bottom: 1px dashed var(--line);
}

.mobile-cat-child {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.25rem 0;
}

.mobile-cat-child:hover {
  color: var(--accent);
}

.mobile-quick-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.mobile-quick-links a {
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.mobile-logout-btn {
  background: transparent;
  border: none;
  text-align: left;
  color: #ef4444;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0;
}

/* Responsive Breakpoints for Header */
@media (max-width: 1024px) {
  .nav-links-desktop {
    display: none;
  }
  .mega-menu {
    width: 720px;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }
  .mega-menu-trigger-wrap {
    display: none;
  }
  .nav-link-account span {
    display: none;
  }
  .site-header__center {
    max-width: none;
  }
}

.site-chrome.is-nav-open .nav-toggle {
  border-color: var(--text);
  background: var(--bg-dark);
  color: var(--text-inverse);
}

.site-chrome.is-nav-open .nav-toggle__bars span:nth-child(1) {
  top: calc(50% - 1px);
  transform: rotate(45deg);
}

.site-chrome.is-nav-open .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.site-chrome.is-nav-open .nav-toggle__bars span:nth-child(3) {
  top: calc(50% - 1px);
  transform: rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

body.nav-open::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(18, 16, 14, 0.28);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: nav-scrim-in 0.28s var(--ease-out);
}

@keyframes nav-scrim-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ─── Typography ─── */

.meta,
.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0;
}

.hero-copy h1,
.page-intro h1,
.split-copy h1,
.product-hero__content h1,
.empty-state h1,
.checkout-layout h1,
.login-shell h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6.5vw, 5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0.75rem 0 1.25rem;
}

.section-header h2,
.related-strip h2,
.admin-panel h2,
.cart-summary h2,
.checkout-summary h2,
.footer-newsletter h3 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0.35rem 0 0;
}

.hero-copy p,
.page-intro p,
.split-copy p,
.lede {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.0625rem;
  max-width: 32rem;
}

/* ─── Buttons ─── */

.hero-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

.primary-button {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.35);
}

.primary-button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.4);
}

.secondary-button {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.secondary-button:hover {
  border-color: var(--text);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.ghost-button {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--muted);
}

.ghost-button:hover {
  color: var(--text);
  border-color: var(--text);
  transform: translateY(-2px);
}

/* ─── Hero ─── */

.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0 5rem;
  min-height: calc(100vh - var(--header-h) - 2.5rem);
  max-height: 920px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.875rem 0.4rem 0.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius-xl);
  padding: 2rem;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(145deg, var(--bg-dark) 0%, #2a2420 50%, #1a1614 100%);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform-style: preserve-3d;
}

.hero-visual__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 102, 255, 0.35), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(74, 92, 56, 0.3), transparent 40%);
  pointer-events: none;
  transition: transform 0.7s var(--ease-out), opacity 0.7s var(--ease-out);
}

.hero-visual:hover .hero-visual__glow {
  opacity: 0.9;
  transform: scale(1.08) rotate(4deg);
}

.hero-visual__mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
  pointer-events: none;
}

.hero-orbit {
  position: absolute;
  inset: 4.5rem;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  animation: heroOrbit 18s linear infinite;
  pointer-events: none;
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  inset: 13%;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.hero-orbit::after {
  inset: 28%;
  border-style: solid;
}

.hero-orbit span {
  position: absolute;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 24px rgba(0, 102, 255, 0.8);
}

.hero-orbit span:nth-child(1) {
  top: -0.375rem;
  left: 50%;
}

.hero-orbit span:nth-child(2) {
  right: 12%;
  bottom: 10%;
  background: #d7f171;
  box-shadow: 0 0 24px rgba(215, 241, 113, 0.55);
}

.hero-orbit span:nth-child(3) {
  left: 8%;
  bottom: 26%;
  background: #ffffff;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.5);
}

.hero-card {
  position: absolute;
  z-index: 4;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-inverse);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-lg);
  padding: 1rem 1.125rem;
  max-width: 14rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  transition: transform 0.45s var(--ease-out), background var(--transition), border-color var(--transition);
}

.hero-visual:hover .hero-card--top {
  transform: translate(-0.35rem, 0.35rem);
}

.hero-visual:hover .hero-card--left {
  transform: translate(0.35rem, -0.35rem);
}

.hero-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.hero-card span {
  color: var(--muted-light);
  line-height: 1.55;
  font-size: 0.8125rem;
}

.hero-card--top {
  top: 1.5rem;
  right: 1.5rem;
}

.hero-card--left {
  bottom: 1.5rem;
  left: 1.5rem;
}

.hero-product-stack {
  position: absolute;
  inset: 4.7rem 2.5rem 3.3rem;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  align-items: end;
  perspective: 900px;
}

.hero-product-stack:hover {
  z-index: 12;
}

.hero-pack {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 0.65rem;
  min-height: 190px;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  background: linear-gradient(180deg, #fff 0%, #f5f0e8 100%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  color: var(--text);
  overflow: hidden;
  cursor: pointer;
  transform: translateY(var(--pack-y, 0)) rotate(var(--pack-r, 0deg));
  transform-origin: center;
  transition: transform 0.42s var(--ease-out), box-shadow 0.42s var(--ease-out), opacity var(--transition), filter var(--transition);
}

.hero-pack::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 15%, rgba(0, 102, 255, 0.16), transparent 34%),
    radial-gradient(circle at 86% 86%, rgba(74, 92, 56, 0.14), transparent 38%);
  opacity: 0;
  transition: opacity var(--transition);
}

.hero-pack__content,
.hero-pack__label {
  position: relative;
  z-index: 1;
}

.hero-pack__content {
  display: grid;
  grid-template-columns: minmax(4.5rem, 0.9fr) minmax(0, 1.1fr);
  gap: 0.75rem;
  align-items: center;
}

.hero-pack img {
  height: 116px;
  width: 100%;
  object-fit: contain;
  transition: transform 0.45s var(--ease-out);
}

.hero-pack strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-pack p {
  margin: 0.4rem 0 0;
  color: rgba(18, 16, 14, 0.58);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
}

.hero-pack__label {
  justify-self: start;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(18, 16, 14, 0.08);
  color: rgba(18, 16, 14, 0.7);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-pack:hover {
  z-index: 14;
  transform: translate3d(0, calc(var(--pack-y, 0px) - 14px), 60px) rotate(0deg) scale(1.055);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.78);
}

.hero-pack:hover::before {
  opacity: 1;
}

.hero-pack:hover img {
  transform: scale(1.08) rotate(-2deg);
}

.hero-product-stack:hover .hero-pack:not(:hover) {
  opacity: 0.68;
  filter: saturate(0.88);
  transform: translateY(var(--pack-y, 0)) rotate(var(--pack-r, 0deg)) scale(0.98);
}

.hero-pack--featured {
  background: linear-gradient(160deg, #fff8e8 0%, #ffe0b9 100%);
}

.hero-pack:nth-child(1) { --pack-y: 0rem; --pack-r: -2deg; }
.hero-pack:nth-child(2) { --pack-y: 2.5rem; --pack-r: 3deg; }
.hero-pack:nth-child(3) { --pack-y: -1rem; --pack-r: 2deg; }
.hero-pack:nth-child(4) { --pack-y: 1.25rem; --pack-r: -3deg; }

.hero-visual__header {
  display: none;
}

.hero-live-card {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 11.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}

.hero-live-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-live-card span,
.hero-live-card__eyebrow {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-live-card strong,
.hero-live-card__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-live-card a,
.hero-live-card__btn {
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-top: 0.15rem;
  text-decoration: none;
}

.hero-visual:hover .hero-live-card {
  transform: translateY(-0.5rem);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.26);
}

@keyframes heroOrbit {
  to {
    transform: rotate(360deg);
  }
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stats div span {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 500;
}

/* ─── Trust band ─── */

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0 0 4rem;
}

.trust-band article {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.trust-band article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.trust-band__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.trust-band strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.trust-band p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── Sections ─── */

.section {
  padding: 1rem 0 5rem;
}

.section--dark {
  margin: 0 calc((100vw - var(--container)) / -2);
  padding: 5rem calc((100vw - var(--container)) / 2);
  background: var(--bg-dark);
  color: var(--text-inverse);
}

.section-header,
.page-intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}

.section-header p {
  max-width: 28rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.home-prashad__aside {
  max-width: 24rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-start;
}

.home-prashad__aside p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.9375rem;
}

/* Homepage offers — quiet horizontal code strip (Admin → Offers) */
.section--home-offers[hidden] {
  display: none !important;
}

.section--home-offers {
  padding-top: 0.25rem;
  padding-bottom: 2.75rem;
}

.home-offers-band {
  display: grid;
  gap: 0.85rem;
}

.home-offers-band__intro {
  max-width: 36rem;
}

.home-offers-band__intro h2 {
  margin: 0.15rem 0 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.home-offers-band__intro > p:not(.meta) {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.home-offers {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.15rem 0.1rem 0.45rem;
  margin: 0 -0.1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(18, 16, 14, 0.18) transparent;
}

.home-offers:focus-visible {
  outline: 2px solid rgba(0, 102, 255, 0.45);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.home-offers::-webkit-scrollbar {
  height: 4px;
}

.home-offers::-webkit-scrollbar-track {
  background: transparent;
}

.home-offers::-webkit-scrollbar-thumb {
  background: rgba(18, 16, 14, 0.16);
  border-radius: 999px;
}

.home-offer {
  flex: 0 0 auto;
  width: min(15.5rem, 78vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  transition: border-color var(--transition), background var(--transition);
}

.home-offer:hover {
  border-color: rgba(0, 102, 255, 0.2);
  background: rgba(255, 255, 255, 0.92);
}

.home-offer--urgent {
  border-color: rgba(0, 102, 255, 0.18);
  background: linear-gradient(160deg, rgba(255, 250, 246, 0.95), rgba(255, 255, 255, 0.78));
}

.home-offer__head {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.home-offer__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 0;
}

.home-offer__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--text);
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-offer__pitch {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 1.35em;
  transition: max-height 0.22s ease;
}

.home-offer:hover .home-offer__pitch,
.home-offer:focus-within .home-offer__pitch {
  -webkit-line-clamp: 2;
  max-height: 2.7em;
}

@media (prefers-reduced-motion: reduce) {
  .home-offer__pitch {
    transition: none;
  }
}

.home-offer__badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  max-width: 6.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.2;
  padding: 0.18rem 0.4rem;
  border-radius: 6px;
  background: var(--sage-soft);
  color: var(--sage);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-offer--urgent .home-offer__badge {
  background: var(--accent-soft);
  color: var(--accent-hover);
}

.home-offer__code {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  padding: 0.28rem 0.5rem;
  border-radius: 6px;
  border: 1px dashed rgba(18, 16, 14, 0.16);
  background: rgba(250, 248, 245, 0.9);
  color: var(--text);
}

.home-offer__actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
}

.home-offer__copy,
.home-offer__apply {
  min-height: 0;
  padding: 0.32rem 0.65rem;
  font-size: 0.78rem;
  line-height: 1.2;
  border-radius: var(--radius-sm);
}

.home-offer__apply {
  text-decoration: none;
}

@media (max-width: 520px) {
  .home-offer {
    width: min(14.25rem, 82vw);
    padding: 0.7rem 0.75rem;
  }

  .home-offers {
    scrollbar-width: none;
  }

  .home-offers::-webkit-scrollbar {
    display: none;
  }
}

/* Homepage Prashad: quiet extension with intentional warm atmosphere */
.home-prashad {
  padding-top: 0.5rem;
  padding-bottom: 3.75rem;
}

.home-prashad__panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(92, 51, 16, 0.1);
  background:
    radial-gradient(ellipse 55% 80% at 100% 0%, rgba(232, 163, 23, 0.14), transparent 55%),
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(196, 92, 38, 0.08), transparent 50%),
    linear-gradient(145deg, #faf6ef 0%, #f3ebe0 48%, #efe4d4 100%);
  padding: clamp(1.35rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}

.home-prashad__glow {
  position: absolute;
  right: -6%;
  top: -40%;
  width: min(42%, 18rem);
  height: 140%;
  background: radial-gradient(circle, rgba(232, 163, 23, 0.18), transparent 68%);
  pointer-events: none;
  animation: home-prashad-glow 9s ease-in-out infinite alternate;
}

.home-prashad__diya {
  position: absolute;
  top: 1rem;
  right: 1.15rem;
  width: 2.75rem;
  height: auto;
  opacity: 0.88;
  filter: drop-shadow(0 4px 10px rgba(92, 51, 16, 0.18));
  pointer-events: none;
  z-index: 1;
  animation: home-prashad-diya 5.5s ease-in-out infinite;
  transform-origin: 50% 85%;
}

.home-prashad__layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(1.15rem, 2.5vw, 1.65rem);
}

.home-prashad__copy {
  max-width: 34rem;
  padding-right: 3rem;
}

.home-prashad__eyebrow {
  color: #9a5b2e;
  font-weight: 700;
}

.home-prashad__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #3d2415;
  margin: 0.4rem 0 0.65rem;
  max-width: 18rem;
}

.home-prashad__copy p {
  margin: 0 0 1rem;
  color: #6d5a4a;
  line-height: 1.65;
  font-size: 0.9375rem;
}

.home-prashad__cta {
  min-height: 2.55rem;
  padding: 0 1.25rem;
  font-size: 0.875rem;
  border-color: rgba(92, 51, 16, 0.22);
  color: #3d2415;
  background: rgba(255, 255, 255, 0.55);
}

.home-prashad__cta:hover {
  border-color: #c45c26;
  color: #c45c26;
  background: #fff;
}

.home-prashad .product-grid.home-prashad__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: none;
  width: 100%;
}

/* Compact vertical cards — boxy (short image), full-width text */
.home-prashad .product-card--compact {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(92, 51, 16, 0.1);
  box-shadow: 0 6px 18px rgba(61, 36, 21, 0.05);
}

.home-prashad .product-card--compact:hover {
  border-color: rgba(196, 92, 38, 0.28);
  box-shadow: 0 10px 24px rgba(61, 36, 21, 0.1);
  transform: translateY(-2px);
}

.home-prashad .product-card--compact .product-card__visual {
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: none;
  max-height: none;
  height: auto;
  flex-shrink: 0;
  padding: 0.65rem;
  border-right: none;
  border-bottom: 1px solid rgba(92, 51, 16, 0.08);
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.65), transparent 40%),
    linear-gradient(160deg, #f8efe3, #efe0cc);
}

.home-prashad .product-card--compact .product-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.7rem 0.85rem 0.85rem;
  min-width: 0;
  overflow: visible;
}

.home-prashad .product-card--compact h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font-size: 0.95rem;
  line-height: 1.3;
  margin: 0;
  word-break: break-word;
}

.home-prashad .product-card--compact .product-card__body p.meta,
.home-prashad .product-card--compact .product-card__rating {
  display: none;
}

.home-prashad .product-card--compact .prashad-donation-badge--compact {
  margin: 0;
  padding: 0.15rem 0.45rem;
  font-size: 0.65rem;
  white-space: nowrap;
  flex-shrink: 0;
  max-width: 100%;
}

.home-prashad .product-card--compact .product-card__row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.15rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(92, 51, 16, 0.08);
}

.home-prashad .product-card--compact .product-card__price {
  font-size: 1rem;
  flex-shrink: 0;
}

.home-prashad .product-card--compact .product-card__row a {
  font-size: 0.78rem;
  margin-left: 0;
  flex-shrink: 0;
  white-space: nowrap;
}

.home-prashad .product-card--compact .prashad-card-motif {
  width: 1.1rem;
  top: 0.4rem;
  right: 0.4rem;
}

.home-prashad .product-card--compact .product-card__quick {
  width: 1.85rem;
  height: 1.85rem;
  font-size: 1rem;
  bottom: 0.4rem;
  right: 0.4rem;
  opacity: 1;
  transform: none;
}

.home-prashad .product-card--compact .product-card__badge {
  left: 0.4rem;
  top: 0.4rem;
  padding: 0.2rem 0.5rem;
  font-size: 0.58rem;
  max-width: calc(100% - 2.5rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 900px) {
  .home-prashad .product-grid.home-prashad__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .home-prashad .product-card--compact .product-card__body {
    padding: 0.55rem 0.65rem 0.7rem;
  }

  .home-prashad .product-card--compact h3 {
    font-size: 0.85rem;
  }

  .home-prashad .product-card--compact .product-card__price {
    font-size: 0.9rem;
  }
}

@media (max-width: 760px) {
  .home-prashad__copy {
    padding-right: 2.5rem;
  }

  .home-prashad .product-grid.home-prashad__grid {
    grid-template-columns: 1fr;
    max-width: 22rem;
  }

  .home-prashad .product-card--compact .product-card__visual {
    aspect-ratio: 16 / 10;
  }

  /* Keep price row horizontal — global 760px rule stacks .product-card__row */
  .home-prashad .product-card--compact .product-card__row {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
  }
}

@media (max-width: 520px) {
  .home-prashad__copy {
    padding-right: 2rem;
  }

  .home-prashad .product-card--compact .product-card__visual {
    aspect-ratio: 4 / 3;
    padding: 0.5rem;
  }

  .home-prashad .product-card--compact .product-card__body {
    padding: 0.6rem 0.75rem 0.75rem;
  }

  .home-prashad .product-card--compact h3 {
    font-size: 0.9rem;
  }
}

@keyframes home-prashad-glow {
  from { opacity: 0.65; transform: translateX(0); }
  to { opacity: 1; transform: translateX(-4%); }
}

@keyframes home-prashad-diya {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-2px); }
}

.nav-menu a.nav-link--quiet {
  font-weight: 400;
  opacity: 0.82;
}

.nav-menu a.nav-link--quiet:hover,
.nav-menu a.nav-link--quiet.is-active {
  opacity: 1;
}

/* Do not use opacity on this link — it flattens the diya glow/flame for all descendants. */
.nav-menu a.nav-link--prashad,
.nav-menu a.nav-link--quiet.nav-link--prashad {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #7a4a28;
  font-weight: 500;
  opacity: 1;
  overflow: visible;
}

.nav-menu a.nav-link--prashad:hover,
.nav-menu a.nav-link--prashad.is-active {
  color: #5c3310;
  background: rgba(232, 163, 23, 0.1);
}

.nav-menu a.nav-link--prashad.is-active {
  box-shadow: 0 1px 0 rgba(196, 92, 38, 0.18);
}

.nav-prashad-label {
  display: inline-block;
  position: relative;
  min-width: 4.75em;
  line-height: 1.35;
  vertical-align: baseline;
  text-align: start;
  white-space: nowrap;
}

.nav-prashad-label__text {
  display: inline-block;
  opacity: 1;
  transition: opacity 0.38s ease;
}

.nav-prashad-label__text.is-fading {
  opacity: 0;
}

.nav-prashad-diya {
  width: 1.2rem;
  height: auto;
  flex-shrink: 0;
  display: block;
  margin-top: -0.15rem;
  overflow: visible;
  transform-origin: 50% 85%;
  filter: drop-shadow(0 0 5px rgba(255, 160, 40, 0.85));
  animation: nav-diya-sway 2s ease-in-out infinite;
}

.nav-prashad-diya__halo {
  opacity: 0.55;
  transform-box: fill-box;
  transform-origin: 50% 55%;
  animation: nav-diya-halo 1.4s ease-in-out infinite;
}

.nav-prashad-diya__flame-group,
.nav-prashad-diya__flame,
.nav-prashad-diya__tip {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: nav-diya-flame 1.1s ease-in-out infinite;
}

.nav-prashad-diya__flame-core,
.nav-prashad-diya__tip-core {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: nav-diya-flame 0.85s ease-in-out infinite reverse;
}

.nav-menu a.nav-link--prashad:hover .nav-prashad-diya,
.nav-menu a.nav-link--prashad.is-active .nav-prashad-diya {
  filter: drop-shadow(0 0 8px rgba(255, 170, 50, 1));
}

@keyframes nav-diya-sway {
  0%,
  100% {
    transform: rotate(-7deg) translateY(0);
    filter: drop-shadow(0 0 3px rgba(255, 150, 30, 0.7));
  }
  40% {
    transform: rotate(8deg) translateY(-1.5px);
    filter: drop-shadow(0 0 9px rgba(255, 180, 50, 1));
  }
  70% {
    transform: rotate(-3deg) translateY(-0.5px);
    filter: drop-shadow(0 0 5px rgba(255, 160, 40, 0.9));
  }
}

@keyframes nav-diya-halo {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.85);
  }
  45% {
    opacity: 0.85;
    transform: scale(1.28);
  }
  70% {
    opacity: 0.5;
    transform: scale(1.05);
  }
}

@keyframes nav-diya-flame {
  0%,
  100% {
    transform: scaleY(1) scaleX(1) rotate(-4deg);
  }
  25% {
    transform: scaleY(1.28) scaleX(0.78) rotate(5deg);
  }
  50% {
    transform: scaleY(0.82) scaleX(1.18) rotate(-3deg);
  }
  75% {
    transform: scaleY(1.18) scaleX(0.88) rotate(3deg);
  }
}

/* ─── Product grid ─── */

.product-grid,
.story-grid,
.value-grid,
.mini-grid {
  display: grid;
  gap: 1.25rem;
}

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

/* ─── Homepage snacks carousel ─── */

.section-header--snacks {
  align-items: flex-end;
}

.section-header--snacks .section-header__aside {
  color: var(--muted);
  line-height: 1.7;
}

.snacks-carousel {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.snacks-carousel__shell {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
}

.snacks-carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  touch-action: pan-x;
  outline: none;
}

.snacks-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.snacks-carousel__viewport:focus-visible {
  box-shadow: 0 0 0 3px var(--accent-soft);
  border-radius: var(--radius-lg);
}

.snacks-carousel__track {
  display: flex;
  gap: 1.25rem;
  padding: 0.35rem 0.15rem 0.85rem;
}

.snacks-carousel__slide {
  flex: 0 0 calc((100% - 3.75rem) / 4);
  min-width: 0;
  scroll-snap-align: start;
}

.snacks-carousel__slide .product-card {
  height: 100%;
}

.snacks-carousel__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), opacity var(--transition), background var(--transition);
  flex-shrink: 0;
}

.snacks-carousel__nav:hover:not(:disabled) {
  border-color: var(--text);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.snacks-carousel__nav:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
}

.snacks-carousel__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  padding: 0 0.15rem;
}

.snacks-carousel__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.snacks-carousel__dots[hidden] {
  display: none;
}

.snacks-carousel__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: var(--radius-full);
  background: rgba(18, 16, 14, 0.18);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), width var(--transition);
}

.snacks-carousel__dot.is-active {
  width: 1.35rem;
  background: var(--accent);
}

.snacks-carousel__dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.snacks-carousel__all {
  margin-left: auto;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

.snacks-carousel__all:hover {
  color: var(--accent-hover);
}

.snacks-carousel__empty {
  margin: 0;
  padding: 2rem 0;
  text-align: center;
  width: 100%;
}

@media (max-width: 1100px) {
  .snacks-carousel__slide {
    flex-basis: calc((100% - 2.5rem) / 3);
  }
}

@media (max-width: 900px) {
  .snacks-carousel__slide {
    flex-basis: calc((100% - 1.25rem) / 2);
  }
}

@media (max-width: 640px) {
  .snacks-carousel__shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .snacks-carousel__nav {
    position: absolute;
    top: 42%;
    z-index: 2;
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.35rem;
    background: rgba(255, 255, 255, 0.94);
  }

  .snacks-carousel__nav--prev {
    left: 0.25rem;
  }

  .snacks-carousel__nav--next {
    right: 0.25rem;
  }

  .snacks-carousel__viewport {
    margin: 0 -0.15rem;
    padding: 0 0.15rem;
  }

  .snacks-carousel__slide {
    flex-basis: min(78vw, 18.5rem);
  }

  .snacks-carousel__footer {
    justify-content: center;
  }

  .snacks-carousel__all {
    margin-left: 0;
  }
}

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

/* ─── Product cards ─── */

.product-card,
.story-card,
.product-tile,
.mini-card,
.admin-panel,
.cart-summary,
.checkout-summary,
.faq-item,
.policy-panel,
.panel-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-card:hover,
.story-card:hover,
.product-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.product-card__visual,
.product-tile__art,
.product-hero__art {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.5), transparent 35%),
    linear-gradient(160deg, color-mix(in srgb, var(--card-accent) 55%, white), color-mix(in srgb, var(--card-accent) 25%, #f0ebe3));
}

.product-card__visual {
  aspect-ratio: 1;
  padding: 1.5rem;
}

.product-card__visual img,
.product-tile__art img,
.product-hero__art img,
.mini-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s var(--ease-out);
}

.product-card:hover .product-card__visual img,
.product-tile:hover .product-tile__art img {
  transform: scale(1.06);
}

.product-card__badge,
.product-tile__art p {
  position: absolute;
  left: 1rem;
  top: 1rem;
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--surface);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-sm);
}

.product-card__quick {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: var(--radius-full);
  background: var(--text);
  color: white;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}

.product-card:hover .product-card__quick {
  opacity: 1;
  transform: translateY(0);
}

.product-card__quick:hover {
  background: var(--accent);
}

.product-card__body,
.product-tile__content,
.story-card__body {
  padding: 1.25rem 1.25rem 1.5rem;
}

.product-card__body h3,
.product-tile__heading h3,
.story-card h3,
.journal-entry h2,
.mini-card strong {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0.25rem 0 0.5rem;
  line-height: 1.25;
}

.product-card__body p,
.story-card p,
.product-tile__content p,
.journal-entry p,
.footer-brand p,
.footer-contact p,
.admin-panel p,
.policy-panel p,
.success-panel p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.875rem;
  margin: 0;
}

.product-card__row,
.product-tile__heading,
.product-tile__actions,
.row-between,
.admin-topbar,
.admin-metrics,
.cart-layout,
.checkout-layout,
.cart-item,
.order-card .row-between {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

/* Summary line items: label left, amount right (full-width rows).
   Do NOT target all nested divs — that jammed totals/coupons into one row. */
.cart-summary > div:not([data-cart-totals]):not(.cart-coupon),
.checkout-summary > div:not([data-checkout-totals]):not([data-checkout-codes]),
[data-cart-totals] > div,
[data-checkout-totals] > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem 1rem;
  width: 100%;
  min-width: 0;
}

.cart-summary > div:not([data-cart-totals]):not(.cart-coupon) > span,
.checkout-summary > div:not([data-checkout-totals]):not([data-checkout-codes]) > span,
[data-cart-totals] > div > span,
[data-checkout-totals] > div > span {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
}

.cart-summary > div:not([data-cart-totals]):not(.cart-coupon) > strong,
.checkout-summary > div:not([data-checkout-totals]):not([data-checkout-codes]) > strong,
[data-cart-totals] > div > strong,
[data-checkout-totals] > div > strong {
  flex: 0 0 auto;
  white-space: nowrap;
  text-align: right;
}

[data-cart-totals],
[data-checkout-totals],
[data-checkout-codes] {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  width: 100%;
  min-width: 0;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

[data-checkout-codes] {
  margin-top: 0.35rem;
  padding-top: 0;
  border-top: none;
  gap: 0;
}

.product-card__row,
.product-tile__actions {
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.product-card__price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-card__row a,
.product-tile__actions a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  transition: color var(--transition);
}

.product-card__row a:hover,
.product-tile__actions a:hover {
  color: var(--accent-hover);
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sage);
  margin-top: 0.5rem;
}

.product-tile {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 0;
}

.product-tile__art {
  min-height: 200px;
  padding: 1rem;
  border-radius: 0;
  border-right: 1px solid var(--line);
}

.product-tile__heading span,
.mini-card span {
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-tile__actions button {
  padding: 0.65rem 1.25rem;
  border: none;
  border-radius: var(--radius-full);
  background: var(--text);
  color: white;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.product-tile__actions button:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

/* ─── Split panels ─── */

.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.split-panel--story {
  gap: 1.35rem;
}

.panel-card {
  position: relative;
  overflow: hidden;
  padding: 2.5rem;
}

.panel-card--method {
  min-height: 100%;
}

.panel-card__glow {
  position: absolute;
  inset: auto -20% -30% auto;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.22), transparent 65%);
  pointer-events: none;
  animation: panel-glow-drift 10s ease-in-out infinite alternate;
}

.panel-card__content {
  position: relative;
  z-index: 1;
}

.panel-card--dark {
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(0, 102, 255, 0.18), transparent 45%),
    linear-gradient(165deg, #1a1613 0%, var(--bg-dark) 55%, #161310 100%);
  color: var(--text-inverse);
  border-color: transparent;
}

.panel-card--dark .meta {
  color: rgba(0, 102, 255, 0.9);
}

.panel-card--dark p,
.panel-card--dark li {
  color: var(--muted-light);
}

.panel-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 1rem;
}

.panel-card--dark h2 {
  color: var(--text-inverse);
}

.panel-card--dark ul {
  padding-left: 1.15rem;
  line-height: 1.9;
  margin: 1.5rem 0 0;
}

.panel-card--notes {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), var(--surface)),
    var(--surface);
}

.method-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.method-list li {
  display: grid;
  gap: 0.2rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(0, 102, 255, 0.55);
}

.method-list strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-inverse);
}

.method-list span {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted-light);
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
  margin-top: 1.35rem;
}

.note-grid article {
  position: relative;
  padding: 1.15rem 1.15rem 1.2rem;
  background: var(--surface-muted);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.note-grid article:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.note-grid__index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 0.45rem;
}

.note-grid strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.note-grid p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.55;
}

@keyframes panel-glow-drift {
  from { opacity: 0.7; transform: translate(0, 0); }
  to { opacity: 1; transform: translate(-8%, -4%); }
}

/* ─── Story cards ─── */

.story-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  height: 100%;
  animation: story-card-in 0.6s var(--ease-out) both;
}

.story-card:nth-child(2) { animation-delay: 0.06s; }
.story-card:nth-child(3) { animation-delay: 0.12s; }

.story-card__media {
  position: relative;
  min-height: 5.5rem;
  background:
    radial-gradient(circle at 20% 30%, color-mix(in srgb, var(--story-accent, var(--accent)) 28%, white), transparent 50%),
    linear-gradient(135deg, color-mix(in srgb, var(--story-accent, var(--accent)) 18%, #f7f1e8), #efe6da);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.story-card__media::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 90%;
  background: radial-gradient(circle, color-mix(in srgb, var(--story-accent, var(--accent)) 22%, transparent), transparent 65%);
  pointer-events: none;
}

.story-card__mark {
  position: absolute;
  left: 1.15rem;
  bottom: 0.9rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: color-mix(in srgb, var(--story-accent, var(--accent)) 70%, var(--text));
  opacity: 0.85;
}

.story-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.25rem 1.4rem;
}

.story-card .meta {
  margin-bottom: 0.45rem;
}

.story-card h3 {
  margin-top: 0;
}

.story-card__cta {
  display: inline-block;
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  transition: transform var(--transition);
}

.story-card:hover .story-card__cta {
  transform: translateX(3px);
}

.story-card span:last-child {
  display: inline-block;
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}

@keyframes story-card-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Footer ─── */

.site-footer {
  width: 100%;
  margin-top: 4rem;
  background: var(--bg-dark);
  color: var(--text-inverse);
}

.site-footer__inner {
  width: var(--container);
  margin: 0 auto;
  padding: 4rem 0 2rem;
}

.footer-newsletter {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-newsletter p {
  color: var(--muted-light);
  margin: 0.5rem 0 0;
  max-width: 24rem;
}

.footer-newsletter__form {
  display: flex;
  gap: 0.5rem;
  flex: 1;
  max-width: 420px;
}

.footer-newsletter__form input {
  flex: 1;
  padding: 0.875rem 1.125rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}

.footer-newsletter__form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter__form input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
}

.footer-newsletter__form button {
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: white;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}

.footer-newsletter__form button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand__link {
  display: inline-block;
  margin-bottom: 1.25rem;
  text-decoration: none;
  transition: opacity var(--transition);
}

.footer-brand__link:hover {
  opacity: 0.9;
}

.footer-brand__logo,
.footer-brand img {
  height: 38px;
  width: auto;
  max-width: 190px;
  display: block;
  margin-bottom: 0;
}

.footer-brand p {
  color: var(--muted-light);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 18rem;
}

.footer-links h4,
.footer-contact h4 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links a {
  display: block;
  color: var(--muted-light);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-contact p {
  color: var(--muted-light);
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 0 0 0.75rem;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer__bottom-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
}

.site-footer__divider {
  color: rgba(255, 255, 255, 0.2);
}

.site-footer__dev-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer__dev-credit a {
  color: #38bdf8;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.site-footer__dev-credit a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.site-footer__bottom-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ─── Shop ─── */

.page-intro {
  padding: 3rem 0 1.5rem;
}

.shop-toolbar {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.shop-toolbar input,
.shop-toolbar select,
.checkout-form input,
.checkout-form textarea,
.admin-form input,
.admin-form textarea,
.admin-form select,
.contact-card input,
.contact-card textarea,
.review-form input,
.review-form textarea,
.review-modal input,
.review-modal textarea {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: var(--surface-muted);
  padding: 0.875rem 1rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.shop-toolbar input:focus,
.shop-toolbar select:focus,
.checkout-form input:focus,
.checkout-form textarea:focus,
.admin-form input:focus,
.admin-form textarea:focus,
.contact-card input:focus,
.contact-card textarea:focus,
.review-form input:focus,
.review-form textarea:focus,
.review-modal input:focus,
.review-modal textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.legal-grid {
  display: grid;
  gap: 1rem;
}

/* ─── Product detail ─── */

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding: 2rem 0 4rem;
}

.product-hero__art {
  aspect-ratio: 1;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--sage);
  padding: 0.35rem 0.75rem;
  background: var(--sage-soft);
  border-radius: var(--radius-full);
}

.price-cluster {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 1.5rem 0;
}

.price-cluster strong {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.price-cluster span {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 1.125rem;
}

.price-cluster small {
  width: 100%;
  color: var(--muted);
  font-size: 0.875rem;
}

.ingredient-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.ingredient-grid div,
.value-grid article,
.contact-card,
.policy-panel,
.success-panel,
.empty-state {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-muted);
}

.ingredient-grid h3,
.value-grid h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.ingredient-grid ul,
.policy-panel ul {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.85;
  color: var(--muted);
  font-size: 0.875rem;
}

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

.mini-card {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  padding: 0.75rem;
  align-items: center;
  gap: 0.75rem;
}

.mini-card img {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  background: var(--surface-muted);
  padding: 0.25rem;
}

.related-strip {
  padding-bottom: 4rem;
}

.related-strip__header {
  margin-bottom: 1.35rem;
}

.related-strip__header .meta {
  margin-bottom: 0.35rem;
}

.related-strip h2 {
  margin-bottom: 0;
}

/* ─── Cart & checkout ─── */

.cart-layout,
.checkout-layout,
.contact-layout,
.policy-layout,
.admin-shell {
  align-items: start;
}

.cart-layout,
.checkout-layout {
  padding: 2rem 0 4rem;
}

.cart-items,
.checkout-layout > div {
  flex: 1.2;
}

.cart-items h1,
.checkout-layout h1 {
  margin-bottom: 1.5rem;
}

.cart-summary,
.checkout-summary {
  flex: 0.85;
  min-width: 0;
  padding: 1.75rem;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  box-shadow: var(--shadow);
}

.cart-item,
.order-card,
.journal-entry,
.faq-item {
  padding: 1.25rem;
  margin-bottom: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.cart-item {
  align-items: center;
}

.cart-item img {
  width: 5.5rem;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: var(--surface-muted);
  padding: 0.5rem;
}

.cart-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.quantity-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line-strong);
  padding: 0.25rem;
  border-radius: var(--radius-full);
  background: var(--surface-muted);
}

.quantity-pill button {
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: none;
  border-radius: var(--radius-full);
  background: var(--surface);
  font-size: 1.125rem;
  font-weight: 600;
  transition: background var(--transition);
  touch-action: manipulation;
}

.quantity-pill button:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.cart-total {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
}

.checkout-form,
.admin-form,
.contact-card form {
  display: grid;
  gap: 1rem;
}

.contact-card [data-form-notice] {
  margin: 0;
  font-size: 0.9rem;
}

.contact-card [data-form-notice].is-error {
  color: #b42318;
}

.checkout-form label,
.admin-form label,
.contact-card label,
.review-form label,
.review-modal label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}

.input-with-action {
  position: relative;
}

.input-with-action input {
  padding-right: 4.4rem;
}

.field-action {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-full);
  min-height: 2.25rem;
  padding: 0.35rem 0.8rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.field-action:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.input-with-action--secret input {
  padding-right: 2.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
}

.input-with-action--secret input[readonly] {
  background: color-mix(in srgb, var(--surface) 88%, var(--line));
  cursor: default;
}

.field-action--icon {
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0.35rem;
  justify-content: center;
  border-radius: var(--radius-md, 0.5rem);
}

.field-action--icon svg {
  display: block;
}

.confirm-modal__totp-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.confirm-modal__totp-label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
}

.confirm-modal__totp-label input {
  font-size: 1.125rem;
  letter-spacing: 0.2em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.confirm-modal__totp-error {
  color: var(--danger, #b42318);
  margin: 0;
}

.success-panel {
  text-align: center;
  padding: 3rem 2rem;
}

.success-panel h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  margin: 2rem 0 4rem;
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.error-page {
  text-align: center;
  max-width: 36rem;
  margin: 4rem auto 5rem;
  padding: 3rem 1.5rem;
}

.error-page .meta {
  letter-spacing: 0.18em;
  font-size: 0.75rem;
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0.75rem 0 1rem;
  line-height: 1.15;
}

.error-page > p {
  color: var(--muted);
  margin: 0 auto 1.75rem;
  max-width: 28rem;
  line-height: 1.65;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ─── Content pages ─── */

.split-copy,
.contact-layout,
.policy-layout {
  padding: 1rem 0 4rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.policy-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.policy-layout--legal {
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: none;
  width: 100%;
  margin: 0;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  max-width: none;
  width: 100%;
  margin: -0.5rem 0 2rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  color: var(--muted);
}

.legal-meta strong {
  color: var(--text);
  font-weight: 600;
}

/* Left-aligned legal pages using full content width */
body[data-page="terms"] .policy-panel,
body[data-page="privacy"] .policy-panel,
body[data-page="shipping"] .policy-panel,
body[data-page="returns"] .policy-panel,
body[data-page="faq"] .policy-panel,
body[data-page="contact"] .policy-panel {
  text-align: left;
  padding: 1.75rem 2rem;
}

.policy-panel h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.policy-panel h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.65rem;
  letter-spacing: -0.01em;
}

.policy-panel > p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.9375rem;
}

.policy-panel > p:last-child {
  margin-bottom: 0;
}

.policy-panel ul,
.policy-panel ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  line-height: 1.8;
  color: var(--muted);
  font-size: 0.9375rem;
}

.policy-panel li + li {
  margin-top: 0.35rem;
}

.policy-panel a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-panel a:hover {
  color: var(--accent-hover);
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 1.5rem;
}

.policy-links a {
  padding: 0.65rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--surface);
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.policy-links a:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  color: var(--accent);
}

.contact-details {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  line-height: 1.75;
  color: var(--muted);
  font-size: 0.9375rem;
}

.contact-details li + li {
  margin-top: 0.45rem;
}

.checkout-legal {
  margin: 0.75rem 0 1.25rem;
  line-height: 1.55;
}

.admin-seo-fieldset {
  margin: 0;
  padding: 0.75rem 0.85rem 0.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
}

.admin-seo-fieldset legend {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0 0.3rem;
}

.faq-stack {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 4rem;
}

.faq-group h2 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  padding: 0 0.15rem;
}

.faq-group .faq-item + .faq-item {
  margin-top: 0.75rem;
}

.faq-item {
  padding: 0;
}

.faq-item summary {
  list-style: none;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  color: var(--accent);
  border-bottom: 1px solid var(--line);
}

.faq-item p,
.faq-item ul {
  padding: 0 1.5rem 1.25rem;
  margin: 0;
}

.faq-item p + p,
.faq-item p + ul,
.faq-item ul + p {
  padding-top: 0;
  margin-top: -0.5rem;
}

.faq-item ul {
  padding-left: 2.75rem;
  color: var(--muted);
}

.faq-item li + li {
  margin-top: 0.35rem;
}

.faq-item a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.journal-list {
  display: grid;
  gap: 0;
  padding-bottom: 4rem;
}

.journal-list__items {
  display: grid;
  gap: 0.75rem;
}

.journal-entry {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  margin-bottom: 0;
  transition: background var(--transition), transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  animation: story-card-in 0.55s var(--ease-out) both;
}

.journal-entry:nth-child(2) { animation-delay: 0.04s; }
.journal-entry:nth-child(3) { animation-delay: 0.08s; }
.journal-entry:nth-child(4) { animation-delay: 0.12s; }

.journal-entry:hover {
  background: var(--surface);
  margin: 0;
  padding: 1.5rem 1.35rem;
  border-color: color-mix(in srgb, var(--story-accent, var(--accent)) 35%, var(--line));
  border-radius: var(--radius-lg);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.journal-entry--featured {
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, color-mix(in srgb, var(--story-accent, var(--accent)) 12%, transparent), transparent 55%),
    var(--surface);
  border-color: color-mix(in srgb, var(--story-accent, var(--accent)) 22%, var(--line));
}

.journal-entry__index,
.journal-entry span:first-child {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--story-accent, var(--accent));
  opacity: 0.7;
}

.journal-entry__body h2 {
  margin-top: 0.2rem;
}

.journal-entry__cta {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
}

.journal-back {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: color var(--transition);
}

.journal-back:hover {
  color: var(--accent-hover);
}

.journal-detail {
  position: relative;
  width: 100%;
  max-width: 42rem;
  margin: 0 0 2rem;
  padding: 0 0 0.5rem;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.journal-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

.journal-detail__meta span {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
}

.journal-detail__body {
  display: grid;
  gap: 1.35rem;
  color: var(--text);
  padding: 0.25rem 0 1rem;
}

.journal-detail__body p {
  margin: 0;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.85;
}

.journal-detail__body h2 {
  margin: 0.65rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

.journal-detail__body ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.journal-detail__body li + li {
  margin-top: 0.5rem;
}

.journal-detail__body blockquote {
  margin: 0.25rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--story-accent, var(--accent));
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background:
    radial-gradient(ellipse 60% 100% at 0% 50%, color-mix(in srgb, var(--story-accent, var(--accent)) 12%, transparent), transparent 70%),
    var(--surface);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.journal-detail__cta-band {
  margin: 0 0 2.5rem;
}

.related-strip--journal {
  padding-bottom: 4rem;
}

/* ─── Admin ─── */

.admin-shell {
  width: min(1440px, calc(100vw - 1.5rem));
  margin: 0 auto;
  padding: 0.75rem 0 1.5rem;
  display: grid;
  grid-template-columns: 13.5rem 1fr;
  gap: 0.75rem;
  align-items: start;
}

.admin-sidebar,
.admin-main,
.login-shell {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.admin-sidebar {
  padding: 1rem 0.85rem;
  position: sticky;
  top: 0.75rem;
  height: fit-content;
  max-height: calc(100vh - 1.5rem);
  overflow-y: auto;
}

.admin-logo {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  padding: 0 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.admin-sidebar nav {
  display: grid;
  gap: 0.15rem;
}

.admin-sidebar nav a {
  padding: 0.5rem 0.7rem;
  color: var(--muted);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}

.admin-sidebar nav a.is-active,
.admin-sidebar nav a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.admin-sidebar [data-logout],
.admin-sidebar .ghost-button {
  margin-top: 0.75rem;
  width: 100%;
  min-height: 2.25rem;
  padding: 0 0.85rem;
  font-size: 0.8125rem;
}

.admin-main {
  padding: 1rem 1.15rem 1.25rem;
  min-width: 0;
}

.admin-topbar {
  align-items: center;
  margin-bottom: 0.85rem;
  gap: 0.75rem;
}

.admin-topbar h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0.15rem 0 0;
}

.admin-topbar .meta {
  margin: 0;
  font-size: 0.75rem;
}

.admin-topbar .secondary-button {
  min-height: 2.25rem;
  padding: 0 1rem;
  font-size: 0.8125rem;
}

/* Admin app chrome (header / footer) */
body[data-admin-page] {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(136, 87, 61, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(61, 90, 70, 0.06), transparent 50%),
    var(--bg, #f7f4ef);
}

.admin-app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(10px);
}

.admin-app-header__inner {
  width: min(1440px, calc(100vw - 1.5rem));
  margin: 0 auto;
  min-height: 3.35rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0;
}

.admin-app-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.admin-app-brand img {
  display: block;
  height: 2rem;
  width: auto;
  object-fit: contain;
}

.admin-app-brand__mark {
  display: grid;
  line-height: 1.1;
}

.admin-app-brand__mark strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.admin-app-brand__mark span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-app-header__context {
  min-width: 0;
  flex: 1;
}

.admin-app-header__context .meta {
  margin: 0;
  font-size: 0.7rem;
}

.admin-app-header__user {
  margin: 0.1rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-app-header__storefront {
  flex-shrink: 0;
  min-height: 2.1rem;
  padding: 0 0.9rem;
  font-size: 0.75rem;
}

.admin-app-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  margin-left: auto;
}

.admin-theme-toggle {
  display: inline-flex;
  align-items: stretch;
  gap: 0.1rem;
  padding: 0.14rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--surface-muted);
}

.admin-theme-toggle__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  min-height: 1.85rem;
  padding: 0.28rem 0.55rem;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.admin-theme-toggle__btn svg {
  width: 0.85rem;
  height: 0.85rem;
  flex-shrink: 0;
}

.admin-theme-toggle__btn:hover {
  color: var(--text);
}

.admin-theme-toggle__btn.is-active,
.admin-theme-toggle__btn[aria-pressed="true"] {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.admin-app-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}

.admin-app-footer__inner {
  width: min(1440px, calc(100vw - 1.5rem));
  margin: 0 auto;
  padding: 0.75rem 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.75rem;
}

.admin-app-footer__inner p {
  margin: 0;
}

.admin-app-footer__links {
  display: inline-flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.admin-app-footer__links a {
  color: var(--muted);
  text-decoration: none;
}

.admin-app-footer__links a:hover {
  color: var(--accent);
}

.admin-sidebar__label {
  margin: 0 0 0.45rem;
  padding: 0 0.7rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-perm-matrix {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-muted);
}

.admin-perm-matrix__head,
.admin-perm-matrix__row {
  display: grid;
  grid-template-columns: minmax(7rem, 1.4fr) repeat(4, 3.25rem);
  gap: 0.25rem;
  align-items: center;
  padding: 0.45rem 0.65rem;
  font-size: 0.75rem;
}

.admin-perm-matrix__head {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  text-transform: capitalize;
  color: var(--muted);
}

.admin-perm-matrix__row + .admin-perm-matrix__row {
  border-top: 1px solid var(--line);
}

.admin-perm-check {
  display: inline-flex;
  justify-content: center;
  margin: 0;
}

.admin-perm-matrix.is-locked {
  opacity: 0.85;
}

.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;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.25rem, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.admin-metrics article {
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-md);
  background: var(--surface-muted);
  border: 1px solid var(--line);
}

.admin-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.admin-metrics strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.75rem;
}

.admin-panel {
  padding: 0.9rem 1rem;
}

.table-list {
  display: grid;
  gap: 0.35rem;
}

.admin-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  background: var(--surface-muted);
  border-radius: var(--radius-sm);
  text-align: left;
  transition: border-color var(--transition), background var(--transition);
  cursor: pointer;
}

.admin-list-item:hover {
  border-color: var(--line-strong);
  background: var(--surface);
}

.admin-list-item.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.admin-list-item strong {
  font-size: 0.875rem;
}

.admin-list-item p {
  margin: 0.1rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.35;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-row span {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

.order-meta {
  text-align: right;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: var(--bg-dark);
}

.login-shell {
  width: min(440px, 100%);
  padding: 2.5rem;
}

.login-shell h1 {
  font-size: 2.25rem;
}

[data-login-notice]:not([hidden]),
[data-verify-notice]:not([hidden]) {
  margin: 0;
  color: #b42318;
  font-size: 0.875rem;
  font-weight: 600;
}

.totp-setup-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.25rem;
}

@media (max-width: 720px) {
  .totp-setup-grid {
    grid-template-columns: 1fr;
  }
}

.totp-qr {
  width: 200px;
  height: 200px;
  background: #fff;
  padding: 0.5rem;
  box-sizing: content-box;
}

.totp-qr img,
.totp-qr canvas {
  display: block;
  width: 200px !important;
  height: 200px !important;
}

.totp-secret {
  display: block;
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  word-break: break-all;
  background: var(--surface, #fff);
  border: 1px solid var(--border, rgba(0, 0, 0, 0.12));
  border-radius: 0.5rem;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 4rem;
}

.sitemap-grid article {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: box-shadow var(--transition);
}

.sitemap-grid article:hover {
  box-shadow: var(--shadow);
}

.sitemap-grid a {
  display: block;
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.sitemap-grid a:hover {
  color: var(--accent);
}

/* ─── Responsive ─── */

@media (max-width: 1080px) {
  .hero,
  .split-panel,
  .product-hero,
  .contact-layout,
  .policy-layout,
  .admin-grid,
  .admin-shell,
  .about-method-band,
  .about-belief,
  .home-belief,
  .about-cta-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    max-height: none;
  }

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

  .story-grid,
  .mini-grid,
  .trust-band,
  .admin-metrics,
  .sitemap-grid,
  .site-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .product-tile__art {
    min-height: 220px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

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

  .cart-layout,
  .checkout-layout {
    flex-direction: column;
  }

  .cart-summary,
  .checkout-summary {
    position: static;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 4rem;
  }

  .site-header {
    height: var(--header-h);
    padding: 0;
    gap: 0.75rem;
  }

  .site-chrome.is-scrolled .site-header {
    height: 3.5rem;
  }

  .brand {
    width: 118px;
  }

  .site-chrome.is-scrolled .brand {
    width: 104px;
  }

  .nav-toolbar {
    display: flex;
  }

  .nav-cta--icon {
    display: inline-flex !important;
  }

  .nav-cta--label {
    display: inline-flex !important;
    padding: 0.45rem 0.65rem;
    gap: 0.35rem;
  }

  .nav-cta--label > span:not(.nav-cta__count) {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    width: min(100vw - 1.5rem, var(--container));
    max-width: calc(100vw - 1.5rem);
    transform: translate(-50%, -0.5rem);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.28s var(--ease-out),
      transform 0.28s var(--ease-out),
      visibility 0.28s;
    max-height: min(70vh, 28rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.is-open,
  .site-chrome.is-nav-open .nav-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .nav-menu > a {
    padding: 0.9rem 1rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
  }

  .nav-menu a.nav-link--prashad {
    justify-content: flex-start;
  }

  .nav-menu a.nav-link--prashad .nav-prashad-diya {
    width: 1.35rem;
  }

  .nav-actions {
    margin-left: 0;
    margin-top: 0.35rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .nav-link-account,
  .nav-link-logout {
    padding: 0.9rem 1rem !important;
    border-radius: var(--radius-md) !important;
    text-align: left;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 1.5rem, 100%);
    --header-h: 4rem;
  }

  /* ─── Modern Touch-First Hero Product Showcase ─── */
  .hero-visual {
    position: relative;
    min-height: auto;
    padding: 1.15rem 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    transform: none !important;
    transform-style: flat;
  }

  .hero-orbit,
  .hero-card--top,
  .hero-card--left {
    display: none !important;
  }

  .hero-visual__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.25rem;
  }

  .hero-visual__header-title {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
  }

  .hero-carousel-dots {
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .hero-dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: none;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background 0.25s ease, width 0.25s ease;
    touch-action: manipulation;
  }

  .hero-dot.is-active {
    width: 1.25rem;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.6);
  }

  .hero-product-stack {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    gap: 0.85rem;
    padding: 0.25rem 0.25rem 0.75rem;
    margin: 0;
    scrollbar-width: none;
  }

  .hero-product-stack::-webkit-scrollbar {
    display: none;
  }

  .hero-pack {
    flex: 0 0 80%;
    max-width: 280px;
    min-height: 185px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.15rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #ffffff 0%, #f7f3ec 100%);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    touch-action: pan-x pan-y;
    text-decoration: none;
    color: var(--text);
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
  }

  .hero-pack:active {
    transform: scale(0.98) !important;
  }

  .hero-pack--featured {
    background: linear-gradient(160deg, #fff9ee 0%, #ffe2c0 100%);
    box-shadow: 0 12px 32px rgba(0, 102, 255, 0.25), 0 10px 28px rgba(0, 0, 0, 0.28);
  }

  .hero-pack__content {
    display: grid;
    grid-template-columns: 4.75rem 1fr;
    gap: 0.75rem;
    align-items: center;
  }

  .hero-pack img {
    height: 88px;
    width: 100%;
    object-fit: contain;
    transform: none !important;
    pointer-events: none;
  }

  .hero-pack strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
  }

  .hero-pack p {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: rgba(18, 16, 14, 0.65);
    line-height: 1.35;
  }

  .hero-pack__label {
    align-self: start;
    font-size: 0.6875rem;
    padding: 0.3rem 0.65rem;
    font-weight: 700;
  }

  /* Today's bundle mobile layout */
  .hero-live-card {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 4;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1.15rem;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 246, 235, 0.98) 100%);
    border: 1px solid rgba(0, 102, 255, 0.25);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    transform: none !important;
  }

  .hero-live-card__info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
  }

  .hero-live-card span,
  .hero-live-card__eyebrow {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .hero-live-card strong,
  .hero-live-card__title {
    font-size: 1.05rem;
    line-height: 1.15;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-live-card a,
  .hero-live-card__btn {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1rem;
    background: var(--text);
    color: white !important;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .hero-live-card a:active,
  .hero-live-card__btn:active {
    background: var(--accent);
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
  }

  .hero-stats div strong {
    font-size: 1.5rem;
  }

  .hero-stats div span {
    font-size: 0.75rem;
  }

  .product-grid,
  .story-grid,
  .mini-grid,
  .trust-band,
  .note-grid,
  .ingredient-grid,
  .value-grid,
  .policy-layout,
  .admin-metrics,
  .sitemap-grid,
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-newsletter__form {
    max-width: 100%;
    width: 100%;
    flex-direction: column;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .hero-copy h1,
  .page-intro h1,
  .split-copy h1,
  .product-hero__content h1 {
    font-size: clamp(2.25rem, 10vw, 3.25rem);
  }

  .hero-pack {
    transform: none !important;
  }

  .product-tile__heading,
  .product-tile__actions,
  .admin-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-item {
    display: grid;
    grid-template-columns: 4.5rem 1fr auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem;
  }

  .cart-item img {
    width: 4.5rem;
    height: 4.5rem;
    padding: 0.35rem;
  }

  .cart-item h3 {
    font-size: 0.9375rem;
    margin-bottom: 0.15rem;
  }

  .quantity-pill {
    padding: 0.15rem;
    gap: 0.35rem;
  }

  .quantity-pill button {
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    min-height: 2.25rem;
    font-size: 1.1rem;
  }

  .product-card__row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.5rem;
  }

  .journal-entry {
    grid-template-columns: 1fr;
  }

  .journal-detail__cta,
  .journal-detail__cta-band,
  .about-cta-band,
  .page-hero__actions,
  .cart-empty-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-prashad__diya {
    width: 2.25rem;
    top: 0.75rem;
    right: 0.75rem;
  }

  .home-prashad__panel {
    padding: 1.2rem;
  }

  .page-hero {
    padding: 2rem 1.25rem 1.75rem;
  }

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

  .value-grid--about,
  .about-method-steps,
  .about-care-grid {
    grid-template-columns: 1fr;
  }

  .section-header--journal,
  .section-header--snacks {
    align-items: flex-start;
  }
}

/* ─── Admin CRUD & analytics ─── */

.admin-toolbar {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 0.4rem 0;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px);
}

.admin-search,
.admin-filter {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  background: var(--surface);
  color: var(--text);
  min-width: 0;
  font-size: 0.875rem;
}

.admin-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}

.admin-toolbar__actions .primary-button,
.admin-toolbar__actions .secondary-button,
.admin-toolbar__actions .ghost-button {
  min-height: 2.25rem;
  padding: 0 0.9rem;
  font-size: 0.8125rem;
}

.admin-crud-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0.75rem;
  align-items: start;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.55rem 0.55rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.admin-table th {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}

.admin-table tr:hover td {
  background: var(--surface-muted);
}

.admin-table__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.admin-table__actions button {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
}

.admin-table__actions button[data-danger] {
  color: #b42318;
  border-color: rgba(180, 35, 24, 0.25);
}

.admin-form-panel {
  position: sticky;
  top: 3.25rem;
  max-height: calc(100vh - 4rem);
  overflow: auto;
}

.admin-list-panel {
  max-height: calc(100vh - 8.5rem);
  overflow: auto;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  position: sticky;
  top: 0;
  z-index: 4;
  padding: 0.35rem 0;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(8px);
}

.admin-tabs button,
.admin-tabs .secondary-button {
  border: 1px solid var(--line);
  background: var(--surface-muted);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.85rem;
  font-weight: 600;
  font-size: 0.8125rem;
  min-height: 2.1rem;
}

.admin-tabs button.is-active,
.admin-tabs .secondary-button.is-active {
  background: var(--text);
  color: var(--text-inverse);
  border-color: transparent;
}

.chart-panel {
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  margin-bottom: 0;
}

.chart-panel h3 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  margin: 0 0 0.65rem;
}

.chart-bars {
  display: grid;
  gap: 0.4rem;
}

.chart-bar {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 0.65rem;
  align-items: center;
}

.chart-bar__label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.chart-bar__track {
  height: 0.5rem;
  background: var(--surface-muted);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.chart-bar__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #f4a261);
  border-radius: var(--radius-full);
}

.chart-bar__value {
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.analytics-grid--wide {
  grid-template-columns: 1fr;
}

.funnel-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.funnel-grid article {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-muted);
  text-align: center;
}

.funnel-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.funnel-grid span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.activity-row {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
  gap: 0.75rem;
  align-items: flex-start;
}

.activity-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.activity-row strong {
  font-size: 0.8125rem;
  font-weight: 600;
}

.activity-row .meta {
  font-size: 0.7rem;
  white-space: nowrap;
}

.admin-period-select {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-period-select select {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.9rem;
  background: var(--surface);
}

.storefront-insights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 0 0 2.5rem;
}

.storefront-insights article {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.storefront-insights strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.storefront-insights span {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 600;
}

.storefront-insights__trend a {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
}

@media (max-width: 1080px) {
  .admin-crud-layout,
  .analytics-grid,
  .admin-form-grid--3,
  .admin-seo-pages {
    grid-template-columns: 1fr;
  }

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

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

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

  .admin-form-panel,
  .admin-list-panel {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .admin-toolbar,
  .admin-tabs {
    position: static;
    backdrop-filter: none;
  }
}

@media (max-width: 760px) {
  .admin-toolbar {
    grid-template-columns: 1fr;
  }

  .funnel-grid,
  .storefront-insights,
  .admin-form-grid,
  .admin-metrics {
    grid-template-columns: 1fr;
  }
}

/* ─── Confirm modal ─── */

#sattyo-confirm-root[hidden] {
  display: none;
}

body.has-modal {
  overflow: hidden;
}

.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(18, 16, 14, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.confirm-modal__card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 32px 80px rgba(18, 16, 14, 0.28);
  text-align: center;
  transform: translateY(12px) scale(0.97);
  opacity: 0;
  transition: transform 0.28s var(--ease-out), opacity 0.28s var(--ease-out);
}

.confirm-modal__card.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.confirm-modal__card--danger .confirm-modal__icon {
  background: rgba(180, 35, 24, 0.12);
  color: #b42318;
}

.confirm-modal__card--danger .primary-button {
  background: #b42318;
  box-shadow: 0 4px 14px rgba(180, 35, 24, 0.35);
}

.confirm-modal__card--danger .primary-button:hover {
  background: #9a1f14;
}

.confirm-modal__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.confirm-modal__card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
}

.confirm-modal__card p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.9375rem;
}

.confirm-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.confirm-modal__actions .primary-button,
.confirm-modal__actions .secondary-button,
.confirm-modal__actions .ghost-button {
  min-width: 7.5rem;
}

@media (max-width: 520px) {
  .confirm-modal--customer {
    padding: 0.65rem;
    align-items: end;
  }

  .confirm-modal--customer .confirm-modal__card {
    width: 100%;
    padding: 1.35rem 1.15rem 1.25rem;
    border-radius: var(--radius-xl) var(--radius-xl) var(--radius-lg) var(--radius-lg);
  }

  .confirm-modal--customer .confirm-modal__actions {
    flex-direction: column-reverse;
    width: 100%;
  }

  .confirm-modal--customer .confirm-modal__actions .primary-button,
  .confirm-modal--customer .confirm-modal__actions .ghost-button {
    width: 100%;
    min-width: 0;
  }
}

.confirm-modal--wide {
  padding: 1rem;
}

.confirm-modal__card--preview {
  width: min(720px, 100%);
  max-height: min(92vh, 900px);
  padding: 1.25rem 1.35rem 1.15rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.confirm-modal__preview-head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.confirm-modal__meta {
  margin: 0 0 0.75rem !important;
  color: var(--muted);
  font-size: 0.875rem;
}

.confirm-modal__mail-meta {
  margin: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.8125rem;
}

.confirm-modal__mail-meta > div {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.5rem;
  align-items: baseline;
}

.confirm-modal__mail-meta dt {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.6875rem;
}

.confirm-modal__mail-meta dd {
  margin: 0;
  color: var(--ink);
  word-break: break-word;
}

.confirm-modal__preview-frame {
  flex: 1 1 auto;
  min-height: 280px;
  max-height: 48vh;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #f3eee7;
}

.confirm-modal__preview-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  background: #fff;
}

.confirm-modal__card--preview .confirm-modal__actions {
  justify-content: flex-end;
  margin-top: 0.15rem;
}

.order-detail__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.order-detail__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.order-detail__header h2 {
  margin: 0 0 0.35rem;
}

.order-detail__total {
  text-align: right;
  display: grid;
  gap: 0.4rem;
  justify-items: end;
}

.order-detail__total strong {
  font-size: 1.25rem;
}

.order-detail__dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

.order-detail__dl > div {
  min-width: 0;
}

.order-detail__span-2 {
  grid-column: 1 / -1;
}

.order-detail__dl dt {
  margin: 0 0 0.2rem;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.order-detail__dl dd {
  margin: 0;
  line-height: 1.45;
  word-break: break-word;
}

.order-detail__items {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.order-detail__items li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}

.order-detail__totals {
  margin: 0;
  display: grid;
  gap: 0.4rem;
  max-width: 16rem;
  margin-left: auto;
}

.order-detail__totals > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.order-detail__totals dt {
  margin: 0;
  color: var(--muted);
}

.order-detail__totals dd {
  margin: 0;
}

.order-status-form {
  display: grid;
  gap: 0.75rem;
  max-width: 22rem;
}

.order-detail__actions {
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.ghost-button--danger {
  color: #b42318;
  border-color: rgba(180, 35, 24, 0.35);
}

.ghost-button--danger:hover {
  background: rgba(180, 35, 24, 0.08);
}

.order-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--accent-soft);
  color: var(--accent);
  white-space: nowrap;
}

.order-status-pill--shipped,
.order-status-pill--packed {
  background: rgba(47, 106, 90, 0.12);
  color: #2f6a5a;
}

.order-status-pill--delivered {
  background: rgba(47, 106, 90, 0.18);
  color: #1f4f43;
}

.order-status-pill--cancelled {
  background: rgba(180, 35, 24, 0.12);
  color: #b42318;
}

.order-status-pill--refunded {
  background: rgba(217, 119, 6, 0.15);
  color: #b45309;
}

.order-status-pill--pending {
  background: rgba(180, 120, 24, 0.12);
  color: #9a5b10;
}

.order-status-pill--confirmed {
  background: rgba(47, 106, 90, 0.12);
  color: #2f6a5a;
}

.order-status-pill--completed {
  background: rgba(47, 106, 90, 0.18);
  color: #1f4f43;
}

body[data-admin-page] .order-card.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

/* ─── Orders dashboard (Shopify-style) ─── */

.orders-dashboard {
  position: relative;
  display: grid;
  gap: 0.75rem;
}

.orders-dashboard__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.orders-dashboard__header h2 {
  margin: 0;
  font-size: 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.orders-dashboard__count {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}

.orders-dashboard__header .meta {
  margin: 0.25rem 0 0;
}

.orders-status-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.orders-status-tab {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  min-height: 2rem;
  color: var(--text);
  cursor: pointer;
}

.orders-status-tab span {
  margin-left: 0.35rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.orders-status-tab.is-active {
  background: var(--text);
  color: var(--text-inverse);
  border-color: transparent;
}

.orders-status-tab.is-active span {
  color: color-mix(in srgb, var(--text-inverse) 75%, transparent);
}

.orders-filters {
  display: grid;
  grid-template-columns: minmax(12rem, 1.6fr) auto auto auto;
  gap: 0.5rem;
  align-items: end;
}

.orders-filters__date {
  display: grid;
  gap: 0.2rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.orders-filters__date input {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.6rem;
  background: var(--surface);
  color: var(--text);
  font-size: 0.8125rem;
  min-height: 2.25rem;
}

.orders-bulk-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-muted);
}

.orders-bulk-bar strong {
  margin-right: 0.35rem;
  font-size: 0.8125rem;
}

.orders-table-panel {
  padding: 0;
  overflow: hidden;
}

.orders-table {
  font-size: 0.8125rem;
}

.orders-table thead th {
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 1;
  white-space: nowrap;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.orders-sort-btn {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  font-weight: inherit;
  cursor: pointer;
}

.orders-sort-btn:hover,
.orders-sort-btn.is-active {
  color: var(--text);
}

.orders-table__check {
  width: 2.25rem;
}

.orders-table__row {
  cursor: pointer;
}

.orders-table__row.is-selected td,
.orders-table__row:hover td {
  background: var(--surface-muted);
}

.orders-table__id {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.orders-table__method {
  margin: 0.1rem 0 0;
}

.orders-table__date,
.orders-table__items-label {
  color: var(--text);
}

.orders-table__date {
  white-space: nowrap;
}

.orders-table__email {
  margin: 0.1rem 0 0;
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.orders-table__customer strong a {
  color: inherit;
  text-decoration: none;
}

.orders-table__customer strong a:hover {
  text-decoration: underline;
}

.orders-table__items {
  color: var(--muted);
  max-width: 16rem;
}

.orders-table__items-cell {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.orders-item-thumbs {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.orders-item-thumb {
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.35rem;
  border: 1px solid var(--surface);
  overflow: hidden;
  background: var(--surface-muted);
  margin-left: -0.35rem;
  box-shadow: 0 0 0 1px var(--line);
}

.orders-item-thumb:first-child {
  margin-left: 0;
}

.orders-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.orders-item-thumb--placeholder,
.orders-item-thumb--more {
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted);
}

.orders-table__items-text {
  min-width: 0;
}

.orders-table__items-label {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 11rem;
  color: var(--text);
}

.orders-table__items-text .meta {
  margin: 0.1rem 0 0;
}

.orders-table th.orders-table__total-head,
.orders-table td.orders-table__total {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.orders-table__city {
  display: block;
  max-width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.orders-table__row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.35rem;
}

.orders-payment-status {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: rgba(47, 106, 90, 0.12);
  color: #1f4f43;
}

.orders-payment-status--voided {
  background: rgba(120, 120, 120, 0.14);
  color: #5a5a5a;
}

.orders-payment-status--pending {
  background: rgba(180, 120, 24, 0.12);
  color: #9a5b10;
}

.orders-payment-status--refunded {
  background: rgba(217, 119, 6, 0.15);
  color: #b45309;
}

.orders-table__payment .orders-payment-meta,
.orders-table__fulfillment .meta {
  margin: 0.2rem 0 0;
  display: block;
}

.orders-table__fulfillment .orders-table__row-actions {
  margin-top: 0.4rem;
}

.orders-ship-btn {
  border: 1px solid rgba(47, 106, 90, 0.45);
  background: #2f6a5a;
  color: #fff;
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.orders-ship-btn:hover {
  background: #255649;
}

.orders-track-btn {
  border: 1px solid rgba(90, 74, 58, 0.28);
  background: rgba(90, 74, 58, 0.06);
  color: #5a4a3a;
  border-radius: var(--radius-full);
  padding: 0.2rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

.orders-track-btn:hover {
  background: rgba(90, 74, 58, 0.12);
}

.orders-tracking-hint {
  max-width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0.15rem 0 0;
  color: var(--muted, #6b5e52);
}

.orders-shipment__log {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.orders-shipment__log li {
  font-size: 0.875rem;
  line-height: 1.4;
  padding: 0.55rem 0.7rem;
  background: rgba(47, 106, 90, 0.06);
  border-radius: var(--radius-md, 8px);
  border: 1px solid rgba(47, 106, 90, 0.12);
}

.orders-shipment__log em {
  display: block;
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--muted, #6b5e52);
  margin-bottom: 0.15rem;
}

.orders-shipment-form {
  display: grid;
  gap: 0.75rem;
}

.orders-shipment-form__hint {
  margin: 0;
}

.orders-view-btn {
  min-height: 1.6rem;
  padding: 0.15rem 0.55rem;
  font-size: 0.7rem;
}

.orders-payment-pill,
.orders-payment-meta {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--muted);
}

.orders-payment-pill {
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  background: var(--surface-muted);
}

.orders-line-item__main {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  min-width: 0;
}

.orders-line-item__thumb {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.4rem;
  object-fit: cover;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.orders-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.65rem 0.85rem;
  border-top: 1px solid var(--line);
}

.orders-pagination__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.orders-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}

.orders-dashboard--drawer-open .orders-drawer {
  pointer-events: auto;
}

.orders-drawer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 18, 16, 0.35);
  opacity: 0;
  transition: opacity 0.2s ease;
  cursor: pointer;
}

.orders-dashboard--drawer-open .orders-drawer__backdrop {
  opacity: 1;
}

.orders-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(32rem, 100%);
  height: 100%;
  max-height: 100%;
  margin: 0;
  border-radius: 0;
  border-left: 1px solid var(--line);
  /* Default: panel itself scrolls (orders, products, etc.) */
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  transform: translateX(104%);
  transition: transform 0.22s ease;
  background: var(--surface);
  box-shadow: -12px 0 40px rgba(20, 18, 16, 0.12);
  padding: 1rem 1.1rem 2rem;
  display: block;
}

/*
 * Critical: body[data-admin-page] .admin-panel { overflow: visible } was
 * overriding .orders-drawer__panel { overflow: auto }, clipping long forms
 * with no way to reach Save. Drawer panels must always scroll.
 */
body[data-admin-page] .orders-drawer__panel.admin-panel,
body[data-admin-page] .orders-drawer__panel {
  overflow-x: hidden;
  overflow-y: auto;
}

/* Structured forms: pin footer, scroll only the body */
.orders-drawer__panel:has(> .orders-drawer__detail > .orders-drawer__form),
.orders-drawer__panel:has(> .orders-drawer__detail > .orders-drawer__body) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

body[data-admin-page] .orders-drawer__panel.admin-panel:has(> .orders-drawer__detail > .orders-drawer__form),
body[data-admin-page] .orders-drawer__panel.admin-panel:has(> .orders-drawer__detail > .orders-drawer__body),
body[data-admin-page] .orders-drawer__panel:has(> .orders-drawer__detail > .orders-drawer__form),
body[data-admin-page] .orders-drawer__panel:has(> .orders-drawer__detail > .orders-drawer__body) {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.orders-dashboard--drawer-open .orders-drawer__panel {
  transform: translateX(0);
}

.orders-drawer__panel:has(> .orders-drawer__detail > .orders-drawer__form) > .orders-drawer__detail,
.orders-drawer__panel:has(> .orders-drawer__detail > .orders-drawer__body) > .orders-drawer__detail {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

.orders-drawer__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 1rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.orders-drawer__form.admin-form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  gap: 0;
  height: 100%;
}

.orders-drawer__footer {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  padding: 0.85rem 1.1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 92%, var(--surface-muted));
  box-shadow: 0 -8px 24px rgba(20, 18, 16, 0.06);
  z-index: 2;
}

/* Sticky fallback when footer sits inside a scrolling panel (no flex shell) */
.orders-drawer__panel:not(:has(> .orders-drawer__detail > .orders-drawer__form)) .orders-drawer__footer,
.orders-drawer__panel:not(:has(> .orders-drawer__detail > .orders-drawer__body)) .orders-drawer__footer {
  position: sticky;
  bottom: 0;
  margin-left: -1.1rem;
  margin-right: -1.1rem;
  margin-bottom: -2rem;
  width: calc(100% + 2.2rem);
  box-sizing: border-box;
}

.orders-drawer__footer .admin-actions {
  padding-top: 0;
  flex: 1 1 auto;
}

.orders-drawer__footer [data-save-notice],
.orders-drawer__footer .meta {
  flex: 1 1 100%;
  margin: 0;
}

.orders-drawer__actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.orders-drawer__actions label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}

.orders-drawer__actions input,
.orders-drawer__actions textarea,
.orders-drawer__actions select {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-weight: 400;
  color: var(--text);
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
}

.orders-drawer__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0;
  flex: 0 0 auto;
  padding: 0.85rem 1.1rem 0.5rem;
  background: var(--surface);
  border-bottom: 1px solid transparent;
}

/* Compact drawer chrome — avoid storefront 3rem pill buttons in the header */
.orders-drawer__toolbar .primary-button,
.orders-drawer__toolbar .secondary-button,
.orders-drawer__toolbar .ghost-button {
  min-height: 2.125rem;
  padding: 0 0.85rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

.orders-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.125rem;
  height: 2.125rem;
  min-width: 2.125rem;
  min-height: 2.125rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.orders-drawer__close:hover {
  color: var(--text);
  border-color: var(--text);
  background: var(--surface-muted);
}

.orders-drawer__close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.orders-drawer__ship-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
}

.orders-drawer__form > .orders-drawer__toolbar,
.orders-drawer__detail > .orders-drawer__toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
}

.orders-drawer__empty {
  padding: 1rem 1.1rem 2rem;
  flex: 1 1 auto;
  overflow-y: auto;
}

.orders-line-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.orders-line-item .meta {
  margin: 0.2rem 0 0;
}

.orders-notes {
  white-space: pre-wrap;
}

.orders-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.orders-timeline li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: var(--muted);
  background: var(--surface-muted);
}

.orders-timeline li.is-done,
.orders-timeline li.is-active {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface));
}

.orders-timeline li.is-active {
  font-weight: 700;
}

.orders-timeline li.is-cancelled {
  border-color: rgba(180, 35, 24, 0.3);
  background: rgba(180, 35, 24, 0.08);
  color: #b42318;
}

.orders-timeline em {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 1100px) {
  .orders-table th.orders-table__items-head,
  .orders-table td.orders-table__items,
  .orders-table th.orders-table__payment-head,
  .orders-table td.orders-table__payment {
    display: none;
  }
}

@media (max-width: 960px) {
  .orders-filters {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .orders-filters {
    grid-template-columns: 1fr;
  }

  .orders-drawer__panel {
    width: 100%;
  }

  .orders-table th.orders-table__delivery-head .meta,
  .orders-table td.orders-table__delivery > .meta {
    display: none;
  }

  .orders-table__email {
    display: none;
  }
}

@media (max-width: 720px) {
  .order-detail__dl {
    grid-template-columns: 1fr;
  }

  .order-detail__header {
    flex-direction: column;
  }

  .order-detail__total {
    text-align: left;
    justify-items: start;
  }
}

/* Shared list-page utilities (Customers, Products, Categories, etc.) */
.orders-drawer__panel--wide {
  width: min(40rem, 100%);
}

.orders-filters--simple {
  grid-template-columns: minmax(12rem, 1.6fr) auto auto;
}

.orders-filters--search-sort {
  grid-template-columns: minmax(12rem, 1fr) auto;
}

.orders-table .col-hide-md,
.orders-table th.col-hide-md,
.orders-table td.col-hide-md {
  /* visible by default */
}

.orders-table .col-hide-sm,
.orders-table th.col-hide-sm,
.orders-table td.col-hide-sm {
  /* visible by default */
}

.orders-thumb {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.35rem;
  object-fit: cover;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  display: block;
}

.orders-thumb--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted);
}

.orders-table__product {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.orders-table__product-text {
  min-width: 0;
}

.orders-dashboard__header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.newsletter-list-split {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 1100px) {
  .newsletter-list-split {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem);
    align-items: start;
  }
}

@media (max-width: 1100px) {
  .orders-table .col-hide-md,
  .orders-table th.col-hide-md,
  .orders-table td.col-hide-md {
    display: none;
  }
}

@media (max-width: 720px) {
  .orders-table .col-hide-sm,
  .orders-table th.col-hide-sm,
  .orders-table td.col-hide-sm {
    display: none;
  }

  .orders-filters--simple,
  .orders-filters--search-sort {
    grid-template-columns: 1fr;
  }

  .orders-drawer__panel--wide {
    width: 100%;
  }
}

/* Customer auth */
.auth-page__main {
  display: grid;
  place-items: center;
  min-height: 50vh;
  padding-block: 2rem 4rem;
}

.auth-card {
  width: min(100%, 28rem);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.auth-card--wide {
  width: min(100%, 36rem);
}

.auth-card h1 {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.auth-card__lede {
  color: var(--muted);
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

.auth-google-box {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
  width: 100%;
}

.auth-google-btn {
  display: flex;
  justify-content: center;
  width: 100%;
}

.auth-google-btn > div {
  margin: 0 auto !important;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.25rem 0 1.25rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--line);
}

.auth-divider span {
  padding: 0 0.85rem;
  text-transform: lowercase;
}

.auth-notice {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.auth-notice--error {
  color: #dc2626 !important;
  font-weight: 600;
}

.auth-demo-code {
  margin-top: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(196, 106, 42, 0.12);
  font-size: 0.875rem;
}

.nav-link-account {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.nav-link-account:hover {
  border-color: var(--accent);
  color: var(--accent);
}

button.nav-link-account {
  font: inherit;
  cursor: pointer;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
}

.nav-link-logout {
  border-color: transparent;
  color: var(--muted);
  font-weight: 600;
}

.nav-link-logout:hover {
  border-color: var(--line);
  color: var(--text);
}

.checkout-signed-in {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.admin-filter-banner {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(196, 106, 42, 0.1);
  font-size: 0.9rem;
}

.admin-filter-banner a {
  font-weight: 600;
}

[data-customer-link] {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Add to cart animation */
.cart-flyer {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(42, 31, 24, 0.28);
  border: 2px solid #fff;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.5s ease;
  will-change: transform, opacity;
}

.cart-flyer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-toast-host {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.cart-toast {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-full);
  background: var(--text);
  color: var(--text-inverse);
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition:
    opacity 0.28s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: auto;
}

.cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cart-toast__icon {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.cart-toast__link {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.cart-toast__link:hover {
  color: var(--accent-soft, #f0c9a6);
}

@media (max-width: 640px) {
  .cart-toast-host {
    right: 0.75rem;
    left: 0.75rem;
    align-items: center;
  }

  .cart-toast {
    max-width: 100%;
    font-size: 0.8125rem;
    padding: 0.65rem 0.875rem;
  }
}

.nav-cta__count.is-bump {
  animation: cartCountBump 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-cta--pulse {
  animation: cartNavPulse 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-add-to-cart].is-added,
.tech-card-btn--add.is-added {
  animation: cartButtonPop 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  background: #059669 !important;
  border-color: #059669 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4) !important;
}

[data-add-to-cart] svg,
[data-add-to-cart] span {
  pointer-events: none;
}

.product-card__quick.is-added {
  background: var(--accent) !important;
  color: #fff !important;
}

@keyframes cartCountBump {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.35);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes cartNavPulse {
  0% {
    transform: translateY(0) scale(1);
  }
  35% {
    transform: translateY(-2px) scale(1.04);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes cartButtonPop {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

.footer-newsletter__notice {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--accent);
}

.footer-newsletter__notice.is-error {
  color: #b42318;
}

.admin-newsletter-layout {
  align-items: start;
}

.newsletter-placeholders {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.newsletter-placeholders code {
  font-size: 0.75rem;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: var(--surface-muted, #f5efe8);
  color: var(--text-muted, #6b5c52);
}

.newsletter-html-editor {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.45;
}

.admin-notice--error {
  color: #b42318;
}

.product-image-field {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.25rem;
}

.product-image-field__label {
  font-size: 0.9rem;
  font-weight: 500;
}

.product-image-field__preview {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-muted, #f5efe8);
  border: 1px solid var(--border, #e8dfd4);
}

.product-image-field__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image-field__upload {
  display: inline-block;
  cursor: pointer;
}

.product-image-field__upload input {
  display: none;
}

.product-image-field__path {
  display: grid;
  gap: 0.35rem;
}

.admin-list-item__lead {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-list-item__thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--surface-muted, #f5efe8);
  flex-shrink: 0;
}

.checkout-map-block {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border, #e8dfd4);
  background: var(--surface-muted, #f5efe8);
  margin: 0.5rem 0 1rem;
}

.checkout-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.checkout-map-block__label {
  font-weight: 600;
  font-size: 0.95rem;
}

.checkout-gps-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--border, #d1c7bc);
  background: #fff;
  color: var(--accent, #7a4d3f);
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkout-gps-btn:hover {
  background: var(--accent, #7a4d3f);
  color: #fff;
  border-color: var(--accent, #7a4d3f);
}

.checkout-search-label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.checkout-map {
  width: 100%;
  height: 280px;
  border-radius: 10px;
  border: 1px solid var(--border, #e8dfd4);
  background: #e8dfd4;
}

.checkout-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.checkout-map-status {
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
}

.checkout-map-status.is-error {
  color: #b42318;
}

.checkout-geocode-results {
  display: grid;
  gap: 0.35rem;
  max-height: 200px;
  overflow-y: auto;
}

.checkout-geocode-item {
  text-align: left;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border, #e8dfd4);
  background: #fff;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  transition: border-color 0.15s, background-color 0.15s;
}

.checkout-geocode-item:hover {
  border-color: var(--accent, #7a4d3f);
  background: #faf7f4;
}

.checkout-geocode-main {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1f2937;
}

.checkout-geocode-sub {
  font-size: 0.75rem;
  color: #6b7280;
}

.checkout-address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.checkout-address-grid-3 {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1.8fr;
  gap: 0.75rem;
}

.checkout-tag-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.25rem 0;
  flex-wrap: wrap;
}

.checkout-tag-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.checkout-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  border: 1px solid var(--border, #d1c7bc);
  background: #fff;
  font-size: 0.82rem;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}

.checkout-tag-pill input {
  display: none;
}

.checkout-tag-pill.active {
  background: var(--accent, #7a4d3f);
  color: #fff;
  border-color: var(--accent, #7a4d3f);
  font-weight: 500;
}

.checkout-map .leaflet-control-attribution {
  font-size: 10px;
}

.order-map-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--accent, #7a4d3f);
}

.checkout-billing-section {
  margin: 1.25rem 0 0.5rem;
  padding: 1rem 1.1rem;
  background: var(--surface-subtle, #f9f6f0);
  border: 1px solid var(--border, #e5ded4);
  border-radius: 12px;
}

.checkout-billing-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkout-billing-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.95rem;
}

.checkout-billing-checkbox-label input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--accent, #7a4d3f);
  cursor: pointer;
}

.checkout-billing-fields {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border, #d1c7bc);
  display: grid;
  gap: 0.75rem;
}

.checkout-billing-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.checkout-billing-copy-btn {
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .checkout-address-grid,
  .checkout-address-grid-3 {
    grid-template-columns: 1fr;
  }

  .checkout-map {
    height: 220px;
    touch-action: pan-x pan-y;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-chrome,
  .site-chrome.is-scrolled .announcement-bar,
  .site-header,
  .brand,
  .nav-menu,
  .nav-toggle__bars span,
  body.nav-open::after {
    transition: none !important;
    animation: none !important;
  }

  .cart-flyer,
  .cart-toast,
  .nav-cta__count.is-bump,
  .nav-cta--pulse,
  [data-add-to-cart].is-added {
    animation: none !important;
    transition: none !important;
  }

  .hero-orbit {
    animation: none;
  }

  .hero-pack,
  .hero-card,
  .hero-live-card,
  .hero-visual__glow {
    transition: none;
  }

  .confirm-modal__card {
    transition: none;
  }

  .nav-prashad-diya,
  .nav-prashad-diya__halo,
  .nav-prashad-diya__flame-group,
  .nav-prashad-diya__flame,
  .nav-prashad-diya__flame-core,
  .nav-prashad-diya__tip,
  .nav-prashad-diya__tip-core,
  .home-prashad__glow,
  .home-prashad__diya,
  .panel-card__glow,
  .story-card,
  .journal-entry,
  .page-hero,
  .page-hero__glow {
    animation: none !important;
    transition: none !important;
  }

  .nav-prashad-label__text {
    transition: none !important;
  }

  .nav-prashad-label__text.is-fading {
    opacity: 1;
  }

  .snacks-carousel__viewport {
    scroll-behavior: auto;
  }

  .snacks-carousel__nav,
  .snacks-carousel__dot,
  .snacks-carousel__all {
    transition: none !important;
  }
}

/* ─── Admin density & form layout ─── */

body[data-admin-page] .admin-panel h2 {
  font-size: 1.05rem;
  margin: 0 0 0.65rem;
  letter-spacing: -0.015em;
}

body[data-admin-page] .admin-panel {
  overflow: visible;
}

body[data-admin-page] .admin-list-panel,
body[data-admin-page] .admin-form-panel {
  overflow: auto;
}

body[data-admin-page] .admin-form {
  gap: 0.65rem;
}

body[data-admin-page] .admin-form label {
  gap: 0.3rem;
  font-size: 0.8125rem;
}

body[data-admin-page] .admin-form input,
body[data-admin-page] .admin-form textarea,
body[data-admin-page] .admin-form select {
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}

body[data-admin-page] .admin-form .primary-button,
body[data-admin-page] .admin-form .secondary-button,
body[data-admin-page] .admin-form .ghost-button,
body[data-admin-page] .admin-panel > .primary-button,
body[data-admin-page] .admin-panel > .secondary-button {
  min-height: 2.35rem;
  padding: 0 1rem;
  font-size: 0.8125rem;
}

body[data-admin-page] .order-card {
  padding: 0.7rem 0.8rem;
  margin-bottom: 0.4rem;
  border-radius: var(--radius-sm);
}

body[data-admin-page] .order-card p {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.35;
}

body[data-admin-page] .order-meta span,
body[data-admin-page] .order-meta strong {
  display: block;
  font-size: 0.8125rem;
}

body[data-admin-page] .product-image-field__preview {
  width: 96px;
  height: 96px;
}

.admin-form-section {
  display: grid;
  gap: 0.55rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
}

.hero-pack__label--spacer {
  visibility: hidden;
  pointer-events: none;
}

.hero-slots {
  display: grid;
  gap: 0.55rem;
  margin: 0.35rem 0 0.85rem;
}

.hero-slots__item {
  display: grid;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.hero-slots__item.is-active {
  border-color: color-mix(in srgb, var(--accent, #0066FF) 55%, var(--line));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent, #0066FF) 35%, transparent);
}

.hero-slots__item.is-empty {
  background: var(--surface-muted);
}

.hero-slots__index {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-slots__product {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
}

.hero-slots__product img,
.hero-slots__ph,
.hero-picker__option img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--surface-muted);
}

.hero-slots__ph {
  display: block;
}

.hero-slots__product strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
}

.hero-slots__product .meta,
.hero-slots__empty-copy {
  margin: 0.15rem 0 0;
}

.hero-slots__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.hero-picker {
  display: grid;
  gap: 0.55rem;
}

.hero-picker__group {
  margin: 0.35rem 0 0.15rem;
}

.hero-picker__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.45rem;
  max-height: 280px;
  overflow: auto;
  padding: 0.15rem;
}

.hero-picker__option {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
  text-align: left;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: inherit;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.hero-picker__option:hover,
.hero-picker__option:focus-visible {
  border-color: color-mix(in srgb, var(--accent, #0066FF) 50%, var(--line));
}

.hero-picker__option.is-selected {
  opacity: 0.72;
}

.hero-picker__option strong {
  display: block;
  font-size: 0.875rem;
  line-height: 1.2;
}

.hero-picker__option .meta {
  display: block;
  margin-top: 0.15rem;
}

@media (max-width: 720px) {
  .hero-picker__list {
    grid-template-columns: 1fr;
  }
}

.lang-cycle {
  display: grid;
  gap: 0.55rem;
  margin: 0.65rem 0 0.35rem;
}

.lang-cycle__empty {
  margin: 0.25rem 0;
}

.lang-cycle__enable {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.35rem 0 0.65rem;
  font-weight: 600;
}

.lang-cycle__enable input {
  width: auto;
}

.lang-cycle__interval {
  display: grid;
  gap: 0.35rem;
  max-width: 16rem;
  margin-bottom: 0.35rem;
}

.lang-cycle__row {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr) minmax(0, 1.2fr) auto;
  gap: 0.55rem;
  align-items: end;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.lang-cycle__index {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  padding-bottom: 0.65rem;
}

.lang-cycle__lang,
.lang-cycle__text {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.lang-cycle__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding-bottom: 0.15rem;
}

@media (max-width: 720px) {
  .lang-cycle__row {
    grid-template-columns: 1.25rem 1fr;
  }

  .lang-cycle__text,
  .lang-cycle__actions {
    grid-column: 1 / -1;
  }

  .lang-cycle__index {
    padding-bottom: 0;
  }
}


.admin-form-section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.65rem;
}

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

.admin-form-grid > .admin-form-span-2,
.admin-form-section > .admin-form-span-2 {
  grid-column: 1 / -1;
}

.admin-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.15rem 0 0;
  cursor: pointer;
}

.admin-checkbox-row input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.admin-checkbox-row span {
  display: grid;
  gap: 0.25rem;
}

.admin-checkbox-row .meta {
  display: block;
  line-height: 1.35;
}

.admin-collapse {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  padding: 0;
}

.admin-collapse > summary {
  list-style: none;
  cursor: pointer;
  padding: 0.65rem 0.8rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  user-select: none;
}

.admin-collapse > summary::-webkit-details-marker {
  display: none;
}

.admin-collapse > summary::after {
  content: "+";
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1;
}

.admin-collapse[open] > summary::after {
  content: "−";
}

.admin-collapse[open] > summary {
  border-bottom: 1px solid var(--line);
}

.admin-collapse__body {
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem 0.8rem 0.85rem;
}

.admin-collapse .meta {
  margin: 0;
}

.admin-color-field {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.admin-color-field input[type="color"] {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.15rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  flex: 0 0 auto;
}

.admin-color-field input[data-accent-hex] {
  flex: 1 1 auto;
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
}

.admin-page-lede {
  margin: 0 0 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
}

.admin-page-lede .meta {
  margin: 0;
}

.admin-seo-layout {
  display: grid;
  gap: 0.75rem;
}

.admin-seo-pages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.admin-seo-pages .admin-collapse {
  background: var(--surface);
}

.admin-charts-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

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

.admin-stack {
  display: grid;
  gap: 0.75rem;
}

.admin-compact-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}

.admin-compact-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.admin-compact-row p {
  margin: 0.1rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.35;
}

.admin-compact-row strong {
  font-size: 0.875rem;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  padding-top: 0.15rem;
}

@media (max-width: 1080px) {
  .admin-charts-row,
  .admin-charts-row--3,
  .admin-seo-pages {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    width: min(100vw - 1rem, 100%);
  }
}

@media (max-width: 520px) {
  body[data-admin-page] .admin-metrics {
    grid-template-columns: 1fr;
  }

  .admin-app-header__inner {
    flex-wrap: wrap;
    gap: 0.55rem;
  }

  .admin-app-brand__mark {
    display: none;
  }

  .admin-app-header__actions {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }

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

  .admin-theme-toggle__btn {
    min-width: 2rem;
    padding: 0.28rem 0.45rem;
  }

  .admin-app-header__storefront {
    margin-left: 0;
  }

  .admin-perm-matrix__head,
  .admin-perm-matrix__row {
    grid-template-columns: minmax(5rem, 1fr) repeat(4, 2.35rem);
    font-size: 0.68rem;
  }
}

/* ─── Account orders + Help & Support ─── */
.account-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.account-order-row {
  display: flex;
  width: 100%;
  text-align: left;
  margin-bottom: 0.75rem;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  font: inherit;
  color: inherit;
  padding: 0.65rem 0.35rem;
  border-radius: 12px;
}

.account-order-row:hover {
  border-color: rgba(122, 77, 63, 0.22);
  background: rgba(250, 247, 242, 0.7);
}

.account-order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin: 0.2rem 0;
}

.account-order-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-top: 0.35rem;
}

.account-order-detail {
  display: grid;
  gap: 1rem;
}

.account-order-items {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
}

.account-order-totals {
  display: grid;
  gap: 0.35rem;
}

.account-order-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.order-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.order-timeline li {
  position: relative;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(31, 24, 20, 0.06);
  color: #6b5c52;
}

.order-timeline li.is-done {
  background: rgba(47, 106, 90, 0.12);
  color: #2f6a5a;
}

.order-timeline li.is-current {
  background: var(--accent-soft, rgba(122, 77, 63, 0.14));
  color: var(--accent, #7a4d3f);
}

.order-timeline--cancelled li.is-current {
  background: rgba(180, 35, 24, 0.12);
  color: #b42318;
}

.support-modal-form {
  margin-top: 0.75rem;
}

.support-toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%) translateY(12px);
  z-index: 80;
  max-width: min(92vw, 28rem);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: #1f1814;
  color: #faf7f2;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

.support-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.support-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(122, 77, 63, 0.12);
  color: #7a4d3f;
  white-space: nowrap;
}

.support-status-pill--in_progress {
  background: rgba(47, 106, 90, 0.12);
  color: #2f6a5a;
}

.support-status-pill--resolved {
  background: rgba(47, 106, 90, 0.18);
  color: #1f4f43;
}

.support-thread {
  display: grid;
  gap: 0.65rem;
}

.support-thread__item {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(31, 24, 20, 0.08);
  background: #faf7f2;
}

.support-thread__item header {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.support-thread__item--admin {
  border-color: rgba(122, 77, 63, 0.2);
  background: rgba(122, 77, 63, 0.06);
}

.support-message {
  white-space: normal;
}

/* ─── Stars ─── */

.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.star-rating__icons {
  display: inline-flex;
  gap: 0.08rem;
  letter-spacing: 0.02em;
}

.star-icon {
  color: rgba(18, 16, 14, 0.18);
  font-size: 0.95em;
  line-height: 1;
}

.star-icon--full,
.star-icon--half {
  color: #c47a2c;
}

.star-rating--sm .star-icon { font-size: 0.85rem; }
.star-rating--md .star-icon { font-size: 1.05rem; }
.star-rating--lg .star-icon { font-size: 1.35rem; }

.star-rating__value {
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--sage);
}

.star-rating__count {
  font-size: 0.75rem;
  color: var(--muted);
}

.star-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
}

.star-picker__row {
  display: inline-flex;
  gap: 0.15rem;
}

.star-picker__hint {
  color: var(--muted);
  font-size: 0.8125rem;
}

.star-picker__btn {
  border: none;
  background: transparent;
  color: rgba(18, 16, 14, 0.22);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem;
  transition: color 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}

.star-picker__btn.is-active,
.star-picker__btn.is-preview {
  color: #c47a2c;
}

.star-picker__btn:hover,
.star-picker__btn:focus-visible {
  transform: scale(1.12);
  outline: none;
}

.star-picker__btn.is-pop {
  animation: star-pop 0.28s var(--ease-out);
}

@keyframes star-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.28); }
  100% { transform: scale(1); }
}

/* ─── Shop hero + catalog ─── */

.shop-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  margin-bottom: 1.75rem;
  background:
    radial-gradient(circle at 85% 20%, rgba(0, 102, 255, 0.16), transparent 40%),
    linear-gradient(135deg, #f7f1e8 0%, #efe4d6 55%, #e8dccb 100%);
  border: 1px solid var(--line);
  animation: shop-hero-in 0.7s var(--ease-out);
}

.shop-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}

.shop-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin: 0.35rem 0 0.75rem;
  line-height: 1.1;
}

.shop-hero__lede {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 1.25rem;
  max-width: 34rem;
}

.shop-usp {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

.shop-usp li {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sage);
  position: relative;
  padding-left: 1rem;
}

.shop-usp li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}

.shop-hero__glow {
  position: absolute;
  right: -8%;
  top: -30%;
  width: 50%;
  height: 160%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.12), transparent 65%);
  pointer-events: none;
  animation: shop-glow 8s ease-in-out infinite alternate;
}

@keyframes shop-hero-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shop-glow {
  from { transform: translateX(0); opacity: 0.7; }
  to { transform: translateX(-6%); opacity: 1; }
}

.shop-toolbar--rich {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.shop-toolbar__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex: 1;
  min-width: min(100%, 20rem);
}

.shop-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  width: 100%;
}

.shop-chip {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.shop-chip:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.shop-chip.is-active {
  background: var(--text);
  color: var(--text-inverse);
  border-color: var(--text);
}

.shop-view-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
}

.shop-view-toggle__btn {
  border: none;
  background: transparent;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
}

.shop-view-toggle__btn.is-active {
  background: var(--text);
  color: white;
}

.shop-result-meta {
  margin: 0 0 1rem;
}

.shop-catalog--grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.shop-catalog--list {
  display: grid;
  gap: 1rem;
}

.shop-card {
  animation: shop-card-in 0.55s var(--ease-out) both;
}

.shop-card:nth-child(2) { animation-delay: 0.05s; }
.shop-card:nth-child(3) { animation-delay: 0.1s; }
.shop-card:nth-child(4) { animation-delay: 0.15s; }

@keyframes shop-card-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.shop-card__media {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-card__body h3 a,
.product-tile__heading h3 a {
  color: inherit;
  text-decoration: none;
}

.product-card__body h3 a:hover,
.product-tile__heading h3 a:hover {
  color: var(--accent);
}

.product-card__featured {
  position: absolute;
  right: 1rem;
  top: 1rem;
  margin: 0;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--sage);
  color: white;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shop-card__add {
  border: none;
  border-radius: var(--radius-full);
  background: var(--text);
  color: white;
  padding: 0.55rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.shop-card__add:hover {
  background: var(--accent);
}

.shop-load-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0 0.5rem;
  animation: shop-card-in 0.45s var(--ease-out) both;
}

.shop-load-more[hidden] {
  display: none;
}

.shop-load-more__btn {
  min-width: 11rem;
}

.product-tile__rating {
  margin-top: 0.35rem;
}

/* ─── Product gallery + detail ─── */

.product-hero--rich {
  gap: 2.5rem;
}

.product-gallery {
  display: grid;
  gap: 0.75rem;
}

.product-gallery__main {
  aspect-ratio: 1;
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.55), transparent 35%),
    linear-gradient(160deg, color-mix(in srgb, var(--card-accent) 55%, white), color-mix(in srgb, var(--card-accent) 25%, #f0ebe3));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.25s var(--ease-out);
}

.product-gallery__thumbs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.product-gallery__thumb {
  width: 4.25rem;
  height: 4.25rem;
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  overflow: hidden;
}

.product-gallery__thumb.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 0.75rem 0 1rem;
}

.product-rating-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}

.price-save {
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--sage);
  background: var(--sage-soft);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.product-shipping-cue {
  margin: 1rem 0 0;
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

.product-facts div {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: var(--surface-muted);
  border: 1px solid var(--line);
}

.product-facts dt {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 0.25rem;
}

.product-facts dd {
  margin: 0;
  font-weight: 600;
}

.product-story {
  margin: 1rem 0 2rem;
  max-width: 46rem;
}

.product-story h2 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
}

.product-story p {
  color: var(--muted);
  line-height: 1.75;
}

.product-reviews {
  margin: 2.5rem 0 3rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--surface);
}

.product-reviews__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.product-reviews__head h2 {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
}

.product-reviews__list {
  display: grid;
  gap: 1rem;
}

.review-card {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-muted);
}

.review-card__top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.review-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

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

.review-form,
.review-thanks,
.review-eligible-note {
  margin-top: 1rem;
}

.review-form {
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-muted);
  display: grid;
  gap: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.review-form h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0;
  color: var(--text);
}

.review-form > .meta {
  margin: -0.35rem 0 0;
}

.review-form input,
.review-form textarea {
  border-color: var(--line);
  background: var(--surface-muted);
  color: var(--text);
}

.review-form textarea {
  min-height: 6.5rem;
  resize: vertical;
  line-height: 1.55;
}

.review-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.15rem;
}

.review-thanks {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--sage) 28%, var(--line));
  background: var(--sage-soft);
  color: var(--text);
  line-height: 1.55;
}

.review-eligible-note {
  color: var(--muted);
  line-height: 1.5;
}

.product-sticky-cart {
  display: none;
}

@media (max-width: 760px) {
  .shop-catalog--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-category-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.25rem 0.15rem 0.5rem;
    margin: 0 -0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .shop-category-chips::-webkit-scrollbar {
    display: none;
  }

  .shop-chip {
    flex-shrink: 0;
    scroll-snap-align: start;
    touch-action: manipulation;
  }

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

  .product-sticky-cart {
    display: flex;
    position: sticky;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    z-index: 40;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem 0 max(2rem, calc(1.25rem + env(safe-area-inset-bottom, 0px)));
    padding: 0.85rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(18, 16, 14, 0.94);
    color: white;
    box-shadow: var(--shadow-lg);
  }

  .product-sticky-cart strong {
    display: block;
    font-size: 0.875rem;
  }

  .product-sticky-cart span {
    font-size: 0.8125rem;
    opacity: 0.8;
  }

  .product-sticky-cart .primary-button {
    flex-shrink: 0;
    min-height: 2.75rem;
    padding-left: 1.15rem;
    padding-right: 1.15rem;
    touch-action: manipulation;
  }
}

@media (max-width: 520px) {
  .shop-catalog--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

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

  .product-card {
    padding: 0.85rem 0.75rem;
  }

  .hero-visual {
    padding: 1rem 0.85rem 0.95rem;
  }

  .hero-pack {
    flex: 0 0 84%;
    max-width: 260px;
    min-height: 175px;
    padding: 1rem;
  }

  .hero-pack img {
    height: 76px;
  }

  .shop-hero {
    padding: 1.75rem 1.25rem;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="search"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* ─── Admin gallery + reviews ─── */

.product-gallery-admin__list {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.product-gallery-admin__item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-muted);
}

.product-gallery-admin__item.is-primary {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}

.product-gallery-admin__item img {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
  background: white;
  border-radius: var(--radius-sm);
}

.product-gallery-admin__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.product-gallery-admin__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 0.35rem;
}

.product-gallery--admin-view {
  gap: 0.65rem;
}

.product-gallery--admin-view .product-gallery__main {
  aspect-ratio: 1;
  max-height: 16rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  box-shadow: none;
}

.product-gallery--admin-view .product-gallery__thumb {
  width: 3.5rem;
  height: 3.5rem;
}

.product-gallery-admin__empty {
  padding: 1.25rem 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-muted);
  text-align: center;
}

.product-gallery-admin__empty p {
  margin: 0;
}

.product-gallery-admin__empty .meta {
  margin-top: 0.35rem;
}

.product-batch-gen {
  margin: 0 0 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-muted);
  display: grid;
  gap: 0.35rem;
}

.product-batch-gen__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: space-between;
}

.product-batch-gen__log {
  margin: 0;
  max-height: 6.5rem;
  overflow: auto;
  font-size: 0.8125rem;
  color: var(--muted);
}

.orders-bulk-bar .admin-checkbox-row {
  margin: 0;
  font-size: 0.8125rem;
}

.product-image-gen {
  margin-top: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  display: grid;
  gap: 0.65rem;
}

.product-image-gen__prompt textarea {
  width: 100%;
  min-height: 4.5rem;
  resize: vertical;
}

.product-image-gen__actions,
.product-image-gen__preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.product-image-gen__preview {
  display: grid;
  gap: 0.65rem;
}

.product-image-gen__preview img {
  width: min(100%, 18rem);
  max-height: 18rem;
  object-fit: contain;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.review-mod-list {
  display: grid;
  gap: 1rem;
}

.review-mod-card {
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-muted);
}

.review-mod-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.review-mod-card__status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.account-order {
  margin-bottom: 1rem;
}

.account-order__reviews {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.55rem;
}

.account-rate-btn {
  font-size: 0.8125rem;
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  touch-action: manipulation;
}

.account-review-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--surface-muted);
  border: 1px solid var(--line);
}

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(18, 16, 14, 0.48);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.review-modal__card {
  width: min(28rem, 100%);
  max-height: min(92vh, 40rem);
  overflow: auto;
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 0.85rem;
}

.review-modal__card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.5vw, 1.55rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
  color: var(--text);
}

.review-modal__card > .meta {
  margin: -0.25rem 0 0;
  color: var(--muted);
}

.review-modal .review-form {
  margin-top: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

.review-modal input,
.review-modal textarea {
  border-color: var(--line);
  background: var(--surface-muted);
  color: var(--text);
}

.review-modal textarea {
  min-height: 6.5rem;
  resize: vertical;
  line-height: 1.55;
}

@media (max-width: 520px) {
  .review-modal {
    padding: 0.65rem;
    align-items: end;
  }

  .review-modal__card {
    width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-xl) var(--radius-xl) var(--radius-lg) var(--radius-lg);
    padding: 1.25rem 1.1rem 1.35rem;
  }

  .star-picker__btn {
    font-size: 1.55rem;
    padding: 0.2rem;
  }

  .review-form__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .review-form__actions .primary-button,
  .review-form__actions .ghost-button {
    width: 100%;
    justify-content: center;
  }
}

/* —— Prashad (प्रसाद) —— */
.prashad-page {
  --prashad-saffron: #c45c26;
  --prashad-marigold: #e8a317;
  --prashad-deep: #3d2415;
  --prashad-glow: rgba(232, 163, 23, 0.22);
  --prashad-mist: #f7efe3;
  --font-prashad: "Cormorant Garamond", "Times New Roman", serif;
}

.prashad-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 1.75rem;
  background:
    radial-gradient(ellipse 80% 70% at 85% 20%, var(--prashad-glow), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(196, 92, 38, 0.12), transparent 50%),
    linear-gradient(165deg, #2a1810 0%, #4a2c18 42%, #6b3d1f 100%);
  color: #faf6ef;
  min-height: min(78vh, 36rem);
  display: grid;
  align-items: end;
}

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

.prashad-hero__glow {
  position: absolute;
  width: 18rem;
  height: 18rem;
  right: 8%;
  top: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 80, 0.35), transparent 70%);
  animation: prashad-glow-pulse 5s ease-in-out infinite;
}

.prashad-hero__marigold {
  position: absolute;
  inset: auto 0 0 0;
  height: 4rem;
  background:
    radial-gradient(ellipse 12px 8px at 8% 60%, #e8a317 0 55%, transparent 60%),
    radial-gradient(ellipse 10px 7px at 18% 70%, #c45c26 0 50%, transparent 55%),
    radial-gradient(ellipse 11px 8px at 28% 55%, #e8a317 0 55%, transparent 60%),
    radial-gradient(ellipse 10px 7px at 40% 75%, #d97706 0 50%, transparent 55%),
    radial-gradient(ellipse 12px 8px at 55% 60%, #e8a317 0 55%, transparent 60%),
    radial-gradient(ellipse 10px 7px at 70% 70%, #c45c26 0 50%, transparent 55%),
    radial-gradient(ellipse 11px 8px at 85% 58%, #e8a317 0 55%, transparent 60%);
  opacity: 0.55;
}

.prashad-hero__icons {
  position: absolute;
  right: clamp(1rem, 5vw, 3rem);
  top: 18%;
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  pointer-events: none;
}

.prashad-icon {
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
  opacity: 0.92;
}

.prashad-icon--diya {
  animation: prashad-diya-sway 4.5s ease-in-out infinite;
}

.prashad-icon--dhoop {
  animation: prashad-smoke-rise 6s ease-in-out infinite;
}

.prashad-icon--kalash {
  opacity: 0.85;
}

.prashad-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
}

.prashad-hero__brand {
  font-family: var(--font-prashad);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--prashad-marigold);
  margin: 0 0 0.35rem;
}

.prashad-hero h1 {
  font-family: var(--font-prashad);
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 600;
  line-height: 0.95;
  margin: 0 0 0.85rem;
  color: #fff8ee;
}

.prashad-hero__lede {
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(250, 246, 239, 0.88);
  margin: 0 0 1.5rem;
  max-width: 32ch;
}

.prashad-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.prashad-hero__cta .secondary-button {
  background: transparent;
  border-color: rgba(250, 246, 239, 0.35);
  color: #faf6ef;
}

.prashad-hero__cta .secondary-button:hover {
  border-color: var(--prashad-marigold);
  color: var(--prashad-marigold);
}

.prashad-donation-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.15rem;
  margin: 0 0 1.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, rgba(196, 92, 38, 0.1), rgba(232, 163, 23, 0.12));
  border: 1px solid rgba(196, 92, 38, 0.2);
  color: var(--prashad-deep);
  font-size: 0.95rem;
}

.prashad-donation-banner strong {
  color: var(--prashad-saffron);
  font-size: 1.15rem;
}

.prashad-highlights {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
}

.prashad-highlights li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.95rem;
  color: var(--prashad-deep);
  line-height: 1.45;
}

.prashad-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--prashad-saffron, #c45c26);
}

.prashad-offer-section {
  margin-bottom: 0.5rem;
}

.prashad-devotees {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.prashad-devotee-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.85rem 1rem;
  align-items: end;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(180, 83, 9, 0.14);
  background: rgba(255, 255, 255, 0.55);
}

.prashad-devotee-row label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--prashad-deep, #5c3310);
  min-width: 0;
}

.gotra-combobox {
  position: relative;
  min-width: 0;
}

.gotra-combobox__input {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-weight: 400;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(90, 52, 20, 0.18);
  background: #fff;
  color: #1f1814;
}

.gotra-combobox__input:focus {
  outline: 2px solid rgba(196, 92, 38, 0.35);
  outline-offset: 1px;
  border-color: rgba(196, 92, 38, 0.45);
}

.gotra-combobox__native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  pointer-events: none;
}

.gotra-combobox__list {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  max-height: min(16rem, 50vh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  border: 1px solid rgba(90, 52, 20, 0.18);
  background: #fff;
  box-shadow: 0 10px 28px rgba(60, 32, 8, 0.14);
}

.gotra-combobox__option {
  padding: 0.55rem 0.75rem;
  font-size: 0.92rem;
  font-weight: 400;
  color: #1f1814;
  cursor: pointer;
}

.gotra-combobox__option.is-active,
.gotra-combobox__option:hover {
  background: rgba(196, 92, 38, 0.1);
}

.gotra-combobox__option.is-selected {
  font-weight: 600;
  color: var(--prashad-deep, #5c3310);
}

.gotra-combobox__empty {
  padding: 0.65rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--muted, #6b5c4f);
}

.prashad-devotee-remove {
  align-self: end;
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

.prashad-devotees__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-bottom: 1.15rem;
}

.prashad-devotees__actions .meta {
  margin: 0;
}

.prashad-offer-form [data-puja-amount-hint] {
  font-weight: 400;
  margin-top: 0.15rem;
}

.prashad-offer-form {
  padding: 1.35rem 1.4rem 1.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, rgba(250, 246, 239, 0.95), rgba(255, 250, 242, 0.9));
  border: 1px solid rgba(180, 83, 9, 0.16);
}

.prashad-offer-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.15rem;
}

.prashad-offer-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--prashad-deep, #5c3310);
}

.prashad-offer-form .req {
  color: var(--prashad-saffron, #c45c26);
  font-weight: 700;
}

.prashad-offer-form input,
.prashad-offer-form select,
.prashad-offer-form textarea {
  font: inherit;
  font-weight: 400;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(90, 52, 20, 0.18);
  background: #fff;
  color: #1f1814;
}

.prashad-offer-form__span {
  grid-column: 1 / -1;
}

.prashad-offer-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 1.15rem;
}

.prashad-offer-form__actions .meta {
  margin: 0;
  flex: 1;
  min-width: 12rem;
}

.prashad-meaning {
  margin-bottom: 0.5rem;
}

.prashad-meaning__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
}

/* —— Prashad temple audio —— */
.prashad-audio-root {
  pointer-events: none;
}

.prashad-audio-gate {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  pointer-events: auto;
}

.prashad-audio-gate[hidden] {
  display: none;
}

.prashad-audio-gate__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(74, 44, 24, 0.55), transparent 70%),
    rgba(26, 16, 10, 0.58);
  backdrop-filter: blur(3px);
  animation: prashad-gate-veil 1.1s ease-out;
}

.prashad-audio-gate__panel {
  position: relative;
  z-index: 1;
  width: min(22.5rem, 100%);
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
  color: #faf6ef;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232, 163, 23, 0.18), transparent 55%),
    linear-gradient(165deg, #2a1810 0%, #4a2c18 55%, #3d2415 100%);
  border: 1px solid rgba(232, 163, 23, 0.28);
  border-radius: 18px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  animation: prashad-gate-rise 0.55s ease-out;
}

.prashad-audio-gate__eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--font-prashad, "Cormorant Garamond", serif);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--prashad-marigold, #e8a317);
}

.prashad-audio-gate__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-prashad, "Cormorant Garamond", serif);
  font-size: clamp(1.75rem, 5vw, 2.15rem);
  font-weight: 600;
  color: #fff8ee;
  line-height: 1.15;
}

.prashad-audio-gate__text {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(250, 246, 239, 0.82);
}

.prashad-audio-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: stretch;
}

.prashad-audio-gate__enter {
  width: 100%;
}

.prashad-audio-gate__skip {
  color: rgba(250, 246, 239, 0.72);
  font-size: 0.9rem;
}

.prashad-audio-gate__skip:hover {
  color: var(--prashad-marigold, #e8a317);
}

.prashad-audio-toggle {
  pointer-events: auto;
  position: fixed;
  left: max(0.85rem, env(safe-area-inset-left));
  bottom: max(0.85rem, env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.45rem 0.85rem 0.45rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 92, 38, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 248, 238, 0.94), rgba(247, 239, 227, 0.9));
  color: var(--prashad-deep, #3d2415);
  box-shadow: 0 8px 22px rgba(61, 36, 21, 0.14);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.prashad-audio-toggle:hover {
  border-color: rgba(196, 92, 38, 0.5);
  color: var(--prashad-saffron, #c45c26);
}

.prashad-audio-toggle:focus-visible {
  outline: 2px solid var(--prashad-marigold, #e8a317);
  outline-offset: 3px;
}

.prashad-audio-toggle__icon {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: rgba(196, 92, 38, 0.12);
  color: var(--prashad-saffron, #c45c26);
  flex-shrink: 0;
}

.prashad-audio-toggle__svg {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}

.prashad-audio-toggle__label {
  white-space: nowrap;
  padding-right: 0.15rem;
}

.prashad-audio-toggle.is-muted {
  opacity: 0.88;
}

.prashad-audio-toggle.is-muted .prashad-audio-toggle__icon {
  background: rgba(61, 36, 21, 0.08);
  color: rgba(61, 36, 21, 0.55);
}

body.prashad-audio-playing .prashad-icon--diya {
  animation: prashad-diya-sound 2.8s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35)) drop-shadow(0 0 12px rgba(255, 180, 60, 0.45));
}

body.prashad-audio-playing .nav-prashad-diya {
  filter: drop-shadow(0 0 6px rgba(255, 170, 50, 0.75));
}

body.prashad-audio-gate-open {
  overflow: hidden;
}

@keyframes prashad-gate-veil {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes prashad-gate-rise {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes prashad-diya-sound {
  0%,
  100% {
    transform: rotate(-2deg) scale(1);
  }
  50% {
    transform: rotate(2deg) scale(1.03);
  }
}

@media (max-width: 760px) {
  .prashad-audio-toggle {
    left: max(0.65rem, env(safe-area-inset-left));
    bottom: max(0.65rem, env(safe-area-inset-bottom));
    padding-right: 0.7rem;
  }

  .prashad-audio-toggle__label {
    font-size: 0.72rem;
  }
}

.prashad-meaning h2 {
  font-family: var(--font-prashad);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--prashad-deep);
  margin: 0 0 0.75rem;
}

.prashad-meaning p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.prashad-motifs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.prashad-motifs li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.92rem;
  color: var(--prashad-deep);
}

.prashad-motifs img {
  flex-shrink: 0;
  width: 2.5rem;
  height: auto;
}

.prashad-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.prashad-section-head h2 {
  font-family: var(--font-prashad);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--prashad-deep);
  margin: 0;
}

.prashad-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
}

.prashad-card {
  display: flex;
  flex-direction: column;
  background: var(--prashad-mist);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(196, 92, 38, 0.12);
  overflow: hidden;
  transition: transform 0.25s var(--ease-out, ease), box-shadow 0.25s ease;
}

.prashad-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(61, 36, 21, 0.1);
}

.prashad-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  background: linear-gradient(160deg, #efe4d4, #f7efe3);
}

.prashad-card__media img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prashad-card__body {
  padding: 1rem 1.1rem 1.2rem;
  display: grid;
  gap: 0.4rem;
}

.prashad-card__occasion {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--prashad-saffron);
}

.prashad-card__body h3 {
  margin: 0;
  font-family: var(--font-prashad);
  font-size: 1.35rem;
  font-weight: 600;
}

.prashad-card__body h3 a {
  color: inherit;
  text-decoration: none;
}

.prashad-card__body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.prashad-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}

.prashad-empty img {
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.prashad-donation-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: rgba(196, 92, 38, 0.12);
  color: var(--prashad-saffron, #c45c26);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  width: fit-content;
}

.prashad-donation-badge--compact {
  margin: 0.15rem 0;
}

.prashad-donation-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0.35rem 0 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.prashad-card-motif {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 1.75rem;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.product-card--prashad .product-card__visual,
.product-hero--prashad .product-gallery__main {
  position: relative;
}

.product-tile--prashad .product-tile__art {
  position: relative;
}

.prashad-facts {
  margin: 1rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.65rem;
}

.prashad-facts > div {
  display: grid;
  gap: 0.15rem;
}

.prashad-facts dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.prashad-facts dd {
  margin: 0;
  color: var(--text);
  white-space: pre-wrap;
}

@keyframes prashad-glow-pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes prashad-diya-sway {
  0%,
  100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg);
  }
}

@keyframes prashad-smoke-rise {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.85;
  }
  50% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

.prashad-flame {
  animation: prashad-flame-flicker 1.8s ease-in-out infinite;
  transform-origin: 60px 56px;
}

.prashad-flame-core {
  animation: prashad-flame-flicker 1.4s ease-in-out infinite reverse;
  transform-origin: 60px 54px;
}

@keyframes prashad-flame-flicker {
  0%,
  100% {
    transform: scaleY(1) scaleX(1);
  }
  40% {
    transform: scaleY(1.08) scaleX(0.94);
  }
  70% {
    transform: scaleY(0.94) scaleX(1.05);
  }
}

.prashad-smoke {
  animation: prashad-smoke-drift 4s ease-in-out infinite;
}

.prashad-smoke--2 {
  animation-delay: 0.6s;
}

.prashad-smoke--3 {
  animation-delay: 1.2s;
}

@keyframes prashad-smoke-drift {
  0%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 0.55;
    transform: translateY(-4px);
  }
}

@media (max-width: 760px) {
  .prashad-hero {
    min-height: auto;
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }

  .prashad-hero__icons {
    position: relative;
    right: auto;
    top: auto;
    justify-content: flex-start;
    margin-bottom: 1.25rem;
  }

  .prashad-highlights,
  .prashad-offer-form__grid,
  .prashad-devotee-row {
    grid-template-columns: 1fr;
  }

  .prashad-devotee-remove {
    justify-self: start;
  }

  .prashad-icon--kalash {
    display: none;
  }

  .prashad-meaning__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .prashad-hero__glow,
  .prashad-icon--diya,
  .prashad-icon--dhoop,
  .prashad-flame,
  .prashad-flame-core,
  .prashad-smoke,
  .prashad-card,
  .nav-prashad-diya,
  .nav-prashad-diya__halo,
  .nav-prashad-diya__flame-group,
  .nav-prashad-diya__flame,
  .nav-prashad-diya__flame-core,
  .nav-prashad-diya__tip,
  .nav-prashad-diya__tip-core,
  .home-prashad__glow,
  .home-prashad__diya,
  .prashad-audio-playing .prashad-icon--diya,
  .prashad-audio-playing .nav-prashad-diya,
  .prashad-audio-gate__veil,
  .prashad-audio-toggle.is-sounding::after {
    animation: none !important;
    transition: none !important;
  }

  .nav-prashad-diya {
    filter: drop-shadow(0 0 3px rgba(255, 160, 40, 0.55));
  }

  .nav-prashad-diya__halo {
    opacity: 0.4;
  }

  .nav-prashad-label__text {
    transition: none !important;
  }

  .nav-prashad-label__text.is-fading {
    opacity: 1;
  }
}

/* ─── About / Journal page surfaces ─── */

.page-hero {
  position: relative;
  overflow: hidden;
  margin: 1.5rem 0 2rem;
  padding: clamp(2.25rem, 5vw, 3.75rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  background:
    radial-gradient(ellipse 65% 85% at 95% 5%, rgba(0, 102, 255, 0.08), transparent 60%),
    radial-gradient(ellipse 55% 75% at 5% 95%, rgba(56, 189, 248, 0.06), transparent 55%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 45%, #eff6ff 100%);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
  animation: page-hero-in 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-hero--about {
  background:
    radial-gradient(ellipse 60% 80% at 90% 10%, rgba(0, 102, 255, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 70% at 10% 90%, rgba(56, 189, 248, 0.08), transparent 50%),
    linear-gradient(140deg, #ffffff 0%, #f8fafc 50%, #f0f7ff 100%);
}

.page-hero--journal {
  background:
    radial-gradient(ellipse 60% 80% at 90% 10%, rgba(0, 102, 255, 0.09), transparent 55%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #eff6ff 100%);
}

.page-hero__glow {
  position: absolute;
  right: -5%;
  top: -25%;
  width: min(50%, 24rem);
  height: 150%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.12), transparent 70%);
  pointer-events: none;
  filter: blur(20px);
}

.page-hero__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(226, 232, 240, 0.6) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.6) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 80% at 85% 20%, black 20%, transparent 80%);
}

.page-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 52rem;
}

.tech-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid rgba(0, 102, 255, 0.2);
  box-shadow: 0 1px 4px rgba(0, 102, 255, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0066FF;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.tech-hero-pill__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0066FF;
  box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.7);
  animation: tech-pulse 2s infinite;
}

@keyframes tech-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 102, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 102, 255, 0); }
}

.page-hero h1 {
  font-family: inherit;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: #090d16;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0.5rem 0 1rem;
}

.tech-gradient-text {
  background: linear-gradient(135deg, #0066FF 0%, #0284c7 60%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero__lede {
  margin: 0 0 1.5rem;
  color: #475569;
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 44rem;
}

.page-hero__lede a {
  color: #0066FF;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.page-hero__lede a:hover {
  color: #004ecc;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Feature / Trust Badges Row inside Hero */
.tech-hero-badges-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  max-width: 52rem;
}

.tech-badge-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  padding: 1rem 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tech-badge-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 102, 255, 0.3);
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.08);
}

.tech-badge-icon {
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
  display: inline-block;
}

.tech-badge-card strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #090d16;
}

.tech-badge-card span:not(.tech-badge-icon) {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.45;
}

/* Stats Row for About / Why Diganta */
.tech-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  max-width: 52rem;
}

.tech-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.tech-stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 102, 255, 0.3);
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.08);
}

.tech-stat-number {
  font-size: 1.625rem;
  font-weight: 800;
  color: #0066FF;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.tech-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .tech-hero-badges-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .tech-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

@keyframes page-hero-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-header--journal {
  align-items: flex-end;
}

.section-header__aside {
  margin-top: 0.65rem !important;
  max-width: 28rem;
  font-size: 0.9375rem;
}

.about-surface {
  padding: 0 0 2.5rem;
}

.about-values__intro {
  max-width: 36rem;
  margin-bottom: 0.25rem;
}

.about-values__intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
  margin: 0.4rem 0 0.75rem;
  line-height: 1.15;
}

.about-values__intro > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.value-grid--about {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.75rem;
}

.value-grid--about article {
  position: relative;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.value-grid--about article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.value-grid__mark {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  opacity: 0.75;
  margin-bottom: 0.65rem;
}

.about-belief {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
  margin-top: 2.5rem;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 40% 80% at 0% 0%, rgba(0, 102, 255, 0.08), transparent 55%),
    radial-gradient(ellipse 35% 70% at 100% 100%, rgba(74, 92, 56, 0.07), transparent 50%),
    var(--surface);
}

.about-belief__copy .meta {
  margin: 0;
}

.about-belief__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  letter-spacing: -0.02em;
  margin: 0.4rem 0 0.85rem;
  line-height: 1.15;
}

.about-belief__copy p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

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

.about-belief__aside {
  display: grid;
  gap: 0.75rem;
}

.about-belief__aside article {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-muted) 80%, white);
}

.about-belief__aside strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.about-belief__aside p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}

.about-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 2rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 45% 120% at 0% 50%, rgba(0, 102, 255, 0.1), transparent 55%),
    var(--surface);
}

.about-cta-band strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin: 0.2rem 0 0.35rem;
}

.about-cta-band p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 28rem;
}

.about-method-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  margin: 0 0 3rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    linear-gradient(165deg, #1a1613 0%, #12100e 55%, #161310 100%);
  color: var(--text-inverse);
}

.about-method-band__intro .meta {
  color: rgba(0, 102, 255, 0.9);
}

.about-method-band__intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  letter-spacing: -0.02em;
  margin: 0.4rem 0 0.75rem;
  line-height: 1.15;
  color: var(--text-inverse);
}

.about-method-band__intro p {
  margin: 0;
  color: var(--muted-light);
  line-height: 1.65;
  max-width: 26rem;
}

.about-method-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.about-method-steps li {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.about-method-steps span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.about-method-steps strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.about-method-steps p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--muted-light);
}

.about-care-band {
  margin: 0 0 3rem;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 45% 70% at 100% 0%, rgba(74, 92, 56, 0.09), transparent 55%),
    var(--surface);
}

.about-care-band__intro {
  max-width: 38rem;
  margin-bottom: 1.5rem;
}

.about-care-band__intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  letter-spacing: -0.02em;
  margin: 0.4rem 0 0.75rem;
  line-height: 1.15;
}

.about-care-band__intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.about-care-grid article {
  padding: 1.15rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-muted) 70%, white);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.about-care-grid article:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--line-strong);
}

.about-care-grid__mark {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  opacity: 0.75;
  margin-bottom: 0.5rem;
}

.about-care-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.about-care-grid p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}

.home-belief {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 42% 80% at 0% 20%, rgba(0, 102, 255, 0.09), transparent 55%),
    radial-gradient(ellipse 36% 70% at 100% 90%, rgba(74, 92, 56, 0.08), transparent 50%),
    linear-gradient(160deg, #faf7f1, #f3ebe1 60%, #efe6da);
}

.home-belief__intro .meta {
  margin: 0;
}

.home-belief__intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0.45rem 0 0.85rem;
  line-height: 1.15;
  max-width: 18ch;
}

.home-belief__intro p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 32rem;
}

.home-belief__points {
  display: grid;
  gap: 0.75rem;
}

.home-belief__points article {
  padding: 1.05rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.home-belief__points article:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--line-strong);
}

.home-belief__index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  opacity: 0.8;
  margin-bottom: 0.4rem;
}

.home-belief__points strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.home-belief__points p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 900px) {
  .value-grid--about {
    grid-template-columns: 1fr;
  }

  .about-belief,
  .home-belief,
  .about-care-grid {
    grid-template-columns: 1fr;
  }

  .home-belief__intro h2 {
    max-width: none;
  }
}

/* ─── Shared content-page polish (FAQ / Contact / Legal / Cart / Article) ─── */

.page-hero--faq {
  background:
    radial-gradient(ellipse 60% 80% at 95% 10%, rgba(0, 102, 255, 0.09), transparent 55%),
    radial-gradient(ellipse 45% 65% at 5% 90%, rgba(16, 185, 129, 0.06), transparent 50%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #eff6ff 100%);
}

.page-hero--contact {
  background:
    radial-gradient(ellipse 60% 80% at 90% 10%, rgba(0, 102, 255, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 70% at 10% 90%, rgba(56, 189, 248, 0.08), transparent 50%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #eff6ff 100%);
}

.page-hero--legal {
  background:
    radial-gradient(ellipse 60% 75% at 95% 10%, rgba(0, 102, 255, 0.08), transparent 55%),
    radial-gradient(ellipse 45% 60% at 5% 85%, rgba(100, 116, 139, 0.06), transparent 50%),
    linear-gradient(140deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
}

.page-hero--legal .page-hero__copy {
  max-width: 52rem;
}

.page-hero--legal .page-hero__lede {
  max-width: 46rem;
}

.page-hero--cart {
  background:
    radial-gradient(ellipse 60% 80% at 90% 10%, rgba(0, 102, 255, 0.1), transparent 55%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #eff6ff 100%);
}

.page-hero--article {
  background:
    radial-gradient(ellipse 60% 80% at 90% 12%, rgba(0, 102, 255, 0.09), transparent 50%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #eff6ff 100%);
}

.page-hero__copy--article {
  max-width: 48rem;
}

.page-hero__lede a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.page-hero__lede a:hover {
  color: var(--accent-hover);
}

.faq-stack {
  gap: 2.75rem;
  padding-bottom: 2.5rem;
}

.faq-group {
  padding: 1.35rem 1.35rem 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 40% 80% at 100% 0%, rgba(0, 102, 255, 0.05), transparent 55%),
    var(--surface);
  box-shadow: var(--shadow-sm);
}

.faq-group h2 {
  margin: 0 0 1rem;
  padding: 0;
}

.faq-item {
  margin-bottom: 0;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item summary {
  position: relative;
  padding: 1.15rem 2.75rem 1.15rem 1.25rem;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.015em;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--line-strong);
}

.faq-item p,
.faq-item ul {
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.9375rem;
}

body[data-page="faq"] .about-cta-band {
  margin: 0 0 3.5rem;
}

.contact-layout {
  gap: 1.35rem;
  padding-top: 0.25rem;
  padding-bottom: 2rem;
}

.contact-card {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
}

.contact-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  letter-spacing: -0.02em;
  margin: 0.35rem 0 0.55rem;
  line-height: 1.15;
}

.contact-card__lede {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.contact-card__policies {
  margin-top: 1.25rem;
}

.contact-card--form {
  background:
    radial-gradient(ellipse 50% 70% at 0% 0%, rgba(0, 102, 255, 0.07), transparent 55%),
    var(--surface);
}

.contact-grievance {
  padding-top: 0;
  padding-bottom: 3.5rem;
}

.policy-layout--legal {
  gap: 1rem;
  padding-bottom: 3.5rem;
}

.policy-layout--legal .policy-panel {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.cart-items__label {
  margin: 0 0 1rem;
}

.cart-item {
  align-items: center;
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.cart-item:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.cart-item__copy {
  flex: 1;
  min-width: 0;
}

.cart-item__copy p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.cart-item__price {
  color: var(--text) !important;
  font-weight: 600;
}

.cart-summary {
  background:
    radial-gradient(ellipse 55% 80% at 100% 0%, rgba(0, 102, 255, 0.08), transparent 55%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.cart-summary > .meta {
  margin: 0;
}

.cart-summary h2 {
  margin: 0.35rem 0 1.25rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.cart-summary .primary-button {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.cart-summary__continue {
  display: block;
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.cart-summary__continue:hover {
  color: var(--accent-hover);
}

.cart-coupon,
.checkout-coupon {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  min-width: 0;
  margin: 1rem 0 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.cart-coupon__label,
.checkout-coupon > label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.cart-coupon__row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.cart-coupon__row input {
  flex: 1;
  min-width: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  font: inherit;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cart-coupon__row .secondary-button,
.cart-coupon__row .ghost-button {
  flex-shrink: 0;
  white-space: nowrap;
}

.cart-coupon__msg {
  min-height: 1.25rem;
  margin: 0.45rem 0 0;
}

.cart-coupon__msg--error {
  color: #b42318;
}

.cart-empty-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin: 0 0 3.5rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    linear-gradient(165deg, #1a1613 0%, #12100e 55%, #161310 100%);
  color: var(--text-inverse);
}

.cart-empty-band__intro .meta {
  color: rgba(0, 102, 255, 0.9);
}

.cart-empty-band__intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  letter-spacing: -0.02em;
  margin: 0.4rem 0 0.65rem;
  line-height: 1.15;
  color: var(--text-inverse);
}

.cart-empty-band__intro p {
  margin: 0;
  color: var(--muted-light);
  line-height: 1.6;
  max-width: 28rem;
}

.cart-empty-band .secondary-button {
  flex-shrink: 0;
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text-inverse);
  background: rgba(255, 255, 255, 0.06);
}

.cart-empty-band .secondary-button:hover {
  border-color: rgba(0, 102, 255, 0.55);
  background: rgba(0, 102, 255, 0.14);
  color: #fff;
}

body[data-page="cart"] .cart-layout {
  padding-top: 0.25rem;
}

.cart-recs {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.cart-recs--post-order {
  margin-top: 0;
  padding: 1.25rem 1.15rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 70% 55% at 0% 0%, rgba(74, 92, 56, 0.07), transparent 55%),
    var(--surface);
  box-shadow: var(--shadow-sm);
}

.cart-recs--post-order .cart-recs__intro {
  max-width: 32rem;
}

.cart-recs--post-order .cart-recs__intro .meta + h2 {
  margin-top: 0.15rem;
}

.cart-recs--post-order .cart-recs__intro h2 + .meta {
  margin-top: 0.35rem;
  line-height: 1.45;
}

.cart-recs--post-order .cart-recs__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.cart-recs--post-order .cart-recs__more {
  margin: 0.9rem 0 0;
  text-align: center;
}

.cart-recs--post-order .cart-recs__more a {
  color: inherit;
  text-underline-offset: 0.15em;
}

.cart-recs--post-order .cart-recs__more a:hover {
  color: var(--accent);
}

.cart-recs__intro {
  margin-bottom: 0.85rem;
  max-width: 28rem;
}

.cart-recs__intro .meta {
  margin: 0;
}

.cart-recs__intro h2 {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.cart-recs__strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.15rem 0.1rem 0.45rem;
  margin: 0 -0.1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(18, 16, 14, 0.18) transparent;
}

.cart-recs__strip:focus-visible {
  outline: 2px solid rgba(0, 102, 255, 0.45);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.cart-recs__strip::-webkit-scrollbar {
  height: 4px;
}

.cart-recs__strip::-webkit-scrollbar-track {
  background: transparent;
}

.cart-recs__strip::-webkit-scrollbar-thumb {
  background: rgba(18, 16, 14, 0.16);
  border-radius: 999px;
}

.cart-rec-card {
  flex: 0 0 auto;
  width: min(10.25rem, 44vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.55rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.cart-rec-card:hover {
  border-color: rgba(0, 102, 255, 0.22);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.cart-rec-card--prashad {
  border-color: color-mix(in srgb, var(--card-accent, #b45309) 22%, var(--line));
}

.cart-rec-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  overflow: hidden;
}

.cart-rec-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.45rem;
}

.cart-rec-card__media .prashad-card-motif {
  width: 1rem;
  top: 0.35rem;
  right: 0.35rem;
}

.cart-rec-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  flex: 1;
}

.cart-rec-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-rec-card h3 a {
  color: inherit;
  text-decoration: none;
}

.cart-rec-card h3 a:hover {
  color: var(--accent);
}

.cart-rec-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-top: auto;
}

.cart-rec-card__price {
  font-weight: 600;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.cart-rec-card .shop-card__add {
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
}

@media (min-width: 761px) {
  .cart-recs__strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0.15rem;
  }

  .cart-rec-card {
    width: auto;
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .faq-group {
    padding: 1.1rem;
  }

  .policy-layout--legal .policy-panel,
  body[data-page="terms"] .policy-panel,
  body[data-page="privacy"] .policy-panel,
  body[data-page="shipping"] .policy-panel,
  body[data-page="returns"] .policy-panel,
  body[data-page="contact"] .policy-panel {
    padding: 1.35rem 1.25rem;
  }

  .page-hero--article .journal-detail__meta {
    margin-top: 1.1rem;
  }

  /* Keep rec price + Add on one row (global 760px stacks .product-card__row / flex rows) */
  .cart-rec-card__row {
    flex-direction: row;
    align-items: center;
  }

  .cart-recs {
    margin-top: 1.35rem;
    padding-top: 1.25rem;
  }

  .cart-recs--post-order {
    margin-top: 0;
    padding: 1.1rem 1rem 1.2rem;
  }
}


/* ─── Admin dark theme (scoped; storefront untouched) ─── */

html[data-theme="dark"] body[data-admin-page] {
  color-scheme: dark;
  --bg: #141210;
  --bg-elevated: #1b1815;
  --bg-dark: #0d0c0b;
  --bg-dark-soft: #1a1714;
  --surface: #1c1916;
  --surface-muted: #24201c;
  --text: #f2ebe3;
  --text-inverse: #12100e;
  --muted: #a69c93;
  --muted-light: rgba(242, 235, 227, 0.72);
  --accent: #f07828;
  --accent-hover: #0066FF;
  --accent-soft: rgba(240, 120, 40, 0.18);
  --sage: #8fa67a;
  --sage-soft: rgba(143, 166, 122, 0.16);
  --line: rgba(242, 235, 227, 0.1);
  --line-strong: rgba(242, 235, 227, 0.18);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.28);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.38);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.48);
  --shadow-glow: 0 0 0 1px rgba(242, 235, 227, 0.06), 0 18px 44px rgba(0, 0, 0, 0.35);
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(240, 120, 40, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(74, 92, 56, 0.07), transparent 50%),
    var(--bg);
}

html[data-theme="dark"] body[data-admin-page]::before {
  background:
    radial-gradient(ellipse 80% 50% at 0% -10%, rgba(240, 120, 40, 0.05), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(74, 92, 56, 0.04), transparent 45%),
    var(--bg);
}

html[data-theme="dark"] body[data-admin-page].login-page {
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(240, 120, 40, 0.1), transparent 55%),
    var(--bg-dark);
}

html[data-theme="dark"] body[data-admin-page] .admin-app-header,
html[data-theme="dark"] body[data-admin-page] .admin-app-footer {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}

html[data-theme="dark"] body[data-admin-page] .admin-toolbar,
html[data-theme="dark"] body[data-admin-page] .admin-tabs {
  background: color-mix(in srgb, var(--surface) 90%, transparent);
}

html[data-theme="dark"] body[data-admin-page] .admin-sidebar nav a.is-active,
html[data-theme="dark"] body[data-admin-page] .admin-sidebar nav a:hover {
  background: var(--accent-soft);
  color: #ffb079;
}

html[data-theme="dark"] body[data-admin-page] .admin-theme-toggle {
  background: color-mix(in srgb, var(--surface-muted) 88%, #000);
}

html[data-theme="dark"] body[data-admin-page] .admin-theme-toggle__btn.is-active,
html[data-theme="dark"] body[data-admin-page] .admin-theme-toggle__btn[aria-pressed="true"] {
  background: color-mix(in srgb, var(--surface) 92%, #fff 8%);
}

html[data-theme="dark"] body[data-admin-page] .secondary-button,
html[data-theme="dark"] body[data-admin-page] .admin-table__actions button,
html[data-theme="dark"] body[data-admin-page] .orders-status-tab,
html[data-theme="dark"] body[data-admin-page] .admin-tabs button,
html[data-theme="dark"] body[data-admin-page] .admin-tabs .secondary-button {
  background: var(--surface-muted);
  color: var(--text);
  border-color: var(--line-strong);
}

html[data-theme="dark"] body[data-admin-page] .admin-tabs button.is-active,
html[data-theme="dark"] body[data-admin-page] .admin-tabs .secondary-button.is-active,
html[data-theme="dark"] body[data-admin-page] .orders-status-tab.is-active {
  background: var(--text);
  color: var(--text-inverse);
  border-color: transparent;
}

html[data-theme="dark"] body[data-admin-page] .orders-status-tab.is-active span {
  color: color-mix(in srgb, var(--text-inverse) 75%, transparent);
}

html[data-theme="dark"] body[data-admin-page] .ghost-button {
  background: transparent;
  color: var(--muted);
  border-color: var(--line-strong);
}

html[data-theme="dark"] body[data-admin-page] .secondary-button:hover {
  border-color: color-mix(in srgb, var(--text) 35%, transparent);
  background: color-mix(in srgb, var(--surface) 70%, var(--surface-muted));
}

html[data-theme="dark"] body[data-admin-page] .ghost-button:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--text) 35%, transparent);
  background: color-mix(in srgb, var(--surface-muted) 70%, transparent);
}

html[data-theme="dark"] body[data-admin-page] .admin-form input,
html[data-theme="dark"] body[data-admin-page] .admin-form textarea,
html[data-theme="dark"] body[data-admin-page] .admin-form select,
html[data-theme="dark"] body[data-admin-page] .admin-search,
html[data-theme="dark"] body[data-admin-page] .admin-filter,
html[data-theme="dark"] body[data-admin-page] .admin-period-select select,
html[data-theme="dark"] body[data-admin-page] .orders-filters__date input,
html[data-theme="dark"] body[data-admin-page] .confirm-modal__totp-label input {
  background: var(--bg-elevated);
  color: var(--text);
  border-color: var(--line-strong);
}

html[data-theme="dark"] body[data-admin-page] .admin-form input:focus,
html[data-theme="dark"] body[data-admin-page] .admin-form textarea:focus,
html[data-theme="dark"] body[data-admin-page] .admin-form select:focus,
html[data-theme="dark"] body[data-admin-page] .admin-search:focus,
html[data-theme="dark"] body[data-admin-page] .admin-filter:focus {
  outline-color: color-mix(in srgb, var(--accent) 55%, transparent);
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
}

html[data-theme="dark"] body[data-admin-page] .admin-table tr:hover td,
html[data-theme="dark"] body[data-admin-page] .orders-table__row.is-selected td,
html[data-theme="dark"] body[data-admin-page] .orders-table__row:hover td {
  background: color-mix(in srgb, var(--surface-muted) 88%, #000);
}

html[data-theme="dark"] body[data-admin-page] .admin-list-item.is-active {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  background: color-mix(in srgb, var(--accent-soft) 70%, var(--surface-muted));
}

html[data-theme="dark"] body[data-admin-page] .confirm-modal__backdrop {
  background: rgba(8, 7, 6, 0.72);
}

html[data-theme="dark"] body[data-admin-page] .confirm-modal__card {
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}

html[data-theme="dark"] body[data-admin-page] .orders-drawer__backdrop {
  background: rgba(8, 7, 6, 0.55);
}

html[data-theme="dark"] body[data-admin-page] .orders-drawer__panel {
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] body[data-admin-page] .orders-drawer__close {
  border-color: var(--line-strong);
  color: var(--muted);
  background: transparent;
}

html[data-theme="dark"] body[data-admin-page] .orders-drawer__close:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--text) 35%, transparent);
  background: color-mix(in srgb, var(--surface-muted) 70%, transparent);
}

html[data-theme="dark"] body[data-admin-page] .orders-drawer__footer {
  background: color-mix(in srgb, var(--surface) 88%, #000);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.35);
  border-top-color: var(--line);
}

html[data-theme="dark"] body[data-admin-page] .order-status-pill--shipped,
html[data-theme="dark"] body[data-admin-page] .order-status-pill--packed,
html[data-theme="dark"] body[data-admin-page] .order-status-pill--confirmed {
  background: rgba(95, 168, 146, 0.18);
  color: #9fd6c4;
}

html[data-theme="dark"] body[data-admin-page] .order-status-pill--delivered,
html[data-theme="dark"] body[data-admin-page] .order-status-pill--completed {
  background: rgba(95, 168, 146, 0.26);
  color: #b7e4d5;
}

html[data-theme="dark"] body[data-admin-page] .order-status-pill--cancelled {
  background: rgba(232, 104, 96, 0.18);
  color: #f0a39d;
}

html[data-theme="dark"] body[data-admin-page] .order-status-pill--refunded {
  background: rgba(245, 158, 11, 0.22);
  color: #fcd34d;
}

html[data-theme="dark"] body[data-admin-page] .order-status-pill--pending {
  background: rgba(214, 160, 72, 0.18);
  color: #e8c48a;
}

html[data-theme="dark"] body[data-admin-page] .orders-payment-status {
  background: rgba(95, 168, 146, 0.18);
  color: #9fd6c4;
}

html[data-theme="dark"] body[data-admin-page] .orders-payment-status--pending {
  background: rgba(214, 160, 72, 0.18);
  color: #e8c48a;
}

html[data-theme="dark"] body[data-admin-page] .orders-payment-status--refunded {
  background: rgba(245, 158, 11, 0.22);
  color: #fcd34d;
}

html[data-theme="dark"] body[data-admin-page] .orders-payment-status--voided {
  background: rgba(160, 160, 160, 0.16);
  color: #c2c2c2;
}

html[data-theme="dark"] body[data-admin-page] .ghost-button--danger,
html[data-theme="dark"] body[data-admin-page] .admin-table__actions button[data-danger] {
  color: #f0a39d;
  border-color: rgba(232, 104, 96, 0.35);
}

html[data-theme="dark"] body[data-admin-page] .ghost-button--danger:hover {
  background: rgba(232, 104, 96, 0.12);
}

html[data-theme="dark"] body[data-admin-page] .admin-notice--error,
html[data-theme="dark"] body[data-admin-page] [data-login-notice]:not([hidden]),
html[data-theme="dark"] body[data-admin-page] [data-verify-notice]:not([hidden]) {
  color: #f0a39d;
}

html[data-theme="dark"] body[data-admin-page] .chart-bar__fill {
  background: linear-gradient(90deg, var(--accent), #c9783a);
}

html[data-theme="dark"] body[data-admin-page] .admin-app-brand img {
  filter: brightness(1.08) contrast(1.04);
}

@media (prefers-reduced-motion: no-preference) {
  html[data-theme="dark"] body[data-admin-page],
  html[data-theme="light"] body[data-admin-page] {
    transition: background-color 0.22s var(--ease-out), color 0.22s var(--ease-out);
  }

  html[data-theme] body[data-admin-page] .admin-sidebar,
  html[data-theme] body[data-admin-page] .admin-main,
  html[data-theme] body[data-admin-page] .admin-app-header,
  html[data-theme] body[data-admin-page] .admin-app-footer {
    transition: background-color 0.22s var(--ease-out), border-color 0.22s var(--ease-out), color 0.22s var(--ease-out);
  }
}

/* —— Refer & Earn —— */
.page-hero--refer {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
  background:
    radial-gradient(ellipse 80% 70% at 12% 0%, rgba(201, 120, 58, 0.18), transparent 55%),
    linear-gradient(145deg, #2a1f1a 0%, #4a342c 48%, #6b4a3c 100%);
  color: #f7f1ea;
  margin-bottom: 2rem;
}

.page-hero--refer .meta,
.page-hero--refer .page-hero__lede {
  color: rgba(247, 241, 234, 0.82);
}

.page-hero--refer h1 {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 16ch;
}

.page-hero__glow {
  position: absolute;
  inset: -20% auto auto -10%;
  width: 55%;
  height: 80%;
  background: radial-gradient(circle, rgba(244, 162, 97, 0.35), transparent 70%);
  pointer-events: none;
}

.page-hero__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.page-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.refer-code-block {
  margin: 1.25rem 0 1rem;
}

.refer-code-block code {
  display: inline-block;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: 0.08em;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.refer-share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.refer-progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
  margin: 1rem 0 0.75rem;
}

.refer-progress__fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f4a261, #e07a3d);
  transition: width 0.45s var(--ease-out, ease);
}

.refer-eligible {
  margin: 0.5rem 0 0;
  font-weight: 600;
  color: #f3d9c8;
}

.refer-steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 1.25rem;
}

.refer-steps article {
  padding: 1.1rem 1.15rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(122, 77, 63, 0.06), transparent),
    var(--surface, #fff);
  border: 1px solid rgba(122, 77, 63, 0.12);
}

.refer-steps strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 1.25rem;
  color: var(--accent, #7a4d3f);
  margin-bottom: 0.4rem;
}

.refer-giveaway-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 1.25rem;
}

.refer-giveaway {
  padding: 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(122, 77, 63, 0.14);
  background: linear-gradient(165deg, #fffaf6, #f6efe8);
}

.refer-giveaway h3 {
  font-family: "Syne", sans-serif;
  margin: 0 0 0.5rem;
}

.refer-giveaway--compact {
  margin-bottom: 1rem;
}

.refer-giveaway__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.refer-prize-list {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted, #6b5c52);
}

.refer-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(122, 77, 63, 0.1);
  color: var(--accent, #7a4d3f);
  white-space: nowrap;
}

.refer-pill--in {
  background: rgba(46, 125, 50, 0.12);
  color: #2e7d32;
}

.refer-pill--wait {
  background: rgba(0, 0, 0, 0.06);
  color: #6b5c52;
}

.refer-friend-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.refer-friend-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(122, 77, 63, 0.1);
}

.refer-terms__body {
  margin-top: 0.75rem;
  max-width: 48rem;
}

.home-refer-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  border-radius: 20px;
  background:
    linear-gradient(120deg, rgba(122, 77, 63, 0.08), rgba(201, 120, 58, 0.1)),
    linear-gradient(180deg, #fffaf5, #f3ebe3);
  border: 1px solid rgba(122, 77, 63, 0.12);
}

.home-refer-strip h2 {
  font-family: "Syne", sans-serif;
  margin: 0.2rem 0 0.45rem;
  max-width: 22ch;
}

.home-refer-strip__copy {
  flex: 1 1 16rem;
}

.checkout-referral {
  margin-top: 0.85rem;
}

.admin-settings-block {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(122, 77, 63, 0.12);
}

.admin-inline-form label {
  display: block;
  margin-bottom: 0.75rem;
}

.checkbox-inline {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
}

@media (prefers-reduced-motion: reduce) {
  .refer-progress__fill {
    transition: none;
  }
}

/* ─── Payment celebration + customer order summary ─── */

.checkout-return {
  width: min(56rem, 100%);
  margin: 0.75rem auto 1.75rem;
  display: grid;
  gap: 0.85rem;
  align-items: start;
}

.checkout-return--inline {
  margin: 0 auto 1.5rem;
  width: min(56rem, 100%);
}

.checkout-return--waiting {
  width: min(28rem, 100%);
}

.checkout-return__main {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

.checkout-return__aside {
  min-width: 0;
}

.checkout-return--paid {
  gap: 1rem;
}

@media (min-width: 900px) {
  .checkout-return--paid {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
    gap: 1rem 1.15rem;
  }

  .checkout-return--paid .checkout-return__aside .cart-recs--post-order-compact {
    position: sticky;
    top: calc(var(--header-h, 4rem) + 0.75rem);
  }

  /* Side strip: 2×2 grid so recs sit beside celebration, not a tall stack */
  .checkout-return--paid .cart-recs--post-order-compact .cart-recs__strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    scroll-snap-type: none;
    gap: 0.55rem;
    padding-bottom: 0;
  }

  .checkout-return--paid .cart-recs--post-order-compact .cart-rec-card {
    width: auto;
    min-width: 0;
  }
}

.pay-celebrate {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(1.15rem, 3vw, 1.65rem) clamp(1rem, 3vw, 1.5rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(74, 92, 56, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(0, 102, 255, 0.08), transparent 50%),
    linear-gradient(165deg, #fffdf9 0%, #f7f1e8 100%);
}

.pay-celebrate h1 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.2rem 0 0.35rem;
  color: var(--text);
}

.pay-celebrate__warmth {
  margin: 0 auto 0.55rem;
  max-width: 22rem;
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 2.2vw, 1.12rem);
  font-weight: 600;
  color: var(--sage);
  line-height: 1.35;
}

.pay-celebrate__warmth--fail {
  color: #9a3412;
}

.pay-celebrate__lede {
  margin: 0 0 0.4rem;
  color: var(--text);
  font-size: 0.95rem;
}

.pay-celebrate__note {
  margin: 0 auto 1rem;
  max-width: 26rem;
  line-height: 1.5;
  font-size: 0.88rem;
}

.pay-celebrate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}

.pay-celebrate__marks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 auto 0.75rem;
}

.pay-celebrate__tick,
.pay-celebrate__smile,
.pay-celebrate__cross,
.pay-celebrate__concern {
  width: 3.35rem;
  height: 3.35rem;
  display: block;
}

.pay-celebrate__tick-ring {
  stroke: #2f6a5a;
  stroke-width: 3.5;
  fill: rgba(47, 106, 90, 0.1);
}

.pay-celebrate__tick-check {
  stroke: #2f6a5a;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
}

.pay-celebrate__smile-face {
  stroke: #c9783a;
  stroke-width: 3;
  fill: rgba(0, 102, 255, 0.08);
}

.pay-celebrate__smile-eye {
  fill: #5c4033;
}

.pay-celebrate__smile-mouth {
  stroke: #5c4033;
  stroke-width: 3;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
}

.pay-celebrate--failed {
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(180, 35, 24, 0.08), transparent 55%),
    radial-gradient(ellipse 45% 40% at 0% 100%, rgba(201, 120, 58, 0.1), transparent 50%),
    linear-gradient(165deg, #fffdf9 0%, #f8efe8 100%);
}

.pay-celebrate__cross-ring {
  stroke: #b42318;
  stroke-width: 3.5;
  fill: rgba(180, 35, 24, 0.08);
}

.pay-celebrate__cross-a,
.pay-celebrate__cross-b {
  stroke: #b42318;
  stroke-width: 4;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
}

.pay-celebrate__concern-face {
  stroke: #c9783a;
  stroke-width: 3;
  fill: rgba(201, 120, 58, 0.1);
}

.pay-celebrate__concern-eye {
  fill: #5c4033;
}

.pay-celebrate__concern-mouth {
  stroke: #5c4033;
  stroke-width: 3;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
}

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

.pay-celebrate__spark {
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  opacity: 0;
}

.pay-celebrate__spark--sage {
  background: var(--sage);
}

.pay-celebrate__spark--accent {
  background: var(--accent);
}

.pay-celebrate__spark--cream {
  background: #e8d5b5;
  border-radius: 50%;
}

.pay-celebrate__spark--tl { top: 18%; left: 14%; }
.pay-celebrate__spark--tr { top: 16%; right: 16%; }
.pay-celebrate__spark--bl { bottom: 22%; left: 18%; }
.pay-celebrate__spark--br { bottom: 20%; right: 14%; }
.pay-celebrate__spark--tm { top: 12%; left: 48%; }
.pay-celebrate__spark--bm { bottom: 14%; left: 52%; }

.pay-celebrate__pulse {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  border: 3px solid rgba(74, 92, 56, 0.25);
  border-top-color: var(--sage);
}

.pay-celebrate--waiting {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 102, 255, 0.08), transparent 55%),
    linear-gradient(165deg, #fffdf9 0%, #f4efe8 100%);
}

.pay-celebrate__pending-mark {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.85rem;
}

.pay-celebrate__pending-mark svg {
  width: 100%;
  height: 100%;
}

.pay-celebrate__pending-ring {
  stroke: rgba(201, 120, 58, 0.45);
  stroke-width: 3;
  fill: rgba(0, 102, 255, 0.06);
}

.pay-celebrate__pending-hand {
  stroke: #c9783a;
  stroke-width: 3;
  stroke-linecap: round;
}

.cart-recs--post-order-compact {
  padding: 0.9rem 0.85rem 1rem;
}

.cart-recs--post-order-compact .cart-recs__intro {
  margin-bottom: 0.65rem;
  max-width: none;
}

.cart-recs--post-order-compact .cart-recs__intro h2 {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.cart-recs--post-order-compact .cart-recs__more {
  margin: 0.65rem 0 0;
}

@media (prefers-reduced-motion: no-preference) {
  .pay-celebrate--paid .pay-celebrate__tick {
    animation: pay-tick-pop 0.55s var(--ease-out) both;
  }

  .pay-celebrate--paid .pay-celebrate__tick-check {
    animation: pay-draw 0.55s 0.2s var(--ease-out) forwards;
  }

  .pay-celebrate--paid .pay-celebrate__smile {
    animation: pay-smile-in 0.5s 0.35s var(--ease-out) both;
  }

  .pay-celebrate--paid .pay-celebrate__smile-mouth {
    animation: pay-draw 0.45s 0.55s var(--ease-out) forwards;
  }

  .pay-celebrate--paid .pay-celebrate__spark {
    animation: pay-spark 1.4s var(--ease-out) both;
  }

  .pay-celebrate--paid .pay-celebrate__spark--tr { animation-delay: 0.1s; }
  .pay-celebrate--paid .pay-celebrate__spark--tm { animation-delay: 0.18s; }
  .pay-celebrate--paid .pay-celebrate__spark--bl { animation-delay: 0.28s; }
  .pay-celebrate--paid .pay-celebrate__spark--br { animation-delay: 0.35s; }
  .pay-celebrate--paid .pay-celebrate__spark--bm { animation-delay: 0.42s; }

  .pay-celebrate--failed .pay-celebrate__cross {
    animation: pay-tick-pop 0.5s var(--ease-out) both;
  }

  .pay-celebrate--failed .pay-celebrate__cross-a {
    animation: pay-draw 0.4s 0.18s var(--ease-out) forwards;
  }

  .pay-celebrate--failed .pay-celebrate__cross-b {
    animation: pay-draw 0.4s 0.32s var(--ease-out) forwards;
  }

  .pay-celebrate--failed .pay-celebrate__concern {
    animation: pay-smile-in 0.5s 0.28s var(--ease-out) both;
  }

  .pay-celebrate--failed .pay-celebrate__concern-mouth {
    animation: pay-draw 0.4s 0.5s var(--ease-out) forwards;
  }

  .pay-celebrate--waiting .pay-celebrate__pulse {
    animation: pay-spin 0.9s linear infinite;
  }

  .success-panel.pay-celebrate--waiting .pay-celebrate__pulse {
    animation: pay-spin 0.9s linear infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pay-celebrate__tick-check,
  .pay-celebrate__smile-mouth,
  .pay-celebrate__cross-a,
  .pay-celebrate__cross-b,
  .pay-celebrate__concern-mouth {
    stroke-dashoffset: 0;
  }

  .pay-celebrate__spark {
    opacity: 0.35;
  }

  .pay-celebrate__pulse {
    animation: none;
    border-color: var(--sage);
  }
}

@keyframes pay-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pay-tick-pop {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pay-smile-in {
  from {
    transform: scale(0.85) translateY(4px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes pay-spark {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.6);
  }
  35% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateY(-18px) scale(1);
  }
}

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

.order-summary {
  padding: 1.35rem 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.order-summary--compact {
  padding: 0.85rem 1rem 1rem;
}

.order-summary--compact .order-summary__header {
  margin-bottom: 0.6rem;
  padding-bottom: 0.55rem;
}

.order-summary--compact .order-summary__id {
  font-size: 1.05rem;
}

.order-summary--compact .order-summary__items {
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.order-summary--compact .order-summary__totals {
  margin-bottom: 0.7rem;
  padding-top: 0.55rem;
}

.order-summary--compact .order-summary__block {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
}

.order-summary__header {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.order-summary__id-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: 0.2rem 0 0.15rem;
}

.order-summary__id {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
}

.order-summary__items {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.order-summary__item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.order-summary__item-main {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  min-width: 0;
  flex: 1;
}

.order-summary__thumb {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.4rem;
  object-fit: cover;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  flex-shrink: 0;
  display: block;
}

.order-summary__thumb--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1;
}

.order-summary__item-text {
  min-width: 0;
}

.order-summary__item-main strong,
.order-summary__item-text strong {
  display: block;
  font-size: 0.95rem;
}

.order-summary__item-main .meta,
.order-summary__item-text .meta {
  margin: 0.15rem 0 0;
}

.order-summary__item-price {
  font-size: 0.95rem;
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 0.15rem;
}

.order-summary--compact .order-summary__thumb {
  width: 2.5rem;
  height: 2.5rem;
}

@media (max-width: 480px) {
  .order-summary__item {
    gap: 0.5rem;
  }

  .order-summary__item-main {
    gap: 0.5rem;
  }

  .order-summary__thumb {
    width: 2.5rem;
    height: 2.5rem;
  }

  .order-summary__item-price {
    font-size: 0.9rem;
  }
}

.order-summary__totals {
  display: grid;
  gap: 0.4rem;
  margin: 0 0 1.15rem;
  padding: 0.85rem 0 0;
  border-top: 1px dashed var(--line);
}

.order-summary__totals > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.order-summary__totals dt {
  color: var(--muted);
}

.order-summary__totals dd {
  margin: 0;
  font-weight: 600;
}

.order-summary__totals-total {
  margin-top: 0.25rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
  font-size: 1rem;
}

.order-summary__block {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.order-summary__heading {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
}

.order-summary__name {
  margin: 0 0 0.2rem;
  font-weight: 600;
}

.order-summary__address {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.order-summary__note {
  margin-top: 0.45rem;
}

.order-summary__tracking {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
  align-items: baseline;
  margin: 0.65rem 0 0;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  background: var(--sage-soft);
}

.order-shipment-track,
.order-summary__tracking-block {
  margin: 0.65rem 0 0;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  background: var(--sage-soft);
}

.order-shipment-track p,
.order-summary__tracking-block p {
  margin: 0.15rem 0;
}

.order-shipment-track a,
.order-summary__tracking-block a {
  color: var(--accent, #7a4d3f);
  font-weight: 600;
}

.order-summary__meta-dl {
  display: grid;
  gap: 0.4rem;
  margin: 0;
}

.order-summary__meta-dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.order-summary__meta-dl dt {
  color: var(--muted);
}

.order-summary__meta-dl dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.order-summary__ref {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  font-weight: 500;
  word-break: break-all;
}

.order-summary__pay-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: rgba(18, 16, 14, 0.08);
  color: var(--muted);
}

.order-summary__pay-pill--paid {
  background: rgba(47, 106, 90, 0.14);
  color: #2f6a5a;
}

.order-summary__pay-pill--unpaid {
  background: rgba(0, 102, 255, 0.12);
  color: var(--accent-hover);
}

.order-summary__pay-pill--failed,
.order-summary__pay-pill--voided {
  background: rgba(180, 35, 24, 0.12);
  color: #b42318;
}

.account-order-tracking {
  margin: 0.45rem 0 0;
}

.account-order-tracking-note {
  margin: 0.75rem 0 0;
}

.account-order-detail .order-summary {
  margin: 0;
}

.success-panel.pay-celebrate--waiting {
  position: relative;
}

.success-panel .pay-celebrate__pulse {
  width: 2.75rem;
  height: 2.75rem;
}

@media (max-width: 899px) {
  .checkout-return,
  .checkout-return--inline {
    width: min(36rem, 100%);
  }

  /* Mobile: one horizontal scroll row of ~4 */
  .checkout-return--paid .cart-recs--post-order-compact .cart-recs__strip {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .checkout-return--paid .cart-recs--post-order-compact .cart-rec-card {
    flex: 0 0 auto;
    width: min(9.5rem, 42vw);
  }
}

@media (max-width: 520px) {
  .pay-celebrate__actions {
    flex-direction: column;
  }

  .pay-celebrate__actions .primary-button,
  .pay-celebrate__actions .secondary-button,
  .pay-celebrate__actions .ghost-button {
    width: 100%;
  }

  .pay-celebrate__tick,
  .pay-celebrate__smile,
  .pay-celebrate__cross,
  .pay-celebrate__concern {
    width: 2.85rem;
    height: 2.85rem;
  }
}


/* ══════════════════════════════════════════════════════════════════════════
   DIGANTA AI GUIDE CHATBOT & FLOATING BUTTON (HIGH-VISIBILITY TECH DESIGN)
   ══════════════════════════════════════════════════════════════════════════ */

.has-sattyo-chatbot .cart-toast-host {
  bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

.sattyo-chatbot {
  --chat-z: 99999;
  position: fixed;
  inset: 0;
  z-index: var(--chat-z);
  pointer-events: none;
}

.sattyo-chatbot > * {
  pointer-events: auto;
}

/* display:flex on the panel must not defeat [hidden] */
.sattyo-chatbot__panel[hidden],
.sattyo-chatbot__backdrop[hidden] {
  display: none !important;
}

/* ─── Ultra-Visible Tech FAB Button ─── */
.sattyo-chatbot__fab {
  position: fixed;
  right: max(1.5rem, env(safe-area-inset-right, 0px));
  bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
  z-index: calc(var(--chat-z) + 2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 3.25rem;
  padding: 0.45rem 1.25rem 0.45rem 0.65rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
  background: linear-gradient(135deg, #0066FF 0%, #0052cc 60%, #1e40af 100%) !important;
  color: #ffffff !important;
  box-shadow:
    0 10px 28px -2px rgba(0, 102, 255, 0.52),
    0 4px 12px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', var(--font-display), sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, background 0.22s ease;
}

.sattyo-chatbot__fab:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 16px 36px -2px rgba(0, 102, 255, 0.65),
    0 6px 16px rgba(15, 23, 42, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

.sattyo-chatbot__fab:active {
  transform: translateY(0) scale(0.98);
}

.sattyo-chatbot__fab:focus-visible {
  outline: 3px solid #0066FF;
  outline-offset: 3px;
}

.sattyo-chatbot.is-open .sattyo-chatbot__fab {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.4) !important;
}

.sattyo-chatbot__fab-icon {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.sattyo-chatbot__fab-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: #ffffff;
  color: #ffffff;
}

.sattyo-chatbot__fab-label {
  padding-right: 0.15rem;
  white-space: nowrap;
  color: #ffffff !important;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

/* ─── High-Contrast Solid Dark Backdrop ─── */
.sattyo-chatbot__backdrop {
  position: fixed;
  inset: 0;
  z-index: calc(var(--chat-z) + 1);
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
}

/* ─── 100% Solid, Non-Transparent Modal Panel ─── */
.sattyo-chatbot__panel {
  position: fixed;
  right: max(1.5rem, env(safe-area-inset-right, 0px));
  bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
  z-index: calc(var(--chat-z) + 3);
  display: flex;
  flex-direction: column;
  width: min(25.5rem, calc(100vw - 2rem));
  height: min(35rem, calc(100dvh - 7rem));
  max-height: calc(100dvh - 6rem - env(safe-area-inset-bottom, 0px));
  border-radius: 20px;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  box-shadow:
    0 25px 60px -12px rgba(15, 23, 42, 0.35),
    0 0 0 1px rgba(0, 102, 255, 0.15),
    0 8px 24px rgba(15, 23, 42, 0.1) !important;
  overflow: hidden;
  transform-origin: bottom right;
  opacity: 1 !important;
}

.sattyo-chatbot__panel.is-visible {
  animation: digantaChatIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes digantaChatIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ─── Header ─── */
.sattyo-chatbot__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%) !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.sattyo-chatbot__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0066FF !important;
  font-weight: 700;
}

.sattyo-chatbot__header h2 {
  margin: 0.2rem 0 0;
  font-family: 'Plus Jakarta Sans', var(--font-display), sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a !important;
}

.sattyo-chatbot__close {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid #e2e8f0 !important;
  border-radius: 50%;
  background: #ffffff !important;
  color: #64748b !important;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.18s ease;
}

.sattyo-chatbot__close:hover {
  background: #fee2e2 !important;
  border-color: #fca5a5 !important;
  color: #dc2626 !important;
  transform: scale(1.05);
}

/* ─── Messages Canvas ─── */
.sattyo-chatbot__messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  scroll-behavior: smooth;
  background: #f8fafc !important;
}

.sattyo-chatbot__msg {
  max-width: 88%;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.sattyo-chatbot__msg p {
  margin: 0;
}

.sattyo-chatbot__msg--assistant {
  align-self: flex-start;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  border-radius: 18px 18px 18px 4px !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
}

.sattyo-chatbot__msg--user {
  align-self: flex-end;
  background: linear-gradient(135deg, #0066FF 0%, #0052cc 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 18px 18px 4px 18px !important;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.28) !important;
}

.sattyo-chatbot__thinking {
  color: #64748b !important;
  font-style: italic;
  font-size: 0.85rem;
}

/* ─── Recommendation Cards ─── */
.sattyo-chatbot__products {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.sattyo-chatbot__product {
  display: grid;
  gap: 0.2rem;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #0f172a !important;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.18s ease;
}

.sattyo-chatbot__product:hover {
  border-color: #0066FF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.16) !important;
}

.sattyo-chatbot__product strong {
  font-size: 0.88rem;
  color: #0f172a;
}

.sattyo-chatbot__moods {
  font-size: 0.72rem;
  color: #0066FF !important;
  font-weight: 600;
}

.sattyo-chatbot__price {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0066FF !important;
}

.sattyo-chatbot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.6rem;
}

.sattyo-chatbot__links a {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0066FF !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Quick Chips ─── */
.sattyo-chatbot__chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  padding: 0.55rem 1rem 0.65rem;
  overflow-x: auto;
  scrollbar-width: thin;
  background: #ffffff !important;
  border-top: 1px solid #f1f5f9;
}

.sattyo-chatbot__chip {
  flex: 0 0 auto;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #bfdbfe !important;
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.sattyo-chatbot__chip:hover {
  border-color: #0066FF !important;
  color: #ffffff !important;
  background: #0066FF !important;
  box-shadow: 0 4px 10px rgba(0, 102, 255, 0.3);
  transform: translateY(-1px);
}

/* ─── Composer (Input bar) ─── */
.sattyo-chatbot__composer {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
}

.sattyo-chatbot__composer input {
  flex: 1;
  min-width: 0;
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  border: 1.5px solid #cbd5e1 !important;
  background: #f8fafc !important;
  color: #0f172a !important;
  transition: all 0.18s ease;
}

.sattyo-chatbot__composer input:focus {
  outline: none;
  background: #ffffff !important;
  border-color: #0066FF !important;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15) !important;
}

.sattyo-chatbot__send {
  flex-shrink: 0;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #0066FF 0%, #0052cc 100%) !important;
  color: #ffffff !important;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 102, 255, 0.35) !important;
  transition: all 0.18s ease;
}

.sattyo-chatbot__send:hover {
  background: #0052cc !important;
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.5) !important;
  transform: translateY(-1px);
}

/* ─── Responsive (Mobile Sheet) ─── */
@media (max-width: 640px) {
  .sattyo-chatbot__panel {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: min(88dvh, 42rem);
    max-height: calc(100dvh - env(safe-area-inset-bottom, 0px));
    border-radius: 24px 24px 0 0;
    transform-origin: bottom center;
  }

  .sattyo-chatbot__panel.is-visible {
    animation: digantaChatSheet 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes digantaChatSheet {
    from {
      opacity: 0.6;
      transform: translateY(40%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .sattyo-chatbot__fab {
    right: 1rem;
    bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    padding: 0.45rem 0.95rem 0.45rem 0.55rem;
    height: 3rem;
  }

  .sattyo-chatbot__fab-label {
    font-size: 0.82rem;
  }

  .sattyo-chatbot.is-open .sattyo-chatbot__fab {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sattyo-chatbot__panel.is-visible,
  .sattyo-chatbot__fab {
    animation: none;
    transition: none;
  }
}

body.sattyo-chat-open {
  overflow: hidden;
}

.admin-mood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.35rem 0.75rem;
}

/* ==========================================================================
   Product Inventory & Stock Badges
   ========================================================================== */
.product-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.4rem 0 0.8rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  line-height: 1.3;
}

.product-stock-badge__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.product-stock-badge--in-stock {
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
}
.product-stock-badge--in-stock .product-stock-badge__dot {
  background: #10b981;
}

.product-stock-badge--low-stock {
  background: rgba(245, 158, 11, 0.14);
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.35);
  animation: stockPulse 2s infinite ease-in-out;
}
.product-stock-badge--low-stock .product-stock-badge__dot {
  background: #f59e0b;
}

.product-stock-badge--out-of-stock {
  background: rgba(239, 68, 68, 0.12);
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.product-stock-badge--out-of-stock .product-stock-badge__dot {
  background: #ef4444;
}

@keyframes stockPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.product-card__badge--soldout {
  background: #991b1b !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
}

.product-card--soldout .product-card__visual img {
  opacity: 0.78;
  filter: grayscale(20%);
}

.shop-card__add.is-soldout,
button.is-soldout {
  background: #9ca3af !important;
  color: #ffffff !important;
  cursor: not-allowed !important;
  border-color: #9ca3af !important;
  pointer-events: none;
  opacity: 0.8;
  font-size: 0.75rem;
  padding: 0.45rem 0.75rem;
  white-space: nowrap;
}

.cart-toast--warning {
  background: #7f1d1d !important;
  color: #fef2f2 !important;
}
.cart-toast--warning .cart-toast__icon {
  background: #ef4444 !important;
  color: #ffffff !important;
}

.cart-item--out-of-stock {
  background: rgba(254, 226, 226, 0.35);
  border-radius: var(--radius-md, 8px);
  padding: 0.5rem;
}

@media (max-width: 600px) {
  .product-stock-badge {
    font-size: 0.8rem;
    padding: 0.2rem 0.55rem;
    margin: 0.25rem 0 0.6rem;
  }

  .shop-card__add.is-soldout {
    padding: 0.4rem 0.6rem;
    font-size: 0.7rem;
  }
}

/* ==========================================================================
   Modern WhatsApp Verification Modal
   ========================================================================== */
.wa-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.wa-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 10, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: waFadeIn 0.25s ease-out;
}

.wa-modal__card {
  position: relative;
  width: 100%;
  max-width: 25rem;
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, rgba(0, 0, 0, 0.08));
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.25), 0 0 1px 1px rgba(0, 0, 0, 0.05);
  animation: waSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 1;
}

.wa-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: none;
  background: var(--surface-muted, #f3f4f6);
  color: var(--muted, #6b7280);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
}
.wa-modal__close:hover {
  background: #e5e7eb;
  color: var(--text, #111827);
}

.wa-modal__icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  box-shadow: 0 8px 16px -4px rgba(37, 211, 102, 0.35);
}

.wa-modal__card h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text, #111827);
  letter-spacing: -0.01em;
}

.wa-modal__lede {
  font-size: 0.875rem;
  color: var(--muted, #4b5563);
  line-height: 1.45;
  margin-bottom: 1.25rem;
}

.wa-modal__lede strong {
  color: var(--text, #111827);
}

.wa-modal__form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.wa-modal__otp-input {
  width: 100%;
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.45em !important;
  text-align: center !important;
  padding: 0.65rem 0.5rem !important;
  border-radius: 0.75rem !important;
  border: 1.5px solid var(--line, #d1d5db) !important;
  background: var(--surface-muted, #f9fafb) !important;
  color: var(--text, #111827) !important;
  transition: all 0.2s ease !important;
  font-family: monospace, inherit !important;
}

.wa-modal__otp-input:focus {
  outline: none !important;
  border-color: #25d366 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.18) !important;
}

.wa-modal__notice {
  font-size: 0.825rem;
  font-weight: 500;
  margin: 0;
  min-height: 1.2rem;
  transition: opacity 0.2s ease;
}

.wa-modal__notice--error {
  color: #dc2626;
}

.wa-modal__notice--success {
  color: #16a34a;
}

.wa-modal__notice--info {
  color: #2563eb;
}

.wa-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.25rem;
}

.wa-modal__actions .primary-button {
  width: 100%;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  font-weight: 600;
  border-radius: 0.75rem;
}

.wa-modal__resend {
  font-size: 0.8125rem;
  color: var(--muted, #6b7280);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem;
  transition: color 0.2s ease;
}

.wa-modal__resend:hover:not([disabled]) {
  color: var(--text, #111827);
  text-decoration: underline;
}

.wa-modal__resend[disabled] {
  cursor: default;
  opacity: 0.65;
}

@keyframes waFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes waSlideUp {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}



/* ==========================================================================
   Admin Standalone Order Detail Page & Customer Amazon-Style Orders System
   ========================================================================== */

/* --- Admin Order Detail Standalone Page --- */
.admin-order-detail-shell {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.admin-order-detail-topbar {
  margin-bottom: 1.5rem;
}

.admin-order-detail-topbar .ghost-button {
  margin-bottom: 0.75rem;
}

.admin-order-detail-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-order-detail-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.admin-order-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.admin-order-card {
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.admin-order-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-order-items-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-order-items-table th,
.admin-order-items-table td {
  padding: 0.75rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border, #f3f4f6);
}

.admin-order-items-table th {
  font-weight: 600;
  color: var(--muted, #6b7280);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-order-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: #f3f4f6;
  border: 1px solid var(--border, #e5e7eb);
  display: inline-block;
  vertical-align: middle;
}

.admin-order-pricing-summary {
  display: grid;
  gap: 0.5rem;
  font-size: 0.92rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border, #e5e7eb);
}

.admin-order-pricing-summary > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-order-pricing-summary .pricing-total {
  font-size: 1.15rem;
  font-weight: 700;
  border-top: 2px solid var(--border, #e5e7eb);
  padding-top: 0.65rem;
  margin-top: 0.35rem;
}

.admin-order-refunds-box {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
}

.admin-order-refunds-box h4 {
  color: #dc2626;
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

/* --- Customer Amazon-Style Orders Page (/account/orders/) --- */
.amazon-orders-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3.5rem;
}

.amazon-orders-topbar {
  margin-bottom: 1.5rem;
}

.amazon-orders-breadcrumbs {
  font-size: 0.82rem;
  color: var(--muted, #6b7280);
  margin-bottom: 0.65rem;
}

.amazon-orders-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.amazon-orders-breadcrumbs a:hover {
  text-decoration: underline;
}

.amazon-orders-breadcrumbs .sep {
  margin: 0 0.35rem;
}

.amazon-orders-breadcrumbs .current {
  font-weight: 600;
  color: var(--text, #111827);
}

.amazon-orders-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}

.amazon-orders-heading {
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
  color: var(--text, #111827);
  letter-spacing: -0.02em;
}

.amazon-orders-quick-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.amazon-orders-controls {
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.amazon-orders-search-box {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 620px;
  background: var(--input-bg, #ffffff);
  border: 1px solid var(--border, #d1d5db);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.amazon-orders-search-box .search-icon {
  color: var(--muted, #9ca3af);
  margin-right: 0.65rem;
  flex-shrink: 0;
}

.amazon-orders-search-input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text, #111827);
}

.amazon-search-clear {
  background: none;
  border: none;
  font-size: 1rem;
  color: var(--muted, #9ca3af);
  cursor: pointer;
  padding: 0 0.35rem;
}

.amazon-orders-filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid var(--border, #e5e7eb);
  padding-bottom: 0.65rem;
}

.amazon-orders-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.amazon-tab {
  border: none;
  background: transparent;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted, #6b7280);
  cursor: pointer;
  border-radius: 6px;
  position: relative;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.amazon-tab:hover {
  color: var(--text, #111827);
  background: rgba(0, 0, 0, 0.04);
}

.amazon-tab.amazon-tab--active {
  color: var(--brand, #059669);
  font-weight: 700;
  background: rgba(5, 150, 105, 0.08);
}

.tab-badge {
  font-size: 0.72rem;
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.07);
  font-weight: 600;
}

.amazon-tab--active .tab-badge {
  background: var(--brand, #059669);
  color: #ffffff;
}

.amazon-orders-time-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.amazon-orders-time-select {
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  border: 1px solid var(--border, #d1d5db);
  background: var(--card-bg, #ffffff);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text, #111827);
  cursor: pointer;
}

.amazon-orders-empty {
  text-align: center;
  padding: 3.5rem 1rem;
  background: var(--card-bg, #ffffff);
  border: 1px dashed var(--border, #d1d5db);
  border-radius: 12px;
}

.amazon-orders-empty-icon {
  font-size: 2.75rem;
  margin-bottom: 0.75rem;
}

.amazon-order-card {
  border: 1px solid var(--border, #d5d9d9);
  border-radius: 10px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  background: var(--card-bg, #ffffff);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.amazon-order-card:hover {
  border-color: #a2a6ac;
}

.amazon-order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: var(--amazon-hdr, #f0f2f2);
  border-bottom: 1px solid var(--border, #d5d9d9);
  font-size: 0.8rem;
}

.amazon-order-header__group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.amazon-order-header__col {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.amazon-order-header__col .col-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted, #565959);
  letter-spacing: 0.03em;
}

.amazon-order-header__col .col-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text, #0f1111);
}

.amazon-order-header__links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  margin-top: 0.15rem;
}

.amazon-order-header__link {
  color: #007185;
  text-decoration: none;
  font-weight: 600;
}

.amazon-order-header__link:hover {
  color: #c7511f;
  text-decoration: underline;
}

.amazon-order-header__link-btn {
  background: none;
  border: none;
  color: #007185;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0;
}

.amazon-order-header__link-btn:hover {
  color: #c7511f;
  text-decoration: underline;
}

.amazon-order-body {
  padding: 1.25rem;
}

.amazon-order-status-banner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text, #0f1111);
}

.status-badge {
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
}

.status-badge--delivered {
  background: #e6f4ea;
  color: #137333;
}

.status-badge--shipped {
  background: #e8f0fe;
  color: #1a73e8;
}

.status-badge--placed {
  background: #fef7e0;
  color: #b06000;
}

.status-badge--cancelled {
  background: #fce8e6;
  color: #c5221f;
}

.status-desc {
  font-weight: 500;
  color: var(--muted, #565959);
  font-size: 0.9rem;
}

.tracking-snippet {
  font-size: 0.82rem;
  font-weight: normal;
  color: var(--muted, #565959);
  margin-left: auto;
}

.amazon-order-content {
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.amazon-order-items {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.amazon-order-item-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border, #f3f4f6);
}

.amazon-order-item-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.amazon-order-item__thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border, #e5e7eb);
  background: #f9fafb;
  flex-shrink: 0;
}

.amazon-order-item__thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--muted, #9ca3af);
}

.amazon-order-item-details {
  flex: 1;
}

.amazon-order-item-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.amazon-order-item-title a {
  color: var(--text, #0f1111);
  text-decoration: none;
}

.amazon-order-item-title a:hover {
  color: #007185;
}

.amazon-order-item-meta {
  font-size: 0.85rem;
  color: var(--muted, #565959);
  margin: 0 0 0.65rem;
}

.amazon-order-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.amazon-btn-buy-again {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 8px;
  background: #ffd814;
  border: 1px solid #fcd200;
  color: #0f1111;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: background 0.15s;
}

.amazon-btn-buy-again:hover {
  background: #f7ca00;
  border-color: #f2c200;
}

.amazon-btn--success {
  background: #059669 !important;
  border-color: #047857 !important;
  color: #ffffff !important;
}

.amazon-review-status-chip {
  font-size: 0.8rem;
  font-weight: 600;
  color: #059669;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.amazon-btn-rate {
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
}

.amazon-order-side-actions {
  width: 220px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.amazon-order-side-actions .primary-button,
.amazon-order-side-actions .secondary-button,
.amazon-order-side-actions .ghost-button {
  width: 100%;
  text-align: center;
  justify-content: center;
  font-size: 0.85rem;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
}

/* --- Customer Standalone Order Detail Page (/account/order/?id=...) --- */
.customer-order-detail-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3.5rem;
}

.customer-order-detail-topbar {
  margin-bottom: 1.5rem;
}

.customer-order-detail-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.75rem;
}

.customer-order-detail-top-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.customer-order-tracker-card {
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.customer-fulfillment-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 1.25rem 0 0.5rem;
}

.fulfillment-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
  flex: 1;
}

.fulfillment-step .step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--input-bg, #f3f4f6);
  border: 2px solid var(--border, #d1d5db);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted, #6b7280);
  margin-bottom: 0.4rem;
  transition: all 0.3s ease;
}

.fulfillment-step .step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted, #6b7280);
}

.fulfillment-step .step-date {
  font-size: 0.75rem;
  color: var(--muted, #9ca3af);
  margin-top: 0.15rem;
}

.fulfillment-step.fulfillment-step--done .step-circle {
  background: var(--brand, #059669);
  border-color: var(--brand, #059669);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15);
}

.fulfillment-step.fulfillment-step--done .step-label {
  color: var(--text, #111827);
}

.step-line {
  flex: 1;
  height: 3px;
  background: var(--border, #e5e7eb);
  margin: 0 -10px 1.5rem;
  z-index: 1;
}

.step-line.step-line--done {
  background: var(--brand, #059669);
}

.customer-tracking-live-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border, #e5e7eb);
}

.customer-tracker-cancelled {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
}

.customer-tracker-cancelled__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fee2e2;
  color: #dc2626;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.customer-order-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.customer-order-card {
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.customer-order-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
}

.customer-order-detail-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border, #f3f4f6);
  align-items: flex-start;
}

.customer-order-detail-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.customer-order-detail-item__thumb {
  flex-shrink: 0;
}

.customer-order-detail-item__info {
  flex: 1;
}

.customer-order-detail-item__info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.customer-order-detail-item__info h3 a {
  color: inherit;
  text-decoration: none;
}

.customer-order-detail-item__info h3 a:hover {
  color: var(--brand, #059669);
}

.customer-order-detail-item__actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.65rem;
}

.customer-order-detail-item__total {
  font-size: 1.05rem;
  font-weight: 700;
  text-align: right;
}

.customer-order-pricing-dl {
  display: grid;
  gap: 0.5rem;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.customer-order-pricing-dl > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.customer-order-pricing-dl .pricing-total-row {
  border-top: 2px solid var(--border, #e5e7eb);
  padding-top: 0.75rem;
  margin-top: 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.customer-order-payment-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border, #e5e7eb);
  font-size: 0.88rem;
}

/* --- Dark Mode Adaptation --- */
body.dark-mode .amazon-order-card,
[data-theme="dark"] .amazon-order-card,
body.dark-mode .customer-order-card,
[data-theme="dark"] .customer-order-card,
body.dark-mode .customer-order-tracker-card,
[data-theme="dark"] .customer-order-tracker-card,
body.dark-mode .admin-order-card,
[data-theme="dark"] .admin-order-card {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .amazon-order-header,
[data-theme="dark"] .amazon-order-header {
  background: #0f172a;
  border-color: #334155;
}

body.dark-mode .amazon-orders-search-box,
[data-theme="dark"] .amazon-orders-search-box {
  background: #0f172a;
  border-color: #334155;
}

body.dark-mode .amazon-orders-search-input,
[data-theme="dark"] .amazon-orders-search-input {
  color: #f8fafc;
}

body.dark-mode .amazon-order-header__col .col-val,
[data-theme="dark"] .amazon-order-header__col .col-val,
body.dark-mode .amazon-orders-heading,
[data-theme="dark"] .amazon-orders-heading,
body.dark-mode .amazon-order-item-title a,
[data-theme="dark"] .amazon-order-item-title a {
  color: #f8fafc;
}

body.dark-mode .amazon-order-header__link,
[data-theme="dark"] .amazon-order-header__link,
body.dark-mode .amazon-order-header__link-btn,
[data-theme="dark"] .amazon-order-header__link-btn {
  color: #38bdf8;
}

body.dark-mode .amazon-orders-time-select,
[data-theme="dark"] .amazon-orders-time-select {
  background: #0f172a;
  border-color: #334155;
  color: #f8fafc;
}

body.dark-mode .amazon-tab:hover,
[data-theme="dark"] .amazon-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #f8fafc;
}

/* --- Mobile Responsive Rules --- */
@media (max-width: 860px) {
  .admin-order-grid,
  .customer-order-grid {
    grid-template-columns: 1fr;
  }
  
  .amazon-order-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .amazon-order-header__group--right {
    width: 100%;
    justify-content: space-between;
    border-top: 1px solid var(--border, #e5e7eb);
    padding-top: 0.5rem;
  }

  .amazon-order-header__group--right .amazon-order-header__col {
    text-align: left !important;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .amazon-order-content {
    flex-direction: column;
  }

  .amazon-order-side-actions {
    width: 100%;
  }

  .customer-fulfillment-steps {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .fulfillment-step {
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    text-align: left;
  }

  .step-line {
    width: 3px;
    height: 20px;
    margin: -10px 0 -10px 16px;
    flex: none;
  }
}

/* --- Admin Standalone Order Details Page Extended Styling --- */
.admin-order-detail-topbar__left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.admin-order-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted, #6b7280);
  text-decoration: none;
  margin-bottom: 0.25rem;
  transition: color 0.15s ease;
}

.admin-order-back-btn:hover {
  color: var(--brand, #059669);
  text-decoration: underline;
}

.admin-order-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.admin-order-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0;
  color: var(--text, #111827);
  letter-spacing: -0.02em;
}

.admin-order-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.admin-order-placed-meta {
  margin: 0.2rem 0 0;
  font-size: 0.875rem;
  color: var(--muted, #6b7280);
}

.admin-order-alert {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  color: #92400e;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.admin-order-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border, #f3f4f6);
}

.admin-order-card__header h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.admin-order-items-table-wrap {
  overflow-x: auto;
}

.admin-order-item-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border, #e5e7eb);
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-order-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-order-item-thumb .thumb-ph {
  font-size: 1.25rem;
}

.admin-order-item-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text, #111827);
}

.admin-order-item-variant,
.admin-order-item-sku {
  display: block;
  font-size: 0.8rem;
  color: var(--muted, #6b7280);
  margin-top: 0.1rem;
}

.admin-order-pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
  font-size: 0.92rem;
}

.admin-order-pricing-row--discount {
  color: #059669;
  font-weight: 600;
}

.admin-order-pricing-row--grand-total {
  font-size: 1.15rem;
  font-weight: 800;
  border-top: 2px solid var(--border, #e5e7eb);
  padding-top: 0.75rem;
  margin-top: 0.35rem;
}

.admin-order-refunds-box__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.admin-order-refunds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.admin-order-refunds-table th,
.admin-order-refunds-table td {
  padding: 0.5rem 0.35rem;
  text-align: left;
  border-bottom: 1px solid rgba(239, 68, 68, 0.15);
}

.admin-order-customer-info {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.admin-order-customer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand, #059669);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.admin-order-address-box p {
  margin: 0;
  line-height: 1.45;
  font-size: 0.92rem;
}

.admin-order-tracking-display {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
}

.admin-order-tracking-note {
  margin: 0;
  font-weight: 500;
}

/* ==========================================================================
   Customer Reassurance Status Badges, Hero Banners & Dynamic Timeline Stepper
   ========================================================================== */

/* --- Customer Status Pills --- */
.customer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.customer-status-pill--success {
  background: #e6f4ea;
  color: #137333;
  border: 1px solid #ceead6;
}

.customer-status-pill--packed {
  background: #fef7e0;
  color: #b06000;
  border: 1px solid #feefc3;
}

.customer-status-pill--shipped {
  background: #e8f0fe;
  color: #1a73e8;
  border: 1px solid #d2e3fc;
}

.customer-status-pill--delivered {
  background: #e6f4ea;
  color: #137333;
  border: 1px solid #ceead6;
}

.customer-status-pill--cancelled {
  background: #fce8e6;
  color: #c5221f;
  border: 1px solid #fad2cf;
}

.customer-status-pill--refunded {
  background: #fef3c7;
  color: #d97706;
  border: 1px solid #fde68a;
}

.customer-status-pill--cod {
  background: #f3e8ff;
  color: #7e22ce;
  border: 1px solid #e9d5ff;
}

.customer-status-pill--pending {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fef3c7;
}

/* --- Customer Order Reassurance Hero Banner --- */
.customer-order-hero-banner {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1.15rem 1.4rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border: 1px solid transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.customer-order-hero-banner__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  flex-shrink: 0;
}

.customer-order-hero-banner__text h3 {
  margin: 0 0 0.2rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.customer-order-hero-banner__text p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.customer-order-hero--success {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: #bbf7d0;
  color: #14532d;
}

.customer-order-hero--success .customer-order-hero-banner__icon {
  background: #22c55e;
  color: #ffffff;
}

.customer-order-hero--packed {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fde68a;
  color: #78350f;
}

.customer-order-hero--packed .customer-order-hero-banner__icon {
  background: #f59e0b;
  color: #ffffff;
}

.customer-order-hero--shipped {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #bfdbfe;
  color: #1e3a8a;
}

.customer-order-hero--shipped .customer-order-hero-banner__icon {
  background: #3b82f6;
  color: #ffffff;
}

.customer-order-hero--delivered {
  background: linear-gradient(135deg, #f0fdf4 0%, #bbf7d0 100%);
  border-color: #86efac;
  color: #14532d;
}

.customer-order-hero--delivered .customer-order-hero-banner__icon {
  background: #16a34a;
  color: #ffffff;
}

.customer-order-hero--cancelled {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-color: #fecaca;
  color: #7f1d1d;
}

.customer-order-hero--cancelled .customer-order-hero-banner__icon {
  background: #ef4444;
  color: #ffffff;
}

.customer-order-hero--refunded {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fde68a;
  color: #92400e;
}

.customer-order-hero--refunded .customer-order-hero-banner__icon {
  background: #d97706;
  color: #ffffff;
}

.customer-order-hero--placed {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  border-color: #e9d5ff;
  color: #581c87;
}

.customer-order-hero--placed .customer-order-hero-banner__icon {
  background: #a855f7;
  color: #ffffff;
}

.customer-order-hero--pending {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fde68a;
  color: #92400e;
}

.customer-order-hero--pending .customer-order-hero-banner__icon {
  background: #f59e0b;
  color: #ffffff;
}

/* --- Dynamic Customer Fulfillment Timeline with Step Pills --- */
.customer-tracker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border, #f3f4f6);
}

.customer-timeline-container {
  padding: 0.5rem 0;
}

.customer-timeline-flow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin-bottom: 0.5rem;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
  flex: 1;
  min-width: 0;
}

.timeline-step__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
  border: 1.5px solid transparent;
}

.timeline-step__icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.timeline-step__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.timeline-step__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text, #111827);
}

.timeline-step__desc {
  font-size: 0.78rem;
  color: var(--muted, #6b7280);
}

.timeline-step__time {
  font-size: 0.72rem;
  color: var(--muted, #9ca3af);
  margin-top: 0.1rem;
}

/* Timeline States: Done */
.timeline-step--done .timeline-step__pill {
  background: #e6f4ea;
  color: #137333;
  border-color: #ceead6;
}

.timeline-step--done .timeline-step__icon {
  background: #137333;
  color: #ffffff;
}

/* Timeline States: Current Active */
.timeline-step--current .timeline-step__pill {
  background: var(--brand, #059669);
  color: #ffffff;
  border-color: var(--brand, #059669);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.18);
  animation: pulsePill 2s infinite ease-in-out;
}

.timeline-step--current .timeline-step__icon {
  background: #ffffff;
  color: var(--brand, #059669);
}

.timeline-step--current .timeline-step__title {
  color: var(--brand, #059669);
}

/* Timeline States: Upcoming */
.timeline-step--upcoming .timeline-step__pill {
  background: var(--input-bg, #f3f4f6);
  color: var(--muted, #9ca3af);
  border-color: var(--border, #e5e7eb);
}

.timeline-step--upcoming .timeline-step__icon {
  background: #e5e7eb;
  color: #6b7280;
}

.timeline-step--upcoming .timeline-step__title {
  color: var(--muted, #9ca3af);
}

/* Connector Lines */
.timeline-line {
  flex: 1;
  height: 3px;
  background: var(--border, #e5e7eb);
  margin: 16px -12px 0;
  z-index: 1;
  transition: background 0.3s ease;
}

.timeline-line.timeline-line--done {
  background: var(--brand, #059669);
}

@keyframes pulsePill {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.18);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(5, 150, 105, 0.28);
  }
}

/* Live Tracking Box */
.customer-tracking-live-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.15rem 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.customer-tracking-live-info .awb-code {
  background: #e2e8f0;
  color: #1e293b;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-left: 0.35rem;
}

.customer-btn-live-track {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
}

.customer-timeline-cancelled {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
}

.customer-timeline-cancelled__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fee2e2;
  color: #dc2626;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.customer-timeline-cancelled h4 {
  margin: 0;
  font-size: 1.05rem;
  color: #991b1b;
}

/* --- Dark Mode Adaptation for Timeline & Reassurance Banner --- */
body.dark-mode .customer-order-hero--success,
[data-theme="dark"] .customer-order-hero--success {
  background: #064e3b;
  border-color: #047857;
  color: #ecfdf5;
}

body.dark-mode .customer-order-hero--shipped,
[data-theme="dark"] .customer-order-hero--shipped {
  background: #1e3a8a;
  border-color: #2563eb;
  color: #eff6ff;
}

body.dark-mode .customer-order-hero--packed,
[data-theme="dark"] .customer-order-hero--packed {
  background: #78350f;
  border-color: #b45309;
  color: #fffbeb;
}

body.dark-mode .customer-tracking-live-box,
[data-theme="dark"] .customer-tracking-live-box {
  background: #0f172a;
  border-color: #334155;
}

body.dark-mode .customer-tracking-live-info .awb-code,
[data-theme="dark"] .customer-tracking-live-info .awb-code {
  background: #334155;
  color: #f8fafc;
}

/* --- Mobile Breakpoint for Timeline --- */
@media (max-width: 768px) {
  .customer-timeline-flow {
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
  }

  .timeline-step {
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    text-align: left;
    width: 100%;
  }

  .timeline-step__pill {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .timeline-line {
    width: 3px;
    height: 24px;
    margin: -8px 0 -8px 24px;
    flex: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   ADMIN SHOPIFY-STYLE ORDER TIMELINE & PHOTO ATTACHMENTS
   ═══════════════════════════════════════════════════════════════════════ */

.admin-order-timeline-card {
  margin-top: 1.5rem;
}

.admin-timeline-filter-pills {
  display: flex;
  gap: 0.35rem;
  background: var(--bg-alt, #f3f4f6);
  padding: 3px;
  border-radius: 8px;
}

.admin-timeline-filter-btn {
  background: transparent;
  border: none;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted, #6b7280);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.admin-timeline-filter-btn:hover {
  color: var(--text, #111827);
}

.admin-timeline-filter-btn.is-active {
  background: #ffffff;
  color: var(--text, #111827);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

/* Composer */
.admin-timeline-composer-wrap {
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
}

.admin-timeline-composer-box {
  background: var(--bg-alt, #f9fafb);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
  padding: 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-timeline-composer-box:focus-within {
  border-color: var(--brand, #059669);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
  background: #ffffff;
}

.admin-timeline-textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  resize: vertical;
  min-height: 52px;
  font-family: inherit;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text, #111827);
  box-sizing: border-box;
}

.admin-timeline-textarea::placeholder {
  color: var(--muted, #9ca3af);
}

.admin-timeline-pending-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
  margin-bottom: 0.35rem;
}

.admin-timeline-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 8px;
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.admin-timeline-chip img {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
}

.admin-timeline-chip-remove {
  background: none;
  border: none;
  color: var(--muted, #9ca3af);
  cursor: pointer;
  padding: 0 2px;
  font-size: 1rem;
  line-height: 1;
  border-radius: 4px;
}

.admin-timeline-chip-remove:hover {
  color: #ef4444;
}

.admin-timeline-composer-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border, #e5e7eb);
}

.admin-timeline-composer-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-timeline-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted, #4b5563);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid var(--border, #d1d5db);
  cursor: pointer;
  transition: all 0.15s ease;
}

.admin-timeline-tool-btn:hover {
  background: var(--bg-alt, #f3f4f6);
  color: var(--text, #111827);
}

.admin-timeline-post-btn {
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  border-radius: 8px;
}

/* Timeline Activity Feed */
.admin-timeline-feed {
  position: relative;
  padding-left: 1.25rem;
}

.admin-timeline-feed::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 27px;
  width: 2px;
  background: var(--border, #e5e7eb);
}

.admin-timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-timeline-item:last-child {
  margin-bottom: 0;
}

.admin-timeline-icon-wrap {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--border, #e5e7eb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.admin-timeline-icon--placed {
  background: #ecfdf5;
  border-color: #10b981;
  color: #059669;
}

.admin-timeline-icon--payment {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #2563eb;
}

.admin-timeline-icon--shipment {
  background: #fdf4ff;
  border-color: #c084fc;
  color: #9333ea;
}

.admin-timeline-icon--refund {
  background: #fffbeb;
  border-color: #f59e0b;
  color: #d97706;
}

.admin-timeline-icon--comment {
  background: #f0fdf4;
  border-color: var(--brand, #059669);
  color: var(--brand, #059669);
}

.admin-timeline-content {
  flex: 1;
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
  padding: 0.9rem 1.15rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.admin-timeline-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.admin-timeline-author-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.admin-timeline-author {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text, #111827);
}

.admin-timeline-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 4px;
}

.admin-timeline-tag--staff {
  background: #dcfce7;
  color: #15803d;
}

.admin-timeline-tag--system {
  background: #f3f4f6;
  color: #6b7280;
}

.admin-timeline-tag--courier {
  background: #ede9fe;
  color: #6d28d9;
}

.admin-timeline-time {
  font-size: 0.8rem;
  color: var(--muted, #6b7280);
}

.admin-timeline-message {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text, #374151);
  word-break: break-word;
  white-space: pre-wrap;
  margin: 0.35rem 0 0;
}

.admin-timeline-delete-btn {
  background: none;
  border: none;
  color: var(--muted, #9ca3af);
  cursor: pointer;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.admin-timeline-delete-btn:hover {
  color: #ef4444;
  background: #fee2e2;
}

/* Image gallery grid inside timeline items */
.admin-timeline-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.admin-timeline-photo-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border, #e5e7eb);
  background: #f9fafb;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.admin-timeline-photo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-color: var(--brand, #059669);
}

.admin-timeline-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-timeline-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.18s ease;
  font-size: 0.8rem;
}

.admin-timeline-photo-card:hover .admin-timeline-photo-overlay {
  opacity: 1;
}

/* Timeline Lightbox Modal */
.admin-timeline-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.18s ease-out;
}

.admin-timeline-lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.admin-timeline-lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  object-fit: contain;
}

.admin-timeline-lightbox__close {
  position: absolute;
  top: -42px;
  right: 0;
  background: rgba(255,255,255,0.2);
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.admin-timeline-lightbox__close:hover {
  background: rgba(255,255,255,0.4);
}

.admin-timeline-lightbox__caption {
  color: #e2e8f0;
  font-size: 0.88rem;
  margin-top: 0.75rem;
  text-align: center;
}

/* Dark Mode Overrides */
body.dark-mode .admin-timeline-filter-pills,
[data-theme="dark"] .admin-timeline-filter-pills {
  background: #1e293b;
}

body.dark-mode .admin-timeline-filter-btn.is-active,
[data-theme="dark"] .admin-timeline-filter-btn.is-active {
  background: #334155;
  color: #f8fafc;
}

body.dark-mode .admin-timeline-composer-box,
[data-theme="dark"] .admin-timeline-composer-box {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .admin-timeline-composer-box:focus-within,
[data-theme="dark"] .admin-timeline-composer-box:focus-within {
  background: #0f172a;
}

body.dark-mode .admin-timeline-textarea,
[data-theme="dark"] .admin-timeline-textarea {
  color: #f8fafc;
}

body.dark-mode .admin-timeline-tool-btn,
[data-theme="dark"] .admin-timeline-tool-btn {
  background: #334155;
  border-color: #475569;
  color: #e2e8f0;
}

body.dark-mode .admin-timeline-content,
[data-theme="dark"] .admin-timeline-content {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .admin-timeline-author,
[data-theme="dark"] .admin-timeline-author {
  color: #f8fafc;
}

body.dark-mode .admin-timeline-message,
[data-theme="dark"] .admin-timeline-message {
  color: #cbd5e1;
}

body.dark-mode .admin-timeline-chip,
[data-theme="dark"] .admin-timeline-chip {
  background: #334155;
  border-color: #475569;
  color: #f8fafc;
}


/* ═══════════════════════════════════════════════════════════════════════════════
   DIGANTA MOBILE — MODERN LIGHT-MODE TECH UI EXTENSIONS
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ─── Tech Visual Category Grid (7 Top-Level Groups) ─── */
.tech-cat-section {
  padding: 3.5rem 0 2rem;
}

.tech-cat-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.tech-cat-section__title h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  margin: 0.25rem 0 0;
  letter-spacing: -0.02em;
}

.tech-cat-section__title p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin: 0;
}

.tech-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.tech-cat-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.25s var(--ease-out);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tech-cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(0, 102, 255, 0.12);
}

.tech-cat-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tech-cat-card__icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.tech-cat-card:hover .tech-cat-card__icon-box {
  background: var(--accent);
  color: #ffffff;
}

.tech-cat-card__count {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface-muted);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.tech-cat-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  transition: color var(--transition);
}

.tech-cat-card:hover .tech-cat-card__name {
  color: var(--accent);
}

.tech-cat-card__desc {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.tech-cat-card__sub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.tech-cat-card__sub-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

.tech-cat-card__cta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: auto;
}

/* ─── Shop By Phone Brand ─── */
.brand-filter-strip {
  padding: 2.5rem 0;
}

.brand-filter-strip__box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
}

.brand-filter-strip__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.brand-filter-strip__header h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

.brand-filter-strip__header p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.brand-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.brand-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.15rem;
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
}

.brand-chip-btn:hover {
  background: var(--surface);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.brand-chip-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

/* ─── Trust Badges Strip ─── */
.tech-trust-strip {
  margin: 3rem 0;
}

.tech-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.tech-trust-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.tech-trust-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.tech-trust-icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
}

.tech-trust-card strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.tech-trust-card p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ─── Product Card Tech Enhancements ─── */
.product-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.product-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: var(--surface-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1rem;
}

.product-card__thumb img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  transition: transform 0.3s var(--ease-out);
}

.product-card:hover .product-card__thumb img {
  transform: scale(1.05);
}

.tech-badge-overlay {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 2;
}

.tech-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 102, 255, 0.2);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.tech-badge--brand {
  color: var(--muted);
  border-color: var(--line);
}

.product-card__brand {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.product-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin: 0 0 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__compat {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

.product-card__price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
}

.product-card__compare {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: line-through;
}

.product-card__save-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #16a34a;
  background: #dcfce7;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  margin-left: auto;
}

/* ─── PDP (Product Detail Page) Redesign ─── */
.pdp-device-selector {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.pdp-selector-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.pdp-selector-label span {
  color: var(--accent);
}

.pdp-device-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pdp-chip {
  padding: 0.45rem 0.85rem;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.pdp-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pdp-chip.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

/* Color Swatches */
.pdp-color-selector {
  margin: 1.25rem 0;
}

.pdp-swatches {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.pdp-swatch-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1.5px var(--line);
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}

.pdp-swatch-btn:hover {
  transform: scale(1.1);
}

.pdp-swatch-btn.is-selected {
  box-shadow: 0 0 0 2.5px var(--accent);
  transform: scale(1.1);
}

/* Technical Specs Sheet Table */
.tech-specs-container {
  margin: 2.5rem 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tech-specs-container h3 {
  padding: 1.25rem 1.5rem;
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  background: var(--surface-subtle);
  border-bottom: 1px solid var(--line);
}

.tech-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.tech-specs-table tr {
  border-bottom: 1px solid var(--line);
}

.tech-specs-table tr:last-child {
  border-bottom: none;
}

.tech-specs-table th {
  width: 35%;
  padding: 0.85rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  text-align: left;
  background: var(--surface-subtle);
  border-right: 1px solid var(--line);
}

.tech-specs-table td {
  padding: 0.85rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

/* Sticky Buy Box for Tech PDP */
.product-sticky-cart {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.25s var(--ease-out);
}

.product-sticky-cart.is-visible {
  transform: translateY(0);
}

.product-sticky-cart__left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-sticky-cart__thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  border: 1px solid var(--line);
  overflow: hidden;
}

.product-sticky-cart__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-sticky-cart__info strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--text);
}

.product-sticky-cart__info span {
  font-size: 0.8125rem;
  color: var(--muted);
}

.product-sticky-cart__price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
}

/* —— Admin Dynamic Form Rows (Tech Specs & Colors) —— */
.admin-dynamic-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.admin-dynamic-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 8px;
  align-items: center;
}

.admin-dynamic-row--color {
  grid-template-columns: 1.4fr 42px 1fr auto;
}

.admin-dynamic-row input {
  margin: 0 !important;
}

.admin-dynamic-row button {
  padding: 6px 10px;
  font-size: 0.82rem;
  line-height: 1;
  color: var(--muted);
}

.admin-dynamic-row button:hover {
  color: #ef4444;
}

/* —— Shop Empty State —— */
.shop-empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  max-width: 520px;
  margin: 2rem auto;
}

.shop-empty-state svg {
  margin: 0 auto 1.25rem;
  color: var(--muted);
}

.shop-empty-state h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.shop-empty-state p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   DIGANTA MOBILE — PHASE 2 STOREFRONT STYLES
   ========================================================================== */

/* —— Circular Category Carousel —— */
.circle-cats-section {
  padding: 1.5rem 0 2rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.circle-cats-container {
  max-width: var(--max-w, 1280px);
  margin: 0 auto;
  padding: 0 1.25rem;
  overflow: hidden;
}

.circle-cats-track {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.circle-cats-track::-webkit-scrollbar {
  height: 4px;
}

.circle-cats-track::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 4px;
}

.circle-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--text);
  min-width: 88px;
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.circle-cat-item:hover {
  transform: translateY(-4px);
  color: var(--accent);
}

.circle-cat-bubble {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.08) 0%, rgba(79, 70, 229, 0.04) 100%);
  border: 1.5px solid rgba(0, 102, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.circle-cat-item:hover .circle-cat-bubble {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.16) 0%, rgba(79, 70, 229, 0.12) 100%);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.22);
}

.circle-cat-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  max-width: 96px;
}

/* —— Curated Sections on Homepage —— */
.tech-curated-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.tech-curated-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 640px) {
  .tech-curated-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* —— Shop 2-Column Layout & Sticky Sidebar —— */
.shop-page-wrapper {
  max-width: var(--max-w, 1280px);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

.shop-layout-grid {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 2rem;
  align-items: start;
}

.shop-sidebar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.shop-sidebar::-webkit-scrollbar {
  width: 4px;
}
.shop-sidebar::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 4px;
}

.shop-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.125rem;
}

.shop-sidebar__title-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.shop-sidebar__title-wrap h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.01em;
}

.shop-sidebar__title-wrap svg {
  color: #64748b;
  flex-shrink: 0;
}

.shop-sidebar__actions {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.shop-sidebar__reset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #64748b;
  cursor: pointer;
  transition: all 0.18s ease;
  padding: 0;
}

.shop-sidebar__reset-btn:hover {
  background: #fee2e2;
  border-color: #fecaca;
  color: #ef4444;
  transform: rotate(-35deg);
}

.shop-sidebar__reset-btn:active {
  transform: scale(0.92) rotate(-90deg);
}

.shop-sidebar__close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  color: #64748b;
  transition: all 0.15s ease;
  padding: 0;
}

.shop-sidebar__close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.shop-filter-group {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.shop-filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.shop-filter-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  margin: 0 0 0.75rem;
}

/* Category Tree Accordion in Sidebar */
.shop-tree-parent {
  margin-bottom: 0.35rem;
}

.shop-tree-parent__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  transition: background 0.15s ease;
  user-select: none;
}

.shop-tree-parent__summary:hover {
  background: rgba(0, 102, 255, 0.06);
}

.shop-tree-parent__summary.is-active {
  background: rgba(0, 102, 255, 0.12);
  color: var(--accent);
}

.shop-tree-parent__icon-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-tree-parent__count {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}

.shop-tree-children {
  padding-left: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.shop-tree-child {
  font-size: 0.8125rem;
  color: var(--muted);
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  transition: all 0.15s ease;
}

.shop-tree-child:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.04);
}

.shop-tree-child.is-active {
  color: var(--accent);
  font-weight: 600;
  background: rgba(0, 102, 255, 0.08);
}

/* Checkboxes & Radios in Sidebar */
.shop-filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
}

.shop-check-label,
.shop-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  padding: 3px 0;
}

.shop-check-label input,
.shop-radio-label input {
  accent-color: var(--accent);
  cursor: pointer;
  margin: 0;
}

/* Filter Chips / Pills (Wattage, Connector) */
.shop-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.shop-filter-pill {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s ease;
}

.shop-filter-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.shop-filter-pill.is-selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

/* Mobile Filter Trigger Bar */
.shop-mobile-filter-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  background: var(--surface);
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.shop-mobile-filter-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.shop-filter-badge {
  background: #ffffff;
  color: var(--accent);
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 0.75rem;
  font-weight: 800;
}

.shop-mobile-sort select {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 0.84rem;
}

/* Active Filter Tags Bar */
.shop-active-tags-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1rem;
  padding: 8px 12px;
  background: rgba(0, 102, 255, 0.04);
  border: 1px solid rgba(0, 102, 255, 0.12);
  border-radius: var(--radius-sm);
}

.shop-active-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.shop-active-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text);
}

.shop-active-tag-remove {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1;
}

.shop-active-tag-remove:hover {
  color: #ef4444;
}

.shop-clear-all-link {
  background: none;
  border: none;
  font-size: 0.8125rem;
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
  margin-left: auto;
}

/* Responsive Sidebar Drawer */
@media (max-width: 991px) {
  .shop-layout-grid {
    grid-template-columns: 1fr;
  }

  .shop-mobile-filter-bar {
    display: flex;
  }

  .shop-desktop-sort {
    display: none;
  }

  .shop-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    max-height: 100vh;
    z-index: 1050;
    transform: translateX(-105%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    border-radius: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .shop-sidebar.is-open {
    transform: translateX(0);
  }

  .shop-sidebar__close {
    display: inline-flex;
  }

  .shop-sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    backdrop-filter: blur(2px);
  }
}

/* ==========================================================================
   HIGH-CONVERTING PDP UPGRADES
   ========================================================================== */

/* Pincode Estimator Card */
.pdp-pincode-card {
  margin: 1.5rem 0;
  padding: 1.125rem;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.03) 0%, rgba(16, 185, 129, 0.03) 100%);
  border: 1px solid rgba(0, 102, 255, 0.16);
  border-radius: var(--radius-md);
}

.pdp-pincode-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text);
  margin-bottom: 0.625rem;
}

.pdp-pincode-form {
  display: flex;
  gap: 8px;
  max-width: 380px;
}

.pdp-pincode-form input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: var(--surface);
  color: var(--text);
  letter-spacing: 0.05em;
}

.pdp-pincode-form button {
  padding: 8px 16px;
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
}

.pdp-pincode-result {
  margin-top: 0.75rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text);
}

.pdp-pincode-result strong {
  color: #10b981;
}

.pdp-pincode-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.pdp-pincode-tag {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* Frequently Bought Together Bundle Card */
.pdp-bundle-section {
  margin: 2.5rem 0;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.pdp-bundle-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 1.25rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pdp-bundle-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto minmax(200px, 1.2fr);
  align-items: center;
  gap: 1.25rem;
}

.pdp-bundle-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pdp-bundle-item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 4px;
}

.pdp-bundle-item-meta {
  display: flex;
  flex-direction: column;
}

.pdp-bundle-item-meta strong {
  font-size: 0.9375rem;
  line-height: 1.3;
}

.pdp-bundle-item-meta span {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 700;
  margin-top: 2px;
}

.pdp-bundle-plus,
.pdp-bundle-equals {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--muted);
  user-select: none;
}

.pdp-bundle-cta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pdp-bundle-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pdp-bundle-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
}

.pdp-bundle-compare {
  font-size: 0.9375rem;
  color: var(--muted);
  text-decoration: line-through;
}

.pdp-bundle-save-tag {
  background: #10b981;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.pdp-bundle-button {
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.pdp-bundle-button:hover {
  background: #0052cc;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

@media (max-width: 900px) {
  .pdp-bundle-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .pdp-bundle-plus,
  .pdp-bundle-equals {
    display: none;
  }
  .pdp-bundle-cta {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--line);
  }
}

/* Image Zoom Modal */
.pdp-zoom-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.pdp-zoom-modal img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  cursor: zoom-out;
}

.pdp-zoom-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: #ffffff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
}

.product-gallery__main {
  position: relative;
  cursor: zoom-in;
}

.product-gallery__zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Specs Comparison Table */
.pdp-comparison-box {
  margin: 2.5rem 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pdp-comparison-header {
  padding: 1.25rem 1.5rem;
  background: rgba(0, 102, 255, 0.04);
  border-bottom: 1px solid var(--line);
}

.pdp-comparison-header h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
}

.pdp-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.pdp-comparison-table th,
.pdp-comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.pdp-comparison-table th {
  background: rgba(0, 0, 0, 0.02);
  color: var(--text);
  font-weight: 700;
}

.pdp-comparison-table tr:last-child td,
.pdp-comparison-table tr:last-child th {
  border-bottom: none;
}

.pdp-compare-check {
  color: #10b981;
  font-weight: 800;
}

.pdp-compare-cross {
  color: #ef4444;
  font-weight: 800;
}

/* Mobile Sticky Bottom Cart Enhancement */
.product-sticky-cart {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 0.75rem 1.25rem;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 990;
  transform: translateY(110%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-sticky-cart.is-visible {
  transform: translateY(0);
}



/* ==========================================================================
   DIGANTA MOBILE — NEXT-GEN TECH STOREFRONT UI/UX (LIGHT-MODE TECH ARCHITECTURE)
   ========================================================================== */

/* ─── Tech Hero Command Deck ─── */
.tech-hero {
  position: relative;
  padding: 3.5rem 0 3.25rem;
  background:
    radial-gradient(ellipse 60% 50% at 75% 15%, rgba(0, 102, 255, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 85%, rgba(6, 182, 212, 0.06), transparent 50%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.tech-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.65;
}

.tech-hero__container {
  max-width: var(--max-w, 1280px);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.tech-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tech-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: rgba(0, 102, 255, 0.06);
  border: 1px solid rgba(0, 102, 255, 0.18);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  width: fit-content;
}

.tech-hero-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.25);
  animation: pulseTech 2s infinite ease-in-out;
}

@keyframes pulseTech {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.tech-hero__title {
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #090d16;
  margin: 0;
}

.tech-hero__lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  max-width: 580px;
}

/* Device Quick-Selector Bar */
.tech-hero-device-bar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.tech-hero-device-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.tech-hero-device-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-device-chip {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--surface-muted);
  border: 1px solid transparent;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s ease;
}

.tech-device-chip:hover {
  background: rgba(0, 102, 255, 0.08);
  color: var(--accent);
  border-color: rgba(0, 102, 255, 0.2);
}

.tech-device-chip.is-active {
  background: #090d16;
  color: #ffffff;
  border-color: #090d16;
}

.tech-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 0.25rem;
}

.tech-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.35);
  transition: all 0.2s ease;
  text-decoration: none;
}

.tech-btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.45);
}

.tech-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  background: #ffffff;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  text-decoration: none;
}

.tech-btn-secondary:hover {
  background: var(--surface-muted);
  border-color: var(--line-strong);
  color: var(--accent);
}

/* Metric Cards Strip */
.tech-hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.tech-metric-card {
  padding: 0.75rem 0.875rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
}

.tech-metric-card strong {
  font-size: 1.125rem;
  font-weight: 800;
  color: #090d16;
  line-height: 1.2;
}

.tech-metric-card span {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

/* ─── Hardware Interactive Showcase Console ─── */
.tech-hero-showcase {
  position: relative;
}

.tech-showcase-glass {
  background: #ffffff;
  border: 1px solid rgba(0, 102, 255, 0.15);
  border-radius: 20px;
  box-shadow:
    0 20px 40px -15px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(0, 102, 255, 0.08);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.tech-showcase-header {
  padding: 1rem 1.25rem;
  background: rgba(248, 250, 252, 0.8);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tech-showcase-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.tech-showcase-nav-pills {
  display: flex;
  gap: 0.375rem;
  background: #e2e8f0;
  padding: 3px;
  border-radius: 999px;
}

.tech-showcase-pill {
  flex: 1;
  padding: 0.4rem 0.5rem;
  background: transparent;
  border: none;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.tech-showcase-pill:hover {
  color: var(--text);
}

.tech-showcase-pill.is-active {
  background: #ffffff;
  color: var(--accent);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.1);
  font-weight: 700;
}

.tech-showcase-slides {
  position: relative;
  min-height: 420px;
}

.tech-showcase-card {
  display: none;
  padding: 1.5rem;
  animation: fadeInTech 0.35s ease;
}

.tech-showcase-card.is-active {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@keyframes fadeInTech {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.tech-showcase-media {
  position: relative;
  height: 190px;
  background: radial-gradient(circle at center, rgba(0, 102, 255, 0.06) 0%, rgba(241, 245, 249, 0.6) 80%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.tech-showcase-media img {
  max-height: 150px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(15, 23, 42, 0.12));
  transition: transform 0.3s ease;
}

.tech-showcase-card:hover .tech-showcase-media img {
  transform: scale(1.05);
}

.tech-showcase-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0.25rem 0.625rem;
  background: #090d16;
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tech-showcase-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tech-showcase-meta {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.tech-showcase-info h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  color: #090d16;
  line-height: 1.25;
}

.tech-showcase-info p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

.tech-showcase-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.25rem;
}

.tech-showcase-specs span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  background: var(--surface-muted);
  border-radius: 4px;
  color: #334155;
}

.tech-showcase-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.tech-showcase-price {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
}

.tech-showcase-price strong {
  font-size: 1.375rem;
  font-weight: 800;
  color: #090d16;
}

.tech-showcase-price del {
  font-size: 0.8125rem;
  color: var(--muted);
}

.tech-discount-pill {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.tech-showcase-btns {
  display: flex;
  gap: 0.5rem;
}

.tech-link-btn {
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s ease;
}

.tech-link-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tech-add-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tech-add-btn:hover {
  background: var(--accent-hover);
}

.tech-showcase-footer {
  padding: 0.875rem 1.25rem;
  background: #f8fafc;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tech-dispatch-ticker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #334155;
  font-weight: 500;
}

.ticker-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulseTicker 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulseTicker {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.9); }
}

.tech-showcase-dots {
  display: flex;
  gap: 0.35rem;
}

.tech-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: all 0.25s ease;
}

.tech-dot.is-active {
  width: 18px;
  border-radius: 999px;
  background: var(--accent);
}

/* ─── Trust & Assurance Matrix ─── */
.tech-trust-strip {
  padding: 2.25rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.tech-trust-grid {
  max-width: var(--max-w, 1280px);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.tech-trust-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.125rem;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.tech-trust-card:hover {
  background: #ffffff;
  border-color: rgba(0, 102, 255, 0.25);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.tech-trust-icon {
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.tech-trust-card strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #090d16;
  margin-bottom: 0.2rem;
}

.tech-trust-card p {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

/* ─── Shop By Brand / Device Strip ─── */
.brand-filter-strip {
  padding: 2.5rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.brand-filter-strip__box {
  max-width: var(--max-w, 1280px);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.brand-filter-strip__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.brand-filter-strip__header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  color: #090d16;
}

.brand-filter-strip__header p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0.25rem 0 0;
}

.brand-chips-row {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.brand-chip-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.125rem;
  background: #f8fafc;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.brand-chip-item:hover {
  background: #ffffff;
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.12);
  transform: translateY(-2px);
}

.brand-chip-item.is-active {
  background: #090d16;
  border-color: #090d16;
  color: #ffffff;
}

/* ─── Modern Tech Product Card ─── */
.tech-product-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  height: 100%;
}

.tech-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 255, 0.35);
  box-shadow:
    0 12px 28px -6px rgba(15, 23, 42, 0.1),
    0 0 0 1px rgba(0, 102, 255, 0.15);
}

.tech-card-media {
  position: relative;
  height: 210px;
  min-height: 210px;
  width: 100%;
  background: radial-gradient(circle at center, rgba(0, 102, 255, 0.04) 0%, #f8fafc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: hidden;
  border-bottom: 1px solid #e2e8f0;
}

.tech-card-media__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.tech-card-img,
.tech-card-media img {
  max-width: 85%;
  max-height: 165px;
  width: 160px;
  height: 160px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-product-card:hover .tech-card-img,
.tech-product-card:hover .tech-card-media img {
  transform: scale(1.06);
}

.tech-card-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  height: 100%;
  color: #94a3b8;
  padding: 1.5rem;
  background: radial-gradient(circle at center, rgba(0, 102, 255, 0.05) 0%, rgba(241, 245, 249, 0.6) 100%);
  border-radius: var(--radius-md, 12px);
  user-select: none;
}

.tech-card-placeholder svg {
  stroke: #94a3b8;
  opacity: 0.75;
}

.tech-card-placeholder span {
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.tech-card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  pointer-events: none;
  z-index: 3;
}

.tech-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 6px;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
  pointer-events: auto;
  position: static !important;
}

.tech-card-badge--spec {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.tech-card-badge--brand {
  background: rgba(15, 23, 42, 0.85);
  color: #94a3b8;
  font-weight: 600;
}

.tech-card-badge--save {
  margin-left: auto;
  background: #ef4444;
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.25);
}

.tech-card-discount {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 0.25rem 0.5rem;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  border-radius: 6px;
}

.tech-card-soldout-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 4;
}

/* Card Content / Body */
.tech-card-content,
.tech-card-body {
  padding: 1.125rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
  background: #ffffff;
}

.tech-card-category-row,
.tech-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.tech-card-category {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent, #0066FF);
}

.tech-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

.tech-rating-star {
  color: #f59e0b;
  font-size: 0.8125rem;
}

.tech-rating-score {
  font-weight: 700;
  color: #0f172a;
}

.tech-rating-count {
  font-size: 0.6875rem;
  color: #94a3b8;
}

.tech-card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #090d16;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.tech-card-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s ease;
}

.tech-card-title a:hover {
  color: var(--accent, #0066FF);
}

.tech-card-compat-pill,
.tech-card-compat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 3px 8px;
  border-radius: 6px;
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tech-card-compat-pill svg {
  flex-shrink: 0;
  color: #0284c7;
}

.tech-card-colors,
.tech-card-swatches {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.tech-color-dot,
.tech-swatch-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
  box-shadow: 0 0 0 1px #cbd5e1;
  display: inline-block;
  cursor: pointer;
}

.tech-color-more {
  font-size: 0.6875rem;
  color: #64748b;
  font-weight: 700;
}

.tech-card-specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tech-card-spec-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  background: var(--surface-muted, #f1f5f9);
  color: #475569;
  padding: 2px 6px;
  border-radius: 4px;
}

.tech-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
}

.tech-card-pricing {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.tech-card-price,
.tech-price-now {
  font-size: 1.1875rem;
  font-weight: 800;
  color: #090d16;
  letter-spacing: -0.02em;
}

.tech-card-compare,
.tech-price-was {
  font-size: 0.8125rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
}

.tech-card-actions {
  display: flex;
  align-items: center;
}

.tech-card-btn,
.tech-card-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.tech-card-btn--add,
.tech-card-buy-btn {
  background: #090d16;
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(9, 13, 22, 0.12);
}

.tech-card-btn--add:hover,
.tech-card-buy-btn:hover {
  background: var(--accent, #0066FF);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
  transform: translateY(-1px);
}

.tech-card-btn--add svg {
  transition: transform 0.2s ease;
}

.tech-card-btn--add:hover svg {
  transform: scale(1.15);
}

.tech-card-btn--disabled {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
}

@media (max-width: 640px) {
  .tech-product-card {
    border-radius: 12px;
  }

  .tech-card-media {
    height: 155px;
    min-height: 155px;
  }

  .tech-card-img,
  .tech-card-media img {
    width: 120px;
    height: 120px;
    max-height: 125px;
  }

  .tech-card-badges {
    top: 6px;
    left: 6px;
    right: 6px;
    gap: 4px;
  }

  .tech-card-badge {
    font-size: 0.625rem;
    padding: 2px 5px;
  }

  .tech-card-content,
  .tech-card-body {
    padding: 0.75rem 0.65rem;
    gap: 0.35rem;
  }

  .tech-card-title {
    font-size: 0.8125rem;
    line-height: 1.3;
    min-height: 2.3em;
  }

  .tech-card-compat-pill,
  .tech-card-compat {
    font-size: 0.65rem;
    padding: 2px 6px;
    gap: 3px;
  }

  .tech-card-footer {
    padding-top: 0.5rem;
    gap: 0.35rem;
  }

  .tech-card-price,
  .tech-price-now {
    font-size: 1rem;
  }

  .tech-card-compare,
  .tech-price-was {
    font-size: 0.75rem;
  }

  .tech-card-btn,
  .tech-card-buy-btn {
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
    border-radius: 6px;
    gap: 3px;
  }

  .tech-card-btn svg {
    width: 13px;
    height: 13px;
  }
}

/* ─── Bento Grid Section: The Diganta Engineering Standard ─── */
.tech-bento-section {
  padding: 4.5rem 0;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.tech-bento-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.tech-bento-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(0, 102, 255, 0.08);
  padding: 0.35rem 0.875rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.tech-bento-header h2 {
  font-size: clamp(1.875rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: #090d16;
  line-height: 1.2;
  margin: 0 0 0.875rem;
}

.tech-bento-header p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.tech-bento-grid {
  max-width: var(--max-w, 1280px);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bento-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.bento-card:hover {
  border-color: rgba(0, 102, 255, 0.25);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
  transform: translateY(-3px);
}

.bento-card--large {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2.5rem;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
  border: 1px solid rgba(0, 102, 255, 0.2);
}

.bento-card__icon-box {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.bento-card__tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}

.bento-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #090d16;
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.bento-card--large h3 {
  font-size: 1.75rem;
}

.bento-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.bento-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.bento-feature-list li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  position: relative;
  padding-left: 1.25rem;
}

.bento-feature-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.bento-feature-list strong {
  color: #090d16;
}

.bento-card__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bento-stat-gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.gauge-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 10px solid #e0e7ff;
  border-top-color: var(--accent);
  border-right-color: var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.15);
}

.gauge-value {
  font-size: 1.75rem;
  font-weight: 900;
  color: #090d16;
  line-height: 1;
}

.gauge-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.gauge-chip {
  padding: 0.35rem 0.75rem;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
}

.bento-card__spec-pill {
  margin-top: auto;
  padding: 0.45rem 0.75rem;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  text-align: center;
}

/* ─── Visual Category Grid (7 Premier Groups) ─── */
.tech-cat-section {
  padding: 4rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.tech-cat-section__header {
  max-width: var(--max-w, 1280px);
  margin: 0 auto 2rem;
  padding: 0 1.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.tech-cat-section__title h2 {
  font-size: 1.875rem;
  font-weight: 800;
  color: #090d16;
  margin: 0.25rem 0 0.5rem;
}

.tech-cat-section__title p {
  color: var(--muted);
  margin: 0;
}

.tech-cat-grid {
  max-width: var(--max-w, 1280px);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.tech-cat-card {
  background: #f8fafc;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s ease;
}

.tech-cat-card:hover {
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(0, 102, 255, 0.1);
  transform: translateY(-3px);
}

.tech-cat-icon {
  font-size: 2rem;
  line-height: 1;
  width: 52px;
  height: 52px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.tech-cat-info h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: #090d16;
  margin: 0 0 0.25rem;
}

.tech-cat-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tech-cat-subs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.tech-cat-subs span {
  font-size: 0.72rem;
  color: var(--muted);
  background: #ffffff;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

/* ─── Diganta Standards vs Generic Market Comparison Matrix ─── */
.tech-comparison-section {
  padding: 4.5rem 0;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.section-header--center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.section-header--center h2 {
  font-size: 1.875rem;
  font-weight: 800;
  color: #090d16;
  margin: 0.25rem 0 0.5rem;
}

.tech-comparison-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.25rem;
  overflow-x: auto;
}

.tech-comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.tech-comparison-table th,
.tech-comparison-table td {
  padding: 1.125rem 1.5rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.875rem;
}

.tech-comparison-table th {
  background: #f1f5f9;
  font-weight: 800;
  color: #090d16;
  font-size: 0.9375rem;
}

.tech-comparison-table tr:last-child td {
  border-bottom: none;
}

.tech-comparison-table .col-highlight {
  background: rgba(0, 102, 255, 0.04);
  font-weight: 600;
  color: #090d16;
  border-left: 1.5px solid rgba(0, 102, 255, 0.15);
  border-right: 1.5px solid rgba(0, 102, 255, 0.15);
}

.tech-comparison-table th.col-highlight {
  background: rgba(0, 102, 255, 0.1);
  color: var(--accent);
}

.badge-check {
  color: #10b981;
  font-weight: 800;
  margin-right: 0.25rem;
}

.badge-cross {
  color: #ef4444;
  font-weight: 800;
  margin-right: 0.25rem;
}

/* ─── Verified Device Reviews ─── */
.tech-reviews-section {
  padding: 4rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.tech-reviews-grid {
  max-width: var(--max-w, 1280px);
  margin: 2rem auto 0;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tech-review-card {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: all 0.2s ease;
}

.tech-review-card:hover {
  background: #ffffff;
  border-color: rgba(0, 102, 255, 0.25);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}

.tech-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tech-review-stars {
  color: #f59e0b;
  font-size: 0.9375rem;
  letter-spacing: 2px;
}

.tech-review-device {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(0, 102, 255, 0.08);
  padding: 2px 8px;
  border-radius: 999px;
}

.tech-review-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #090d16;
  margin: 0;
  line-height: 1.3;
}

.tech-review-body {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.tech-review-author {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.tech-review-author strong {
  font-size: 0.875rem;
  color: #090d16;
}

.tech-review-author span {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ─── Product Detail Page Tech Enhancements ─── */
.pdp-device-selector,
.pdp-color-selector {
  margin: 1.25rem 0;
  padding: 1rem;
  background: var(--surface-muted);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.pdp-selector-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.625rem;
}

.pdp-selector-label span,
.pdp-selector-label strong {
  color: var(--accent);
}

.pdp-device-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pdp-chip {
  padding: 0.45rem 0.875rem;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--line);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pdp-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pdp-chip.is-selected {
  background: #090d16;
  color: #ffffff;
  border-color: #090d16;
}

.pdp-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.pdp-swatch-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pdp-swatch-btn:hover {
  transform: scale(1.1);
}

.pdp-swatch-btn.is-selected {
  box-shadow: 0 0 0 2px var(--accent);
  transform: scale(1.1);
}

.pdp-pincode-card {
  margin: 1.25rem 0;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.pdp-pincode-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.625rem;
}

.pdp-pincode-form {
  display: flex;
  gap: 0.5rem;
}

.pdp-pincode-form input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}

.pdp-pincode-form button {
  padding: 0.5rem 1rem;
  background: #090d16;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.pdp-pincode-form button:hover {
  background: var(--accent);
}

.pdp-pincode-result {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
}

.pdp-pincode-result.is-serviceable {
  color: #10b981;
  font-weight: 600;
}

.tech-specs-container {
  margin: 3rem 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.tech-specs-container h3 {
  padding: 1.25rem 1.5rem;
  margin: 0;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
  font-size: 1.125rem;
  font-weight: 800;
  color: #090d16;
}

.tech-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.tech-specs-table th,
.tech-specs-table td {
  padding: 0.875rem 1.5rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
  text-align: left;
}

.tech-specs-table tr:last-child th,
.tech-specs-table tr:last-child td {
  border-bottom: none;
}

.tech-specs-table th {
  width: 35%;
  font-weight: 700;
  color: #334155;
  background: #fbfcfd;
}

.tech-specs-table td {
  color: #090d16;
}

/* Frequently Bought Together Bundle */
.pdp-bundle-section {
  margin: 3rem 0;
  padding: 1.5rem;
  background: #ffffff;
  border: 1.5px solid rgba(0, 102, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.06);
}

.pdp-bundle-title {
  margin: 0 0 1.25rem;
  font-size: 1.125rem;
  font-weight: 800;
  color: #090d16;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pdp-bundle-grid {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.pdp-bundle-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  background: #f8fafc;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.pdp-bundle-item img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.pdp-bundle-item-meta {
  display: flex;
  flex-direction: column;
}

.pdp-bundle-item-meta strong {
  font-size: 0.84rem;
  color: #090d16;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pdp-bundle-item-meta span {
  font-size: 0.8125rem;
  color: var(--accent);
  font-weight: 700;
}

.pdp-bundle-plus,
.pdp-bundle-equals {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--muted);
}

.pdp-bundle-cta {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pdp-bundle-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.pdp-bundle-price {
  font-size: 1.375rem;
  font-weight: 800;
  color: #090d16;
}

.pdp-bundle-compare {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: line-through;
}

.pdp-bundle-save-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.pdp-bundle-button {
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pdp-bundle-button:hover {
  background: var(--accent-hover);
}

/* ─── Responsive Media Queries ─── */
@media (max-width: 1024px) {
  .tech-hero__container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .tech-bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card--large {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .tech-reviews-grid {
    grid-template-columns: 1fr;
  }
  .tech-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pdp-bundle-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .pdp-bundle-plus,
  .pdp-bundle-equals {
    display: none;
  }
  .pdp-bundle-cta {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .tech-hero__title {
    font-size: 2rem;
  }
  .tech-hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech-trust-grid {
    grid-template-columns: 1fr;
  }
  .tech-cat-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   PRO PAGE HEADER - Redesigned Architectural Hero for Info & Legal Pages
   ══════════════════════════════════════════════════════════════════════ */
.pro-page-header {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  margin: 1.25rem 0 2rem;
  padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03), 0 6px 18px -4px rgba(15, 23, 42, 0.04);
}

.pro-page-header__breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 1.25rem;
}

.pro-page-header__breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}

.pro-page-header__breadcrumb a:hover {
  color: #0066FF;
}

.pro-page-header__breadcrumb-sep {
  color: #cbd5e1;
  font-size: 0.75rem;
  user-select: none;
}

.pro-page-header__breadcrumb [aria-current="page"] {
  color: #0f172a;
  font-weight: 600;
}

.pro-page-header__layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: start;
}

.pro-page-header__main {
  max-width: 46rem;
}

.pro-page-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0284c7;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.625rem;
}

.pro-page-header__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0284c7;
}

.pro-page-header__title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.875rem;
}

.pro-page-header__desc {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 1.25rem;
}

.pro-page-header__aside {
  min-width: 290px;
  max-width: 340px;
}

/* Info Card inside Header */
.pro-aside-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.125rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pro-aside-box__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid #edf2f7;
}

.pro-aside-box__row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.pro-aside-box__label {
  color: #64748b;
  font-weight: 500;
}

.pro-aside-box__value {
  color: #0f172a;
  font-weight: 600;
  text-align: right;
}

.pro-aside-box__value a {
  color: #0066FF;
  text-decoration: none;
}

.pro-aside-box__value a:hover {
  text-decoration: underline;
}

.pro-aside-box__value--accent {
  color: #0284c7;
}

.pro-aside-box__value--success {
  color: #059669;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.pro-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: proPulse 2s infinite;
}

@keyframes proPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Quick Nav Tab Strip along bottom of header */
.pro-page-header__nav-strip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #edf2f7;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.pro-page-header__nav-strip::-webkit-scrollbar {
  display: none;
}

.pro-nav-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.15s ease;
}

.pro-nav-pill:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.pro-nav-pill.is-active {
  background: #0f172a;
  color: #ffffff;
}

.pro-nav-pill--primary {
  background: #0066FF;
  color: #ffffff;
}

.pro-nav-pill--primary:hover {
  background: #0052cc;
  color: #ffffff;
}

/* Action buttons inside header */
.pro-page-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.pro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.pro-btn--primary {
  background: #0066FF;
  color: #ffffff;
}

.pro-btn--primary:hover {
  background: #0052cc;
  color: #ffffff;
}

.pro-btn--outline {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.pro-btn--outline:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

@media (max-width: 900px) {
  .pro-page-header__layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .pro-page-header__aside {
    max-width: 100%;
    min-width: 100%;
  }
}

@media (max-width: 640px) {
  .pro-page-header {
    margin: 0.75rem 0 1.25rem;
    padding: 1.25rem 1rem;
    border-radius: 12px;
  }

  .pro-page-header__breadcrumb {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    gap: 0.35rem;
  }

  .pro-page-header__title {
    font-size: 1.625rem;
    line-height: 1.2;
    margin-bottom: 0.625rem;
  }

  .pro-page-header__desc {
    font-size: 0.9375rem;
    line-height: 1.55;
    margin-bottom: 1rem;
  }

  .pro-aside-box {
    padding: 0.875rem 1rem;
    gap: 0.5rem;
  }

  .pro-page-header__actions {
    flex-direction: column;
    width: 100%;
  }

  .pro-btn {
    width: 100%;
    text-align: center;
  }

  .shop-page-wrapper {
    padding: 0.75rem 0.75rem 3rem;
  }
}

/* Hide Journal surfaces across storefront */
.tech-journal-section,
.page-hero--journal,
.journal-list,
.related-strip--journal,
.section-header--journal {
  display: none !important;
}


