/* ============================================
   AYNURSHOP — Luxury Skincare Theme
   ============================================ */

:root {
  --cream: #FAF7F2;
  --beige: #EDE6DA;
  --beige-dark: #D9CEBD;
  --white: #FFFFFF;
  --gold: #C4A265;
  --gold-light: #D4B87A;
  --gold-dark: #A8894E;
  --brown: #3D2B1F;
  --brown-light: #5C4332;
  --brown-muted: #8B7355;
  --text: #2C2420;
  --text-light: #6B5E54;
  --shadow: rgba(61, 43, 31, 0.08);
  --shadow-md: rgba(61, 43, 31, 0.14);
  --radius: 4px;
  --radius-lg: 12px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-fa: 'Vazirmatn', 'IRANSans', Tahoma, sans-serif;
  --font-en: 'Cormorant Garamond', Georgia, serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-fa);
  background-color: var(--cream);
  color: var(--text);
  line-height: 1.7;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: min(1240px, 100%);
  margin: 0 auto;
  padding: 0 2rem;
  min-width: 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-align: center;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(196, 162, 101, 0.35);
}

.btn--gold:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(196, 162, 101, 0.45);
}

.btn--dark {
  background-color: var(--brown);
  color: var(--white);
  width: 100%;
  padding: 0.75rem 1.5rem;
}

.btn--dark.added {
  background-color: var(--brown-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn--dark:hover {
  background-color: var(--brown-light);
  transform: translateY(-1px);
}

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

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

.btn--sm {
  padding: 0.65rem 1.4rem;
  font-size: 0.82rem;
}

/* ---- Section Headers ---- */
.section {
  padding: 6rem 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section__label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.section__label--light {
  color: var(--gold-light);
}

.section__title {
  font-family: var(--font-fa);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--brown);
  letter-spacing: -0.01em;
}

/* ============================================
   HERO HEADER (overlay on landing image)
   ============================================ */
.hero-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 1.25rem 0;
  background: transparent;
}

.hero-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-header__search {
  display: none;
}

.hero-header__search-input {
  width: 100%;
  padding: 0.7rem 1.1rem 0.7rem 2.75rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font-family: var(--font-fa);
  font-size: 0.88rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: box-shadow var(--transition), background var(--transition);
}

.hero-header__search-input::placeholder {
  color: var(--text-light);
}

.hero-header__search-input:focus {
  outline: none;
  background: var(--white);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.12);
}

.hero-header__search-btn {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  border-radius: 50%;
  transition: color var(--transition), background var(--transition);
}

.hero-header__search-btn:hover {
  color: var(--brown);
  background: rgba(61, 43, 31, 0.06);
}

.hero-header__discounts {
  display: none;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(196, 162, 101, 0.92);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}

.hero-header__discounts:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.hero-header__wishlist-btn {
  position: relative;
}

.hero-header__wishlist-count {
  position: absolute;
  top: 4px;
  left: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-header__search-mobile {
  display: flex;
}

.hero-header__logo {
  font-family: var(--font-en);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--white);
  flex-shrink: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  line-height: 1.2;
}

.hero-header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-header__menu {
  display: flex;
  gap: 2.2rem;
}

.hero-header__menu a {
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  padding: 0.25rem 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.hero-header__menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 1px;
  background: var(--gold-light);
  transition: width var(--transition);
}

.hero-header__menu a:hover {
  color: var(--white);
}

.hero-header__menu a:hover::after {
  width: 100%;
}

.hero-header__actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-header__icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  transition: background var(--transition), color var(--transition);
}

.hero-header__icon-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hero-header__cart-btn {
  position: relative;
}

.hero-header__cart-count {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.hero-header__hamburger span {
  display: block;
  height: 1.5px;
  background: var(--white);
  transition: opacity var(--transition);
}

.hero-header__hamburger.active span:nth-child(2) {
  opacity: 0.65;
}

/* Mobile slide drawer menu */
.mobile-drawer-backdrop,
.mobile-drawer-panel {
  display: none;
}

/* Sticky glass header (homepage desktop) */
.sticky-header {
  display: none;
}

@media (min-width: 901px) {
  .hero-header__inner {
    display: grid;
    grid-template-columns: auto minmax(220px, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 1.5rem;
    row-gap: 0.7rem;
  }

  .hero-header__logo {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-header__search {
    display: block;
    position: relative;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: 540px;
    justify-self: center;
  }

  .hero-header__actions {
    grid-column: 3;
    grid-row: 1;
    gap: 0.35rem;
  }

  .hero-header__nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .hero-header__discounts {
    display: inline-flex;
  }

  .hero-header__search-mobile {
    display: none;
  }

  .sticky-header {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.7rem 0;
    background: rgba(250, 247, 242, 0.68);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 8px 32px rgba(61, 43, 31, 0.07);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
  }

  .sticky-header.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .sticky-header__inner {
    display: grid;
    grid-template-columns: auto minmax(200px, 1fr) auto auto;
    align-items: center;
    gap: 1rem 1.25rem;
  }

  .sticky-header__logo {
    font-family: var(--font-en);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--brown);
    white-space: nowrap;
  }

  .sticky-header__search {
    position: relative;
    max-width: 420px;
    width: 100%;
    justify-self: center;
  }

  .sticky-header__search-input {
    width: 100%;
    padding: 0.55rem 1rem 0.55rem 2.5rem;
    border: 1px solid rgba(61, 43, 31, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--text);
    font-family: var(--font-fa);
    font-size: 0.85rem;
    transition: border-color var(--transition), background var(--transition);
  }

  .sticky-header__search-input:focus {
    outline: none;
    border-color: rgba(196, 162, 101, 0.45);
    background: rgba(255, 255, 255, 0.92);
  }

  .sticky-header__search-btn {
    position: absolute;
    left: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .sticky-header__nav {
    display: flex;
    justify-content: center;
  }

  .sticky-header__menu {
    display: flex;
    gap: 1.4rem;
  }

  .sticky-header__menu a {
    font-size: 0.82rem;
    color: var(--text-light);
    white-space: nowrap;
    transition: color var(--transition);
  }

  .sticky-header__menu a:hover {
    color: var(--brown);
  }

  .sticky-header__actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    justify-self: end;
  }

  .sticky-header__discounts {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: var(--gold);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background var(--transition);
  }

  .sticky-header__discounts:hover {
    background: var(--gold-dark);
    color: var(--white);
  }

  .sticky-header__icon-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--brown);
    transition: background var(--transition);
  }

  .sticky-header__icon-btn:hover {
    background: rgba(61, 43, 31, 0.06);
  }

  .sticky-header__cart-btn,
  .sticky-header__wishlist-btn {
    position: relative;
  }

  .sticky-header__cart-count,
  .sticky-header__wishlist-count {
    position: absolute;
    top: 3px;
    left: 3px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    background: var(--gold);
    color: var(--white);
    font-size: 0.62rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 36, 32, 0.6);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay__inner {
  width: 90%;
  max-width: 600px;
  position: relative;
}

.search-overlay__close {
  position: absolute;
  top: -40px;
  left: 0;
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
}

.search-overlay__input {
  width: 100%;
  padding: 1.2rem 1.5rem;
  font-family: var(--font-fa);
  font-size: 1.1rem;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--text);
  outline: none;
  box-shadow: 0 8px 40px var(--shadow-md);
}

.search-overlay__input::placeholder {
  color: var(--text-light);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/mobile.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.03);
  transition: transform 8s ease;
}

@media (min-width: 768px) {
  .hero__bg {
    background-image: url('../images/desktop.jpg');
    background-position: center 45%;
  }
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(61, 43, 31, 0.45) 0%,
    rgba(61, 43, 31, 0.2) 45%,
    rgba(61, 43, 31, 0.35) 100%
  );
}

@media (min-width: 768px) {
  .hero__overlay {
    background: linear-gradient(
      135deg,
      rgba(61, 43, 31, 0.5) 0%,
      rgba(61, 43, 31, 0.2) 50%,
      rgba(250, 247, 242, 0.1) 100%
    );
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 6rem 2rem 4rem;
  max-width: 680px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__subtitle {
  font-family: var(--font-en);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: 0.12em;
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero__title {
  font-family: var(--font-en);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 2.2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero__content .btn {
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

.hero__content .btn--gold {
  padding: 0.65rem 1.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-top: 1.25rem;
  box-shadow: 0 3px 14px rgba(196, 162, 101, 0.28);
}

@media (min-width: 769px) {
  .hero__content {
    margin-right: auto;
    margin-left: 0;
    align-items: flex-end;
    text-align: left;
    max-width: 520px;
  }

  .hero__content .btn--gold {
    align-self: flex-end;
    width: auto;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   FEATURES BAR
   ============================================ */
.features-bar {
  background: var(--beige);
  padding: 1.6rem 0;
  border-top: 1px solid var(--beige-dark);
  border-bottom: 1px solid var(--beige-dark);
}

.features-bar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.features-bar__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ---- Icons ---- */
.icon {
  display: block;
  flex-shrink: 0;
}

.features-bar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(61, 43, 31, 0.06);
  color: var(--gold-dark);
}

.features-bar__text {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--brown);
  white-space: nowrap;
}

/* ============================================
   CATEGORIES — Arched Cards
   ============================================ */
.categories {
  background: var(--white);
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition);
}

.category-card:hover {
  transform: translateY(-6px);
}

.category-card__arch {
  width: 100%;
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
  border-radius: 50% 50% 8px 8px / 30% 30% 8px 8px;
  background: var(--beige);
  margin-bottom: 1rem;
}

.category-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.category-card:hover .category-card__image {
  transform: scale(1.08);
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61, 43, 31, 0.35), transparent 60%);
}

.category-card__info {
  padding: 0 0.5rem;
}

.category-card__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--gold-dark);
  margin-bottom: 0.4rem;
}

.category-card__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.15rem;
}

.category-card__name-en {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-style: italic;
  color: var(--text-light);
}

/* ============================================
   PRODUCTS
   ============================================ */
.products {
  background: var(--cream);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.products-section__more {
  margin-top: 2.5rem;
  text-align: center;
}

.products-empty-msg {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
}

.products-empty-msg a {
  color: var(--gold);
}

.shop-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.shop-pagination a {
  color: var(--gold);
  font-weight: 500;
}

.shop-pagination a:hover {
  text-decoration: underline;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-md);
}

.product-card__image-wrap {
  position: relative;
  background: linear-gradient(180deg, var(--beige) 0%, var(--cream) 100%);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow: hidden;
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(61, 43, 31, 0.12));
  transition: transform var(--transition);
}

.product-card:hover .product-card__image {
  transform: scale(1.05) translateY(-4px);
}

.product-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gold);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}

.product-card__body > .add-to-cart-btn {
  margin-top: auto;
  width: 100%;
  flex-shrink: 0;
}

.product-card__category {
  font-size: 0.75rem;
  color: var(--gold-dark);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.product-card__name {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 0.6rem;
  line-height: 1.3;
  min-height: calc(1.3em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.product-card__price span {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-light);
}

/* ============================================
   STORY
   ============================================ */
.story {
  background: var(--white);
}

.story__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.story__title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--brown);
  line-height: 1.45;
  margin-bottom: 1.5rem;
}

.story__text {
  font-size: 0.92rem;
  color: var(--text-light);
  margin-bottom: 1.2rem;
  line-height: 1.85;
}

.story__image-wrap {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.story__image {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px var(--shadow-md);
}

.story__image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* ============================================
   SKIN ADVISOR
   ============================================ */
.advisor {
  background: var(--cream);
  padding-bottom: 7rem;
}

.advisor__box {
  background: linear-gradient(145deg, var(--brown) 0%, var(--brown-light) 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(61, 43, 31, 0.2);
}

.advisor__title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.advisor__desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
}

.advisor__types {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.skin-type-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  transition: transform var(--transition);
}

.skin-type-btn:hover {
  transform: scale(1.08);
}

.skin-type-btn__circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  transition: all var(--transition);
}

.skin-type-btn.active .skin-type-btn__circle,
.skin-type-btn:hover .skin-type-btn__circle {
  background: rgba(196, 162, 101, 0.25);
  border-color: var(--gold);
  color: var(--white);
  box-shadow: 0 0 20px rgba(196, 162, 101, 0.3);
}

.skin-type-btn__label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
}

.advisor__cta {
  min-width: 200px;
}

.advisor__result {
  margin-top: 1.2rem;
  font-size: 0.88rem;
  color: var(--gold-light);
  min-height: 1.5rem;
}

.advisor__setup--hidden {
  display: none;
}

.advisor__hint {
  margin-top: 0.8rem;
  min-height: 1.2rem;
  color: #ffb4b4;
  font-size: 0.85rem;
}

.advisor__chat {
  margin-top: 1.5rem;
  text-align: right;
}

.advisor__chat--hidden {
  display: none;
}

.advisor__chat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.advisor__chat-skin {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.advisor__chat-reset {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  cursor: pointer;
}

.advisor__chat-panel {
  display: flex;
  flex-direction: column;
  height: min(520px, 62vh);
  min-height: 400px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.advisor__chat-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 1rem 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.advisor__chat-messages {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.advisor-msg {
  max-width: min(88%, 34rem);
  padding: 0.8rem 1rem;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}

.advisor-msg--user {
  align-self: flex-start;
  margin-right: auto;
  margin-left: 0;
  background: rgba(196, 162, 101, 0.32);
  color: var(--white);
  border-bottom-right-radius: 6px;
}

.advisor-msg--assistant,
.advisor-msg--system {
  align-self: flex-end;
  margin-left: auto;
  margin-right: 0;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.96);
  border-bottom-left-radius: 6px;
}

.advisor-msg--error {
  align-self: center;
  background: rgba(180, 40, 40, 0.35);
  color: #ffe3e3;
}

.advisor-msg--notice {
  align-self: center;
  max-width: min(92%, 36rem);
  margin-top: 0.25rem;
  background: rgba(196, 162, 101, 0.18);
  border: 1px solid rgba(196, 162, 101, 0.45);
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
}

.advisor-msg--notice .advisor-msg__title {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  color: var(--gold, #c4a265);
}

.advisor-msg--notice .advisor-msg__body {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.7;
}

.advisor__chat-composer {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(20, 14, 10, 0.72);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.28);
}

.advisor__chat-form {
  direction: ltr;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.65rem;
}

.advisor__chat-form input {
  grid-column: 1;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-radius: 999px;
  padding: 0.78rem 1.1rem;
  font-family: inherit;
  font-size: 0.9rem;
  text-align: right;
  direction: rtl;
}

.advisor__chat-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.advisor__chat-send {
  grid-column: 2;
  flex-shrink: 0;
  min-width: 92px;
  padding: 0.78rem 1.15rem;
  border-radius: 999px;
  white-space: nowrap;
}

.advisor__chat-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.8rem;
  padding-bottom: 0.25rem;
}

.advisor-product-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.65rem;
  text-decoration: none;
  color: var(--white);
  transition: transform var(--transition), background var(--transition);
}

.advisor-product-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
}

.advisor-product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
}

.advisor-product-card__name {
  font-size: 0.78rem;
  line-height: 1.5;
}

.advisor-product-card__price {
  font-size: 0.75rem;
  color: var(--gold-light);
}

.advisor__quota {
  margin-top: 0.55rem;
  margin-bottom: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.advisor__limit-msg {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #ffd8d8;
  line-height: 1.7;
}

.advisor__limit-msg--hidden {
  display: none;
}

.advisor__limit-msg a {
  color: var(--gold-light);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--brown);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 4.5rem;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  width: 100%;
  min-width: 0;
}

.footer__brand,
.footer__contact,
.footer__links {
  min-width: 0;
  max-width: 100%;
}

.footer__logo {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--white);
  display: inline-block;
  margin-bottom: 0.8rem;
}

.footer__tagline {
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__social {
  display: flex;
  gap: 0.8rem;
}

.footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition);
}

.footer__social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.footer__social-link .icon path[fill="currentColor"] {
  fill: currentColor;
  stroke: none;
}

.footer__social-link .icon circle {
  fill: none;
  stroke: currentColor;
}

.footer__heading {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.footer__links ul li {
  margin-bottom: 0.6rem;
}

.footer__links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--gold-light);
}

.footer__contact-item {
  margin-bottom: 1rem;
}

.footer__contact-item:last-child {
  margin-bottom: 0;
}

.footer__contact-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.35rem;
}

.footer__contact-link,
.footer__contact-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.footer__contact-link {
  direction: ltr;
  display: inline-block;
  transition: color var(--transition);
}

.footer__contact-link:hover {
  color: var(--gold-light);
}

.footer__newsletter-text {
  font-size: 0.82rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
  max-width: 320px;
}

.footer__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.footer__form-submit {
  width: 100%;
  margin-top: 0.35rem;
  letter-spacing: 0.04em;
}

.footer__form .btn {
  align-self: stretch;
  margin-top: 0;
}

.footer__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: var(--font-fa);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.footer__input--ltr {
  direction: ltr;
  text-align: left;
}

.footer__input--fa {
  direction: rtl;
  text-align: right;
}

.footer__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer__input:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 2px rgba(201, 169, 98, 0.2);
}

.footer__form-msg {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--gold-light);
  min-height: 1.2rem;
}

.footer__form-msg--error {
  color: #f5a8a8;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  width: 100%;
  max-width: 100%;
}

.footer__bottom p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ============================================
   MOBILE BOTTOM NAV
   ============================================ */
.mobile-nav {
  display: none;
}

@media (max-width: 900px) {
  .container {
    padding-inline: 1rem;
  }

  .section__title {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__form {
    max-width: 100%;
  }

  .footer__form-row {
    grid-template-columns: 1fr;
  }

  body {
    padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
  }

  .mobile-nav {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2500;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-top: 1px solid var(--beige);
    box-shadow: 0 -4px 24px var(--shadow);
    padding: 0.35rem 0.5rem calc(0.4rem + env(safe-area-inset-bottom, 0px));
  }

  .mobile-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-width: 0;
    padding: 0.25rem 0.15rem;
    font-family: var(--font-fa);
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-light);
    transition: color var(--transition);
  }

  .mobile-nav__item .icon {
    flex-shrink: 0;
  }

  .mobile-nav__label {
    white-space: nowrap;
    line-height: 1.2;
  }

  .mobile-nav__icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-nav__badge {
    position: absolute;
    top: -5px;
    left: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: var(--gold);
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--white);
  }

  .mobile-nav__badge[hidden] {
    display: none;
  }

  .mobile-nav__item.is-active {
    color: var(--gold-dark);
  }

  .mobile-nav__item.is-active .icon {
    stroke: var(--gold);
  }

  .hero-header__wishlist-btn,
  .site-header__wishlist-btn,
  .hero-header__cart-btn,
  .hero-header__actions > a.hero-header__icon-btn,
  .site-header__cart-btn,
  .site-header__actions > a.site-header__icon-btn {
    display: none !important;
  }

  .floating-cart {
    display: none !important;
  }

  .cart-panel {
    bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
    max-height: calc(75vh - 4.25rem);
  }

  .wishlist-panel {
    bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
    max-height: calc(75vh - 4.25rem);
  }
}

/* ============================================
   FLOATING CART
   ============================================ */
.floating-cart {
  position: fixed;
  bottom: 1.75rem;
  left: 1.5rem;
  z-index: 2600;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(196, 162, 101, 0.45), 0 4px 16px rgba(61, 43, 31, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px) scale(0.85);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-cart.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.floating-cart:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 36px rgba(196, 162, 101, 0.5), 0 6px 20px rgba(61, 43, 31, 0.25);
}

.floating-cart__count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  background: var(--brown);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cream);
}

/* ============================================
   CART PANEL
   ============================================ */
.cart-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 36, 32, 0.5);
  z-index: 2700;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.cart-panel-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2800;
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -8px 40px var(--shadow-md);
  max-height: 75vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-panel.open {
  transform: translateY(0);
}

.cart-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--beige);
}

.cart-panel__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown);
}

.cart-panel__close {
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-light);
  border-radius: 50%;
  transition: background var(--transition);
}

.cart-panel__close:hover {
  background: var(--beige);
}

.cart-panel__list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.cart-panel__item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--beige);
}

.cart-panel__item-main {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.cart-panel__thumb {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
  background: var(--white);
  border: 1px solid var(--beige);
}

.cart-panel__item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.cart-panel__item.is-busy {
  opacity: 0.55;
  pointer-events: none;
}

.cart-panel__item-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.cart-panel__item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

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

.cart-panel__item-name {
  font-family: var(--font-en);
  font-size: 0.92rem;
  color: var(--brown);
  font-weight: 500;
  flex: 1;
  min-width: 0;
}

.cart-panel__item-price {
  font-size: 0.85rem;
  color: var(--text-light);
  white-space: nowrap;
  flex-shrink: 0;
}

.cart-panel__qty {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.15rem;
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius);
}

.cart-panel__qty-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--brown);
  font-size: 1rem;
  line-height: 1;
  border-radius: calc(var(--radius) - 2px);
  cursor: pointer;
  transition: background var(--transition);
}

.cart-panel__qty-btn:hover {
  background: var(--beige);
}

.cart-panel__qty-value {
  min-width: 1.35rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown);
}

.cart-panel__remove {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #b85c5c;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}

.cart-panel__remove:hover {
  background: rgba(184, 92, 92, 0.1);
  color: #9a4545;
}

.cart-panel__remove-icon {
  display: block;
}

.cart-panel__empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.cart-panel__footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--beige);
  background: var(--cream);
}

.cart-panel__summary {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.cart-panel__summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.cart-panel__summary-row--total {
  margin-top: 0.25rem;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--beige-dark);
  font-size: 0.92rem;
  color: var(--brown);
}

.cart-panel__summary-row--total strong {
  font-size: 1rem;
  color: #c0392b;
}

.cart-panel__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: var(--brown);
}

.cart-panel__total strong {
  font-size: 1.05rem;
  color: var(--brown);
}

@media (min-width: 641px) {
  .cart-panel {
    right: auto;
    left: 1.5rem;
    bottom: 6rem;
    width: 380px;
    max-height: 480px;
    border-radius: var(--radius-lg);
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    visibility: hidden;
  }

  .cart-panel.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
  }
}

/* ============================================
   WISHLIST PANEL
   ============================================ */
.wishlist-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 36, 32, 0.5);
  z-index: 2700;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.wishlist-panel-overlay.open {
  opacity: 1;
  visibility: visible;
}

.wishlist-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2800;
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -8px 40px var(--shadow-md);
  max-height: 75vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wishlist-panel.open {
  transform: translateY(0);
}

.wishlist-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--beige);
}

.wishlist-panel__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown);
}

.wishlist-panel__close {
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-light);
  border-radius: 50%;
  transition: background var(--transition);
}

.wishlist-panel__close:hover {
  background: var(--beige);
}

.wishlist-panel__empty {
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.wishlist-panel__list {
  flex: 1;
  overflow-y: auto;
  padding: 0 1.5rem 1.5rem;
}

.wishlist-panel__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--beige);
}

.wishlist-panel__item:last-child {
  border-bottom: none;
}

.wishlist-panel__thumb {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
}

.wishlist-panel__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wishlist-panel__info {
  flex: 1;
  min-width: 0;
}

.wishlist-panel__name {
  display: block;
  font-size: 0.88rem;
  color: var(--brown);
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.wishlist-panel__price {
  font-size: 0.82rem;
  color: var(--text-light);
}

.wishlist-panel__remove {
  width: 32px;
  height: 32px;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--text-light);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}

.wishlist-panel__remove:hover {
  background: var(--beige);
  color: var(--brown);
}

@media (min-width: 641px) {
  .wishlist-panel {
    left: auto;
    right: 1.5rem;
    bottom: 6rem;
    width: 380px;
    max-height: 480px;
    border-radius: var(--radius-lg);
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    visibility: hidden;
  }

  .wishlist-panel.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
  }
}

/* ============================================
   TOAST
   ============================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--brown);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: var(--radius-lg);
  font-size: 0.88rem;
  box-shadow: 0 8px 32px var(--shadow-md);
  z-index: 3000;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

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

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos].aos-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .categories__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
  }

  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (min-width: 901px) {
  .hero-header__logo {
    font-size: 1.55rem;
  }
}

@media (max-width: 900px) {
  .hero-header__menu--desktop {
    display: none !important;
  }

  .hero-header__nav,
  .mobile-drawer-root {
    position: fixed;
    inset: 0;
    z-index: 3000;
    pointer-events: none;
    visibility: hidden;
    background: transparent;
    padding: 0;
    transform: none;
    opacity: 1;
  }

  .hero-header__nav.open,
  .mobile-drawer-root.open {
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-drawer-backdrop,
  .mobile-drawer-panel {
    display: block;
  }

  .mobile-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(44, 36, 32, 0.22);
    opacity: 0;
    transition: opacity 0.32s ease;
  }

  .hero-header__nav.open .mobile-drawer-backdrop,
  .mobile-drawer-root.open .mobile-drawer-backdrop {
    opacity: 1;
  }

  .mobile-drawer-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    bottom: 0;
    width: min(300px, 86vw);
    height: 100%;
    min-height: 100dvh;
    background: #F8F3EC;
    border-right: 1px solid #EDE6DA;
    box-shadow: 12px 0 40px rgba(61, 43, 31, 0.1);
    transform: translateX(-100%);
    transition: transform 0.36s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .mobile-drawer__close {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    right: auto;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    line-height: 1;
    color: #8D7355;
    border-radius: 50%;
    transition: background var(--transition), color var(--transition);
    z-index: 3101;
  }

  .mobile-drawer__close:hover {
    background: rgba(237, 230, 218, 0.85);
    color: #B89A6A;
  }

  .hero-header__nav.open ~ .hero-header__actions .hero-header__hamburger,
  body.mobile-menu-open .site-header__hamburger,
  body.mobile-menu-open .hero-header__hamburger {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .hero-header__nav.open .mobile-drawer-panel,
  .mobile-drawer-root.open .mobile-drawer-panel {
    transform: translateX(0);
  }

  .mobile-drawer-brand {
    position: relative;
    flex-shrink: 0;
    padding: 3.25rem 1.1rem 0.85rem;
    margin-top: 0;
    text-align: center;
    background: #F8F3EC;
    border-bottom: 1px solid rgba(237, 230, 218, 0.7);
  }

  .mobile-drawer-brand__fa-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.35rem;
  }

  .mobile-drawer-brand__line {
    display: block;
    height: 1px;
    background: #B89A6A;
    opacity: 0.65;
    flex-shrink: 0;
  }

  .mobile-drawer-brand__line--md {
    width: 42px;
  }

  .mobile-drawer-brand__en {
    margin-top: 0;
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    color: #B89A6A;
    line-height: 1.15;
  }

  .mobile-drawer-brand__fa {
    font-family: var(--font-fa);
    font-size: 0.82rem;
    font-weight: 400;
    color: #B89A6A;
    opacity: 0.9;
    white-space: nowrap;
  }

  .mobile-drawer__menu {
    list-style: none;
    padding: 1rem 0.85rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
  }

  .mobile-drawer__menu a,
  .mobile-drawer__wishlist {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.88rem 1rem;
    font-size: 0.92rem;
    font-weight: 500;
    font-family: var(--font-fa);
    color: #8D7355;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(237, 230, 218, 0.9);
    border-radius: var(--radius-lg);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
  }

  .mobile-drawer__wishlist {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(237, 230, 218, 0.9);
    cursor: pointer;
    text-align: right;
  }

  .mobile-drawer__menu a:hover,
  .mobile-drawer__wishlist:hover {
    background: rgba(255, 255, 255, 0.92);
    color: #B89A6A;
    border-color: #C7AA7B;
  }

  .mobile-drawer__social-item {
    list-style: none;
    margin-top: 0.15rem;
    padding: 0.65rem 0 0.25rem;
  }

  .mobile-drawer__social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .mobile-drawer__social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #D9CEBD;
    color: #A8894E;
    box-shadow: 0 2px 10px rgba(61, 43, 31, 0.06);
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  }

  .mobile-drawer__social-link:hover {
    background: #fff;
    color: #B89A6A;
    border-color: #C7AA7B;
    transform: translateY(-1px);
  }

  .mobile-drawer__social-link .icon {
    stroke: currentColor;
  }

  .mobile-drawer__social-link .icon path[fill="currentColor"] {
    fill: currentColor;
    stroke: none;
  }

  .mobile-drawer__social-link .icon circle {
    fill: none;
    stroke: currentColor;
  }

  .mobile-drawer__social-link--telegram .icon {
    width: 22px;
    height: 22px;
  }

  .mobile-drawer__social-link--whatsapp .icon {
    width: 20px;
    height: 20px;
  }

  .hero-header__hamburger {
    display: flex;
    z-index: 3001;
    position: relative;
  }

  .hero-header {
    position: absolute;
  }

  .hero {
    justify-content: flex-end;
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }

  .hero__content {
    padding: 0 1.2rem 0.25rem;
    justify-content: flex-end;
    max-width: 100%;
  }

  .hero__title {
    margin-bottom: 1rem;
  }

  .hero__content .btn--gold {
    margin-top: 0;
    align-self: center;
  }

  .story__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .story__image-wrap {
    order: -1;
  }

  .story__image {
    height: 400px;
  }

  .story__image-accent {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .hero {
    min-height: 100svh;
    justify-content: flex-end;
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }

  .hero__bg {
    background-position: center 30%;
  }

  .hero__content {
    padding: 0 1.2rem 0.25rem;
    text-align: center;
    max-width: 100%;
    justify-content: flex-end;
  }

  .hero__title {
    margin-bottom: 1rem;
  }

  .hero__content .btn--gold {
    margin-top: 0;
    padding: 0.65rem 1.35rem;
    font-size: 0.8rem;
    width: auto;
    max-width: 100%;
    align-self: center;
  }

  .hero-header__logo {
    font-size: 1.2rem;
    letter-spacing: 0.12em;
  }

  .features-bar__inner {
    flex-direction: column;
    gap: 1rem;
  }

  .categories__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .products__grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

  .advisor__box {
    padding: 2.5rem 1.5rem;
  }

  .advisor__chat-panel {
    min-height: 340px;
    height: min(480px, 58vh);
  }

  .advisor__chat-send {
    min-width: 78px;
    padding: 0.75rem 0.9rem;
  }

  .advisor__types {
    gap: 1.2rem;
  }

  .skin-type-btn__circle {
    width: 60px;
    height: 60px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__form {
    flex-direction: column;
    max-width: 100%;
  }

  .footer__form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .hero-header__logo {
    font-size: 1.05rem;
    letter-spacing: 0.1em;
  }

  .categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-card__arch {
    aspect-ratio: 3 / 3.5;
  }
}
