/* ── Tienda pública ── */
.wrap { width: min(100% - 40px, 1240px); margin-inline: auto; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold-600); font-weight: 600; }

.announce { background: var(--ink); color: #f3e9cf; font-size: 12.5px; letter-spacing: .4px; }
.announce-in { display: flex; justify-content: center; gap: 36px; padding: 8px 0; }

.topbar { position: sticky; top: 0; z-index: 50; background: rgba(253, 250, 244, .86); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.topbar.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(42,35,28,.25); }
.topbar-in { display: flex; align-items: center; gap: 22px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #fff; border: 1px solid var(--gold-100); box-shadow: var(--shadow-sm); }
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font-size: 24px; color: var(--ink); }
.brand-text small { font-size: 10.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-600); margin-top: 3px; }
.search { flex: 1; max-width: 560px; margin-left: auto; }
.search .input { height: 48px; border-radius: 999px; background: #fff; padding-left: 46px; box-shadow: var(--shadow-sm); }
.top-actions { display: flex; gap: 6px; align-items: center; }
[data-icon] { display: inline-flex; }
[data-icon] svg { width: 18px; height: 18px; }

/* Hero */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(1000px 420px at 85% 10%, var(--gold-50), transparent 70%),
  radial-gradient(700px 400px at 0% 100%, var(--rose-50), transparent 70%); }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 64px 0 72px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); font-weight: 600; margin: 14px 0 18px; letter-spacing: -.5px; }
.hero h1 em { font-style: italic; color: var(--gold-600); }
.hero-copy p { font-size: 17px; color: var(--ink-2); max-width: 520px; margin: 0 0 28px; font-weight: 300; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { list-style: none; padding: 0; margin: 32px 0 0; display: flex; gap: 22px; flex-wrap: wrap; color: var(--ink-2); font-size: 13.5px; }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust [data-icon] { color: var(--gold); }
.hero-art { position: relative; height: 480px; }
.hero-img { position: absolute; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); background-size: cover; background-position: center; border: 6px solid #fff; }
.hero-img.a { width: 58%; height: 78%; right: 4%; top: 0; transform: rotate(2deg); }
.hero-img.b { width: 46%; height: 52%; left: 0; top: 16%; transform: rotate(-4deg); }
.hero-img.c { width: 38%; height: 40%; left: 30%; bottom: 0; transform: rotate(3deg); }
.hero-seal { position: absolute; right: 0; bottom: 26px; width: 108px; height: 108px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); border: 1px solid var(--gold-100); animation: float 6s ease-in-out infinite; }
.hero-seal img { width: 84px; height: 84px; object-fit: contain; border-radius: 50%; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Categorías */
.cats-bar { position: sticky; top: 78px; z-index: 40; background: rgba(253, 250, 244, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }

/* Catálogo */
.catalog { display: grid; grid-template-columns: 270px 1fr; gap: 36px; padding: 36px 0 80px; align-items: start; }
.filters { position: sticky; top: 160px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.filters-head h3 { font-size: 26px; }
.filter-block { padding: 14px 0; border-top: 1px solid var(--line); }
.price-range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.price-range .input { height: 40px; }
.price-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.price-presets .chip { height: 32px; font-size: 12px; padding: 0 12px; }
.switch { display: flex; align-items: center; gap: 10px; font-size: 13.5px; cursor: pointer; padding: 6px 0; color: var(--ink-2); }
.switch input { display: none; }
.switch span { width: 38px; height: 22px; border-radius: 99px; background: #e8dfd0; position: relative; transition: background .2s; flex: none; }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease); }
.switch input:checked + span { background: var(--gold); }
.switch input:checked + span::after { transform: translateX(16px); }
.filters-help { margin-top: 18px; display: flex; gap: 10px; background: var(--gold-50); border-radius: 14px; padding: 14px; font-size: 13px; color: var(--ink-2); }
.filters-help p { margin: 0; }
.filters-help a { color: var(--gold-700); font-weight: 600; text-decoration: underline; cursor: pointer; }
.filters-help [data-icon] { color: var(--green); }

.results-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 20px; gap: 12px; }
.results-head h2 { font-size: 36px; }
.results-head p { margin: 4px 0 0; font-size: 14px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.pcard { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; display: flex; flex-direction: column; text-align: left; padding: 0; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold-100); }
.pcard-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--gold-50); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.pcard-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.pcard-badges .badge { backdrop-filter: blur(6px); box-shadow: var(--shadow-sm); }
.pcard-view { position: absolute; inset: auto 12px 12px 12px; opacity: 0; transform: translateY(8px); transition: all .3s var(--ease); }
.pcard-view .btn { width: 100%; background: rgba(255,255,255,.95); }
.pcard:hover .pcard-view { opacity: 1; transform: none; }
.pcard-body { padding: 14px 16px 18px; display: grid; gap: 4px; flex: 1; align-content: start; }
.pcard-cat { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold-600); font-weight: 600; }
.pcard-name { font-weight: 500; font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pcard-price { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.price { font-size: 19px; font-weight: 600; color: var(--ink); }
.price-old { font-size: 13px; color: var(--ink-3); text-decoration: line-through; }
.price-ask { font-size: 14px; font-weight: 500; color: var(--gold-700); display: inline-flex; align-items: center; gap: 6px; }
.price-ask svg { width: 17px; height: 17px; flex: none; }
.pcard.soldout .pcard-media img { filter: grayscale(.5) opacity(.8); }

/* Modal producto */
.product-modal { width: min(100%, 980px); position: relative; }
.pm-close { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(255,255,255,.9); }
.pm-grid { display: grid; grid-template-columns: 1.05fr 1fr; }
.pm-media { background: var(--gold-50); min-height: 100%; }
.pm-media img { width: 100%; height: 100%; max-height: 640px; object-fit: cover; }
.pm-info { padding: 34px 32px; display: grid; gap: 14px; align-content: start; }
.pm-info h3 { font-size: 36px; font-weight: 600; }
.pm-price { display: flex; align-items: baseline; gap: 10px; }
.pm-price .price { font-size: 30px; }
.pm-desc { color: var(--ink-2); margin: 0; white-space: pre-line; font-size: 14.5px; }
.pm-sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.pm-perks { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.pm-perks li { display: flex; gap: 10px; align-items: center; }
.pm-perks [data-icon] { color: var(--gold); }

/* Visítanos */
.visit { background: linear-gradient(180deg, var(--cream), var(--gold-50)); padding: 80px 0; border-top: 1px solid var(--line); }
.visit-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: stretch; }
.visit-card { background: #fff; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.visit-card h2 { font-size: 40px; margin: 10px 0 22px; }
.visit-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 18px; }
.visit-list li { display: flex; gap: 14px; }
.visit-list [data-icon] { width: 42px; height: 42px; border-radius: 12px; background: var(--gold-50); color: var(--gold-600); display: grid; place-items: center; flex: none; }
.visit-list [data-icon] svg { width: 20px; height: 20px; }
.visit-list p { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; }
.visit-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; min-height: 360px; }
.visit-map iframe { width: 100%; height: 100%; border: 0; min-height: 360px; }

.footer { background: var(--ink); color: #e9e1d3; padding: 34px 0; }
.footer-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer .brand-text strong { color: #fff; }
.footer .muted { color: #b5a996; margin: 0; font-size: 13px; }
.admin-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.admin-link:hover { color: #fff; }

.wa-float { position: fixed; right: 22px; bottom: 22px; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); z-index: 60; transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float [data-icon] svg { width: 30px; height: 30px; }

.show-md { display: none !important; }

/* Responsive */
@media (max-width: 1024px) {
  .hide-md { display: none !important; }
  .show-md { display: inline-flex !important; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(88vw, 340px); border-radius: 0 24px 24px 0; z-index: 120; overflow: auto; transform: translateX(-105%); transition: transform .35s var(--ease); top: 0; }
  .filters.open { transform: none; box-shadow: var(--shadow-lg); }
  .filters-scrim { position: fixed; inset: 0; background: rgba(32,26,20,.4); z-index: 110; }
  .hero-in { grid-template-columns: 1fr; padding: 40px 0 48px; }
  .hero-art { height: 340px; }
  .visit-in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .wrap { width: min(100% - 28px, 1240px); }
  .topbar-in { height: auto; flex-wrap: wrap; gap: 10px; padding: 10px 0 12px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .top-actions { margin-left: auto; }
  .brand-text strong { font-size: 21px; }
  .brand img { width: 44px; height: 44px; }
  .cats-bar { top: 0; position: relative; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pcard { border-radius: 16px; }
  .pcard-body { padding: 10px 12px 14px; }
  .pcard-name { font-size: 13.5px; }
  .price { font-size: 16px; }
  .pcard-view { display: none; }
  .results-head h2 { font-size: 28px; }
  .pm-grid { grid-template-columns: 1fr; }
  .pm-media img { max-height: 420px; }
  .pm-info { padding: 22px; }
  .pm-info h3 { font-size: 28px; }
  .hero-art { height: 280px; }
  .hero-seal { width: 84px; height: 84px; }
  .hero-seal img { width: 64px; height: 64px; }
  .visit-card { padding: 24px; }
  .visit-card h2 { font-size: 30px; }
  .announce-in { gap: 0; }
}

/* Logo horizontal */
.brand-logo { height: 58px; width: auto !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: none !important; object-fit: contain; }
.footer .brand-logo { height: 50px; }
.hero-seal img { width: 88px; height: auto; border-radius: 0; }
@media (max-width: 640px) { .brand-logo { height: 46px; } }
.pm-info > .badge, #pmStock .badge { justify-self: start; }
#catalogo { scroll-margin-top: 140px; }

/* Precios por medida */
.price-from { font-size: 12px; color: var(--ink-3); font-weight: 500; margin-right: -2px; }
.pm-variants { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.variant { display: grid; gap: 2px; text-align: left; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; transition: all .18s var(--ease); }
.variant span { font-size: 13px; color: var(--ink-2); }
.variant strong { font-size: 15px; font-weight: 600; }
.variant:hover { border-color: var(--gold-300); }
.variant.active { border-color: var(--gold); background: var(--gold-50); box-shadow: 0 0 0 3px var(--gold-50); }
.variant.active span { color: var(--gold-700); }
