:root {
  --sand-1: #f0e8db;
  --sand-2: #e5d6c1;
  --ink: #17130f;
  --ink-soft: #6f6255;
  --line: #d2c2ac;
  --panel: rgba(255, 251, 243, 0.82);
  --wine: #6f1f34;
  --blue: #1b344b;
  --earth: #6d4a24;
  --heart: #c91f25;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 18% 0%, #faf4eb 0%, var(--sand-1) 40%, var(--sand-2) 100%);
}

.container {
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero-showcase {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  object-fit: cover;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.62));
}

.hero-promo {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 1rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.5rem;
  background: rgba(36, 35, 33, 0.85);
}

.hero-promo > span:nth-child(2) {
  font-size: 1rem;
}

.promo-arrow {
  font-size: 1.5rem;
  opacity: 0.85;
}

.hero-nav {
  position: absolute;
  inset: 2.2rem 0 auto 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: top 0.28s ease, background-color 0.28s ease, padding 0.28s ease, box-shadow 0.28s ease;
}

.hero-brand {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  letter-spacing: 0.13em;
}

.cardon-brand {
  font-family: 'Cinzel', serif;
  font-weight: 700;
}

.brand-script {
  font-family: 'Allura', cursive;
  display: inline-block;
}

.brand-heart {
  color: var(--heart);
  font-size: 1rem;
  margin-left: 0.12rem;
  vertical-align: top;
}

.hero-actions {
  position: absolute;
  right: 0;
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.hero-actions a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.icon-btn {
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.bag-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.bag-btn span {
  font-size: 0.7rem;
  transform: translateY(-8px);
}

.menu-icon {
  font-size: 1.9rem;
}

.cart-button {
  display: none;
}

.hero-side-links {
  position: absolute;
  right: 2.2rem;
  top: 6.7rem;
  z-index: 3;
  display: grid;
  gap: 0.7rem;
}

.hero-side-links a {
  color: #fff;
  text-decoration: none;
  font-size: 2.05rem;
  font-weight: 500;
}

.hero-copy {
  position: absolute;
  inset: auto 0 5.4rem 0;
  z-index: 3;
  color: #fff;
  text-align: center;
  letter-spacing: 0.1em;
}

.hero-copy h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(3.1rem, 6vw, 5.2rem);
  font-weight: 400;
}

.hero-copy p {
  margin: 0.18rem 0;
  font-size: clamp(1.05rem, 1.6vw, 2rem);
}

.hero-cta-row {
  margin-top: 2.7rem;
  display: inline-flex;
  gap: 4rem;
}

.hero-cta-row a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  padding-bottom: 0.2rem;
  font-size: 2rem;
}

.scroll-hint {
  display: none;
}

body.nav-stuck .hero-nav {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  background: rgba(20, 18, 15, 0.88);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
}

body.nav-stuck .hero-brand {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
}

.story {
  padding: 0.75rem 0;
}

.story-panel {
  min-height: 78vh;
  margin: 1rem auto;
  width: min(1220px, calc(100% - 2rem));
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 40px rgba(20, 16, 10, 0.16);
}

.story-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.58));
}

.story-panel > div {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 620px;
  padding: 2rem;
}

.panel-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 800;
}

.story-panel h2 {
  margin: 0.45rem 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.story-panel p {
  margin: 0;
}

.panel-1 {
  background: url('https://images.unsplash.com/photo-1445205170230-053b83016050?auto=format&fit=crop&w=1900&q=80') center/cover;
}

.panel-2 {
  background: url('https://images.unsplash.com/photo-1523381210434-271e8be1f52b?auto=format&fit=crop&w=1900&q=80') center/cover;
}

main {
  padding: 1.1rem 0 4rem;
}

.quick-cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.cat {
  min-height: 94px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #fff;
  font-size: clamp(1rem, 2.2vw, 1.22rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.cat-mujer { background: linear-gradient(130deg, #64142a, #a63856); }
.cat-hombre { background: linear-gradient(130deg, #173247, #2f5f85); }
.cat-acc { background: linear-gradient(130deg, #4f3516, #7f5c30); }

.style-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.style-ribbon article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem;
  background: rgba(255, 250, 242, 0.72);
}

.style-ribbon p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.style-ribbon h3 {
  margin: 0.28rem 0 0;
}

.products-section {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  background: var(--panel);
}

.section-head h2 {
  margin: 0;
}

.section-head p {
  margin: 0.25rem 0 1rem;
  color: var(--ink-soft);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.filters button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.42rem 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.filters .active {
  background: #14110d;
  border-color: #14110d;
  color: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(20, 16, 10, 0.12);
}

.card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.card-body { padding: 0.8rem; }
.card h3 { margin: 0; font-size: 0.98rem; }

.card small {
  color: var(--ink-soft);
  text-transform: uppercase;
  font-size: 0.67rem;
  font-weight: 800;
}

.price-row {
  margin-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-row button {
  border: 0;
  background: #7d5830;
  color: #fff;
  border-radius: 999px;
  padding: 0.42rem 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 40;
}

.cart-drawer {
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  width: min(420px, 100%);
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.25s;
  z-index: 50;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-left: 1px solid var(--line);
}

.cart-drawer.open { transform: translateX(0); }
.overlay.show { opacity: 1; pointer-events: auto; }

.cart-header,
.cart-footer {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.34rem 0.7rem;
  cursor: pointer;
}

.cart-items {
  overflow-y: auto;
  padding: 0.8rem 1rem;
  display: grid;
  gap: 0.65rem;
}

.cart-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.55rem;
  align-items: center;
}

.cart-item img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
}

.qty-controls {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.qty-controls button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  width: 26px;
  height: 26px;
  cursor: pointer;
}

.total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.checkout-btn {
  width: 100%;
  border: 0;
  background: #16120f;
  color: #fff;
  font-weight: 800;
  border-radius: 12px;
  padding: 0.8rem;
  cursor: pointer;
}

.site-footer {
  margin: 2rem auto 0;
  width: min(1220px, calc(100% - 2rem));
  border-top: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(15, 14, 12, 0.97), rgba(26, 21, 16, 0.96));
  color: #f4efe4;
  border-radius: 20px 20px 0 0;
  padding: 1.2rem 1.3rem 1.4rem;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1rem;
}

.brand { display: grid; line-height: 1; }
.brand-line { display: inline-flex; align-items: flex-start; }

.brand-sub {
  margin-top: -0.16rem;
  font-size: 0.57rem;
  letter-spacing: 0.4em;
  font-weight: 800;
}

.site-footer .brand-script { color: #fff; font-size: 2.1rem; }
.site-footer .brand-sub { color: #d9c8ae; }
.footer-handle { margin: 0.55rem 0 0; font-weight: 700; color: #d9c8ae; }
.footer-meta { margin: 0.25rem 0 0; color: #c9b89d; font-size: 0.9rem; }
.footer-info p { margin: 0 0 0.35rem; }

.footer-info a {
  color: #f4efe4;
  font-weight: 700;
  text-decoration: underline;
}

.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #2dc84d;
  color: #fff;
  text-decoration: none;
  font-size: 1.4rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
  z-index: 35;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-nav { width: calc(100% - 2rem); }
  .hero-brand { font-size: 2.2rem; }
  .hero-side-links { right: 1rem; top: 8.5rem; }
  .hero-side-links a { font-size: 1.15rem; }
  .hero-copy { bottom: 4.8rem; }
  .hero-cta-row { gap: 1.4rem; }
  .story-panel { min-height: 64vh; }
  .quick-cats,
  .style-ribbon,
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .hero-promo { font-size: 0.72rem; }
  .hero-nav {
    inset: 2.2rem 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .hero-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero-side-links {
    position: static;
    margin: 7.8rem 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .hero-side-links a {
    background: rgba(0, 0, 0, 0.36);
    padding: 0.32rem 0.6rem;
    border-radius: 999px;
    font-size: 0.86rem;
  }

  .hero-copy {
    bottom: 2.9rem;
    letter-spacing: 0.08em;
    padding: 0 1rem;
  }

  .hero-cta-row a { font-size: 1rem; }
  .scroll-hint { bottom: 0.7rem; }
  .story-panel > div { padding: 1.3rem; }

  body.nav-stuck .hero-nav {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

  body.nav-stuck .hero-brand {
    font-size: 1.8rem;
  }
}
