
/* === Dark-only Premium Minimalism Theme === */
:root {
  --bg: #090908;
  --bg-secondary: #0F0F0E;
  --bg-card: #131312;
  --bg-card-hover: #191918;
  --border: #1E1E1D;
  --border-strong: #2A2A29;
  --text-primary: #F5F5F4;
  --text-secondary: #A1A1A0;
  --text-muted: #575756;
  --accent: #FFFFFF;
  --accent-hover: #E4E4E3;
  --accent-light: rgba(255, 255, 255, 0.08);
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 8px 32px rgba(0, 0, 0, 0.3);
  
  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --tr: .25s cubic-bezier(.4, 0, .2, 1);
  --font: 'Plus Jakarta Sans', 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-d: 'Plus Jakarta Sans', 'Space Grotesk', 'Montserrat', sans-serif;
}

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

html {
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 14.5px;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
  padding-bottom: 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-d);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navbar (floating frosted glass) ── */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  z-index: 100;
  background: rgba(19, 19, 18, 0.75);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, background .3s;
}

.navbar.scrolled {
  background: rgba(15, 15, 14, 0.9);
  box-shadow: var(--shadow-glow);
}

.navbar-inner {
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 17px;
  transition: opacity var(--tr);
}

.navbar-logo:hover {
  opacity: .85;
}

.logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.logo-text {
  letter-spacing: -0.03em;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-link {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--tr);
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
  background: var(--accent-light);
}

.navbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-icon {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--tr);
}

.btn-icon:hover {
  background: var(--accent-light);
  color: #FFFFFF;
}

.main-content {
  padding-top: 100px;
  min-height: 100vh;
}

/* ── Hero ── */
.hero {
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

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

.hero-title {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 850;
  letter-spacing: -0.05em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #A1A1A0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.stats-row {
  display: inline-flex;
  gap: 48px;
  padding: 16px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  justify-content: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

/* ── Live Feed Marquee ── */
.live-feed-section {
  padding: 24px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 60px;
  overflow: hidden;
}

.live-feed-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { opacity: .5; box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
}

.live-feed-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.feed-scroller {
  display: flex;
  gap: 12px;
  animation: scroll-left 40s linear infinite;
  width: max-content;
}

.feed-scroller:hover {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.feed-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.feed-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.feed-avatar svg {
  width: 14px;
  height: 14px;
}

.feed-text {
  font-size: 13px;
}

.feed-player {
  font-weight: 700;
  color: var(--text-primary);
}

.feed-action {
  color: var(--text-secondary);
}

.feed-product {
  font-weight: 700;
  color: #FFFFFF;
}

.feed-mode {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 1px;
}

/* ── Mode Tabs ── */
.modes-section {
  padding-bottom: 80px;
}

.mode-tabs-wrapper {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.mode-tabs {
  display: inline-flex;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 5px;
  border-radius: 12px;
  max-width: 100%;
  overflow-x: auto;
}

.mode-tabs::-webkit-scrollbar {
  display: none;
}

.mode-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--tr);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.mode-tab:hover {
  color: #FFFFFF;
  background: var(--accent-light);
}

.mode-tab.active {
  background: #FFFFFF;
  color: #090908;
}

.mode-tab svg {
  width: 15px;
  height: 15px;
}

/* ── 2-Column Shop Layout ── */
.shop-grid-container {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 36px;
  align-items: start;
}

.shop-products-pane {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.pane-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 8px;
}

.pane-title {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
}

.category-block {
  margin-bottom: 24px;
}

.category-header-title {
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 24px;
  margin-bottom: 12px;
}

.products-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Product Item Row */
.product-item-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--tr);
  position: relative;
  overflow: hidden;
}

.product-item-row:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.product-item-row.selected {
  border-color: #FFFFFF;
  background: var(--bg-card-hover);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.product-item-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--tr);
}

.product-item-row:hover .product-item-icon-box {
  transform: scale(1.05);
}

.product-item-icon-box svg {
  width: 20px;
  height: 20px;
}

.product-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-item-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  transition: color var(--tr);
}

.product-item-row.selected .product-item-name {
  color: #FFFFFF;
}

.product-item-period {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.product-item-price-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}

.product-item-old-price {
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 500;
}

.product-item-price {
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
}

.ruble-currency {
  font-size: 12px;
  font-weight: 600;
}

/* Badges on Rows */
.badge-discount {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--border-strong);
  border-bottom-left-radius: 8px;
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 850;
  padding: 3px 8px;
  text-transform: uppercase;
}

.badge-featured {
  position: absolute;
  top: 0;
  right: 0;
  background: #FFFFFF;
  color: #090908;
  border-bottom-left-radius: 8px;
  font-size: 9px;
  font-weight: 850;
  padding: 3px 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── RIGHT: Sticky Product Details & Checkout ── */
.shop-details-pane {
  position: relative;
}

.sticky-pane-wrapper {
  position: sticky;
  top: 96px;
}

/* Empty State */
.details-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  min-height: 480px;
  color: var(--text-muted);
  gap: 16px;
}

.details-empty-state svg {
  width: 44px;
  height: 44px;
}

.details-empty-state p {
  font-size: 13.5px;
  line-height: 1.5;
  max-width: 280px;
}

/* Active Details Card */
.details-card-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.details-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
}

.details-card-icon-container {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 24px;
}

.details-card-icon-container svg {
  width: 28px;
  height: 28px;
}

.details-card-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.details-card-mode-badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.details-card-title {
  font-size: 21px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.03em;
}

.details-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.details-card-features-box {
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.details-section-label {
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.details-features-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.feature-item-check {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-item-check svg {
  width: 10px;
  height: 10px;
}

/* Purchase Form */
.details-purchase-form {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.form-error-message {
  padding: 10px 14px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
  color: #EF4444;
  font-size: 12.5px;
  margin-bottom: 18px;
  font-weight: 500;
}

.form-grid-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.field-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 13.5px;
  color: var(--text-primary);
  outline: none;
  transition: all var(--tr);
}

.field-input:focus {
  border-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.field-input::placeholder {
  color: var(--text-muted);
}

/* Checkout Summary row */
.checkout-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.checkout-price-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.checkout-old-price {
  font-size: 12.5px;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 500;
}

.checkout-current-price {
  font-family: var(--font-d);
  font-size: 26px;
  font-weight: 850;
  color: #FFFFFF;
  letter-spacing: -0.04em;
  line-height: 1;
}

.ruble-symbol {
  font-size: 18px;
  font-weight: 600;
}

.checkout-period-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.btn-checkout-submit {
  padding: 12px 24px;
  background: #FFFFFF;
  color: #090908;
  border: 1.5px solid #FFFFFF;
  border-radius: 8px;
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--tr);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.btn-checkout-submit:hover {
  background: transparent;
  color: #FFFFFF;
}

/* Agreement Consent */
.consent-agreement-container {
  margin-top: 14px;
}

.consent-checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.consent-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.consent-checkmark {
  position: relative;
  display: inline-block;
  height: 16px;
  width: 16px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-strong);
  border-radius: 4px;
  flex-shrink: 0;
  transition: all var(--tr);
}

.consent-checkbox-container:hover .consent-checkmark {
  border-color: #FFFFFF;
}

.consent-input:checked ~ .consent-checkmark {
  background: #FFFFFF;
  border-color: #FFFFFF;
}

.consent-checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 4px;
  top: 1.5px;
  width: 4px;
  height: 7px;
  border: solid #090908;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.consent-input:checked ~ .consent-checkmark::after {
  display: block;
}

.consent-text {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.consent-link {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-link:hover {
  color: var(--text-secondary);
}

/* Details Footer */
.details-card-footer {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-badge-security {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.checkout-badge-security svg {
  width: 14px;
  height: 14px;
  color: #10B981;
  flex-shrink: 0;
}

.details-payment-partners {
  display: flex;
  gap: 10px;
  align-items: center;
}

.partner-logo {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* ── MOBILE PRODUCT DRAWER / BOTTOM SHEET ── */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(9, 9, 8, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-card {
  background: var(--bg-card);
  border-top: 1px solid var(--border-strong);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  width: 100%;
  max-width: 560px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}

.mobile-drawer-overlay.open .mobile-drawer-card {
  transform: translateY(0);
}

.mobile-drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--tr);
  z-index: 10;
}

.mobile-drawer-close:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
}

.mobile-drawer-body {
  padding: 32px 24px;
  overflow-y: auto;
  flex: 1;
}

/* Handle styles inside cloned card in drawer */
#mobile-details-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

#mobile-details-card .details-card-footer {
  margin-top: 24px;
}

/* ── Result Pages & Common layouts ── */
.result-page {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.result-card {
  text-align: center;
  max-width: 480px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: var(--shadow-md);
}

.result-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.result-icon.success {
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
}

.result-icon.error {
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
}

.result-icon svg {
  width: 36px;
  height: 36px;
}

.result-title {
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.result-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

.result-info {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 32px;
  text-align: left;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13.5px;
}

.info-row:not(:last-child) {
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.info-label {
  color: var(--text-muted);
  font-weight: 600;
}

.info-value {
  font-weight: 700;
  color: var(--text-primary);
}

.btn-result-action, .btn-buy, .btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-d);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--tr);
  white-space: nowrap;
}

.btn-result-action, .btn-buy {
  background: #FFFFFF;
  color: #090908;
  border: 1.5px solid #FFFFFF;
}

.btn-result-action:hover, .btn-buy:hover {
  background: transparent;
  color: #FFFFFF;
}

.btn-back {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-back:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
}

/* ── Footer (frosted footer box) ── */
.footer {
  margin: 80px auto 24px;
  width: calc(100% - 48px);
  max-width: 1200px;
  background: rgba(19, 19, 18, 0.75);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-name {
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.footer-legal {
  font-size: 11px;
  color: var(--text-secondary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 16px;
}

.footer-copy {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.pay-logos {
  display: flex;
  gap: 12px;
  align-items: center;
  opacity: 0.6;
}

.pay-logos img {
  height: 18px;
  object-fit: contain;
}

/* ── Toast Notifications ── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
  width: calc(100% - 48px);
  pointer-events: none;
}

.toast {
  background: rgba(19, 19, 18, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
}

.toast-icon svg {
  width: 18px;
  height: 18px;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-family: var(--font-d);
  font-size: 12px;
  font-weight: 750;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.toast-msg {
  font-size: 11.5px;
  color: var(--text-secondary);
}

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp .5s cubic-bezier(.4, 0, .2, 1) forwards;
  opacity: 0;
}

.animate-in-delay-1 { animation-delay: .1s; }
.animate-in-delay-2 { animation-delay: .2s; }
.animate-in-delay-3 { animation-delay: .3s; }

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3E3E3D;
}

/* ── Responsive rules ── */
@media (max-width: 900px) {
  .shop-grid-container {
    grid-template-columns: 1fr;
  }
  .shop-details-pane {
    display: none; /* Desktop pane hidden on mobile; drawer is used instead */
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0 32px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .stats-row {
    gap: 24px;
    padding: 12px 24px;
  }
  
  .navbar {
    top: 8px;
    width: calc(100% - 24px);
  }
  
  .navbar-inner {
    padding: 0 16px;
  }
  
  .navbar-nav {
    display: none; /* Hide top links on mobile to save space */
  }
  
  .footer {
    padding: 20px;
  }
  
  .footer-top, .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  
  .pay-logos {
    justify-content: center;
  }
}

/* ── Promotions / Actions Banner ── */
.promotions-section {
  margin-top: -20px;
  margin-bottom: 40px;
}

.promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.promo-banner-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(25, 25, 24, 0.6) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color var(--tr), transform var(--tr);
}

.promo-banner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-light);
  transition: background var(--tr);
}

.promo-banner-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.promo-banner-card.highlight::before {
  background: #10B981;
}

.promo-banner-card.discount::before {
  background: #3B82F6;
}

.promo-banner-card.gift::before {
  background: #F59E0B;
}

.promo-title {
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 750;
  color: #FFFFFF;
}

.promo-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.promo-badge {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--accent-light);
  color: var(--text-primary);
  margin-top: 8px;
}

.promo-banner-card.highlight .promo-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
}

.promo-banner-card.discount .promo-badge {
  background: rgba(59, 130, 246, 0.1);
  color: #3B82F6;
}

.promo-banner-card.gift .promo-badge {
  background: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
}

/* ── Promo Code Fields in Form ── */
.promo-input-wrapper {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.promo-input {
  flex: 1;
}

.btn-promo-apply {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: 8px;
  padding: 0 16px;
  font-family: var(--font-d);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--tr);
}

.btn-promo-apply:hover {
  background: var(--border);
  color: #FFFFFF;
}

.promo-status-message {
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
}

.promo-status-message.success {
  color: #10B981;
}

.promo-status-message.error {
  color: #EF4444;
}

.checkout-promo-discount-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 850;
  color: #10B981;
  text-transform: uppercase;
  margin-top: 2px;
}
