:root {
  --gold-start: #c6a75e;
  --gold-end: #e8d08a;
  --gold-core: #d4af37;
  --bg-main: #f8f7f3;
  --bg-card: #ffffff;
  --text-primary: #1e1e1e;
  --text-muted: #666;
  --border-color: #e1ddd4;
  --spicy-red: #c8102e;
  --radius-md: 12px;
  --radius-xl: 24px;
  --shadow-soft: 0 8px 24px rgba(17, 17, 17, 0.08);
  --shadow-card: 0 16px 40px rgba(17, 17, 17, 0.12);
  --ease-luxury: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-mid: 0.4s var(--ease-luxury);
  --nav-height: 82px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-main);
  color: var(--text-primary);
  font-family: "Cairo", "Montserrat", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

body.en-mode { font-family: "Montserrat", "Cairo", sans-serif; }
h1, h2, h3, h4, h5 { font-family: "Playfair Display", serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

body.cursor-luxury,
body.cursor-luxury * {
  cursor: none !important;
}

.lux-cursor-dot,
.lux-cursor-ring,
.lux-cursor-aura {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 99999;
}

.lux-cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4af37;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.55);
  transition: width 0.25s var(--ease-luxury), height 0.25s var(--ease-luxury), opacity 0.25s var(--ease-luxury), transform 0.25s var(--ease-luxury);
}

.lux-cursor-ring {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.4px solid rgba(212, 175, 55, 0.82);
  transition: width 0.35s var(--ease-luxury), height 0.35s var(--ease-luxury), border-color 0.35s var(--ease-luxury), border-radius 0.35s var(--ease-luxury), opacity 0.25s var(--ease-luxury), box-shadow 0.35s var(--ease-luxury), background-color 0.35s var(--ease-luxury);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  backdrop-filter: blur(1px);
}

.lux-cursor-aura {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.03) 58%, transparent 72%);
  filter: blur(1px);
  z-index: 99998;
  transition: transform 0.35s var(--ease-luxury), opacity 0.25s var(--ease-luxury), background 0.35s var(--ease-luxury);
}

body.cursor-hover .lux-cursor-ring {
  width: 72px;
  height: 72px;
  border-color: #efcb7b;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.22);
}

body.cursor-hover .lux-cursor-dot {
  width: 6px;
  height: 6px;
}

body.cursor-hover .lux-cursor-aura {
  transform: translate(-50%, -50%) scale(1.18);
}

body.cursor-shimmer .lux-cursor-ring {
  animation: cursorShimmer 1.2s ease-in-out infinite;
}

@keyframes cursorShimmer {
  0%, 100% { box-shadow: 0 0 14px rgba(212, 175, 55, 0.18); }
  50% { box-shadow: 0 0 28px rgba(212, 175, 55, 0.3); }
}

body.cursor-cta .lux-cursor-ring {
  border-radius: 14px;
  width: 110px;
  height: 48px;
  border-color: #f4d995;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.24), rgba(212, 175, 55, 0.08));
  background-size: 220% 100%;
  animation: cursorSweep 1s linear infinite;
}

@keyframes cursorSweep {
  from { background-position: 0% 50%; }
  to { background-position: 200% 50%; }
}

body.cursor-image .lux-cursor-ring {
  width: 76px;
  height: 76px;
  border-color: rgba(255, 255, 255, 0.9);
  color: transparent;
  text-shadow: none;
}

body.cursor-image .lux-cursor-dot {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
}

body.cursor-text .lux-cursor-dot,
body.cursor-text .lux-cursor-ring,
body.cursor-text .lux-cursor-aura {
  opacity: 0.35;
}

.announcement {
  background: #f2eee7;
  border-bottom: 1px solid var(--border-color);
  color: #6f5321;
  white-space: nowrap;
  overflow: hidden;
}

.announcement-track {
  display: inline-block;
  padding: 10px 0;
  animation: marquee 24s linear infinite;
}

@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.navbar-luxury {
  min-height: var(--nav-height);
  transition: var(--transition-mid);
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(248, 247, 243, 0.92);
  backdrop-filter: blur(8px);
}

.navbar-luxury.scrolled {
  backdrop-filter: blur(10px);
  background: rgba(248, 247, 243, 0.9);
  border-bottom-color: var(--border-color);
  box-shadow: var(--shadow-soft);
}

.logo-img { height: 44px; width: auto; object-fit: contain; }

.nav-link-luxury {
  position: relative;
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.header-controls .btn {
  min-width: 44px;
  border-radius: 999px;
}

.header-search {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 0 12px;
  gap: 8px;
  min-width: 220px;
  height: 40px;
}

.header-search i {
  color: #7a7a7a;
  font-size: 0.9rem;
}

.header-search input {
  border: none;
  outline: none;
  width: 100%;
  background: transparent;
  font-size: 0.86rem;
}

.nav-link-luxury::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-start), var(--gold-end));
  transition: var(--transition-mid);
}

.nav-link-luxury:hover::after,
.nav-link-luxury.active::after { width: 100%; }

.hero-section {
  min-height: 88vh;
  position: relative;
  padding-top: calc(var(--nav-height) + 24px);
}

.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
  min-height: 88vh;
  height: 88vh;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.5));
}

.section-kicker {
  color: var(--gold-core);
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 700;
}

.btn-luxury {
  border: none;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: var(--transition-mid);
}

.btn-luxury-primary {
  color: #111;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
}

.btn-luxury-ghost {
  color: #fefefe;
  background: transparent;
  border: 1px solid #fefefe;
}

.btn-luxury-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.btn-luxury-ghost:hover { background: #fff; color: #111; }

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 24px;
}

.section-title h2 { margin: 0 0 8px; }
.section-underline { width: 88px; height: 2px; background: linear-gradient(90deg, var(--gold-start), var(--gold-end)); }

.lux-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: var(--transition-mid);
}

.lux-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

.category-card { position: relative; aspect-ratio: 4 / 5; }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-mid); }
.category-card:hover img { transform: scale(1.06); }

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.56), transparent 58%);
  color: #fff;
  display: flex;
  align-items: end;
  padding: 18px;
}

.stats-strip {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: #f4f1eb;
}

.products-grid .product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-mid);
}

.products-grid .product-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.product-card[data-link] { cursor: pointer; }

.product-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #f2f2f2; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-mid); }
.product-media .img-hover { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .img-hover { opacity: 1; }
.product-card:hover .img-main { opacity: 0; }

.product-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
}

.product-actions button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #1a1a1a;
}

.quick-buy {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: var(--transition-mid);
}

.product-card:hover .quick-buy { opacity: 1; transform: translateY(0); pointer-events: auto; }

[data-product-card] {
  transition: opacity 0.35s var(--ease-luxury), transform 0.35s var(--ease-luxury);
}

[data-product-card].filtered-out {
  opacity: 0.18;
  transform: scale(0.97);
  pointer-events: none;
}

.product-meta-link {
  color: #6a4e1a;
  font-size: 0.85rem;
  text-decoration: underline;
}

.product-card h6 {
  margin-bottom: 8px;
  font-size: 1.03rem;
}

.product-main-figure {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #efeae0;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 3 / 4;
}

.product-page-container {
  max-width: 1160px;
}

.product-main-figure-compact {
  max-height: 680px;
}

.product-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.product-thumb {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-mid);
}

.product-thumb-row-compact {
  max-width: 560px;
}

.product-thumb:hover,
.product-thumb.active {
  border-color: var(--gold-core);
  transform: translateY(-2px);
}

.product-info-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.product-ghost-btn {
  color: #222;
  border-color: #cbc3b1;
}

.product-ghost-btn:hover {
  background: #f2ead9;
  color: #111;
}

.product-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-meta-row span {
  border: 1px solid #e8e1d4;
  background: #faf7f0;
  color: #4f4639;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.8rem;
}

.fade-in-up {
  animation: fadeInUp 0.75s var(--ease-luxury) both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.badge-luxury {
  background: #f5edd9;
  color: #7c5b1d;
  border: 1px solid #eadbb6;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.price-value {
  direction: ltr;
  unicode-bidi: isolate;
  font-weight: 700;
  display: inline-block;
}

.sale-banner {
  background: linear-gradient(100deg, #b9233f, #7e1227);
  border-radius: var(--radius-xl);
  color: #fff;
}

.lookbook-card {
  position: relative;
  min-height: 380px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.lookbook-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lookbook-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1));
}

.lookbook-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 26px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.review-card {
  border-radius: 14px;
  border: 1px solid var(--border-color);
  padding: 18px;
  background: var(--bg-card);
}

.faq-accordion .accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}

.faq-accordion .accordion-button { background: #fff; color: #1a1a1a; }
.faq-accordion .accordion-button:not(.collapsed) {
  background: #faf6ee;
  color: #6d4f18;
  box-shadow: none;
}

.newsletter {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  background: linear-gradient(120deg, #fff, #f3eee3);
}

.instagram-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.footer-luxury {
  background: #efebe3;
  border-top: 1px solid var(--border-color);
}

.floating-whatsapp {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1050;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #25d366, #1ebe5d);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.reveal {
  opacity: 1;
  transform: none;
}

body.js-reveal .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.8s var(--ease-luxury);
}

body.js-reveal .reveal.in {
  opacity: 1;
  transform: none;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #fff;
  display: grid;
  place-items: center;
  transition: opacity 0.5s ease;
}

.preloader.hidden { opacity: 0; pointer-events: none; }
.preloader-inner {
  min-width: min(440px, calc(100vw - 56px));
  display: grid;
  gap: 16px;
  justify-items: center;
}

.preloader-brand {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: 0.2em;
  color: #1c1c1c;
}

.preloader-line {
  width: 100%;
  height: 2px;
  background: #e7e2d6;
  overflow: hidden;
}

.preloader-line span {
  display: block;
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, var(--gold-start), var(--gold-core), var(--gold-end));
  animation: loadingLine 1.2s ease-in-out infinite;
}

@keyframes loadingLine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(310%); }
}

@keyframes logoPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100vh;
  background: #fff;
  border-left: 1px solid var(--border-color);
  z-index: 1200;
  transform: translateX(100%);
  transition: var(--transition-mid);
}

.cart-drawer.open { transform: translateX(0); }

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1190;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-mid);
}

.cart-backdrop.show { opacity: 1; visibility: visible; }

.cart-item {
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 2px;
}

.qty-control button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: #f4efe4;
}

.qty-control span {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
}

.cart-summary-card {
  position: sticky;
  top: 110px;
}

/* Order confirmation (checkout success) */
.order-success-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
}

.order-success-icon {
  width: 76px;
  height: 76px;
  margin-inline: auto;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-start), var(--gold-end));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  font-size: 2.25rem;
  line-height: 1;
  box-shadow: var(--shadow-soft);
}

.order-success-title {
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.order-success-lead {
  max-width: 26rem;
  margin-inline: auto;
  line-height: 1.65;
}

.order-success-badge {
  background: var(--bg-main);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  border: 1px solid var(--border-color);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.order-success-label {
  letter-spacing: 0.12em;
  font-size: 0.7rem !important;
}

.order-success-id {
  font-family: ui-monospace, "Cairo", monospace;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

.order-success-total {
  margin-bottom: 0;
}

@media (pointer: coarse) {
  body.cursor-luxury,
  body.cursor-luxury * {
    cursor: auto !important;
  }
  .lux-cursor-dot,
  .lux-cursor-ring,
  .lux-cursor-aura {
    display: none !important;
  }
  .quick-buy { opacity: 1; transform: none; pointer-events: auto; }
}

@media (max-width: 991.98px) {
  .hero-media video { object-position: center 14%; }
}
