:root {
  --primary: #b85b75;
  --primary-dark: #7f2f49;
  --secondary: #f7dbe4;
  --soft: #fff6f8;
  --dark: #21141a;
  --muted: #76676d;
  --white: #ffffff;
  --border: rgba(127, 47, 73, 0.14);
  --shadow: 0 20px 50px rgba(127, 47, 73, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.topbar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: var(--white);
  font-size: .85rem;
  letter-spacing: .2px;
}
.main-header { box-shadow: 0 8px 30px rgba(33,20,26,.06); }
.navbar { min-height: 82px; }
.brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--dark) !important;
}
.brand span { color: var(--primary); }
.nav-link {
  font-weight: 500;
  color: var(--dark);
  transition: .25s ease;
}
.nav-link:hover, .text-sale { color: var(--primary) !important; }
.search-box {
  align-items: center;
  gap: .5rem;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .65rem 1rem;
  min-width: 300px;
}
.search-box input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font-size: .9rem;
}
.header-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--dark);
  transition: .25s ease;
  position: relative;
}
.icon-btn:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.cart-button span {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--primary-dark);
  color: var(--white);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: .7rem;
  display: grid;
  place-items: center;
}
.mobile-link {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}
.mobile-search { display: flex; min-width: 100%; }

.hero-section {
  padding: 90px 0 70px;
  background:
    radial-gradient(circle at 12% 20%, rgba(247,219,228,.95), transparent 30%),
    linear-gradient(135deg, #fff 0%, #fff6f8 100%);
}
.eyebrow, .section-title span, .promo-content span, .newsletter-box span {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: .78rem;
  margin-bottom: .7rem;
}
.hero-section h1, .section-title h2, .promo-content h2, .newsletter-box h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.05;
}
.hero-section h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); margin-bottom: 1.2rem; }
.hero-section p { color: var(--muted); font-size: 1.08rem; max-width: 590px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2rem 0; }
.btn-primary-custom, .btn-outline-custom, .btn-light-custom {
  border-radius: 999px;
  padding: .9rem 1.6rem;
  font-weight: 700;
}
.btn-primary-custom { background: var(--primary); border: 1px solid var(--primary); color: var(--white); }
.btn-primary-custom:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); }
.btn-outline-custom { border: 1px solid var(--primary); color: var(--primary); }
.btn-outline-custom:hover { background: var(--primary); color: var(--white); }
.hero-tags { display: flex; gap: .7rem; flex-wrap: wrap; }
.hero-tags span {
  background: var(--white);
  border: 1px solid var(--border);
  padding: .55rem .9rem;
  border-radius: 999px;
  font-size: .86rem;
  box-shadow: 0 8px 24px rgba(127,47,73,.08);
}
.hero-card { position: relative; border-radius: 36px; overflow: hidden; box-shadow: var(--shadow); transform: rotate(1deg); }
.hero-card img { height: 620px; width: 100%; object-fit: cover; }
.floating-offer {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  padding: 1rem 1.2rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.floating-offer strong { display: block; font-size: 1.4rem; color: var(--primary-dark); }
.floating-offer small { color: var(--muted); }

.benefits-section { margin-top: -28px; position: relative; z-index: 2; }
.benefit-card, .need-card, .testimonial-card {
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.4rem;
  box-shadow: 0 12px 36px rgba(33,20,26,.07);
}
.benefit-card i, .need-card i { color: var(--primary); font-size: 1.7rem; }
.benefit-card h3, .need-card h3 { font-size: 1rem; margin: .8rem 0 .35rem; font-weight: 700; }
.benefit-card p, .need-card p { color: var(--muted); font-size: .88rem; margin: 0; }

.section-padding { padding: 90px 0; }
.bg-soft { background: var(--soft); }
.section-title { text-align: center; margin-bottom: 2.4rem; }
.section-title h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: .5rem; }
.section-title p { color: var(--muted); }
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.category-card {
  position: relative;
  min-height: 230px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(33,20,26,.74), transparent 70%);
  z-index: 1;
}
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: .4s ease; }
.category-card:hover img { transform: scale(1.08); }
.category-card strong {
  position: absolute;
  left: 18px;
  bottom: 18px;
  color: var(--white);
  z-index: 2;
  font-size: 1.05rem;
}

.link-more { color: var(--primary); font-weight: 700; }
.product-card {
  height: 100%;
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(33,20,26,.08);
  position: relative;
  transition: .3s ease;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.product-card img { width: 100%; height: 250px; object-fit: cover; background: #f4eef1; }
.badge-custom {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary-dark);
  color: var(--white);
  padding: .4rem .7rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  z-index: 2;
}
.badge-custom.sale { background: #111; }
.wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.86);
  z-index: 2;
}
.wishlist.active { color: var(--primary); }
.product-info { padding: 1.2rem; }
.product-info small { color: #e0a21b; font-weight: 600; }
.product-info h3 { font-size: 1.05rem; margin: .45rem 0; font-weight: 700; }
.product-info p { color: var(--muted); font-size: .86rem; min-height: 42px; }
.product-info strong { display: block; font-size: 1.35rem; color: var(--primary-dark); }
.product-info span { display: block; color: var(--muted); font-size: .82rem; margin-bottom: .9rem; }
.btn-add {
  width: 100%;
  border: 0;
  background: var(--dark);
  color: var(--white);
  border-radius: 999px;
  padding: .8rem;
  font-weight: 700;
  transition: .25s ease;
}
.btn-add:hover { background: var(--primary); }

.promo-banner {
  padding: 100px 0;
  background:
    linear-gradient(90deg, rgba(33,20,26,.88), rgba(127,47,73,.72)),
    url('https://images.unsplash.com/photo-1522335789203-aabd1fc54bc9?auto=format&fit=crop&w=1600&q=85') center/cover fixed;
  color: var(--white);
}
.promo-content { max-width: 650px; }
.promo-content span { color: var(--secondary); }
.promo-content h2 { font-size: clamp(2rem, 4vw, 3.8rem); }
.promo-content p { color: rgba(255,255,255,.84); line-height: 1.8; }
.btn-light-custom { background: var(--white); color: var(--primary-dark); }
.btn-light-custom:hover { background: var(--secondary); color: var(--primary-dark); }
.launch-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.launch-grid div {
  padding: 2rem;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 24px;
  font-weight: 700;
  color: var(--primary-dark);
}
.need-card { text-align: center; padding: 2rem 1.4rem; transition: .25s ease; }
.need-card:hover { transform: translateY(-6px); }
.testimonial-card p { color: var(--muted); line-height: 1.8; margin: 1rem 0; }
.testimonial-card div { color: #e0a21b; }

.newsletter-section { padding: 80px 0; }
.newsletter-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  border-radius: 34px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow);
}
.newsletter-box span { color: var(--secondary); }
.newsletter-box p { color: rgba(255,255,255,.82); }
.newsletter-form { display: flex; gap: .8rem; background: var(--white); padding: .6rem; border-radius: 999px; }
.newsletter-form input { flex: 1; border: 0; outline: 0; padding: 0 1rem; min-width: 0; }
.newsletter-form button { border: 0; background: var(--dark); color: var(--white); border-radius: 999px; padding: .9rem 1.2rem; font-weight: 700; }

.footer { background: #160d11; color: rgba(255,255,255,.76); padding: 70px 0 24px; }
.footer .brand { color: var(--white) !important; }
.footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 1rem; }
.footer a { display: block; color: rgba(255,255,255,.72); margin-bottom: .6rem; }
.footer a:hover { color: var(--secondary); }
.socials { display: flex; gap: .7rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); }
.footer-seals { display: flex; gap: .5rem; flex-wrap: wrap; }
.footer-seals span { border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: .45rem .7rem; font-size: .8rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.5rem; text-align: center; font-size: .85rem; }

.cart-items { min-height: 220px; }
.empty-cart { color: var(--muted); text-align: center; margin-top: 3rem; }
.cart-item { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.cart-item strong { display: block; font-size: .95rem; }
.cart-item span { color: var(--muted); font-size: .85rem; }
.remove-item { border: 0; background: transparent; color: var(--primary); }
.cart-total { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 1rem; margin-top: 1rem; }
.checkout-btn { width: 100%; border: 0; margin-top: 1rem; background: var(--primary); color: var(--white); padding: 1rem; border-radius: 999px; font-weight: 700; }
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--primary);
  color: var(--white);
  display: none;
  box-shadow: var(--shadow);
  z-index: 20;
}
.back-to-top.show { display: grid; place-items: center; }

@media (max-width: 1199px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .hero-section { padding: 60px 0; }
  .hero-card img { height: 460px; }
  .newsletter-box { grid-template-columns: 1fr; padding: 2rem; }
}
@media (max-width: 767px) {
  .topbar { font-size: .72rem; padding-inline: .8rem; }
  .navbar { min-height: 70px; }
  .brand { font-size: 1.55rem; }
  .hero-section h1 { font-size: 2.45rem; }
  .hero-card { border-radius: 24px; transform: none; }
  .hero-card img { height: 360px; }
  .section-padding { padding: 60px 0; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card { min-height: 180px; border-radius: 22px; }
  .product-card img { height: 185px; }
  .product-info { padding: .9rem; }
  .product-info h3 { font-size: .92rem; }
  .product-info p { display: none; }
  .product-info strong { font-size: 1.08rem; }
  .launch-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; border-radius: 24px; }
  .newsletter-form input { padding: .85rem 1rem; }
  .promo-banner { background-attachment: scroll; }
}
@media (max-width: 420px) {
  .category-grid { gap: .7rem; }
  .hero-buttons .btn { width: 100%; }
}
