/* ============================================
   TIENDA.CSS — Or Hajaim Spiritual Shop
   ============================================ */

/* ===== VARIABLES (inherit from styles.css, extend here) ===== */
:root {
  --gold-secondary: #e5c78f;
  --gold-dim: rgba(201,151,58,0.15);
  --store-card-h: 420px;
}

/* ===== PAGE BASE ===== */
body {
  background: var(--blue-deep);
  color: var(--text-light);
}

/* ===== TIENDA HERO ===== */
.tienda-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 140px 0 60px;
  background: linear-gradient(160deg, #0a0f1e 0%, #111827 50%, #1a2744 100%);
}

.tienda-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 120%, rgba(201,151,58,0.18) 0%, transparent 60%),
    url('hero_bg.png') center/cover no-repeat;
  opacity: 0.4;
  z-index: 0;
}

.tienda-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.tienda-hero .section-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 12px;
}

/* Animated gold particles */
.tienda-hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.particle-dot {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(201,151,58,0.6);
  border-radius: 50%;
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* ===== STORE MAIN ===== */
.tienda-main {
  padding: 60px 0 100px;
}

/* ===== STORE CONTROLS ===== */
.store-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.store-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(26,39,68,0.7);
  border: 1px solid rgba(201,151,58,0.3);
  border-radius: 100px;
  padding: 10px 20px;
  flex: 1;
  max-width: 380px;
  transition: border-color 0.3s;
}
.store-search-wrap:focus-within {
  border-color: rgba(201,151,58,0.7);
}
.store-search-wrap svg {
  color: var(--gold-main);
  flex-shrink: 0;
}
.store-search-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-light);
  font-family: inherit;
  font-size: 0.95rem;
  width: 100%;
}
.store-search-input::placeholder {
  color: var(--white-dim);
}

.store-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.store-filter-btn {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid rgba(201,151,58,0.3);
  background: transparent;
  color: var(--white-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}
.store-filter-btn:hover {
  border-color: rgba(201,151,58,0.6);
  background: var(--gold-dim);
  color: var(--gold-secondary);
}
.store-filter-btn.active {
  background: var(--gold-gradient);
  border-color: transparent;
  color: var(--blue-deep);
}

body.light-mode .store-search-wrap {
  background: rgba(240, 235, 220, 0.8);
  border-color: rgba(176, 141, 72, 0.4);
}
body.light-mode .store-search-input { color: #2a241e; }
body.light-mode .store-filter-btn {
  color: #4a3f35;
  border-color: rgba(176, 141, 72, 0.4);
}
body.light-mode .store-filter-btn:hover {
  background: rgba(176, 141, 72, 0.1);
  color: #7a581a;
}

/* ===== PRODUCTS GRID ===== */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

/* ===== STORE PRODUCT CARD ===== */
.store-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}
.store-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 40px rgba(201,151,58,0.2);
  border-color: rgba(201,151,58,0.4);
}

.store-card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #1a2744);
}
.store-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.store-card:hover .store-card-img {
  transform: scale(1.07);
}

.store-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.store-card:hover .store-card-overlay {
  opacity: 1;
}
.store-card-quick-btn {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gold-gradient);
  color: var(--blue-deep);
  border: none;
  border-radius: 100px;
  padding: 10px 24px;
  cursor: pointer;
  transition: all 0.2s;
}
.store-card-quick-btn:hover {
  transform: scale(1.05);
}

.store-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold-gradient);
  color: var(--blue-deep);
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(201,151,58,0.4);
}

.store-card-info {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.store-card-category {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-main);
}
.store-card-name {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.3;
  flex: 1;
}
.store-card-desc {
  font-size: 0.88rem;
  color: var(--white-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.store-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  gap: 12px;
}
.store-card-price {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.store-card-buy-btn {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gold-gradient);
  color: var(--blue-deep);
  border: none;
  border-radius: 100px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.store-card-buy-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(201,151,58,0.4);
}

/* Empty state */
.store-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--white-dim);
}
.store-empty span {
  font-size: 3rem;
  display: block;
  margin-bottom: 16px;
}

/* ===== PRODUCT MODAL ===== */
.product-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(6px);
}
.product-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.product-modal {
  background: linear-gradient(145deg, #111827, #0a0f1e);
  border: 1px solid rgba(201,151,58,0.3);
  border-radius: 24px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,0.8), 0 0 60px rgba(201,151,58,0.12);
  transform: translateY(30px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-modal-overlay.open .product-modal {
  transform: translateY(0) scale(1);
}

body.light-mode .product-modal {
  background: linear-gradient(145deg, #fffcf5, #f5f0e0);
  border-color: rgba(176, 141, 72, 0.4);
  box-shadow: 0 40px 80px rgba(0,0,0,0.15);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 5;
}
.modal-close:hover {
  background: rgba(201,151,58,0.2);
  border-color: rgba(201,151,58,0.4);
  color: var(--gold-light);
}

.product-modal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

@media (max-width: 680px) {
  .product-modal-inner {
    grid-template-columns: 1fr;
  }
}

.modal-img-col {
  position: relative;
}
.modal-img-wrap {
  position: relative;
  height: 100%;
  min-height: 300px;
  overflow: hidden;
  border-radius: 20px 0 0 20px;
}
@media (max-width: 680px) {
  .modal-img-wrap {
    border-radius: 20px 20px 0 0;
    min-height: 250px;
  }
}

.modal-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.modal-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold-gradient);
  color: var(--blue-deep);
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}

.modal-info-col {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-ornament {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white-dim);
  font-size: 0.9rem;
}

.modal-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.3;
  margin: 0;
}
body.light-mode .modal-title { color: #2a241e; }

.modal-desc {
  font-size: 0.92rem;
  color: var(--white-muted);
  line-height: 1.7;
}

.modal-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
}
.modal-price {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Quantity control */
.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(201,151,58,0.3);
  border-radius: 100px;
  overflow: hidden;
}
.qty-btn {
  background: transparent;
  border: none;
  color: var(--gold-light);
  font-size: 1.2rem;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.2s;
  font-weight: 700;
  line-height: 1;
}
.qty-btn:hover { background: rgba(201,151,58,0.15); }
.qty-value {
  min-width: 28px;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: var(--text-light);
  font-size: 1rem;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal-actions .btn-primary-gold,
.modal-actions .btn-secondary-gold {
  justify-content: center;
  width: 100%;
  font-size: 0.9rem;
  padding: 14px 20px;
}

.modal-trust-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.modal-trust-badges span {
  font-size: 0.75rem;
  color: var(--white-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 4px 12px;
}

/* ===== CART DRAWER ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  backdrop-filter: blur(3px);
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  max-width: 95vw;
  background: linear-gradient(160deg, #111827 0%, #0a0f1e 100%);
  border-left: 1px solid rgba(201,151,58,0.25);
  z-index: 2600;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
}
.cart-drawer.open { transform: translateX(0); }

body.light-mode .cart-drawer {
  background: linear-gradient(160deg, #fffcf5, #f0ece0);
  border-left-color: rgba(176, 141, 72, 0.3);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 20px;
  border-bottom: 1px solid rgba(201,151,58,0.2);
}
.cart-header h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
}
.cart-close-btn {
  background: transparent;
  border: none;
  color: var(--white-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}
.cart-close-btn:hover { color: var(--gold-light); }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-empty-msg {
  text-align: center;
  padding: 60px 20px;
  color: var(--white-dim);
}
.cart-empty-msg span { font-size: 2.5rem; display: block; margin-bottom: 12px; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 14px;
  transition: all 0.3s;
}
.cart-item:hover { border-color: rgba(201,151,58,0.2); }

body.light-mode .cart-item {
  background: rgba(0,0,0,0.02);
  border-color: rgba(176, 141, 72, 0.15);
}

.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.cart-item-info {
  flex: 1;
  min-width: 0;
}
.cart-item-name {
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-main);
  margin-top: 4px;
}
.cart-item-qty-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.cart-item-qty-btn {
  background: rgba(201,151,58,0.15);
  border: 1px solid rgba(201,151,58,0.3);
  color: var(--gold-light);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  transition: background 0.2s;
}
.cart-item-qty-btn:hover { background: rgba(201,151,58,0.3); }
.cart-item-qty {
  font-size: 0.9rem;
  color: var(--text-light);
  min-width: 20px;
  text-align: center;
  font-weight: 600;
}
.cart-item-remove {
  background: transparent;
  border: none;
  color: rgba(255,60,60,0.5);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  transition: color 0.2s;
  flex-shrink: 0;
}
.cart-item-remove:hover { color: rgba(255,60,60,0.9); }

.cart-footer {
  padding: 20px 24px 28px;
  border-top: 1px solid rgba(201,151,58,0.2);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-family: 'Cinzel', serif;
}
.cart-total-amount {
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.btn-checkout {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: 0.9rem;
}
.cart-wa-note {
  font-size: 0.75rem;
  color: var(--white-dim);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

/* Cart badge on button */
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--gold-gradient);
  color: var(--blue-deep);
  font-size: 0.62rem;
  font-weight: 800;
  font-family: 'Cinzel', serif;
  min-width: 18px;
  height: 18px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 8px rgba(201,151,58,0.5);
}
.header-cart-custom {
  position: relative;
}

/* Add to cart animation */
@keyframes cartPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
.cart-badge.pulse {
  animation: cartPulse 0.4s ease;
}

/* ===== CHECKOUT MODAL ===== */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(8px);
}
.checkout-overlay.open { opacity: 1; visibility: visible; }

.checkout-modal {
  background: linear-gradient(145deg, #111827, #0a0f1e);
  border: 1px solid rgba(201,151,58,0.35);
  border-radius: 24px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,0.8), 0 0 60px rgba(201,151,58,0.15);
  padding: 40px 36px;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.checkout-overlay.open .checkout-modal {
  transform: scale(1);
}

body.light-mode .checkout-modal {
  background: linear-gradient(145deg, #fffcf5, #f5f0e0);
  border-color: rgba(176, 141, 72, 0.4);
  box-shadow: 0 40px 80px rgba(0,0,0,0.15);
}

/* Steps indicator */
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  gap: 0;
}
.checkout-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(201,151,58,0.3);
  color: var(--white-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.checkout-step.active .step-dot {
  background: var(--gold-gradient);
  border-color: transparent;
  color: var(--blue-deep);
  box-shadow: 0 4px 16px rgba(201,151,58,0.4);
}
.checkout-step.done .step-dot {
  background: rgba(201,151,58,0.2);
  border-color: rgba(201,151,58,0.5);
  color: var(--gold-light);
}
.checkout-step span {
  font-size: 0.72rem;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.08em;
  color: var(--white-dim);
  text-transform: uppercase;
}
.checkout-step.active span { color: var(--gold-main); }

.checkout-step-line {
  height: 2px;
  width: 60px;
  background: rgba(201,151,58,0.2);
  margin-bottom: 22px;
  flex-shrink: 0;
}

/* Panels */
.checkout-panel {
  display: none;
  animation: fadeInUp 0.35s ease;
}
.checkout-panel.active { display: block; }

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

.checkout-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 24px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Step 1 summary */
.checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  max-height: 280px;
  overflow-y: auto;
}
.checkout-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
}
body.light-mode .checkout-item-row {
  background: rgba(0,0,0,0.02);
  border-color: rgba(176, 141, 72, 0.12);
}
.checkout-item-row img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.checkout-item-row-info { flex: 1; }
.checkout-item-row-info .item-nm {
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
}
.checkout-item-row-info .item-qty {
  font-size: 0.78rem;
  color: var(--white-muted);
  margin-top: 3px;
}
.checkout-item-row-price {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: var(--gold-main);
  font-size: 0.9rem;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(201,151,58,0.2);
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  color: var(--text-light);
}
.checkout-total-amount {
  font-size: 1.4rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Step 2 form */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.checkout-field label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-main);
  margin-bottom: 6px;
}
.checkout-field input,
.checkout-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,151,58,0.25);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text-light);
  font-family: 'Lora', serif;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.3s;
  resize: none;
}
.checkout-field input:focus,
.checkout-field textarea:focus {
  border-color: rgba(201,151,58,0.6);
}
body.light-mode .checkout-field input,
body.light-mode .checkout-field textarea {
  background: rgba(255,255,255,0.7);
  border-color: rgba(176, 141, 72, 0.3);
  color: #2a241e;
}

.checkout-nav-btns {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.checkout-nav-btns .btn-secondary-gold,
.checkout-nav-btns .btn-primary-gold {
  flex: 1;
  justify-content: center;
  padding: 13px 20px;
}

/* Step 3 confirm */
.checkout-confirm-summary {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,151,58,0.2);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body.light-mode .checkout-confirm-summary {
  background: rgba(0,0,0,0.02);
  border-color: rgba(176, 141, 72, 0.2);
}
.confirm-row {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--white-muted);
}
.confirm-row strong {
  color: var(--text-light);
  min-width: 110px;
  flex-shrink: 0;
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-main);
}

.checkout-confirm-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(201,151,58,0.07);
  border: 1px solid rgba(201,151,58,0.2);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}
.checkout-confirm-note span { font-size: 1.5rem; flex-shrink: 0; }
.checkout-confirm-note p {
  font-size: 0.85rem;
  color: var(--white-muted);
  line-height: 1.6;
}

.btn-send-whatsapp {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  background-image: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 16px 24px;
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  -webkit-text-fill-color: #fff;
}
.btn-send-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.45);
}

/* ===== LIGHT MODE OVERRIDES FOR TEXT ===== */
body.light-mode .cart-header h3 { color: #2a241e; }
body.light-mode .cart-item-name { color: #2a241e; }
body.light-mode .cart-total-row { color: #2a241e; }
body.light-mode .checkout-title { -webkit-text-fill-color: unset; }
body.light-mode .checkout-step span { color: #5a4e3b; }
body.light-mode .checkout-field input,
body.light-mode .checkout-field textarea { color: #2a241e; }
body.light-mode .store-card-name { color: #1a140e; }
body.light-mode .store-card-desc { color: rgba(44, 37, 29, 0.75); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .store-controls {
    flex-direction: column;
    align-items: flex-start;
  }
  .store-search-wrap { max-width: 100%; }
  .store-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
  .checkout-modal { padding: 28px 20px; }
  .checkout-step-line { width: 30px; }
  .modal-info-col { padding: 24px 20px; }
}
