
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400&family=Noto+Sans+Arabic:wght@300;400;500;600;700&display=swap');

:root {
  --emerald: #0d5c3f;
  --emerald-deep: #18383E;
  --emerald-light: #122f34;
  --gold: #c8952e;
  --gold-light: #d4a843;
  --gold-pale: #f0d78c;
  --cream: #faf7f2;
  --cream-dark: #f0ebe3;
  --warm-gray: #e2ddd5;
  --text-dark: #1a1a1a;
  --text-muted: #6b6157;
  --white: #ffffff;
  --red: #c53030;
  --red-light: #fc8181;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-serif: 'Inter', -apple-system, sans-serif;
  --font-arabic: 'Noto Sans Arabic', 'Inter', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[dir="rtl"] body {
  font-family: var(--font-arabic);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

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

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: inherit;
}

ul, ol { list-style: none; }

::selection {
  background-color: rgba(200, 149, 46, 0.2);
  color: var(--emerald);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--emerald); }

/* ---- Utility ---- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ---- Announcement Bar ---- */
.announcement-bar {
  background: linear-gradient(135deg, var(--emerald-deep) 0%, var(--emerald) 100%);
  color: var(--gold-pale);
  text-align: center;
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.announcement-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M20 0L40 20L20 40L0 20Z' fill='none' stroke='%23c8952e' stroke-width='0.5' opacity='0.12'/%3E%3C/svg%3E");
  pointer-events: none;
}

.announcement-bar .highlight {
  color: var(--gold);
  font-weight: 700;
}

/* ---- Header / Navigation ---- */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--warm-gray);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--emerald);
  line-height: 1.1;
}

.logo-text small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover { color: var(--emerald); }
.nav-links a.active { color: var(--emerald); font-weight: 600; }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--cream-dark);
  border-radius: 999px;
  padding: 4px;
  border: 1px solid var(--warm-gray);
}

.lang-btn {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: transparent;
  color: var(--text-muted);
  transition: all var(--transition);
}

.lang-btn.active {
  background: var(--emerald);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

/* Currency Selector */
.currency-selector {
  position: relative;
  display: flex;
  align-items: center;
}

.currency-selector-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--cream-dark);
  border: 1px solid var(--warm-gray);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.currency-selector-btn:hover {
  border-color: var(--gold);
  color: var(--emerald);
  background: var(--white);
}

.currency-selector-btn svg {
  width: 12px;
  height: 12px;
  color: var(--text-muted);
  transition: transform var(--transition);
}

.currency-selector.open .currency-selector-btn svg {
  transform: rotate(180deg);
}

.currency-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--warm-gray);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  min-width: 200px;
  overflow: hidden;
  display: none;
  flex-direction: column;
}

.currency-selector.open .currency-dropdown {
  display: flex;
}

[dir="rtl"] .currency-dropdown {
  right: auto;
  left: 0;
}

.currency-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--transition);
  border-bottom: 1px solid var(--cream-dark);
  color: var(--text-dark);
}

.currency-option:last-child {
  border-bottom: none;
}

.currency-option:hover {
  background: var(--cream);
}

.currency-option.active {
  background: var(--cream);
  color: var(--emerald);
  font-weight: 600;
}

.currency-option-left {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.currency-option-code {
  font-weight: 700;
  font-size: 0.85rem;
}

.currency-option-name {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.currency-option-check {
  color: var(--gold);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0;
}

.currency-option.active .currency-option-check {
  opacity: 1;
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--emerald);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.cart-btn:hover {
  background: var(--emerald-deep);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.cart-btn svg {
  width: 18px;
  height: 18px;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--gold);
  color: var(--text-dark);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  border: 2px solid var(--white);
}

.cart-count.hidden { display: none; }

[dir="rtl"] .cart-count {
  right: auto;
  left: -6px;
}

/* ---- Hamburger Menu ---- */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  padding: 8px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.hamburger:hover {
  background: var(--cream-dark);
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

/* Hamburger → X animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Mobile Nav Overlay ---- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1200;
  visibility: hidden;
  pointer-events: none;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 20, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mobile-nav.open {
  visibility: visible;
  pointer-events: all;
}

.mobile-nav.open .mobile-nav-backdrop {
  opacity: 1;
}

/* ---- Mobile Nav Panel ---- */
.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, 88vw);
  height: 100%;
  background: var(--emerald-deep);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[dir="rtl"] .mobile-nav-panel {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}

.mobile-nav.open .mobile-nav-panel {
  transform: translateX(0);
  box-shadow: -20px 0 60px rgba(0,0,0,0.35);
}

[dir="rtl"] .mobile-nav.open .mobile-nav-panel {
  box-shadow: 20px 0 60px rgba(0,0,0,0.35);
}

/* Panel decorative background pattern */
.mobile-nav-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='%23c8952e' stroke-width='0.5' opacity='0.07'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* ---- Panel Header ---- */
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}

.mobile-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-nav-logo .logo-icon {
  width: 34px;
  height: 34px;
}

.mobile-nav-logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.mobile-nav-logo-text small {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.mobile-nav-close {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1.2rem;
  line-height: 1;
  transition: all var(--transition);
  flex-shrink: 0;
}

.mobile-nav-close:hover {
  background: rgba(255,255,255,0.16);
  color: var(--white);
}

/* ---- Panel Nav Links ---- */
.mobile-nav-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 16px 8px;
  position: relative;
  z-index: 1;
}

.mobile-nav-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.35);
  padding: 8px 12px 6px;
  margin-bottom: 4px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: all var(--transition);
  position: relative;
}

.mobile-nav-links a .nav-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.mobile-nav-links a .nav-icon svg {
  width: 18px;
  height: 18px;
  stroke: rgba(255,255,255,0.55);
  transition: stroke var(--transition);
}

.mobile-nav-links a .nav-label {
  flex: 1;
  font-size: 0.975rem;
  font-weight: 500;
}

.mobile-nav-links a .nav-arrow {
  opacity: 0;
  transform: translateX(-6px);
  transition: all var(--transition);
  color: var(--gold);
}

.mobile-nav-links a .nav-arrow svg {
  width: 16px;
  height: 16px;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: rgba(255,255,255,0.07);
  color: var(--white);
}

.mobile-nav-links a:hover .nav-icon,
.mobile-nav-links a.active .nav-icon {
  background: var(--gold);
}

.mobile-nav-links a:hover .nav-icon svg,
.mobile-nav-links a.active .nav-icon svg {
  stroke: var(--white);
}

.mobile-nav-links a:hover .nav-arrow,
.mobile-nav-links a.active .nav-arrow {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav-links a.active {
  background: rgba(200,149,46,0.12);
  color: var(--gold);
}

.mobile-nav-links a.active .nav-icon {
  background: var(--gold);
}

/* Cart link special */
.mobile-nav-cart-link {
  position: relative;
}

.mobile-nav-cart-badge {
  background: var(--gold);
  color: var(--text-dark);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.mobile-nav-cart-badge.hidden { display: none; }

/* ---- Panel Footer (lang + currency) ---- */
.mobile-nav-footer {
  padding: 12px 16px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.mobile-nav-footer-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.mobile-lang-toggle {
  display: flex;
  gap: 4px;
}

.mobile-lang-btn {
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  transition: all var(--transition);
}

.mobile-lang-btn.active {
  background: var(--gold);
  color: var(--text-dark);
  border-color: var(--gold);
}

.mobile-currency-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.mobile-currency-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.mobile-currency-btn svg {
  width: 12px;
  height: 12px;
  transition: transform var(--transition);
}

.mobile-currency-selector.open .mobile-currency-btn svg {
  transform: rotate(180deg);
}

/* Mobile currency dropdown (expands upward inside panel) */
.mobile-currency-selector {
  position: relative;
}

.mobile-currency-dropdown {
  position: absolute;
  bottom: calc(100% + 6px);
  right: 0;
  background: var(--emerald);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  min-width: 180px;
  overflow: hidden;
  display: none;
  flex-direction: column;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.3);
  z-index: 10;
}

.mobile-currency-selector.open .mobile-currency-dropdown {
  display: flex;
}

[dir="rtl"] .mobile-currency-dropdown {
  right: auto;
  left: 0;
}

.mobile-currency-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background var(--transition);
}

.mobile-currency-option:last-child {
  border-bottom: none;
}

.mobile-currency-option:hover {
  background: rgba(255,255,255,0.08);
}

.mobile-currency-option.active {
  background: rgba(200,149,46,0.15);
}

.mobile-currency-option-code {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}

.mobile-currency-option-name {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  margin-top: 1px;
}

.mobile-currency-option-check {
  color: var(--gold);
  width: 14px;
  height: 14px;
  opacity: 0;
}

.mobile-currency-option.active .mobile-currency-option-check {
  opacity: 1;
}

/* ---- Bottom Tab Bar ---- */
.bottom-tab-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--warm-gray);
  z-index: 900;
  height: 64px;
  padding: 0 8px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.bottom-tab-bar-inner {
  display: flex;
  align-items: stretch;
  height: 100%;
  width: 100%;
}

.bottom-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
  padding: 8px 4px 6px;
}

.bottom-tab svg {
  width: 22px;
  height: 22px;
  stroke: var(--text-muted);
  transition: all var(--transition);
}

.bottom-tab span {
  line-height: 1;
}

.bottom-tab.active {
  color: var(--emerald);
}

.bottom-tab.active svg {
  stroke: var(--emerald);
}

.bottom-tab.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2.5px;
  background: var(--gold);
  border-radius: 0 0 3px 3px;
}

.bottom-tab:hover {
  background: var(--cream);
  color: var(--emerald);
}

.bottom-tab:hover svg {
  stroke: var(--emerald);
}

.bottom-tab-cart {
  position: relative;
}

.bottom-tab-badge {
  position: absolute;
  top: 6px;
  right: calc(50% - 18px);
  background: var(--gold);
  color: var(--text-dark);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  border: 1.5px solid var(--white);
  line-height: 1;
}

.bottom-tab-badge.hidden { display: none; }

/* Add page bottom padding when bottom bar is visible */
@media (max-width: 768px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
  .bottom-tab-bar {
    display: flex;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    height: calc(64px + env(safe-area-inset-bottom, 0px));
  }
  .toast {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
}

/* ---- HERO SECTION ---- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--emerald-deep) 0%, var(--emerald) 40%, var(--emerald-light) 100%);
  padding: 80px 0 100px;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 0L80 40L40 80L0 40Z' fill='none' stroke='%23c8952e' stroke-width='0.6' opacity='0.08'/%3E%3Cpath d='M40 10L70 40L40 70L10 40Z' fill='none' stroke='%23c8952e' stroke-width='0.4' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  text-align: center;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-bismillah {
  font-family: var(--font-arabic);
  font-size: 1.3rem;
  color: var(--gold-pale);
  margin-bottom: 16px;
  opacity: 0.9;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero-title .gold {
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--text-dark);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 149, 46, 0.4);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-emerald {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
}

.btn-emerald:hover {
  background: var(--emerald-deep);
  border-color: var(--emerald-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 92, 63, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--emerald);
  border-color: var(--emerald);
}

.btn-outline:hover {
  background: var(--emerald);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

/* Floating Decorations */
.hero-decor {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.hero-crescent {
  top: 40px;
  right: 8%;
  width: 120px;
  height: 120px;
  opacity: 0.15;
}

.hero-lantern {
  bottom: 100px;
  left: 6%;
  width: 80px;
  height: 80px;
  opacity: 0.12;
}

.hero-star {
  top: 60px;
  left: 15%;
  width: 40px;
  height: 40px;
  opacity: 0.1;
}

/* ---- Sale Banner ---- */
.sale-banner {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  background-size: 200% 100%;
  animation: shimmer-bg 4s ease-in-out infinite;
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@keyframes shimmer-bg {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.sale-banner-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--emerald-deep);
}

.sale-banner-text .big {
  font-size: 1.8rem;
  display: inline-block;
  margin: 0 8px;
}

/* ---- Section Styles ---- */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  text-wrap: balance;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Category Cards ---- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid var(--warm-gray);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.category-card-img {
  height: 200px;
  background: #18383E;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.category-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.05), transparent);
}

.category-icon {
  width: 64px;
  height: 64px;
  opacity: 0.4;
}

.category-card-body {
  padding: 24px;
  text-align: center;
}

.category-card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.category-card-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---- Product Grid ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.product-card-img {
  height: 220px;
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--warm-gray) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

.product-placeholder-icon {
  width: 48px;
  height: 48px;
  opacity: 0.25;
}

.discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}

[dir="rtl"] .discount-badge {
  left: auto;
  right: 12px;
}

.ramadan-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--text-dark);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

[dir="rtl"] .ramadan-badge {
  right: auto;
  left: 12px;
}

.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 6px;
}

.product-card-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.4;
}

.product-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
  flex: 1;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  display: flex;
  flex-direction: column;
}

.price-current {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--emerald);
}

.price-original {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.add-to-cart-btn {
  background: var(--emerald);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.add-to-cart-btn:hover {
  background: var(--emerald-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.add-to-cart-btn.added {
  background: var(--gold);
  color: var(--text-dark);
}

.add-to-cart-btn svg {
  width: 16px;
  height: 16px;
}

/* ---- Features / Trust Section ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--warm-gray);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--emerald);
}

.feature-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Deals Section ---- */
.deals-section {
  background: var(--emerald-deep);
  position: relative;
  overflow: hidden;
}

.deals-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpolygon points='30,0 36,22 60,22 40,36 47,58 30,44 13,58 20,36 0,22 24,22' fill='none' stroke='%23c8952e' stroke-width='0.4' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
}

.deals-section .section-label { color: var(--gold-pale); }
.deals-section .section-title { color: var(--white); }
.deals-section .section-desc { color: rgba(255,255,255,0.7); }

.deals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.deal-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(200,149,46,0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: all var(--transition);
}

.deal-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.deal-discount {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 8px;
}

.deal-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.deal-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ---- Shop Page ---- */
.shop-header {
  background: linear-gradient(135deg, var(--emerald-deep) 0%, var(--emerald) 100%);
  padding: 50px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.shop-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M20 0L40 20L20 40L0 20Z' fill='none' stroke='%23c8952e' stroke-width='0.5' opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
}

.shop-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.shop-header h1 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.shop-header p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  position: relative;
  z-index: 2;
}

/* Filters Bar */
.filters-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--warm-gray);
  margin-bottom: 32px;
}

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

.filter-tab {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--white);
  color: var(--text-dark);
  border: 1px solid var(--warm-gray);
  transition: all var(--transition);
}

.filter-tab:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

.filter-tab.active {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--warm-gray);
  border-radius: 999px;
  padding: 10px 20px;
  min-width: 260px;
  transition: border-color var(--transition);
}

.search-box:focus-within {
  border-color: var(--emerald);
}

.search-box svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-box input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.9rem;
  color: var(--text-dark);
  width: 100%;
  font-family: inherit;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.results-count {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0 0 20px;
}

.results-count strong {
  color: var(--emerald);
}

/* ---- Cart Page ---- */
.cart-page-section {
  padding: 40px 0 80px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--warm-gray);
  transition: all var(--transition);
}

.cart-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.cart-item-img {
  width: 100px;
  height: 100px;
  background: var(--cream-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-item-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.cart-item-category {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cart-item-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-price .current {
  font-weight: 700;
  color: var(--emerald);
  font-size: 1rem;
}

.cart-item-price .original {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

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

.qty-btn {
  width: 36px;
  height: 36px;
  background: var(--cream);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all var(--transition);
  border: none;
}

.qty-btn:hover {
  background: var(--emerald);
  color: var(--white);
}

.qty-value {
  width: 44px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--white);
}

.remove-btn {
  background: none;
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.remove-btn:hover {
  background: #fff5f5;
  color: var(--red);
}

.remove-btn svg {
  width: 16px;
  height: 16px;
}

/* Cart Summary */
.cart-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--warm-gray);
  position: sticky;
  top: 100px;
}

.cart-summary-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--warm-gray);
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.95rem;
}

.summary-row.discount {
  color: var(--red);
  font-weight: 600;
}

.summary-row.shipping {
  color: var(--emerald);
}

.summary-divider {
  height: 1px;
  background: var(--warm-gray);
  margin: 12px 0;
}

.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.summary-total .amount {
  color: var(--emerald);
  font-family: var(--font-serif);
  font-size: 1.4rem;
}

.checkout-btn {
  width: 100%;
  margin-top: 20px;
}

.continue-shopping {
  display: block;
  text-align: center;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.continue-shopping:hover {
  color: var(--emerald);
}

/* Empty Cart */
.empty-cart {
  text-align: center;
  padding: 80px 20px;
}

.empty-cart-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  opacity: 0.3;
}

.empty-cart h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.empty-cart p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ---- Checkout Page ---- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
  padding: 40px 0 80px;
}

.checkout-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--warm-gray);
}

.form-section-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--warm-gray);
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section-title svg {
  width: 20px;
  height: 20px;
  color: var(--emerald);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select {
  padding: 12px 16px;
  border: 1px solid var(--warm-gray);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--cream);
  font-family: inherit;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(13, 92, 63, 0.1);
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.card-icons {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.card-icon-img {
  height: 42px;
  padding: 4px 10px;
  background: var(--cream);
  border: 1px solid var(--warm-gray);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.secure-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.secure-badge svg {
  width: 16px;
  height: 16px;
  color: var(--emerald);
}

.place-order-btn {
  width: 100%;
  margin-top: 24px;
}

/* Order Summary in Checkout */
.order-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--warm-gray);
  position: sticky;
  top: 100px;
}

.order-summary-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--warm-gray);
}

.order-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--cream-dark);
}

.order-item:last-of-type { border-bottom: none; }

.order-item-img {
  width: 50px;
  height: 50px;
  background: var(--cream-dark);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-item-details {
  flex: 1;
  min-width: 0;
}

.order-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-item-qty {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.order-item-price {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--emerald);
  flex-shrink: 0;
}

/* Success Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.modal-overlay.show {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  animation: modal-pop 0.4s ease-out;
}

@keyframes modal-pop {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-icon svg {
  width: 40px;
  height: 40px;
  color: var(--white);
}

.modal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.modal-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ---- Footer ---- */
.footer {
  background: var(--emerald-deep);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M20 0L40 20L20 40L0 20Z' fill='none' stroke='%23c8952e' stroke-width='0.5' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.footer-brand .logo-text {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 12px;
  display: block;
}

.footer-brand .logo-text small {
  color: var(--gold);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.footer-heading {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 48px;
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  position: relative;
  z-index: 2;
}

/* ---- Toast Notification ---- */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--emerald);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3000;
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[dir="rtl"] .toast {
  right: auto;
  left: 30px;
}

.toast.show { transform: translateY(0); }

.toast svg {
  width: 20px;
  height: 20px;
}

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--emerald);
  color: var(--white);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  z-index: 100;
}

.back-to-top:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.back-to-top.visible { display: flex; }

/* ---- Cart Item Enhanced Styles ---- */
.cart-items-count {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 500;
}

.cart-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-item-title {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
  transition: color var(--transition);
}

.cart-item-title:hover {
  color: var(--emerald);
}

.cart-item-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
}

.cart-price-original {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.cart-price-current {
  font-weight: 700;
  color: var(--emerald);
  font-size: 1rem;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
}

.cart-item-line-total {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  font-family: var(--font-serif);
}

.cart-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
}

.cart-item-placeholder svg {
  width: 48px;
  height: 48px;
}

.shipping-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-style: italic;
}

.cart-btn-active {
  background: var(--gold);
  color: var(--text-dark);
}

.cart-btn-active:hover {
  background: var(--gold-light);
}

/* ---- Breadcrumb ---- */
.breadcrumb-bar {
  background: var(--cream-dark);
  padding: 14px 0;
  border-bottom: 1px solid var(--warm-gray);
}

.breadcrumb-bar .container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.breadcrumb-bar a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.breadcrumb-bar a:hover {
  color: var(--emerald);
}

.breadcrumb-sep {
  color: var(--warm-gray);
}

.breadcrumb-current {
  color: var(--text-dark);
  font-weight: 600;
}

/* ---- Product Detail Page ---- */
.product-detail-section {
  padding: 40px 0 80px;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.product-detail-image {
  position: sticky;
  top: 100px;
}

.detail-image-wrapper {
  position: relative;
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--warm-gray) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-placeholder {
  width: 120px;
  height: 120px;
  opacity: 0.25;
}

.detail-badge {
  font-size: 0.85rem;
  padding: 6px 14px;
}

.product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-detail-name {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 4px;
}

.product-detail-short-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.product-detail-price {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.detail-price-original {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.detail-price-current {
  font-size: 2rem;
  font-weight: 800;
  color: var(--emerald);
  font-family: var(--font-serif);
}

.detail-price-save {
  background: #fff5f5;
  color: var(--red);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.product-detail-divider {
  height: 1px;
  background: var(--warm-gray);
  margin: 12px 0;
}

.product-detail-qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.qty-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.detail-qty {
  border: 2px solid var(--warm-gray);
}

.detail-qty .qty-btn {
  width: 42px;
  height: 42px;
}

.detail-qty .qty-value {
  width: 52px;
  font-size: 1.1rem;
  font-weight: 700;
}

.detail-add-btn {
  flex: 1;
  min-width: 180px;
}

.detail-add-btn svg {
  width: 20px;
  height: 20px;
}

.detail-section-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.product-detail-long-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.product-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.meta-item {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.meta-value {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.product-tags-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.product-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.product-tag {
  background: var(--cream);
  color: var(--emerald);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--warm-gray);
  text-transform: capitalize;
}

.detail-trust-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--warm-gray);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
}

.trust-badge svg {
  width: 18px;
  height: 18px;
}

.related-section {
  padding-top: 40px;
  padding-bottom: 80px;
  background: var(--cream-dark);
}

.product-card-img-link,
.product-card-title-link {
  text-decoration: none;
  color: inherit;
}

.product-card-title-link:hover .product-card-title {
  color: var(--emerald);
}

.price-save {
  display: block;
  font-size: 0.75rem;
  color: var(--red);
  font-weight: 600;
  margin-top: 2px;
}

/* ---- About Page ---- */
.about-hero {
  background: linear-gradient(160deg, var(--emerald-deep) 0%, var(--emerald) 40%, var(--emerald-light) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 0L80 40L40 80L0 40Z' fill='none' stroke='%23c8952e' stroke-width='0.6' opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
}

.about-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.about-hero-content {
  position: relative;
  z-index: 2;
}

.about-hero h1 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 12px;
}

.about-hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
}

.about-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.about-block-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.about-block-icon svg {
  width: 80px;
  height: 80px;
}

.about-block-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.about-block-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.about-cta {
  background: linear-gradient(135deg, var(--emerald-deep) 0%, var(--emerald) 100%);
  position: relative;
  overflow: hidden;
}

.about-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpolygon points='30,0 36,22 60,22 40,36 47,58 30,44 13,58 20,36 0,22 24,22' fill='none' stroke='%23c8952e' stroke-width='0.4' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
}

.about-cta .container {
  position: relative;
  z-index: 2;
}

/* ---- Ramadan Guide Page ---- */
.guide-hero {
  background: linear-gradient(160deg, var(--emerald-deep) 0%, var(--emerald) 40%, var(--emerald-light) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.guide-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 0L80 40L40 80L0 40Z' fill='none' stroke='%23c8952e' stroke-width='0.6' opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
}

.guide-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.guide-hero-content {
  position: relative;
  z-index: 2;
}

.guide-hero h1 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 12px;
}

.guide-hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
}

.guide-intro {
  text-align: center;
  max-width: 740px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.guide-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--warm-gray);
  transition: all var(--transition);
}

.guide-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.guide-card-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.4;
  margin-bottom: 8px;
  line-height: 1;
}

.guide-card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.guide-card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tip-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--warm-gray);
  display: flex;
  gap: 16px;
  transition: all var(--transition);
}

.tip-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.tip-number {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-light) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.tip-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Responsive additions ---- */
@media (max-width: 1024px) {
  .product-detail-layout { grid-template-columns: 1fr; }
  .product-detail-image { position: static; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .tips-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .guide-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .cart-item-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .product-detail-name { font-size: 1.5rem; }
  .detail-price-current { font-size: 1.5rem; }
  .about-hero h1, .guide-hero h1 { font-size: 1.8rem; }
  .detail-trust-badges { flex-direction: column; }
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
}

@keyframes glow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(200,149,46,0.3)); }
  50% { filter: drop-shadow(0 0 14px rgba(200,149,46,0.6)); }
}

.animate-in {
  animation: fadeInUp 0.6s ease-out both;
}

.float { animation: float 6s ease-in-out infinite; }
.crescent-glow { animation: glow 3s ease-in-out infinite; }

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .deals-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  /* Hide lang + currency from header — they live in the mobile panel */
  .lang-toggle { display: none; }
  .currency-selector { display: none; }
  /* Hide the desktop cart button — replaced by bottom tab bar */
  .cart-btn { display: none; }
  .hero { padding: 60px 0 80px; min-height: auto; }
  .hero-crescent, .hero-lantern, .hero-star { display: none; }
  .categories-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .features-grid { grid-template-columns: 1fr; }
  .deals-grid { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
  .filters-bar { flex-direction: column; align-items: stretch; }
  .search-box { min-width: auto; }
  .cart-item { flex-direction: column; text-align: center; }
  .cart-item-img { width: 100%; height: 120px; }
  .cart-item-actions { flex-direction: column; gap: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .sale-banner-text { font-size: 1rem; }
  .sale-banner-text .big { font-size: 1.4rem; }
  /* Checkout order summary: keep it stacked */
  .checkout-layout { gap: 20px; }
}

@media (max-width: 480px) {
  .header-inner { padding: 12px 16px; }
  .logo-text { font-size: 1.2rem; }
  .hero-title { font-size: 1.8rem; }
  .hero-subtitle { font-size: 1rem; }
  .products-grid { grid-template-columns: 1fr; }
  .btn { padding: 12px 24px; font-size: 0.85rem; }
}
