@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #FAF9F7;
  --surface: #FFFFFF;
  --surface-alt: #F3F2EF;
  --text: #16191D;
  --text-muted: #5C6470;
  --border: #E6E4DF;
  --primary: #1A1D21;
  --primary-hover: #2E333B;
  --accent: #A97D4F;
  --accent-soft: #F7F1E8;
  --whatsapp: #1DA851;
  --whatsapp-hover: #178F44;
  --success: #15803D;
  --danger: #C53030;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 28px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 22px 54px rgba(15, 23, 42, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  font-family: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }

/* Top Bar */
.top-bar {
  background: var(--primary);
  color: #EAECEF;
  font-size: 13px;
  padding: 9px 16px;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.top-bar-msg span { color: #E2C39B; font-weight: 600; }
.top-bar-links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  color: #CBD2D9;
}
.top-bar-links a:hover, .top-bar-links button:hover { color: #FFFFFF; }
.top-bar-links button {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-size: 12.5px;
}
.admin-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  color: #F3F4F6 !important;
  font-weight: 500;
  transition: background 0.2s;
}
.admin-link-pill:hover { background: rgba(255,255,255,0.2); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.icon-btn:hover { border-color: var(--primary); background: var(--surface-alt); }
.cart-badge {
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--primary);
  color: #FFF;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.mobile-nav {
  display: none;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px 18px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--surface-alt);
}
.mobile-nav a:last-child { border-bottom: none; }

/* Hero */
.hero { padding: 24px 0 18px; }
.hero-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #23272E;
  min-height: 420px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(18, 21, 26, 0.88) 0%, rgba(18, 21, 26, 0.62) 48%, rgba(18, 21, 26, 0.14) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 570px;
  padding: 46px 44px;
  color: #FFFFFF;
}
.hero-tag {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 15px;
  color: #F1D9B8;
}
.hero-content h1 {
  font-size: clamp(27px, 4vw, 41px);
  font-weight: 700;
  line-height: 1.28;
  margin-bottom: 13px;
}
.hero-content p {
  font-size: 15.5px;
  color: #DCE0E5;
  margin-bottom: 24px;
  max-width: 480px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--primary); color: #FFFFFF; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-light { background: #FFFFFF; color: var(--primary); }
.btn-light:hover { background: #F3F4F6; }
.btn-outline-light { background: transparent; color: #FFFFFF; border: 1px solid rgba(255,255,255,0.45); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }
.btn-outline { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); background: var(--surface-alt); }
.btn-whatsapp { background: var(--whatsapp); color: #FFFFFF; }
.btn-whatsapp:hover { background: var(--whatsapp-hover); }

/* Shipping Highlight Banner */
.shipping-banner {
  margin: 14px 0 6px;
  background: var(--accent-soft);
  border: 1px solid #E8D9C5;
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}
.shipping-banner strong { color: #7C552B; }

/* Features Strip */
.features-strip { padding: 14px 0 32px; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 17px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.feature-item h3 { font-size: 14.5px; font-weight: 700; margin-bottom: 3px; }
.feature-item p { font-size: 13px; color: var(--text-muted); line-height: 1.45; }

/* Catalog Controls & Products */
.section { padding: 28px 0 54px; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-head h2 { font-size: 26px; font-weight: 700; margin-bottom: 4px; }
.section-head p { font-size: 14.5px; color: var(--text-muted); }

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-tab {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-tab:hover { border-color: var(--primary); color: var(--text); }
.filter-tab.active { background: var(--primary); border-color: var(--primary); color: #FFFFFF; }

.search-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.search-input, .sort-select {
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  font-size: 13.5px;
  color: var(--text);
}
.search-input { width: 210px; }
.search-input:focus, .sort-select:focus { outline: none; border-color: var(--primary); }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #F4F3F0;
  overflow: hidden;
  cursor: pointer;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.product-card:hover .product-media img { transform: scale(1.04); }
.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  background: var(--primary);
  color: #FFFFFF;
}
.product-badge.sale { background: var(--danger); }
.stock-chip {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(255,255,255,0.92);
  color: var(--text);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.product-body {
  padding: 17px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}
.product-cat { font-size: 12px; color: var(--accent); font-weight: 600; }
.product-rating { font-size: 12px; color: #B45309; font-weight: 600; }
.product-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  cursor: pointer;
}
.product-title:hover { color: var(--accent); }
.product-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 13px;
  line-height: 1.55;
  flex: 1;
}
.product-sizes-preview { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 13px; }
.size-pill {
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--surface-alt);
  color: var(--text-muted);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}
.size-pill:hover { border-color: var(--primary); color: var(--text); }
.size-pill.selected { background: var(--primary); color: #FFFFFF; }
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--surface-alt);
}
.price-box { display: flex; align-items: baseline; gap: 7px; }
.price-current { font-size: 18px; font-weight: 700; color: var(--text); }
.price-old { font-size: 13px; color: #9CA3AF; text-decoration: line-through; }
.btn-card { padding: 9px 14px; font-size: 13.5px; border-radius: 9px; }

/* Reviews Section */
.reviews-section {
  padding: 44px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.review-stars { color: #D97706; font-size: 14px; margin-bottom: 8px; letter-spacing: 1px; }
.review-text { font-size: 14px; color: var(--text); margin-bottom: 12px; line-height: 1.65; }
.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
}
.review-author strong { color: var(--text); font-size: 13.5px; }

/* About, Size Guide & FAQ */
.info-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 50px 0;
}
.info-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: start; }
.info-box h2 { font-size: 24px; margin-bottom: 12px; }
.info-box p { color: var(--text-muted); margin-bottom: 12px; font-size: 14.5px; }
.faq-list { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.faq-item summary {
  padding: 13px 16px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after { content: "+"; font-size: 18px; color: var(--accent); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding: 0 16px 14px;
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
}

.size-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.size-table-wrap h3 { font-size: 16px; margin-bottom: 12px; }
.size-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.size-table th, .size-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.size-table th { background: var(--surface-alt); font-weight: 600; }

/* Footer */
.site-footer {
  background: #14171A;
  color: #D1D5DB;
  padding: 52px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.25fr;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand-name { font-size: 21px; font-weight: 700; color: #FFFFFF; margin-bottom: 8px; }
.footer-desc { font-size: 14px; color: #9CA3AF; margin-bottom: 16px; line-height: 1.7; }
.freelance-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(226, 195, 155, 0.35);
  border-radius: 12px;
  padding: 11px 14px;
  color: #F3F4F6;
}
.freelance-badge .fl-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(226, 195, 155, 0.16);
  color: #E2C39B;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.freelance-badge small { display: block; font-size: 11.5px; color: #9CA3AF; }
.freelance-badge strong { font-size: 14.5px; color: #FFFFFF; letter-spacing: 0.6px; direction: ltr; display: inline-block; }
.footer-col h4 { color: #FFFFFF; font-size: 15.5px; margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.footer-links a { color: #9CA3AF; transition: color 0.2s; }
.footer-links a:hover { color: #FFFFFF; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 14px; color: #D1D5DB; }
.contact-list a:hover { color: #E2C39B; }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  color: #9CA3AF;
}
.payment-pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pay-pill {
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: #E5E7EB;
}

/* Overlays, Cart Drawer & Modals */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
  z-index: 190;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
.backdrop.show { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  max-width: 430px;
  background: var(--surface);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.drawer.open { transform: translateX(0); }
.drawer-header {
  padding: 17px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-header h3 { font-size: 18px; font-weight: 700; }
.close-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  font-size: 18px;
  display: grid;
  place-items: center;
  color: var(--text);
}
.close-btn:hover { background: var(--surface-alt); }

/* Free Shipping Progress Bar in Cart */
.free-ship-bar {
  padding: 12px 20px;
  background: #FBF8F3;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.free-ship-bar.unlocked { background: #F0FDF4; color: #166534; }
.progress-track {
  margin-top: 7px;
  height: 7px;
  border-radius: 999px;
  background: #E5E7EB;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.3s ease;
}
.free-ship-bar.unlocked .progress-fill { background: var(--success); }

.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: #FAFAFA;
}
.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  background: #F4F3F0;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-title { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.cart-item-meta { font-size: 12.5px; color: var(--text-muted); margin-bottom: 8px; }
.cart-item-controls { display: flex; align-items: center; justify-content: space-between; }
.qty-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.qty-box button {
  width: 28px;
  height: 28px;
  border: none;
  background: var(--surface);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
}
.qty-box span { min-width: 28px; text-align: center; font-size: 13.5px; font-weight: 600; }
.remove-link { background: none; border: none; color: var(--danger); font-size: 12.5px; cursor: pointer; }

.coupon-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.coupon-row input {
  flex: 1;
  padding: 8px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13.5px;
  text-transform: uppercase;
}
.coupon-row button {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--primary);
  background: var(--surface);
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
.coupon-row button:hover { background: var(--primary); color: #FFF; }
.coupon-msg { font-size: 12.5px; margin-bottom: 10px; }

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 7px;
  color: var(--text-muted);
}
.summary-row.total {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text);
  padding-top: 8px;
  border-top: 1px dashed var(--border);
  margin-bottom: 13px;
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s ease;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-dialog {
  background: var(--surface);
  width: 100%;
  max-width: 780px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.modal-dialog.checkout-dialog { max-width: 580px; }
.modal-dialog.track-dialog { max-width: 500px; }
.modal-head {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--surface);
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-content { padding: 22px; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; }
.detail-img-wrap { border-radius: 14px; overflow: hidden; background: #F4F3F0; aspect-ratio: 1 / 1; }
.detail-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.specs-list { list-style: none; margin: 14px 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.specs-list li { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; font-size: 13px; }
.specs-list li span { display: block; color: var(--text-muted); font-size: 11.5px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 13.5px; font-weight: 600; color: var(--text); }
.form-group input, .form-group select {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 14px;
  background: #FFFFFF;
  color: var(--text);
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--primary); }

.payment-box { border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.payment-box.disabled-gateway { background: #F9FAFB; border-style: dashed; opacity: 0.94; }
.payment-box-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 5px; }
.status-chip { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #FEF3C7; color: #92400E; }
.payment-box.whatsapp-confirm { background: #F0FDF4; border: 1.5px solid #86EFAC; }
.payment-box h4 { font-size: 14.5px; font-weight: 700; }
.payment-box p { font-size: 13.5px; color: var(--text-muted); }
.checkout-summary { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 14px; margin-bottom: 16px; }

/* Track Order Timeline */
.track-result {
  margin-top: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.track-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.track-step {
  text-align: center;
  padding: 8px 6px;
  border-radius: 8px;
  background: #ECEAE5;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}
.track-step.done { background: #DCFCE7; color: #166534; }

/* Floating WhatsApp & Toast */
.wa-float {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(29, 168, 81, 0.35);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: translateY(-2px); background: var(--whatsapp-hover); }
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  background: var(--primary);
  color: #FFFFFF;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.25s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* Static Policy Pages */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--border); padding: 34px 0; }
.page-hero h1 { font-size: 27px; margin-bottom: 6px; }
.page-hero p { color: var(--text-muted); font-size: 15px; }
.policy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  margin: 28px 0 54px;
}
.policy-card h2 { font-size: 19px; margin: 22px 0 8px; }
.policy-card h2:first-child { margin-top: 0; }
.policy-card p, .policy-card li { color: var(--text-muted); font-size: 15px; margin-bottom: 8px; }
.policy-card ul { padding-right: 20px; margin-bottom: 14px; }

@media (max-width: 992px) {
  .products-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .top-bar-inner { justify-content: center; text-align: center; }
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-card { min-height: 350px; }
  .hero-content { padding: 28px 22px; }
  .products-grid, .features-grid, .reviews-grid, .product-detail-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .search-input { width: 100%; }
  .wa-float span { display: none; }
  .wa-float { padding: 13px; }
}


/* Multi-angle Card Switcher & Detail Gallery */
.card-angle-dots {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 5px;
  z-index: 3;
  background: rgba(24, 27, 32, 0.55);
  padding: 4px 7px;
  border-radius: 999px;
}
.angle-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s;
}
.angle-dot.active {
  background: #FFFFFF;
  width: 16px;
  border-radius: 999px;
}
.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.detail-img-wrap {
  position: relative;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.9);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: background 0.15s;
}
.gallery-nav:hover { background: #FFFFFF; }
.gallery-nav.prev { right: 10px; }
.gallery-nav.next { left: 10px; }
.gallery-counter {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(20, 23, 26, 0.72);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  direction: ltr;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.gallery-thumb {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #F4F3F0;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: border-color 0.15s, transform 0.15s;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumb.active {
  border-color: var(--primary);
}

.reviews-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 860px; }
@media (max-width: 720px) { .reviews-grid-2 { grid-template-columns: 1fr; } }
