:root {
  --black: #121011;
  --ink: #21191d;
  --muted: #74686f;
  --pink: #e7638e;
  --pink-soft: #fff0f6;
  --pink-mid: #f7c7d7;
  --gold: #c79a55;
  --gold-soft: #f7ead2;
  --line: #efe1e6;
  --paper: #fffafc;
  --white: #fff;
  --shadow: 0 22px 60px rgba(91, 43, 59, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
button, input, textarea { font: inherit; }
img { max-width: 100%; }

.topline {
  padding: 10px 18px;
  color: #fff;
  background: var(--black);
  text-align: center;
  font-size: .84rem;
  font-weight: 850;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(255, 250, 252, .93);
  border-bottom: 1px solid rgba(199, 154, 85, .24);
  backdrop-filter: blur(18px);
}

.logo {
  text-decoration: none;
  line-height: .9;
}
.logo strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 500;
  letter-spacing: .14em;
}
.logo span {
  display: block;
  margin-top: 9px;
  font-size: .72rem;
  letter-spacing: .43em;
  font-weight: 850;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2.2vw, 32px);
  overflow-x: auto;
}
.nav a {
  position: relative;
  padding: 10px 0;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 850;
}
.nav a:hover, .nav a.active { color: var(--pink); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--pink);
}

.actions { display: flex; align-items: center; gap: 12px; }
.icon-button {
  position: relative;
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease;
}
.icon-button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(91, 43, 59, .1); }
.icon-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cart-count {
  position: absolute;
  top: -5px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--pink);
  font-size: .72rem;
  font-weight: 950;
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(310px, .86fr) minmax(420px, 1.14fr);
  align-items: center;
  gap: clamp(30px, 6vw, 82px);
  padding: clamp(48px, 7vw, 92px) clamp(18px, 6vw, 92px);
  background:
    radial-gradient(circle at 88% 10%, rgba(231, 99, 142, .24), transparent 28%),
    linear-gradient(110deg, #fff 0%, #fff4f8 47%, #f0a5ba 100%);
  overflow: hidden;
}
.hero-copy { max-width: 620px; animation: rise .7s ease both; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--pink);
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1, h2, h3 { letter-spacing: 0; }
h1 {
  margin: 0;
  font-size: clamp(3.1rem, 7vw, 6.4rem);
  line-height: .95;
}
h1 span { display: block; color: var(--pink); }
.hero-copy p:not(.eyebrow) {
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}
.hero-offer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(199, 154, 85, .45);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--gold);
  font-weight: 950;
}
.hero-image {
  min-height: 480px;
  border-radius: 28px;
  overflow: hidden;
  background: #ffe2eb;
  box-shadow: var(--shadow);
}
.hero-collage {
  position: relative;
  animation: floatIn .8s ease both;
  background:
    radial-gradient(circle at 70% 26%, rgba(255, 255, 255, .95), transparent 22%),
    linear-gradient(140deg, #fff7fa 0%, #ffdce7 54%, #e98aa6 100%);
}
.hero-collage::after {
  content: "";
  position: absolute;
  left: 9%;
  right: 7%;
  bottom: -46px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f8c9d8, #eaa1b8);
}
.hero-product {
  position: absolute;
  z-index: 2;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 18px;
  box-shadow: 0 22px 42px rgba(84, 40, 50, .18);
  transition: transform .35s ease;
}
.hero-collage:hover .hero-product { transform: translateY(-6px) rotate(.5deg); }
.hero-product-main { left: 7%; bottom: 48px; max-width: 28%; max-height: 72%; }
.hero-product-side { left: 34%; bottom: 50px; max-width: 24%; max-height: 68%; }
.hero-product-flat { right: 6%; bottom: 48px; max-width: 30%; max-height: 58%; }
.hero-product-tall { right: 20%; top: 34px; max-width: 26%; max-height: 48%; }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn, .small-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 10px;
  padding: 0 18px;
  color: #fff;
  background: var(--black);
  text-decoration: none;
  font-weight: 950;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.btn:hover, .small-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(91, 43, 59, .16); }
.btn.gold { background: var(--gold); }
.btn.pink, .small-btn.whatsapp { background: #25d366; }
.btn.ghost, .small-btn.ghost { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.small-btn { min-height: 40px; padding: 0 12px; font-size: .88rem; text-align: center; }

.section { padding: clamp(42px, 6vw, 78px) clamp(18px, 5vw, 72px); }
.section.alt { background: #fff; }
.section-head {
  max-width: 1220px;
  margin: 0 auto 28px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
}
.section-head h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); }
.section-head p { margin: 0; max-width: 460px; color: var(--muted); line-height: 1.6; }

.category-grid, .product-grid, .review-grid, .instagram-grid {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}
.category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.instagram-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.category-card {
  overflow: hidden;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(91, 43, 59, .08);
  transition: transform .28s ease, box-shadow .28s ease;
}
.category-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.category-card img { width: 100%; height: 205px; object-fit: cover; display: block; background: var(--pink-soft); }
.category-card div { padding: 18px; }
.category-card strong { display: block; font-size: 1.18rem; }
.category-card p { color: var(--muted); line-height: 1.45; }
.category-card span { color: var(--pink); font-weight: 950; }

.product-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(91, 43, 59, .09);
  transform-style: preserve-3d;
  transition: transform .28s ease, box-shadow .28s ease;
}
.product-card:hover { transform: translateY(-9px) rotateX(1.6deg); box-shadow: var(--shadow); }
.image-link { position: relative; height: 250px; display: grid; place-items: center; background: linear-gradient(145deg, #fff, #fff1f6); overflow: hidden; }
.product-card img { width: 100%; height: 100%; object-fit: contain; padding: 14px; display: block; transition: transform .35s ease; }
.product-card:hover img { transform: scale(1.05); }
.badge-stack { position: absolute; top: 12px; left: 12px; display: grid; gap: 6px; }
.badge-stack em { padding: 5px 9px; border-radius: 999px; color: #fff; background: var(--pink); font-size: .72rem; font-style: normal; font-weight: 950; }
.product-info { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 16px; background: #fff; }
.product-info h3 { margin: 0; font-size: 1.02rem; line-height: 1.35; }
.product-info h3 a { text-decoration: none; }
.product-info p { margin: 0; color: var(--muted); line-height: 1.5; font-size: .92rem; }
.meta-row { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .82rem; }
.stock-ok { color: #218251; font-weight: 900; }
.stock-out { color: #b22d4a; font-weight: 900; }
.rating { display: flex; align-items: center; gap: 8px; color: var(--gold); font-size: .92rem; }
.rating small { color: var(--muted); }
.price-line { display: flex; align-items: baseline; gap: 9px; margin-top: auto; }
.price-line strong, .price { color: var(--pink); font-size: 1.16rem; font-weight: 950; }
.old-price { color: var(--muted); text-decoration: line-through; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.shop-layout { max-width: 1220px; margin: 0 auto; display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 24px; }
.filters { position: sticky; top: 120px; align-self: start; border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: #fff; box-shadow: 0 12px 34px rgba(91,43,59,.07); }
.filters h2 { margin: 0 0 14px; font-size: 1.12rem; }
.filter-list { display: grid; gap: 8px; }
.filter-list a { padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 850; }
.filter-list a.active, .filter-list a:hover { color: var(--pink); background: var(--pink-soft); }
.shop-tools { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; }
.search { width: min(100%, 380px); height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; outline: none; background: #fff; }

.page-title { max-width: 1220px; margin: 0 auto 28px; }
.page-title h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); }
.page-title p { max-width: 650px; color: var(--muted); line-height: 1.7; }

.detail { max-width: 1220px; margin: 0 auto; display: grid; grid-template-columns: minmax(300px, .95fr) minmax(320px, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.gallery { display: grid; gap: 14px; }
.zoom-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.zoom-wrap img { width: 100%; aspect-ratio: 1 / .9; object-fit: contain; padding: 22px; display: block; transition: transform .28s ease; }
.zoom-wrap:hover img { transform: scale(1.12); }
.thumbs { display: flex; gap: 10px; overflow-x: auto; }
.thumbs button { width: 82px; height: 82px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; padding: 4px; }
.thumbs button.active { border-color: var(--pink); box-shadow: 0 0 0 3px var(--pink-soft); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.detail-info h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.detail-info p { color: var(--muted); line-height: 1.75; }
.detail-price strong { font-size: 1.8rem; }
.related { grid-column: 1 / -1; margin-top: 30px; }

.quantity-control { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.quantity-control button { width: 40px; height: 38px; border: 0; background: #fff; cursor: pointer; font-weight: 950; }
.quantity-control span { min-width: 36px; text-align: center; font-weight: 950; }

.cart-table, .checkout-card, .summary, .contact-card {
  max-width: 1220px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(91,43,59,.08);
}
.cart-item { display: grid; grid-template-columns: 94px 1fr auto; gap: 16px; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-item img { width: 94px; height: 94px; object-fit: contain; border-radius: 12px; background: var(--pink-soft); border: 1px solid var(--line); }
.cart-item h3 { margin: 0 0 6px; }
.cart-side { display: grid; justify-items: end; gap: 10px; }
.remove-btn { border: 0; background: transparent; color: var(--muted); cursor: pointer; text-decoration: underline; font-weight: 850; }
.checkout-grid { max-width: 1220px; margin: 24px auto 0; display: grid; grid-template-columns: 1fr 370px; gap: 22px; }
.checkout-card, .summary, .contact-card { padding: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-grid label, .contact-card label { display: grid; gap: 7px; color: var(--muted); font-weight: 850; }
.form-grid input, .contact-card input, .contact-card textarea { min-height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 0 13px; outline: none; background: #fff; }
.contact-card textarea { min-height: 130px; padding-top: 12px; resize: vertical; }
.full { grid-column: 1 / -1; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.summary-row.total { padding-top: 14px; border-top: 1px solid var(--line); font-weight: 950; font-size: 1.2rem; }
.coupon-form { display: flex; gap: 8px; margin: 16px 0; }
.coupon-form input { min-width: 0; flex: 1; height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; }
.coupon-note { color: var(--muted); font-size: .9rem; }

.review-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 12px 34px rgba(91,43,59,.07); }
.review-card p { color: var(--muted); line-height: 1.65; }
.review-card small { display: block; color: var(--gold); margin-top: 4px; font-weight: 850; }
.instagram-tile { overflow: hidden; aspect-ratio: 1; border-radius: 16px; background: var(--pink-soft); }
.instagram-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.instagram-tile:hover img { transform: scale(1.08); }
.newsletter { max-width: 980px; margin: 0 auto; padding: clamp(30px, 5vw, 54px); border-radius: 28px; background: linear-gradient(135deg, var(--black), #4a2634); color: #fff; text-align: center; box-shadow: var(--shadow); }
.newsletter h2 { margin: 0 0 10px; font-size: clamp(2rem, 4vw, 3.3rem); }
.newsletter p { color: rgba(255,255,255,.78); }
.newsletter form { display: flex; gap: 10px; max-width: 560px; margin: 22px auto 0; }
.newsletter input { flex: 1; min-width: 0; height: 50px; border: 0; border-radius: 12px; padding: 0 14px; }

.footer { padding: 42px clamp(18px, 5vw, 72px); color: #fff; background: var(--black); }
.footer-grid { max-width: 1220px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 28px; }
.footer a { display: block; color: rgba(255,255,255,.74); text-decoration: none; margin: 8px 0; }
.footer p { color: rgba(255,255,255,.72); line-height: 1.7; }
.socials { display: flex; gap: 10px; }
.socials a { min-width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }

.empty { padding: 44px; color: var(--muted); text-align: center; border: 1px dashed var(--line); border-radius: 18px; background: #fff; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translateX(-50%) translateY(18px); opacity: 0; pointer-events: none; padding: 12px 16px; border-radius: 999px; color: #fff; background: var(--black); font-weight: 950; transition: .2s ease; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.reveal { animation: rise .6s ease both; animation-delay: var(--delay, 0ms); }

@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatIn { from { opacity: 0; transform: translateY(22px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: 1fr; }
  .nav, .actions { justify-content: flex-start; }
  .hero, .detail, .checkout-grid, .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .instagram-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .hero { min-height: auto; padding-top: 34px; }
  .hero-image { min-height: 340px; }
  .product-grid, .category-grid, .review-grid, .instagram-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .section-head, .shop-tools, .newsletter form { align-items: stretch; flex-direction: column; }
  .cart-item { grid-template-columns: 74px 1fr; }
  .cart-side { grid-column: 1 / -1; justify-items: start; }
  .card-actions { grid-template-columns: 1fr; }
  .hero-product-main { max-width: 35%; }
  .hero-product-side { left: 31%; max-width: 29%; }
  .hero-product-flat { max-width: 38%; }
  .hero-product-tall { top: 20px; right: 17%; max-width: 30%; }
}
