/* ============================================
   Imobideals — Design System
   ============================================ */

:root {
  /* Brand Colors */
  --color-background: #fafaf9;
  --color-surface: #ffffff;
  --color-surface-alt: #f5f5f4;
  --color-border: #e7e5e4;
  --color-border-hover: #d6d3d1;

  /* Text */
  --color-foreground: #1c1917;
  --color-muted: #78716c;
  --color-subtle: #a8a29e;

  /* Accent */
  --color-accent: #0c0a09;
  --color-accent-hover: #292524;
  --color-accent-foreground: #fafaf9;

  /* Feedback */
  --color-success: #166534;
  --color-success-bg: #f0fdf4;
  --color-error: #991b1b;
  --color-error-bg: #fef2f2;

  /* Layout */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background-color: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

/* ============================================
   Layout
   ============================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }
}

/* ============================================
   Typography
   ============================================ */
.text-display {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--color-foreground);
  text-wrap: balance;
}

.text-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--color-foreground);
  text-wrap: balance;
}

.text-subheading {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.text-body {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-muted);
}

.text-small {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-muted);
}

.text-caption {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--color-subtle);
}

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 249, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo-img {
  height: 3rem;
  width: auto;
}

.site-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
  transition: all 0.2s;
  color: var(--color-foreground);
}

.header-icon-btn svg {
  width: 1rem;
  height: 1rem;
}

.header-icon-btn:hover {
  background: var(--color-surface-alt);
  border-color: var(--color-border-hover);
}

.btn-support {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: #000000;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
}

.btn-support svg {
  width: 1rem;
  height: 1rem;
}

.btn-support:hover {
  background: #000000;
}

/* Search Bar */
.search-bar {
  display: none;
  border-top: 1px solid var(--color-border);
  padding: 0.75rem 0;
  background: var(--color-surface);
}

.search-bar.active {
  display: block;
}

.search-bar-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.625rem 1rem;
}

.search-bar-icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  color: var(--color-subtle);
}

.search-bar-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--color-foreground);
}

.search-bar-input::placeholder {
  color: var(--color-subtle);
}

.search-bar-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--color-muted);
  border-radius: var(--radius-sm);
  transition: color 0.2s;
}

.search-bar-close svg {
  width: 1rem;
  height: 1rem;
}

.search-bar-close:hover {
  color: var(--color-foreground);
}

.search-results {
  margin-top: 0.5rem;
}

.search-results:empty {
  display: none;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
}

.search-result-item:hover {
  background: var(--color-surface-alt);
}

.search-result-item img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.search-result-info {
  display: flex;
  flex-direction: column;
}

.search-result-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-foreground);
}

.search-result-price {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.site-header .back-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: color 0.2s;
}

.site-header .back-link:hover {
  color: var(--color-foreground);
}

.back-link svg {
  width: 1rem;
  height: 1rem;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.6) 40%,
      rgba(0, 0, 0, 0.35) 70%,
      rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0 4rem;
  text-align: center;
  max-width: 52rem;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
}

.hero-title {
  color: #fff;
  margin-bottom: 1rem;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.75);
  max-width: 28rem;
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  text-align: center;
  margin: 1rem auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-support {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: #000000;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
}

.btn-hero-support svg {
  width: 1.125rem;
  height: 1.125rem;
}

.btn-hero-support:hover {
  background: #1da851;
}

.btn-hero-support:active {
  transform: scale(0.98);
}

.btn-hero-shop {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.btn-hero-shop svg {
  width: 1rem;
  height: 1rem;
}

.btn-hero-shop:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-hero-shop:active {
  transform: scale(0.98);
}

/* Trust Bar - removed */

/* ============================================
   Duo Grid (Why Choose Us + Special)
   ============================================ */
.duo-grid-section {
  padding: 5rem 0;
}

.duo-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .duo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.duo-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.duo-card:hover {
  transform: translateY(-4px);
}

.duo-card-inner {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.duo-card-dark {
  background: #0c0a09;
  color: #fafaf9;
}

.duo-card-logo {
  width: 7rem;
  margin-bottom: 1.5rem;
  filter: invert(1);
}

.duo-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
}

.duo-card-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.duo-point {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(250, 250, 249, 0.85);
}

.duo-point-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  color: #25d366;
}

.duo-card-special {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.duo-card-special:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-lg);
}

.duo-special-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--color-foreground);
  color: var(--color-accent-foreground);
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.duo-special-product {
  margin: 1rem 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.duo-special-product .product-card {
  max-width: 240px;
  width: 100%;
  margin: 0 auto;
  border: none;
  box-shadow: none;
}

.duo-special-note {
  font-size: 0.8125rem;
  color: var(--color-muted);
  text-align: center;
  line-height: 1.5;
}

.duo-card-glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   Product Sections
   ============================================ */
.products-section {
  padding: 5rem 0;
}

.products-section.alt-bg {
  background: var(--color-surface);
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* ============================================
   Product Card
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}

@media (min-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-md);
}

.product-card-image {
  padding: 2rem 1.5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  position: relative;
}

.product-card-image img {
  max-height: 160px;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-condition {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-subtle);
  margin-bottom: 0.375rem;
}

.product-card-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.product-card-price {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 1.25rem;
  margin-top: auto;
}

.product-card-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.625rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-foreground);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all 0.2s;
  text-decoration: none;
}

.product-card-btn:hover {
  background: var(--color-foreground);
  color: var(--color-accent-foreground);
  border-color: var(--color-foreground);
}

/* ============================================
   Special Offer
   ============================================ */
.special-offer-wrapper {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  background: var(--color-surface);
  text-align: center;
}

.special-offer-wrapper .text-heading {
  margin-bottom: 2rem;
}

.special-offer-wrapper .product-card {
  max-width: 280px;
  margin: 0 auto;
}

/* ============================================
   Process Section
   ============================================ */
.process-section {
  padding: 5rem 0;
  background: var(--color-surface);
}

.process-header {
  text-align: center;
  margin-bottom: 3rem;
}

.process-header .text-subheading {
  margin-bottom: 0.75rem;
}

.process-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .process-grid {
    flex-wrap: nowrap;
    gap: 2rem;
  }
}

.process-step {
  text-align: center;
  flex: 0 1 12rem;
}

.process-step-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-xl);
  background: var(--color-foreground);
  color: var(--color-accent-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: transform 0.3s;
}

.process-step:hover .process-step-icon {
  transform: scale(1.08);
}

.process-step-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.process-step-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 0.375rem;
}

.process-step-desc {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-muted);
}

.process-step-divider {
  display: none;
  align-items: center;
  justify-content: center;
  padding-top: 1.25rem;
  color: var(--color-subtle);
}

@media (min-width: 768px) {
  .process-step-divider {
    display: flex;
  }
}

.process-step-divider svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent-foreground);
  background: var(--color-accent);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-primary.btn-full {
  width: 100%;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-foreground);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--color-surface-alt);
  border-color: var(--color-border-hover);
}

/* ============================================
   Product Detail Page
   ============================================ */
.product-detail {
  padding: 2.5rem 0 5rem;
}

.product-detail-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .product-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.product-gallery-main {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}

@media (min-width: 768px) {
  .product-gallery-main {
    min-height: 420px;
  }
}

.product-gallery-main img {
  max-height: 320px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s;
}

@media (min-width: 768px) {
  .product-gallery-main img {
    max-height: 380px;
  }
}

.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.color-swatch {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.color-swatch:hover {
  border-color: var(--color-foreground);
}

.color-swatch.selected {
  border-color: var(--color-foreground);
  box-shadow: none;
  outline: 2px solid var(--color-foreground);
  outline-offset: 2px;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .product-info {
    position: sticky;
    top: 6rem;
  }
}

.product-info-name {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-foreground);
}

.product-info-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-foreground);
}

.product-info-specs {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-muted);
}

.product-info-description {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-foreground);
}

.product-info-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-muted);
  padding: 0.875rem 1rem;
  background: var(--color-surface-alt);
  border-radius: var(--radius-md);
}

.product-info-badge svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* ============================================
   Checkout Page
   ============================================ */
.checkout-section {
  padding: 2.5rem 0 5rem;
}

.checkout-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .checkout-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.checkout-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

@media (min-width: 768px) {
  .checkout-card {
    padding: 2.5rem;
  }
}

.checkout-card .text-heading {
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--color-foreground);
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--color-foreground);
  box-shadow: 0 0 0 3px rgba(28, 25, 23, 0.08);
}

.form-input::placeholder {
  color: var(--color-subtle);
}

select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.checkout-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.checkout-trust-badge {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--color-subtle);
}

.checkout-trust-badge svg {
  width: 0.875rem;
  height: 0.875rem;
}

/* Order Summary */
.order-summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

@media (min-width: 1024px) {
  .order-summary {
    position: sticky;
    top: 6rem;
  }
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0;
  font-size: 0.9375rem;
}

.order-summary-row .label {
  color: var(--color-muted);
}

.order-summary-row .value {
  font-weight: 600;
  color: var(--color-foreground);
}

.order-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--color-border);
}

.order-summary-total .label {
  font-weight: 600;
  color: var(--color-foreground);
}

.order-summary-total .value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-foreground);
}

.order-summary-note {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--color-surface-alt);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  color: var(--color-muted);
  text-align: center;
  line-height: 1.5;
}

/* ============================================
   Status Pages (Thank You / Failed)
   ============================================ */
.status-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.status-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 3rem;
  text-align: center;
  max-width: 28rem;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.status-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.status-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.status-icon.success {
  background: var(--color-success-bg);
  color: var(--color-success);
}

.status-icon.error {
  background: var(--color-error-bg);
  color: var(--color-error);
}

.status-card .text-heading {
  margin-bottom: 0.5rem;
}

.status-card .text-body {
  margin-bottom: 2rem;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: #000000;
  color: var(--color-subtle);
  padding: 2.5rem 0;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.site-footer-top {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer-logo-img {
  height: 1.75rem;
  width: auto;
  filter: invert(1);
}

.site-footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .site-footer-bottom {
    flex-direction: row;
    gap: 2rem;
  }
}

.site-footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8125rem;
}

.site-footer-links a {
  color: var(--color-subtle);
  transition: color 0.2s;
}

.site-footer-links a:hover {
  color: var(--color-surface);
}

.site-footer-copy {
  font-size: 0.75rem;
  color: var(--color-subtle);
}

.footer-agency-link {
  color: var(--color-subtle);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.footer-agency-link:hover {
  color: var(--color-surface);
}

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

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

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.fade-in-up:nth-child(1) {
  animation-delay: 0s;
}

.fade-in-up:nth-child(2) {
  animation-delay: 0.1s;
}

.fade-in-up:nth-child(3) {
  animation-delay: 0.2s;
}

.fade-in-up:nth-child(4) {
  animation-delay: 0.3s;
}

/* Stagger for product cards */
.product-card.fade-in-up:nth-child(1) {
  animation-delay: 0.05s;
}

.product-card.fade-in-up:nth-child(2) {
  animation-delay: 0.1s;
}

.product-card.fade-in-up:nth-child(3) {
  animation-delay: 0.15s;
}

.product-card.fade-in-up:nth-child(4) {
  animation-delay: 0.2s;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Terms Page
   ============================================ */
.terms-page {
  padding: 4rem 0 5rem;
}

.terms-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.terms-section h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 0.75rem;
}

.terms-section p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

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

.terms-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0.75rem 0;
}

.terms-section li {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-muted);
  margin-bottom: 0.375rem;
}

.terms-section strong {
  color: var(--color-foreground);
  font-weight: 600;
}