@layer reset, shop;
@layer reset {
  *,*::before,*::after{box-sizing:border-box}
  [hidden]{display:none!important}
  html{scroll-padding-top:calc(var(--header-height) + 14px)}
  body{margin:0}
  h1,h2,h3,p,figure{margin:0}
  button,input,textarea{font:inherit}
  button{cursor:pointer}
  button:disabled{cursor:default}
  img{display:block;max-width:100%;height:auto}
  a{color:inherit}
  button,a,input,textarea,summary,select,[tabindex]{outline-offset:4px}
  :focus-visible{outline:2px solid #aa561a}
}
@layer shop {
:root{
  --jamon:#8b1e2d;--saffron:#e0a526;--olive:#5b6b2f;--cream:#f6efe3;--paper:#fbf7f0;--ink:#2a1d17;--bodega:#1e1410;
  --muted:#6c594c;--line:#dfceba;--header-height:66px;--catalog-offset:110px;--side:clamp(16px,4.5vw,78px);
  --display:Prata,Georgia,serif;--text:Manrope,Arial,sans-serif;
}
body{font-family:var(--text);background:var(--cream);color:var(--ink);line-height:1.55}
body:has(dialog[open]){overflow:hidden}
.shell{width:100%;max-width:1536px;padding-inline:var(--side);margin-inline:auto}
h1,h2{font-family:var(--display);font-weight:400;line-height:1.14;letter-spacing:-.045em}
h2{font-size:clamp(31px,4.55vw,64px)}
h3{line-height:1.3}
.skip-link{position:fixed;z-index:50;top:8px;left:12px;transform:translateY(-180%);background:var(--paper);padding:10px}
.skip-link:focus{transform:none}
.header{position:sticky;z-index:12;top:0;background:var(--bodega);color:var(--cream);border-bottom:1px solid #ffffff26;height:var(--header-height)}
.header-inner{display:flex;align-items:center;gap:14px;height:100%}
.wordmark{display:inline-flex;align-items:center;gap:10px;line-height:1.12;text-decoration:none;flex-shrink:0}
.wordmark img{width:34px;transition:transform .2s}
.wordmark strong{font-size:14px;letter-spacing:.085em;display:block;font-weight:800}
.wordmark small{font-size:11px;color:#ded0be;display:block;margin-top:5px}
.header.dense .wordmark img{transform:scale(.88)}
.header.dense .wordmark small{opacity:.6}
.header-nav,.header-phone{display:none}
.header-cart,.float-cart{display:flex;align-items:center;gap:8px;border:1px solid #a98a66;border-radius:9px;color:var(--cream);background:none;padding:8px 10px;margin-left:auto;font-weight:700;font-size:13px}
.cart-count{font-variant-numeric:tabular-nums;background:var(--saffron);color:var(--bodega);border-radius:50%;min-width:21px;height:21px;display:grid;place-items:center;flex-shrink:0}
.header-cart-label{display:none}
.mobile-menu summary{display:grid;gap:5px;list-style:none;padding:11px 8px;cursor:pointer}
.mobile-menu summary::-webkit-details-marker{display:none}
.mobile-menu summary span{display:block;width:22px;height:1px;background:var(--cream)}
.mobile-menu nav{position:absolute;right:var(--side);top:calc(100% + 8px);min-width:170px;border-radius:12px;padding:8px;background:var(--paper);color:var(--ink);box-shadow:0 15px 40px #20160e50;display:grid}
.mobile-menu nav a{padding:7px 12px;text-decoration:none}
.mobile-menu nav a:hover{background:#eee0d1}
.hero{color:#fff3e1;background:radial-gradient(ellipse at 78% 42%,#653416 0,#3b2118 36%,#211510 67%,var(--bodega) 100%)}
.hero-layout{display:grid;align-items:center;position:relative;overflow:clip;isolation:isolate}
.hero-layout::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.13;z-index:-1;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.81' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)' opacity='.45'/%3E%3C/svg%3E")}
.hero-copy{padding-top:40px;padding-bottom:14px;z-index:2}
.hero-kicker,.kicker{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.15em}
.hero-kicker{color:#f2c67b;display:flex;align-items:center;gap:11px;margin-bottom:17px}
.hero-kicker span{display:inline-block;height:1px;width:25px;background:currentColor}
.hero h1{font-size:clamp(42px,10vw,110px);line-height:1.06;letter-spacing:-.06em}
.hero h1 span{display:block}
.hero h1 span:last-child{color:#f1bf75}
.hero-copy>p{font-size:clamp(15px,1.35vw,19px);max-width:470px;color:#eadaca;margin:20px 0 24px}
.btn{display:inline-flex;text-align:center;align-items:center;justify-content:center;border:1px solid var(--line);background:var(--paper);color:var(--ink);padding:10px 14px;border-radius:9px;font-weight:800;line-height:1.25;text-decoration:none;transition:transform .18s,opacity .18s}
.btn:hover:not(:disabled){transform:translateY(-2px)}
.btn.primary{background:var(--jamon);color:#fff8ed;border-color:var(--jamon);padding:13px 22px}
.hero .primary{background:#a73241;border-color:#bb4c55;min-height:47px;box-shadow:0 9px 30px #16080344}
.hero-visual{height:clamp(258px,67vw,410px);position:relative;margin-top:12px;isolation:isolate}
.visual-orbit{position:absolute;inset:2% 9% 7% 5%;border:1px solid #d6a56956;border-radius:50%;transform:rotate(-13deg)}
.visual-orbit::after{content:"";position:absolute;inset:4%;border:1px dashed #dfad6f4d;border-radius:inherit}
.hero-visual figure{overflow:hidden;background:#a57954;box-shadow:0 12px 28px #10070386;border:1px solid #e6b67d9c;position:absolute}
.hero-visual img{width:100%;height:100%;object-fit:cover}
.hero-main{inset:3% 13% 10% 9%;border-radius:48% 45% 44% 46%;transform:rotate(-5deg)}
.hero-main img{object-position:center 50%;filter:brightness(.92) saturate(.94)}
.hero-accent{width:28%;aspect-ratio:1;border-radius:50%}
.hero-cheese{left:2%;bottom:7%}
.hero-fish{right:3%;bottom:0}
.hero-seal{display:grid;align-content:center;text-align:center;position:absolute;right:3%;top:5%;width:73px;aspect-ratio:1;border-radius:50%;background:#edc18a;color:#592319;font:400 19px/1 var(--display);transform:rotate(12deg);box-shadow:0 0 0 4px #edc18a2e}
.hero-seal small{font:800 8px/1 var(--text);text-transform:uppercase;margin-top:6px;letter-spacing:.05em}
.hero-facts{list-style:none;padding:14px 0;margin:16px 0 0;border-top:1px solid #c39b734d;grid-column:1/-1;display:flex;gap:10px 20px;flex-wrap:wrap;color:#e9d3bc;font-size:12px}
.hero-facts li::before{content:"✦";color:var(--saffron);padding-right:8px}
.marquee{overflow:hidden;background:#65212a;color:#f5ddba;padding:10px 0;border-top:1px solid #b9675d;font-family:var(--display);font-size:clamp(14px,2vw,23px);white-space:nowrap}
.marquee-track{display:flex;width:max-content;animation:marquee 46s linear infinite}
.marquee:hover .marquee-track{animation-play-state:paused}
.marquee b{font:400 .62em var(--text);padding:0 clamp(12px,3vw,44px);color:#edb965}
@keyframes marquee{to{transform:translateX(-50%)}}
.sale-section,.catalog,.delivery-section{padding-top:clamp(32px,5vw,76px);padding-bottom:clamp(36px,6vw,88px)}
.sale-section{padding-bottom:clamp(20px,4vw,55px)}
.section-title{display:flex;align-items:flex-end;flex-wrap:wrap;gap:8px 27px;margin-bottom:22px}
.section-title>p{max-width:335px;color:var(--muted);font-size:14px;padding-bottom:2px}
.kicker{color:var(--jamon);margin-bottom:6px}
.sale-controls{display:flex;gap:6px;margin-left:auto}
.sale-controls button,.close{background:var(--paper);border:1px solid var(--line);border-radius:50%;width:39px;height:39px;color:var(--ink);font-size:26px;line-height:1;display:grid;place-items:center}
.sale-controls button:hover,.close:hover{background:#eadbc6}
.sale-track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(155px,61%);gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 0 12px;scrollbar-color:#a35c48 #ebdecf;scrollbar-width:thin}
.sale-track .product{scroll-snap-align:start}
.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.product{display:flex;flex-direction:column;min-width:0;border-radius:15px;border:1px solid #e3d4c1;background:var(--paper);box-shadow:0 4px 14px #492a1610;overflow:hidden;isolation:isolate}
.product-media{position:relative;background:#e5d4bc}
.photo-button{display:block;width:100%;padding:0;border:0;background:none;overflow:hidden;aspect-ratio:1.15}
.photo-button img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.photo-button:hover img{transform:scale(1.045)}
.discount{position:absolute;left:9px;top:9px;border-radius:5px;background:#f4c570;color:#532016;font-size:13px;font-weight:800;padding:3px 8px;pointer-events:none;animation:badge 3s ease-in-out infinite}
@keyframes badge{50%{transform:scale(1.05)}}
.product-body{padding:10px;display:flex;flex-direction:column;align-items:flex-start;flex:1}
.stock{font-size:11px;font-weight:800;color:#704126;line-height:1.4;padding:3px 6px;border-radius:4px;background:#f3e3d5}
.stock-good{color:#455422;background:#e7ecd9}
.product h3{font-size:clamp(13px,1.3vw,17px);overflow-wrap:anywhere;margin-top:7px}
.facts{font-size:12px;color:var(--muted);margin:5px 0 8px}
.product-note{font-size:12px;color:#782832;background:#f8e9df;border-radius:4px;padding:4px 6px;margin-bottom:8px}
.product-foot{width:100%;display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:auto}
.prices{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:7px;line-height:1.1;font-variant-numeric:tabular-nums}
.prices strong{font-size:clamp(15px,1.5vw,20px)}
.prices del{color:var(--muted);font-size:12px}
.product-action{width:100%}
.add{width:100%;min-height:34px;font-size:12px;border-color:#caa992;color:#772937}
.add:hover:not(:disabled){background:#f2dfd6}
.add:disabled{background:#efe6da;color:#725d51;border-color:transparent}
.qty{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:34px;border:1px solid #d2b69e;border-radius:8px;font-weight:800;font-variant-numeric:tabular-nums}
.product-action .qty{width:100%}
.qty button{align-self:stretch;border:0;background:transparent;color:var(--ink);min-width:30px;font-size:19px;padding:1px 5px}
.qty button:disabled{opacity:.4}
.catalog{border-top:1px solid var(--line)}
.catalog-bar{position:sticky;z-index:8;top:var(--header-height);background:var(--cream);border-bottom:1px solid var(--line);padding:8px 0;box-shadow:0 6px 9px #4430190b}
.catalog-tools{display:flex;align-items:center;flex-wrap:wrap;gap:7px 16px}
.search{display:flex;gap:8px;align-items:center;background:var(--paper);border-radius:7px;border:1px solid var(--line);padding-left:10px;min-width:0;flex:1;max-width:360px;color:var(--muted)}
.search input{background:none;border:0;padding:7px;color:var(--ink);min-width:0;width:100%}
.available-filter{display:flex;gap:5px;align-items:center;font-size:12px;font-weight:700}
input[type=checkbox]{accent-color:var(--jamon)}
.catalog-tabs,.subnav{padding:5px 0 3px;display:flex;gap:7px;overflow-x:auto;scrollbar-width:thin;position:relative}
.catalog-tabs a,.subnav a{flex-shrink:0;padding:5px 11px;border-radius:18px;position:relative;font-size:13px;font-weight:800;text-decoration:none;white-space:nowrap}
.catalog-tabs a{z-index:1}
.catalog-tabs a[aria-current]{color:#fff8ed;background:var(--jamon)}
.catalog-tabs.with-marker a[aria-current]{background:transparent}
.catalog-tabs .active-marker{position:absolute;top:5px;height:30px;left:0;border-radius:18px;background:var(--jamon);transform-origin:left center;pointer-events:none}
.subnav a{border:1px solid var(--line);background:var(--paper)}
.category,.subcategory{scroll-margin-top:var(--catalog-offset)}
.category{padding:28px 0 40px}
.category+.category{border-top:1px solid var(--line)}
.category-heading,.subheading{margin-bottom:14px}
.category-heading p,.subheading p{max-width:76ch;color:var(--muted);margin-top:5px}
.subheading h3{font-family:var(--display);font-size:clamp(23px,3vw,42px);font-weight:400;letter-spacing:-.03em}
.subcategory{margin-top:20px}
.subcategory+.subcategory{margin-top:34px}
.search-empty{padding:24px 0}
.how-section{background:#eadcca;padding-block:clamp(30px,6vw,80px);position:relative;border-block:1px solid #dac4aa}
.how-section::before{content:"";position:absolute;top:-7px;left:0;right:0;height:12px;opacity:.58;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cpath d='M0 6 6 0l6 6-6 6zm12 0 6-6 6 6-6 6z' fill='none' stroke='%238b1e2d'/%3E%3C/svg%3E")}
.how-grid,.delivery-grid{display:grid;gap:12px;margin-top:20px}
.how-grid{list-style:none;padding:0;counter-reset:steps}
.how-grid li,.delivery-grid>div{padding:20px;background:var(--paper);border:1px solid var(--line);border-radius:14px}
.how-grid li{counter-increment:steps}
.how-grid li::before{content:counter(steps);font:400 26px var(--display);color:var(--jamon);display:block;margin-bottom:14px}
.how-grid p,.delivery-grid p{margin-top:6px;color:var(--muted)}
.footer{background:var(--bodega);color:var(--cream);padding:36px 0 70px}
.footer-main,.footer-bottom{display:grid;gap:15px}
.footer-main h3{margin-bottom:5px}
.footer .kicker{color:#edbf87}
.footer-main a{display:block}
.footer-main p,.footer-bottom{font-size:13px;color:#e8d6c5}
.footer-bottom{border-top:1px solid #8d694f;margin-top:24px;padding-top:12px}
.legal{padding-block:38px 70px;max-width:980px}
.legal h1{font-size:clamp(30px,5vw,55px);margin:20px 0}
.legal h2{font-size:clamp(22px,3vw,32px);margin:28px 0 8px}
.legal a,.order-error{color:var(--jamon)}
dialog{padding:0;border:0;color:var(--ink);background:var(--paper);max-height:calc(100% - 20px);border-radius:16px}
dialog::backdrop{background:#160c08a8;backdrop-filter:blur(4px)}
.product-dialog{width:min(780px,calc(100% - 24px))}
.modal-inner{position:relative;display:grid;gap:18px;padding:18px}
.modal-inner .close{position:absolute;right:10px;top:10px;z-index:1}
.modal-inner img{max-height:min(50vh,450px);width:100%;object-fit:contain;background:#ecddca;border-radius:12px}
.modal-inner h2{font-size:clamp(24px,4vw,38px)}
.modal-inner p{white-space:pre-line;margin:12px 0}
.cart-dialog{margin:0 0 0 auto;width:100%;max-width:100%;height:100%;max-height:100%;border-radius:0;overflow:hidden}
.drawer{overflow-y:auto;overscroll-behavior:contain;height:100%;padding:22px clamp(16px,4vw,32px) 30px;position:relative}
.drawer-head,.cart-total{display:flex;align-items:center;justify-content:space-between;gap:12px}
.drawer-head{margin-bottom:17px}
.drawer-head h2{font-size:clamp(29px,5vw,43px)}
.close{flex:none}
.cart-line{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:9px;border-bottom:1px solid var(--line);padding:9px 0}
.cart-line img{width:54px;height:54px;object-fit:cover;border-radius:7px;background:#eddfcd}
.cart-line h3{font-size:13px;overflow-wrap:anywhere}
.cart-line p,.remove{font-size:12px;color:var(--muted)}
.cart-line .qty{gap:4px}
.remove{background:none;border:0;text-decoration:underline;padding:0}
.cart-total{font-weight:800;border-bottom:1px solid var(--line);padding:13px 0;margin-bottom:17px}
.cart-total strong{font-size:24px;font-variant-numeric:tabular-nums}
#order-form{display:grid;gap:10px}
#order-form>h3{font-size:19px}
.checkout-grid{display:grid;gap:10px;grid-template-columns:1fr 1fr}
#order-form label{font-size:13px;font-weight:700;min-width:0}
#order-form input:not([type=checkbox]),#order-form textarea{display:block;width:100%;border-radius:7px;border:1px solid #c9b29a;background:#fffaf5;color:var(--ink);padding:9px;margin-top:4px;font-size:16px}
#order-form textarea{resize:vertical}
#order-form small{color:var(--muted);font-weight:500}
.trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.consent{display:grid;grid-template-columns:auto 1fr;align-items:start;gap:8px}
.consent a{color:var(--jamon)}
.order-error{font-size:13px;font-weight:800;white-space:pre-line}
.submit:disabled{opacity:.55}
.thanks{display:grid;justify-items:center;text-align:center;align-content:center;min-height:60vh;gap:16px}
.thanks h3{font:400 37px var(--display)}
.thanks p{max-width:30ch}
.checkmark{color:var(--olive)}
.checkmark path{stroke-dasharray:80;animation:draw-check .65s ease both}
@keyframes draw-check{from{stroke-dashoffset:80}to{stroke-dashoffset:0}}
#confetti{position:absolute;inset:0;pointer-events:none;width:100%;height:100%}
.float-cart{position:fixed;z-index:11;bottom:max(12px,env(safe-area-inset-bottom));right:var(--side);background:var(--jamon);border-color:#e7b1a7;padding:11px 15px;box-shadow:0 10px 28px #230a1050}
.cookie-banner{position:fixed;z-index:13;bottom:10px;left:10px;right:10px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--paper);box-shadow:0 8px 35px #20160e40;display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:13px}
.no-script{text-align:center;padding:8px}
.fly-product{position:fixed;top:0;left:0;z-index:9999;object-fit:cover;pointer-events:none;border-radius:14px;box-shadow:0 8px 18px #28100b44}
@media(min-width:570px){
  .header-cart-label{display:inline}
  .hero-layout{grid-template-columns:1.12fr 1fr;gap:0 10px}
  .hero-copy{padding-block:45px}
  .hero h1{font-size:clamp(42px,6.55vw,105px)}
  .hero-visual{height:clamp(270px,42vw,570px);margin:12px 0 0}
  .hero-facts{font-size:14px;margin-top:4px;padding:17px 0}
  .hero-seal{width:clamp(65px,8vw,111px);font-size:clamp(20px,3vw,30px)}
  .hero-seal small{font-size:10px}
  .sale-track{grid-auto-columns:calc((100% - 24px)/3)}
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .product-body{padding:13px}
  .how-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .delivery-grid,.modal-inner{grid-template-columns:1fr 1fr}
  .footer-main{grid-template-columns:1.4fr 1fr 1fr}
  .footer-bottom{display:flex;gap:22px}
  .cart-dialog{max-width:520px}
}
@media(min-width:865px){
  :root{--header-height:76px;--catalog-offset:100px}
  .header-inner{gap:24px}
  .header-nav{display:flex;gap:clamp(12px,2.3vw,31px);margin-left:auto}
  .header-nav a,.header-phone{text-decoration:none;font-weight:700;font-size:13px;white-space:nowrap}
  .header-nav a:hover,.header-phone:hover{color:#efba79}
  .header-phone{display:block}
  .header-cart{margin:0;padding:9px 12px}
  .mobile-menu,.float-cart{display:none}
  .hero-layout{column-gap:20px;grid-template-columns:1.08fr 1fr}
  .hero-copy{padding-block:66px}
  .hero-visual{height:clamp(395px,37vw,550px);margin-top:20px}
  .hero-facts{gap:28px}
  .section-title{margin-bottom:26px}
  .sale-track{grid-auto-columns:calc((100% - 48px)/4);gap:16px}
  .product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
  .product-body{padding:14px}
  .product-foot{flex-wrap:nowrap;justify-content:space-between}
  .product-action{width:auto;margin-left:auto}
  .product-action:has(.add:disabled){width:auto}
  .add{padding:7px 10px}
  .footer{padding-bottom:34px}
}
@media(min-width:1250px){
 .hero-layout{grid-template-columns:1.03fr 1fr;column-gap:42px}
 .hero-copy{padding-block:66px}
 .hero h1 span:last-child{font-size:.83em;white-space:nowrap}
 .wordmark strong{font-size:17px}
 .sale-track{grid-auto-columns:calc((100% - 64px)/5)}
 .product-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
}

.detail-thumbnails{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}
.detail-thumbnails button{padding:3px;border:1px solid var(--line);border-radius:7px;background:var(--paper)}
.detail-thumbnails button[aria-pressed=true]{border-color:var(--jamon);outline:1px solid var(--jamon)}
.detail-thumbnails img{width:53px;height:53px;object-fit:cover;border-radius:4px}
