@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background: #f8fafc;
  color: #1e293b;
}

/* ============ NAVBAR ============ */
.navbar {
  background: white;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: #1e293b;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: white;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
}

.nav-links a:hover { color: #4f46e5; }

.cart-btn {
  position: relative;
  background: #f1f5f9;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e293b;
  transition: 0.2s;
}
.cart-btn:hover { background: #e2e8f0; }

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ef4444;
  color: white;
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: white;
  padding: 80px 24px;
  text-align: center;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.hero-content p { font-size: 17px; opacity: 0.9; }

/* ============ PRODUCTS ============ */
.products {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}

.section-head { text-align: center; margin-bottom: 30px; }
.section-head h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; color: #1e293b; }
.section-head p { color: #64748b; margin-top: 6px; }

/* ============ CATEGORY FILTERS ============ */
.category-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 9px 22px;
  border: 1.5px solid #e2e8f0;
  background: white;
  color: #475569;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.filter-btn:hover {
  border-color: #4f46e5;
  color: #4f46e5;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  border-color: transparent;
  color: white;
  box-shadow: 0 6px 18px rgba(79,70,229,0.35);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }

.product-img {
  height: 200px;
  background: linear-gradient(135deg, #eef2ff, #f5f3ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ef4444;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.product-card:hover .product-photo {
  transform: scale(1.08);
}

.product-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-name { font-size: 16px; font-weight: 600; color: #1e293b; margin-bottom: 4px; }
.product-desc { font-size: 13px; color: #64748b; margin-bottom: 14px; flex: 1; }
.product-foot { display: flex; justify-content: space-between; align-items: center; }

/* ============ PRICE STYLES ============ */
.price-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-price {
  font-size: 18px;
  font-weight: 800;
  color: #4f46e5;
}

.product-old-price {
  font-size: 12px;
  color: #94a3b8;
  text-decoration: line-through;
}

.add-btn {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: white;
  border: none;
  padding: 9px 16px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s;
}
.add-btn:hover { transform: scale(1.05); box-shadow: 0 6px 15px rgba(79,70,229,0.4); }
.add-btn:active { transform: scale(0.95); }

/* ============ CART DRAWER ============ */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.5);
  z-index: 200;
  animation: fadeIn 0.25s;
}
.cart-overlay.show { display: block; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: white;
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0,0,0,0.1);
}
.cart-drawer.show { transform: translateX(0); }

.cart-head { padding: 22px; border-bottom: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; }
.cart-head h3 { font-size: 18px; font-weight: 700; }
.close-cart { background: #f1f5f9; border: none; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 14px; }

.cart-items { flex: 1; overflow-y: auto; padding: 16px 22px; }
.empty-cart { text-align: center; color: #94a3b8; padding: 40px 20px; }

.cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid #f1f5f9; align-items: center; }
.cart-item-img { width: 56px; height: 56px; background: linear-gradient(135deg, #eef2ff, #f5f3ff); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; overflow: hidden; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 600; color: #1e293b; }
.cart-item-price { font-size: 13px; color: #4f46e5; font-weight: 600; margin-top: 2px; }

.qty-controls { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.qty-btn { background: #f1f5f9; border: none; width: 24px; height: 24px; border-radius: 6px; cursor: pointer; font-weight: 700; color: #475569; }
.qty-btn:hover { background: #e2e8f0; }
.qty-num { font-weight: 600; font-size: 13px; min-width: 20px; text-align: center; }
.remove-btn { background: none; border: none; color: #ef4444; cursor: pointer; font-size: 12px; font-weight: 600; padding: 4px; }

.cart-foot { padding: 22px; border-top: 1px solid #e2e8f0; background: #f8fafc; }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 15px; color: #64748b; }
.cart-total strong { font-size: 20px; color: #1e293b; font-weight: 800; }

.checkout-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  box-shadow: 0 6px 18px rgba(79,70,229,0.35);
}
.checkout-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(79,70,229,0.5); }
.checkout-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ============ SOCIAL PROOF NOTIFICATION ============ */
.live-notification {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: white;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  z-index: 1000;
  max-width: 320px;
  border: 1px solid #e2e8f0;
  transform: translateY(150%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.live-notification.show {
  transform: translateY(0);
}

.live-img {
  width: 44px;
  height: 44px;
  background: #f1f5f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  overflow: hidden;
}

.live-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-content {
  flex: 1;
  line-height: 1.4;
}

.live-text {
  font-size: 13px;
  color: #475569;
  margin: 0 0 4px 0;
}

.live-text strong {
  color: #1e293b;
  font-weight: 600;
}

.live-time {
  font-size: 11px;
  color: #94a3b8;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.live-time::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #16a34a;
  border-radius: 50%;
}

.live-close {
  background: none;
  border: none;
  color: #cbd5e1;
  font-size: 12px;
  cursor: pointer;
  padding: 4px;
  align-self: flex-start;
}

.live-close:hover {
  color: #ef4444;
}

/* ============ TOAST ============ */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #16a34a;
  color: white;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(22,163,74,0.4);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ============ CHECKOUT PAGE ============ */
.checkout-page { background: #f8fafc; }

.back-link { color: #64748b; text-decoration: none; font-weight: 500; font-size: 14px; }
.back-link:hover { color: #4f46e5; }

.checkout-container { max-width: 1100px; margin: 0 auto; padding: 40px 24px; }

.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }

.page-title { font-size: 28px; font-weight: 800; margin-bottom: 24px; letter-spacing: -0.5px; }

.checkout-form-col { background: white; padding: 32px; border-radius: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }

.section-title {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 22px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title::after { content: ''; flex: 1; height: 1px; background: #f1f5f9; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; font-weight: 600; color: #475569; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.4px; }
.field label .req { color: #ef4444; }

.input-wrapper { position: relative; }
.input-wrapper input,
.input-wrapper select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  background: #f8fafc;
  outline: none;
  transition: all 0.2s;
  font-family: inherit;
}
.input-wrapper input:focus,
.input-wrapper select:focus { border-color: #4f46e5; background: white; box-shadow: 0 0 0 3px rgba(79,70,229,0.12); }
.input-wrapper.error input,
.input-wrapper.error select { border-color: #ef4444; background: #fef2f2; box-shadow: 0 0 0 3px rgba(239,68,68,0.12); }
.input-wrapper.success input { border-color: #16a34a; background: #f0fdf4; }

.error-msg { display: none; font-size: 12px; color: #ef4444; margin-top: 5px; font-weight: 500; }
.error-msg.show { display: block; }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.toggle-pass { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: #94a3b8; }

.card-type-options { display: flex; gap: 10px; margin-bottom: 6px; }

.type-btn {
  flex: 1;
  padding: 12px 6px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.type-btn:hover, .type-btn.active { border-color: #4f46e5; background: #eef2ff; }
.type-btn svg { width: 44px; height: 22px; }
.type-btn span { font-size: 11px; font-weight: 600; color: #475569; }

.card-type-error { display: none; font-size: 12px; color: #ef4444; margin-bottom: 10px; }
.card-type-error.show { display: block; }

.continue-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 12px;
  box-shadow: 0 6px 18px rgba(79,70,229,0.35);
  transition: 0.2s;
}
.continue-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(79,70,229,0.5); }

.summary-card { background: white; padding: 24px; border-radius: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 90px; }
.summary-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 18px; }

.summary-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f1f5f9; align-items: center; }
.summary-item-img { width: 48px; height: 48px; background: linear-gradient(135deg, #eef2ff, #f5f3ff); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 24px; overflow: hidden; }
.summary-item-info { flex: 1; }
.summary-item-name { font-size: 13px; font-weight: 600; }
.summary-item-qty { font-size: 12px; color: #64748b; }
.summary-item-price { font-size: 13px; font-weight: 700; color: #1e293b; }

.summary-totals { margin-top: 16px; padding-top: 16px; border-top: 2px solid #f1f5f9; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; color: #64748b; margin-bottom: 8px; }
.summary-row.total-row { font-size: 17px; font-weight: 800; color: #1e293b; margin-top: 12px; padding-top: 12px; border-top: 1px solid #e2e8f0; }
.free { color: #16a34a; font-weight: 600; }

/* ============ PAYMENT POPUP ============ */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.7);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  z-index: 999;
  padding: 20px;
}
.overlay.show { display: flex; animation: fadeIn 0.25s; }

.popup {
  width: 100%;
  max-width: 420px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  animation: pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}

@keyframes pop {
  from { transform: scale(0.85) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.popup-header { background: linear-gradient(135deg, #4f46e5, #7c3aed); color: white; padding: 24px; position: relative; overflow: hidden; }
.popup-header::before { content: ''; position: absolute; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,0.08); top: -80px; right: -60px; }

.popup-header .brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; position: relative; z-index: 1; }
.brand-logo-icon { width: 32px; height: 32px; background: white; color: #4f46e5; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.popup-header .order { font-size: 12px; opacity: 0.8; margin-top: 8px; }
.popup-header .amount { font-size: 28px; font-weight: 700; margin-top: 4px; }

.close-btn { position: absolute; top: 18px; right: 18px; background: rgba(255,255,255,0.15); border: none; color: white; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; z-index: 2; }
.close-btn:hover { background: rgba(255,255,255,0.3); transform: rotate(90deg); }

.popup-body { padding: 24px; overflow-y: auto; }

.card-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 32px; opacity: 0; transition: 0.25s; pointer-events: none; }
.card-icon.visible { opacity: 1; }
.card-icon svg { width: 100%; }

.brand-row { display: flex; gap: 8px; margin-bottom: 16px; }

.brand-logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: 0.25s;
  cursor: pointer;
  height: 44px;
}
.brand-logo.active { opacity: 1; filter: grayscale(0%); border-color: #4f46e5; background: #eef2ff; box-shadow: 0 0 0 3px rgba(79,70,229,0.15); }

.pay-now-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(79,70,229,0.35);
}
.pay-now-btn:disabled { opacity: 0.7; cursor: not-allowed; }

.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.4); border-top-color: white; border-radius: 50%; animation: spin 0.7s linear infinite; display: none; }
.pay-now-btn.loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.status-msg { text-align: center; margin-top: 14px; font-size: 13px; font-weight: 500; min-height: 20px; }
.status-msg.success { color: #16a34a; }
.status-msg.error { color: #dc2626; }
.status-msg.loading { color: #64748b; }

.secure-badge { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; color: #94a3b8; margin-top: 14px; padding-top: 14px; border-top: 1px solid #f1f5f9; }

/* ============ SUCCESS ============ */
.success-box { background: white; border-radius: 20px; padding: 48px 32px; max-width: 400px; text-align: center; animation: pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.check-circle { width: 80px; height: 80px; margin: 0 auto 20px; animation: popIn 0.5s ease 0.2s both; }
@keyframes popIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.check-circle path { stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw 0.5s ease 0.5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success-box h2 { font-size: 22px; font-weight: 800; color: #1e293b; margin-bottom: 8px; }
.success-box p { color: #64748b; font-size: 14px; margin-bottom: 6px; }
.order-ref { font-size: 13px; color: #94a3b8 !important; margin: 16px 0 24px !important; }
.back-shop-btn { display: inline-block; padding: 12px 28px; background: linear-gradient(135deg, #4f46e5, #7c3aed); color: white; text-decoration: none; border-radius: 10px; font-weight: 600; font-size: 14px; box-shadow: 0 6px 18px rgba(79,70,229,0.35); }

/* ============ FOOTER ============ */
.site-footer { background: #0f172a; color: #cbd5e1; margin-top: 80px; }

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-brand .logo { color: white; margin-bottom: 16px; }
.footer-desc { font-size: 14px; line-height: 1.7; color: #94a3b8; margin-bottom: 20px; }

.social-row { display: flex; gap: 12px; }
.social-row a { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #cbd5e1; transition: 0.2s; }
.social-row a:hover { background: #4f46e5; color: white; transform: translateY(-2px); }

.footer-col h4 { color: white; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #94a3b8; text-decoration: none; font-size: 14px; transition: 0.2s; }
.footer-col ul li a:hover { color: white; }

.contact-list li { display: flex; align-items: flex-start; gap: 10px; color: #94a3b8; font-size: 14px; line-height: 1.5; }
.contact-list svg { flex-shrink: 0; margin-top: 3px; color: #4f46e5; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-legal a { color: #94a3b8; text-decoration: none; margin: 0 4px; }
.footer-legal a:hover { color: white; }

/* ============ LEGAL PAGES ============ */
.legal-page { padding: 60px 24px 80px; background: #f8fafc; min-height: calc(100vh - 200px); }
.legal-container { max-width: 820px; margin: 0 auto; background: white; padding: 60px; border-radius: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.legal-container h1 { font-size: 36px; font-weight: 800; color: #1e293b; margin-bottom: 8px; letter-spacing: -1px; }
.legal-updated { color: #94a3b8; font-size: 13px; margin-bottom: 32px; }
.legal-lead { font-size: 17px; color: #475569; line-height: 1.7; padding: 16px 20px; background: #f1f5f9; border-left: 4px solid #4f46e5; border-radius: 8px; margin-bottom: 32px; }

.legal-content h2 { font-size: 22px; font-weight: 700; color: #1e293b; margin-top: 36px; margin-bottom: 14px; letter-spacing: -0.3px; }
.legal-content h3 { font-size: 16px; font-weight: 600; color: #334155; margin-top: 20px; margin-bottom: 10px; }
.legal-content p { color: #475569; font-size: 15px; line-height: 1.75; margin-bottom: 14px; }
.legal-content ul, .legal-content ol { padding-left: 24px; margin-bottom: 16px; }
.legal-content li { color: #475569; font-size: 15px; line-height: 1.75; margin-bottom: 8px; }
.legal-content a { color: #4f46e5; text-decoration: none; font-weight: 500; }
.legal-content a:hover { text-decoration: underline; }
.legal-content strong { color: #1e293b; }

/* ============ VALUES & STATS ============ */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0; }
.value-card { padding: 24px; background: #f8fafc; border-radius: 14px; border: 1px solid #e2e8f0; }
.value-icon { font-size: 32px; margin-bottom: 10px; }
.value-card h3 { font-size: 16px; font-weight: 700; color: #1e293b; margin-bottom: 6px; }
.value-card p { font-size: 14px; color: #64748b; line-height: 1.6; margin: 0; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 24px 0; }
.stat { text-align: center; padding: 24px 12px; background: linear-gradient(135deg, #eef2ff, #f5f3ff); border-radius: 14px; }
.stat strong { display: block; font-size: 28px; color: #4f46e5; font-weight: 800; margin-bottom: 4px; }
.stat span { font-size: 12px; color: #64748b; font-weight: 500; }

/* ============ POLICY ELEMENTS ============ */
.policy-highlight { display: flex; gap: 16px; padding: 24px; background: linear-gradient(135deg, #eef2ff, #f5f3ff); border-radius: 16px; margin: 24px 0; border: 1px solid #ddd6fe; }
.policy-icon { font-size: 40px; flex-shrink: 0; }
.policy-highlight h3 { font-size: 18px; font-weight: 700; color: #4f46e5; margin-bottom: 6px; }
.policy-highlight p { font-size: 14px; color: #475569; margin: 0; }

.numbered-steps { padding-left: 0 !important; counter-reset: step; list-style: none; }
.numbered-steps li { counter-increment: step; position: relative; padding-left: 50px; padding-bottom: 20px; margin-bottom: 0 !important; }
.numbered-steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; background: linear-gradient(135deg, #4f46e5, #7c3aed); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }

.policy-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14px; }
.policy-table th { background: #f1f5f9; color: #1e293b; text-align: left; padding: 12px; font-weight: 600; border-bottom: 2px solid #e2e8f0; }
.policy-table td { padding: 12px; border-bottom: 1px solid #f1f5f9; color: #475569; }

/* ============ CONTACT PAGE ============ */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; margin-top: 32px; }
.contact-form-card, .contact-info-card { background: #f8fafc; padding: 32px; border-radius: 16px; border: 1px solid #e2e8f0; }
.contact-form-card h2, .contact-info-card h2 { font-size: 20px; font-weight: 700; color: #1e293b; margin-bottom: 20px; }
.contact-form-card textarea { width: 100%; padding: 12px 14px; border: 1.5px solid #e2e8f0; border-radius: 10px; font-size: 14px; background: white; outline: none; resize: vertical; font-family: inherit; transition: 0.2s; }
.contact-form-card textarea:focus { border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79,70,229,0.12); }

.contact-method { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid #e2e8f0; }
.contact-method:last-child { border-bottom: none; }
.contact-icon { width: 44px; height: 44px; background: white; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; box-shadow: 0 2px 6px rgba(0,0,0,0.05); }
.contact-method h3 { font-size: 14px; font-weight: 700; color: #1e293b; margin-bottom: 4px; }
.contact-method p { font-size: 14px; color: #475569; line-height: 1.5; margin: 0; }
.contact-note { font-size: 12px !important; color: #94a3b8 !important; margin-top: 4px !important; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .legal-container { padding: 40px 24px; }
  .legal-container h1 { font-size: 28px; }
  .values-grid, .stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero-content h1 { font-size: 28px; }
  .products { padding: 40px 16px; }
  .checkout-form-col { padding: 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .values-grid, .stats-grid { grid-template-columns: 1fr; }
  .legal-container { padding: 32px 20px; }
  .live-notification { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}