/* ============================================================
   CASA PICANTE — PAGE-SPECIFIC STYLES
   Hero, shop, product detail, bulk orders, checkout, etc.
   ============================================================ */

/* ══════════════════════════════════════════════════════════
   HOME HERO
   ══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding-top: var(--navbar-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(244, 67, 108, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  min-height: calc(100vh - var(--navbar-height));
  padding: var(--space-20) 0;
  position: relative;
  z-index: 1;
}

.hero-content {}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--orange-mango);
  background: rgba(249, 115, 22, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero-eyebrow svg {
  width: 14px;
  height: 14px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--charcoal);
  margin-bottom: var(--space-6);
}

.hero-headline .accent {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: var(--text-body-lg);
  line-height: var(--leading-loose);
  color: var(--gray-dark);
  margin-bottom: var(--space-10);
  max-width: 440px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--gray-dark);
}

.hero-trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--orange-mango);
}

/* Hero visual zone */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-product-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
}

.hero-product-circle {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  background: radial-gradient(circle at 40% 40%, rgba(249,115,22,0.15) 0%, rgba(244,67,108,0.08) 50%, transparent 70%);
}

.hero-product-main {
  position: absolute;
  inset: 10%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-product-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.hero-product-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #FFE4CC 0%, #FFD1DC 50%, #FFF0C8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-8);
  text-align: center;
}

.hero-product-placeholder .product-emoji {
  font-size: 80px;
  line-height: 1;
  animation: float 4s ease-in-out infinite;
}

.hero-product-placeholder .product-name {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: var(--text-h3);
  color: var(--charcoal);
  letter-spacing: var(--tracking-tight);
}

/* Floating product chips */
.hero-chip {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-5);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--charcoal);
  z-index: 2;
}

.hero-chip svg { width: 18px; height: 18px; }
.hero-chip-icon { width: 32px; height: 32px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }

.hero-chip-1 { top: 8%; left: -5%; animation: float 5s ease-in-out infinite; }
.hero-chip-2 { bottom: 15%; right: -5%; animation: float 4.5s ease-in-out 0.5s infinite; }
.hero-chip-3 { top: 50%; left: -8%; animation: float 5.5s ease-in-out 0.25s infinite; }

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-12);
    min-height: unset;
    padding: var(--space-20) 0 var(--space-16);
  }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-product-stage { max-width: 360px; }
  .hero-chip { display: none; }
  .hero::before, .hero::after { display: none; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: clamp(38px, 10vw, 56px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
}

/* ══════════════════════════════════════════════════════════
   WHY SECTION (icon grid)
   ══════════════════════════════════════════════════════════ */
.why-card {
  padding: var(--space-8);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: var(--border);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  text-align: center;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: var(--gradient-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  font-size: 26px;
}

.why-card h3 {
  font-size: var(--text-h4);
  margin-bottom: var(--space-3);
}

.why-card p {
  font-size: var(--text-sm);
  line-height: var(--leading-loose);
}

/* ══════════════════════════════════════════════════════════
   HOW IT WORKS (steps)
   ══════════════════════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 30px);
  right: calc(16.66% + 30px);
  height: 2px;
  background: linear-gradient(90deg, var(--orange-mango), var(--pink-watermelon));
  border-radius: var(--radius-full);
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--gradient-warm);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: var(--text-body-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  box-shadow: var(--shadow-warm);
  position: relative;
  z-index: 1;
}

.step-item h3 {
  font-size: var(--text-h4);
  margin-bottom: var(--space-3);
}

.step-item p {
  font-size: var(--text-sm);
  line-height: var(--leading-loose);
}

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
}

/* ══════════════════════════════════════════════════════════
   BULK BANNER
   ══════════════════════════════════════════════════════════ */
.bulk-banner {
  background: var(--charcoal);
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.bulk-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 50%, rgba(249,115,22,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.bulk-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  position: relative;
  z-index: 1;
}

.bulk-banner h2 {
  color: var(--white);
  font-size: var(--text-h2);
  margin-bottom: var(--space-4);
}

.bulk-banner p {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-body-lg);
  margin-bottom: var(--space-6);
  max-width: 480px;
}

.bulk-stats {
  display: flex;
  gap: var(--space-8);
  flex-shrink: 0;
}

.bulk-stat {
  text-align: center;
}

.bulk-stat-value {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: var(--weight-black);
  color: var(--orange-mango);
  line-height: 1;
  letter-spacing: var(--tracking-tight);
}

.bulk-stat-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  margin-top: var(--space-2);
}

@media (max-width: 768px) {
  .bulk-banner-inner { flex-direction: column; text-align: center; }
  .bulk-banner p { margin-left: auto; margin-right: auto; }
  .bulk-stats { justify-content: center; }
}

/* ══════════════════════════════════════════════════════════
   COMING SOON SECTION
   ══════════════════════════════════════════════════════════ */
.coming-soon-card {
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-8);
  text-align: center;
  background: var(--off-white);
  transition: border-color var(--transition-base);
}

.coming-soon-card:hover {
  border-color: var(--orange-mango);
}

.coming-soon-emoji {
  font-size: 56px;
  margin-bottom: var(--space-5);
  display: block;
}

.coming-soon-card h3 {
  font-size: var(--text-h3);
  margin-bottom: var(--space-3);
}

.coming-soon-card p {
  font-size: var(--text-sm);
  color: var(--gray-mid);
  line-height: var(--leading-loose);
  max-width: 240px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════
   FINAL CTA SECTION
   ══════════════════════════════════════════════════════════ */
.final-cta {
  background: var(--gradient-candy);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
}

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

.final-cta .container > * { position: relative; z-index: 1; }

.final-cta h2 {
  color: var(--white);
  font-size: var(--text-h1);
  margin-bottom: var(--space-5);
}

.final-cta p {
  color: rgba(255,255,255,0.85);
  font-size: var(--text-body-lg);
  margin-bottom: var(--space-10);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ══════════════════════════════════════════════════════════
   SHOP PAGE
   ══════════════════════════════════════════════════════════ */
.shop-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) 0;
  border-bottom: var(--border);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.shop-filter-tabs {
  display: flex;
  gap: var(--space-2);
}

.filter-tab {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  color: var(--gray-dark);
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  border: var(--border);
  background: var(--white);
}

.filter-tab:hover, .filter-tab.active {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

.shop-count {
  font-size: var(--text-sm);
  color: var(--gray-mid);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-8);
}

/* ══════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE
   ══════════════════════════════════════════════════════════ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: calc(var(--navbar-height) + var(--space-6));
}

.product-main-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #FFF8F0;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
}

.product-info {}

.product-info .eyebrow { margin-bottom: var(--space-3); display: inline-block; }

.product-info h1 {
  font-size: var(--text-h2);
  margin-bottom: var(--space-4);
}

.product-info-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.product-info-price .price-main {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: var(--weight-black);
  color: var(--charcoal);
  letter-spacing: var(--tracking-tight);
}

.product-info-price .price-unit {
  font-size: var(--text-sm);
  color: var(--gray-mid);
}

.product-short-desc {
  font-size: var(--text-body-lg);
  color: var(--gray-dark);
  line-height: var(--leading-loose);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: var(--border);
}

.product-meta-row {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-bottom: var(--space-6);
}

.product-add-to-cart {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.product-shipping-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--cream);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--orange-mango);
  font-size: var(--text-sm);
  color: var(--gray-dark);
  line-height: var(--leading-normal);
}

.product-shipping-note svg { width: 16px; height: 16px; color: var(--orange-mango); flex-shrink: 0; margin-top: 1px; }

.product-long-desc {
  padding: var(--space-8) 0;
  border-top: var(--border);
  margin-top: var(--space-8);
}

.product-long-desc h3 { margin-bottom: var(--space-4); }
.product-long-desc p { line-height: var(--leading-loose); margin-bottom: var(--space-4); }

@media (max-width: 1024px) {
  .product-detail { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
}

/* ══════════════════════════════════════════════════════════
   BULK ORDERS PAGE
   ══════════════════════════════════════════════════════════ */
.bulk-audience-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-16);
}

.bulk-audience-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.bulk-audience-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-mango);
}

.bulk-audience-emoji {
  font-size: 48px;
  display: block;
  margin-bottom: var(--space-4);
}

.bulk-audience-card h3 { font-size: var(--text-h4); margin-bottom: var(--space-3); }
.bulk-audience-card p { font-size: var(--text-sm); color: var(--gray-mid); line-height: var(--leading-loose); }

/* Pricing table */
.pricing-table {
  border: var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.pricing-table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  background: var(--gray-light);
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--gray-dark);
}

.pricing-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: var(--space-5) var(--space-6);
  border-bottom: var(--border);
  align-items: center;
  transition: background-color var(--transition-fast);
}

.pricing-table-row:last-child { border-bottom: none; }
.pricing-table-row:hover { background: var(--off-white); }

.pricing-table-row .type { font-weight: var(--weight-medium); color: var(--charcoal); }
.pricing-table-row .price { font-family: var(--font-display); font-weight: var(--weight-black); color: var(--charcoal); font-size: var(--text-h4); }
.pricing-table-row .price.bulk-price { color: var(--orange-mango); }
.pricing-table-row .min { font-size: var(--text-sm); color: var(--gray-mid); }

/* Bulk calculator */
.bulk-calculator {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-md);
}

.bulk-calculator-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.bulk-calc-icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-warm);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.bulk-calculator-header h3 { margin-bottom: var(--space-1); }
.bulk-calculator-header p { font-size: var(--text-sm); color: var(--gray-mid); }

.calc-qualify-msg { transition: color 0.25s; }
.qualify-yes { color: #16a34a; }
.qualify-no { color: var(--orange-mango); }

.calc-flavor-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-4);
  align-items: start;
  padding: var(--space-5) 0;
  border-bottom: var(--border);
}

.calc-flavor-row:last-of-type { border-bottom: none; margin-bottom: var(--space-6); }

.calc-flavor-info {}
.calc-flavor-name { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-body); color: var(--charcoal); margin-bottom: var(--space-1); }
.calc-flavor-hint { font-size: var(--text-xs); color: var(--gray-mid); }

.calc-input-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-2); }

.calc-qty-input {
  width: 100px;
  padding: 10px 14px;
  font-size: var(--text-body);
  font-weight: var(--weight-semibold);
  text-align: center;
  border: var(--border-width) solid var(--gray-200);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition-fast);
  -moz-appearance: textfield;
}

.calc-qty-input:focus { border-color: var(--orange-mango); }
.calc-qty-input::-webkit-outer-spin-button,
.calc-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.calc-qty-input.error { border-color: var(--red-chili); }

.calc-error {
  font-size: var(--text-xs);
  color: var(--red-chili);
  text-align: right;
  min-height: 16px;
}

.calc-total-area {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
}

.calc-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
}

.calc-total-row:last-child { margin-bottom: 0; }

.calc-total-label { font-size: var(--text-sm); color: var(--gray-dark); }
.calc-total-value { font-weight: var(--weight-semibold); color: var(--charcoal); }

.calc-grand-total .calc-total-label { font-weight: var(--weight-bold); color: var(--charcoal); font-size: var(--text-body); }
.calc-grand-total .calc-total-value { font-family: var(--font-display); font-size: 28px; font-weight: var(--weight-black); color: var(--orange-mango); }

/* ══════════════════════════════════════════════════════════
   CHECKOUT PAGE
   ══════════════════════════════════════════════════════════ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-12);
  align-items: start;
}

.checkout-section {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-bottom: var(--space-6);
}

.checkout-section-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-7);
  padding-bottom: var(--space-5);
  border-bottom: var(--border);
}

.checkout-step-num {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: var(--gradient-warm);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checkout-section-header h3 { font-size: var(--text-h4); }

/* Order summary (checkout sidebar) */
.checkout-summary {
  background: var(--off-white);
  border: var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: sticky;
  top: calc(var(--navbar-height) + var(--space-6));
}

.checkout-summary h3 {
  font-size: var(--text-h4);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: var(--border);
}

.checkout-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) 0;
}

.checkout-item-image {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gray-light);
}

.checkout-item-image img { width: 100%; height: 100%; object-fit: cover; }

.checkout-item-name { font-weight: var(--weight-semibold); font-size: var(--text-sm); color: var(--charcoal); }
.checkout-item-qty { font-size: var(--text-xs); color: var(--gray-mid); margin-top: 2px; }
.checkout-item-price { font-family: var(--font-display); font-weight: var(--weight-bold); color: var(--charcoal); margin-left: auto; white-space: nowrap; }

.checkout-totals {
  border-top: var(--border);
  padding-top: var(--space-5);
  margin-top: var(--space-3);
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
}

.checkout-total-row.grand {
  border-top: var(--border);
  padding-top: var(--space-4);
  margin-top: var(--space-2);
  font-size: var(--text-body);
  font-weight: var(--weight-bold);
}

.checkout-total-row.grand .value {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: var(--weight-black);
  color: var(--charcoal);
}

.checkout-note {
  background: rgba(249,115,22,0.06);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-size: var(--text-xs);
  color: var(--gray-dark);
  line-height: var(--leading-normal);
  margin-top: var(--space-5);
  border-left: 3px solid var(--orange-mango);
}

@media (max-width: 1024px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
}

/* ══════════════════════════════════════════════════════════
   CART PAGE
   ══════════════════════════════════════════════════════════ */
.cart-page-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-12);
  align-items: start;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--gray-mid);
  padding: var(--space-3) var(--space-4);
  border-bottom: var(--border);
  text-align: left;
}

.cart-table td {
  padding: var(--space-5) var(--space-4);
  border-bottom: var(--border);
  vertical-align: middle;
}

.cart-table-product {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.cart-table-image {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gray-light);
}

.cart-table-image img { width: 100%; height: 100%; object-fit: cover; }

.cart-table-name { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-body); color: var(--charcoal); }
.cart-table-variant { font-size: var(--text-xs); color: var(--gray-mid); margin-top: 2px; }

.cart-page-summary {
  background: var(--off-white);
  border: var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: sticky;
  top: calc(var(--navbar-height) + var(--space-6));
}

.cart-page-summary h3 { font-size: var(--text-h4); margin-bottom: var(--space-6); }

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: var(--border);
  padding-top: var(--space-5);
  margin-top: var(--space-3);
  font-weight: var(--weight-bold);
}

.cart-summary-total .total-value {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: var(--weight-black);
  color: var(--charcoal);
}

@media (max-width: 1024px) {
  .cart-page-layout { grid-template-columns: 1fr; }
  .cart-page-summary { position: static; }
  .cart-table th:nth-child(3), .cart-table td:nth-child(3) { display: none; }
}

/* ══════════════════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════════════════ */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-story-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-story-placeholder {
  width: 100%;
  height: 100%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.about-value-card {
  padding: var(--space-6);
  border: var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.about-value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.about-value-emoji { font-size: 28px; margin-bottom: var(--space-3); display: block; }
.about-value-card h4 { font-size: var(--text-body); margin-bottom: var(--space-2); }
.about-value-card p { font-size: var(--text-sm); color: var(--gray-mid); line-height: var(--leading-loose); }

@media (max-width: 768px) {
  .about-story { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   LOGIN PAGE
   ══════════════════════════════════════════════════════════ */
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.login-visual {
  background: var(--gradient-candy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-12);
  position: relative;
  overflow: hidden;
}

.login-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.1);
}

.login-visual-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.login-visual-emoji { font-size: 80px; margin-bottom: var(--space-8); display: block; animation: float 4s ease-in-out infinite; }
.login-visual-content h2 { color: var(--white); font-size: var(--text-h2); margin-bottom: var(--space-4); }
.login-visual-content p { color: rgba(255,255,255,0.85); font-size: var(--text-body-lg); }

.login-form-area {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-12);
  background: var(--white);
}

.login-form-box {
  width: 100%;
  max-width: 420px;
}

.login-tabs {
  display: flex;
  border-bottom: var(--border);
  margin-bottom: var(--space-8);
}

.login-tab {
  flex: 1;
  text-align: center;
  padding: var(--space-4);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  color: var(--gray-mid);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.login-tab.active {
  color: var(--charcoal);
  border-bottom-color: var(--orange-mango);
}

.login-panel { display: none; }
.login-panel.active { display: block; }

.login-divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

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

.login-divider span {
  font-size: var(--text-xs);
  color: var(--gray-mid);
  white-space: nowrap;
}

/* Dashboard area */
.dashboard-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-10);
  align-items: start;
}

.dashboard-nav {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.dashboard-nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--gray-dark);
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  border-bottom: var(--border);
}

.dashboard-nav-item:last-child { border-bottom: none; }
.dashboard-nav-item:hover { background: var(--gray-light); color: var(--charcoal); }
.dashboard-nav-item.active { background: rgba(249,115,22,0.06); color: var(--orange-mango); font-weight: var(--weight-semibold); }
.dashboard-nav-item svg { width: 18px; height: 18px; }

.dashboard-content {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.dashboard-content h3 { margin-bottom: var(--space-6); }

.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  border-bottom: var(--border);
  gap: var(--space-4);
  flex-wrap: wrap;
}

.order-row:last-child { border-bottom: none; }

.order-id { font-weight: var(--weight-semibold); font-size: var(--text-sm); color: var(--charcoal); }
.order-date { font-size: var(--text-xs); color: var(--gray-mid); margin-top: 2px; }
.order-status { padding: 4px 12px; border-radius: var(--radius-full); font-size: var(--text-xs); font-weight: var(--weight-semibold); }
.status-verified { background: rgba(132,204,22,0.12); color: var(--lime); }
.status-pending { background: rgba(249,115,22,0.1); color: var(--orange-mango); }
.order-total { font-family: var(--font-display); font-weight: var(--weight-bold); color: var(--charcoal); }

@media (max-width: 768px) {
  .login-page { grid-template-columns: 1fr; }
  .login-visual { display: none; }
  .dashboard-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.contact-info-card {
  background: var(--charcoal);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  color: var(--white);
  height: 100%;
}

.contact-info-card h3 { color: var(--white); margin-bottom: var(--space-3); }
.contact-info-card .lead { color: rgba(255,255,255,0.7); margin-bottom: var(--space-8); font-size: var(--text-body); }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg { width: 18px; height: 18px; color: var(--orange-mango); }
.contact-detail-label { font-size: var(--text-xs); color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: var(--tracking-wide); margin-bottom: 3px; }
.contact-detail-value { font-size: var(--text-sm); color: var(--white); font-weight: var(--weight-medium); }

.contact-social-row { display: flex; gap: var(--space-3); margin-top: var(--space-8); }

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   SERVICES PAGE
   ══════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.service-card {
  border: var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  background: var(--white);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--orange-mango); }

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--gradient-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: var(--space-6);
}

.service-card h3 { margin-bottom: var(--space-3); }
.service-card p { font-size: var(--text-sm); color: var(--gray-dark); line-height: var(--leading-loose); margin-bottom: var(--space-5); }

.service-features { list-style: none; display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-6); }
.service-features li { font-size: var(--text-sm); color: var(--gray-dark); display: flex; align-items: center; gap: var(--space-2); }
.service-features li::before { content: '✓'; color: var(--orange-mango); font-weight: var(--weight-bold); flex-shrink: 0; }

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .bulk-audience-cards { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   PRICING PAGE
   ══════════════════════════════════════════════════════════ */
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-16);
}

.pricing-card {
  border: var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  background: var(--white);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
}

.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.pricing-card.featured {
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.pricing-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-warm);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-card-title { font-size: var(--text-h4); margin-bottom: var(--space-4); }
.pricing-card.featured .pricing-card-title { color: var(--white); }
.pricing-card-price { font-family: var(--font-display); font-size: 64px; font-weight: var(--weight-black); letter-spacing: var(--tracking-tight); color: var(--charcoal); line-height: 1; margin-bottom: var(--space-2); }
.pricing-card.featured .pricing-card-price { color: var(--orange-mango); }
.pricing-card-unit { font-size: var(--text-sm); color: var(--gray-mid); margin-bottom: var(--space-8); }
.pricing-card.featured .pricing-card-unit { color: rgba(255,255,255,0.5); }
.pricing-card-features { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-8); text-align: left; }
.pricing-card-features li { font-size: var(--text-sm); color: var(--gray-dark); display: flex; align-items: center; gap: var(--space-3); }
.pricing-card.featured .pricing-card-features li { color: rgba(255,255,255,0.8); }
.pricing-card-features li::before { content: '✓'; color: var(--orange-mango); font-weight: var(--weight-bold); flex-shrink: 0; font-size: var(--text-body); }

@media (max-width: 600px) {
  .pricing-cards { grid-template-columns: 1fr; }
}
