/* ===== CraveRoots Storefront Styles ===== */
/* Design tokens from landing page */

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

:root {
  --warm-black: #1a1207;
  --deep-amber: #b8860b;
  --golden: #daa520;
  --cream: #faf6ee;
  --warm-white: #fffdf7;
  --spice-red: #c44536;
  --earth-green: #3a5a40;
  --text-primary: #2d2006;
  --text-secondary: #6b5c3e;
  --border: rgba(45, 32, 6, 0.08);
  --shadow-sm: 0 1px 3px rgba(26, 18, 7, 0.06);
  --shadow-md: 0 4px 12px rgba(26, 18, 7, 0.08);
  --shadow-lg: 0 8px 24px rgba(26, 18, 7, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--warm-white);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--warm-black);
  text-decoration: none;
}

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

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(45, 32, 6, 0.04);
}

.nav-link.active {
  color: var(--deep-amber);
  background: rgba(184, 134, 11, 0.08);
}

.nav-cart {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  background: var(--spice-red);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--deep-amber), var(--golden));
  color: var(--warm-black);
  box-shadow: 0 2px 8px rgba(184, 134, 11, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 4px 16px rgba(184, 134, 11, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(45, 32, 6, 0.04);
  color: var(--text-primary);
}

.btn-add-cart {
  background: var(--warm-black);
  color: var(--cream);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-add-cart:hover {
  background: #2d2006;
  transform: scale(1.03);
}

.btn-add-cart:active {
  transform: scale(0.97);
}

/* ===== SHOP PAGE ===== */
.shop-hero {
  background: linear-gradient(165deg, #1a1207 0%, #2d1f0e 50%, #1a1207 100%);
  padding: 4rem 2rem 3rem;
  text-align: center;
}

.shop-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.shop-hero p {
  font-size: 1.1rem;
  color: rgba(250, 246, 238, 0.65);
  margin-bottom: 2rem;
}

.cat-chips {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cat-chip {
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.cat-chip:hover {
  transform: scale(1.05);
}

.shop-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* ===== CATEGORY SECTIONS ===== */
.category-section {
  margin-bottom: 3rem;
}

.category-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
}

.category-emoji {
  font-size: 2.5rem;
  line-height: 1;
}

.category-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
}

.category-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 0.25rem;
}

/* ===== STORE CARDS ===== */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.store-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

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

.store-card-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 80px;
}

.store-emoji {
  font-size: 2rem;
}

.store-rating {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
}

.store-card-body {
  padding: 1.25rem;
}

.store-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.store-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.store-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.store-delivery, .store-min {
  font-weight: 600;
}

/* ===== STORE HERO ===== */
.store-hero {
  padding: 3rem 2rem;
  position: relative;
}

.store-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.back-link {
  display: inline-block;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.back-link:hover {
  opacity: 1;
}

.store-hero-emoji {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.75rem;
}

.store-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.store-hero-desc {
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.store-hero-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== STORE CONTENT ===== */
.store-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.store-search-bar {
  margin-bottom: 2rem;
}

.input-search, .input-search-large {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--warm-white);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.15s;
}

.input-search:focus, .input-search-large:focus {
  border-color: var(--deep-amber);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

.input-search-large {
  padding: 1rem 1.25rem;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.product-section {
  margin-bottom: 2.5rem;
}

/* ===== PRODUCT CARDS ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.product-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all 0.15s ease;
}

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

.product-card.hidden {
  display: none;
}

.product-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.product-subs {
  background: rgba(184, 134, 11, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.sub-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--deep-amber);
}

.sub-option {
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: rgba(184, 134, 11, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.product-unit {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.product-store-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.out-of-stock {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--spice-red);
  opacity: 0.7;
}

/* ===== SEARCH PAGE ===== */
.search-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.search-header {
  margin-bottom: 2rem;
}

.search-header h1 {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.search-form {
  display: flex;
  gap: 0.75rem;
}

.search-form .input-search-large {
  flex: 1;
}

.results-count {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.search-hint {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: center;
  padding: 3rem 0;
}

.no-results {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: center;
  padding: 3rem 0;
}

/* ===== CART PAGE ===== */
.cart-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.cart-page h1 {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

.cart-store-group {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.cart-store-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.cart-store-name {
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.cart-store-name:hover {
  color: var(--deep-amber);
}

.cart-store-delivery {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.cart-item {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.cart-item-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: background 0.1s;
}

.qty-btn:hover {
  background: rgba(184, 134, 11, 0.1);
}

.qty-value {
  width: 40px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.cart-item-total {
  font-size: 1rem;
  font-weight: 800;
}

.cart-item-sub {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sub-label-inline {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--deep-amber);
  white-space: nowrap;
}

.sub-select {
  flex: 1;
  padding: 0.35rem 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--warm-white);
  color: var(--text-primary);
  cursor: pointer;
}

/* ===== CART SUMMARY ===== */
.cart-summary {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 80px;
}

.cart-summary h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.summary-total {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  border-top: 2px solid var(--warm-black);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
}

.btn-checkout {
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.85rem;
  font-size: 1rem;
}

.cart-summary .btn-secondary {
  width: 100%;
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

/* ===== EMPTY CART ===== */
.empty-cart {
  text-align: center;
  padding: 5rem 2rem;
}

.empty-cart-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.empty-cart h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.empty-cart p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* ===== CHECKOUT ===== */
.checkout-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.checkout-page h1 {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

.checkout-fields h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1rem;
  flex: 1;
}

.form-group-sm {
  flex: 0 0 100px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.form-input {
  width: 100%;
  padding: 0.7rem 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--warm-white);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.15s;
}

.form-input:focus {
  border-color: var(--deep-amber);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

.form-textarea {
  min-height: 80px;
  resize: vertical;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.checkout-summary {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 80px;
}

.checkout-summary h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.checkout-items {
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.checkout-note {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 0.75rem;
  line-height: 1.4;
}

/* ===== STRIPE CHECKOUT ===== */
.btn-stripe {
  gap: 0.5rem;
}

.checkout-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.7;
}

.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(26, 18, 7, 0.2);
  border-top-color: var(--warm-black);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* ===== PAYMENT BADGE ===== */
.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.payment-badge.paid {
  background: rgba(58, 90, 64, 0.1);
  color: var(--earth-green);
}

/* ===== CANCEL PAGE ===== */
.order-cancel-icon {
  width: 64px;
  height: 64px;
  background: var(--spice-red);
  color: white;
  font-size: 2rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.order-cancel-message {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.5;
}

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

/* ===== ORDER PAGE ===== */
.order-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  text-align: center;
}

.order-success-icon {
  width: 64px;
  height: 64px;
  background: var(--earth-green);
  color: white;
  font-size: 2rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.order-page h1 {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.order-number-label {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 2rem;
}

.order-details {
  text-align: left;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.order-section {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

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

.order-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.order-section p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.delivery-note {
  font-style: italic;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.order-store-group {
  margin-bottom: 1rem;
}

.order-store-group h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.order-item-row {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.order-pay-note {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--deep-amber);
  text-align: center;
  padding: 1.25rem 1.5rem;
}

/* ===== ORDER STATUS TRACKER ===== */
.order-status-tracker {
  text-align: left;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.status-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  padding-bottom: 1.25rem;
}

.status-step:last-child {
  padding-bottom: 0;
}

.status-step-line {
  position: absolute;
  left: 1.125rem;
  top: 2rem;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.status-step.done .status-step-line,
.status-step.active .status-step-line {
  background: var(--earth-green);
}

.status-step-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  z-index: 1;
  position: relative;
}

.status-step.done .status-step-icon {
  background: var(--earth-green);
  color: white;
  font-size: 0.85rem;
  font-weight: 800;
}

.status-step.active .status-step-icon {
  background: var(--earth-green);
  color: white;
  box-shadow: 0 0 0 4px rgba(45, 80, 22, 0.15);
}

.status-step-body {
  padding-top: 0.4rem;
}

.status-step-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.status-step.done .status-step-label,
.status-step.active .status-step-label {
  color: var(--text-primary);
}

.status-step.active .status-step-label {
  color: var(--earth-green);
}

.status-step-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

.status-cancelled-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fee2e2;
  color: #dc2626;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: 8px;
}

.order-est-delivery {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
}

.order-est-delivery strong {
  color: var(--text-primary);
}

.order-page > .btn {
  margin-top: 2rem;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--warm-black);
  color: var(--cream);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 200;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: var(--shadow-lg);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ===== ERROR PAGE ===== */
.error-page {
  text-align: center;
  padding: 5rem 2rem;
}

.error-page h1 {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.error-page p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 3rem 2rem;
  background: var(--warm-black);
  text-align: center;
  margin-top: auto;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--golden);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(250, 246, 238, 0.35);
}

.footer-location {
  font-size: 0.8rem;
  color: rgba(250, 246, 238, 0.25);
  margin-top: 0.75rem;
}

.footer-store-link {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--golden);
  border: 1px solid rgba(218, 165, 32, 0.3);
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-store-link:hover {
  background: rgba(218, 165, 32, 0.12);
  border-color: var(--golden);
  transform: translateY(-1px);
}

/* ===== NO STORES ===== */
.no-stores {
  color: var(--text-secondary);
  font-style: italic;
  padding: 2rem;
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-group-sm {
    flex: 1;
  }

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

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

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

  .search-form {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .nav-inner {
    padding: 0 1rem;
  }

  .nav-link {
    padding: 0.5rem 0.5rem;
    font-size: 0.8rem;
  }

  .shop-hero {
    padding: 3rem 1.25rem 2rem;
  }

  .shop-content {
    padding: 1.5rem 1rem 3rem;
  }

  .store-content {
    padding: 1.5rem 1rem 3rem;
  }

  .store-hero {
    padding: 2rem 1.25rem;
  }

  .store-hero-meta {
    font-size: 0.8rem;
  }

  .cart-container {
    padding: 1.5rem 1rem 3rem;
  }

  .checkout-page {
    padding: 1.5rem 1rem 3rem;
  }

  .search-page {
    padding: 1.5rem 1rem 3rem;
  }

  .list-store-content {
    padding: 1.5rem 1rem 3rem;
  }

  .list-store-hero {
    padding: 3rem 1.25rem 2.5rem;
  }
}

/* ===== LIST YOUR STORE PAGE ===== */
.list-store-hero {
  background: linear-gradient(165deg, #1a1207 0%, #2d1f0e 50%, #3a2a14 80%, #1a1207 100%);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.list-store-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(218,165,32,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.list-store-hero-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.list-store-badge {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  background: rgba(218,165,32,0.12);
  border: 1px solid rgba(218,165,32,0.25);
  border-radius: 100px;
  color: var(--golden);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1.75rem;
}

.list-store-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 1.25rem;
}

.list-store-hero h1 span {
  background: linear-gradient(135deg, var(--golden) 0%, #f4c430 50%, var(--deep-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.list-store-sub {
  font-size: 1.1rem;
  color: rgba(250,246,238,0.65);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

.list-store-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

/* Benefits */
.list-store-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.benefit-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: transform 0.2s ease;
}

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

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.benefit-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.benefit-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Form section */
.list-store-form-section {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.list-store-form-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.list-store-form .form-group {
  margin-bottom: 1.25rem;
}

.list-store-form .form-input,
.list-store-form select.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--warm-white);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.15s;
}

.list-store-form .form-input:focus {
  border-color: var(--deep-amber);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

/* Checkbox grid */
.checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all 0.15s ease;
  user-select: none;
}

.checkbox-label:hover {
  border-color: var(--deep-amber);
  background: rgba(184, 134, 11, 0.04);
}

.checkbox-label input[type="checkbox"] {
  accent-color: var(--deep-amber);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.checkbox-label:has(input:checked) {
  background: rgba(184, 134, 11, 0.08);
  border-color: var(--deep-amber);
  color: var(--deep-amber);
  font-weight: 600;
}

/* Submit button */
.btn-submit-store {
  width: 100%;
  padding: 0.9rem;
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

/* Success state */
.list-store-success {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.success-icon {
  width: 72px;
  height: 72px;
  background: var(--earth-green);
  color: white;
  font-size: 2.2rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.list-store-success h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.list-store-success p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.success-sub {
  font-size: 0.9rem !important;
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .list-store-benefits {
    grid-template-columns: 1fr;
  }

  .list-store-form-section {
    padding: 1.75rem 1.25rem;
  }

  .list-store-form .form-row {
    flex-direction: column;
    gap: 0;
  }

  .list-store-form .form-group-sm {
    flex: 1;
  }
}

/* ---- Become a Driver Page ---- */

.driver-hero {
  background: linear-gradient(135deg, var(--earth-green) 0%, #3a6b1e 100%);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.driver-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.driver-hero-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

.driver-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.25);
  margin-bottom: 1.25rem;
}

.driver-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.driver-hero h1 span {
  color: var(--warm-amber);
}

.driver-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}

.driver-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.driver-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.benefit-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: box-shadow 0.2s ease;
}

.benefit-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.benefit-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.benefit-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.driver-form-section {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.driver-form-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  text-align: center;
}

.form-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.driver-form .form-row {
  display: flex;
  gap: 1rem;
}

.driver-form .form-group {
  flex: 1;
}

.driver-form .form-group-sm {
  flex: 0 0 120px;
}

.driver-form .form-group-sm:last-child {
  flex: 0 0 120px;
}

.radio-grid {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.45rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all 0.15s ease;
  user-select: none;
}

.radio-label:hover {
  border-color: var(--deep-amber);
  background: rgba(184, 134, 11, 0.04);
}

.radio-label input[type="radio"] {
  accent-color: var(--deep-amber);
  cursor: pointer;
}

.radio-label:has(input:checked) {
  background: rgba(184, 134, 11, 0.08);
  border-color: var(--deep-amber);
  color: var(--deep-amber);
  font-weight: 600;
}

.btn-submit-driver {
  width: 100%;
  padding: 0.9rem;
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

.driver-success {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

/* Footer link spacing */
.footer-store-link {
  display: block;
  margin-top: 0.6rem;
}

/* Responsive */
@media (max-width: 768px) {
  .driver-benefits {
    grid-template-columns: 1fr;
  }

  .driver-form-section {
    padding: 1.75rem 1.25rem;
  }

  .driver-form .form-row {
    flex-direction: column;
    gap: 0;
  }
}
