
@font-face { font-family: "SoDo Sans"; src: url("fonts/SoDoSans-Regular.woff") format("woff"); font-weight: 400; }
@font-face { font-family: "SoDo Sans"; src: url("fonts/SoDoSans-600.woff") format("woff"); font-weight: 600; }
@font-face { font-family: "SoDo Sans"; src: url("fonts/SoDoSans-700.woff") format("woff"); font-weight: 700; }

:root {
  --bg: #f1f2f5;
  --surface: #ffffff;
  --text: #000000;
  --text-2: #6b6c7e;
  --line: #cdced9;
  --border: #1c1c24;
  --accent: #b95000;
  --success: #287d3c;
  --danger: #da1414;
  --soft: #e2e4ea;
  --ease: cubic-bezier(0.22, 0.89, 0.57, 1);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { font-family: "SoDo Sans", roboto, sans-serif; background: var(--bg); color: var(--text); line-height: 1.5; font-size: 16px; }
a { color: inherit; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--text-2); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 1030; background: var(--surface); box-shadow: 0 1px 2px rgba(0,0,0,.075); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { font-weight: 700; font-size: 20px; text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--accent); }
.nav-links { display: flex; gap: 8px; margin-left: auto; }
.nav-link { text-decoration: none; text-transform: uppercase; font-weight: 600; font-size: 14px; letter-spacing: 0.05em; padding: 8px 12px; border-radius: 4px; transition: color .15s ease-in-out; }
.nav-link:hover, .nav-link.active { color: var(--accent); }
.cart-btn { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); cursor: pointer; transition: background-color .15s ease-in-out, color .15s ease-in-out; }
.cart-btn:hover { background: var(--text); color: var(--surface); }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 100px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.cart-count.bump { animation: bump .35s var(--ease); }
@keyframes bump { 50% { transform: scale(1.4); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 50px; font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background-color .15s ease-in-out, color .15s ease-in-out, border-color .15s ease-in-out, transform .15s ease; }
.btn:active { transform: scale(0.96); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #393a4a; }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--text); color: #fff; }
.btn-block { width: 100%; }
:focus-visible { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); }

/* Hero */
.hero { padding: 64px 0; }
.hero-inner { display: grid; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; margin-bottom: 16px; }
.hero h1 { font-size: clamp(40px, 7vw, 80px); line-height: 1.04; font-weight: 700; letter-spacing: -0.02em; }
.lead { margin-top: 24px; font-size: 18px; color: #393a4a; max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-art { display: grid; place-items: center; }
.hero-plate { width: min(420px, 80vw); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 10px 35px rgba(0,0,0,0.1); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-3deg); } }
@media (min-width: 992px) { .hero { padding: 96px 0; } .hero-inner { grid-template-columns: 1.2fr 1fr; } }

/* Story */
.story { padding: 0 0 64px; }
.story-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .story-grid { grid-template-columns: repeat(3, 1fr); } }
.story-card { background: var(--surface); border-radius: 8px; padding: 24px; box-shadow: 0 1px 2px rgba(0,0,0,.075); }
.story-icon { font-size: 32px; }
.story-card h2 { margin: 12px 0 4px; font-size: 18px; }
.story-card p { color: var(--text-2); font-size: 15px; }

/* Catalog */
.catalog { padding: 64px 0 96px; background: var(--surface); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 32px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.section-head h1, .section-head h2 { font-size: clamp(32px, 5vw, 48px); line-height: 1.1; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 16px; border-radius: 100px; border: 1px solid var(--line); background: var(--surface); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .15s ease-in-out, border-color .15s ease-in-out, color .15s ease-in-out; }
.chip:hover { border-color: var(--border); }
.chip.active { background: var(--text); color: #fff; border-color: var(--text); }

.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.item { display: flex; flex-direction: column; background: var(--bg); border-radius: 8px; overflow: hidden; transition: box-shadow .25s ease, transform .25s var(--ease); }
.item:hover { box-shadow: 0 10px 35px rgba(0,0,0,0.1); transform: translateY(-4px); }
.thumb { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; aspect-ratio: 4/3; overflow: hidden; background: var(--soft); }
.item:hover .thumb img { transform: scale(1.06); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s var(--ease); }
.item-text { padding: 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.item-text h3 { font-size: 18px; }
.item-text p { color: var(--text-2); font-size: 14px; flex: 1; }
.item-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.price { font-weight: 700; font-size: 18px; }
.add { padding: 8px 16px; font-size: 14px; }
.add.added { background: var(--success); }

/* Drawer */
.backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.6); opacity: 0; pointer-events: none; transition: opacity .3s ease; z-index: 1040; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 100%); background: var(--surface); z-index: 1050; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: 0 1px 15px -2px rgba(0,0,0,0.2); }
body.cart-open .backdrop { opacity: 1; pointer-events: auto; }
body.cart-open .drawer { transform: none; }
body.cart-open { overflow: hidden; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 24px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--bg); cursor: pointer; font-size: 16px; }
.icon-btn:hover { background: var(--soft); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-list { list-style: none; padding: 0; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); animation: slideIn .3s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } }
.ci-thumb { width: 56px; height: 56px; border-radius: 8px; background: var(--soft); object-fit: cover; display: block; }
.ci-name { font-weight: 600; font-size: 15px; }
.ci-price { color: var(--text-2); font-size: 14px; }
.qty { display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 700; }
.qty button:hover { border-color: var(--border); }
.qty span { min-width: 24px; text-align: center; font-weight: 600; }
.ci-right { text-align: right; display: flex; flex-direction: column; align-items: end; gap: 4px; }
.remove { border: none; background: none; color: var(--danger); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; padding: 4px 0; }
.empty { text-align: center; color: var(--text-2); padding: 48px 0; }
.empty a { color: var(--accent); font-weight: 600; }

.checkout { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.checkout[hidden], .empty[hidden] { display: none; }
.toggle { border: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.toggle legend { font-weight: 600; margin-bottom: 8px; }
.toggle input { position: absolute; opacity: 0; }
.toggle span { display: block; text-align: center; padding: 12px 8px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .15s ease-in-out, background-color .15s ease-in-out, color .15s ease-in-out; }
.toggle input:checked + span { border-color: var(--accent); background: var(--accent); color: #fff; }
.toggle input:focus-visible + span { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); }
#deliveryFields { display: flex; flex-direction: column; gap: 16px; }
#deliveryFields[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; }
.input { background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 12px; font: inherit; font-weight: 400; font-size: 16px; resize: vertical; transition: border-color .15s ease-in-out; }
.input:focus { border-color: var(--accent); outline: none; }

.drawer-foot { padding: 16px 24px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; justify-content: space-between; }
.row[hidden] { display: none; }
.total { font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.btn-primary:disabled { background: var(--line); color: var(--text-2); cursor: not-allowed; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 24px); background: var(--text); color: #fff; padding: 12px 20px; border-radius: 100px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s var(--ease); z-index: 1060; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Footer */
.footer { background: var(--text); color: #fff; padding: 48px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 8px; }
.footer .muted { color: #9b92a5; font-size: 14px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .6s ease-out, transform .6s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 575.98px) { .nav-inner { gap: 8px; } .brand { font-size: 16px; } .nav-links { gap: 0; } .nav-link { padding: 8px 6px; font-size: 12px; letter-spacing: 0.02em; } .cart-btn { width: 40px; height: 40px; flex: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }
.catalog-page { min-height: calc(100vh - 72px); padding-top: 48px; }

/* Etiquetas y buscador */
.badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 100px; font-size: 12px; font-weight: 700; background: var(--text); color: #fff; }
.badge-new { background: var(--accent); }
.link-title { all: unset; cursor: pointer; }
.link-title:hover { color: var(--accent); }
.link-title:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); border-radius: 2px; }
.catalog-tools { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; width: 100%; max-width: 640px; }
.search { width: 100%; border-radius: 100px; padding: 12px 20px; }
.no-results { grid-column: 1 / -1; text-align: center; color: var(--text-2); padding: 48px 0; }
@media (max-width: 767.98px) { .catalog-tools { align-items: stretch; } }

/* Detalle de producto */
.modal { position: fixed; z-index: 1050; left: 50%; top: 50%; width: min(880px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow-y: auto; background: var(--surface); border-radius: 16px; box-shadow: 0 1px 15px -2px rgba(0,0,0,0.2); display: grid; opacity: 0; pointer-events: none; transform: translate(-50%, -46%) scale(.98); transition: opacity .25s ease, transform .35s var(--ease); }
body.modal-open .modal { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
body.modal-open .backdrop { opacity: 1; pointer-events: auto; }
body.modal-open { overflow: hidden; }
@media (min-width: 768px) { .modal { grid-template-columns: 1fr 1fr; } }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 1; background: var(--surface); }
.pm-img { width: 100%; height: 100%; min-height: 240px; max-height: 480px; object-fit: cover; display: block; }
.pm-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.pm-body .badge { position: static; align-self: flex-start; }
.pm-body .badge[hidden] { display: none; }
.pm-body h2 { font-size: 28px; line-height: 1.2; }
.pm-desc { color: var(--text-2); }
.pm-label { font-weight: 600; font-size: 14px; display: block; margin-bottom: 8px; }
.pm-sizes[hidden], #pmMsgWrap[hidden] { display: none; }
.toggle-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.toggle-3 input { position: absolute; opacity: 0; }
.toggle-3 span { display: block; text-align: center; padding: 8px 4px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; line-height: 1.3; transition: border-color .15s ease-in-out, background-color .15s ease-in-out, color .15s ease-in-out; }
.toggle-3 input:checked + span { border-color: var(--accent); background: var(--accent); color: #fff; }
.toggle-3 input:focus-visible + span { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); }
.pm-foot { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-top: auto; }
.qty-lg button { width: 40px; height: 40px; font-size: 18px; }
.qty-lg span { min-width: 32px; font-size: 18px; }
.ci-extra { font-size: 13px; color: var(--accent); }

/* Fecha, hora y mapa */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.map-search { display: flex; gap: 8px; }
.map-search .input { flex: 1; min-width: 0; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.map { height: 220px; border-radius: 8px; border: 1px solid var(--line); background: var(--soft); margin-top: 8px; z-index: 0; }
.link-btn { all: unset; cursor: pointer; color: var(--accent); font-size: 14px; font-weight: 600; margin-top: 8px; }
.link-btn:focus-visible { box-shadow: 0 0 0 2px var(--accent); border-radius: 2px; }
.hint { color: var(--text-2); font-weight: 400; }

/* Contacto */
.contact-page { padding: 48px 0 96px; background: var(--surface); min-height: calc(100vh - 72px); }
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 1fr 1.4fr; } }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.info-card { background: var(--bg); border-radius: 8px; padding: 24px; }
.info-card h2 { font-size: 18px; margin-bottom: 8px; }
.info-card p { color: #393a4a; }
.link-accent { display: inline-block; margin-top: 8px; color: var(--accent); font-weight: 600; text-decoration: none; }
.link-accent:hover { text-decoration: underline; }
.hours { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; }
.hours dd { margin: 0; font-weight: 600; }
.contact-ctas { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.socials { display: flex; gap: 16px; margin-top: 16px; font-size: 14px; font-weight: 600; }
.socials a { text-decoration: none; }
.socials a:hover { color: var(--accent); }
.map-store { height: 100%; min-height: 360px; margin-top: 0; }
.faq { margin-top: 64px; max-width: 760px; }
.faq h2 { font-size: clamp(24px, 4vw, 32px); margin-bottom: 16px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding-bottom: 16px; }

[hidden] { display: none !important; }
.hero-logo { border-radius: 50%; box-shadow: 0 10px 35px rgba(0,0,0,0.1); background: none; object-fit: unset; }
