/* ==========================================================================
   AM FABRICS - HAUTE TEXTILES UAE (EST. 2021)
   Luxury Interactive Presentation Design System
   Compatible with Vanilla HTML/JS and WordPress / Elementor
   ========================================================================== */

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

/* --- DESIGN TOKENS & SYSTEM VARIABLES --- */
:root {
  /* Brand Color Palette */
  --am-pink-primary: #ae2757;       /* Royal Berry Pink from AM Logo */
  --am-pink-deep: #8d1b43;
  --am-pink-light: #fdf2f6;          /* Softest Rose Tint */
  --am-pink-subtle: #f7e6ee;
  --am-pink-accent: #c44d77;
  --am-pink-glow: rgba(174, 39, 87, 0.15);
  
  /* Luxury Neutrals */
  --am-white: #ffffff;
  --am-offwhite: #fcfbfa;           /* Alabaster */
  --am-cream: #f7f4ee;              /* Warm Couture Cream */
  --am-sand: #f0ebe2;               /* Organic Linen Sand */
  --am-sand-dark: #ded5c7;
  
  /* Dark Calm Typography */
  --am-charcoal: #191416;           /* Velvet Black */
  --am-charcoal-soft: #2c2528;
  --am-text-muted: #6b6065;
  --am-text-faint: #9c9197;
  
  /* Borders & Glassmorphism */
  --am-border-light: rgba(174, 39, 87, 0.12);
  --am-border-subtle: rgba(0, 0, 0, 0.06);
  --am-glass-bg: rgba(255, 255, 255, 0.82);
  --am-glass-blur: blur(20px);
  --am-shadow-subtle: 0 12px 36px -10px rgba(44, 37, 40, 0.06);
  --am-shadow-floating: 0 24px 60px -15px rgba(174, 39, 87, 0.12);
  
  /* Typography */
  --am-font-ar: 'Tajawal', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --am-font-en: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --am-font-editorial: 'Playfair Display', serif;
  
  /* Transitions */
  --am-ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --am-ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --am-transition-slow: 0.8s var(--am-ease-luxury);
  --am-transition-med: 0.4s var(--am-ease-luxury);
  --am-transition-fast: 0.2s ease;
  
  /* Layout Spacing */
  --am-container-max: 1560px;
  --am-section-pad: clamp(80px, 10vw, 160px);
  --am-gutter: clamp(20px, 4vw, 60px);
}

/* --- BASE RESETS & SCOPED ELEMENTOR ISOLATION --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--am-font-ar);
  background-color: var(--am-offwhite);
  color: var(--am-charcoal);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  font-weight: 400;
  transition: opacity 0.3s ease;
}

/* RTL / LTR Direction Handling */
html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
  font-family: var(--am-font-ar);
}

html[dir="ltr"] body {
  direction: ltr;
  text-align: left;
  font-family: var(--am-font-en);
}

html[dir="ltr"] .am-editorial-text {
  font-family: var(--am-font-editorial);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  user-select: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  transition: all var(--am-transition-med);
}

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

/* --- UTILITY & CONTAINER STYLES --- */
.am-container {
  width: 100%;
  max-width: var(--am-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--am-gutter);
  padding-right: var(--am-gutter);
}

.am-container--fluid {
  max-width: 100%;
  padding-left: clamp(20px, 4vw, 80px);
  padding-right: clamp(20px, 4vw, 80px);
}

.am-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--am-pink-primary);
  background: var(--am-pink-light);
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--am-border-light);
}

.am-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--am-pink-primary);
  animation: am-pulse 2s infinite ease-in-out;
}

@keyframes am-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
}

/* Luxury Editorial Headings */
.am-section-subtitle {
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--am-pink-primary);
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

html[dir="rtl"] .am-section-subtitle::before,
html[dir="ltr"] .am-section-subtitle::after {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--am-pink-primary);
  opacity: 0.5;
}

.am-section-title {
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--am-charcoal);
  margin-bottom: 24px;
}

.am-section-desc {
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  color: var(--am-text-muted);
  max-width: 680px;
  line-height: 1.8;
  font-weight: 400;
}

/* Editorial Buttons */
.am-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 16px 36px;
  border-radius: 100px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all var(--am-transition-med);
}

.am-btn--primary {
  background-color: var(--am-pink-primary);
  color: var(--am-white);
  box-shadow: 0 8px 24px -4px var(--am-pink-glow);
}

.am-btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--am-charcoal);
  transform: translateY(101%);
  transition: transform var(--am-transition-med);
  z-index: -1;
  border-radius: 100px;
}

.am-btn--primary:hover::before {
  transform: translateY(0);
}

.am-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(27, 20, 22, 0.25);
  color: var(--am-white);
}

.am-btn--outline {
  background: transparent;
  color: var(--am-charcoal);
  border: 1px solid var(--am-charcoal);
}

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

/* Liquid Water-Glass Luxury Container (حاوية شفافة مائية لقصتنا منذ 2021) */
.am-btn--water-glass,
.am-btn--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  min-height: 52px;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.38) 50%, rgba(255, 255, 255, 0.62) 100%);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.95),
    inset 0 -1.5px 2px rgba(0, 0, 0, 0.04),
    0 10px 30px -6px rgba(174, 39, 87, 0.12),
    0 4px 14px rgba(0, 0, 0, 0.04);
  color: var(--am-charcoal);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.am-btn--water-glass::before,
.am-btn--ghost::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 100px 100px 0 0;
  pointer-events: none;
}

.am-btn--water-glass:hover,
.am-btn--ghost:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.58) 50%, rgba(255, 255, 255, 0.82) 100%);
  border-color: rgba(255, 255, 255, 1);
  color: var(--am-pink-primary);
  transform: translateY(-2px);
  box-shadow: 
    inset 0 2px 3px rgba(255, 255, 255, 1),
    0 14px 38px -4px var(--am-pink-glow),
    0 6px 18px rgba(0, 0, 0, 0.06);
}

.am-btn--water-glass:active,
.am-btn--ghost:active {
  transform: translateY(0) scale(0.98);
}

/* Water Glass Pill Badge for About Hero */
.am-water-glass-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 24px;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.18) 100%);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.75),
    inset 0 -1px 2px rgba(0, 0, 0, 0.12),
    0 8px 32px -4px rgba(0, 0, 0, 0.35);
  color: #ffffff;
  font-size: clamp(0.85rem, 1.1vw, 0.9375rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  user-select: none;
}

.am-water-glass-pill:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0.16) 100%);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.9),
    0 12px 36px -4px rgba(174, 39, 87, 0.35);
}

.am-water-glass-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--am-pink-primary);
  box-shadow: 0 0 12px var(--am-pink-primary), 0 0 4px #ffffff;
  flex-shrink: 0;
  animation: amWaterDotPulse 2.8s infinite ease-in-out;
}

@keyframes amWaterDotPulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.35); }
}

.am-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--am-transition-med);
}

html[dir="rtl"] .am-btn:hover .am-btn__icon {
  transform: translateX(-6px);
}

html[dir="ltr"] .am-btn:hover .am-btn__icon {
  transform: translateX(6px);
}

/* ==========================================================================
   1. HEADER COMPONENT
   ========================================================================== */
.am-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color var(--am-transition-med), backdrop-filter var(--am-transition-med), box-shadow var(--am-transition-med), padding var(--am-transition-med);
  padding: 24px 0;
  background: transparent;
}

.am-header.is-scrolled {
  background: var(--am-glass-bg);
  backdrop-filter: var(--am-glass-blur);
  -webkit-backdrop-filter: var(--am-glass-blur);
  padding: 14px 0;
  box-shadow: 0 4px 24px -2px rgba(27, 20, 22, 0.05);
  border-bottom: 1px solid var(--am-border-light);
}

.am-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.am-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 40px);
}

.am-header__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--am-charcoal);
  position: relative;
  padding: 6px 0;
}

.am-header__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background-color: var(--am-pink-primary);
  transform: scaleX(0);
  transition: transform var(--am-transition-med);
  transform-origin: center;
}

.am-header__link:hover::after,
.am-header__link.is-active::after {
  transform: scaleX(1);
}

.am-header__link.is-active {
  color: var(--am-pink-primary);
  font-weight: 700;
}

.am-header__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.am-header__logo {
  height: clamp(38px, 4.2vw, 48px);
  width: auto;
  object-fit: contain;
  transition: transform var(--am-transition-med);
}

.am-header__logo:hover {
  transform: scale(1.03);
}

.am-header__actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
}

.am-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--am-charcoal);
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--am-border-subtle);
  transition: all var(--am-transition-fast);
}

.am-action-btn:hover {
  background: var(--am-pink-light);
  color: var(--am-pink-primary);
  border-color: var(--am-border-light);
  transform: translateY(-2px);
}

.am-cart-badge {
  position: absolute;
  top: -2px;
  inset-inline-end: -2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--am-pink-primary);
  color: var(--am-white);
  font-size: 0.6875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px var(--am-pink-glow);
}

/* Language Toggle Switcher */
.am-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--am-charcoal);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--am-border-subtle);
  transition: all var(--am-transition-med);
}

.am-lang-toggle:hover {
  background: var(--am-pink-light);
  color: var(--am-pink-primary);
  border-color: var(--am-border-light);
}

.am-lang-toggle__code {
  font-weight: 700;
  color: var(--am-pink-primary);
}

/* Mobile Hamburger */
.am-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--am-border-subtle);
  z-index: 1100;
}

.am-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--am-charcoal);
  transition: all var(--am-transition-med);
  border-radius: 2px;
}

.am-hamburger.is-active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.am-hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.am-hamburger.is-active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.am-mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--am-offwhite);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px var(--am-gutter) 40px;
  transform: translateY(-100%);
  transition: transform var(--am-transition-slow);
  visibility: hidden;
}

.am-mobile-menu.is-open {
  transform: translateY(0);
  visibility: visible;
}

.am-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.am-mobile-nav__link {
  font-size: 2rem;
  font-weight: 800;
  color: var(--am-charcoal);
  line-height: 1.2;
  transition: color var(--am-transition-fast);
}

.am-mobile-nav__link:hover,
.am-mobile-nav__link.is-active {
  color: var(--am-pink-primary);
}

.am-mobile-footer {
  border-top: 1px solid var(--am-border-light);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ==========================================================================
   2. HERO PRESENTATION SECTION (FULL SCREEN LUXURY WOMAN BACKGROUND)
   ========================================================================== */
.am-hero {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(100px, 12vh, 140px) 0 clamp(40px, 6vh, 60px);
  background-color: var(--am-cream);
  overflow: hidden;
}

/* Full-Screen Background Image Layer */
.am-hero__bg-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.am-hero__picture {
  display: block;
  width: 100%;
  height: 100%;
}

.am-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  transform: scale(1.02);
  transition: transform 1.8s var(--am-ease-luxury);
  filter: brightness(1) contrast(1.02);
}

.am-hero:hover .am-hero__bg-img {
  transform: scale(1);
}

/* Directional Contrast Scrim:
   - On RTL (Arabic default): Text is on the right side over the empty neoclassical hall.
     A soft champagne fade on the right provides pristine typography contrast.
     The left side (where the woman stands) remains 100% uncovered, transparent, sharp, and radiant.
   - On LTR (English): Fades in from the right to keep words on the right side away from the woman. */
.am-hero__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: 
    linear-gradient(to bottom, rgba(253, 250, 246, 0.45) 0%, transparent 110px),
    linear-gradient(to left, rgba(253, 250, 246, 0.94) 0%, rgba(253, 250, 246, 0.82) 28%, rgba(253, 250, 246, 0.4) 48%, rgba(253, 250, 246, 0) 65%);
}

html[dir="ltr"] .am-hero__scrim {
  background: 
    linear-gradient(to bottom, rgba(253, 250, 246, 0.45) 0%, transparent 110px),
    linear-gradient(to right, rgba(253, 250, 246, 0) 35%, rgba(253, 250, 246, 0.4) 52%, rgba(253, 250, 246, 0.82) 72%, rgba(253, 250, 246, 0.94) 100%);
}

/* Ambient glow accent */
.am-hero__ambient-glow {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(174, 39, 87, 0.06) 0%, rgba(253, 242, 246, 0) 70%);
  pointer-events: none;
  filter: blur(60px);
  z-index: 1;
}

/* Content Container: Positioned on the right side in both Arabic and English */
.am-hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: calc(100vh - 180px);
  min-height: calc(100dvh - 180px);
  display: flex;
  align-items: center;
  justify-content: flex-start; /* In RTL, start is the right side over the open wall */
}

html[dir="ltr"] .am-hero__container {
  justify-content: flex-end; /* In LTR, end is the right side over the open wall */
}

.am-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  max-width: 560px;
  position: relative;
  z-index: 2;
}

.am-hero__title {
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--am-charcoal);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}

.am-hero__title-accent {
  color: var(--am-pink-primary);
  position: relative;
  display: inline-block;
}

.am-hero__desc {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  color: var(--am-text-muted);
  line-height: 1.8;
  max-width: 520px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}

.am-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 8px;
}

/* ==========================================================================
   3. EDITORIAL PRODUCTS SHOWCASE (PRESENTATION STYLE)
   ========================================================================== */
.am-products-section {
  padding: var(--am-section-pad) 0;
  position: relative;
  background: var(--am-white);
}

.am-products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(40px, 6vw, 70px);
}

.am-products-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  direction: ltr !important;
}

.am-nav-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--am-border-subtle);
  background: var(--am-offwhite);
  color: var(--am-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--am-transition-med);
}

.am-nav-arrow:hover:not(:disabled) {
  background: var(--am-pink-primary);
  color: var(--am-white);
  border-color: var(--am-pink-primary);
  transform: scale(1.05);
}

.am-nav-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Horizontal Presentation Flow */
.am-products-showcase {
  position: relative;
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  padding-bottom: 24px;
}

.am-products-showcase::-webkit-scrollbar {
  display: none;
}

.am-products-showcase.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}

.am-products-track {
  display: flex;
  gap: clamp(24px, 3.5vw, 50px);
  width: max-content;
  padding: 10px 4px;
}

/* Individual Editorial Fabric Showcase Item */
.am-product-item {
  width: clamp(300px, 32vw, 440px);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--am-transition-slow);
}

.am-product-visual-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  overflow: hidden;
  background: var(--am-sand);
  margin-bottom: 16px;
  box-shadow: var(--am-shadow-subtle);
}

.am-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.55s cubic-bezier(0.25, 1, 0.5, 1), transform 0.75s var(--am-ease-luxury);
  will-change: opacity, transform;
}

.am-product-img.is-transitioning {
  opacity: 0.25;
  transform: scale(0.96);
}

.am-product-item:hover .am-product-img:not(.is-transitioning) {
  transform: scale(1.06);
}

.am-product-overlay-badges {
  position: absolute;
  top: 20px;
  inset-inline-start: 20px;
  inset-inline-end: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.am-fabric-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: var(--am-charcoal);
}

/* Fabric Swatches on Hover */
.am-product-quick-swatches {
  position: absolute;
  bottom: 20px;
  inset-inline-start: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  padding: 8px 14px;
  border-radius: 100px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  opacity: 0.9;
  transition: opacity var(--am-transition-med), transform var(--am-transition-med);
}

.am-product-item:hover .am-product-quick-swatches {
  opacity: 1;
  transform: translateY(-2px);
}

.am-swatch-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid var(--am-white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  opacity: 0.75;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.35s ease;
}

.am-swatch-dot:hover {
  opacity: 1;
  transform: scale(1.15);
}

.am-swatch-dot.is-active {
  opacity: 1;
  transform: scale(1.2);
}

.am-swatch-dot--coral { background: #df7c67; }
.am-swatch-dot--navy { background: #2c3152; }
.am-swatch-dot--burgundy { background: #56303a; }
.am-swatch-dot--emerald { background: #3b5a45; }
.am-swatch-dot--purple { background: #6b558e; }
.am-swatch-dot--vanilla { background: #efe8cf; border-color: #d8ceab; }
.am-swatch-dot--flora-lavender { background: #cfb4eb; }
.am-swatch-dot--flora-pink { background: #f4becd; }
.am-swatch-dot--flora-blue { background: #bfd4ea; }
.am-swatch-dot--damask { background: #2035c9; }
.am-swatch-dot--damask-lime { background: #94be64; }
.am-swatch-dot--damask-raspberry { background: #d86c95; }
.am-swatch-dot--damask-crimson { background: #d8607a; }
.am-swatch-dot--jewel-coral { background: #d65e5d; }
.am-swatch-dot--jewel-lime { background: #afd57d; }
.am-swatch-dot--jewel-fuchsia { background: #d95f9a; }
.am-swatch-dot--jewel-yellow { background: #d0c762; }
.am-swatch-dot--jewel-azure { background: #659dd6; }
.am-swatch-dot--pink { background: #df7395; }
.am-swatch-dot--white { background: #fdfdfd; }
.am-swatch-dot--beige { background: #d7cbbe; }
.am-swatch-dot--black { background: #1c1c1e; }

.am-product-info {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.am-product-action-row {
  display: flex;
  width: 100%;
}

/* Wide Rectangular Luxury Container for "اكتشف القماش" */
.am-product-cta-link {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 8px; /* Clean, modern rectangular box shape */
  background: var(--am-pink-primary);
  color: var(--am-white);
  border: 1.5px solid var(--am-pink-primary);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 4px 14px var(--am-pink-glow);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.am-product-cta-link:hover {
  background: var(--am-charcoal);
  border-color: var(--am-charcoal);
  color: var(--am-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(25, 20, 22, 0.35);
}

.am-product-cta-link svg {
  transition: transform var(--am-transition-fast);
  flex-shrink: 0;
}

html[dir="rtl"] .am-product-cta-link:hover svg {
  transform: translateX(-5px);
}

html[dir="ltr"] .am-product-cta-link:hover svg {
  transform: translateX(5px);
}

/* ==========================================================================
   4. REVIEWS PRESENTATION CAROUSEL
   ========================================================================== */
.am-reviews-section {
  padding: var(--am-section-pad) 0;
  background: var(--am-pink-light);
  position: relative;
  overflow: hidden;
}

.am-reviews-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(174, 39, 87, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.am-reviews-stage {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.am-reviews-quote-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 30px;
  color: var(--am-pink-primary);
  opacity: 0.25;
}

.am-reviews-slider {
  position: relative;
  min-height: 260px;
}

.am-review-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.8s var(--am-ease-luxury), transform 0.8s var(--am-ease-luxury), visibility 0.8s;
  pointer-events: none;
}

.am-review-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.am-review-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #df9e38;
  margin-bottom: 24px;
}

.am-review-stars svg {
  width: 20px;
  height: 20px;
  fill: #df9e38;
}

.am-review-quote {
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--am-charcoal);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.am-review-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.am-review-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--am-pink-primary);
}

.am-review-city {
  font-size: 0.875rem;
  color: var(--am-text-muted);
}

/* Reviews Pagination Dots */
.am-reviews-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.am-review-dot {
  width: 32px;
  height: 4px;
  border-radius: 4px;
  background: rgba(174, 39, 87, 0.2);
  transition: all var(--am-transition-med);
}

.am-review-dot.is-active {
  width: 56px;
  background: var(--am-pink-primary);
}

/* ==========================================================================
   5. SMALL BRAND SECTION (SINCE 2021)
   ========================================================================== */
.am-brand-section {
  padding: var(--am-section-pad) 0;
  position: relative;
  background: var(--am-cream);
  overflow: hidden;
}

.am-brand-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
}

.am-brand-narrative {
  position: relative;
  z-index: 2;
}

.am-brand-watermark-year {
  font-size: clamp(6rem, 14vw, 13rem);
  font-weight: 900;
  line-height: 0.85;
  color: rgba(174, 39, 87, 0.07);
  letter-spacing: -0.05em;
  user-select: none;
  margin-bottom: -20px;
  pointer-events: none;
}

.am-brand-statement {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 700;
  color: var(--am-charcoal);
  line-height: 1.5;
  margin-bottom: 24px;
}

.am-brand-body {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  color: var(--am-text-muted);
  line-height: 1.85;
  margin-bottom: 36px;
}

.am-brand-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--am-sand-dark);
  padding-top: 28px;
}

.am-brand-pillar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.am-brand-pillar-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--am-pink-primary);
}

.am-brand-pillar-desc {
  font-size: 0.8125rem;
  color: var(--am-text-muted);
  line-height: 1.5;
}

.am-brand-visual {
  position: relative;
}

.am-brand-calligraphy-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1024 / 571;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(44, 49, 82, 0.08), 0 0 0 1px rgba(174, 39, 87, 0.12);
  background: #ece8e5;
  transition: transform 0.6s var(--am-ease-luxury), box-shadow 0.6s ease;
}

.am-brand-calligraphy-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(174, 39, 87, 0.15), 0 0 0 1.5px rgba(174, 39, 87, 0.22);
}

.am-calligraphy-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
}

@media (max-width: 768px) {
  .am-brand-heritage-card {
    top: -16px;
    inset-inline-end: 12px;
    padding: 12px 18px;
  }
}

.am-brand-heritage-card {
  position: absolute;
  top: -24px;
  inset-inline-end: -24px;
  background: var(--am-white);
  padding: 20px 28px;
  border-radius: 20px;
  box-shadow: var(--am-shadow-subtle);
  border: 1px solid var(--am-border-light);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.am-brand-heritage-card strong {
  font-size: 1.25rem;
  color: var(--am-pink-primary);
  font-weight: 900;
}

.am-brand-heritage-card span {
  font-size: 0.8125rem;
  color: var(--am-text-muted);
}

/* ==========================================================================
   6. NEWSLETTER SECTION (MINIMAL LUXURY)
   ========================================================================== */
.am-newsletter-section {
  padding: clamp(80px, 9vw, 130px) 0;
  background: var(--am-white);
  position: relative;
  border-top: 1px solid var(--am-border-subtle);
}

.am-newsletter-box {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.am-newsletter-form {
  width: 100%;
  max-width: 540px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  position: relative;
}

.am-newsletter-input {
  flex: 1;
  background: var(--am-offwhite);
  border: 1px solid var(--am-border-light);
  padding: 16px 24px;
  border-radius: 100px;
  font-size: 0.9375rem;
  color: var(--am-charcoal);
  transition: all var(--am-transition-fast);
}

.am-newsletter-input:focus {
  border-color: var(--am-pink-primary);
  background: var(--am-white);
  box-shadow: 0 0 0 4px var(--am-pink-glow);
}

.am-newsletter-submit {
  flex-shrink: 0;
}

.am-newsletter-feedback {
  font-size: 0.875rem;
  font-weight: 600;
  display: none;
}

.am-newsletter-feedback.is-visible {
  display: block;
}

.am-newsletter-feedback.is-success {
  color: #1b8a5a;
}

/* ==========================================================================
   7. FOOTER COMPONENT
   ========================================================================== */
.am-footer {
  background: var(--am-charcoal);
  color: var(--am-offwhite);
  padding: clamp(70px, 8vw, 110px) 0 36px;
  position: relative;
}

.am-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(30px, 5vw, 70px);
  margin-bottom: clamp(50px, 7vw, 80px);
}

.am-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.am-footer__logo-img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.am-footer__tagline {
  font-size: 0.9375rem;
  color: #a4979e;
  line-height: 1.7;
  max-width: 320px;
}

.am-footer__col-title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--am-white);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.am-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.am-footer__nav a {
  font-size: 0.9375rem;
  color: #b8acb3;
  transition: color var(--am-transition-fast), transform var(--am-transition-fast);
}

.am-footer__nav a:hover {
  color: var(--am-white);
  transform: translateX(4px);
}

html[dir="rtl"] .am-footer__nav a:hover {
  transform: translateX(-4px);
}

.am-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.am-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #b8acb3;
  font-size: 0.9375rem;
}

.am-footer__socials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

.am-social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--am-white);
  transition: all var(--am-transition-med);
}

.am-social-icon:hover {
  background: var(--am-pink-primary);
  border-color: var(--am-pink-primary);
  transform: translateY(-3px);
}

.am-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.875rem;
  color: #8c7f86;
}

/* ==========================================================================
   8. ABOUT US PAGE PRESENTATION (HERO WITH SINGLE FULL-COVER VIDEO)
   ========================================================================== */
.am-about-hero {
  position: relative !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: clamp(140px, 16vh, 200px) 0 clamp(80px, 10vh, 120px) !important;
  text-align: center;
  overflow: hidden !important;
  background-color: #120e11;
}

/* Single Full-Cover Video Wrapper */
.am-about-hero__video-wrap {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

/* Single Full-Screen Video Background */
.am-about-hero__video {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  pointer-events: none !important;
  background-color: #120e11;
  z-index: 1 !important;
}

/* Luxury Multi-layer Vignette Scrim Overlay */
.am-about-hero__video-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: 
    radial-gradient(circle at 50% 50%, rgba(18, 13, 16, 0.42) 0%, rgba(18, 13, 16, 0.76) 100%),
    linear-gradient(180deg, rgba(18, 13, 16, 0.6) 0%, rgba(18, 13, 16, 0.22) 45%, rgba(18, 13, 16, 0.85) 100%) !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

.am-about-hero .am-container {
  position: relative !important;
  z-index: 10 !important;
}

.am-about-hero__inner {
  position: relative !important;
  z-index: 11 !important;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* Refined Badge over Video */
.am-badge--hero-video {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  font-weight: 600;
  letter-spacing: 0.14em;
}

.am-badge--hero-video .am-badge__dot {
  background: #f7a8c4;
  box-shadow: 0 0 10px #f7a8c4;
}

/* Title & Description Contrast over Video */
.am-about-hero__title {
  color: #ffffff !important;
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.8), 0 1px 4px rgba(0, 0, 0, 0.95);
}

.am-about-hero__desc {
  color: rgba(255, 255, 255, 0.94) !important;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.95;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85);
  font-weight: 400;
}

/* Elegant Scroll Down Cue */
.am-about-hero__scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  transition: color var(--am-transition-fast), transform var(--am-transition-fast);
  cursor: pointer;
  text-decoration: none;
}

.am-about-hero__scroll-indicator svg {
  animation: am-scroll-bounce 2s infinite ease-in-out;
}

@keyframes am-scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.am-about-hero__scroll-indicator:hover {
  color: #ffffff;
  transform: translateX(-50%) translateY(2px);
}

/* Mobile Breakpoint Adjustments */
@media (max-width: 768px) {
  .am-about-hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding: clamp(120px, 14vh, 160px) 0 clamp(70px, 8vh, 100px);
  }

  .am-about-hero__title {
    font-size: clamp(2rem, 8.5vw, 2.8rem);
  }

  .am-about-hero__scroll-indicator {
    bottom: 20px;
  }
}

/* Header Integration for About Us Page */
.am-page--about .am-header:not(.is-scrolled) {
  background: rgba(18, 13, 16, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.am-page--about .am-header:not(.is-scrolled) .am-header__link {
  color: rgba(255, 255, 255, 0.9);
}

.am-page--about .am-header:not(.is-scrolled) .am-header__link:hover,
.am-page--about .am-header:not(.is-scrolled) .am-header__link.is-active {
  color: #f7a8c4;
}

.am-page--about .am-header:not(.is-scrolled) .am-lang-toggle,
.am-page--about .am-header:not(.is-scrolled) .am-action-btn {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.am-page--about .am-header:not(.is-scrolled) .am-hamburger span {
  background-color: #ffffff;
}

.am-about-story {
  padding: var(--am-section-pad) 0;
  background: var(--am-white);
}

.am-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
  margin-bottom: clamp(60px, 9vw, 120px);
}

.am-about-grid.is-reversed {
  direction: ltr;
}

html[dir="rtl"] .am-about-grid.is-reversed {
  direction: ltr;
}

html[dir="rtl"] .am-about-grid.is-reversed > * {
  direction: rtl;
  text-align: right;
}

.am-about-img-frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--am-shadow-floating);
  aspect-ratio: 4 / 3;
}

.am-about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--am-ease-luxury);
}

.am-about-img-frame:hover img {
  transform: scale(1.05);
}

.am-about-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(40px, 6vw, 80px);
  padding-top: 40px;
  border-top: 1px solid var(--am-border-light);
}

.am-timeline-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.am-timeline-year {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--am-pink-primary);
  line-height: 1;
}

.am-timeline-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--am-charcoal);
}

.am-timeline-desc {
  font-size: 0.875rem;
  color: var(--am-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   9. PRODUCT DETAILS PAGE (MINIMAL LUXURY: IMAGE, ENGLISH TITLE, PRICE, COLOR, ADD TO CART)
   ========================================================================== */
.am-product-page {
  padding: clamp(100px, 12vh, 150px) 0 clamp(60px, 8vh, 100px);
  background: var(--am-offwhite);
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
}

.am-product-detail-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
  max-width: 1200px;
  margin: 0 auto;
}

/* Master Image Presentation (3-Second Luxury Auto-Transition & Controls) */
.am-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  width: 100%;
}

.am-gallery-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  overflow: hidden;
  background: var(--am-cream);
  box-shadow: 0 24px 60px -12px rgba(174, 39, 87, 0.12), 0 12px 30px -6px rgba(25, 20, 22, 0.06);
  border: 1px solid var(--am-border-subtle);
  position: relative;
  user-select: none;
}

.am-gallery-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.am-gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.75s cubic-bezier(0.25, 1, 0.5, 1), transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.am-gallery-img.is-current {
  opacity: 1;
  z-index: 1;
  transform: scale(1);
}

.am-gallery-img.is-incoming {
  opacity: 0;
  z-index: 2;
  transform: scale(1.025);
  pointer-events: none;
}

/* Badge with slide count */
.am-gallery-badge {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(174, 39, 87, 0.12);
  font-family: var(--am-font-en);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--am-charcoal);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  letter-spacing: 0.04em;
  pointer-events: none;
}

/* Arrows */
.am-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(174, 39, 87, 0.15);
  color: var(--am-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  opacity: 0.82;
}

.am-gallery-arrow:hover {
  opacity: 1;
  background: var(--am-white);
  transform: translateY(-50%) scale(1.08);
  color: var(--am-pink-primary);
  box-shadow: 0 8px 24px var(--am-pink-glow);
}

.am-gallery-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.am-gallery-arrow--prev {
  left: 16px;
  right: auto;
}

.am-gallery-arrow--next {
  right: 16px;
  left: auto;
}

/* Thumbnails Strip */
.am-gallery-thumbs {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scrollbar-width: thin;
}

.am-gallery-thumbs::-webkit-scrollbar {
  height: 4px;
}

.am-gallery-thumbs::-webkit-scrollbar-thumb {
  background: rgba(174, 39, 87, 0.2);
  border-radius: 4px;
}

.am-gallery-thumb-btn {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  border: none;
  background: var(--am-white);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  opacity: 0.72;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  flex-shrink: 0;
  padding: 0;
  position: relative;
}

.am-gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.am-gallery-thumb-btn:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}

.am-gallery-thumb-btn:hover img {
  transform: scale(1.06);
}

.am-gallery-thumb-btn.is-active {
  opacity: 1;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* Product Info & Actions */
.am-product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 10px 0;
}

.am-detail-title {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 800;
  color: var(--am-charcoal);
  line-height: 1.25;
}

.am-detail-title--en {
  font-family: var(--am-font-en);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--am-charcoal);
  margin-bottom: 4px;
  direction: ltr;
  text-align: inherit;
}

html[dir="rtl"] .am-detail-title--en {
  text-align: right;
}

.am-detail-price-box {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--am-border-subtle);
}

.am-detail-price {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 900;
  color: var(--am-pink-primary);
  font-family: var(--am-font-en);
  letter-spacing: -0.01em;
}

.am-detail-unit {
  font-size: 1.05rem;
  color: var(--am-text-muted);
  font-weight: 600;
}

.am-detail-desc {
  display: none;
}

/* Option Groups (Color Swatches) */
.am-option-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.am-option-group--color {
  background: var(--am-white);
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px solid var(--am-border-subtle);
  box-shadow: 0 10px 30px -8px rgba(44, 37, 40, 0.05);
}

.am-product-action-row {
  margin-top: 6px;
}

.am-product-buy-btn {
  width: 100%;
  min-height: 56px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 16px;
  box-shadow: 0 10px 25px -4px var(--am-pink-glow);
  cursor: pointer;
  border: none;
}

.am-option-label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--am-charcoal);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.am-selected-val {
  color: var(--am-pink-primary);
  font-weight: 800;
}

.am-color-swatches-list {
  display: flex;
  align-items: center;
  gap: 14px;
}

.am-color-swatch-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--am-white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  position: relative;
  cursor: pointer;
  opacity: 0.8;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease, box-shadow 0.4s ease;
}

.am-color-swatch-btn:hover {
  opacity: 1;
  transform: scale(1.08);
}

.am-color-swatch-btn.is-selected {
  opacity: 1;
  transform: scale(1.14);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.am-color-swatch-btn--coral { background: #df7c67; }
.am-color-swatch-btn--navy { background: #2c3152; }
.am-color-swatch-btn--burgundy { background: #56303a; }
.am-color-swatch-btn--emerald { background: #3b5a45; }
.am-color-swatch-btn--purple { background: #6b558e; }
.am-color-swatch-btn--vanilla { background: #efe8cf; border-color: #d8ceab; }
.am-color-swatch-btn--flora-lavender { background: #cfb4eb; }
.am-color-swatch-btn--flora-pink { background: #f4becd; }
.am-color-swatch-btn--flora-blue { background: #bfd4ea; }
.am-color-swatch-btn--damask { background: #2035c9; }
.am-color-swatch-btn--damask-lime { background: #94be64; }
.am-color-swatch-btn--damask-raspberry { background: #d86c95; }
.am-color-swatch-btn--damask-crimson { background: #d8607a; }
.am-color-swatch-btn--jewel-coral { background: #d65e5d; }
.am-color-swatch-btn--jewel-lime { background: #afd57d; }
.am-color-swatch-btn--jewel-fuchsia { background: #d95f9a; }
.am-color-swatch-btn--jewel-yellow { background: #d0c762; }
.am-color-swatch-btn--jewel-azure { background: #659dd6; }
.am-color-swatch-btn--pink { background: #df7395; }
.am-color-swatch-btn--white { background: #ffffff; }
.am-color-swatch-btn--beige { background: #ded2c4; }
.am-color-swatch-btn--black { background: #1c1c1e; }

.am-type-pills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.am-type-pill {
  padding: 10px 22px;
  border-radius: 100px;
  background: var(--am-white);
  border: 1px solid var(--am-border-subtle);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--am-charcoal);
  transition: all var(--am-transition-fast);
}

.am-type-pill:hover {
  border-color: var(--am-pink-primary);
}

.am-type-pill.is-selected {
  background: var(--am-pink-primary);
  border-color: var(--am-pink-primary);
  color: var(--am-white);
  box-shadow: 0 4px 12px var(--am-pink-glow);
}

/* Quantity Controls */
.am-quantity-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.am-quantity-selector {
  display: inline-flex;
  align-items: center;
  background: var(--am-white);
  border: 1px solid var(--am-border-subtle);
  border-radius: 100px;
  padding: 4px;
}

.am-qty-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--am-charcoal);
  transition: background var(--am-transition-fast);
}

.am-qty-btn:hover {
  background: var(--am-pink-light);
  color: var(--am-pink-primary);
}

.am-qty-input {
  width: 50px;
  text-align: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--am-charcoal);
  border: none;
  background: transparent;
}

/* Shipping Information Box */
.am-shipping-notice {
  background: var(--am-pink-light);
  border: 1px solid var(--am-border-light);
  border-radius: 20px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.am-shipping-notice__title {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--am-pink-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.am-shipping-rates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.am-rate-item {
  background: rgba(255, 255, 255, 0.7);
  padding: 12px 16px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.am-rate-location {
  font-size: 0.8125rem;
  color: var(--am-text-muted);
}

.am-rate-cost {
  font-size: 1rem;
  font-weight: 800;
  color: var(--am-charcoal);
}

/* Fabric Specs Table */
.am-fabric-specs {
  border-top: 1px solid var(--am-border-subtle);
  padding-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.am-spec-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.am-spec-label {
  font-size: 0.8125rem;
  color: var(--am-text-faint);
}

.am-spec-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--am-charcoal);
}

/* ==========================================================================
   10. CART SLIDE-OUT DRAWER
   ========================================================================== */
.am-cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(25, 20, 22, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--am-transition-med), visibility var(--am-transition-med);
}

.am-cart-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.am-cart-drawer {
  position: fixed;
  top: 0;
  inset-inline-end: 0;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: var(--am-white);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  z-index: 1250;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--am-transition-slow);
}

html[dir="rtl"] .am-cart-drawer {
  transform: translateX(-100%);
}

.am-cart-drawer-backdrop.is-open .am-cart-drawer {
  transform: translateX(0);
}

.am-cart-drawer__header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--am-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.am-cart-drawer__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--am-charcoal);
}

.am-cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.am-cart-item-thumb {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
}

.am-cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.am-cart-item-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--am-charcoal);
}

.am-cart-item-variant {
  font-size: 0.8125rem;
  color: var(--am-text-muted);
}

.am-cart-item-price {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--am-pink-primary);
}

.am-cart-item-remove {
  color: var(--am-text-faint);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: color var(--am-transition-fast);
}

.am-cart-item-remove:hover {
  color: var(--am-pink-primary);
}

.am-cart-drawer__footer {
  padding: 24px 28px;
  border-top: 1px solid var(--am-border-subtle);
  background: var(--am-offwhite);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.am-cart-shipping-select {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.am-cart-shipping-select label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--am-text-muted);
}

.am-cart-select {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--am-border-light);
  background: var(--am-white);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--am-charcoal);
}

.am-cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9375rem;
  color: var(--am-text-muted);
}

.am-cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--am-charcoal);
  border-top: 1px solid var(--am-border-light);
  padding-top: 12px;
}

.am-cart-total-val {
  color: var(--am-pink-primary);
}

/* ==========================================================================
   11. TOAST NOTIFICATIONS & REVEAL ANIMATIONS
   ========================================================================== */
.am-toast {
  position: fixed;
  bottom: 30px;
  inset-inline-end: 30px;
  background: var(--am-charcoal);
  color: var(--am-white);
  padding: 16px 24px;
  border-radius: 100px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.5s var(--am-ease-luxury), opacity 0.5s var(--am-ease-luxury);
  pointer-events: none;
}

.am-toast.is-active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.am-toast__icon {
  color: var(--am-pink-primary);
}

/* Scroll Reveal States */
.am-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--am-ease-luxury), transform 1s var(--am-ease-luxury);
}

.am-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.am-reveal-delay-1 { transition-delay: 0.15s; }
.am-reveal-delay-2 { transition-delay: 0.3s; }
.am-reveal-delay-3 { transition-delay: 0.45s; }

/* ==========================================================================
   12. RESPONSIVE MEDIA QUERIES (DESKTOP, TABLET, MOBILE)
   ========================================================================== */
@media (max-width: 1080px) {
  .am-hero__content {
    max-width: 480px;
  }

  .am-hero__scrim {
    background: 
      linear-gradient(to bottom, rgba(253, 250, 246, 0.45) 0%, transparent 110px),
      linear-gradient(to left, rgba(253, 250, 246, 0.96) 0%, rgba(253, 250, 246, 0.88) 32%, rgba(253, 250, 246, 0.4) 52%, rgba(253, 250, 246, 0) 70%);
  }

  html[dir="ltr"] .am-hero__scrim {
    background: 
      linear-gradient(to bottom, rgba(253, 250, 246, 0.45) 0%, transparent 110px),
      linear-gradient(to right, rgba(253, 250, 246, 0) 30%, rgba(253, 250, 246, 0.4) 48%, rgba(253, 250, 246, 0.88) 68%, rgba(253, 250, 246, 0.96) 100%);
  }
  
  .am-brand-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .am-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .am-product-detail-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .am-gallery-container {
    position: static;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .am-header__nav {
    display: none;
  }
  
  .am-hamburger {
    display: flex;
  }
  
  .am-hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(92px, 12vh, 110px) 0 clamp(40px, 6vh, 60px);
  }

  .am-hero__container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: auto;
    width: 100%;
  }

  .am-hero__bg-img {
    object-position: left center;
  }

  .am-hero__scrim {
    background: 
      linear-gradient(to bottom, rgba(253, 250, 246, 0.4) 0%, transparent 100px),
      linear-gradient(to left, rgba(253, 250, 246, 0.95) 0%, rgba(253, 250, 246, 0.84) 34%, rgba(253, 250, 246, 0.3) 54%, rgba(253, 250, 246, 0) 72%);
  }

  .am-hero__content {
    max-width: 100%;
    gap: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .am-hero__title {
    font-size: clamp(2.35rem, 9.2vw, 3rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  .am-hero__desc {
    font-size: 1.025rem;
    line-height: 1.75;
    max-width: 360px;
    color: #382c32;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
  }

  .am-hero__actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 13px !important;
    margin-top: 8px !important;
    width: 100% !important;
  }

  .am-hero__actions .am-btn {
    display: inline-flex !important;
    padding: 12px 26px !important;
    font-size: 0.9375rem !important;
    min-height: 48px !important;
    min-width: 210px !important;
    width: fit-content !important;
    justify-content: center !important;
  }
  
  .am-product-item {
    width: 280px;
  }
  
  .am-brand-pillars {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .am-about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .am-about-timeline {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  
  .am-footer__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .am-newsletter-form {
    flex-direction: column;
    gap: 12px;
  }
  
  .am-newsletter-input,
  .am-newsletter-submit {
    width: 100%;
  }

  /* Product Detail Mobile Polish */
  .am-product-page {
    padding: 95px 0 50px;
    min-height: auto;
  }

  .am-product-detail-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .am-gallery-container {
    max-width: 100%;
    margin: 0;
  }

  .am-gallery-main {
    border-radius: 20px;
    aspect-ratio: 1 / 1;
    max-height: 420px;
  }

  .am-product-detail-info {
    gap: 18px;
    padding: 0;
  }

  .am-detail-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .am-detail-title--en {
    font-size: 1.5rem;
  }

  .am-detail-price {
    font-size: 1.9rem;
  }

  .am-option-group--color {
    padding: 16px 18px;
    border-radius: 16px;
    gap: 12px;
  }

  .am-color-swatches-list {
    gap: 12px;
  }

  .am-color-swatch-btn {
    width: 44px;
    height: 44px;
  }

  .am-product-buy-btn {
    min-height: 52px;
    font-size: 1rem;
    border-radius: 14px;
  }
}

@media (max-width: 480px) {
  .am-hero__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
  }

  .am-hero__actions .am-btn {
    padding: 11px 22px;
    font-size: 0.875rem;
    min-height: 46px;
    min-width: 195px;
    justify-content: center;
  }

  .am-water-glass-pill {
    padding: 8px 18px;
    font-size: 0.8125rem;
  }

  .am-product-page {
    padding: 85px 0 40px;
  }

  .am-gallery-main {
    border-radius: 16px;
    max-height: 340px;
  }

  .am-detail-title--en {
    font-size: 1.3rem;
  }

  .am-detail-price {
    font-size: 1.7rem;
  }

  .am-option-label {
    font-size: 0.875rem;
  }

  .am-color-swatch-btn {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
