/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;700;900&family=Outfit:wght@300;400;500;600;700&family=Amiri:wght@400;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --radius: 1rem;
  --background: oklch(0.98 0.005 80);
  --foreground: oklch(0.22 0.08 305);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.22 0.08 305);
  --primary: oklch(0.38 0.16 305);
  --primary-foreground: oklch(0.98 0.01 80);
  --primary-deep: oklch(0.28 0.14 305);
  --primary-glow: oklch(0.55 0.2 305);
  --gold: oklch(0.78 0.13 80);
  --gold-foreground: oklch(0.25 0.08 305);
  --gold-deep: oklch(0.62 0.12 75);
  --cream: oklch(0.96 0.02 80);
  --muted-foreground: oklch(0.5 0.04 305);
  --border: oklch(0.9 0.02 305);
  --gradient-royal: linear-gradient(135deg, oklch(0.28 0.14 305), oklch(0.45 0.18 305) 60%, oklch(0.55 0.2 305));
  --gradient-gold: linear-gradient(135deg, oklch(0.85 0.14 85), oklch(0.7 0.13 75));
  --gradient-hero: radial-gradient(ellipse at top, oklch(0.45 0.18 305 / 0.95), oklch(0.25 0.13 305) 70%);
  --shadow-elegant: 0 25px 60px -20px oklch(0.28 0.14 305 / 0.4);
  --shadow-gold: 0 10px 40px -10px oklch(0.75 0.14 80 / 0.5);
  --shadow-card: 0 8px 30px -10px oklch(0.28 0.14 305 / 0.15);
  --pattern-moroccan: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23d4af37' stroke-width='0.8' opacity='0.18'%3E%3Cpath d='M40 8 L52 20 L40 32 L28 20 Z'/%3E%3Cpath d='M40 48 L52 60 L40 72 L28 60 Z'/%3E%3Cpath d='M8 40 L20 28 L32 40 L20 52 Z'/%3E%3Cpath d='M48 40 L60 28 L72 40 L60 52 Z'/%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3C/g%3E%3C/svg%3E");
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border-color: var(--border); }
body { background-color: var(--background); color: var(--foreground); font-family: 'Outfit', sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.6; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; letter-spacing: -0.02em; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== LAYOUT ===== */
.min-h-screen { min-height: 100vh; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.grid { display: grid; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-7xl { max-width: 80rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-xl { max-width: 36rem; }
.max-w-md { max-width: 28rem; }
.w-full { width: 100%; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-28 { padding-top: 7rem; padding-bottom: 7rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.pt-4 { padding-top: 1rem; }
.pt-20 { padding-top: 5rem; }
.pb-32 { padding-bottom: 8rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-32 { margin-top: 8rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.-mt-16 { margin-top: -4rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }

/* ===== TYPOGRAPHY ===== */
.font-display { font-family: 'Playfair Display', serif; }
.font-arabic { font-family: 'Amiri', serif; }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.leading-tight { line-height: 1.1; }
.leading-relaxed { line-height: 1.75; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-wide-03 { letter-spacing: 0.3em; }
.opacity-40 { opacity: 0.4; }
.opacity-50 { opacity: 0.5; }
.opacity-60 { opacity: 0.6; }
.opacity-75 { opacity: 0.75; }
.opacity-80 { opacity: 0.8; }
.opacity-85 { opacity: 0.85; }
.opacity-90 { opacity: 0.9; }

/* ===== COLORS ===== */
.text-primary { color: var(--primary); }
.text-primary-foreground { color: var(--primary-foreground); }
.text-gold { color: var(--gold); }
.text-gold-deep { color: var(--gold-deep); }
.text-gold-foreground { color: var(--gold-foreground); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-foreground { color: var(--foreground); }
.bg-background { background-color: var(--background); }
.bg-card { background-color: var(--card); }
.bg-cream { background-color: var(--cream); }
.bg-gold { background-color: var(--gold); }
.bg-gradient-royal { background: var(--gradient-royal); }
.bg-gradient-gold { background: var(--gradient-gold); }
.bg-gradient-hero { background: var(--gradient-hero); }
.bg-moroccan-pattern { background-image: var(--pattern-moroccan); }
.text-gradient-gold { background: var(--gradient-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.border-border { border-color: var(--border); }

/* ===== DECORATIVE ===== */
.rounded-full { border-radius: 9999px; }
.rounded-2xl { border-radius: 1.5rem; }
.rounded-3xl { border-radius: 2rem; }
.rounded-xl { border-radius: 1rem; }
.shadow-elegant { box-shadow: var(--shadow-elegant); }
.shadow-gold { box-shadow: var(--shadow-gold); }
.shadow-card { box-shadow: var(--shadow-card); }
.border-b { border-bottom: 1px solid; }
.border-t { border-top: 1px solid; }
.border-2 { border: 2px solid; }
.border-4 { border: 4px solid; }
.backdrop-blur-xl { backdrop-filter: blur(24px); }

/* ===== ANIMATIONS ===== */
@keyframes float-up { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes shimmer { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
.animate-float-up { animation: float-up 0.8s ease-out both; }
.animate-shimmer { animation: shimmer 3s ease-in-out infinite; }
.transition { transition: all 0.3s ease; }
.transition-transform { transition: transform 0.3s ease; }
.transition-colors { transition: color 0.3s ease, background-color 0.3s ease; }
.transition-all-500 { transition: all 0.5s ease; }
.hover-scale:hover { transform: scale(1.05); }

/* ===== NAVBAR ===== */
.navbar { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(24px); background: oklch(0.98 0.005 80 / 0.8); border-bottom: 1px solid oklch(0.9 0.02 305 / 0.5); }
.navbar nav { max-width: 80rem; margin: 0 auto; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.navbar .logo-link { display: flex; align-items: center; gap: 0.75rem; }
.navbar .logo-img { height: 3rem; width: 3rem; border-radius: 9999px; box-shadow: var(--shadow-card); }
.navbar .logo-text { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--primary); }
.navbar .logo-sub { font-size: 10px; letter-spacing: 0.3em; color: var(--gold-deep); text-transform: uppercase; }
.navbar .nav-links { display: flex; align-items: center; gap: 2rem; font-size: 0.875rem; font-weight: 500; }
.navbar .nav-links a:hover { color: var(--primary); }
.navbar .nav-links a.active { color: var(--primary); }
.navbar .order-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.625rem 1.25rem; border-radius: 9999px; background: var(--gradient-royal); color: var(--primary-foreground); font-size: 0.875rem; font-weight: 500; box-shadow: var(--shadow-elegant); transition: transform 0.3s; }
.navbar .order-btn:hover { transform: scale(1.05); }

/* ===== HERO ===== */
.hero { position: relative; overflow: hidden; background: var(--gradient-hero); color: var(--primary-foreground); }
.hero .pattern-overlay { position: absolute; inset: 0; background-image: var(--pattern-moroccan); opacity: 0.4; }
.hero .glow-1 { position: absolute; top: -8rem; right: -8rem; height: 24rem; width: 24rem; border-radius: 9999px; background: oklch(0.78 0.13 80 / 0.2); filter: blur(48px); animation: shimmer 3s ease-in-out infinite; }
.hero .glow-2 { position: absolute; bottom: -8rem; left: -8rem; height: 24rem; width: 24rem; border-radius: 9999px; background: oklch(0.55 0.2 305 / 0.3); filter: blur(48px); animation: shimmer 3s ease-in-out infinite; }
.hero-content { position: relative; max-width: 80rem; margin: 0 auto; padding: 5rem 1.5rem 8rem; display: grid; gap: 3rem; align-items: center; }
.hero .badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border-radius: 9999px; background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); font-size: 0.875rem; }
.hero h1 { margin-top: 1.5rem; font-family: 'Playfair Display', serif; font-size: 3.75rem; line-height: 0.95; }
.hero .hero-desc { margin-top: 1.5rem; font-size: 1.125rem; opacity: 0.85; max-width: 28rem; line-height: 1.75; }
.hero .hero-buttons { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-gold { padding: 1rem 1.75rem; border-radius: 9999px; background: var(--gold); color: var(--gold-foreground); font-weight: 500; box-shadow: var(--shadow-gold); transition: transform 0.3s; display: inline-block; }
.btn-gold:hover { transform: scale(1.05); }
.btn-outline { padding: 1rem 1.75rem; border-radius: 9999px; border: 1px solid rgba(255,255,255,0.3); transition: background 0.3s; display: inline-block; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.hero-image-wrap { position: relative; animation: float-up 0.8s ease-out both; animation-delay: 0.2s; }
.hero-image-wrap .glow-bg { position: absolute; inset: 0; background: oklch(0.78 0.13 80 / 0.2); filter: blur(48px); border-radius: 9999px; }
.hero-logo-img { position: relative; margin: 0 auto; height: 400px; width: 400px; border-radius: 9999px; box-shadow: var(--shadow-elegant); border: 4px solid oklch(0.78 0.13 80 / 0.3); object-fit: cover; }
.hero .floating-card { position: absolute; background: var(--card); color: var(--foreground); border-radius: 1.5rem; padding: 1rem; box-shadow: var(--shadow-elegant); }
.hero .floating-card-gold { position: absolute; background: var(--gold); color: var(--gold-foreground); border-radius: 1.5rem; padding: 1rem; box-shadow: var(--shadow-elegant); }

/* ===== FEATURES ===== */
.features-grid { max-width: 80rem; margin: -4rem auto 0; position: relative; z-index: 10; padding: 0 1.5rem; display: grid; gap: 1rem; }
.feature-card { background: var(--card); border-radius: 1.5rem; padding: 1.5rem; box-shadow: var(--shadow-card); transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-4px); }
.feature-icon { height: 3rem; width: 3rem; border-radius: 1rem; background: var(--gradient-gold); display: flex; align-items: center; justify-content: center; color: var(--gold-foreground); }

/* ===== PRODUCT CARDS ===== */
.products-section { max-width: 80rem; margin: 0 auto; padding: 7rem 1.5rem; }
.products-header { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.products-grid { display: grid; gap: 2rem; justify-content: center; }
.product-card { position: relative; overflow: hidden; border-radius: 2rem; background: var(--card); box-shadow: var(--shadow-card); transition: all 0.5s; display: block; max-width: 480px; width: 100%; justify-self: center; }
.product-card:hover { box-shadow: var(--shadow-elegant); }
.product-card .overlay { position: absolute; inset: 0; background: var(--gradient-royal); opacity: 0; transition: opacity 0.5s; }
.product-card:hover .overlay { opacity: 1; }
.product-card .card-image { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.product-card .card-image img { height: 100%; width: 100%; object-fit: cover; transition: transform 0.7s; }
.product-card:hover .card-image img { transform: scale(1.1); }
.product-card .img-gradient { position: absolute; inset: 0; background: linear-gradient(to top, oklch(0.28 0.14 305 / 0.8), transparent, transparent); }
.product-card .arrow-btn { position: absolute; top: 1.25rem; right: 1.25rem; height: 2.75rem; width: 2.75rem; border-radius: 9999px; background: var(--gold); display: flex; align-items: center; justify-content: center; color: var(--gold-foreground); transition: transform 0.3s; }
.product-card:hover .arrow-btn { transform: rotate(45deg); }
.product-card .card-info-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; color: var(--primary-foreground); }
.product-card .card-bottom { position: relative; padding: 1.5rem; display: flex; align-items: center; justify-content: space-between; background: var(--card); transition: all 0.3s; }
.product-card:hover .card-bottom { background: transparent; color: var(--primary-foreground); }
.product-card:hover .card-bottom .price-label { color: var(--gold); }

/* ===== QUOTE SECTION ===== */
.quote-section { position: relative; padding: 7rem 0; background: var(--cream); overflow: hidden; }

/* ===== FOOTER ===== */
.site-footer { background: var(--gradient-royal); color: var(--primary-foreground); margin-top: 8rem; position: relative; overflow: hidden; }
.footer-grid { position: relative; max-width: 80rem; margin: 0 auto; padding: 4rem 1.5rem; display: grid; gap: 2.5rem; }
.footer-social a { height: 2.5rem; width: 2.5rem; border-radius: 9999px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.footer-social a:hover { background: var(--gold); color: var(--primary); }
.footer-bottom { position: relative; border-top: 1px solid rgba(255,255,255,0.1); padding: 1.25rem; text-align: center; font-size: 0.75rem; opacity: 0.6; }

/* ===== ABOUT PAGE ===== */
.about-grid { display: grid; }

/* ===== CONTACT PAGE ===== */
.whatsapp-card { display: block; padding: 2rem; border-radius: 2rem; background: var(--gradient-royal); color: var(--primary-foreground); box-shadow: var(--shadow-elegant); transition: transform 0.3s; }
.whatsapp-card:hover { transform: scale(1.02); }
.contact-info-card { padding: 2rem; border-radius: 2rem; background: var(--card); box-shadow: var(--shadow-card); }
.contact-info-card .info-row { display: flex; align-items: flex-start; gap: 1rem; }
.contact-info-card .info-icon { height: 3rem; width: 3rem; border-radius: 1rem; background: var(--gradient-gold); display: flex; align-items: center; justify-content: center; color: var(--gold-foreground); flex-shrink: 0; }

/* ===== PRODUCT DETAIL ===== */
.detail-grid { display: grid; gap: 4rem; align-items: start; }
.detail-image-main { position: relative; aspect-ratio: 16/9; border-radius: 3rem; overflow: hidden; background: transparent; box-shadow: 0 20px 50px -15px rgba(0,0,0,0.2), inset 0 0 0 1px rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.08); }
.detail-image-main img { position: relative; height: 100%; width: 100%; object-fit: cover; padding: 0; transition: transform 0.4s ease; background: transparent; }
.detail-image-main:hover img { transform: scale(1.02); }
.detail-image-secondary { aspect-ratio: 16/9; border-radius: 2rem; overflow: hidden; box-shadow: 0 15px 40px -10px rgba(0,0,0,0.15); }
.detail-image-secondary img { height: 100%; width: 100%; object-fit: cover; transition: transform 0.5s ease; }
.detail-image-secondary:hover img { transform: scale(1.08); }

.product-info-header { border-bottom: 1px solid var(--border); padding-bottom: 2rem; margin-bottom: 2rem; }
.product-title { font-size: 4rem; color: var(--primary); line-height: 1.1; margin-top: 0.5rem; font-weight: 900; }
.product-subtitle { font-size: 1.25rem; color: var(--gold-deep); font-style: italic; margin-top: 0.75rem; font-family: 'Playfair Display', serif; }
.product-description { font-size: 1rem; color: var(--muted-foreground); line-height: 1.8; margin-top: 1.5rem; }

.size-selector-container { margin-top: 2rem; }
.size-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.size-btn { padding: 1rem; border-radius: 1.5rem; border: 2px solid var(--border); background: var(--card); text-align: left; transition: all 0.3s; cursor: pointer; }
.size-btn .size-label { font-family: 'Playfair Display', serif; font-size: 1.125rem; }
.size-btn .size-weight { font-size: 0.75rem; opacity: 0.75; }
.size-btn .size-price { margin-top: 0.5rem; font-weight: 500; }
.size-btn.active { border-color: var(--primary); background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow-elegant); }
.size-btn:hover:not(.active) { border-color: oklch(0.38 0.16 305 / 0.5); }

.purchase-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.qty-control { display: flex; align-items: center; border: 2px solid var(--border); border-radius: 9999px; background: var(--card); padding: 0.25rem; }
.qty-control button { width: 3rem; height: 3rem; display: flex; align-items: center; justify-content: center; border-radius: 9999px; transition: all 0.2s; color: var(--primary); }
.qty-control button:hover { background: var(--cream); color: var(--primary-deep); }
.qty-control .qty-value { width: 3rem; text-align: center; font-weight: 700; font-size: 1.125rem; color: var(--primary); }
.product-total-display { font-family: 'Playfair Display', serif; font-size: 2.25rem; color: var(--primary); font-weight: 700; margin-left: auto; }

.add-to-cart-btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 1rem; padding: 1.5rem 2.5rem; border-radius: 9999px; background: var(--gradient-royal); color: var(--primary-foreground); font-weight: 600; font-size: 1.25rem; box-shadow: var(--shadow-elegant); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: none; cursor: pointer; margin-top: 2rem; }
.add-to-cart-btn:hover { transform: translateY(-3px) scale(1.01); box-shadow: 0 20px 40px -10px oklch(0.28 0.14 305 / 0.5); }
.add-to-cart-btn:active { transform: translateY(0); }
.add-to-cart-btn .icon { width: 1.5rem; height: 1.5rem; }
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 2rem; transition: color 0.3s; }
.back-link:hover { color: var(--primary); }

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) {
  .hero-content { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 6rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr 2fr; }
  .detail-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) {
  .navbar .nav-links { display: none; }
  .hero h1 { font-size: 2.75rem; }
  .hero-logo-img { height: 250px; width: 250px; }
}

/* ===== LUCIDE ICONS (SVG inline styling) ===== */
.icon { width: 1.25rem; height: 1.25rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-lg { width: 2.5rem; height: 2.5rem; }

/* ===== NAV ACTIONS (Cart + Search) ===== */
.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-actions button { background: none; border: none; cursor: pointer; color: var(--foreground); padding: 0.5rem; border-radius: 9999px; transition: all 0.3s; position: relative; display: flex; align-items: center; justify-content: center; }
.nav-actions button:hover { color: var(--primary); background: oklch(0.38 0.16 305 / 0.08); }
.cart-btn { position: relative; }
.cart-count { position: absolute; top: 0; right: 0; min-width: 1.125rem; height: 1.125rem; border-radius: 9999px; background: var(--gold); color: var(--gold-foreground); font-size: 0.625rem; font-weight: 700; display: flex; align-items: center; justify-content: center; transform: scale(0); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.cart-count.visible { transform: scale(1); }

/* ===== MOBILE HAMBURGER ===== */
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; background: none; border: none; cursor: pointer; }
.mobile-menu-toggle span { width: 22px; height: 2px; background: var(--foreground); transition: all 0.3s; border-radius: 2px; }
.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }
@media (max-width: 767px) {
  .mobile-menu-toggle { display: flex; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: oklch(0.98 0.005 80 / 0.98); backdrop-filter: blur(24px); flex-direction: column; padding: 1rem 1.5rem; gap: 0; border-bottom: 1px solid var(--border); transform: translateY(-10px); opacity: 0; pointer-events: none; transition: all 0.3s; }
  .nav-links.open { display: flex; transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-links a { padding: 0.75rem 0; border-bottom: 1px solid oklch(0.9 0.02 305 / 0.3); }
}

/* ===== SEARCH OVERLAY ===== */
.search-overlay { position: fixed; inset: 0; z-index: 200; background: oklch(0.22 0.08 305 / 0.6); backdrop-filter: blur(8px); display: flex; align-items: flex-start; justify-content: center; padding-top: 10vh; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.search-overlay.open { opacity: 1; pointer-events: all; }
.search-container { background: var(--card); border-radius: 1.5rem; width: 90%; max-width: 36rem; box-shadow: var(--shadow-elegant); overflow: hidden; transform: translateY(-20px); transition: transform 0.3s; }
.search-overlay.open .search-container { transform: translateY(0); }
.search-header { display: flex; align-items: center; padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); gap: 0.75rem; }
.search-input { flex: 1; border: none; background: none; font-family: 'Outfit', sans-serif; font-size: 1rem; color: var(--foreground); outline: none; }
.search-input::placeholder { color: var(--muted-foreground); }
.search-close { background: none; border: none; cursor: pointer; color: var(--muted-foreground); padding: 0.25rem; }
.search-results { max-height: 50vh; overflow-y: auto; }
.search-result-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; border-bottom: 1px solid oklch(0.9 0.02 305 / 0.3); transition: background 0.2s; cursor: pointer; text-decoration: none; color: inherit; }
.search-result-item:hover { background: var(--cream); }
.search-result-item img { width: 3.5rem; height: 3.5rem; border-radius: 0.75rem; object-fit: cover; }
.search-result-info h4 { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--primary); }
.search-result-info span { font-size: 0.875rem; color: var(--gold-deep); }

/* ===== CART PAGE ===== */
.cart-empty { text-align: center; padding: 4rem 2rem; }
.cart-item { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; border-bottom: 1px solid var(--border); transition: background 0.2s; }
.cart-item:hover { background: oklch(0.96 0.02 80 / 0.5); }
.cart-item-img { width: 5rem; height: 5rem; border-radius: 1rem; overflow: hidden; flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-details { flex: 1; min-width: 0; }
.cart-item-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--primary); }
.cart-item-size { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.125rem; }
.cart-item-price { font-size: 0.875rem; color: var(--gold-deep); font-weight: 500; margin-top: 0.25rem; }
.cart-item-qty { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.cart-item-qty button { width: 1.75rem; height: 1.75rem; border-radius: 9999px; border: 1px solid var(--border); background: var(--card); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; color: var(--foreground); }
.cart-item-qty button:hover { border-color: var(--primary); color: var(--primary); }
.cart-item-qty span { font-weight: 600; min-width: 1.5rem; text-align: center; }
.cart-item-line-total { font-family: 'Playfair Display', serif; font-size: 1.125rem; color: var(--primary); white-space: nowrap; }
.cart-item-remove { background: none; border: none; cursor: pointer; color: var(--muted-foreground); padding: 0.375rem; border-radius: 9999px; transition: all 0.2s; flex-shrink: 0; }
.cart-item-remove:hover { color: #dc2626; background: #fef2f2; }
.cart-form-container { background: var(--card); border-radius: 1.5rem; padding: 2rem; box-shadow: var(--shadow-card); }
.cart-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cart-form-input { width: 100%; padding: 0.875rem 1rem; border: 2px solid var(--border); border-radius: 1rem; font-family: 'Outfit', sans-serif; font-size: 1rem; background: var(--background); transition: border-color 0.3s; color: var(--foreground); }
.cart-form-input:focus { outline: none; border-color: var(--primary); }
.order-confirm-btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 1.25rem 2rem; border-radius: 9999px; background: var(--gradient-royal); color: var(--primary-foreground); font-weight: 500; font-size: 1.125rem; box-shadow: var(--shadow-elegant); transition: transform 0.3s; cursor: pointer; border: none; font-family: inherit; }
.order-confirm-btn:hover { transform: scale(1.02); }

/* ===== CART TOAST ===== */
.cart-toast { position: fixed; bottom: 2rem; right: 2rem; z-index: 300; background: var(--card); border-radius: 1rem; padding: 1rem 1.5rem; box-shadow: var(--shadow-elegant); display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; transform: translateY(120%); opacity: 0; transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); border: 1px solid oklch(0.78 0.13 80 / 0.3); }
.cart-toast.visible { transform: translateY(0); opacity: 1; }

/* ===== ORDER CONFIRMATION ===== */
.order-confirmation-overlay { position: fixed; inset: 0; background: oklch(0.22 0.08 305 / 0.6); z-index: 9999; display: flex; align-items: center; justify-content: center; animation: fadeIn 0.3s ease; }
.order-confirmation-modal { background: var(--card); border-radius: 2rem; padding: 3rem; text-align: center; max-width: 26rem; width: 90%; box-shadow: var(--shadow-elegant); animation: float-up 0.4s ease; }

/* ===== FADE-IN ANIMATION ===== */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===== CART PAGE RESPONSIVE ===== */
@media (max-width: 767px) {
  .cart-form-grid { grid-template-columns: 1fr; }
  .cart-form-grid .cart-form-input[style*="grid-column"] { grid-column: auto !important; }
  .cart-item { flex-wrap: wrap; gap: 0.75rem; }
  .cart-item-line-total { margin-left: auto; }
  .cart-toast { left: 1rem; right: 1rem; bottom: 1rem; }
}
