:root {
  --gold-50:   #FFF9E6;
  --gold-100: #FFF0B3;
  --gold-200: #FFE066;
  --gold-400: #F5C518;
  --gold-500: #D4A017;
  --gold-700: #9A6F00;
  --gold-900: #5C3D00;
  --cream:    #FAF6EE;
  --cream-dark: #F0E8D5;
  --brown-800: #2B1800;
  --brown-900: #1A0D00;
  --white: #FFFFFF;
  --gray-100: #F5F5F5;
  --gray-400: #999;
  --gray-600: #555;
  --font-ar: 'Cairo', 'Tajawal', sans-serif;
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-full: 999px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 36px rgba(0,0,0,0.14);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.3s var(--ease-smooth);
  --navbar-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ar);
  background: var(--white);
  color: var(--brown-800);
  direction: rtl;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

.container {
  width: min(1280px, 100% - 48px);
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-ar);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold-500);
  color: var(--white);
  border-color: var(--gold-500);
}
.btn-primary:hover { background: var(--gold-700); border-color: var(--gold-700); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--brown-800);
  border-color: var(--brown-800);
}
.btn-outline:hover { background: var(--brown-800); color: var(--white); }

.btn-gold {
  background: var(--gold-400);
  color: var(--brown-900);
  border-color: var(--gold-400);
  font-size: 1rem;
}
.btn-gold:hover { background: var(--gold-500); }

.w-full { width: 100%; }

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-dark);
  height: var(--navbar-h);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
}
.logo-ar { font-size: 1.25rem; font-weight: 900; color: var(--gold-700); }
.logo-en { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em; color: var(--gold-500); text-transform: uppercase; }

.nav-links { display: flex; gap: 36px; }
.nav-links a { font-size: 0.95rem; font-weight: 600; color: var(--gray-600); transition: color var(--transition); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--gold-500); transform: scaleX(0); transform-origin: right; transition: transform var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--gold-700); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-full); color: var(--gray-600); transition: all var(--transition); position: relative; }
.icon-btn:hover { background: var(--gold-50); color: var(--gold-700); }

.cart-count { position: absolute; top: 2px; left: 2px; background: var(--gold-500); color: var(--white); font-size: 0.6rem; font-weight: 700; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: var(--brown-800); border-radius: 2px; transition: all var(--transition); }

.mobile-menu { display: none; flex-direction: column; background: var(--white); border-top: 1px solid var(--cream-dark); padding: 16px 24px; gap: 16px; }
.mobile-menu a { font-size: 1rem; font-weight: 600; color: var(--gray-600); padding: 8px 0; border-bottom: 1px solid var(--cream-dark); }
.mobile-menu.open { display: flex; }

.hero { 
  min-height: 100vh; 
  background-color: #FBE6A2; 
  background-image: 
    linear-gradient(180deg, rgba(251,230,162,0.65) 0%, rgba(248,213,72,0.35) 100%),
    url('1.png');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  position: relative; 
  display: flex; 
  align-items: center; 
  padding-top: var(--navbar-h); 
  overflow: hidden; 
}
.hero-inner { position: relative; z-index: 2; }

.hero-inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 48px; 
  padding-block: 80px 120px; 
}

.hero-text { 
  flex: 1; 
  max-width: 600px; 
}

.hero-badge { 
  display: inline-block; 
  background: #FFF; 
  color: #555; 
  font-size: 0.85rem; 
  font-weight: 700; 
  padding: 8px 24px; 
  border-radius: var(--radius-full); 
  margin-bottom: 24px; 
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.hero-title {
  font-size: clamp(2.75rem, 7vw + 1rem, 7.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: #1A0D00;
  margin-bottom: 15px;
}

.hero-title span { 
  color: #FFFFFF; 
  text-shadow: 2px 4px 15px rgba(0,0,0,0.08); 
}

.hero-subtitle {
  color: #241700;
  font-weight: 800;
  letter-spacing: 3px;
  font-size: 1.05rem;
  margin-bottom: 12px;
  text-shadow: 0 1px 3px rgba(255,255,255,0.65);
}

.hero-desc { 
  font-size: 1.1rem; 
  line-height: 1.8; 
  color: #241700; 
  margin-bottom: 36px; 
  max-width: 420px; 
  font-weight: 700; 
  text-shadow: 0 1px 3px rgba(255,255,255,0.6);
}

.hero-buttons .btn-primary {
  background: #C49A16; 
  border-color: #C49A16;
  padding: 16px 40px;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(196, 154, 22, 0.3);
}
.hero-buttons .btn-primary:hover {
  background: #A67C00;
  transform: translateY(-3px);
}

.hero-visual { 
  flex-shrink: 0; 
  position: relative; 
  width: 450px; 
}

.hero-ring { 
  width: 420px; 
  height: 420px; 
  border-radius: 50%; 
  background: #FFF; 
  border: 15px solid rgba(255, 255, 255, 0.4); 
  overflow: hidden; 
  box-shadow: 0 25px 60px rgba(0,0,0,0.12); 
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 5s ease-in-out infinite;
}

.hero-ring img { 
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  transform: scale(1.18) !important;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-price-tag { 
  position: absolute; 
  top: 60px; 
  left: -50px; 
  background: var(--white); 
  border-radius: 16px; 
  padding: 14px 28px; 
  box-shadow: 0 12px 35px rgba(0,0,0,0.1); 
  display: flex; 
  flex-direction: column; 
  align-items: center;
  font-weight: 700; 
  min-width: 140px; 
  border: 1px solid rgba(0,0,0,0.02);
}
.tag-name { font-size: 0.9rem; color: #777; margin-bottom: 6px; }
.tag-price { font-size: 1.4rem; color: #D4A017; font-weight: 900; }

.hero-rating { 
  position: absolute; 
  bottom: 60px; 
  left: -20px; 
  background: #A67C00; 
  color: var(--white); 
  border-radius: 12px; 
  padding: 12px 24px; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  font-size: 0.9rem; 
  font-weight: 700; 
  box-shadow: 0 10px 25px rgba(166, 124, 0, 0.3); 
}
.stars { font-size: 1.2rem; color: #FFD700; margin-bottom: 4px; letter-spacing: 2px;}
.hero-wave { display: none; }

.features { 
  background: var(--white); 
  padding: 50px 0; 
}
.features-grid { 
  display: flex; 
  justify-content: center; 
  flex-wrap: wrap; 
  gap: 24px; 
}
.feature-card { 
  background: var(--white); 
  border-radius: 50px; 
  padding: 16px 50px; 
  text-align: center; 
  border: 2px solid #EAEAEA; 
  transition: all var(--transition); 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px; 
  min-width: 200px; 
}
.feature-card:hover { 
  border-color: var(--gold-400); 
  transform: translateY(-3px); 
  box-shadow: 0 6px 15px rgba(212, 160, 23, 0.1); 
}
.feature-svg {
  width: 32px;
  height: 32px;
  color: var(--gold-400);
}
.feature-card h3 { 
  font-size: 1.05rem; 
  font-weight: 800; 
  color: var(--brown-800); 
  margin: 0; 
}

.sidebar-heading { border-left: 4px solid var(--gold-500); padding-left: 10px; color: var(--brown-800); font-weight: 800; font-size: 1.4rem; margin-bottom: 20px; }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 900; color: var(--brown-800); margin-bottom: 10px; }
.section-header p { font-size: 0.95rem; color: var(--gray-600); }
.section-header--row { display: flex; align-items: flex-end; justify-content: space-between; text-align: right; }
.section-header--row > div { text-align: right; }
.view-all { font-size: 0.9rem; font-weight: 700; color: var(--gold-700); white-space: nowrap; transition: color var(--transition); }
.view-all:hover { color: var(--gold-900); }

.categories { padding: 80px 0; background: var(--white); }
.cat-grid { 
  display: flex; 
  justify-content: flex-start; 
  flex-wrap: nowrap; 
  gap: 20px; 
  overflow-x: auto; 
  padding: 10px 5px 25px 5px; 
  scrollbar-width: none; 
}
.cat-grid::-webkit-scrollbar { 
  display: none; 
}
.cat-item { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 12px; 
  cursor: pointer; 
  transition: transform var(--transition); 
  text-align: center; 
  flex-shrink: 0; 
}
.cat-item:hover { transform: translateY(-4px); }

.cat-circle {
  width: clamp(76px, 19vw, 105px);
  height: clamp(76px, 19vw, 105px);
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--gold-100);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(212, 160, 23, 0.12);
  transition: all 0.3s ease;
  overflow: hidden;
  margin-bottom: 8px;
}
.cat-item:hover .cat-circle {
  border-color: var(--gold-400);
  box-shadow: 0 10px 30px rgba(212, 160, 23, 0.25);
  transform: translateY(-3px);
}
.cat-circle img {
  width: 80%; 
  height: 80%;
  object-fit: contain;
}
.cat-item span { font-size: 0.95rem; font-weight: 700; color: var(--brown-800); }

.featured { padding: 80px 0; background: var(--cream); }
.shop-products { padding: 60px 0 80px; background: var(--cream); }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.products-grid--shop { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.product-card { 
  background: var(--white); 
  border-radius: var(--radius-lg); 
  overflow: hidden; 
  box-shadow: var(--shadow-card); 
  transition: all var(--transition); 
  position: relative; 
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: 400px !important;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.product-img { position: relative; height: 200px; overflow: hidden; background: var(--cream-dark); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-img img { transform: scale(1.06); }

.product-badge { position: absolute; top: 12px; right: 12px; background: var(--gold-500); color: var(--white); font-size: 0.7rem; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-full); }
.product-badge.new { background: #2ecc71; }
.product-badge.sold { background: #9A6F00; }
.product-badge.out-of-stock-badge { top: 12px; right: auto; left: 12px; background: #6b6b6b; }

.product-card.out-of-stock { cursor: default; }
.product-card.out-of-stock:hover { transform: none; box-shadow: var(--shadow-card); }
.product-card.out-of-stock .product-img img { filter: grayscale(70%); opacity: 0.7; }

.product-body { padding: 18px 18px 16px; flex-grow: 1; display: flex; flex-direction: column; }
.product-name { font-size: 1.05rem; font-weight: 800; color: var(--brown-800); margin-bottom: 6px; }
.product-meta { font-size: 0.8rem; color: var(--gray-600); margin-bottom: 4px; }
.product-sizes { font-size: 0.75rem; color: var(--gray-400); margin-bottom: 12px; }

.product-footer { 
  display: flex !important; 
  flex-direction: row-reverse !important; 
  justify-content: flex-end !important;   
  gap: 6px !important;
  margin-top: auto !important;             
  padding-right: 15px !important;          
  padding-bottom: 15px !important;         
}

.product-price { font-size: 1rem; font-weight: 800; color: var(--gold-700); direction: ltr; display: flex; align-items: baseline; gap: 4px; }
.price-label { font-size: 0.75rem; font-weight: 600; color: var(--gray-600); }

.add-cart-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-500); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: all var(--transition); box-shadow: 0 4px 12px rgba(212,160,23,0.4); }
.add-cart-btn:hover { background: var(--gold-700); transform: scale(1.06); }
.rating-row { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--gray-600); margin-bottom: 10px; }
.star { color: var(--gold-400); }

.shop-controls { background: var(--white); padding: 28px 0; border-bottom: 1px solid var(--cream-dark); position: sticky; top: var(--navbar-h); z-index: 50; }
.shop-controls-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn { padding: 8px 20px; border-radius: var(--radius-full); font-size: 0.85rem; font-weight: 600; font-family: var(--font-ar); color: var(--brown-800); background: var(--cream); border: 1.5px solid var(--cream-dark); transition: all var(--transition); }
.filter-btn:hover, .filter-btn.active { background: var(--gold-500); color: var(--white); border-color: var(--gold-500); }
.sort-select { padding: 8px 16px; border-radius: var(--radius-full); border: 1.5px solid var(--cream-dark); font-family: var(--font-ar); font-size: 0.85rem; color: var(--brown-800); background: var(--white); cursor: pointer; outline: none; }
.sort-select:focus { border-color: var(--gold-400); }

.cart-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 200; }
.cart-overlay.open { display: block; }
.cart-drawer { position: fixed; top: 0; left: 0; width: 360px; height: 100vh; background: var(--white); z-index: 201; transform: translateX(-100%); transition: transform 0.3s ease; display: flex; flex-direction: column; }
.cart-drawer.open { transform: translateX(0); }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 24px; border-bottom: 1px solid var(--cream-dark); }
.cart-header h3 { font-size: 1.2rem; font-weight: 800; }
.close-cart { width: 32px; height: 32px; border-radius: 50%; background: var(--gray-100); font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.close-cart:hover { background: var(--cream-dark); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-item { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--cream-dark); }
.cart-item-img { width: 60px; height: 60px; border-radius: var(--radius-sm); object-fit: cover; background: var(--cream-dark); }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.cart-item-price { font-size: 0.85rem; color: var(--gold-700); font-weight: 700; }
.cart-item-remove { color: var(--gray-400); font-size: 1.1rem; transition: color var(--transition); }
.cart-item-remove:hover { color: #e74c3c; }
.cart-empty { text-align: center; padding: 60px 0; color: var(--gray-400); font-size: 0.95rem; }
.cart-footer { padding: 24px; border-top: 1px solid var(--cream-dark); }
.cart-total { font-size: 1.1rem; font-weight: 800; color: var(--brown-800); margin-bottom: 16px; display: flex; align-items: center; gap: 6px; }
.cart-total span { color: var(--gold-700); }

.product-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: none; justify-content: center; align-items: center; z-index: 1000; }
.product-modal-overlay.open { display: flex; }
.product-modal { width: 90%; max-width: 700px; background: white; border-radius: 20px; padding: 24px; max-height: 90vh; overflow-y: auto; position: relative; }
.close-modal { position: absolute; top: 15px; left: 15px; font-size: 24px; }
.modal-image { width: 100%; max-height: 300px; object-fit: contain; }
.size-option { padding: 10px; margin: 5px 0; border: 1px solid #ddd; border-radius: 10px; cursor: pointer; }
.size-option.active { border-color: gold; background: #fff8dc; }
.qty-controls { display: flex; gap: 10px; align-items: center; margin-top: 15px; }
.qty-btn { width: 35px; height: 35px; border-radius: 50%; background: gold; }
.modal-footer-row { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; gap: 15px; }
.modal-total { font-size: 22px; font-weight: 700; color: #8b6508; }
.modal-cart-btn { background: #d4a017; color: white; border: none; border-radius: 12px; padding: 10px 18px; font-size: 14px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.modal-cart-btn:hover { transform: translateY(-2px); }
.modal-cart-btn:active { transform: scale(0.96); }

.footer { background: var(--brown-900); color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer .nav-logo { margin-bottom: 16px; }
.footer .logo-ar { color: var(--gold-400); }
.footer .logo-en { color: var(--gold-500); }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; max-width: 320px; }
.social-links { display: flex; gap: 16px; margin-top: 20px; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: #ffffff; transition: background var(--transition); }
.social-links a svg { color: #ffffff; }
.social-links a:hover { background: var(--gold-700); }
.footer-links h4, .footer-contact h4 { color: #ffffff; font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold-400); }
.footer-contact p { font-size: 0.9rem; margin-bottom: 10px; direction: rtl; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 4px; font-size: 0.8rem; text-align: center; flex-wrap: wrap; }
.footer-copy { font-weight: 700; color: rgba(255,255,255,0.9); }
.footer-tagline { color: rgba(255,255,255,0.55); font-size: 0.78rem; }
.footer-branch { margin-bottom: 16px; }
.branch-title { font-weight: 700; color: var(--gold-400); font-size: 0.9rem; margin-bottom: 4px; }
.branch-addr { font-size: 0.82rem; color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 4px; }
.branch-phone { display: inline-block; color: var(--gold-400); font-weight: 700; font-size: 0.88rem; transition: color var(--transition); }
.branch-phone:hover { color: var(--white); }
.social-links a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: background var(--transition); color: var(--white); }
.social-links a:hover { background: var(--gold-700); }
.mpstudio-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 0 4px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 4px;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease;
}
.mpstudio-credit:hover { color: var(--gold-400); }
.mpstudio-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--brown-800); color: var(--white); padding: 14px 28px; border-radius: var(--radius-full); font-size: 0.9rem; font-weight: 600; z-index: 500; transition: transform 0.3s ease; white-space: nowrap; }
.toast.show { transform: translateX(-50%) translateY(0); }

.search-wrapper { position: relative; display: flex; align-items: center; }
.search-input { width: 0; opacity: 0; border: 1px solid #d4a373; border-radius: 20px; padding: 5px 0; transition: all 0.3s ease; outline: none; font-family: 'Cairo', sans-serif; font-size: 14px; position: absolute; left: 35px; background-color: #fff; z-index: 10; }
.search-input.active { width: clamp(140px, 45vw, 180px); opacity: 1; padding: 5px 12px; }

.checkout-page-section { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--cream); z-index: 9999; overflow-y: auto; padding: 40px 24px; animation: fadeInUp 0.45s var(--ease-smooth) forwards; }
.checkout-container { max-width: 1100px; margin: 0 auto; }
.back-to-shop-btn { background: var(--gold-500); color: var(--white); padding: 12px 24px; border-radius: var(--radius-full); font-weight: 700; font-size: 0.95rem; margin-bottom: 28px; box-shadow: 0 4px 12px rgba(212,160,23,0.2); transition: all var(--transition); }
.back-to-shop-btn:hover { background: var(--gold-700); transform: translateY(-2px); }
.checkout-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.checkout-form-side, .checkout-summary-side { background: var(--white); padding: 32px; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); border: 1px solid var(--cream-dark); }
.checkout-form-side h3, .checkout-summary-side h3 { color: var(--brown-800); font-size: 1.3rem; font-weight: 800; margin-bottom: 24px; border-bottom: 2px solid var(--cream); padding-bottom: 12px; }
.form-group { margin-bottom: 20px; text-align: right; }
.form-group label { display: block; font-size: 0.9rem; color: var(--gray-600); margin-bottom: 8px; font-weight: 700; }
.form-group input, .form-group textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--cream-dark); border-radius: var(--radius-sm); font-family: var(--font-ar); font-size: 0.95rem; color: var(--brown-800); background-color: var(--white); transition: border-color var(--transition); outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold-500); }
.form-group textarea { height: 110px; resize: none; }
.submit-order-btn { width: 100%; background: #2ecc71; color: var(--white); padding: 14px; border-radius: var(--radius-full); font-size: 1.1rem; font-weight: 700; transition: all var(--transition); box-shadow: 0 4px 14px rgba(46,204,113,0.3); }
.submit-order-btn:hover { background: #27ae60; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(46,204,113,0.4); }
.checkout-items-list { max-height: 350px; overflow-y: auto; }
.checkout-total-box { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 20px; border-top: 2px dashed var(--cream-dark); font-size: 1.25rem; font-weight: 800; color: var(--gold-700); }

@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(2, 1fr); } .features-grid { grid-template-columns: repeat(2, 1fr); } .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 768px) { 
  .nav-links { display: none; } 
  .hamburger { display: flex; } 
  .hero-inner { flex-direction: column; text-align: center; padding-block: 60px 80px; } 
  .hero-text { max-width: 100%; }
  .hero-desc { margin-inline: auto; }
  .hero-buttons { justify-content: center; } 
  .hero-stats { justify-content: center; } 
  .hero-visual { width: 100%; max-width: 320px; margin: 40px auto 0; } 
  .hero-ring { width: 300px; height: 300px; border-width: 10px; } 
  .hero-price-tag { top: -20px; left: 50%; transform: translateX(-50%); }
  .hero-rating { bottom: -20px; left: 50%; transform: translateX(-50%); }
  .cat-grid { gap: 14px; }
  .section-header--row { flex-direction: column; align-items: flex-start; gap: 12px; } 
  .products-grid { grid-template-columns: 1fr 1fr; } 
  .footer-grid { grid-template-columns: 1fr; gap: 32px; } 
  .footer-bottom { flex-direction: column; text-align: center; } 
  .cart-drawer { width: 100%; } 
  .shop-controls-inner { flex-direction: column; align-items: stretch; min-width: 0; } 
  .filter-tabs {
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    padding-bottom: 8px;
  }
  .filter-btn { flex: 0 0 auto; white-space: nowrap; }
  .checkout-grid { grid-template-columns: 1fr; gap: 24px; } 
  .checkout-form-side, .checkout-summary-side { padding: 24px; } 
}
@media (max-width: 480px) { .products-grid { grid-template-columns: 1fr; gap: 16px; } .features-grid { grid-template-columns: 1fr 1fr; } }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { opacity: 0; animation: fadeInUp 0.5s var(--ease-smooth) forwards; }

body.dark-mode {
  --white: #0a0a0a;
  --cream: #121212;
  --cream-dark: #1a1a1a;
  --brown-800: #F0F0F0;
  --brown-900: #050505;
  --gray-100: #1f1f1f;
  --gray-600: #A0A0A0;
  --gold-50: #1a1508;
  --gold-100: #2b220d;
}

body.dark-mode .navbar {
  background: rgba(10, 10, 10, 0.85);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

body.dark-mode .hero {
  background-color: #0a0a0a;
  background-image: 
    linear-gradient(180deg, rgba(10,10,10,0.74) 0%, rgba(10,10,10,0.86) 100%),
    url('1.png');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

body.dark-mode .hero-title { color: #FFFFFF; }
body.dark-mode .hero-title span { color: var(--gold-400); text-shadow: 0 0 25px rgba(245, 197, 24, 0.3); }
body.dark-mode .hero-subtitle { color: #F0F0F0; text-shadow: none; }
body.dark-mode .hero-desc { color: #B0B0B0; font-weight: 500; text-shadow: none; }

body.dark-mode .hero-badge {
  background: rgba(212, 160, 23, 0.1);
  color: var(--gold-400);
  border: 1px solid rgba(212, 160, 23, 0.2);
  box-shadow: 0 0 15px rgba(212, 160, 23, 0.05);
}

body.dark-mode .btn-primary { box-shadow: 0 8px 25px rgba(212, 160, 23, 0.2); }

body.dark-mode .hero-ring {
  background: transparent; 
  border: 4px solid var(--gold-500);
  box-shadow: 0 0 30px rgba(212, 160, 23, 0.15);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}