/* ===================================================
   SUNBABES NAILS — Design System & Styles
   A luxury press-on nail e-commerce experience
   =================================================== */

/* ---------- Google 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&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- Custom Properties ---------- */
:root {
  /* Palette — Light Pink & Light Blue */
  --color-bg: #faf5f8;
  --color-bg-warm: #f0f4fa;
  --color-surface: #ffffff;
  --color-surface-glass: rgba(255, 255, 255, 0.65);
  --color-text-primary: #1a1a2e;
  --color-text-secondary: #4a4a6a;
  --color-text-muted: #8888a8;
  --color-accent: #e8729a;
  --color-accent-light: #f4a6c1;
  --color-accent-dark: #d4567e;
  --color-rose: #f28baf;
  --color-rose-light: #fce4ec;
  --color-blush: #fbd5e0;
  --color-champagne: #e8f0fe;
  --color-gold: #7baaf7;
  --color-gold-light: #b8d4fc;
  --color-dark: #1a1a2e;
  --color-dark-overlay: rgba(26, 26, 46, 0.55);
  --color-border: rgba(0, 0, 0, 0.06);
  --color-border-hover: rgba(0, 0, 0, 0.12);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.1), 0 8px 20px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 30px rgba(232, 114, 154, 0.25);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 350ms;
  --duration-slow: 500ms;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1340px;
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Scroll-driven reveal animation ---------- */
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: reveal-up linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}

/* Fallback for browsers without scroll-driven animations */
@supports not (animation-timeline: view()) {
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ---------- Announcement Bar ---------- */
.announcement-bar {
  background: var(--color-dark);
  color: #fff;
  text-align: center;
  padding: 8px var(--space-md);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
}

.announcement-bar span {
  color: var(--color-gold-light);
  font-weight: 600;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface-glass);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--duration-normal) var(--ease-smooth);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav__logo {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.nav__logo-img {
  height: 42px;
  width: auto;
}

.footer__logo-img {
  height: 38px;
  width: auto;
  filter: brightness(10);
}

.nav__links {
  display: none;
  gap: var(--space-2xl);
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  position: relative;
  padding-block: 4px;
  transition: color var(--duration-fast) var(--ease-smooth);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
  transition: width var(--duration-normal) var(--ease-smooth);
}

.nav__links a:hover {
  color: var(--color-text-primary);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__icon {
  width: 22px;
  height: 22px;
  color: var(--color-text-secondary);
  transition: color var(--duration-fast) var(--ease-smooth),
              transform var(--duration-fast) var(--ease-bounce);
}

.nav__icon:hover {
  color: var(--color-accent);
  transform: scale(1.1);
}

.nav__cart {
  position: relative;
}

.nav__cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  height: 70vh;
  min-height: 480px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-2xl);
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.78) 0%,
    rgba(26, 26, 46, 0.5) 50%,
    rgba(26, 26, 46, 0.3) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  padding-inline: var(--space-md);
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px var(--space-md);
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s var(--ease-smooth) 0.2s both;
}

.hero__tag .dot {
  width: 6px;
  height: 6px;
  background: var(--color-gold-light);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.08;
  color: #fff;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s var(--ease-smooth) 0.4s both;
}

.hero__title strong {
  font-weight: 600;
  font-style: italic;
  color: var(--color-gold-light);
}

.hero__subtitle {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s var(--ease-smooth) 0.6s both;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  animation: fadeInUp 0.8s var(--ease-smooth) 0.8s both;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--duration-normal) var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--color-dark);
  color: #fff;
}

.btn--dark:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-primary);
  border: 1.5px solid var(--color-border-hover);
}

.btn--ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.btn__arrow {
  transition: transform var(--duration-fast) var(--ease-smooth);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-lg) 0;
}

.trust-bar__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  justify-items: center;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.trust-bar__icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* ---------- Section Headings ---------- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section-header__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.section-header__subtitle {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--color-text-muted);
  max-width: 540px;
  margin-inline: auto;
  padding-inline: var(--space-sm);
}

/* ---------- Category Tiles ---------- */
.categories {
  padding: var(--space-2xl) 0;
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.category-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  group: category;
}

.category-tile__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.category-tile:hover .category-tile__image {
  transform: scale(1.06);
}

.category-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.7) 0%,
    rgba(26, 26, 26, 0.1) 50%,
    transparent 100%
  );
  transition: background var(--duration-normal) var(--ease-smooth);
}

.category-tile:hover .category-tile__overlay {
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.8) 0%,
    rgba(26, 26, 26, 0.25) 60%,
    transparent 100%
  );
}

.category-tile__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl);
  color: #fff;
  transform: translateY(8px);
  transition: transform var(--duration-normal) var(--ease-smooth);
}

.category-tile:hover .category-tile__content {
  transform: translateY(0);
}

.category-tile__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.category-tile__count {
  font-size: 0.78rem;
  font-weight: 400;
  opacity: 0.75;
  letter-spacing: 0.04em;
}

.category-tile__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  margin-top: var(--space-md);
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.category-tile:hover .category-tile__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Bestsellers / Products ---------- */
.bestsellers {
  padding: var(--space-2xl) 0;
  background: var(--color-bg-warm);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-smooth),
              box-shadow var(--duration-normal) var(--ease-smooth);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.product-card__badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  z-index: 2;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__badge--bestseller {
  background: var(--color-accent);
  color: #fff;
}

.product-card__badge--new {
  background: var(--color-dark);
  color: #fff;
}

.product-card__badge--sale {
  background: var(--color-rose);
  color: #fff;
}

.product-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--color-champagne);
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

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

.product-card__quick-add {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  transform: translateY(100%);
  transition: transform var(--duration-normal) var(--ease-smooth);
}

.product-card:hover .product-card__quick-add {
  transform: translateY(0);
}

.product-card__quick-btn {
  width: 100%;
  padding: 12px;
  background: #fff;
  color: var(--color-text-primary);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--duration-fast) var(--ease-smooth);
}

.product-card__quick-btn:hover {
  background: var(--color-accent);
  color: #fff;
}

.product-card__wishlist {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-surface-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--duration-fast) var(--ease-bounce);
}

.product-card:hover .product-card__wishlist {
  opacity: 1;
  transform: scale(1);
}

.product-card__wishlist svg {
  width: 18px;
  height: 18px;
  color: var(--color-text-secondary);
  transition: color var(--duration-fast);
}

.product-card__wishlist:hover svg {
  color: var(--color-rose);
}

.product-card__info {
  padding: var(--space-md);
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 2px;
  color: var(--color-text-primary);
}

.product-card__desc {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: var(--space-sm);
}

.product-card__stars {
  color: var(--color-gold);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.product-card__reviews {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.product-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
}

.product-card__current-price {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.product-card__original-price {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

/* ---------- Promo Banner ---------- */
.promo-banner {
  position: relative;
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #2a2040 100%);
  overflow: hidden;
}

.promo-banner__shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(232, 114, 154, 0.06) 25%,
    transparent 50%,
    rgba(123, 170, 247, 0.08) 75%,
    transparent 100%
  );
  background-size: 400% 400%;
  animation: shimmer 8s ease infinite;
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.promo-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: var(--space-xl);
}

.promo-banner__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.15;
}

.promo-banner__title strong {
  font-weight: 600;
  color: var(--color-gold-light);
}

.promo-banner__text {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
}

.promo-banner__code {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  color: var(--color-gold-light);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

/* ---------- How It Works ---------- */
.how-it-works {
  padding: var(--space-2xl) 0;
  background: var(--color-surface);
}

.steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  position: relative;
}

.steps__grid::before {
  display: none;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-champagne), var(--color-blush));
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-md);
}

.step__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.step__text {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--color-text-muted);
  max-width: 280px;
  margin-inline: auto;
  line-height: 1.65;
}

/* ---------- Reviews Section ---------- */
.reviews {
  padding: var(--space-2xl) 0;
  background: var(--color-bg);
}

.reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.review-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-smooth),
              box-shadow var(--duration-normal) var(--ease-smooth);
  position: relative;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.review-card__stars {
  color: var(--color-gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
}

.review-card__text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.review-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-champagne), var(--color-rose-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-accent-dark);
}

.review-card__name {
  font-weight: 600;
  font-size: 0.88rem;
}

.review-card__verified {
  font-size: 0.72rem;
  color: var(--color-accent);
  font-weight: 500;
}

/* ---------- Instagram / Gallery ---------- */
.gallery {
  padding: var(--space-2xl) 0 var(--space-lg);
  background: var(--color-bg-warm);
}

.gallery__row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  overflow: hidden;
}

.gallery__item {
  flex: 0 0 calc(33.333% - 3px);
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0);
  transition: background var(--duration-normal);
}

.gallery__item:hover::after {
  background: rgba(26, 26, 26, 0.25);
}

/* ---------- Newsletter ---------- */
.newsletter {
  padding: var(--space-2xl) 0;
  background: var(--color-surface);
  text-align: center;
}

.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 480px;
  margin: var(--space-lg) auto 0;
}

.newsletter__input {
  flex: 1;
  padding: 12px 18px;
  border: 1.5px solid var(--color-border-hover);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--color-text-primary);
  background: var(--color-bg);
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-smooth),
              box-shadow var(--duration-fast) var(--ease-smooth);
}

.newsletter__input::placeholder {
  color: var(--color-text-muted);
}

.newsletter__input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(232, 114, 154, 0.15);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-md);
}

.footer__brand-name em {
  font-style: normal;
  color: var(--color-gold-light);
}

.footer__brand-text {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  max-width: 300px;
}

.footer__heading {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-lg);
}

.footer__list li {
  margin-bottom: var(--space-sm);
}

.footer__list a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--duration-fast);
}

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

.footer__socials {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.footer__social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.footer__social:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
}

.footer__social svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer__payment {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.footer__payment-icon {
  font-size: 0.72rem;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---------- Responsive (mobile-first: min-width breakpoints) ---------- */

/* ---- Tablet (≥600px) ---- */
@media (min-width: 600px) {
  .container {
    padding-inline: var(--space-lg);
  }
  .announcement-bar {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }
  .nav__inner {
    height: 64px;
  }
  .nav__logo-img {
    height: 46px;
  }
  .nav__actions {
    gap: var(--space-lg);
  }
  .hero {
    height: 75vh;
    min-height: 520px;
    align-items: center;
    padding-bottom: 0;
  }
  .hero__content {
    padding-inline: var(--space-xl);
  }
  .hero__tag {
    font-size: 0.7rem;
    padding: var(--space-sm) var(--space-lg);
    margin-bottom: var(--space-lg);
  }
  .hero__subtitle {
    font-size: 0.95rem;
  }
  .hero__actions {
    flex-direction: row;
    gap: var(--space-md);
  }
  .btn {
    padding: 13px 28px;
    font-size: 0.82rem;
  }
  .trust-bar__inner {
    grid-template-columns: repeat(4, auto);
    justify-content: center;
    gap: var(--space-xl);
  }
  .trust-bar__item {
    font-size: 0.78rem;
    gap: var(--space-md);
  }
  .trust-bar__icon {
    width: 22px;
    height: 22px;
  }
  .section-header {
    margin-bottom: var(--space-2xl);
  }
  .section-header__subtitle {
    font-size: 0.95rem;
  }
  .categories {
    padding: var(--space-3xl) 0;
  }
  .categories__grid {
    gap: var(--space-md);
  }
  .bestsellers {
    padding: var(--space-3xl) 0;
  }
  .products__grid {
    gap: var(--space-md);
  }
  .product-card__info {
    padding: var(--space-md) var(--space-lg) var(--space-lg);
  }
  .product-card__name {
    font-size: 1.05rem;
  }
  .how-it-works {
    padding: var(--space-3xl) 0;
  }
  .reviews {
    padding: var(--space-3xl) 0;
  }
  .review-card {
    padding: var(--space-xl);
  }
  .gallery {
    padding: var(--space-3xl) 0 var(--space-xl);
  }
  .gallery__item {
    flex: 1;
  }
  .gallery__row {
    flex-wrap: nowrap;
  }
  .newsletter {
    padding: var(--space-3xl) 0;
  }
  .newsletter__form {
    flex-direction: row;
    gap: var(--space-md);
  }
  .footer {
    padding: var(--space-3xl) 0 var(--space-lg);
  }
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
  }
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    font-size: 0.75rem;
  }
}

/* ---- Desktop (≥960px) ---- */
@media (min-width: 960px) {
  .container {
    padding-inline: var(--space-xl);
  }
  .announcement-bar {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
  }
  .nav__inner {
    height: 72px;
  }
  .nav__logo-img {
    height: 52px;
  }
  .nav__links {
    display: flex;
  }
  .hero {
    height: 85vh;
    min-height: 600px;
  }
  .hero__content {
    padding-left: var(--space-3xl);
  }
  .hero__tag {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-xl);
  }
  .hero__subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
  }
  .btn {
    padding: 14px 32px;
    font-size: 0.85rem;
  }
  .section-header {
    margin-bottom: var(--space-3xl);
  }
  .section-header__tag {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
  }
  .section-header__subtitle {
    font-size: 1rem;
  }
  .categories {
    padding: var(--space-4xl) 0;
  }
  .categories__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
  }
  .bestsellers {
    padding: var(--space-4xl) 0;
  }
  .products__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
  }
  .product-card__info {
    padding: var(--space-lg) var(--space-lg) var(--space-xl);
  }
  .product-card__name {
    font-size: 1.15rem;
  }
  .product-card__desc {
    font-size: 0.78rem;
    margin-bottom: var(--space-sm);
  }
  .how-it-works {
    padding: var(--space-4xl) 0;
  }
  .steps__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
  }
  .steps__grid::before {
    display: block;
    content: '';
    position: absolute;
    top: 40px;
    left: calc(16.66% + 24px);
    right: calc(16.66% + 24px);
    height: 2px;
    background: linear-gradient(to right, var(--color-accent-light), var(--color-rose-light), var(--color-accent-light));
    z-index: 0;
  }
  .step__number {
    width: 80px;
    height: 80px;
    font-size: 1.8rem;
    margin-bottom: var(--space-xl);
  }
  .reviews {
    padding: var(--space-4xl) 0;
  }
  .reviews__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
  .review-card {
    padding: var(--space-2xl);
  }
  .gallery {
    padding: var(--space-4xl) 0 var(--space-2xl);
  }
  .newsletter {
    padding: var(--space-4xl) 0;
  }
  .newsletter__form {
    margin-top: var(--space-xl);
  }
  .newsletter__input {
    padding: 14px 20px;
  }
  .footer {
    padding: var(--space-4xl) 0 var(--space-xl);
  }
  .footer__grid {
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
  }
  .footer__bottom {
    font-size: 0.78rem;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .hero__tag,
  .hero__title,
  .hero__subtitle,
  .hero__actions {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .promo-banner__shimmer {
    animation: none;
  }
}
