/* css/main.css */

/* 1. Imports and Variables */
@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400;500;600;700&family=Cairo:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,400;1,700&display=swap');

:root {
  --gold: #D4AF37; /* Real Gold */
  --gold-light: #F3E5AB;
  --gold-dark: #B5952F;
  --cream: #FAF6EE;
  --cream-soft: #F3EDD8;
  --warm-white: #FFFDF7;
  --brown-deep: #2C1A0E; /* Reverted to elegant dark brown for contrast */
  --brown-mid: #5C3D1E;
  --brown-light: #9C7A4E;
  --divider: #E8D9BC;
  --shadow-gold: rgba(212,175,55,0.15); /* Updated to match new gold */
  --shadow-brown: rgba(44,26,14,0.08);
}

/* 2. CSS Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* 3. Base Styles */
body {
  direction: rtl;
  font-family: 'Cairo', sans-serif;
  background-color: var(--cream);
  color: var(--brown-deep);
  line-height: 1.6;
  overflow-x: hidden;
}

button, input, textarea, select {
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'El Messiri', serif;
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.section-padding {
  padding: 80px 0;
}

.text-gold {
  color: var(--gold);
}

.bg-cream-soft {
  background-color: var(--cream-soft);
}

/* 5. Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* 6. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  text-align: center;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--brown-deep);
  box-shadow: 0 4px 15px var(--shadow-gold);
}

.btn-primary:hover {
  background-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-gold);
}

.btn-outline {
  background-color: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}

.btn-outline:hover {
  background-color: var(--gold);
  color: var(--warm-white);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--warm-white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
  background-color: #20b858;
  transform: translateY(-2px);
}

/* 7. Card Base */
.card {
  background-color: var(--warm-white);
  border: 1px solid var(--divider);
  border-radius: 16px;
  box-shadow: 0 2px 20px var(--shadow-brown);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow-brown);
}

/* 8. Gold Separator Line */
.gold-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-30px); /* Using -30px for RTL so it comes from right */
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes floatGently {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hidden-initial {
  opacity: 0;
}

/* 10. Specific Component Styles */

/* Header Base Setup */
.shahd-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--warm-white);
  border-bottom: 1px solid var(--divider);
  z-index: 1000;
  transition: all 0.3s ease;
}

.shahd-header.scrolled {
  background-color: rgba(255, 253, 247, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px var(--shadow-gold);
}

/* Header Container */
.shahd-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

/* Logo */
.shahd-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shahd-logo span {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 28px;
  color: var(--gold);
  line-height: 1;
}

.shahd-logo-line {
  width: 100%;
  height: 1px;
  background-color: var(--gold);
  margin-top: 4px;
}

.shahd-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
}

.site-footer .shahd-logo-img {
  height: 80px;
}

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

.shahd-nav-link {
  font-family: 'Cairo', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--brown-mid);
  transition: color 0.3s ease;
  position: relative;
}

.shahd-nav-link:hover, .shahd-nav-link.active {
  color: var(--gold);
}

.shahd-nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: width 0.3s ease;
}

.shahd-nav-link.active::after, .shahd-nav-link:hover::after {
  width: 100%;
}

/* Cart & Mobile Nav Toggle */
.shahd-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.shahd-cart-btn {
  position: relative;
  color: var(--brown-deep);
  cursor: pointer;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.shahd-cart-btn:hover {
  color: var(--gold);
}

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

.shahd-cart-badge {
  position: absolute;
  top: -8px;
  right: -8px; /* Assuming RTL, this is technically the left side of the icon if it were LTR, but in flex it might be fine, let's use left: -8px for RTL absolute positioning */
  left: -8px;
  right: auto;
  background-color: var(--gold);
  color: var(--warm-white);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.shahd-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--brown-deep);
  cursor: pointer;
}

.shahd-mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile Menu Overlay */
.shahd-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--warm-white);
  z-index: 1001;
  transition: right 0.4s ease;
  display: flex;
  flex-direction: column;
  padding: 40px 24px;
}

.shahd-mobile-menu.open {
  right: 0;
}

.shahd-mobile-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--brown-deep);
  cursor: pointer;
  margin-bottom: 40px;
}

.shahd-mobile-close svg {
  width: 32px;
  height: 32px;
}

.shahd-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.shahd-mobile-nav .shahd-nav-link {
  font-size: 24px;
}


/* Home Page Specific */
.hero-section {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--brown-deep); /* fallback */
}

.hero-bg-image {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../images/hero_bg.png');
  background-size: cover;
  background-position: center center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(250,246,238,0.45), rgba(26,26,26,0.55));
  z-index: 1;
}

/* Corner Accents */
.hero-corner {
  position: absolute;
  width: 30px;
  height: 30px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.3;
  z-index: 2;
}

.hero-corner-tr {
  top: 40px; right: 40px;
  border-width: 2px 2px 0 0;
}

.hero-corner-tl {
  top: 40px; left: 40px;
  border-width: 2px 0 0 2px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-gold-line {
  width: 0;
  height: 1px;
  background-color: #C9A84C;
  margin-bottom: 16px;
}

.animate-width {
  animation: expandWidth 1s ease-out forwards;
}

@keyframes expandWidth {
  to { width: 60px; }
}

.hero-tagline {
  font-family: 'Cairo', sans-serif;
  font-size: 15px;
  color: #C9A84C;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  display: block;
  font-weight: 500;
}

.hero-title {
  font-family: 'El Messiri', serif;
  font-size: clamp(48px, 8vw, 96px);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.hero-subtitle {
  font-family: 'El Messiri', serif;
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cairo', sans-serif;
  background-color: #C9A84C;
  color: #2C2416;
  border-radius: 50px;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-hero-primary:hover {
  background-color: #8B6914;
  transform: scale(1.03);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cairo', sans-serif;
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: 50px;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-hero-secondary:hover {
  background-color: rgba(255,255,255,0.12);
  border-color: #ffffff;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-family: 'Cairo', sans-serif;
  flex-wrap: wrap;
}

.hero-trust-badges .divider {
  opacity: 0.5;
}

.scroll-indicator.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounceSlow 2s infinite;
  color: #C9A84C;
}

.scroll-indicator.hero-scroll svg {
  width: 32px;
  height: 32px;
}

@keyframes bounceSlow {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-15px) translateX(-50%); }
  60% { transform: translateY(-7px) translateX(-50%); }
}

.hero-floating-star {
  position: absolute;
  color: #C9A84C;
  font-size: 12px;
  z-index: 2;
  top: 30%;
  right: 25%;
  animation: floatVerySlow 4s infinite ease-in-out;
}

@keyframes floatVerySlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.animate-fadeInUp, .animate-fadeInRight, .animate-fadeInLeft {
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  /* Luxury easing */
  animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-custom {
  opacity: 0;
  transform: translateY(30px);
  animation-name: customFadeInUp;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
}

@keyframes customFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero-corner {
    display: none;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btn-hero-primary, .btn-hero-secondary {
    width: 100%;
  }
  .hero-trust-badges {
    font-size: 11px;
    gap: 8px;
  }
  .hero-trust-badges .divider:nth-child(2) {
    /* Hide first divider to make 2 per row logic simpler, or just let flex wrap handle it */
  }
}

.section-title {
  text-align: center;
  font-size: 36px;
  color: var(--brown-deep);
  margin-bottom: 16px;
}

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

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  padding: 40px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px var(--shadow-brown);
  border-color: var(--gold);
}

.service-icon {
  color: var(--gold);
  margin-bottom: 24px;
}

.service-icon svg {
  width: 48px;
  height: 48px;
}

.service-title {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--brown-deep);
}

.service-desc {
  color: var(--brown-mid);
  margin-bottom: 24px;
  flex-grow: 1;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  background-color: var(--cream-soft);
  border-radius: 24px;
  height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--brown-mid);
  text-align: center;
}

.about-image .shahd-logo {
  margin-bottom: 16px;
  opacity: 0.5;
}

.about-text h2 {
  font-size: 36px;
  margin-bottom: 24px;
}

.about-text p {
  color: var(--brown-mid);
  margin-bottom: 16px;
  font-size: 18px;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  border-top: 1px solid var(--divider);
  padding-top: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--brown-mid);
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.gallery-item {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--gold);
  background-color: var(--cream);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: 'El Messiri', serif;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  background-color: var(--cream-soft);
  transform: scale(1.02);
}

/* Contact Section */
.contact-section {
  text-align: center;
  padding: 80px 24px;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-title {
  font-size: 36px;
  margin-bottom: 32px;
}

.contact-text {
  margin: 24px 0;
  color: var(--brown-mid);
  font-size: 18px;
}

.contact-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 700;
  font-size: 18px;
}

/* Footer */
.site-footer {
  background-color: var(--brown-deep);
  color: var(--cream);
  padding: 64px 0 32px;
  text-align: center;
}

.footer-logo .shahd-logo span {
  color: var(--cream);
}
.footer-logo .shahd-logo-line {
  background-color: var(--cream);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 40px 0;
}

.footer-nav a {
  color: var(--cream-soft);
  transition: color 0.3s ease;
}

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

.footer-copyright {
  color: rgba(250, 246, 238, 0.6);
  font-size: 14px;
}

/* E-commerce Styles */
.page-hero {
  height: 200px;
  background-color: var(--cream-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 80px; /* offset header */
  border-bottom: 1px solid var(--divider);
}

.page-hero-title {
  font-family: 'El Messiri', serif;
  font-size: 36px;
  color: var(--brown-deep);
  margin-bottom: 8px;
}

.page-hero-subtitle {
  color: var(--brown-mid);
}

.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  background-color: transparent;
  border: 1px solid var(--divider);
  color: var(--brown-mid);
  padding: 8px 20px;
  border-radius: 50px;
  cursor: pointer;
  font-family: 'Cairo', sans-serif;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--gold);
  color: var(--warm-white);
  border-color: var(--gold);
}

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

.product-card {
  background-color: var(--warm-white);
  border: 1px solid var(--divider);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px var(--shadow-brown);
}

.product-image {
  aspect-ratio: 1 / 1;
  background-color: var(--cream-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-image .shahd-logo {
  opacity: 0.2;
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--gold);
  color: var(--brown-deep);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
}

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-name {
  font-family: 'Cairo', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--brown-deep);
  margin-bottom: 8px;
}

.product-desc {
  font-size: 14px;
  color: var(--brown-mid);
  margin-bottom: 16px;
  flex-grow: 1;
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.product-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
}

.product-original-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.product-card .btn-primary {
  width: 100%;
}


/* Cart Page */
.cart-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.cart-items {
  background-color: var(--warm-white);
  border: 1px solid var(--divider);
  border-radius: 16px;
  padding: 24px;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--brown-mid);
}

.cart-empty svg {
  width: 64px;
  height: 64px;
  color: var(--gold);
  margin-bottom: 16px;
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--divider);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-name {
  font-weight: 700;
  color: var(--brown-deep);
  margin-bottom: 4px;
}

.cart-item-price {
  color: var(--brown-mid);
}

.cart-quantity-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 24px;
}

.qty-btn {
  background: var(--cream-soft);
  border: 1px solid var(--divider);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--brown-deep);
  font-weight: bold;
}

.qty-btn:hover {
  background: var(--divider);
}

.cart-item-total {
  font-weight: 700;
  color: var(--gold);
  min-width: 100px;
  text-align: left;
}

.cart-item-delete {
  background: none;
  border: none;
  color: #ff4d4f;
  cursor: pointer;
  font-size: 20px;
  padding: 8px;
}

.cart-summary {
  background-color: var(--warm-white);
  border: 1px solid var(--divider);
  border-radius: 16px;
  padding: 24px;
  position: sticky;
  top: 100px;
}

.summary-title {
  font-size: 20px;
  border-bottom: 1px solid var(--divider);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  color: var(--brown-mid);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  border-top: 1px solid var(--divider);
  padding-top: 16px;
  margin-bottom: 24px;
}

.cart-summary .btn {
  width: 100%;
  margin-bottom: 12px;
}

/* Checkout Page */
.checkout-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.checkout-form-container {
  background-color: var(--warm-white);
  border: 1px solid var(--divider);
  border-radius: 16px;
  padding: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--brown-deep);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--divider);
  border-radius: 12px;
  background-color: var(--warm-white);
  font-family: 'Cairo', sans-serif;
  color: var(--brown-deep);
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--shadow-gold);
}

.payment-method-card {
  border: 2px solid var(--gold);
  background-color: var(--cream-soft);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--brown-deep);
  margin-bottom: 24px;
}

.checkout-summary-items {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 16px;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

/* Success Overlay */
.success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(250, 246, 238, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.success-overlay.show {
  opacity: 1;
  visibility: visible;
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: var(--gold);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.success-overlay h2 {
  font-size: 32px;
  color: var(--brown-deep);
  margin-bottom: 16px;
}

.success-overlay p {
  color: var(--brown-mid);
  margin-bottom: 8px;
  font-size: 18px;
}

/* Responsive */
/* Hero Variations */
.page-hero-small {
  height: 300px;
}

.page-hero-stars {
  height: 350px;
  background-color: var(--brown-deep);
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.8) 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,0.6) 2px, transparent 2px),
    radial-gradient(circle at 40% 80%, rgba(255,255,255,0.9) 1.5px, transparent 1.5px),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.5) 1px, transparent 1px),
    radial-gradient(circle at 10% 70%, rgba(255,255,255,0.7) 2px, transparent 2px);
  background-size: 100px 100px;
  color: var(--warm-white);
  position: relative;
}

.page-hero-stars::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, var(--cream), transparent);
}

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

.page-hero-stars .page-hero-subtitle {
  color: var(--warm-white);
  position: relative;
  z-index: 2;
}

.breadcrumb {
  font-size: 14px;
  color: var(--brown-mid);
  margin-top: 16px;
  position: relative;
  z-index: 2;
}

.breadcrumb a {
  color: var(--gold);
}

/* Masonry Gallery */
.masonry-grid {
  column-count: 3;
  column-gap: 24px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 24px;
  cursor: pointer;
}

.masonry-item-inner {
  background-color: var(--cream-soft);
  border: 1px solid var(--divider);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.masonry-item-inner:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px var(--shadow-brown);
}

.masonry-img {
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cream);
  color: var(--brown-mid);
}

.masonry-caption {
  padding: 16px;
  font-weight: 700;
  color: var(--brown-deep);
  text-align: center;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 26, 14, 0.6); /* Slightly more transparent */
  backdrop-filter: blur(12px); /* Luxury glassmorphism */
  -webkit-backdrop-filter: blur(12px);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.lightbox.show {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  background: var(--warm-white);
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  padding: 40px;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.lightbox.show .lightbox-content {
  transform: translateY(0) scale(1);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  left: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--brown-mid);
}

.lightbox-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: var(--cream-soft);
  border-radius: 8px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown-mid);
}

.lightbox-title {
  font-size: 24px;
  color: var(--brown-deep);
  margin-bottom: 8px;
}

.lightbox-desc {
  color: var(--brown-mid);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Toast Notification (Luxury) */
.toast-container {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(44, 26, 14, 0.9);
  color: var(--gold);
  padding: 16px 32px;
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 5000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 150, 60, 0.3);
}

.toast-container.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Pricing Table */
.pricing-table-container {
  overflow-x: auto;
  background: var(--warm-white);
  border: 1px solid var(--divider);
  border-radius: 16px;
  margin-bottom: 40px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th {
  background-color: var(--gold);
  color: var(--warm-white);
  padding: 16px 24px;
  text-align: right;
  font-weight: 700;
}

.pricing-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--divider);
  color: var(--brown-deep);
}

.pricing-table tr:nth-child(even) {
  background-color: var(--cream-soft);
}

.pricing-table tr.travel-fee {
  background-color: rgba(201, 150, 60, 0.1);
}

.tooltip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--warm-white);
  font-size: 12px;
  margin-right: 8px;
  cursor: help;
}

/* Accordion */
.accordion-item {
  border: 1px solid var(--divider);
  border-radius: 12px;
  margin-bottom: 16px;
  background: var(--warm-white);
  overflow: hidden;
}

.accordion-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  color: var(--brown-deep);
}

.accordion-header svg {
  color: var(--gold);
  margin-left: 12px;
}

.accordion-header-left {
  display: flex;
  align-items: center;
}

.accordion-toggle-icon {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-toggle-icon {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-body {
  padding: 0 24px 20px 24px;
  max-height: 500px;
}

/* Loading Skeletons */
.skeleton-card {
  background: var(--warm-white);
  border: 1px solid var(--divider);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.skeleton-img {
  width: 100%;
  aspect-ratio: 3/4;
  background: #E5E0D5;
  position: relative;
  overflow: hidden;
}

.skeleton-text {
  height: 20px;
  background: #E5E0D5;
  border-radius: 4px;
  margin: 16px 24px 8px 24px;
  position: relative;
  overflow: hidden;
}

.skeleton-text.short {
  width: 50%;
}

.skeleton-button {
  height: 48px;
  background: #E5E0D5;
  border-radius: 6px;
  margin: 16px 24px 24px 24px;
  position: relative;
  overflow: hidden;
}

.skeleton-img::after,
.skeleton-text::after,
.skeleton-button::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.4) 20%,
    rgba(255, 255, 255, 0.6) 60%,
    rgba(255, 255, 255, 0)
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

/* Out of Stock Style */
.badge-out-of-stock {
  background: rgba(44, 26, 14, 0.8);
  color: var(--warm-white);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
}

.product-card.out-of-stock .product-image img {
  opacity: 0.6;
  filter: grayscale(100%);
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 42px;
  }
  .about-grid {
    gap: 32px;
  }
  .cart-layout, .checkout-layout {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .masonry-grid {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  .shahd-nav-links {
    display: none;
  }
  
  .shahd-mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: 34px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
    height: 300px;
  }
  
  .about-stats {
    flex-direction: column;
    gap: 16px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .cart-item {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .cart-quantity-controls {
    margin: 0;
  }
  
  .cart-item-total {
    flex-grow: 1;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .masonry-grid {
    column-count: 1;
  }
}
