/* ===== IMPORTS & FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Prata&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --color-primary: #000;
  --color-primary-bg: #000;
  --color-text: #000;
  --color-text-light: #6d6d6d;
  /* Off-white with logo plum tint (#38023d) */
  --color-body-bg: #f6f1f8;
  --color-header-bg: #f6f1f8;
  --color-surface-card: #fdfbfd;
  --color-surface-muted: #efe8f3;
  --color-border-light: #e6dce9;
  /* Footer — soft brand plum (muted vs pure black) */
  --color-footer-bg: #34203c;
  --color-footer-text: #faf8f6;
  --color-footer-text-muted: rgba(250, 248, 246, 0.72);
  --color-footer-link: rgba(255, 244, 228, 0.88);
  --color-footer-border: rgba(255, 210, 165, 0.22);
  /* Brand plum — matches logo / auth visual identity */
  --color-brand-plum: #38023d;
  --color-brand-plum-mid: #2a1532;
  --color-brand-plum-deep: #1a0f22;
  --color-on-brand: #faf8f6;
  --color-on-brand-muted: rgba(250, 248, 246, 0.72);
  --color-brand-accent-line: rgba(255, 210, 165, 0.35);
  --font-heading: 'Prata', serif;
  --font-body: 'Raleway', sans-serif;
  --font-alt: 'Cormorant Garamond', serif;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-body-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

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

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

ul {
  list-style: none;
}

/* ===== TYPOGRAPHY ===== */
.prata {
  font-family: var(--font-heading);
}

.fs-50 {
  font-size: 3rem;
}

@media (max-width: 768px) {
  .fs-50 {
    font-size: 2rem;
  }
}

.fs-24 {
  font-size: 1.5rem;
}

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

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.w-100 {
  width: 100%;
}

.w-auto {
  width: auto;
}

/* ===== HEADER ===== */
.header {
  background: var(--color-header-bg);
  position: relative;
}

.header-main {
  padding: 15px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.header-left {
  flex: 0 0 auto;
}

.header-center {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
}

.header-center .project-name {
  flex-shrink: 0;
}

/* Quick links nav — hidden on all viewports; main menu handles navigation */
.header-shortcuts {
  display: none;
}

/* ===== SEARCH BUTTON ===== */
.open-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.open-search:hover,
.open-search:focus-visible {
  background: rgba(56, 2, 61, 0.07);
  box-shadow: 0 0 0 2px rgba(56, 2, 61, 0.12);
  outline: none;
}
.open-search:active {
  background: rgba(56, 2, 61, 0.12);
}
@media (max-width: 768px) {
  .open-search {
    width: 44px;
    height: 44px;
  }
  .open-search img {
    width: 22px;
    height: 22px;
  }
}

.project-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1.2;
}

.project-name--with-text {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
  text-decoration: none;
  color: inherit;
}

.project-name--with-text img {
  display: block !important;
  flex-shrink: 0;
}

.project-name__text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--color-brand-plum);
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .project-name__text {
    font-size: 1rem;
    letter-spacing: 1px;
  }
}

@media (max-width: 500px) {
  .project-name__text {
    display: none;
  }
}

.buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
}

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

.header-button button,
.header-button a {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== MENU MODAL ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.modal.show {
  display: block;
}

.modal.fade .modal-dialog {
  transition: transform 0.3s ease;
  transform: translateX(100%);
}

.modal.fade.show .modal-dialog {
  transform: translateX(0);
}

.modal.right .modal-dialog {
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  width: 400px;
  margin: 0;
  max-width: 90vw;
}

.modal-content {
  height: 100%;
  overflow-y: auto;
  border-radius: 0;
  background: var(--color-surface-card);
  padding: 30px;
  position: relative;
}

/* Menu sidebar — brand plum (logo identity) */
#menuModal.menu-modal .modal-content {
  background: linear-gradient(
    180deg,
    var(--color-brand-plum) 0%,
    var(--color-brand-plum-mid) 50%,
    var(--color-brand-plum-deep) 100%
  );
  color: var(--color-on-brand);
}

#menuModal .close-menu {
  color: var(--color-on-brand);
}

#menuModal .close-menu img {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

#menuModal .menu-block ul li {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

#menuModal .menu-block > ul:first-child > li:first-child {
  color: #f5e6c8;
  border-bottom-color: var(--color-brand-accent-line);
}

#menuModal .menu-block ul li a {
  color: var(--color-on-brand);
}

#menuModal .menu-block ul li a:hover {
  opacity: 0.85;
  color: #fff;
}

#menuModal .menu-block ul li span {
  color: var(--color-on-brand-muted);
}

.close-menu {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  color: var(--color-text);
  line-height: 1;
  transition: background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.close-menu:hover,
.close-menu:active {
  background: rgba(255, 255, 255, 0.25);
}

.menu-block ul {
  margin: 0;
  padding: 0;
}

.menu-block ul li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.menu-block ul li:first-child {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 2px solid #000;
}

.menu-block ul li a {
  display: block;
  color: var(--color-text);
  font-size: 1rem;
  transition: opacity 0.3s;
  padding: 4px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.menu-block ul li a:hover {
  opacity: 0.6;
}

/* Mobile sidebar improvements */
@media (max-width: 480px) {
  .modal.right .modal-dialog {
    width: 100vw;
    max-width: 100vw;
  }
  .modal-content {
    padding: 20px 20px 40px;
  }
  .close-menu {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
  }
  .menu-block ul li {
    padding: 10px 0;
  }
  .menu-block ul li a {
    font-size: 1.05rem;
    min-height: 48px;
  }
  .menu-block ul li:first-child {
    font-size: 1.05rem;
    padding-top: 52px;
  }
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}

/* ===== PREMIUM HOME HERO (index) — full-bleed image + overlay copy ===== */
.home-hero-premium {
  width: 100%;
  overflow: hidden;
  background: #1a0f22;
}

.home-hero-premium--fullbleed {
  position: relative;
  width: 100vw;
  max-width: 100%;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: clamp(440px, 78vh, 920px);
  display: flex;
  align-items: stretch;
}

.home-hero-premium__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero-premium__media .home-hero-premium__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.home-hero-premium__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(26, 12, 34, 0.88) 0%,
    rgba(26, 12, 34, 0.5) 42%,
    rgba(26, 12, 34, 0.12) 100%
  );
}

.home-hero-premium--fullbleed[dir="rtl"] .home-hero-premium__scrim {
  background: linear-gradient(
    270deg,
    rgba(26, 12, 34, 0.88) 0%,
    rgba(26, 12, 34, 0.5) 42%,
    rgba(26, 12, 34, 0.12) 100%
  );
}

.home-hero-premium__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  min-height: clamp(440px, 78vh, 920px);
  box-sizing: border-box;
  direction: ltr;
}

.home-hero-premium--fullbleed[dir="rtl"] .home-hero-premium__inner {
  direction: rtl;
}

.home-hero-premium__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  max-width: 38rem;
  padding: 0;
  background: transparent;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.home-hero-premium__title {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.12;
  color: #faf6f0;
  text-wrap: balance;
}

.home-hero-premium__lead {
  margin: 0;
  max-width: 36em;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
}

.home-hero-premium__cta {
  margin: 0.25rem 0 0;
}

.home-hero-premium__btn {
  border-color: #fff;
}

.home-hero-premium__btn:hover {
  background: #fff;
  color: #2a1532;
  border-color: #fff;
}

@media (max-width: 900px) {
  .home-hero-premium--fullbleed {
    min-height: clamp(420px, 85vh, 780px);
  }

  .home-hero-premium__inner {
    min-height: clamp(420px, 85vh, 780px);
    align-items: flex-end;
    padding-bottom: clamp(2rem, 6vw, 3rem);
  }

  .home-hero-premium__scrim {
    background: linear-gradient(
      180deg,
      rgba(26, 12, 34, 0.15) 0%,
      rgba(26, 12, 34, 0.55) 45%,
      rgba(26, 12, 34, 0.9) 100%
    );
  }

  .home-hero-premium--fullbleed[dir="rtl"] .home-hero-premium__scrim {
    background: linear-gradient(
      180deg,
      rgba(26, 12, 34, 0.15) 0%,
      rgba(26, 12, 34, 0.55) 45%,
      rgba(26, 12, 34, 0.9) 100%
    );
  }

  .home-hero-premium__copy {
    max-width: none;
  }
}

/* Hero motion: fast entrance + subtle zoom (respects reduced motion below) */
.home-hero-premium--motion .home-hero-premium__copy--stagger > * {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  animation: homeHeroIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.home-hero-premium--motion .home-hero-premium__copy--stagger > *:nth-child(1) { animation-delay: 0.08s; }
.home-hero-premium--motion .home-hero-premium__copy--stagger > *:nth-child(2) { animation-delay: 0.16s; }
.home-hero-premium--motion .home-hero-premium__copy--stagger > *:nth-child(3) { animation-delay: 0.24s; }

@keyframes homeHeroIn {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.home-hero-premium__media--ken .home-hero-premium__img {
  transform: scale(1.04);
  animation: homeHeroKen 14s ease-in-out infinite alternate;
}

@keyframes homeHeroKen {
  to { transform: scale(1.1); }
}

.home-hero-premium__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.home-hero-premium__btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.home-hero-premium__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

/* Quick strip under hero */
.home-quick-strip {
  position: relative;
  z-index: 2;
  margin-top: -1.25rem;
  margin-bottom: 0.5rem;
}

.home-quick-strip__scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.35rem 0 0.85rem;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.home-quick-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-brand-plum);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(56, 2, 61, 0.12);
  box-shadow: 0 8px 28px rgba(56, 2, 61, 0.08);
  scroll-snap-align: start;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.home-quick-pill i {
  font-size: 0.95rem;
  opacity: 0.85;
}

.home-quick-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(56, 2, 61, 0.14);
  border-color: rgba(255, 200, 140, 0.65);
}

/* Homepage stats strip removed from layout */
.home-stats-showcase {
  display: none !important;
}

/* Scroll reveal (toggled by JS) */
.home-reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(0.035s * var(--home-stat-i, 0));
}

.home-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ── Homepage motion: above-the-fold strips (load-in) ── */
@keyframes homeQuickPillIn {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes homeCatLinkIn {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes homeTitleReveal {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes homeTileReveal {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.home-animate-quick-strip .home-quick-pill {
  opacity: 0;
  animation: homeQuickPillIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.home-animate-quick-strip .home-quick-pill:nth-child(1) { animation-delay: 0.08s; }
.home-animate-quick-strip .home-quick-pill:nth-child(2) { animation-delay: 0.14s; }
.home-animate-quick-strip .home-quick-pill:nth-child(3) { animation-delay: 0.2s; }
.home-animate-quick-strip .home-quick-pill:nth-child(4) { animation-delay: 0.26s; }
.home-animate-quick-strip .home-quick-pill:nth-child(5) { animation-delay: 0.32s; }
.home-animate-quick-strip .home-quick-pill:nth-child(6) { animation-delay: 0.38s; }
.home-animate-quick-strip .home-quick-pill:nth-child(n + 7) { animation-delay: 0.44s; }

.home-animate-cat-strip .shop-cat-link {
  opacity: 0;
  animation: homeCatLinkIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.home-animate-cat-strip .shop-cat-link:nth-child(1) { animation-delay: 0.2s; }
.home-animate-cat-strip .shop-cat-link:nth-child(2) { animation-delay: 0.26s; }
.home-animate-cat-strip .shop-cat-link:nth-child(3) { animation-delay: 0.31s; }
.home-animate-cat-strip .shop-cat-link:nth-child(4) { animation-delay: 0.36s; }
.home-animate-cat-strip .shop-cat-link:nth-child(5) { animation-delay: 0.41s; }
.home-animate-cat-strip .shop-cat-link:nth-child(6) { animation-delay: 0.46s; }
.home-animate-cat-strip .shop-cat-link:nth-child(7) { animation-delay: 0.51s; }
.home-animate-cat-strip .shop-cat-link:nth-child(8) { animation-delay: 0.56s; }
.home-animate-cat-strip .shop-cat-link:nth-child(9) { animation-delay: 0.61s; }
.home-animate-cat-strip .shop-cat-link:nth-child(10) { animation-delay: 0.66s; }
.home-animate-cat-strip .shop-cat-link:nth-child(11) { animation-delay: 0.71s; }
.home-animate-cat-strip .shop-cat-link:nth-child(12) { animation-delay: 0.76s; }
.home-animate-cat-strip .shop-cat-link:nth-child(n + 13) { animation-delay: 0.82s; }

/* Scroll-in blocks: title then staggered tiles */
.home-reveal.is-visible .home-slider-title-row .home-section-title,
.home-reveal.is-visible.featured-products-section > .home-section-title,
.home-reveal.is-visible.home-category-section > .home-section-title,
.home-reveal.is-visible.home-shop-sub-showcase .home-shop-sub-showcase__title {
  animation: homeTitleReveal 0.58s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-product-slider-section.home-reveal.is-visible .swiper-slide {
  animation: homeTileReveal 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.home-product-slider-section.home-reveal.is-visible .swiper-slide:nth-child(1) { animation-delay: 0.06s; }
.home-product-slider-section.home-reveal.is-visible .swiper-slide:nth-child(2) { animation-delay: 0.11s; }
.home-product-slider-section.home-reveal.is-visible .swiper-slide:nth-child(3) { animation-delay: 0.16s; }
.home-product-slider-section.home-reveal.is-visible .swiper-slide:nth-child(4) { animation-delay: 0.21s; }
.home-product-slider-section.home-reveal.is-visible .swiper-slide:nth-child(5) { animation-delay: 0.26s; }
.home-product-slider-section.home-reveal.is-visible .swiper-slide:nth-child(6) { animation-delay: 0.31s; }
.home-product-slider-section.home-reveal.is-visible .swiper-slide:nth-child(7) { animation-delay: 0.36s; }
.home-product-slider-section.home-reveal.is-visible .swiper-slide:nth-child(8) { animation-delay: 0.41s; }
.home-product-slider-section.home-reveal.is-visible .swiper-slide:nth-child(n + 9) { animation-delay: 0.46s; }

.home-reveal.is-visible.featured-products-section .product-grid > .product-item {
  animation: homeTileReveal 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.home-reveal.is-visible.featured-products-section .product-grid > .product-item:nth-child(1) { animation-delay: 0.07s; }
.home-reveal.is-visible.featured-products-section .product-grid > .product-item:nth-child(2) { animation-delay: 0.12s; }
.home-reveal.is-visible.featured-products-section .product-grid > .product-item:nth-child(3) { animation-delay: 0.17s; }
.home-reveal.is-visible.featured-products-section .product-grid > .product-item:nth-child(4) { animation-delay: 0.22s; }
.home-reveal.is-visible.featured-products-section .product-grid > .product-item:nth-child(5) { animation-delay: 0.27s; }
.home-reveal.is-visible.featured-products-section .product-grid > .product-item:nth-child(6) { animation-delay: 0.32s; }
.home-reveal.is-visible.featured-products-section .product-grid > .product-item:nth-child(n + 7) { animation-delay: 0.37s; }

.home-reveal.is-visible.home-category-section .home-cat-grid > .home-cat-card {
  animation: homeTileReveal 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.home-reveal.is-visible.home-category-section .home-cat-grid > .home-cat-card:nth-child(1) { animation-delay: 0.05s; }
.home-reveal.is-visible.home-category-section .home-cat-grid > .home-cat-card:nth-child(2) { animation-delay: 0.1s; }
.home-reveal.is-visible.home-category-section .home-cat-grid > .home-cat-card:nth-child(3) { animation-delay: 0.15s; }
.home-reveal.is-visible.home-category-section .home-cat-grid > .home-cat-card:nth-child(4) { animation-delay: 0.2s; }
.home-reveal.is-visible.home-category-section .home-cat-grid > .home-cat-card:nth-child(5) { animation-delay: 0.25s; }
.home-reveal.is-visible.home-category-section .home-cat-grid > .home-cat-card:nth-child(6) { animation-delay: 0.3s; }
.home-reveal.is-visible.home-category-section .home-cat-grid > .home-cat-card:nth-child(7) { animation-delay: 0.35s; }
.home-reveal.is-visible.home-category-section .home-cat-grid > .home-cat-card:nth-child(8) { animation-delay: 0.4s; }
.home-reveal.is-visible.home-category-section .home-cat-grid > .home-cat-card:nth-child(n + 9) { animation-delay: 0.45s; }

.home-reveal.is-visible .home-slider-viewall,
.home-reveal.is-visible.featured-products-section > p.text-center,
.home-reveal.is-visible.home-category-section > p.text-center,
.home-reveal.is-visible.home-shop-sub-showcase .home-shop-sub-showcase__lead.text-center {
  animation: homeTitleReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

/* Visitor stats row — subtle stagger when scrolled into view */
.home-visitor-stats.home-reveal.is-visible .hv-stat-card {
  animation: homeTileReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.home-visitor-stats.home-reveal.is-visible .hv-stat-card:nth-child(1) { animation-delay: 0.05s; }
.home-visitor-stats.home-reveal.is-visible .hv-stat-card:nth-child(2) { animation-delay: 0.14s; }
.home-visitor-stats.home-reveal.is-visible .hv-stat-card:nth-child(3) { animation-delay: 0.23s; }

/* Homepage visit counter (end of main home content, before site footer) */
/* ===== VISITOR STATS SECTION ===== */
.home-visitor-stats {
  padding: 48px 0 52px;
  background: linear-gradient(135deg, #2a0130 0%, #38023d 50%, #1e0024 100%);
  position: relative;
  overflow: hidden;
}
.home-visitor-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.home-visitor-stats .container {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
@media (max-width: 480px) {
  .home-visitor-stats .container {
    max-width: 100%;
  }
}
.home-visitor-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hv-stat-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 24px 12px 20px;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.22s ease, background 0.22s ease;
}
.hv-stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.11);
}
.hv-stat-card--accent {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.2);
}
.hv-stat-card__icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}
.hv-stat-card__icon i {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}
.hv-stat-card__num {
  font-family: 'Cormorant Garamond', 'Playfair Display', 'Prata', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.hv-stat-card__label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
}
@media (max-width: 480px) {
  .home-visitor-stats__grid {
    gap: 8px;
  }
  .hv-stat-card {
    padding: 16px 6px 14px;
    border-radius: 12px;
  }
  .hv-stat-card__icon {
    width: 34px;
    height: 34px;
    margin-bottom: 8px;
  }
  .hv-stat-card__icon i {
    font-size: 0.85rem;
  }
  .hv-stat-card__num {
    font-size: 1.5rem;
  }
  .hv-stat-card__label {
    font-size: 0.65rem;
    letter-spacing: 0.02em;
  }
}
@media (min-width: 481px) and (max-width: 860px) {
  .hv-stat-card__num { font-size: 1.85rem; }
}

.home-section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 0.35rem;
}

.home-section-title::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 200, 140, 0.2), rgba(56, 2, 61, 0.35), rgba(255, 200, 140, 0.35));
  opacity: 0.85;
}

.home-product-slider-section .home-product-tile__link,
.featured-products-section .home-product-tile__link {
  transition: opacity 0.22s ease;
}

.home-product-slider-section .home-product-tile__link:hover,
.featured-products-section .home-product-tile__link:hover {
  opacity: 0.92;
}

.home-category-section .product-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-category-section .product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(56, 2, 61, 0.1);
}

/* Shop by Category — icon cards */
.home-cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin: 0;
}

@media (max-width: 1200px) {
  .home-cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .home-cat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .home-cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.home-cat-card {
  min-width: 0;
}

.home-cat-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: var(--color-surface-card);
  border-radius: 14px;
  border: 1px solid rgba(56, 2, 61, 0.1);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(56, 2, 61, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.home-cat-card__link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(56, 2, 61, 0.12);
  border-color: rgba(56, 2, 61, 0.22);
}

.home-cat-card__visual {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    145deg,
    rgba(56, 2, 61, 0.07) 0%,
    var(--color-surface-muted) 45%,
    rgba(255, 255, 255, 0.5) 100%
  );
}

.home-cat-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-brand-plum);
  font-size: 1.75rem;
  box-shadow: 0 6px 20px rgba(56, 2, 61, 0.12);
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.home-cat-card__link:hover .home-cat-card__icon {
  transform: scale(1.08);
  background: var(--color-brand-plum);
  color: #fff;
}

.home-cat-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-cat-card__icon-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-brand-plum);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(56, 2, 61, 0.25);
}

[dir='rtl'] .home-cat-card__icon-badge {
  right: auto;
  left: 10px;
}

.home-cat-card__body {
  padding: 14px 12px 16px;
  text-align: center;
}

.home-cat-card__title {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--color-text);
}

.home-shop-sub-showcase {
  margin-top: 0.5rem;
}

.home-shop-sub-showcase__inner {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 42px) clamp(18px, 3vw, 32px);
  padding-bottom: clamp(42px, 8vw, 58px);
  border-radius: 22px;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(246, 241, 248, 0.98) 42%,
    rgba(255, 252, 255, 0.94) 100%
  );
  border: 1px solid rgba(56, 2, 61, 0.09);
  box-shadow: 0 20px 56px rgba(56, 2, 61, 0.07);
}

/* Soft animated waves (desktop + mobile) */
.home-shop-sub-showcase__wave-layer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(40px, 11vw, 68px);
  z-index: 0;
  pointer-events: none;
}

.home-shop-sub-showcase__wave {
  position: absolute;
  bottom: 0;
  left: -20%;
  width: 140%;
  height: 100%;
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 360px 100%;
  opacity: 0.55;
  will-change: transform;
  animation: homeSubWaveDrift 24s linear infinite;
}

.home-shop-sub-showcase__wave--back {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 36' preserveAspectRatio='none'%3E%3Cpath fill='%2338023d' fill-opacity='0.12' d='M0 18 C45 6 90 28 135 18 T225 18 T315 22 L360 18 V36 H0z'/%3E%3C/svg%3E");
  animation-duration: 32s;
  opacity: 0.42;
}

.home-shop-sub-showcase__wave--front {
  bottom: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 30' preserveAspectRatio='none'%3E%3Cpath fill='%23834984' fill-opacity='0.18' d='M0 22 Q55 8 110 20 T220 14 T360 20 V30 H0z'/%3E%3C/svg%3E");
  animation-duration: 18s;
  animation-direction: reverse;
  opacity: 0.65;
}

@keyframes homeSubWaveDrift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-360px, 0, 0);
  }
}

@media (max-width: 480px) {
  .home-shop-sub-showcase__wave {
    background-size: 260px 100%;
    opacity: 0.48;
  }

  .home-shop-sub-showcase__wave--back {
    animation-duration: 36s;
  }

  .home-shop-sub-showcase__wave--front {
    animation-duration: 22s;
  }

  @keyframes homeSubWaveDrift {
    from {
      transform: translate3d(0, 0, 0);
    }
    to {
      transform: translate3d(-260px, 0, 0);
    }
  }
}

.home-shop-sub-showcase__head,
.home-shop-sub-showcase .home-cat-grid.home-cat-grid--showcase,
.home-shop-sub-showcase__inner > .section-description.text-center,
.home-shop-sub-showcase__actions {
  position: relative;
  z-index: 1;
}

.home-shop-sub-showcase .home-cat-grid.home-cat-grid--showcase {
  align-items: stretch;
}

.home-shop-sub-showcase__title {
  margin-bottom: 14px !important;
}

.home-shop-sub-showcase__rule {
  display: block;
  width: 56px;
  height: 3px;
  margin: 0 auto 18px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--color-brand-plum), transparent);
  opacity: 0.45;
  transform-origin: center;
}

.home-shop-sub-showcase.home-reveal.is-visible .home-shop-sub-showcase__rule {
  animation: homeSubRuleGlow 5s ease-in-out infinite;
}

@keyframes homeSubRuleGlow {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleX(1);
  }
  50% {
    opacity: 0.72;
    transform: scaleX(1.25);
  }
}

.home-shop-sub-showcase__head {
  margin-bottom: clamp(22px, 3vw, 32px);
}

/* Lead: single line «خطط منتظمة لتوصيل الزهور — اختر الدورة…» */
.home-shop-sub-showcase__lead {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  padding: 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

/* Homepage: shop category + subscriptions — exactly three tiles */
.home-cat-grid.home-cat-grid--showcase {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 480px) {
  .home-cat-grid.home-cat-grid--showcase {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 420px;
  }
}

/* Homepage: monthly + yearly subscription row (below shop-by-category) */
.home-cat-grid.home-cat-grid--dual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 480px) {
  .home-cat-grid.home-cat-grid--dual {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

.home-shop-sub-showcase__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.home-shop-sub-showcase__actions .btn-main,
.home-shop-sub-showcase__actions .btn-main-outline {
  min-width: 180px;
}

/* Subscription spotlight — waves + aura + icon motion */
@keyframes homeSubAuraPulse {
  0%,
  100% {
    box-shadow:
      0 4px 18px rgba(56, 2, 61, 0.07),
      0 0 0 0 rgba(131, 73, 132, 0.16);
  }
  50% {
    box-shadow:
      0 12px 34px rgba(56, 2, 61, 0.12),
      0 0 0 16px rgba(131, 73, 132, 0.045);
  }
}

@keyframes homeSubAuraFeatured {
  0%,
  100% {
    box-shadow:
      0 16px 44px rgba(56, 2, 61, 0.09),
      0 0 0 1px rgba(212, 175, 130, 0.35),
      0 0 0 0 rgba(212, 175, 130, 0.12);
  }
  50% {
    box-shadow:
      0 20px 50px rgba(56, 2, 61, 0.12),
      0 0 0 1px rgba(212, 175, 130, 0.45),
      0 0 0 14px rgba(212, 175, 130, 0.07);
  }
}

@keyframes homeSubIconFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -6px, 0);
  }
}

@media (min-width: 768px) {
  @keyframes homeSubIconFloat {
    0%,
    100% {
      transform: translate3d(0, 0, 0);
    }
    50% {
      transform: translate3d(0, -9px, 0);
    }
  }
}

@media (max-width: 480px) {
  @keyframes homeSubAuraPulse {
    0%,
    100% {
      box-shadow:
        0 3px 14px rgba(56, 2, 61, 0.06),
        0 0 0 0 rgba(131, 73, 132, 0.12);
    }
    50% {
      box-shadow:
        0 9px 26px rgba(56, 2, 61, 0.09),
        0 0 0 11px rgba(131, 73, 132, 0.032);
    }
  }

  @keyframes homeSubAuraFeatured {
    0%,
    100% {
      box-shadow:
        0 12px 34px rgba(56, 2, 61, 0.07),
        0 0 0 1px rgba(212, 175, 130, 0.35),
        0 0 0 0 rgba(212, 175, 130, 0.07);
    }
    50% {
      box-shadow:
        0 14px 38px rgba(56, 2, 61, 0.09),
        0 0 0 1px rgba(212, 175, 130, 0.42),
        0 0 0 10px rgba(212, 175, 130, 0.048);
    }
  }
}

.home-shop-sub-showcase.home-reveal.is-visible .home-sub-showcase-card:not(.home-sub-showcase-card--featured) .home-cat-card__link {
  animation: homeSubAuraPulse 5.2s ease-in-out infinite;
}

.home-shop-sub-showcase.home-reveal.is-visible .home-sub-showcase-card--featured .home-cat-card__link {
  animation: homeSubAuraFeatured 5s ease-in-out infinite;
}

.home-shop-sub-showcase.home-reveal.is-visible .home-sub-showcase-card:nth-child(1) .home-cat-card__link {
  animation-delay: 0s;
}
.home-shop-sub-showcase.home-reveal.is-visible .home-sub-showcase-card:nth-child(2) .home-cat-card__link {
  animation-delay: 0.4s;
}
.home-shop-sub-showcase.home-reveal.is-visible .home-sub-showcase-card:nth-child(3) .home-cat-card__link {
  animation-delay: 0.8s;
}

.home-shop-sub-showcase.home-reveal.is-visible .home-sub-showcase-card .home-cat-card__visual {
  animation: homeSubIconFloat 5.8s ease-in-out infinite;
  will-change: transform;
}

.home-shop-sub-showcase.home-reveal.is-visible .home-sub-showcase-card:nth-child(1) .home-cat-card__visual {
  animation-delay: 0s;
}
.home-shop-sub-showcase.home-reveal.is-visible .home-sub-showcase-card:nth-child(2) .home-cat-card__visual {
  animation-delay: 0.45s;
}
.home-shop-sub-showcase.home-reveal.is-visible .home-sub-showcase-card:nth-child(3) .home-cat-card__visual {
  animation-delay: 0.9s;
}

  position: relative;
  padding-top: 8px;
}

.home-sub-showcase-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #522058 0%, var(--color-brand-plum) 100%);
  box-shadow: 0 8px 18px rgba(56, 2, 61, 0.2);
}

[dir='rtl'] .home-sub-showcase-card__badge {
  left: auto;
  right: 14px;
}

.home-sub-showcase-card__badge--yearly {
  background: linear-gradient(135deg, #2a1030 0%, #7c4090 100%);
}

.home-sub-showcase-card--featured .home-cat-card__link {
  border-color: rgba(184, 134, 74, 0.42);
  box-shadow: 0 16px 44px rgba(56, 2, 61, 0.09), 0 0 0 1px rgba(212, 175, 130, 0.35);
}

.home-shop-sub-showcase .home-sub-showcase-card__visual {
  aspect-ratio: 5 / 4;
  position: relative;
  overflow: hidden;
}

.home-shop-sub-showcase .home-sub-showcase-card__visual--photo {
  aspect-ratio: 4 / 3;
}

.home-sub-showcase-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-sub-showcase-card__photo-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(185deg, transparent 40%, rgba(56, 2, 61, 0.38) 100%);
  pointer-events: none;
  z-index: 1;
}

.home-sub-showcase-card__icon-floating {
  position: absolute;
  bottom: 11px;
  right: 11px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.93);
  color: var(--color-brand-plum);
  font-size: 1rem;
  box-shadow: 0 6px 18px rgba(56, 2, 61, 0.18);
}

[dir='rtl'] .home-sub-showcase-card__icon-floating {
  right: auto;
  left: 11px;
}

@media (min-width: 481px) {
  .home-shop-sub-showcase .home-sub-showcase-card:nth-child(2) .home-sub-showcase-card__visual:not(.home-sub-showcase-card__visual--photo) {
    aspect-ratio: 3 / 5;
    min-height: 210px;
  }

  .home-shop-sub-showcase .home-sub-showcase-card:nth-child(2) .home-sub-showcase-card__visual--photo {
    aspect-ratio: 3 / 5;
    min-height: 240px;
  }

  .home-shop-sub-showcase .home-sub-showcase-card:not(:nth-child(2)) .home-sub-showcase-card__visual:not(.home-sub-showcase-card__visual--photo) {
    aspect-ratio: 5 / 4;
    min-height: 158px;
  }

  .home-shop-sub-showcase .home-sub-showcase-card:not(:nth-child(2)) .home-sub-showcase-card__visual--photo {
    aspect-ratio: 5 / 4;
    min-height: 168px;
  }

  .home-shop-sub-showcase .home-sub-showcase-card:nth-child(2) .home-cat-card__link {
    min-height: 100%;
  }

  .home-shop-sub-showcase .home-sub-showcase-card:nth-child(2) {
    margin-top: -12px;
    margin-bottom: 4px;
    align-self: stretch;
  }
}

@media (max-width: 480px) {
  .home-shop-sub-showcase .home-sub-showcase-card:nth-child(2) {
    margin-top: 0;
    margin-bottom: 0;
  }

  .home-shop-sub-showcase .home-sub-showcase-card__visual--photo {
    aspect-ratio: 16 / 10;
  }
}

.home-shop-sub-showcase .home-sub-showcase-card .home-cat-card__icon {
  width: 78px;
  height: 78px;
  font-size: 1.9rem;
}

.home-shop-sub-showcase .home-sub-showcase-card .home-cat-card__title {
  font-size: 1rem;
  font-family: var(--font-heading);
  font-weight: 500;
}

.home-sub-showcase-card__from {
  margin: 12px 0 2px;
  font-size: 0.8rem;
  color: var(--color-text);
  line-height: 1.35;
}

.home-sub-showcase-card__from strong {
  color: var(--color-brand-plum);
  font-weight: 700;
}

.home-sub-showcase-card__period {
  font-size: 0.78em;
  font-weight: 500;
  opacity: 0.8;
}

.home-sub-showcase-card--yearly .home-cat-card__link {
  border-color: rgba(124, 58, 237, 0.14);
}

.home-sub-showcase-card--yearly .home-cat-card__link:hover {
  border-color: rgba(124, 58, 237, 0.32);
}

.home-cat-card__hint {
  margin: 8px 0 0;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-text-light);
}

.home-cat-card--subscription .home-cat-card__visual--subscription {
  background: linear-gradient(
    145deg,
    rgba(56, 2, 61, 0.14) 0%,
    rgba(142, 76, 154, 0.12) 50%,
    rgba(255, 255, 255, 0.35) 100%
  );
}

.home-cat-card--subscription .home-cat-card__visual--subscription-yearly {
  background: linear-gradient(
    145deg,
    rgba(30, 0, 36, 0.18) 0%,
    rgba(56, 2, 61, 0.2) 45%,
    rgba(212, 175, 220, 0.25) 100%
  );
}

.home-cat-card--subscription .home-cat-card__title {
  font-size: 0.88rem;
}

@media (max-width: 768px) {
  .home-cat-card__icon {
    width: 56px;
    height: 56px;
    font-size: 1.35rem;
  }

  .home-cat-card__title {
    font-size: 0.75rem;
  }

  .home-shop-sub-showcase .home-sub-showcase-card .home-cat-card__title {
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-premium--motion .home-hero-premium__copy--stagger > *,
  .home-hero-premium__media--ken .home-hero-premium__img {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .home-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .home-animate-quick-strip .home-quick-pill,
  .home-animate-cat-strip .shop-cat-link,
  .home-product-slider-section.home-reveal.is-visible .swiper-slide,
  .home-reveal.is-visible.featured-products-section .product-grid > .product-item,
  .home-reveal.is-visible.home-category-section .home-cat-grid > .home-cat-card,
  .home-reveal.is-visible .home-slider-title-row .home-section-title,
  .home-reveal.is-visible.featured-products-section > .home-section-title,
  .home-reveal.is-visible.home-category-section > .home-section-title,
  .home-reveal.is-visible.home-shop-sub-showcase .home-shop-sub-showcase__title,
  .home-reveal.is-visible .home-slider-viewall,
  .home-reveal.is-visible.featured-products-section > p.text-center,
  .home-reveal.is-visible.home-category-section > p.text-center,
  .home-reveal.is-visible.home-shop-sub-showcase .home-shop-sub-showcase__lead.text-center,
  .home-visitor-stats.home-reveal.is-visible .hv-stat-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .home-quick-pill,
  .home-category-section .product-card,
  .home-cat-card__link {
    transition: none !important;
  }
  .home-quick-pill:hover,
  .home-category-section .product-card:hover,
  .home-cat-card__link:hover {
    transform: none !important;
  }
  .home-cat-card__link:hover .home-cat-card__icon {
    transform: none !important;
  }
  .home-shop-sub-showcase__wave,
  .home-shop-sub-showcase.home-reveal.is-visible .home-sub-showcase-card .home-cat-card__link,
  .home-shop-sub-showcase.home-reveal.is-visible .home-sub-showcase-card .home-cat-card__visual,
  .home-shop-sub-showcase.home-reveal.is-visible .home-shop-sub-showcase__rule {
    animation: none !important;
  }
  .home-shop-sub-showcase__wave {
    transform: none !important;
    opacity: 0.28 !important;
  }
}

/* ===== BUTTONS ===== */
.btn-main {
  display: inline-block;
  padding: 12px 30px;
  background: var(--color-primary-bg);
  color: #fff;
  border: 1px solid var(--color-primary-bg);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-body);
  text-align: center;
}

.btn-main:hover {
  background: #fff;
  color: var(--color-primary-bg);
}

.btn-main-white {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-body);
  text-align: center;
}

.btn-main-white:hover {
  background: #fff;
  color: #000;
}

.btn-main-outline {
  display: inline-block;
  padding: 12px 30px;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-body);
  text-align: center;
  text-decoration: none;
}
.btn-main-outline:hover {
  background: #000;
  color: #fff;
}

/* ===== SECTIONS ===== */
.section {
  margin: 2.5rem auto;
  padding: 40px 0;
}

.section-title {
  font-family: var(--font-heading);
  text-align: center;
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.35;
  text-transform: capitalize;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

.section-description {
  text-align: center;
  font-weight: 400;
  line-height: 1.29;
  max-width: 800px;
  margin: 0 auto 30px;
  color: var(--color-text-light);
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 0;
}

@media (max-width: 1200px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}

@media (max-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

.product-item {
  width: 100%;
  padding: 0;
  margin-bottom: 0;
}

/* ===== PRODUCT CARD — REDESIGNED ===== */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface-card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(56, 2, 61, 0.06);
  transition: box-shadow 0.28s ease, transform 0.28s ease;
  height: 100%;
  text-align: start;
}

.product-card:hover {
  box-shadow: 0 10px 32px rgba(56, 2, 61, 0.13);
  transform: translateY(-4px);
}

.product-card a {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

/* ── IMAGE WRAPPER: fixed aspect ratio, all images same size ── */
.product-card__img-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--color-surface-muted);
  flex-shrink: 0;
}

.product-card img,
.product-card__img-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.45s ease;
  margin-bottom: 0;
}

.product-card:hover .product-card__img-wrap img,
.product-card:hover > a img {
  transform: scale(1.05);
}

/* ── CARD BODY ── */
.product-card__body {
  padding: 12px 14px 6px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-card .product-name {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  color: var(--color-text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card .product-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-brand-plum, #38023d);
  margin: 0;
}

.product-card .product-price .original {
  text-decoration: line-through;
  color: #b0a0b8;
  margin-inline-end: 5px;
  font-weight: 400;
  font-size: 0.82rem;
}

/* ── BADGES on image ── */
.product-badge {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  z-index: 2;
  pointer-events: none;
}
.product-badge--new {
  background: var(--color-brand-plum, #38023d);
  color: #fff;
}
.product-badge--sale {
  background: #e63946;
  color: #fff;
  inset-inline-start: auto;
  inset-inline-end: 10px;
}

/* ── ACTIONS ── */
.product-card .product-actions {
  padding: 8px 12px 12px;
  margin-top: 0;
}

.product-card .btn-add-cart {
  width: 100%;
  display: block;
  padding: 9px 12px;
  font-size: 0.8rem;
  border-radius: 8px;
  text-align: center;
}

/* Home category section uses product-card too */
.home-category-section .product-card__img-wrap img,
.home-category-section .product-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ===== ABOUT SECTION ===== */
.home-about {
  padding: 60px 0;
}

.flew-row {
  display: flex;
  align-items: center;
  gap: 40px;
}

.flew-row.left {
  flex-direction: row;
}

.flew-row.right {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  .flew-row,
  .flew-row.left,
  .flew-row.right {
    flex-direction: column;
  }
}

.text-block {
  flex: 1;
}

.img-block {
  flex: 1;
}

.img-block img {
  width: 100%;
  height: auto;
}

.text-block .text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* ===== SHOP PAGE ===== */
.shop-header {
  text-align: center;
  padding: 40px 0;
  border-bottom: 1px solid #000;
  margin-bottom: 30px;
}

.shop-header h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 400;
}

.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--color-border-light);
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-bar select {
  padding: 8px 15px;
  border: 1px solid #000;
  border-radius: 0;
  font-family: var(--font-body);
  background: var(--color-surface-card);
  color: var(--color-text);
  cursor: pointer;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 40px 0;
}

@media (max-width: 768px) {
  .contact-section {
    grid-template-columns: 1fr;
  }
}

.contact-info-card {
  padding: 20px;
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.contact-info-card p {
  margin-bottom: 10px;
  color: var(--color-text-light);
}

.contact-form {
  display: grid;
  gap: 1.25rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  border: 1px solid #000;
  border-radius: 0;
  padding: 12px;
  font-family: var(--font-body);
  font-size: 0.87rem;
  width: 100%;
  color: var(--color-text);
  background: var(--color-surface-card);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--color-text-light);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form label {
  font-weight: 500;
  margin-bottom: 5px;
  display: block;
}

.contact-form button {
  background: #000;
  color: #fff;
  border: none;
  padding: 12px 30px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.87rem;
  width: fit-content;
  font-family: var(--font-body);
  transition: opacity 0.3s;
}

.contact-form button:hover {
  opacity: 0.85;
}

/* ===== FOOTER (muted brand plum + cream type) ===== */
.footer {
  color: var(--color-footer-text);
  padding: 60px 0 0;
  background:
    linear-gradient(180deg, rgba(251, 249, 245, 0.07) 0%, transparent 42%),
    linear-gradient(
      165deg,
      rgba(74, 45, 82, 0.97) 0%,
      rgba(56, 2, 61, 0.92) 38%,
      var(--color-brand-plum-mid) 72%,
      var(--color-brand-plum-deep) 100%
    );
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #f5e6c8;
  font-weight: 400;
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--color-footer-text-muted);
  font-family: var(--font-body);
}

.footer-col ul li {
  margin-bottom: 10px;
  color: var(--color-footer-text-muted);
  font-size: 0.86rem;
}

.footer-col ul li a {
  color: var(--color-footer-link);
  font-size: 0.86rem;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-col ul li a:hover {
  color: #fff9e8;
  opacity: 1;
}

.footer-col ul li i {
  color: rgba(255, 214, 165, 0.55);
  margin-inline-end: 6px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.footer-social a {
  color: var(--color-footer-text-muted);
  font-size: 1.2rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  color: #ffe9a8;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--color-footer-border);
  padding: 28px 0 32px;
  margin-top: 40px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-footer-text-muted);
  padding-bottom: max(32px, env(safe-area-inset-bottom, 0px));
}

.footer-brand-mark {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.25rem;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 210, 165, 0.15);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.footer-logo-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 210, 165, 0.35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.footer-brand-mark img {
  height: 46px;
  width: auto;
  display: block;
  opacity: 0.96;
}

.footer-copyright {
  margin: 0;
  letter-spacing: 0.04em;
}

/* ===== DROPDOWN ===== */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1000;
  min-width: 200px;
  padding: 15px;
  background: var(--color-surface-card);
  border: 1px solid var(--color-border-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.cart-dropdown {
  min-width: 300px;
}

.title-shopping-cart {
  font-size: 1rem;
  margin-bottom: 15px;
  text-align: center;
}

.empty-state {
  padding: 40px;
  color: var(--color-text-light);
}

/* ===== SIGN IN PAGE ===== */
.auth-page {
  max-width: 450px;
  margin: 60px auto;
  padding: 40px;
  text-align: center;
}

.auth-page h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 30px;
}

.auth-page input {
  width: 100%;
  padding: 12px;
  border: 1px solid #000;
  border-radius: 0;
  margin-bottom: 15px;
  font-family: var(--font-body);
  color: var(--color-text);
}

.auth-page input:focus {
  outline: none;
  border-color: var(--color-text-light);
}

.auth-page button {
  width: 100%;
}

/* ===== SECTION WITH BORDER ===== */
.section-bordered {
  border-bottom: 1px solid #000;
  margin: 2.5rem auto;
  padding-bottom: 2.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1440px) {
  .container {
    max-width: 1200px;
  }
}

@media (max-width: 1024px) {
  .container {
    max-width: 960px;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .project-name {
    font-size: 1.2rem;
    letter-spacing: 2px;
  }

  /* Reduce logo image on mobile so header stays compact */
  .project-name--with-text img {
    height: 40px !important;
  }

  .buttons {
    gap: 10px;
  }

  .header-button button,
  .header-button a {
    font-size: 0.9rem;
  }

  /* Better tap targets for header icon buttons */
  .header-button button,
  .header-button a {
    min-width: 40px;
    min-height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .section {
    margin: 1.5rem auto;
    padding: 25px 0;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .section-description {
    font-size: 0.9rem;
  }

  .btn-main,
  .btn-main-white {
    padding: 10px 24px;
    font-size: 0.8rem;
  }

  .shop-header h1 {
    font-size: 2.2rem;
  }

  .flew-row {
    gap: 25px;
  }

  .contact-section {
    gap: 1.5rem;
  }
}

@media (max-width: 500px) {
  .container {
    padding: 0 12px;
  }

  .project-name {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  .project-name--with-text img {
    height: 36px !important;
  }

  .buttons {
    gap: 6px;
  }

  .header-button button,
  .header-button a {
    font-size: 0.8rem;
    min-width: 38px;
    min-height: 38px;
  }

  /* Compact product cards on small phones */
  .product-card__body {
    padding: 8px 10px 4px;
  }
  .product-card .product-name {
    font-size: 0.82rem;
  }
  .product-card .product-price {
    font-size: 0.88rem;
  }
  .product-card .btn-add-cart {
    min-height: 42px;
    font-size: 0.72rem;
    padding: 8px 8px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section {
    padding: 20px 0;
  }

  .shop-header h1 {
    font-size: 1.8rem;
  }

  .footer-grid {
    gap: 20px;
  }

  .auth-page {
    padding: 20px;
    margin: 30px auto;
  }

  .auth-page h1 {
    font-size: 1.5rem;
  }
}

/* ===== UTILITY ===== */
.min-h-screen {
  min-height: 100vh;
}

.invisible {
  visibility: hidden;
}

.visible {
  visibility: visible;
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}

/* Loader animation */
.loader {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.loader::after {
  content: '';
  width: 40px;
  height: 40px;
  border: 2px solid #eee;
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Page loading indicator bar (nuxt-loading-indicator style) */
.loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-primary);
  z-index: 99999;
  transition: width 0.3s ease;
}

.loading-bar.active {
  width: 100%;
  transition: width 2s ease;
}

/* ===== CART SIDEBAR (brand plum — matches logo) ===== */
.cart-sidebar {
  z-index: 99999;
}
.cart-sidebar-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.cart-sidebar-content {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  width: 380px;
  max-width: 90vw;
  height: 100%;
  overflow-y: auto;
  padding: 20px;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.35);
  background: linear-gradient(
    180deg,
    var(--color-brand-plum) 0%,
    var(--color-brand-plum-mid) 50%,
    var(--color-brand-plum-deep) 100%
  );
  color: var(--color-on-brand);
}
.cart-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 15px;
  margin-bottom: 15px;
}
.cart-sidebar-header h3 {
  font-family: var(--font-heading), serif;
  margin: 0;
  color: var(--color-on-brand);
}
.cart-sidebar-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  line-height: 0;
}
.cart-sidebar-close img {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.cart-sidebar-body .cart-empty {
  text-align: center;
  padding: 40px 0;
  color: var(--color-on-brand-muted);
}
.cart-sidebar-body .cart-empty p {
  color: inherit;
  margin: 0 0 8px;
}
.cart-sidebar-content .btn-main {
  margin-top: 15px;
  display: inline-block;
  text-align: center;
  background: var(--color-on-brand);
  color: var(--color-brand-plum-deep);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.cart-sidebar-content .btn-main.w-100 {
  display: block;
}
.cart-sidebar-content .btn-main:hover {
  opacity: 0.94;
  color: var(--color-brand-plum-deep);
}
.cart-sidebar-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 15px;
  margin-top: 15px;
}
.cart-sidebar-footer .cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--color-on-brand);
}
.cart-row {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.cart-row__thumb {
  width: 60px;
  flex-shrink: 0;
}
.cart-row__thumb img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}
.cart-row__meta {
  flex: 1;
  min-width: 0;
}
.cart-row__meta h4 {
  font-size: 0.95rem;
  margin: 0 0 5px;
  color: var(--color-on-brand);
}
.cart-row__meta .cart-row__price {
  font-size: 0.85rem;
  color: var(--color-on-brand-muted);
  margin: 0 0 8px;
}
.cart-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-on-brand);
}
.cart-qty button {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-on-brand);
  cursor: pointer;
  border-radius: 2px;
}
.cart-qty button:hover {
  background: rgba(255, 255, 255, 0.16);
}
.cart-row__remove {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0 0;
  align-self: flex-start;
}
.cart-row__remove img {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}
[dir='rtl'] .cart-badge {
  right: auto;
  left: -5px;
}
.header-button.cart-button,
.header-button.cart-anchor-wrap {
  position: relative;
}
.cart-anchor-wrap {
  display: inline-block;
}
.cart-toast {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  width: min(320px, calc(100vw - 24px));
  z-index: 100050;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}
.cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cart-toast__inner {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  cursor: pointer;
  text-align: start;
  background: var(--color-surface-card);
  border: 1px solid rgba(56, 2, 61, 0.14);
  box-shadow: 0 12px 36px rgba(26, 15, 34, 0.18);
}
.cart-toast__inner:hover {
  border-color: rgba(56, 2, 61, 0.28);
  box-shadow: 0 16px 44px rgba(56, 2, 61, 0.2);
}
.cart-toast__inner:focus {
  outline: 2px solid rgba(255, 200, 120, 0.95);
  outline-offset: 2px;
}
.cart-toast__img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid rgba(56, 2, 61, 0.08);
}
.cart-toast__text {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-body);
}
.cart-toast__title {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand-plum);
}
.cart-toast__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-brand-plum-deep);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-toast__hint {
  font-size: 0.72rem;
  color: rgba(56, 2, 61, 0.55);
}
.cart-item-img img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

/* cart-row inside white modal */
.cart-modal__body .cart-row {
  border-bottom-color: #f0eaf2;
}
.cart-modal__body .cart-row__meta h4 {
  color: #1a1a1a;
}
.cart-modal__body .cart-row__meta .cart-row__price {
  color: var(--color-brand-plum, #38023d);
  font-weight: 600;
}
.cart-modal__body .cart-qty {
  color: #333;
}
.cart-modal__body .cart-qty button {
  border-color: rgba(56,2,61,0.25);
  background: rgba(56,2,61,0.05);
  color: var(--color-brand-plum, #38023d);
}
.cart-modal__body .cart-qty button:hover {
  background: rgba(56,2,61,0.12);
}
.cart-modal__body .cart-row__remove img {
  filter: none;
  opacity: 0.5;
}
.cart-modal__body .cart-row__remove:hover img {
  opacity: 1;
}
.cart-modal__body .cart-empty {
  text-align: center;
  padding: 32px 16px;
  color: #666;
}
.cart-modal__body .cart-empty p {
  color: #666;
}

/* ===== FLOATING CART BUBBLE ===== */
/* ===== FLOATING CART BUBBLE ===== */
.floating-cart-btn {
  /* Must be direct child of body (or outside transformed ancestors) */
  position: fixed;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  inset-inline-end: 28px;
  z-index: 99980;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px 12px 16px;
  background: var(--color-brand-plum, #38023d);
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(56,2,61,0.36), 0 1px 4px rgba(0,0,0,0.12);
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.01em;
  white-space: nowrap;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  /* hidden by default */
  opacity: 0;
  transform: translateY(20px) scale(0.88);
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 0.24s ease,
    transform 0.24s cubic-bezier(0.34,1.56,0.64,1),
    visibility 0s linear 0.24s,
    box-shadow 0.2s ease;
}
.floating-cart-btn.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
  transition:
    opacity 0.24s ease,
    transform 0.24s cubic-bezier(0.34,1.56,0.64,1),
    visibility 0s linear 0s,
    box-shadow 0.2s ease;
}
.floating-cart-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 32px rgba(56,2,61,0.44), 0 2px 6px rgba(0,0,0,0.1);
}
.floating-cart-btn:active {
  transform: scale(0.96);
  box-shadow: 0 2px 12px rgba(56,2,61,0.32);
}
.floating-cart-btn i {
  font-size: 1rem;
  flex-shrink: 0;
}
.floating-cart-label {
  font-size: 0.87rem;
  font-weight: 600;
}
.floating-cart-btn .floating-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: rgba(255,255,255,0.95);
  color: var(--color-brand-plum, #38023d);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}
@keyframes floatingCartBounce {
  0%   { transform: translateY(0) scale(1); }
  25%  { transform: translateY(-8px) scale(1.1); }
  55%  { transform: translateY(3px) scale(0.96); }
  80%  { transform: translateY(-3px) scale(1.03); }
  100% { transform: translateY(0) scale(1); }
}
.floating-cart-btn.bounce {
  animation: floatingCartBounce 0.45s ease;
}

/* ===== CART MODAL ===== */
.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  /* hidden by default */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0s linear 0.22s;
}
.cart-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.22s ease, visibility 0s linear 0s;
}
.cart-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 0, 18, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.cart-modal__panel {
  position: relative;
  z-index: 1;
  width: 460px;
  max-width: calc(100vw - 24px);
  max-height: min(86vh, 620px);
  background: var(--color-surface-card);
  border-radius: 20px;
  box-shadow: 0 20px 70px rgba(56,2,61,0.3), 0 4px 16px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transform: scale(0.93) translateY(18px);
  transition: transform 0.28s cubic-bezier(0.34,1.4,0.64,1);
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}
.cart-modal.is-open .cart-modal__panel {
  transform: scale(1) translateY(0);
}
.cart-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--color-brand-plum, #38023d);
  color: #fff;
  flex-shrink: 0;
  gap: 12px;
}
.cart-modal__header h3 {
  margin: 0;
  font-family: var(--font-heading), serif;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 600;
  flex: 1;
}
.cart-modal__close {
  flex-shrink: 0;
  background: rgba(255,255,255,0.14);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.cart-modal__close:hover,
.cart-modal__close:focus-visible {
  background: rgba(255,255,255,0.26);
  outline: none;
}
.cart-modal__body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 18px;
  min-height: 60px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.cart-modal__footer {
  border-top: 1px solid #ede8f0;
  padding: 14px 18px;
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  background: var(--color-body-bg);
  flex-shrink: 0;
}
.cart-modal__footer .cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-brand-plum, #38023d);
}
.cart-modal__footer .btn-main {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px;
  font-size: 1rem;
}
/* Mobile: bottom sheet */
@media (max-width: 560px) {
  .cart-modal {
    align-items: flex-end;
  }
  .cart-modal__panel {
    width: 100%;
    max-width: 100%;
    max-height: 90vh;
    max-height: 90dvh;
    border-radius: 22px 22px 0 0;
    transform: translateY(50px);
  }
  .cart-modal.is-open .cart-modal__panel {
    transform: translateY(0);
  }
  /* pull handle */
  .cart-modal__header::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 4px;
    background: rgba(255,255,255,0.35);
    border-radius: 2px;
  }
  .cart-modal__header {
    position: relative;
    padding-top: 20px;
  }
  .floating-cart-btn {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    inset-inline-end: 16px;
    padding: 10px 16px 10px 14px;
    font-size: 0.88rem;
    gap: 8px;
  }
}

/* ===== MAP SECTION ===== */
.map-section { padding: 40px 0; }
.map-container { width: 100%; height: 400px; margin-bottom: 30px; }

/* ===== SHOP CATEGORY BAR (Jadore-style) ===== */
.home-shop-cat-under-hero {
  width: 100%;
}
.home-shop-cat-under-hero .shop-cat-bar-wrap {
  border-bottom: 1px solid var(--color-border-light);
  background: var(--color-header-bg);
}
.shop-cat-bar-inner {
  padding: 0 10px;
}
.shop-cat-bar {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding: 10px 0;
  align-items: center;
}
.shop-cat-bar::-webkit-scrollbar {
  height: 4px;
}
.shop-cat-link {
  flex: 0 0 auto;
  padding: 8px 16px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #333;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.shop-cat-link:hover {
  opacity: 0.65;
}
.shop-cat-link.is-active {
  font-weight: 600;
  border-bottom-color: #000;
}

/* Shop page: collection strip inside main content (always visible) */
.shop-page-cat-strip {
  margin-bottom: 1.25rem;
}
.shop-cat-bar-wrap--page {
  border-radius: 14px;
  border: 1px solid rgba(56, 2, 61, 0.12);
  background: var(--color-surface-card);
  box-shadow: 0 6px 24px rgba(26, 15, 34, 0.06);
}
.shop-cat-bar--page {
  padding: 12px 6px;
}
.shop-cat-link--all {
  color: var(--color-brand-plum);
  font-weight: 700;
}
.shop-cat-bar-wrap--page .shop-cat-link.is-active {
  border-bottom-color: var(--color-brand-plum);
  color: var(--color-brand-plum);
}
.shop-cat-bar-wrap--page .shop-cat-link:hover {
  color: var(--color-brand-plum-deep);
  opacity: 1;
}

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}
.search-overlay.is-open {
  display: flex;
}
.search-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.search-overlay-panel {
  position: relative;
  z-index: 1;
  background: var(--color-surface-card);
  padding: 24px 28px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.search-overlay-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.search-overlay-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.search-overlay-form input[type='search'] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  font-family: var(--font-body);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== SHOP TOOLBAR & FILTER DRAWER ===== */
.shop-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 16px;
}
.btn-filter-sort {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(
    145deg,
    var(--color-brand-plum) 0%,
    var(--color-brand-plum-mid) 100%
  );
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-body);
  box-shadow: 0 6px 20px rgba(56, 2, 61, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.btn-filter-sort__icon {
  font-size: 0.95rem;
  opacity: 0.95;
}
.btn-filter-sort:hover {
  color: #fff;
  filter: brightness(1.06);
  box-shadow: 0 8px 26px rgba(56, 2, 61, 0.35);
  transform: translateY(-1px);
}
.btn-filter-sort:focus-visible {
  outline: 2px solid var(--color-brand-accent-line);
  outline-offset: 3px;
}
.shop-toolbar-meta {
  font-size: 0.85rem;
  color: var(--color-brand-plum-deep);
  opacity: 0.85;
}
.filter-drawer {
  position: fixed;
  inset: 0;
  z-index: 99990;
  pointer-events: none;
}
.filter-drawer.is-open {
  pointer-events: auto;
}
.filter-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.filter-drawer.is-open .filter-drawer-backdrop {
  opacity: 1;
}
.filter-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: var(--color-body-bg);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}
.filter-drawer.is-open .filter-drawer-panel {
  transform: translateX(0);
}
.filter-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
}
.filter-drawer-head h2 {
  font-size: 1.1rem;
  margin: 0;
}
.close-filter-drawer {
  border: none;
  background: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.filter-drawer-form .form-group {
  margin-bottom: 16px;
}
.filter-drawer-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.85rem;
}
.filter-drawer-form input,
.filter-drawer-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  font-family: var(--font-body);
}

/* ===== SHOP FILTER MODAL (Bootstrap markup, vanilla toggle) ===== */
#shopFilterModalBackdrop {
  z-index: 99999;
}
.shop-filter-modal.modal {
  z-index: 100000;
}
.shop-filter-modal.modal.fade .modal-dialog {
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.shop-filter-modal.modal.fade.show .modal-dialog {
  transform: translateY(0);
  opacity: 1;
}
.shop-filter-dialog {
  margin: 1.5rem auto;
  max-width: 440px;
  width: calc(100% - 2rem);
}
.shop-filter-content {
  border-radius: 18px;
  border: 1px solid rgba(56, 2, 61, 0.12);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(26, 15, 34, 0.22);
  background: var(--color-body-bg);
}
.shop-filter-brandbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 1.15rem 1.25rem 1.25rem;
  background: linear-gradient(
    135deg,
    var(--color-brand-plum) 0%,
    var(--color-brand-plum-mid) 55%,
    var(--color-brand-plum-deep) 100%
  );
  color: #fff;
}
.shop-filter-brandbar__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.shop-filter-brandbar__name {
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: #fff;
}
.shop-filter-brandbar__sub {
  font-size: 0.78rem;
  opacity: 0.88;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.btn-close-shop-filter {
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  line-height: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.18s ease, transform 0.18s ease;
}
.btn-close-shop-filter:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  transform: scale(1.05);
}
.btn-close-shop-filter:focus-visible {
  outline: 2px solid var(--color-brand-accent-line);
  outline-offset: 2px;
}
.shop-filter-body {
  padding: 1.1rem 1.15rem 1.35rem;
  background: var(--color-body-bg);
}
.shop-filter-panel {
  background: var(--color-surface-card);
  border: 1px solid rgba(56, 2, 61, 0.08);
  border-radius: 14px;
  padding: 0.95rem 1rem 1.05rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 18px rgba(26, 15, 34, 0.06);
}
.shop-filter-panel__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-brand-plum);
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
}
.shop-filter-panel__icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 2, 61, 0.08);
  color: var(--color-brand-plum);
  font-size: 0.85rem;
}
.shop-filter-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-brand-plum-deep);
  margin-bottom: 0.4rem;
  opacity: 0.85;
}
.shop-filter-control {
  border-radius: 10px;
  border: 1px solid rgba(56, 2, 61, 0.15);
  font-size: 0.95rem;
  padding: 0.6rem 0.75rem;
  background: var(--color-surface-card);
}
.shop-filter-control:focus {
  border-color: var(--color-brand-plum);
  box-shadow: 0 0 0 3px rgba(56, 2, 61, 0.12);
  outline: 0;
}
.shop-sort-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.shop-sort-card {
  position: relative;
  margin: 0;
  cursor: pointer;
}
.shop-sort-card__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.shop-sort-card__face {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  min-height: 88px;
  padding: 12px 8px;
  border-radius: 12px;
  border: 2px solid rgba(56, 2, 61, 0.1);
  background: var(--color-body-bg);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.shop-sort-card__ico {
  font-size: 1.1rem;
  color: var(--color-brand-plum);
  opacity: 0.9;
}
.shop-sort-card__label {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-brand-plum-deep);
  letter-spacing: 0.02em;
}
.shop-sort-card:hover .shop-sort-card__face {
  border-color: rgba(56, 2, 61, 0.22);
  background: var(--color-surface-card);
}
.shop-sort-card__input:focus-visible + .shop-sort-card__face {
  outline: 2px solid var(--color-brand-plum);
  outline-offset: 2px;
}
.shop-sort-card__input:checked + .shop-sort-card__face {
  border-color: var(--color-brand-plum);
  background: linear-gradient(
    160deg,
    rgba(56, 2, 61, 0.06) 0%,
    rgba(255, 251, 249, 1) 100%
  );
  box-shadow: 0 6px 20px rgba(56, 2, 61, 0.12);
}
.shop-sort-card__input:checked + .shop-sort-card__face .shop-sort-card__ico {
  color: var(--color-brand-plum-deep);
}
.shop-filter-tip {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 12px;
  background: rgba(56, 2, 61, 0.05);
  border: 1px dashed rgba(56, 2, 61, 0.18);
}
.shop-filter-tip__icon {
  color: var(--color-brand-plum);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.shop-filter-tip p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--color-brand-plum-deep);
  opacity: 0.92;
}
.shop-filter-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 0.25rem;
  padding-top: 0.5rem;
}
.shop-filter-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 13px 18px !important;
  background: linear-gradient(
    145deg,
    var(--color-brand-plum) 0%,
    var(--color-brand-plum-mid) 100%
  ) !important;
  border: none !important;
  box-shadow: 0 6px 22px rgba(56, 2, 61, 0.25);
}
.shop-filter-apply:hover {
  filter: brightness(1.05);
  color: #fff !important;
}
.shop-filter-clear {
  display: block;
  text-align: center;
  color: var(--color-brand-plum);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(56, 2, 61, 0.15);
  background: var(--color-surface-card);
  transition: background 0.18s ease, border-color 0.18s ease;
}
.shop-filter-clear:hover {
  color: var(--color-brand-plum-deep);
  background: rgba(56, 2, 61, 0.04);
  border-color: rgba(56, 2, 61, 0.25);
}

.product-detail-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.shop-breadcrumb {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 20px;
}
.shop-breadcrumb .sep {
  margin: 0 6px;
  opacity: 0.5;
}
.product-detail-img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  background: #f7f7f7;
}
.product-detail-title {
  font-size: 2rem;
  margin-bottom: 12px;
}
.product-detail-price {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

/* ===== RTL SUPPORT ===== */
[dir="rtl"] .header-right { text-align: left; }
[dir="rtl"] .buttons { flex-direction: row-reverse; }
[dir="rtl"] .menu-modal .modal-dialog { left: 0; right: auto; }
[dir="rtl"] .cart-sidebar-content {
  left: 0;
  right: auto;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.35);
}

/* Menu sidebar: slide from correct edge */
[dir="rtl"] .modal.right .modal-dialog {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}
[dir="rtl"] .modal.fade.show .modal-dialog {
  transform: translateX(0);
}
[dir="rtl"] .close-menu {
  right: auto;
  left: 16px;
}
[dir="rtl"] .filter-drawer-panel {
  right: auto;
  left: 0;
  transform: translateX(-100%);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
}
[dir="rtl"] .filter-drawer.is-open .filter-drawer-panel {
  transform: translateX(0);
}
[dir="rtl"] .search-overlay-close {
  right: auto;
  left: 12px;
}

/* ===== LANGUAGE SWITCH ===== */
.lang-switch a { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; border: 1px solid #000; padding: 5px 10px; text-decoration: none; color: #000; }
.lang-switch a:hover { background: #000; color: #fff; }

/* ===== PRODUCT CARD ===== */
.product-card .product-actions { margin-top: 10px; }
.product-card .btn-add-cart { padding: 8px 15px; font-size: 0.8rem; }

/* ===== HOME CATEGORY SWIPER (Jadore-style) ===== */
.home-product-slider-section {
  margin-top: 1.5rem;
}
.home-slider-title-row .section-title {
  margin-bottom: 1.25rem;
}
.product-slider-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
}
[dir='rtl'] .product-slider-wrap {
  flex-direction: row-reverse;
}
.home-category-swiper {
  flex: 1;
  min-width: 0;
  padding-bottom: 2.25rem;
}
.home-category-swiper .swiper-pagination {
  bottom: 0 !important;
}
.home-category-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #ccc;
  opacity: 1;
}
.home-category-swiper .swiper-pagination-bullet-active {
  background: #000;
}

/* Mobile / narrow: homepage collection rows → 2-col grid (like Featured products) */
@media (max-width: 639px) {
  .home-product-slider-section .product-slider-wrap {
    display: block;
    margin-bottom: 1.25rem;
  }
  .home-product-slider-section .slide-button {
    display: none !important;
  }
  .home-category-swiper.home-category-swiper--static-grid {
    flex: none;
    width: 100%;
    min-width: 0;
    padding-bottom: 0;
    overflow: visible;
  }
  .home-category-swiper.home-category-swiper--static-grid .swiper-pagination {
    display: none !important;
  }
  .home-category-swiper.home-category-swiper--static-grid .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    transform: none !important;
    translate: none !important;
  }
  .home-category-swiper.home-category-swiper--static-grid .swiper-slide {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    height: auto !important;
  }
}
.slide-button {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid #000;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  padding: 0;
}
.slide-button:hover {
  background: #000;
  color: #fff;
}
.slide-button.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}
.home-slider-product-item {
  width: 100%;
  padding: 0;
  margin-bottom: 0;
}

/* Homepage product tiles (no shop card chrome) */
.home-product-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.home-product-tile__link {
  display: block;
  text-decoration: none;
  color: inherit;
  flex: 1 1 auto;
  min-height: 0;
}
.home-product-tile__img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #f4f0ec;
}
.home-product-tile__name {
  margin: 0.6rem 0 0.35rem;
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 600;
}
.home-product-tile__price {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
}
.home-product-tile__actions {
  margin-top: auto;
  padding-top: 0.2rem;
}
.home-product-tile__actions .btn-add-cart {
  width: 100%;
  display: block;
  box-sizing: border-box;
  text-align: center;
}
.featured-products-section .home-product-tile__actions .btn-add-cart {
  padding: 8px 12px;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.home-slider-viewall {
  margin-top: 0.5rem;
  margin-bottom: 0;
}
@media (max-width: 575px) {
  .slide-button {
    width: 38px;
    height: 38px;
  }
}

/* ===== PRODUCT DETAIL (Jadore-style) ===== */
.product-detail-jadore .product-detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.product-detail-jadore .product-detail-title {
  margin: 0;
  flex: 1;
}
.product-sku {
  font-size: 0.85rem;
  color: #666;
  letter-spacing: 0.04em;
  margin: 8px 0 12px;
}
.product-gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.pg-thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid var(--color-border-light);
  background: var(--color-surface-card);
  cursor: pointer;
  overflow: hidden;
  border-radius: 2px;
}
.pg-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pg-thumb.is-active {
  border-color: #000;
}
.delivery-pick {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}
.delivery-btn {
  padding: 10px 18px;
  border: 1px solid #000;
  background: var(--color-surface-card);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-body);
}
.delivery-btn.is-active {
  background: #000;
  color: #fff;
}
.product-detail-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}
.btn-drop-hint {
  padding: 12px 24px;
  border: 1px solid #000;
  background: var(--color-surface-card);
  color: #000;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-drop-hint:hover {
  background: #f5f5f5;
}
.product-details-accordion {
  margin-top: 28px;
  border-top: 1px solid #eee;
  padding-top: 16px;
}
.product-details-accordion summary {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  padding: 8px 0;
}
.product-details-accordion summary::-webkit-details-marker {
  display: none;
}
.product-details-inner {
  padding-top: 12px;
  color: #333;
  line-height: 1.7;
}
.product-long-desc {
  margin-bottom: 16px;
}
.product-subheading {
  font-size: 0.95rem;
  margin: 18px 0 8px;
  font-weight: 600;
}
.product-bullet-list {
  margin: 0 0 12px 1.1em;
  padding: 0;
  list-style: disc;
}
.product-care {
  margin-top: 16px;
}

/* ===== PRODUCT PAGE — brand glass (very soft bg + plum identity) ===== */
.product-detail-section--luxe.section {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 2.25rem;
  padding-bottom: 3rem;
  background:
    radial-gradient(120% 80% at 15% 0%, rgba(56, 2, 61, 0.07) 0%, transparent 55%),
    radial-gradient(90% 60% at 100% 40%, rgba(255, 214, 165, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, rgba(251, 249, 245, 0.65) 0%, rgba(255, 255, 255, 0.35) 100%);
}

.product-detail-section--luxe .shop-breadcrumb {
  color: rgba(56, 2, 61, 0.55);
  margin-bottom: 1.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.product-detail-section--luxe .shop-breadcrumb a {
  color: var(--color-brand-plum);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.product-detail-section--luxe .shop-breadcrumb a:hover {
  border-bottom-color: rgba(56, 2, 61, 0.35);
}

@media (min-width: 768px) {
  .product-detail-section--luxe .product-detail-jadore > .product-detail-image-wrap {
    padding-right: 1.25rem;
  }

  .product-detail-section--luxe .product-detail-jadore > .product-detail-info {
    padding-left: 1.25rem;
  }

  [dir='rtl'] .product-detail-section--luxe .product-detail-jadore > .product-detail-image-wrap {
    padding-right: 0;
    padding-left: 1.25rem;
  }

  [dir='rtl'] .product-detail-section--luxe .product-detail-jadore > .product-detail-info {
    padding-left: 0;
    padding-right: 1.25rem;
  }
}

.product-detail-section--luxe .product-detail-image-wrap {
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(56, 2, 61, 0.1);
  border-radius: 18px;
  padding: 1.15rem 1.1rem 1.25rem;
  box-shadow: 0 12px 40px rgba(56, 2, 61, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.product-detail-section--luxe .product-detail-info {
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(56, 2, 61, 0.1);
  border-radius: 18px;
  padding: 1.5rem 1.35rem 1.75rem;
  box-shadow: 0 12px 40px rgba(56, 2, 61, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.product-detail-section--luxe .product-detail-img {
  background: rgba(56, 2, 61, 0.04);
  border-radius: 12px;
  padding: 0.5rem;
}

.product-detail-section--luxe .product-detail-title {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.22;
  font-weight: 400;
  color: var(--color-brand-plum);
  letter-spacing: 0.02em;
}

.product-detail-section--luxe .product-sku {
  color: rgba(56, 2, 61, 0.5);
  font-family: var(--font-body);
}

.product-detail-section--luxe .product-detail-price {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-brand-plum-deep);
  font-family: var(--font-body);
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
}

.product-detail-section--luxe .product-detail-price .original {
  opacity: 0.55;
  margin-inline-end: 0.5rem;
}

.product-detail-section--luxe .product-detail-delivery-note {
  font-size: 0.82rem;
  line-height: 1.55;
  margin-top: 0.65rem;
  color: rgba(56, 2, 61, 0.48);
  font-family: var(--font-body);
}

.product-detail-section--luxe .delivery-pick {
  margin-top: 1.25rem;
  padding: 6px;
  gap: 6px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  background: rgba(56, 2, 61, 0.06);
  border: 1px solid rgba(56, 2, 61, 0.12);
  border-radius: 999px;
}

.product-detail-section--luxe .delivery-btn {
  border-radius: 999px;
  padding: 10px 18px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--color-brand-plum);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-body);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.product-detail-section--luxe .delivery-btn:hover {
  background: rgba(255, 255, 255, 0.55);
}

.product-detail-section--luxe .delivery-btn.is-active {
  background: linear-gradient(180deg, #fff6cc 0%, #ffd54a 100%);
  color: var(--color-brand-plum-deep);
  border-color: rgba(230, 184, 0, 0.65);
  box-shadow: 0 2px 10px rgba(56, 2, 61, 0.12);
}

.product-detail-section--luxe .product-detail-actions-row {
  margin-top: 1.5rem;
  gap: 14px;
  flex-wrap: wrap;
}

.product-detail-section--luxe .product-detail-actions-row .btn-main.btn-add-cart {
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(145deg, var(--color-brand-plum) 0%, var(--color-brand-plum-mid) 55%, #2a1532 100%);
  color: #faf8f6;
  box-shadow: 0 8px 28px rgba(56, 2, 61, 0.32);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.product-detail-section--luxe .product-detail-actions-row .btn-main.btn-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(56, 2, 61, 0.38);
  background: linear-gradient(145deg, #4a0a52 0%, var(--color-brand-plum) 50%, var(--color-brand-plum-mid) 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.product-detail-section--luxe .btn-drop-hint {
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(56, 2, 61, 0.35);
  background: rgba(255, 255, 255, 0.55);
  color: var(--color-brand-plum);
  font-family: var(--font-body);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.product-detail-section--luxe .btn-drop-hint:hover {
  background: linear-gradient(180deg, rgba(255, 246, 204, 0.75) 0%, rgba(255, 213, 74, 0.35) 100%);
  border-color: rgba(230, 184, 0, 0.85);
  box-shadow: 0 4px 14px rgba(230, 184, 0, 0.25);
}

.product-detail-section--luxe .product-details-accordion {
  border-top: 1px solid rgba(56, 2, 61, 0.12);
  margin-top: 1.75rem;
  padding-top: 1.1rem;
}

.product-detail-section--luxe .product-details-accordion summary {
  color: var(--color-brand-plum);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
}

.product-detail-section--luxe .product-details-inner {
  color: rgba(27, 28, 26, 0.82);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.75;
}

.product-detail-section--luxe .product-subheading {
  color: var(--color-brand-plum);
  font-family: var(--font-heading);
  font-weight: 500;
}

.product-detail-section--luxe .product-gallery-thumbs {
  margin-top: 1.1rem;
}

.product-detail-section--luxe .pg-thumb {
  border-radius: 10px;
  border: 2px solid rgba(56, 2, 61, 0.12);
  background: rgba(255, 255, 255, 0.6);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-detail-section--luxe .pg-thumb:hover {
  border-color: rgba(56, 2, 61, 0.28);
}

.product-detail-section--luxe .pg-thumb.is-active {
  border-color: var(--color-brand-plum);
  box-shadow: 0 0 0 1px rgba(56, 2, 61, 0.15);
}

@media (max-width: 767px) {
  .product-detail-section--luxe .product-detail-image-wrap {
    margin-bottom: 1.25rem;
  }
}

.related-products-section--luxe {
  border-top-color: rgba(56, 2, 61, 0.1) !important;
}

.related-products-section--luxe .section-title {
  color: var(--color-brand-plum);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

/* ===== EVENTS PAGE ===== */
.events-page {
  background:
    radial-gradient(100% 60% at 50% 0%, rgba(56, 2, 61, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, rgba(251, 249, 245, 0.9) 0%, #fff 100%);
}

.events-page__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.events-page__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--color-brand-plum);
  margin-bottom: 0.75rem;
}

.events-page__lead {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(56, 2, 61, 0.62);
  margin: 0;
}

.events-page__empty {
  text-align: center;
  padding: 3rem 1rem;
  color: rgba(56, 2, 61, 0.55);
  font-family: var(--font-body);
}

.events-page__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .events-page__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 2.25rem;
  }
}

.events-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(56, 2, 61, 0.1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(56, 2, 61, 0.07);
  display: flex;
  flex-direction: column;
}

.events-card__media {
  position: relative;
  background: rgba(56, 2, 61, 0.05);
}

.events-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

@media (min-width: 576px) {
  .events-card__img {
    height: 260px;
  }
}

.events-card__date-badge {
  position: absolute;
  bottom: 12px;
  inset-inline-start: 12px;
  background: linear-gradient(180deg, #fff8e1 0%, #ffd54a 100%);
  color: var(--color-brand-plum-deep);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.events-card__body {
  padding: 1.35rem 1.4rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.events-card__title {
  font-size: 1.35rem;
  color: var(--color-brand-plum);
  margin: 0;
  line-height: 1.25;
}

.events-card__meta {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(56, 2, 61, 0.55);
  font-family: var(--font-body);
}

.events-card__meta i {
  margin-inline-end: 6px;
  color: rgba(255, 180, 100, 0.9);
}

.events-card__summary {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(27, 28, 26, 0.78);
  font-family: var(--font-body);
}

.events-card__details {
  margin-top: 0.25rem;
  border-top: 1px solid rgba(56, 2, 61, 0.1);
  padding-top: 0.75rem;
}

.events-card__details summary {
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand-plum);
  list-style: none;
}

.events-card__details summary::-webkit-details-marker {
  display: none;
}

.events-card__content {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(27, 28, 26, 0.82);
  font-family: var(--font-body);
}

.events-card__content.rte p {
  margin: 0 0 0.65em;
}

.events-card__cta {
  margin: auto 0 0;
  padding-top: 0.5rem;
}

.events-card__btn {
  display: inline-block;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  padding: 10px 22px;
}

/* ===== EVENTS — NEWS CARDS & ARTICLE ===== */
.events-page--news .events-page__header {
  text-align: start;
  margin-inline: 0;
  max-width: 42rem;
}

.events-news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 576px) {
  .events-news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.35rem;
  }
}

@media (min-width: 1200px) {
  .events-news-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.events-news-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface-card);
  border: 1px solid rgba(56, 2, 61, 0.1);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 28px rgba(56, 2, 61, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 100%;
  -webkit-tap-highlight-color: transparent;
}

.events-news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(56, 2, 61, 0.12);
}

.events-news-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: rgba(56, 2, 61, 0.06);
}

.events-news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.events-news-card__tags {
  position: absolute;
  inset-inline: 10px;
  bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.events-news-card__tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 999px;
  font-family: var(--font-body);
  line-height: 1.2;
}

.events-news-card__tag--date {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-brand-plum-deep);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.events-news-card__tag--free {
  background: linear-gradient(135deg, #2e7d32, #43a047);
  color: #fff;
}

.events-news-card__tag--paid {
  background: linear-gradient(135deg, #6a1b9a, #8e24aa);
  color: #fff;
}

.events-news-card__body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.events-news-card__kicker {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(56, 2, 61, 0.5);
  font-family: var(--font-body);
}

.events-news-card__title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--color-brand-plum);
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.events-news-card__loc {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(56, 2, 61, 0.5);
}

.events-news-card__loc i {
  margin-inline-end: 4px;
  color: rgba(255, 160, 80, 0.95);
}

.events-news-card__excerpt {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(27, 28, 26, 0.78);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.events-news-card__more {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-brand-plum);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.events-news-card__more-icon {
  font-size: 0.7rem;
  opacity: 0.85;
}

[dir="rtl"] .events-news-card__more-icon {
  transform: scaleX(-1);
}

.event-article-page {
  background: linear-gradient(
    180deg,
    rgba(56, 2, 61, 0.06) 0%,
    rgba(246, 241, 248, 0.98) 18%,
    var(--color-body-bg) 45%
  );
}

.event-article-page__inner {
  max-width: 46rem;
}

.event-article {
  background: var(--color-surface-card);
  border-radius: 18px;
  border: 1px solid rgba(56, 2, 61, 0.1);
  box-shadow: 0 16px 48px rgba(26, 15, 34, 0.08);
  padding: 1.5rem 1.35rem 2rem;
}

@media (min-width: 576px) {
  .event-article {
    padding: 2rem 2.25rem 2.25rem;
  }
}

.event-article__breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
}

.event-article__breadcrumb a {
  color: var(--color-brand-plum);
  text-decoration: none;
}

.event-article__breadcrumb a:hover {
  text-decoration: underline;
}

.event-article__bc-sep {
  margin: 0 0.35rem;
  opacity: 0.45;
}

.event-article__header {
  margin-bottom: 1.25rem;
}

.event-article__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0.75rem;
}

.event-article__badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--font-body);
}

.event-article__badge--date {
  background: #fff8e1;
  color: var(--color-brand-plum-deep);
}

.event-article__badge--free {
  background: linear-gradient(135deg, #2e7d32, #43a047);
  color: #fff;
}

.event-article__badge--paid {
  background: linear-gradient(135deg, #6a1b9a, #8e24aa);
  color: #fff;
}

.event-article__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(56, 2, 61, 0.55);
}

.event-article__title {
  font-size: clamp(1.65rem, 4.5vw, 2.25rem);
  color: var(--color-brand-plum);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.event-article__meta {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(56, 2, 61, 0.55);
}

.event-article__meta i {
  margin-inline-end: 6px;
  color: rgba(255, 160, 80, 0.95);
}

.event-article__hero {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 12px 40px rgba(56, 2, 61, 0.12);
  border: 1px solid rgba(56, 2, 61, 0.08);
  margin-inline: 0;
}

.event-article__hero-img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.event-article__lead {
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(56, 2, 61, 0.82);
  margin: 0 0 1.35rem;
  padding: 1rem 1.15rem;
  background: linear-gradient(
    135deg,
    rgba(56, 2, 61, 0.06) 0%,
    rgba(255, 251, 249, 0.9) 100%
  );
  border-radius: 12px;
  border-inline-start: 4px solid var(--color-brand-plum);
}

.event-article__note {
  padding: 1rem 1.1rem;
  background: rgba(56, 2, 61, 0.04);
  border-radius: 10px;
  border-inline-start: 4px solid rgba(255, 180, 100, 0.95);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(27, 28, 26, 0.88);
}

.event-article__note--callout {
  background: linear-gradient(
    180deg,
    rgba(255, 240, 220, 0.35) 0%,
    rgba(56, 2, 61, 0.05) 100%
  );
  border-inline-start-color: var(--color-brand-plum);
}

.event-article__body--plain {
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(27, 28, 26, 0.92);
}

.event-article__body--plain .event-article__p {
  margin: 0 0 1.1em;
}

.event-article__body--plain .event-article__p:last-child {
  margin-bottom: 0;
}

.event-article__empty {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(56, 2, 61, 0.65);
  background: rgba(56, 2, 61, 0.03);
  border-radius: 10px;
  border: 1px dashed rgba(56, 2, 61, 0.2);
}

.event-article__body {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(27, 28, 26, 0.9);
}

.event-article__body.rte p {
  margin: 0 0 1em;
}

.event-article__footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(56, 2, 61, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 576px) {
  .event-article__footer {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

.event-article__btn {
  text-align: center;
}

.event-article__back {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(56, 2, 61, 0.25);
  color: var(--color-brand-plum);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}

.event-article__back:hover {
  background: rgba(56, 2, 61, 0.06);
  border-color: rgba(56, 2, 61, 0.4);
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 768px) {
  #page,
  .main-content {
    min-width: 0;
  }

  .project-name img {
    height: 35px !important;
  }

  .buttons {
    gap: 10px;
  }

  .cart-sidebar-content {
    width: 100vw !important;
    max-width: 100vw !important;
  }

  .map-container {
    height: min(320px, 50vh);
  }

  .map-container iframe {
    max-width: 100%;
  }

  input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
  textarea,
  select {
    max-width: 100%;
  }
}

/* ===== SUBSCRIPTIONS PAGE ===== */
.subscriptions-page {
  padding: 2rem 0 4rem;
}

.subscriptions-header {
  margin-bottom: 2rem;
}

.subscription-period-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 2.5rem;
}

.period-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: 2px solid var(--color-brand-plum);
  border-radius: 999px;
  color: var(--color-brand-plum);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.period-btn:hover {
  background: var(--color-brand-plum);
  color: #fff;
}

.period-btn.is-active {
  background: var(--color-brand-plum);
  color: #fff;
}

.period-save {
  font-size: 0.7rem;
  background: #f5e6c8;
  color: var(--color-brand-plum);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.subscription-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 3rem;
}

.subscription-card {
  position: relative;
  background: var(--color-surface-card);
  border: 1px solid var(--border-color, #e8e4ea);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.subscription-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(56, 2, 61, 0.1);
}

.subscription-card.is-featured {
  border-color: var(--color-brand-plum);
  box-shadow: 0 8px 30px rgba(56, 2, 61, 0.15);
}

.subscription-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-brand-plum), var(--color-brand-plum-mid));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

.subscription-card--has-media {
  padding-top: 0;
  overflow: hidden;
}

.subscription-card--has-media .subscription-badge {
  top: 14px;
}

.subscription-card__media {
  margin: 0 -28px 1.35rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.subscription-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subscription-card__head {
  text-align: center;
  margin-bottom: 1.5rem;
}

.subscription-card__title {
  font-size: 1.5rem;
  color: var(--color-brand-plum);
  margin: 0 0 8px;
}

.subscription-card__desc {
  font-size: 0.88rem;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.5;
}

.subscription-card__price {
  text-align: center;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-color, #e8e4ea);
  border-bottom: 1px solid var(--border-color, #e8e4ea);
  margin-bottom: 1.5rem;
}

.subscription-card__amount {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-brand-plum);
  font-family: var(--font-heading), serif;
}

.subscription-card__currency {
  display: block;
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-top: 4px;
}

.subscription-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}

.subscription-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--color-text);
  line-height: 1.4;
}

.subscription-card__features li i {
  color: var(--color-brand-plum);
  font-size: 0.75rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.subscription-card__action {
  margin-top: auto;
}

.subscription-note {
  padding: 2rem 0 0;
  border-top: 1px solid rgba(56, 2, 61, 0.08);
}

.subscription-note p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0 0 1rem;
}

@media (max-width: 768px) {
  .subscription-grid {
    grid-template-columns: 1fr;
  }

  .subscription-card {
    padding: 24px 20px;
  }

  .subscription-card__media {
    margin: 0 -20px 1.1rem;
    border-radius: 16px 16px 0 0;
  }

  .subscription-card__amount {
    font-size: 1.8rem;
  }

  .subscription-period-toggle {
    flex-direction: column;
    gap: 8px;
  }
}

/* Page shell — brand-tinted off-white (logo plum #38023d) */
html {
  background: var(--color-body-bg);
}

#page {
  background: var(--color-body-bg);
  min-height: 100vh;
}

/* ===== SHOP PAGE — soft hero (matches auth/login treatment) ===== */
.shop-page-section--hero {
  position: relative;
  overflow: hidden;
}
.shop-page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.shop-page-hero-bg__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.2;
}
.shop-page-hero-bg__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(246, 241, 248, 0.94) 0%,
    rgba(246, 241, 248, 0.78) 38%,
    rgba(246, 241, 248, 0.9) 100%
  );
}
.shop-page-section__inner {
  position: relative;
  z-index: 1;
}

/* ===== SHOP TOOLBAR EXTRAS ===== */
.shop-filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #fff;
  color: var(--color-brand-plum);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
}
.shop-active-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.shop-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(56, 2, 61, 0.08);
  border: 1px solid rgba(56, 2, 61, 0.16);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-brand-plum-deep);
  white-space: nowrap;
  text-decoration: none;
}
.shop-chip__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline-start: 2px;
  font-size: 0.85rem;
  line-height: 1;
  color: inherit;
  text-decoration: none;
  opacity: 0.65;
  transition: opacity 0.15s;
}
.shop-chip__remove:hover { opacity: 1; }
.shop-chip--clear {
  background: var(--color-brand-plum);
  border-color: var(--color-brand-plum);
  color: #fff;
}
.shop-chip--clear:hover {
  filter: brightness(1.08);
  color: #fff;
}
.shop-toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.shop-view-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(56, 2, 61, 0.06);
  border-radius: 8px;
  padding: 3px;
}
.shop-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--color-brand-plum-deep);
  opacity: 0.55;
  cursor: pointer;
  font-size: 0.82rem;
  transition: background 0.15s, opacity 0.15s;
}
.shop-view-btn:hover { opacity: 0.9; background: rgba(56, 2, 61, 0.08); }
.shop-view-btn.is-active {
  background: #fff;
  opacity: 1;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}
@media (max-width: 480px) {
  .shop-toolbar-meta { display: none; }
  .shop-toolbar { flex-wrap: wrap; gap: 8px; }
  .shop-active-chips { order: 3; width: 100%; }
}

/* ===== PRODUCT GRID — LIST VIEW ===== */
.product-grid--list {
  grid-template-columns: 1fr !important;
  gap: 14px !important;
}
@media (min-width: 768px) {
  .product-grid--list {
    gap: 18px !important;
  }
}
.product-grid--list .product-item {
  width: 100%;
}
.product-grid--list .product-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(56, 2, 61, 0.1);
  box-shadow: 0 6px 28px rgba(56, 2, 61, 0.09);
  overflow: hidden;
}
.product-grid--list .product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(56, 2, 61, 0.12);
}
.product-grid--list .product-card a {
  display: flex;
  flex-direction: row;
  flex: 1;
  align-items: stretch;
  min-width: 0;
}
.product-grid--list .product-card__img-wrap {
  flex-shrink: 0;
  width: 132px;
  height: 158px;
  overflow: hidden;
  border-radius: 0;
  align-self: stretch;
}
.product-grid--list .product-card__img-wrap img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center top;
}
.product-grid--list .product-card__body {
  flex: 1;
  padding: 14px 16px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.product-grid--list .product-card .product-name {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  -webkit-line-clamp: 3;
}
.product-grid--list .product-card .product-price {
  font-size: 1rem;
}
.product-grid--list .product-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding-block: 14px;
  padding-inline-end: 16px;
  padding-inline-start: 0;
  flex-shrink: 0;
  margin-top: 0;
}
.product-grid--list .product-actions .btn-add-cart {
  white-space: nowrap;
  padding: 10px 16px;
  font-size: 0.8rem;
}
@media (min-width: 768px) {
  .product-grid--list .product-card__img-wrap {
    width: 168px;
    height: 196px;
  }
  .product-grid--list .product-card__body {
    padding: 18px 22px;
  }
  .product-grid--list .product-actions {
    padding-block: 18px;
    padding-inline-end: 22px;
    padding-inline-start: 0;
  }
  .product-grid--list .product-actions .btn-add-cart {
    padding: 11px 20px;
    font-size: 0.82rem;
 }
}
@media (max-width: 540px) {
  .product-grid--list .product-card {
    flex-direction: column;
  }
  .product-grid--list .product-card a {
    flex-direction: column;
  }
  .product-grid--list .product-card__img-wrap {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: 220px;
  }
  .product-grid--list .product-card__img-wrap img {
    max-height: 220px;
    width: 100%;
  }
  .product-grid--list .product-card__body {
    padding: 14px 16px 6px;
  }
  .product-grid--list .product-actions {
    padding-block: 0 16px;
    padding-inline: 16px;
  }
  .product-grid--list .product-actions .btn-add-cart {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 380px) {
  .product-grid--list .product-card__img-wrap img {
    max-height: 200px;
  }
}

/* ===== SHOP FILTER MODAL — BOTTOM SHEET ON MOBILE ===== */
@media (max-width: 600px) {
  .shop-filter-modal.modal.show {
    display: flex !important;
    align-items: flex-end;
    padding: 0 !important;
  }
  .shop-filter-dialog {
    margin: 0;
    max-width: 100%;
    width: 100%;
  }
  .shop-filter-content {
    border-radius: 20px 20px 0 0;
    max-height: 88vh;
    overflow-y: auto;
  }
  .shop-filter-modal.modal.fade .modal-dialog {
    transform: translateY(100%);
    opacity: 1;
  }
  .shop-filter-modal.modal.fade.show .modal-dialog {
    transform: translateY(0);
  }
}

/* ===== CHECKOUT HERO ===== */
.checkout-hero {
  position: relative;
  width: 100%;
  min-height: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}
.checkout-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 14s ease;
}
.checkout-hero:hover .checkout-hero__bg { transform: scale(1.07); }
.checkout-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(56, 2, 61, 0.45) 0%,
    rgba(26, 5, 30, 0.72) 100%
  );
}

/* ═══════════════════════════════════════════════════════════════
 * FOOTPRINTS — بصمتنا في
 * ═══════════════════════════════════════════════════════════════ */

/* ── Homepage section ── */
.home-footprints-section {
  background: var(--color-surface-muted);
  padding: 2.5rem 0 1.5rem;
}

.home-footprints-header {
  margin-bottom: 1.75rem;
}

.home-footprints-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

/* ── Footprint card (shared: homepage + archive) ── */
.footprint-card {
  background: var(--color-surface-card);
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--color-text);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.footprint-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(56, 2, 61, 0.13);
}

.footprint-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-surface-muted);
}

.footprint-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.footprint-card:hover .footprint-card__img {
  transform: scale(1.05);
}

.footprint-card__type {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--color-brand-plum);
  color: var(--color-on-brand);
  font-size: 0.71rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

[dir="ltr"] .footprint-card__type {
  right: auto;
  left: 10px;
}

.footprint-card__body {
  padding: 1rem 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footprint-card__title {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  line-height: 1.35;
  margin: 0;
  color: var(--color-text);
}

.footprint-card__client,
.footprint-card__hint,
.footprint-card__date {
  font-size: 0.81rem;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.45;
}

.footprint-card__hint {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Archive page hero ── */
.footprints-page__hero {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.footprints-page__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footprints-page__hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 15, 34, 0.5) 0%, rgba(26, 15, 34, 0.78) 100%);
}

.footprints-page__hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-on-brand);
  text-align: center;
  padding: 1rem 2rem;
  gap: 0.6rem;
}

.footprints-page__hero-title {
  font-size: 2.4rem;
  margin: 0;
}

.footprints-page__hero-lead {
  font-size: 1rem;
  opacity: 0.88;
  margin: 0;
  max-width: 520px;
}

/* ── Archive page grid ── */
.footprints-page {
  padding: 3rem 0 4rem;
}

.footprints-page__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.footprints-page__empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--color-text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* ── Detail page ── */
.footprint-article-page {
  padding: 2.5rem 0 4rem;
}

.footprint-article-page__inner {
  max-width: 940px;
  margin: 0 auto;
}

.footprint-article__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footprint-article__breadcrumb a {
  color: var(--color-brand-plum);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footprint-article__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.footprint-article__badge {
  font-size: 0.77rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  background: var(--color-surface-muted);
  color: var(--color-text-light);
}

.footprint-article__badge--type {
  background: var(--color-brand-plum);
  color: var(--color-on-brand);
}

.footprint-article__title {
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 0.45rem;
}

.footprint-article__subtitle {
  font-size: 1.05rem;
  color: var(--color-text-light);
  margin-bottom: 0.6rem;
}

.footprint-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.87rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.footprint-article__hero {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin: 1.5rem 0;
}

.footprint-article__hero-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.footprint-article__lead {
  line-height: 1.78;
  color: var(--color-text);
  margin-bottom: 2rem;
  padding: 1.2rem 1.4rem;
  background: var(--color-surface-muted);
  border-radius: 8px;
  border-right: 3px solid var(--color-brand-plum);
}

[dir="ltr"] .footprint-article__lead {
  border-right: none;
  border-left: 3px solid var(--color-brand-plum);
}

.footprint-article__p {
  margin-bottom: 1rem;
}

.footprint-article__p:last-child {
  margin-bottom: 0;
}

.footprint-article__gallery-section {
  margin: 2rem 0;
}

.footprint-article__gallery-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.footprint-article__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.footprint-article__gallery-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  transition: opacity 0.2s;
}

.footprint-article__gallery a:hover .footprint-article__gallery-img,
.footprint-article__gallery-img:hover {
  opacity: 0.82;
}

.footprint-article__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border-light);
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .home-footprints-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
  }

  .footprints-page__hero {
    height: 220px;
  }

  .footprints-page__hero-title {
    font-size: 1.6rem;
  }

  .footprints-page__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .footprint-article__title {
    font-size: 1.5rem;
  }

  .footprint-article__gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .home-footprints-grid,
  .footprints-page__grid {
    grid-template-columns: 1fr;
  }

  .footprint-article__gallery {
    grid-template-columns: 1fr;
  }
}
.checkout-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px 32px;
}
.checkout-hero__title {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: #fff;
  letter-spacing: 0.02em;
}
.checkout-hero__sub {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.05em;
}
@media (max-width: 600px) {
  .checkout-hero { min-height: 140px; }
  .checkout-hero__content { padding: 28px 16px 24px; }
}

/* ===== ACCOUNT PAGE (MY PROFILE) ===== */
.account-page__container {
  max-width: 1100px;
  width: 100%;
}
.account-page.section {
  margin: 0 auto;
  padding-top: clamp(20px, 4vw, 36px);
  padding-bottom: clamp(32px, 6vw, 64px);
}
.account-page__layout {
  display: grid;
  gap: clamp(20px, 4vw, 28px);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 992px) {
  .account-page__layout {
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  }
}

.account-profile-card {
  background: var(--color-surface-card);
  border: 1px solid var(--color-border-light);
  border-radius: 18px;
  padding: clamp(22px, 4vw, 30px);
  box-shadow: 0 22px 48px rgba(56, 2, 61, 0.07);
}
@media (min-width: 992px) {
  .account-profile-card {
    position: sticky;
    top: 20px;
  }
}

.account-avatar-wrap {
  position: relative;
  width: 118px;
  height: 118px;
  margin: 0 auto 18px;
}
.account-avatar-wrap__ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color-brand-plum), #8e5aaf 55%, #d4a574);
  opacity: 0.92;
}
.account-avatar {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-surface-card);
  background: var(--color-surface-muted);
}
.account-avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.35rem;
  color: var(--color-on-brand);
  background: linear-gradient(145deg, var(--color-brand-plum), #5c2166);
}

.account-profile-card__name {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.8vw, 1.35rem);
  color: var(--color-brand-plum);
  margin: 0 0 18px;
  line-height: 1.35;
  word-break: break-word;
}

.account-meta-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.account-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.45;
}
.account-meta-row > i {
  margin-top: 2px;
  color: var(--color-brand-plum);
  opacity: 0.5;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}
.account-meta-row strong {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
  margin-bottom: 3px;
  font-family: var(--font-body);
  font-weight: 700;
}

.account-profile-card__actions {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border-light);
}
.account-profile-card__actions .btn-main-outline {
  display: block;
  width: 100%;
  border-color: var(--color-brand-plum);
  color: var(--color-brand-plum);
  padding: 11px 20px;
  font-size: 0.78rem;
}
.account-profile-card__actions .btn-main-outline:hover {
  background: var(--color-brand-plum);
  color: var(--color-on-brand);
  border-color: var(--color-brand-plum);
}

.account-form-card {
  background: var(--color-surface-card);
  border: 1px solid var(--color-border-light);
  border-radius: 18px;
  padding: clamp(22px, 4vw, 36px);
  box-shadow: 0 22px 48px rgba(56, 2, 61, 0.07);
}
.account-form-card__title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.8vw, 1.45rem);
  color: var(--color-brand-plum);
  margin: 0 0 8px;
}
.account-form-card__lead {
  margin: 0 0 22px;
  font-size: 0.9rem;
  color: var(--color-text-light);
  max-width: 40rem;
  line-height: 1.55;
}

.account-form-section {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--color-border-light);
}
.account-form-section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.account-form-section__heading {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  margin: 0 0 8px;
  color: var(--color-text);
}
.account-form-section__hint {
  margin: 0 0 16px;
  font-size: 0.86rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.account-file-field input[type='file'] {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  font-size: 0.82rem;
  border: 1px dashed var(--color-border-light);
  border-radius: 10px;
  background: var(--color-body-bg);
  cursor: pointer;
}
.account-file-hint {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin: 8px 0 0;
  line-height: 1.45;
}
.account-checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 500;
}
.account-checkbox-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-brand-plum);
}

.account-page .contact-form .btn-main {
  margin-top: 16px;
  min-height: 48px;
  padding-inline: 32px;
}
.account-page-form.contact-form button.btn-main {
  background: var(--color-primary-bg) !important;
  color: #fff !important;
  border: 1px solid var(--color-primary-bg) !important;
  width: fit-content;
  opacity: 1;
}
.account-page-form.contact-form button.btn-main:hover {
  background: #fff !important;
  color: var(--color-primary-bg) !important;
  opacity: 1;
}

.account-alert {
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 22px;
  font-size: 0.92rem;
  line-height: 1.5;
  border: 1px solid transparent;
}
.account-alert--success {
  background: #e8f5e9;
  border-color: #c8e6c9;
  color: #1b5e20;
}
.account-alert--error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.account-orders-head {
  margin: clamp(40px, 7vw, 56px) 0 22px;
}
.account-orders-head__title {
  font-family: var(--font-heading);
  font-size: clamp(1.28rem, 3.2vw, 1.6rem);
  color: var(--color-brand-plum);
  margin: 0 0 6px;
}
.account-orders-head__sub {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-light);
}

.account-empty-state {
  text-align: center;
  padding: clamp(32px, 6vw, 48px) clamp(18px, 4vw, 28px);
  background: linear-gradient(180deg, var(--color-surface-muted) 0%, var(--color-surface-card) 100%);
  border-radius: 18px;
  border: 1px dashed var(--color-border-light);
}
.account-empty-state p {
  margin: 0 0 20px;
  color: var(--color-text-light);
  max-width: 26rem;
  margin-inline: auto;
  line-height: 1.65;
  font-size: 0.92rem;
}

.account-order-card {
  background: var(--color-surface-card);
  border: 1px solid var(--color-border-light);
  border-radius: 16px;
  padding: clamp(16px, 3vw, 22px);
  margin-bottom: 16px;
  transition: box-shadow 0.22s ease, border-color 0.22s ease;
}
.account-order-card:hover {
  box-shadow: 0 16px 40px rgba(56, 2, 61, 0.09);
  border-color: #d8c8e0;
}
.account-order-card__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 16px;
  align-items: center;
  margin-bottom: 6px;
}
@media (max-width: 520px) {
  .account-order-card__top {
    grid-template-columns: 1fr;
  }
}
.account-order-card__id-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.account-order-card__id {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  color: var(--color-brand-plum);
}
.account-order-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  font-size: 0.86rem;
  color: var(--color-text-light);
}
.account-order-card__total {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.account-order-card__location {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(56, 2, 61, 0.04);
  border: 1px solid var(--color-border-light);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--color-text);
}
.account-order-card__location-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  margin-bottom: 8px;
}
.account-order-card__location-label i {
  opacity: 0.75;
  color: var(--color-brand-plum);
}
.account-order-card__location-body a {
  color: var(--color-brand-plum);
  font-weight: 600;
  word-break: break-word;
}

.account-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.account-status-pill--pending {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}
.account-status-pill--processing {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.account-status-pill--completed {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.account-status-pill--cancelled {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.account-status-pill--default {
  background: #f4f4f5;
  color: #52525b;
  border: 1px solid #e4e4e7;
}

.account-order-items {
  margin-top: 10px;
}
.account-order-items summary {
  cursor: pointer;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--color-brand-plum);
  padding: 10px 0 6px;
  list-style: none;
}
.account-order-items summary::-webkit-details-marker {
  display: none;
}
[dir='rtl'] .account-order-items summary {
  text-align: right;
}
.account-order-items__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.account-order-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--color-border-light);
  font-size: 0.9rem;
}
.account-order-item:first-child {
  border-top: 0;
}
.account-order-item__thumb {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-surface-muted);
}
.account-order-item__name {
  flex: 1;
  min-width: 0;
}
.account-order-item__meta {
  flex-shrink: 0;
  text-align: end;
  font-size: 0.82rem;
  color: var(--color-text-light);
}
.account-order-item__line-total {
  display: block;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 2px;
}

/* ── Flower burst (global pointer / checkout success) ── */
.sndana-flower-burst {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  overflow: hidden;
}
.sndana-flower-burst__petal {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  line-height: 1;
  user-select: none;
  will-change: transform, opacity;
  animation-name: sndanaFlowerBurstRadial;
  animation-duration: 1.38s;
  animation-timing-function: cubic-bezier(0.18, 0.72, 0.22, 1);
  animation-fill-mode: forwards;
}
@keyframes sndanaFlowerBurstRadial {
  0% {
    transform: translate3d(var(--sndana-fl-ox, 0px), var(--sndana-fl-oy, 0px), 0) translate(-50%, -50%) translate3d(0, 0, 0)
      rotate(0deg) scale(0.2);
    opacity: 0;
  }
  14% {
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--sndana-fl-ox, 0px), var(--sndana-fl-oy, 0px), 0) translate(-50%, -50%)
      translate3d(var(--sndana-fl-tx, 0px), var(--sndana-fl-ty, 0px), 0) rotate(var(--sndana-fl-rot, 360deg)) scale(1);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sndana-flower-burst__petal {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
