/* =============================================================
   JIGEENOVA — design system v2
   Premium feminine cosmetics shop
   ============================================================= */

:root {
  --pink:       #e84a8e;
  --pink-2:     #ff6aa3;
  --pink-deep:  #c93576;
  --rose:       #fde6ef;
  --rose-2:     #fff1f7;
  --cream:      #fff8f3;
  --gold:       #c9a25e;
  --gold-2:     #e7c682;
  --ink:        #1a1118;
  --ink-2:      #3a2530;
  --muted:      #7a6770;
  --line:       #f0e3e9;
  --bg:         #fafafa;
  --bg-2:       #ffffff;
  --shadow-sm:  0 4px 14px rgba(232, 74, 142, 0.08);
  --shadow-md:  0 14px 36px rgba(40, 20, 35, 0.08);
  --shadow-lg:  0 24px 60px rgba(40, 20, 35, 0.12);
  --radius-sm:  10px;
  --radius:     16px;
  --radius-lg:  24px;
  --t:          0.35s cubic-bezier(.4, 0, .2, 1);
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display, .brand-logo, .brand-footer, .serif {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-weight: 600; line-height: 1.05; }

.text-pink { color: var(--pink) !important; }
.text-gold { color: var(--gold) !important; }
.text-ink { color: var(--ink) !important; }
.text-muted { color: var(--muted) !important; }
.bg-pink { background-color: var(--pink) !important; }
.bg-rose { background-color: var(--rose) !important; }
.bg-rose-soft { background-color: var(--rose-2) !important; }
.bg-cream { background-color: var(--cream) !important; }

/* =============== BUTTONS =============== */
.btn { font-weight: 500; transition: var(--t); border-radius: 999px; padding: 0.65rem 1.4rem; }
.btn-lg { padding: 0.85rem 1.8rem; font-size: 0.98rem; }
.btn:focus { box-shadow: none !important; }

.btn-pink {
  background: var(--pink);
  border-color: var(--pink);
  color: white;
  box-shadow: 0 8px 22px rgba(232, 74, 142, 0.28);
}
.btn-pink:hover, .btn-pink:focus {
  background: var(--pink-deep);
  border-color: var(--pink-deep);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(232, 74, 142, 0.4);
}
.btn-outline-pink {
  background: transparent;
  border: 1.5px solid var(--pink);
  color: var(--pink);
}
.btn-outline-pink:hover { background: var(--pink); color: white; transform: translateY(-1px); }

.btn-dark, .btn-outline-dark {
  border-color: var(--ink) !important;
}
.btn-dark { background: var(--ink); color: white; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn-outline-dark { color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: white; }

.btn-icon {
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.08);
  background: white;
  color: var(--ink);
  transition: var(--t);
}
.btn-icon:hover { background: var(--pink); color: white; border-color: var(--pink); transform: scale(1.05); }

/* =============== TOPBAR =============== */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  padding: 0.55rem 0;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.topbar a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.topbar a:hover { color: white; text-decoration: none; }
.topbar .marquee {
  white-space: nowrap;
  overflow: hidden;
}

/* =============== NAVBAR =============== */
header.bg-white {
  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.navbar { padding-top: 0.85rem !important; padding-bottom: 0.85rem !important; }
.brand-logo .logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 0.05em;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  overflow: visible;
}
.brand-logo .site-logo {
  height: 90px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  /* Negative vertical margins → image grows visually without expanding the navbar */
  margin-top: -28px;
  margin-bottom: -28px;
}
@media (max-width: 991.98px) {
  .brand-logo .site-logo {
    height: 70px;
    max-width: 200px;
    margin-top: -20px;
    margin-bottom: -20px;
  }
}
@media (max-width: 575.98px) {
  .brand-logo .site-logo {
    height: 56px;
    max-width: 150px;
    margin-top: -14px;
    margin-bottom: -14px;
  }
}
.navbar .nav-link {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink) !important;
  padding: 0.45rem 1rem !important;
  position: relative;
  transition: color var(--t);
}
.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 22px;
  height: 2px;
  background: var(--pink);
  border-radius: 2px;
  transition: transform var(--t);
}
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--pink) !important; }
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: translateX(-50%) scaleX(1); }
.dropdown-menu {
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 0.6rem;
  font-size: 0.9rem;
}
.dropdown-item {
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  transition: var(--t);
}
.dropdown-item:hover {
  background: var(--rose-2);
  color: var(--pink-deep);
}

.navbar form input.form-control-sm {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding-left: 1rem;
  background: var(--rose-2);
}
.navbar form input.form-control-sm:focus { background: white; border-color: var(--pink); }

/* Cart badge animation */
.navbar .btn-outline-dark { border-radius: 999px; padding-left: 1rem; padding-right: 1rem; }
.navbar .badge.bg-pink { box-shadow: 0 0 0 2px white; }

/* =============== HERO =============== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 5rem;
  background:
    radial-gradient(1100px 600px at 110% -10%, rgba(232,74,142,0.18), transparent 65%),
    radial-gradient(900px 500px at -10% 100%, rgba(247,180,140,0.22), transparent 60%),
    linear-gradient(180deg, var(--rose-2) 0%, var(--cream) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(232,74,142,0.08) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.6;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  line-height: 1;
  margin-top: 1rem;
  margin-bottom: 1.2rem;
}
.hero h1 em {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  color: var(--pink);
  font-weight: 500;
}
.hero .hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.65;
}
.pill {
  background: white;
  color: var(--pink);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
}
.pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pink);
  display: inline-block;
}

.hero-visual {
  position: relative;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card {
  position: absolute;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: var(--t);
}
.hero-card.main {
  width: 340px;
  height: 440px;
  z-index: 3;
  transform: rotate(-3deg);
}
.hero-card.left {
  width: 200px;
  height: 250px;
  left: -10%;
  top: 8%;
  z-index: 1;
  transform: rotate(-12deg);
}
.hero-card.right {
  width: 230px;
  height: 280px;
  right: -8%;
  bottom: 4%;
  z-index: 2;
  transform: rotate(8deg);
}
.hero-card img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-card:hover { transform: rotate(0deg) scale(1.04); z-index: 10; }

.hero-floating-pill {
  position: absolute;
  background: white;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.82rem;
  box-shadow: var(--shadow-md);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-floating-pill.p1 { top: 15%; right: 5%; z-index: 4; animation: floaty 5s ease-in-out infinite; }
.hero-floating-pill.p2 { bottom: 16%; left: 0; z-index: 4; animation: floaty 6s ease-in-out infinite 0.5s; }
.hero-floating-pill .icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--rose);
  color: var(--pink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* HERO mini stats */
.hero-mini-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.hero-mini-stats .stat-val { font-size: 1.8rem; font-weight: 700; color: var(--ink); font-family: 'Cormorant Garamond', serif; }
.hero-mini-stats .stat-lbl { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* =============== TRUST STRIP =============== */
.trust-strip {
  background: var(--ink);
  color: white;
  padding: 1.4rem 0;
}
.trust-strip .item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
}
.trust-strip .item i {
  font-size: 1.4rem;
  color: var(--pink-2);
}

/* =============== SECTION HEADINGS =============== */
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1rem;
}
.section-heading .eyebrow {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--pink);
  display: block;
  margin-bottom: 0.4rem;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
}
.section-heading h2 em { font-style: italic; color: var(--pink); }
.section-heading .head-link {
  font-weight: 500;
  color: var(--ink);
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid transparent;
  transition: var(--t);
}
.section-heading .head-link:hover {
  color: var(--pink);
  border-bottom-color: var(--pink);
}

/* =============== PRODUCT CARDS =============== */
.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--t);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card .product-media {
  position: relative;
  overflow: hidden;
  background: var(--rose-2);
}
.product-card .product-media .ratio {
  background: var(--rose-2);
}
.product-card .product-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(.4, 0, .2, 1);
}
.product-card:hover .product-img { transform: scale(1.06); }
.product-card .badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.product-card .badge-sale, .product-card .badge-new, .product-card .badge-out {
  font-size: 0.66rem;
  padding: 5px 11px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.product-card .badge-sale { background: var(--pink); color: white; }
.product-card .badge-new { background: var(--ink); color: white; }
.product-card .badge-out { background: rgba(255,255,255,0.9); color: var(--ink); }

.product-card .quick-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 3;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--t);
}
.product-card:hover .quick-actions { opacity: 1; transform: translateX(0); }
.product-card .quick-actions .btn-icon {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.95);
  border: none;
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
}

.product-card .add-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px;
  transform: translateY(100%);
  transition: var(--t);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.05));
}
.product-card:hover .add-overlay { transform: translateY(0); }
.product-card .add-overlay button {
  width: 100%;
  background: var(--ink);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.85rem;
  transition: background 0.2s;
}
.product-card .add-overlay button:hover { background: var(--pink); }

.product-card .product-body {
  padding: 1.1rem 0.4rem 0.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-card .product-brand {
  text-transform: uppercase;
  font-size: 0.66rem;
  color: var(--muted);
  letter-spacing: 0.14em;
  font-weight: 600;
}
.product-card .product-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.96rem;
  margin-top: 6px;
  color: var(--ink);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  transition: color 0.2s;
}
.product-card:hover .product-title { color: var(--pink); }
.product-card .product-price {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}
.product-card .product-compare {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 0.85rem;
  margin-left: 6px;
  font-weight: 400;
}
.product-placeholder {
  background: linear-gradient(135deg, var(--rose), var(--cream));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  color: var(--pink);
  font-weight: 600;
  width: 100%;
  height: 100%;
}

.rating .bi { color: var(--gold); font-size: 0.82rem; }

/* =============== CATEGORY TILES =============== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.category-tile {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: block;
  height: 260px;
  text-decoration: none;
  color: white;
  transition: var(--t);
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-2) 100%);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.category-tile:nth-child(6n+2) { background: linear-gradient(135deg, #e8a4c8 0%, #ffd5e4 100%); }
.category-tile:nth-child(6n+3) { background: linear-gradient(135deg, #c9a25e 0%, #e7c682 100%); }
.category-tile:nth-child(6n+4) { background: linear-gradient(135deg, #8b5cf6 0%, #c4b0f9 100%); }
.category-tile:nth-child(6n+5) { background: linear-gradient(135deg, #f59e0b 0%, #fcd34d 100%); }
.category-tile:nth-child(6n+0) { background: linear-gradient(135deg, #2dd4bf 0%, #a7f3d0 100%); }
.category-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55) 100%);
}
.category-tile .tile-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.4rem;
  z-index: 1;
}
.category-tile h3 {
  color: white;
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.1;
}
.category-tile .arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 1;
  transition: var(--t);
}
.category-tile:hover .arrow { background: white; color: var(--ink); transform: scale(1.1); }

@media (max-width: 992px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 576px) { .category-grid { grid-template-columns: repeat(2, 1fr); } .category-tile { height: 200px; } }

/* =============== PROMO BANNER =============== */
.promo-banner {
  background: linear-gradient(120deg, var(--ink) 0%, #2d1a22 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  color: white;
  position: relative;
  overflow: hidden;
  margin: 4rem 0;
}
.promo-banner::before, .promo-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.promo-banner::before {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(232,74,142,0.35), transparent 70%);
  top: -100px; right: -50px;
}
.promo-banner::after {
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(201,162,94,0.3), transparent 70%);
  bottom: -100px; left: 10%;
}
.promo-banner h2 {
  color: white;
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
}
.promo-banner h2 em { color: var(--pink-2); font-style: italic; }
.promo-banner p { color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; max-width: 480px; }

/* =============== FEATURE ICONS =============== */
.feature-icon {
  background: var(--rose);
  color: var(--pink);
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 0.9rem;
  transition: var(--t);
}
.feature-card { padding: 1.5rem; border-radius: var(--radius); background: white; transition: var(--t); height: 100%; }
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-card:hover .feature-icon { background: var(--pink); color: white; }
.feature-card h5 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1rem; }
.feature-card p { font-size: 0.88rem; color: var(--muted); margin-bottom: 0; }

/* =============== TESTIMONIALS =============== */
.testimonials {
  background:
    radial-gradient(700px 400px at 10% 10%, rgba(232,74,142,0.08), transparent 60%),
    radial-gradient(600px 350px at 90% 90%, rgba(201,162,94,0.08), transparent 60%),
    var(--cream);
  padding: 5rem 0;
  margin-top: 4rem;
}
.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.testimonial-card::before {
  content: """;
  position: absolute;
  top: -20px;
  left: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  color: var(--pink);
  line-height: 1;
}
.testimonial-card .stars { color: var(--gold); margin-bottom: 1rem; }
.testimonial-card p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 1.2rem;
}
.testimonial-card .author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--pink-2));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
}
.testimonial-card .author strong { display: block; font-size: 0.92rem; }
.testimonial-card .author span { font-size: 0.78rem; color: var(--muted); }

/* =============== BRAND STRIP =============== */
.brand-strip { padding: 3rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.brand-strip .brand-item {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--muted);
  text-align: center;
  font-weight: 500;
  font-style: italic;
  opacity: 0.55;
  transition: var(--t);
}
.brand-strip .brand-item:hover { opacity: 1; color: var(--pink); }

/* =============== NEWSLETTER (newsletter section) =============== */
.newsletter-section {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(232,74,142,0.16), transparent 60%),
    linear-gradient(135deg, var(--rose-2) 0%, var(--cream) 100%);
  padding: 5rem 0;
  margin-top: 4rem;
}
.newsletter-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}
.newsletter-card h2 { font-size: 2.2rem; }
.newsletter-card .perks { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1rem; }
.newsletter-card .perks .perk {
  font-size: 0.85rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.newsletter-card .perks .perk i { color: var(--pink); }

.input-group-newsletter {
  display: flex;
  background: var(--bg);
  border-radius: 999px;
  padding: 6px;
  margin-top: 1.5rem;
}
.input-group-newsletter input {
  border: none;
  background: transparent;
  padding: 0.7rem 1.2rem;
  flex: 1;
  outline: none;
}
.input-group-newsletter button { border-radius: 999px; padding: 0.6rem 1.6rem; }

/* =============== FOOTER =============== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  margin-top: 0;
  padding-top: 4rem;
  padding-bottom: 0;
}
.footer h5, .footer h6 { color: white; }
.footer .brand-footer {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.footer a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer a:hover { color: var(--pink-2) !important; text-decoration: none; }
.footer h6 {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer .social {
  display: flex; gap: 10px; margin-top: 1rem;
}
.footer .social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.95rem;
  transition: var(--t);
}
.footer .social a:hover { background: var(--pink); border-color: var(--pink); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.4rem 0;
  margin-top: 3rem;
  font-size: 0.82rem;
}
.payment-icons {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.payment-icons span {
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255,255,255,0.08);
}

/* =============== CART / CHECKOUT =============== */
table.cart-table td, table.cart-table th { vertical-align: middle; border-color: var(--line) !important; }
table.cart-table thead th {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--line);
}

.checkout-summary {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 110px;
  border: 1px solid var(--line);
}

/* =============== FORMS =============== */
.form-control, .form-select {
  border: 1px solid var(--line);
  padding: 0.62rem 0.9rem;
  border-radius: 10px;
  font-size: 0.92rem;
  transition: var(--t);
}
.form-control:focus, .form-select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 0.22rem rgba(232, 74, 142, 0.12);
}
.form-label { font-size: 0.82rem; font-weight: 500; color: var(--ink); margin-bottom: 0.35rem; }

/* =============== EMPTY STATES =============== */
.empty-state {
  text-align: center;
  padding: 5rem 1rem;
  color: var(--muted);
}
.empty-state .bi {
  font-size: 4.5rem;
  color: var(--pink);
  opacity: 0.4;
}
.empty-state h4 { font-size: 1.6rem; margin-top: 1.2rem; }

/* =============== BREADCRUMB =============== */
.breadcrumb {
  background: transparent;
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
}
.breadcrumb-item a { color: var(--muted); }
.breadcrumb-item.active { color: var(--ink); }
.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: var(--muted);
  padding: 0 8px;
}

/* =============== TIMELINE (orders) =============== */
.timeline { list-style: none; padding-left: 1.5rem; border-left: 2px solid var(--line); margin: 0; }
.timeline li { position: relative; padding: 0.6rem 0 0.9rem 1.1rem; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -1.7rem;
  top: 0.95rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--pink);
}

/* =============== MISC =============== */
.shadow-soft { box-shadow: var(--shadow-sm); }
.rounded-2xl { border-radius: var(--radius-lg) !important; }

/* Reveal on scroll — default visible; JS adds .reveal-pending to start invisible */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.reveal-pending { opacity: 0; transform: translateY(20px); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.reveal-pending { opacity: 1 !important; transform: none !important; }
}

/* =============== RESPONSIVE =============== */
@media (max-width: 992px) {
  .hero { padding: 2.5rem 0; }
  .hero-visual { display: none; }
  .promo-banner { padding: 2.5rem 1.5rem; margin: 2rem 0; border-radius: var(--radius); }
}

@media (max-width: 768px) {
  body { font-size: 14px; }

  /* Topbar plus compact */
  .topbar { font-size: 0.7rem; padding: 0.4rem 0; }
  .topbar .marquee { font-size: 0.7rem; }

  /* Navbar */
  .navbar { padding-top: 0.6rem !important; padding-bottom: 0.6rem !important; }
  .brand-logo .logo-text { font-size: 1.5rem; }
  .navbar form { display: none !important; }
  .navbar-toggler {
    padding: 0.35rem 0.55rem !important;
    border: 1px solid var(--line) !important;
    border-radius: 10px !important;
    transition: background 0.2s, border-color 0.2s;
  }
  .navbar-toggler:focus { box-shadow: none !important; }
  .navbar-toggler:hover { background: var(--rose-2); border-color: var(--pink) !important; }

  .navbar-collapse {
    background: white;
    border-radius: var(--radius-lg);
    margin-top: 0.75rem;
    padding: 1.25rem 1rem 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    animation: mobileMenuIn 0.28s cubic-bezier(.16,.84,.32,1) both;
  }

  /* Main nav links — centered */
  .navbar-collapse .navbar-nav.mx-auto {
    width: 100%;
    text-align: center;
    margin: 0 !important;
    padding: 0;
  }
  .navbar-collapse .navbar-nav.mx-auto .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--rose-2);
  }
  .navbar-collapse .navbar-nav.mx-auto .nav-item:last-child { border-bottom: none; }
  .navbar-collapse .navbar-nav.mx-auto .nav-link {
    text-align: center !important;
    padding: 0.85rem 0.5rem !important;
    font-size: 1rem !important;
    font-weight: 500;
    color: var(--ink) !important;
    border-radius: 10px;
    margin: 0 auto;
    transition: background 0.2s, color 0.2s;
  }
  .navbar-collapse .navbar-nav.mx-auto .nav-link::after { display: none; }
  .navbar-collapse .navbar-nav.mx-auto .nav-link.active {
    color: var(--pink) !important;
    background: var(--rose-2);
  }
  .navbar-collapse .navbar-nav.mx-auto .nav-link:hover {
    color: var(--pink) !important;
    background: var(--rose-2);
  }

  /* Dropdown (Catégories) inside the mobile menu — expand inline */
  .navbar-collapse .navbar-nav.mx-auto .dropdown-toggle::after {
    transition: transform 0.25s;
    vertical-align: 0.18em;
    margin-left: 0.4rem;
  }
  .navbar-collapse .navbar-nav.mx-auto .dropdown-toggle.show::after { transform: rotate(180deg); }
  .navbar-collapse .navbar-nav.mx-auto .dropdown-menu {
    position: static !important;
    width: 100%;
    box-shadow: none;
    border: none;
    background: var(--rose-2);
    padding: 0.5rem;
    margin-top: 0.25rem !important;
    border-radius: 10px;
    transform: none !important;
  }
  .navbar-collapse .navbar-nav.mx-auto .dropdown-menu .dropdown-item {
    text-align: center;
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
    border-radius: 8px;
  }
  .navbar-collapse .navbar-nav.mx-auto .dropdown-menu .dropdown-item i {
    display: none;
  }

  /* Action icons row — labeled, horizontal, centered */
  .navbar-collapse .navbar-nav.align-items-center {
    flex-direction: row !important;
    gap: 0 !important;
    justify-content: space-around !important;
    padding: 1rem 0 0.25rem !important;
    margin-top: 0.75rem !important;
    border-top: 1px solid var(--line);
    width: 100%;
    align-items: flex-start !important;
  }
  .navbar-collapse .navbar-nav.align-items-center .nav-item {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    text-align: center;
    min-width: 0;
  }
  .navbar-collapse .navbar-nav.align-items-center .nav-item .btn-icon {
    margin: 0 !important;
    width: 42px;
    height: 42px;
    background: var(--rose-2);
    border-color: transparent;
  }
  .navbar-collapse .navbar-nav.align-items-center .nav-item .btn-icon:hover {
    background: var(--pink);
    color: white;
  }
  .navbar-collapse .navbar-nav.align-items-center .nav-item .btn-icon i { font-size: 1.05rem; }
  /* Label below icon */
  .navbar-collapse .navbar-nav.align-items-center .nav-item[data-label]::after {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    color: var(--muted);
    margin-top: 6px;
    font-weight: 500;
    line-height: 1;
  }

  /* Dropdown menu when expanded inside collapse */
  .navbar-collapse .navbar-nav.align-items-center .dropdown-menu {
    position: absolute !important;
    right: 50% !important;
    transform: translateX(50%) !important;
    margin-top: 0.5rem !important;
  }

@keyframes mobileMenuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

  /* HERO compact */
  .hero { padding: 1.75rem 0 2.25rem; }
  .hero h1 { font-size: 2.2rem; margin-top: 0.75rem; margin-bottom: 0.75rem; }
  .hero .hero-sub { font-size: 0.95rem; line-height: 1.55; }
  .hero .pill { font-size: 0.7rem; padding: 4px 12px; }
  .hero-mini-stats {
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    flex-wrap: wrap;
  }
  .hero-mini-stats > div { flex: 1; min-width: 0; }
  .hero-mini-stats .stat-val { font-size: 1.3rem; }
  .hero-mini-stats .stat-lbl { font-size: 0.68rem; }
  .hero .btn-lg { padding: 0.6rem 1.2rem; font-size: 0.9rem; }

  /* Trust strip compact */
  .trust-strip { padding: 1rem 0; }
  .trust-strip .item { font-size: 0.78rem; gap: 8px; padding: 0.4rem 0; }
  .trust-strip .item i { font-size: 1.1rem; }
  .trust-strip .item strong { font-size: 0.82rem; }
  .trust-strip .item .small { font-size: 0.7rem !important; }

  /* Sections globalement plus compactes */
  .container.py-5, section.py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
  .py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }

  /* Section heading */
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
  }
  .section-heading h2 { font-size: 1.55rem; }
  .section-heading .eyebrow { font-size: 0.7rem; letter-spacing: 0.14em; }
  .section-heading .head-link { font-size: 0.82rem; }

  /* Categories grid */
  .category-grid { gap: 10px; }
  .category-tile { height: 150px; }
  .category-tile h3 { font-size: 1.1rem; }
  .category-tile .arrow { width: 28px; height: 28px; top: 10px; right: 10px; }
  .category-tile .tile-content { padding: 0.9rem; }

  /* Product cards */
  .product-card { border-radius: 12px; }
  .product-card .product-body { padding: 0.7rem 0.2rem 0.2rem; }
  .product-card .product-title { font-size: 0.85rem; -webkit-line-clamp: 2; line-height: 1.3; }
  .product-card .product-price { font-size: 0.92rem; }
  .product-card .product-brand { font-size: 0.6rem; }
  .product-card .product-compare { font-size: 0.74rem; }
  .product-card .badges { top: 8px; left: 8px; gap: 4px; }
  .product-card .badge-sale, .product-card .badge-new, .product-card .badge-out {
    font-size: 0.6rem; padding: 3px 8px;
  }
  /* Hide hover actions on touch — show always */
  .product-card .quick-actions { display: none; }
  .product-card .add-overlay { display: none; }

  /* Promo banner */
  .promo-banner { padding: 2rem 1.25rem; margin: 2rem 0; }
  .promo-banner h2 { font-size: 1.7rem; line-height: 1.15; }
  .promo-banner p { font-size: 0.92rem; }
  .promo-banner .btn-lg { padding: 0.6rem 1.2rem; font-size: 0.88rem; }

  /* Feature cards */
  .feature-card { padding: 1rem 0.75rem; }
  .feature-icon { width: 48px; height: 48px; font-size: 1.3rem; margin-bottom: 0.5rem; border-radius: 14px; }
  .feature-card h5 { font-size: 0.92rem; }
  .feature-card p { font-size: 0.78rem; }

  /* Testimonials */
  .testimonials { padding: 2.5rem 0; margin-top: 2rem; }
  .testimonial-card { padding: 1.5rem; }
  .testimonial-card p { font-size: 1rem; line-height: 1.45; margin-bottom: 0.9rem; }
  .testimonial-card::before { font-size: 4rem; top: -10px; left: 16px; }

  /* Brand strip */
  .brand-strip { padding: 1.5rem 0; }
  .brand-strip .brand-item { font-size: 1.1rem; }

  /* Newsletter */
  .newsletter-section { padding: 2.5rem 0; margin-top: 2rem; }
  .newsletter-card { padding: 1.5rem 1.25rem; border-radius: var(--radius); }
  .newsletter-card h2 { font-size: 1.5rem; line-height: 1.15; }
  .newsletter-card p { font-size: 0.9rem; }
  .newsletter-card .perks { gap: 0.5rem; margin-top: 0.75rem; }
  .newsletter-card .perks .perk { font-size: 0.78rem; }
  .input-group-newsletter {
    flex-direction: column;
    gap: 8px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    margin-top: 1rem;
  }
  .input-group-newsletter input {
    background: white;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.7rem 1.1rem;
    width: 100%;
  }
  .input-group-newsletter button { border-radius: 999px; padding: 0.65rem 1.4rem; width: 100%; }

  /* Footer */
  .footer { padding-top: 2.5rem; }
  .footer .brand-footer { font-size: 1.6rem; }
  .footer-bottom { margin-top: 1.5rem; flex-direction: column; gap: 0.75rem; text-align: center; }
  .payment-icons { flex-wrap: wrap; justify-content: center; gap: 6px; }
  .footer h6 { margin-top: 1rem; margin-bottom: 0.6rem; }

  /* Product detail */
  .container .breadcrumb { font-size: 0.78rem; }
  .container h1 { font-size: 1.7rem !important; }
  .nav-tabs { gap: 4px; flex-wrap: wrap; }
  .nav-tabs .nav-link { font-size: 0.85rem; padding: 0.4rem 1rem !important; }
  .tab-content { padding: 1.25rem !important; }

  /* Cart */
  table.cart-table { font-size: 0.85rem; }
  table.cart-table th, table.cart-table td { padding: 0.6rem 0.4rem !important; }
  .checkout-summary { position: static !important; margin-top: 1rem; padding: 1.25rem !important; }

  /* Account dashboard cards */
  .feature-card.text-center .feature-icon { width: 44px; height: 44px; font-size: 1.2rem; }

  /* Container padding tighter on mobile */
  .container, .container-fluid { padding-left: 16px !important; padding-right: 16px !important; }

  /* Empty state */
  .empty-state { padding: 3rem 1rem; }
  .empty-state .bi { font-size: 3rem; }
  .empty-state h4 { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .section-heading h2 { font-size: 1.35rem; }
  .promo-banner h2 { font-size: 1.45rem; }
  .testimonial-card p { font-size: 0.95rem; }
  .product-card .product-title { font-size: 0.82rem; }
  .product-card .product-price { font-size: 0.88rem; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: rgba(232,74,142,0.4); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--pink); }
