/* Tienda pública genérica. Los colores vienen de la paleta elegida por cada empresa. */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
header.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
header.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-size: 20px; font-weight: 700; }
.logo img, .logo .mono { width: 46px; height: 46px; border-radius: 999px; object-fit: cover; background: var(--tint); color: var(--tint-ink); display: grid; place-items: center; font-size: 16px; }
.menu { display: flex; flex-wrap: wrap; gap: 4px; flex: 1 1 380px; }
.menu a { padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; }
.menu a:hover { background: var(--tint); color: var(--tint-ink); }
.hero { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; padding: 48px 0 28px; }
.hero > div { flex: 1 1 420px; display: flex; flex-direction: column; gap: 18px; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.06; letter-spacing: -.5px; }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 540px; }
.hero .pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hero .pics img { width: 100%; height: 200px; object-fit: cover; border-radius: 26px; background: var(--surface); }
.hero .pics img:first-child { grid-row: span 2; height: 414px; }
section.block { padding: 36px 0; display: flex; flex-direction: column; gap: 20px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--side-active); border-color: var(--side-active); color: var(--side-active-ink); font-weight: 700; }
.products { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.product img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--side); }
.product .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 6px; }
.photo-card { display: flex; flex-wrap: wrap; gap: 28px; align-items: stretch; }
.photo-card > * { flex: 1 1 300px; }
.drop { min-height: 260px; border: 2px dashed #CFCEC8; border-radius: 26px; background: var(--ground); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; text-align: center; cursor: pointer; }
.drop:hover, .drop.over { border-color: var(--tint-ink); background: var(--tint); }
.drop .ico { width: 60px; height: 60px; border-radius: 20px; background: var(--tint); color: var(--tint-ink); display: grid; place-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.steps li span { width: 34px; height: 34px; border-radius: 99px; display: grid; place-items: center; background: var(--tint); color: var(--tint-ink); font-weight: 700; }
.builder { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; }
.stage { flex: 1 1 440px; min-width: 0; position: sticky; top: 92px; }
.stage .canvas { border-radius: 24px; background: var(--ground); touch-action: none; }
.stage .canvas svg { width: 100%; height: auto; display: block; }
.controls { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.flower-row { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 16px; background: var(--ground); }
.flower-row img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; background: var(--surface); }
.flower-row .name { flex: 1; font-weight: 600; }
.qty-btn { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 20px; cursor: pointer; }
.qty-btn.plus { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches button { width: 40px; height: 40px; border-radius: 14px; border: 2px solid transparent; cursor: pointer; }
.swatches button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 3px #fff; }
.capacity { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.capacity span { display: block; height: 100%; background: var(--tint-ink); }
.refs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.refs button { flex: 0 0 auto; width: 84px; padding: 0; border: 2px solid transparent; border-radius: 18px; background: none; cursor: pointer; overflow: hidden; }
.refs button[aria-pressed="true"] { border-color: var(--tint-ink); }
.refs img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.branches { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.branch { display: flex; gap: 16px; align-items: flex-start; }
.branch .pin { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 18px; background: var(--tint); color: var(--tint-ink); display: grid; place-items: center; }
.cart-fab { position: fixed; right: 18px; bottom: 18px; z-index: 20; box-shadow: 0 12px 30px rgba(0,0,0,.15); }
footer.bottom { border-top: 1px solid var(--line); background: var(--surface); margin-top: 32px; }
footer.bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; padding-bottom: 22px; color: var(--muted); font-weight: 600; font-size: 14px; }
.cart-line { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; background: var(--ground); }
.cart-line .grow { flex: 1; display: flex; flex-direction: column; }
.banner { padding: 14px 18px; border-radius: 18px; }
@media (max-width: 720px) {
  .hero .pics img:first-child { height: 300px; }
  .hero .pics img { height: 143px; }
  .stage { position: static; }
}
