/* =========================================================
   LUREA — Hoja de estilos
   Paleta: Ebony Black #111111 · Warm Ivory #F6F3EE
           Stone Sand #D8D0C5 · Leather Brown #5A3B2A
   Tipografía: Playfair Display (editorial serif) + Jost (sans)
   ========================================================= */

:root {
  --ebony: #111111;
  --ivory: #F6F3EE;
  --sand: #D8D0C5;
  --brown: #5A3B2A;
  --white: #ffffff;
  --line: rgba(17, 17, 17, 0.12);
  --serif: "Playfair Display", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1400px;
  --header-h: 80px;
  --announce-h: 40px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ebony);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: var(--sans); cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.serif { font-family: var(--serif); }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown);
  font-weight: 500;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Announcement bar ---------- */
.announce {
  height: var(--announce-h);
  background: var(--ebony);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 100%;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.header-left, .header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-right { justify-content: flex-end; }

.icon-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
}

.icon-btn svg { width: 19px; height: 19px; stroke: var(--ebony); }

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--brown);
  color: var(--ivory);
  font-size: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.menu-toggle span { display: block; height: 1.5px; background: var(--ebony); width: 100%; }

.logo-word {
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: 0.14em;
  text-align: center;
  font-weight: 600;
}

.nav-links { display: none; }

@media (min-width: 960px) {
  .nav-links {
    display: flex;
    gap: 26px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .nav-links a { padding: 6px 0; border-bottom: 1px solid transparent; }
  .nav-links a:hover, .nav-links a.active { border-color: var(--ebony); }
}

/* ---------- Side nav (mobile / full menu) ---------- */
.side-nav {
  position: fixed;
  inset: 0;
  z-index: 900;
  visibility: hidden;
}
.side-nav.open { visibility: visible; }

.side-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,0.4);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.side-nav.open .side-nav-backdrop { opacity: 1; }

.side-nav-panel {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: min(360px, 86vw);
  background: var(--ivory);
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  padding: 100px 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.side-nav.open .side-nav-panel { transform: translateX(0); }

.side-nav-panel a {
  font-family: var(--serif);
  font-size: 26px;
}

.side-nav-close {
  position: absolute;
  top: 32px; left: 36px;
  font-size: 28px;
  line-height: 1;
}

.side-nav-sub {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 4px;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--brown);
}

/* ---------- Views ---------- */
.view { display: none; }
.view.active { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(160deg, var(--ebony) 0%, var(--brown) 100%);
  color: var(--ivory);
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .placeholder-block { position: absolute; inset: 0; }

.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0.05) 0%, rgba(17,17,17,0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 40px 70px;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}

.hero-content .eyebrow { color: var(--sand); }

.hero-title {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 92px);
  line-height: 1.02;
  margin: 14px 0 20px;
  letter-spacing: 0.01em;
}

.hero-sub {
  font-size: 15px;
  max-width: 460px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(246,243,238,0.85);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn-light { color: var(--ivory); }
.btn-light:hover { background: var(--ivory); color: var(--ebony); }

.btn-dark { color: var(--ebony); }
.btn-dark:hover { background: var(--ebony); color: var(--ivory); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Manifesto ---------- */
.manifesto {
  padding: 120px 40px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.manifesto p {
  font-family: var(--serif);
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.manifesto span { color: var(--brown); }

/* ---------- About teaser ---------- */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 860px) {
  .about-teaser { grid-template-columns: 1fr 1fr; }
}
.about-teaser .media { min-height: 420px; }
.about-teaser .copy {
  padding: 70px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--sand);
}
.about-teaser h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 42px);
  margin: 14px 0 20px;
  line-height: 1.2;
}
.about-teaser p { line-height: 1.75; margin-bottom: 26px; max-width: 460px; color: #2c2c2c; }

/* ---------- Section heading ---------- */
.section-head {
  padding: 90px 40px 40px;
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 48px);
  margin-top: 12px;
}
.section-head p { max-width: 520px; margin: 16px auto 0; color: #4a4a4a; line-height: 1.6; }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--line);
  max-width: var(--maxw);
  margin: 0 auto 100px;
  padding: 0 2px;
}
@media (min-width: 720px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-align: left;
}

.product-media {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--sand);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-media img { transform: scale(1.045); }

.product-add {
  position: absolute;
  bottom: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 2px 10px rgba(17,17,17,0.18);
  transition: transform 0.25s ease;
}
.product-card:hover .product-add { transform: scale(1.08); }

.product-info { padding: 16px 4px 30px; }
.product-info .cat {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 6px;
  display: block;
}
.product-info .name { font-size: 15px; margin-bottom: 6px; line-height: 1.4; }
.product-info .price { font-size: 14px; font-weight: 500; }
.product-info .price .old { text-decoration: line-through; color: #999; font-weight: 400; margin-right: 8px; }

/* ---------- Placeholder artwork (used when no real photo yet) ---------- */
.placeholder-block {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(150deg, var(--sand) 0%, var(--brown) 130%);
  color: var(--ivory);
  text-align: center;
  padding: 20px;
}
.placeholder-block .mark { font-family: var(--serif); font-size: 15px; letter-spacing: 0.08em; opacity: 0.9; }
.placeholder-block .sub { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }

/* ---------- Category split ---------- */
.category-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  margin-bottom: 100px;
}
@media (min-width: 760px) { .category-split { grid-template-columns: 1fr 1fr; } }

.category-tile {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  padding: 34px;
  color: var(--ivory);
  overflow: hidden;
}
.category-tile .placeholder-block { position: absolute; inset: 0; }
.category-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0) 40%, rgba(17,17,17,0.65) 100%);
}
.category-tile-content { position: relative; z-index: 2; }
.category-tile h3 { font-family: var(--serif); font-size: 30px; margin-bottom: 10px; }
.category-tile a { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; border-bottom: 1px solid var(--ivory); padding-bottom: 3px; }

/* ---------- Shop toolbar ---------- */
.shop-hero {
  padding: 70px 40px 30px;
  text-align: center;
}
.shop-hero h1 { font-family: var(--serif); font-size: clamp(34px, 5vw, 56px); }
.shop-hero p { color: #4a4a4a; margin-top: 12px; }

.shop-toolbar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-tab {
  padding: 9px 18px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--ebony);
  border-radius: 30px;
  transition: background 0.2s ease, color 0.2s ease;
}
.filter-tab.active, .filter-tab:hover { background: var(--ebony); color: var(--ivory); }

.search-wrap { display: flex; align-items: center; gap: 8px; }
.search-wrap input {
  border: none;
  border-bottom: 1px solid var(--ebony);
  background: transparent;
  padding: 6px 4px;
  font-size: 13px;
  font-family: var(--sans);
  min-width: 180px;
}
.search-wrap input:focus { outline: none; }

.shop-grid-wrap { padding-top: 40px; }
.empty-state { text-align: center; padding: 80px 20px; color: #666; }

/* ---------- Product modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(17,17,17,0.5);
  z-index: 950;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease;
}
.modal-backdrop.open { opacity: 1; visibility: visible; }

.product-modal {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(560px, 100vw);
  background: var(--ivory);
  z-index: 960;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  overflow-y: auto;
}
.product-modal.open { transform: translateX(0); }

.modal-close {
  position: absolute;
  top: 26px; right: 30px;
  font-size: 26px;
  z-index: 3;
}

.modal-media { aspect-ratio: 4/5; background: var(--sand); }
.modal-body { padding: 34px 40px 60px; }
.modal-body .cat { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brown); }
.modal-body h2 { font-family: var(--serif); font-size: 30px; margin: 10px 0 12px; }
.modal-body .price { font-size: 18px; margin-bottom: 24px; }
.modal-body .desc { line-height: 1.7; color: #333; margin-bottom: 30px; }

.option-group { margin-bottom: 26px; }
.option-label {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brown); margin-bottom: 12px; display: block;
}
.color-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.color-swatch {
  padding: 9px 16px;
  border: 1px solid var(--ebony);
  font-size: 12px;
  border-radius: 30px;
}
.color-swatch.selected { background: var(--ebony); color: var(--ivory); }

.qty-row { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--ebony); }
.qty-stepper button { width: 38px; height: 38px; font-size: 16px; }
.qty-stepper span { width: 36px; text-align: center; font-size: 14px; }

.modal-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Cart drawer ---------- */
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(420px, 100vw);
  background: var(--ivory);
  z-index: 970;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  padding: 30px 30px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.cart-header h2 { font-family: var(--serif); font-size: 22px; }

.cart-items { flex: 1; overflow-y: auto; padding: 10px 30px; }
.cart-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-item .thumb { width: 76px; height: 92px; flex-shrink: 0; background: var(--sand); }
.cart-item .thumb img, .cart-item .thumb .placeholder-block { width: 100%; height: 100%; object-fit: cover; }
.cart-item .thumb .placeholder-block .sub { display: none; }
.cart-item .thumb .placeholder-block .mark { font-size: 10px; }
.cart-item-info { flex: 1; }
.cart-item-info .name { font-size: 14px; margin-bottom: 4px; }
.cart-item-info .meta { font-size: 12px; color: #666; margin-bottom: 10px; }
.cart-item-info .row { display: flex; align-items: center; justify-content: space-between; }
.cart-item-info .qty-stepper button { width: 28px; height: 28px; font-size: 13px; }
.cart-item-info .qty-stepper span { width: 26px; font-size: 12px; }
.cart-item-info .price { font-size: 13px; }
.cart-item .remove { font-size: 11px; text-decoration: underline; color: #888; margin-top: 8px; display: inline-block; }

.cart-footer { padding: 24px 30px 34px; border-top: 1px solid var(--line); }
.cart-subtotal { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 6px; }
.cart-note { font-size: 12px; color: #666; margin-bottom: 18px; line-height: 1.5; }

/* ---------- About / Nosotros ---------- */
.page-hero {
  padding: 90px 40px 60px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.page-hero .eyebrow { display: block; margin-bottom: 14px; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(34px, 5vw, 58px); line-height: 1.15; }
.page-hero p { margin-top: 20px; line-height: 1.7; color: #3a3a3a; }

.split-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 2px;
}
@media (min-width: 860px) { .split-block { grid-template-columns: 1fr 1fr; } }
.split-block .media { min-height: 380px; }
.split-block.reverse .media { order: 2; }
.split-block .copy {
  padding: 60px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ivory);
}
.split-block .copy h3 { font-family: var(--serif); font-size: 30px; margin: 12px 0 18px; }
.split-block .copy p { line-height: 1.75; color: #333; }

.dna-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  margin: 2px 0 0;
}
@media (min-width: 760px) { .dna-strip { grid-template-columns: repeat(3, 1fr); } }
.dna-item {
  background: var(--ebony);
  color: var(--ivory);
  padding: 70px 40px;
  text-align: center;
}
.dna-item h4 { font-family: var(--serif); font-size: 26px; margin-bottom: 14px; letter-spacing: 0.03em; }
.dna-item p { font-size: 13px; color: var(--sand); line-height: 1.7; }

.tone-strip {
  padding: 90px 40px;
  text-align: center;
  background: var(--sand);
}
.tone-words {
  display: flex; flex-wrap: wrap; gap: 18px 40px;
  justify-content: center; margin-top: 26px;
}
.tone-words span { font-family: var(--serif); font-size: clamp(20px, 3vw, 30px); }

/* ---------- Contact ---------- */
.contact-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 80px 40px 120px;
  text-align: center;
}
.contact-wrap h1 { font-family: var(--serif); font-size: clamp(32px, 5vw, 50px); margin-bottom: 18px; }
.contact-wrap > p { color: #4a4a4a; margin-bottom: 50px; line-height: 1.7; }
.contact-cards { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-card {
  border: 1px solid var(--line);
  padding: 36px 28px;
  text-align: left;
}
.contact-card .eyebrow { display: block; margin-bottom: 10px; }
.contact-card h4 { font-family: var(--serif); font-size: 20px; margin-bottom: 12px; }
.contact-card p { font-size: 13px; color: #555; line-height: 1.6; margin-bottom: 18px; }

/* ---------- Newsletter + Footer ---------- */
.newsletter {
  background: var(--ebony);
  color: var(--ivory);
  padding: 90px 40px;
}
.newsletter-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.newsletter h3 { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.newsletter p { color: var(--sand); margin-bottom: 30px; font-size: 14px; }
.newsletter-form { display: flex; gap: 0; border-bottom: 1px solid var(--ivory); padding-bottom: 12px; }
.newsletter-form input {
  flex: 1; background: none; border: none; color: var(--ivory);
  font-family: var(--sans); font-size: 14px; padding: 6px;
}
.newsletter-form input::placeholder { color: rgba(246,243,238,0.5); }
.newsletter-form input:focus { outline: none; }
.newsletter-form button { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }

.site-footer { background: var(--ebony); color: var(--sand); padding: 70px 40px 30px; }
.footer-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 46px;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-col h5 {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ivory); margin-bottom: 20px;
}
.footer-col a, .footer-col p { display: block; font-size: 13px; margin-bottom: 12px; color: var(--sand); }
.footer-col a:hover { color: var(--ivory); }
.footer-logo { font-family: var(--serif); font-size: 22px; color: var(--ivory); margin-bottom: 14px; letter-spacing: 0.1em; }
.social-row { display: flex; gap: 14px; margin-top: 6px; }
.social-row a { width: 34px; height: 34px; border: 1px solid var(--sand); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.social-row svg { width: 15px; height: 15px; stroke: var(--sand); }

.footer-bottom {
  max-width: var(--maxw); margin: 60px auto 0;
  padding-top: 24px; border-top: 1px solid rgba(216,208,197,0.2);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: 11px; color: rgba(216,208,197,0.7);
}

/* ---------- WhatsApp float button ---------- */
.wa-float {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  z-index: 400;
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ebony);
  color: var(--ivory);
  padding: 14px 26px;
  font-size: 13px;
  letter-spacing: 0.03em;
  border-radius: 3px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 620px) {
  .container, .header-inner, .section-head, .shop-toolbar { padding-left: 20px; padding-right: 20px; }
  .hero-content { padding: 40px 20px 50px; }
  .about-teaser .copy, .split-block .copy { padding: 46px 26px; }
  .modal-body { padding: 30px 24px 50px; }
}

/* ---------- Logo image (added once real logo file was provided) ---------- */
.logo-img { height: 26px; width: auto; display: block; }
.footer-logo-img { height: 30px; width: auto; display: block; margin-bottom: 14px; }
