/* ============================================================
   Les_Cam Flores y Detalles — Design tokens
   Palette: deep botanical ink, warm petal paper, camellia rose, antique gold
   Type: Fraunces (display, characterful/floral) + Public Sans (body/UI)
   Signature element: the "price tag" chip — a hanging tag button
   ============================================================ */
:root{
  --ink:        #1E2B21;   /* deep botanical green — headers, dark surfaces */
  --ink-soft:   #33473A;
  --paper:      #FBF3EA;   /* warm petal paper background */
  --paper-2:    #F3E8DA;   /* slightly deeper paper for cards */
  --rose:       #C3496A;   /* camellia rose — primary accent */
  --rose-deep:  #9E2F4E;
  --rose-tint:  #F6DCE3;
  --gold:       #B98A3E;   /* antique gold — price / highlight */
  --gold-tint:  #F1E2C4;
  --whatsapp:   #128047;   /* deepened from brand #25D366 for AA contrast with white text */
  --whatsapp-d: #0C6B33;
  --ink-70: #3B4A3F;       /* solid muted ink — meets AA on paper/white */
  --ink-55: #4B5B4F;       /* solid muted ink — meets AA on paper/white */
  --shadow-1: 0 1px 2px rgba(30,43,33,.06), 0 6px 16px rgba(30,43,33,.08);
  --shadow-2: 0 10px 30px rgba(30,43,33,.18);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --font-display: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, sans-serif;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  -webkit-font-smoothing:antialiased;
  padding-bottom: 90px; /* room for floating selbar */
}
img{ max-width:100%; display:block; }
a{ color:inherit; }
:focus-visible{ outline:3px solid var(--rose); outline-offset:2px; }
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.01ms !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.5rem;
  font-family:var(--font-body); font-weight:700; font-size:.95rem;
  padding:.85rem 1.5rem; border-radius:999px; border:2px solid transparent;
  cursor:pointer; text-decoration:none; transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active{ transform:translateY(1px); }
.btn--primary{ background:var(--rose); color:#fff; box-shadow:var(--shadow-1); }
.btn--primary:hover{ background:var(--rose-deep); }
.btn--ghost{ background:transparent; border-color:rgba(30,43,33,.35); color:var(--ink); }
.btn--ghost:hover{ background:rgba(30,43,33,.06); }
.btn--whatsapp{ background:var(--whatsapp); color:#fff; width:100%; justify-content:center; font-size:1.02rem; padding:1rem; }
.btn--whatsapp:hover{ background:var(--whatsapp-d); }

/* ---------- Brand ---------- */
.brand{ display:flex; align-items:center; gap:.7rem; }
.brand__logo{ height:150px; width:auto; display:block; }
.brand__mark{ font-family:var(--font-display); font-size:2.6rem; color:var(--rose); line-height:1; text-shadow:0 2px 10px rgba(195,73,106,.35); }
.brand__text{ display:flex; flex-direction:column; line-height:1.05; }
.brand__name{ font-family:var(--font-display); font-weight:800; font-size:1.9rem; letter-spacing:.005em; color:var(--ink); }
.brand__sub{ font-size:.78rem; letter-spacing:.16em; text-transform:uppercase; color:var(--rose-deep); font-weight:700; opacity:.95; }

/* ---------- Hero (glass panel over full-bleed photo) ---------- */
.hero{
  position:relative;
  padding:1.1rem;
}
.hero__bg{
  position:absolute; inset:0; z-index:0;
}
.hero__bg image-slot{ width:100%; height:100%; }
.hero__glass{
  position:relative; z-index:1;
  min-height:min(86vh, 720px);
  width:min(58%, 700px);
  display:flex; flex-direction:column;
  border-radius:28px;
  padding:1.4rem 1.6rem 2.4rem;
  background:
    linear-gradient(160deg, rgba(251,243,234,.16), rgba(251,243,234,.08) 45%, rgba(251,243,234,.14));
  backdrop-filter: blur(4px) saturate(1.1);
  -webkit-backdrop-filter: blur(4px) saturate(1.1);
  border:1px solid rgba(255,255,255,.4);
  box-shadow:var(--shadow-2);
  color:var(--ink);
}
.hero__topbar{
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  flex-wrap:wrap;
}
.hero__nav{ display:flex; align-items:center; gap:1.5rem; flex-wrap:wrap; }
.hero__nav-link{
  font-size:.92rem; font-weight:500; text-decoration:none; color:var(--ink-70);
  transition:color .15s ease;
}
.hero__nav-link:hover{ color:var(--ink); }
.hero__nav-link--strong{ font-weight:700; color:var(--ink); }
.hero__inner{ max-width:640px; margin:auto 0 0; position:relative; z-index:1; }
.hero__eyebrow{
  font-size:.78rem; letter-spacing:.18em; text-transform:uppercase;
  color:var(--rose-deep); margin:0 0 1rem;
}
.hero__title{
  font-family:var(--font-display); font-weight:800; color:var(--ink);
  font-size:clamp(2.1rem, 6vw, 3.4rem); line-height:1.08; margin:0 0 1.1rem;
}
.hero__copy{
  font-size:1.02rem; line-height:1.6; color:var(--ink-70);
  max-width:520px; margin:0 0 1.9rem;
}
.hero__actions{ display:flex; gap:.8rem; flex-wrap:wrap; }
.btn--pill{ background:#fff; color:var(--ink); box-shadow:var(--shadow-1); }
.btn--pill:hover{ background:var(--paper); }
.hero__nav-link--btn{ background:none; border:none; font-family:var(--font-body); cursor:pointer; padding:0; }

/* ---------- About modal ---------- */
.aboutmodal{ position:fixed; inset:0; z-index:80; display:flex; align-items:center; justify-content:center; padding:1.2rem; }
.aboutmodal[hidden]{ display:none; }
.aboutmodal__backdrop{ position:absolute; inset:0; background:rgba(30,43,33,.55); backdrop-filter:blur(4px); }
.aboutmodal__panel{
  position:relative; z-index:1; max-width:460px; width:100%;
  background:var(--paper); border-radius:var(--radius-lg); padding:2.2rem 1.8rem 1.9rem;
  box-shadow:var(--shadow-2); text-align:center;
}
.aboutmodal__mark{ font-family:var(--font-display); font-size:2.2rem; color:var(--rose); display:block; margin-bottom:.8rem; }
.aboutmodal__logo{ height:110px; width:auto; display:block; margin:0 auto .6rem; }
.aboutmodal__text{ font-size:1.02rem; line-height:1.7; color:var(--ink-70); margin:0; }
.aboutmodal__close{
  position:absolute; top:.7rem; right:.7rem; width:2rem; height:2rem; border-radius:50%;
  border:none; background:rgba(30,43,33,.08); color:var(--ink); font-size:1rem; cursor:pointer;
}
.aboutmodal__close:hover{ background:rgba(30,43,33,.16); }
.hero__social{ display:flex; align-items:center; gap:.6rem; margin-left:.2rem; }
.hero__social-link{ display:flex; color:var(--ink); opacity:.85; transition:opacity .15s, color .15s; }
.hero__social-link:hover{ opacity:1; color:var(--rose-deep); }

.hero__steps{
  position:relative; z-index:1; margin-top:1.6rem; padding-top:1.4rem;
  border-top:1px solid rgba(30,43,33,.18);
}
.hero__steps-list{
  list-style:none; margin:0; padding:0;
  display:flex; flex-wrap:wrap; gap:1rem 1.6rem;
}
.hero__steps-list li{ display:flex; align-items:center; gap:.55rem; font-size:.86rem; font-weight:600; color:var(--ink-70); white-space:nowrap; }

/* ---------- Steps ribbon ---------- */
.steps{ background:var(--paper-2); border-bottom:1px solid rgba(30,43,33,.08); }
.steps__list{
  list-style:none; margin:0; padding:1.1rem 1rem;
  max-width:1180px; margin-inline:auto;
  display:flex; gap:1.6rem; overflow-x:auto;
  font-size:.86rem; font-weight:600; color:var(--ink-70);
}
.steps__list li{ display:flex; align-items:center; gap:.55rem; white-space:nowrap; flex:none; }
.steps__num{
  display:inline-flex; align-items:center; justify-content:center;
  width:1.6rem; height:1.6rem; border-radius:50%;
  background:var(--rose); color:#fff; font-family:var(--font-display); font-weight:600; font-size:.85rem;
  flex:none;
}
.hero__inner li{ display:flex; align-items:center; gap:.55rem; list-style:none; font-size:.86rem; font-weight:600; color:var(--ink-70); }
/* ---------- Category nav ---------- */
.catnav{
  position:sticky; top:0; z-index:35;
  background:rgba(251,243,234,.94); backdrop-filter:blur(6px);
  border-bottom:1px solid rgba(30,43,33,.1);
}
.catnav__inner{
  max-width:1180px; margin:0 auto; padding:.65rem 1rem;
  display:flex; flex-wrap:wrap; gap:.5rem;
}
@media (max-width:720px){
  .catnav__inner{
    flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none;
    padding:.65rem 1.4rem .65rem 1rem;
  }
  .catnav__inner::-webkit-scrollbar{ display:none; }
}
.catpill{
  flex:none; font-family:var(--font-body); font-weight:600; font-size:.82rem;
  padding:.5rem 1rem; border-radius:999px; border:1.5px solid rgba(30,43,33,.15);
  background:#fff; color:var(--ink); cursor:pointer; white-space:nowrap;
  transition:background .15s, border-color .15s, color .15s;
}
.catpill:last-child{ margin-right:.4rem; }
.catpill:hover{ border-color:var(--rose); }
.catpill.is-active{ background:var(--ink); border-color:var(--ink); color:var(--paper); }

/* ---------- Catalog layout ---------- */
.catalog{ max-width:1180px; margin:0 auto; padding:2rem 1rem 1rem; }
.section{ margin-bottom:3rem; scroll-margin-top:120px; }
.section__head{ margin-bottom:1.1rem; }
.section__title{
  font-family:var(--font-display); font-weight:600; font-size:1.7rem; margin:0;
  color:var(--ink);
}
.section__count{ font-size:.85rem; color:var(--ink-55); font-weight:500; }

.grid{
  display:grid; gap:1.1rem;
  grid-template-columns:repeat(auto-fill, minmax(230px, 1fr));
}

/* ---------- Product card ---------- */
.card{
  background:#fff; border-radius:var(--radius-lg); overflow:hidden;
  box-shadow:var(--shadow-1); display:flex; flex-direction:column;
  border:1px solid rgba(30,43,33,.06);
}
.card__imgwrap{ position:relative; aspect-ratio:4/5; overflow:hidden; background:var(--paper-2); cursor:zoom-in; }
.card__imgwrap img{ width:100%; height:100%; object-fit:cover; }
.card__ref{
  position:absolute; top:.6rem; left:.6rem;
  background:rgba(30,43,33,.72); color:#fff; font-size:.68rem; font-weight:700;
  padding:.22rem .55rem; border-radius:999px; letter-spacing:.03em;
}
.card__body{ padding:.9rem 1rem 1.05rem; display:flex; flex-direction:column; gap:.5rem; flex:1; }
.card__title{ font-family:var(--font-display); font-weight:600; font-size:1.06rem; margin:0; color:var(--ink); line-height:1.25; }
.card__subtitle{ font-size:.78rem; color:var(--ink-55); margin:0; line-height:1.4; }
.card__prices{ display:flex; flex-wrap:wrap; gap:.45rem; margin-top:.25rem; }

/* ---------- Price tag chip (signature element) ---------- */
.tag{
  --tagc: var(--gold);
  position:relative;
  display:inline-flex; align-items:center; gap:.35rem;
  font-family:var(--font-body); font-weight:700; font-size:.84rem;
  background:var(--gold-tint); color:#6B4E1B;
  border:1.5px solid transparent; border-radius:8px 3px 3px 8px;
  padding:.4rem .65rem .4rem .95rem; cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.tag::before{
  content:""; position:absolute; left:.4rem; top:50%; transform:translateY(-50%);
  width:5px; height:5px; border-radius:50%; background:#6B4E1B; opacity:.55;
}
.tag:hover{ transform:translateY(-2px); box-shadow:0 6px 14px rgba(185,138,62,.35); }
.tag.is-selected{
  background:var(--rose); color:#fff; box-shadow:0 6px 14px rgba(195,73,106,.4);
  transform:translateY(-2px) rotate(-1deg);
}
.tag.is-selected::before{ background:#fff; }
.tag__check{ display:none; font-size:.8rem; }
.tag.is-selected .tag__check{ display:inline; }

/* ---------- Banner / info groups ---------- */
.banner{
  border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-1);
  background:#fff; border:1px solid rgba(30,43,33,.06);
}
.banner img{ width:100%; height:auto; cursor:zoom-in; }
.banner-strip{
  background:#fff; border-radius:var(--radius-lg); box-shadow:var(--shadow-1);
  border:1px solid rgba(30,43,33,.06); padding:1.1rem 1rem 1.3rem;
}
.banner-strip__title{ font-family:var(--font-display); font-weight:600; font-size:1.15rem; margin:0 0 .2rem; }
.banner-strip__subtitle{ font-size:.8rem; color:var(--ink-55); margin:0 0 .9rem; }
.banner-strip__scroll{ display:flex; gap:.7rem; overflow-x:auto; padding-bottom:.3rem; }
.banner-strip__thumb{
  flex:none; width:120px; aspect-ratio:4/5; border-radius:var(--radius-sm);
  overflow:hidden; cursor:zoom-in; border:1px solid rgba(30,43,33,.08);
}
.banner-strip__thumb img{ width:100%; height:100%; object-fit:cover; }

/* ---------- Footer ---------- */
.sitefooter{
  max-width:1180px; margin:0 auto; padding:2.5rem 1.25rem 3rem;
  text-align:center; color:var(--ink-55); font-size:.85rem; line-height:1.6;
}
.sitefooter p{ margin:.25rem 0; }
.sitefooter__note{ font-size:.76rem; max-width:560px; margin-inline:auto; }

/* ---------- Floating selection bar ---------- */
.selbar{
  position:fixed; left:1rem; right:1rem; bottom:1rem; z-index:60;
  max-width:520px; margin:0 auto;
  background:var(--ink); color:var(--paper);
  border-radius:999px; box-shadow:var(--shadow-2);
  display:flex; align-items:center; gap:.4rem; padding:.4rem .4rem .4rem .95rem;
}
.selbar[hidden]{ display:none; }
.selbar__summary{
  background:none; border:none; color:inherit; cursor:pointer;
  display:flex; align-items:center; gap:.65rem; flex:1; min-width:0;
  font-family:var(--font-body); text-align:left; padding:.3rem 0;
}
.selbar__count{
  flex:none; width:1.7rem; height:1.7rem; border-radius:50%;
  background:var(--rose); color:#fff; font-weight:800; font-size:.85rem;
  display:flex; align-items:center; justify-content:center;
}
.selbar__text{ display:flex; flex-direction:column; line-height:1.15; min-width:0; overflow:hidden; }
.selbar__text strong{ font-size:.8rem; }
.selbar__text span{ font-size:.78rem; color:var(--gold-tint); }
.selbar__chev{ flex:none; font-size:.7rem; opacity:.7; transition:transform .2s; }
.selbar__cta{
  flex:none; display:flex; align-items:center; gap:.4rem;
  background:var(--whatsapp); color:#fff; border:none; border-radius:999px;
  padding:.7rem 1rem; font-weight:700; font-size:.85rem; cursor:pointer;
  white-space:nowrap;
}
.selbar__cta:hover{ background:var(--whatsapp-d); }

/* ---------- Selection sheet ---------- */
.sheet{ position:fixed; inset:0; z-index:70; }
.sheet__backdrop{ position:absolute; inset:0; background:rgba(30,43,33,.55); }
.sheet__panel{
  position:absolute; left:0; right:0; bottom:0; max-width:560px; margin:0 auto;
  background:var(--paper); border-radius:24px 24px 0 0; box-shadow:var(--shadow-2);
  padding:.75rem 1.25rem 1.5rem; max-height:80vh; display:flex; flex-direction:column;
}
.sheet__handle{ width:42px; height:4px; border-radius:2px; background:rgba(30,43,33,.2); margin:.3rem auto .8rem; }
.sheet__head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:.6rem; }
.sheet__head h2{ font-family:var(--font-display); font-size:1.25rem; margin:0; }
.sheet__close{ background:none; border:none; font-size:1.1rem; cursor:pointer; color:var(--ink-55); padding:.3rem; }
.sheet__list{ list-style:none; margin:0; padding:0; overflow-y:auto; flex:1; }
.sheet__item{
  display:flex; align-items:center; gap:.7rem; padding:.6rem 0;
  border-bottom:1px solid rgba(30,43,33,.08);
}
.sheet__item img{ width:48px; height:48px; border-radius:8px; object-fit:cover; flex:none; }
.sheet__item .info{ flex:1; min-width:0; }
.sheet__item .info strong{ display:block; font-size:.86rem; font-weight:700; }
.sheet__item .info span{ font-size:.78rem; color:var(--ink-55); }
.sheet__item .price{ font-weight:800; color:var(--rose-deep); font-size:.85rem; flex:none; }
.sheet__item .remove{
  flex:none; background:none; border:none; cursor:pointer; color:var(--ink-55);
  font-size:1rem; padding:.2rem .3rem;
}
.sheet__empty{ text-align:center; color:var(--ink-55); font-size:.88rem; padding:1.5rem 0; }
.sheet__total{ display:flex; justify-content:space-between; align-items:baseline; padding:.9rem 0 .2rem; font-size:1rem; }
.sheet__total strong{ font-family:var(--font-display); font-size:1.3rem; color:var(--rose-deep); }
.sheet__hint{ font-size:.72rem; color:var(--ink-55); margin:0 0 .9rem; }

/* ---------- Lightbox ---------- */
.lightbox{
  position:fixed; inset:0; z-index:80; background:rgba(20,26,20,.92);
  display:flex; align-items:center; justify-content:center; padding:2rem 1rem;
}
.lightbox[hidden]{ display:none; }
.lightbox img{ max-width:100%; max-height:100%; border-radius:12px; box-shadow:0 20px 60px rgba(0,0,0,.5); }
.lightbox__close{
  position:absolute; top:1rem; right:1rem; width:2.4rem; height:2.4rem; border-radius:50%;
  background:rgba(251,243,234,.15); color:#fff; border:none; font-size:1.1rem; cursor:pointer;
}
.lightbox__close:hover{ background:rgba(251,243,234,.28); }

/* ---------- Responsive ---------- */
@media (max-width: 640px){
  .hero__glass{ width:100%; }
  .grid{ grid-template-columns:repeat(auto-fill, minmax(155px, 1fr)); gap:.75rem; }
  .card__title{ font-size:.92rem; }
  .tag{ font-size:.76rem; padding:.34rem .55rem .34rem .8rem; }
  .hero{ padding:.6rem; }
  .hero__glass{ padding:1rem 1.1rem 1.8rem; min-height:80vh; }
  .hero__nav{ gap:1rem; }
  .steps__list{ font-size:.78rem; gap:1.1rem; }
}
