﻿:root {
  --brand: #a52d24;
  --ink: #27231d;
  --muted: #5b584f;
  --paper: #fffcf4;
  --line: #e6ddcc;
  --green: #254c37;
  font-family: system-ui, sans-serif;
  line-height: 1.55;
  color: var(--ink);
  background: #f7f2e7;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; border-top: .35rem solid #c73729; }
.demo-banner { background:#fff0bb; color:#27231d; padding:.5rem 1rem; text-align:center; }
main, .site-nav { width: min(100% - 2rem, 72rem); margin-inline: auto; }
main { padding: clamp(1rem, 4vw, 3rem) 0; }
a { color: var(--brand); text-underline-offset: .22em; }
:focus-visible { outline: 3px solid #b35c13; outline-offset: 3px; }
h1, h2, h3 { line-height: 1.1; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.15rem, 6vw, 4rem); margin: .65rem 0 1rem; letter-spacing: -.045em; }
h2 { font-size: clamp(1.3rem, 4vw, 2rem); margin: 0 0 .75rem; }
p { overflow-wrap: anywhere; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; }
.site-nav { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-between; align-items: center; padding-block: .85rem; }
.wordmark { font-weight: 850; color: var(--green); text-decoration: none; }
.hero { padding: clamp(1.25rem, 5vw, 4rem); border-radius: 1.4rem; display: grid; align-items: center; grid-template-columns: 1.5fr 1fr; gap: 2rem; background: #f5cf68; }
.hero img { display: block; width: min(100%, 19rem); height: auto; aspect-ratio: 1674 / 940; border-radius: 1.1rem; justify-self: center; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
.eyebrow { font-size: .8rem; letter-spacing: .13em; font-weight: 800; text-transform: uppercase; }
.action, button { display: inline-block; background: var(--green); color: white; border: 1px solid transparent; border-radius: .55rem; font-weight: 650; padding: .55rem .85rem; text-decoration: none; cursor: pointer; }
button:hover, .action:hover { background: #193a29; }
button:disabled { opacity: .55; cursor: default; }
#tiendas { margin-block: 2.5rem; }
.card-grid, #products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.store-card, .product-card, .seller-page main > section, .seller-page main > form { padding: 1rem; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: .85rem; }
.store-card { border-top: .45rem solid #b33126; }
.florencia { border-top-color: #d16a29; }
.marcelo { border-top-color: #32694b; }
.store-card h3 { font-size: 1.7rem; margin: .6rem 0 1rem; }
.home footer { border-top: 1px solid var(--line); padding-block: 1rem; }
.seller-page main > nav { margin-bottom: 1rem; }
.seller-page section, .seller-page form { min-width: 0; }
.seller-page label { display: block; margin: .55rem 0; }
input, select, textarea, button { font: inherit; max-width: 100%; }
input:not([type=checkbox]):not([type=radio]), select, textarea { min-height: 2.5rem; border: 1px solid #b8b09f; border-radius: .45rem; padding: .4rem .65rem; background: white; color: var(--ink); }
textarea { width: min(100%, 36rem); }
fieldset { min-width: 0; border: 1px solid var(--line); border-radius: .65rem; }
table { display: block; max-width: 100%; overflow: auto; border-collapse: collapse; }
th, td { padding: .5rem; border-bottom: 1px solid var(--line); text-align: left; overflow-wrap: anywhere; }
#products { margin-block: 1rem; }
.product-card h2 { font-size: 1.2rem; }
.product-card .eyebrow { color: var(--muted); }
.product-card button { margin-top: .25rem; }
.product-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .65rem; }
#catalog-filters { display: flex; gap: .5rem 1rem; flex-wrap: wrap; }
#catalog-filters label { flex: 1 1 14rem; }
#catalog-filters input:not([type=checkbox]), #catalog-filters select { display: block; width: 100%; }
#catalog-filters label:has(input[type=checkbox]) { align-self: end; padding-block: .5rem; }
#quote { background: #edf4e9; padding: .75rem; border-radius: .5rem; }
#cart-items { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem 1rem; }
#cart-items label { margin: 0; }
#cart-items input { width: 100%; }
@media (max-width: 39rem) {
  .hero { grid-template-columns: 1fr; gap: 1rem; }
  .hero img { width: 9rem; justify-self: start; }
  .seller-page input:not([type=checkbox]):not([type=radio]), .seller-page select { max-width: 100%; }
  #cart-items { grid-template-columns: minmax(0,1fr); }
}
