:root {
  --bg: #ffffff;
  --cream: #f6f1e9;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e7e3dc;
  --gold: #8a6d3b;
  --dark: #1c1b1a;
  --blue: #0b1f4a;
  --cyan: #19e0e8;
  --link: #0a7bb5;
  --radius: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.muted { color: var(--muted); font-size: .85rem; }
[hidden] { display: none !important; }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.header__top { display: flex; align-items: center; gap: 24px; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.logo__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--dark); color: #e7d3a7; font-family: "Playfair Display", serif; font-size: .9rem; }
.logo__text b { font-weight: 600; color: var(--gold); }
.search { flex: 1; }
.search input { width: 100%; padding: 11px 16px; border: 0; border-radius: 8px; background: #f1f1f1; font: inherit; font-size: .9rem; outline: 2px solid transparent; }
.search input:focus { outline-color: var(--gold); background: #fff; }
.header__actions { display: flex; align-items: center; gap: 20px; font-size: .85rem; color: #444; }
.action { white-space: nowrap; }
.count { font-size: .7rem; color: var(--gold); }
.cart-btn { display: flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--dark); color: #fff; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.cart-btn__count { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #e7d3a7; color: var(--dark); font-size: .7rem; }
.nav { background: #fbf8f2; border-top: 1px solid var(--line); }
.nav__list { display: flex; justify-content: center; gap: 36px; padding: 13px 0; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.nav__list a:hover { color: var(--gold); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; margin-top: 24px; background: linear-gradient(100deg, #f1ebe0, #ece4d6); border-radius: 14px; overflow: hidden; min-height: 300px; }
.hero__text { padding: 40px 48px; }
.hero h1 { font-family: "Playfair Display", serif; font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.4rem); color: #6e5a3a; line-height: 1.1; margin-bottom: 14px; }
.hero p { color: #555; max-width: 380px; margin-bottom: 24px; font-size: .95rem; }
.hero__visual { position: relative; height: 100%; min-height: 280px; display: grid; place-items: center; }
.hero__img { width: 56%; aspect-ratio: 1.5; display: grid; place-items: center; font-family: "Playfair Display", serif; font-size: 3rem; color: #b8912f; border-radius: 12px; background: radial-gradient(circle at 30% 30%, #fff8dc, #d8b45a); box-shadow: 0 20px 40px rgba(0,0,0,.15); }
.hero__tag { position: absolute; right: 22px; bottom: 16px; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6e5a3a; }

/* Buttons */
.btn { display: inline-block; padding: 14px 28px; border-radius: 6px; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: transform .15s, opacity .15s; }
.btn:hover { transform: translateY(-1px); opacity: .92; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--cyan { background: var(--cyan); color: var(--blue); border-radius: 999px; padding: 12px 24px; }
.btn--full { width: 100%; }

/* Sections */
.section { margin-top: 44px; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 18px; }
.section h2 { font-family: "Playfair Display", serif; font-weight: 500; font-size: 1.7rem; }
.link { color: var(--link); font-size: .8rem; font-weight: 600; }

/* Grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; padding: 8px 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.08); transform: translateY(-2px); }
.card__media { position: relative; aspect-ratio: 1 / .75; border-radius: 8px; background: #e9ebe8; display: grid; place-items: center; overflow: hidden; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.card__ph { width: 44%; height: 86%; border-radius: 4px; display: grid; place-items: center; text-align: center; padding: 8px; color: #fff; font-family: "Playfair Display", serif; font-size: .8rem; box-shadow: 0 8px 18px rgba(0,0,0,.25); }
.badge { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 3px 8px; border-radius: 4px; background: var(--dark); color: #fff; font-size: .68rem; font-weight: 800; }
.card__body { padding: 12px 8px 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card__row { display: flex; justify-content: space-between; align-items: center; }
.card__cat { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.fav { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); font-size: .85rem; color: #777; transition: .15s; }
.fav.is-on { color: #d11a4a; border-color: #d11a4a; }
.card__code { font-size: .68rem; color: var(--muted); }
.card__name { font-family: "Playfair Display", serif; font-size: 1rem; line-height: 1.25; flex: 1; }
.price { margin-top: 6px; display: flex; align-items: baseline; gap: 8px; }
.price b { font-size: 1.15rem; font-weight: 800; }
.price s { font-size: .72rem; color: #999; }
.add { margin-top: 10px; padding: 11px; border: 1px solid #bdb6a8; border-radius: 6px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: .15s; }
.add:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.empty { text-align: center; padding: 40px 0; color: var(--muted); }

/* Banner */
.banner { margin-top: 44px; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 34px 40px; border-radius: 14px; color: #fff; background: radial-gradient(circle at 85% 20%, #1b3a80 0, transparent 40%), var(--blue); }
.banner h2 { font-family: "Inter", sans-serif; font-weight: 800; font-size: clamp(1.4rem, 3vw, 2rem); }
.banner p { opacity: .85; font-size: .9rem; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: .15s; }
.chip:hover { border-color: var(--dark); }
.chip.is-active { background: var(--dark); color: #fff; border-color: var(--dark); }

/* Perks */
.perks { list-style: none; margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); }
.perks li { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-right: 1px solid var(--line); }
.perks li:last-child { border-right: 0; }
.perk__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e6f0fb; color: #3b82c4; flex-shrink: 0; }
.perks b { display: block; font-size: .78rem; }
.perks small { color: var(--muted); font-size: .7rem; }

/* Newsletter */
.newsletter { margin-top: 56px; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px 36px; border-radius: 12px; background: #ece5d8; }
.newsletter h2 { font-family: "Playfair Display", serif; font-weight: 500; font-size: 1.5rem; }
.newsletter__form { display: flex; gap: 10px; }
.newsletter input { width: 260px; padding: 13px 14px; border: 1px solid #d8d0c0; border-radius: 6px; font: inherit; font-size: .85rem; }

/* Footer */
.footer { margin-top: 56px; border-top: 1px solid var(--line); padding: 22px 0 32px; font-size: .78rem; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Drawer carrito */
.overlay { position: fixed; inset: 0; z-index: 30; background: rgba(0,0,0,.45); }
.drawer { position: fixed; top: 0; right: 0; z-index: 40; width: min(400px, 100%); height: 100%; display: flex; flex-direction: column; background: #fff; transform: translateX(100%); transition: transform .3s ease; box-shadow: -8px 0 30px rgba(0,0,0,.15); }
.drawer.is-open { transform: none; }
.drawer__head, .drawer__foot { padding: 18px 22px; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer__foot { border-top: 1px solid var(--line); }
.total { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 1.05rem; }
.item { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
.item__name { font-family: "Playfair Display", serif; }
.qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty button { width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 4px; }
.item__price { font-weight: 700; text-align: right; }
.item__rm { color: #b00; font-size: .72rem; text-align: right; }
.cart-empty { text-align: center; color: var(--muted); padding: 48px 0; }

/* Responsive */
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .perks li:nth-child(2) { border-right: 0; }
  .perks li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr; }
  .hero__visual { min-height: 200px; }
  .newsletter, .banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .header__top { flex-wrap: wrap; gap: 12px; }
  .search { order: 3; flex-basis: 100%; }
  .header__actions { margin-left: auto; gap: 12px; }
  .action { display: none; }
  .nav__list { gap: 18px; overflow-x: auto; justify-content: flex-start; }
  .grid { gap: 10px; }
  .hero__text { padding: 28px 24px; }
  .newsletter__form { flex-direction: column; width: 100%; }
  .newsletter input { width: 100%; }
}

/* Cinta en movimiento */
.ticker { background: var(--dark); color: #fff; overflow: hidden; white-space: nowrap; }
.ticker__track { display: inline-flex; animation: ticker 38s linear infinite; will-change: transform; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: inline-flex; align-items: center; flex-shrink: 0; }
.ticker .t { padding: 16px 30px; font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.ticker i { color: #e0bd7a; font-style: normal; font-size: .8rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Carrusel de fragancias en el hero */
.hero__visual { min-height: 300px; }
.spot { position: relative; height: 250px; aspect-ratio: 4 / 4.5; animation: float 5.5s ease-in-out infinite; }
.spot::before { content: ""; position: absolute; inset: -34px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(216,180,90,.55), transparent 66%); animation: glow 4s ease-in-out infinite; }
.spot__slide { position: absolute; inset: 0; border-radius: 12px; overflow: hidden; opacity: 0; transform: scale(.9) rotate(-4deg); transition: opacity .9s ease, transform 1.1s cubic-bezier(.2,.8,.2,1); box-shadow: 0 22px 44px rgba(0,0,0,.28); background: #e9ebe8; }
.spot__slide.is-on { opacity: 1; transform: scale(1) rotate(0); }
.spot__slide img { width: 100%; height: 100%; object-fit: cover; }
.spot__slide.is-on img { animation: kenburns 6s ease-in-out infinite alternate; }
.spot__ph { width: 100%; height: 100%; display: grid; place-items: center; padding: 16px; text-align: center; color: #fff; font-family: "Playfair Display", serif; font-size: 1.1rem; }
.hero__tag b { font-weight: 800; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-14px) rotate(1.6deg); } }
@keyframes glow { 0%, 100% { opacity: .55; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
@media (max-width: 980px) { .spot { height: 220px; } }
@media (prefers-reduced-motion: reduce) {
  .ticker__track, .spot, .spot::before, .spot__slide.is-on img { animation: none; }
}
.hero__visual { padding-bottom: 30px; }
.spot { height: 232px; }
.hero__tag { z-index: 2; }
@media (max-width: 980px) { .spot { height: 210px; } }
