:root{
  --ink:#191214;
  --muted:#75666a;
  --paper:#fbf7f4;
  --panel:#ffffff;
  --soft:#f0e5df;
  --rose:#a91f3d;
  --rose-dark:#70172d;
  --wine:#321720;
  --line:#eadbd5;
  --gold:#bd8b54;
  --shadow:0 18px 50px rgba(37,18,24,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body.no-scroll{overflow:hidden}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
img{display:block;max-width:100%}
.nav{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem clamp(1rem,4vw,3.5rem);background:rgba(251,247,244,.94);border-bottom:1px solid var(--line);backdrop-filter:blur(18px)}
.brand{display:flex;align-items:center;gap:.8rem;font-weight:800;letter-spacing:.01em}
.brand img{width:42px;height:42px;border-radius:50%;object-fit:cover;border:1px solid var(--line)}
.nav-actions{display:flex;align-items:center;gap:1rem;color:var(--muted);font-size:.95rem;font-weight:700}
.nav-actions>a{padding:.55rem 0}
.icon-button,.primary,.secondary,.cart-button,.add-btn,.whatsapp-btn{border:0;border-radius:8px;min-height:42px;padding:.75rem 1rem;font-weight:800}
.cart-button{display:inline-flex;align-items:center;gap:.55rem;background:var(--ink);color:#fff}
.cart-button strong{display:grid;place-items:center;min-width:1.45rem;height:1.45rem;border-radius:999px;background:var(--gold);color:var(--ink);font-size:.78rem}
.primary{display:inline-flex;align-items:center;justify-content:center;background:var(--rose);color:#fff;box-shadow:0 12px 24px rgba(169,31,61,.18)}
.secondary{display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.48);color:#fff}
.hero{position:relative;min-height:74vh;display:flex;align-items:flex-end;overflow:hidden;padding:clamp(1.4rem,4vw,4rem);background:linear-gradient(90deg,rgba(25,18,20,.82) 0%,rgba(25,18,20,.42) 52%,rgba(25,18,20,.08) 100%),url("assets/cover.jpg") center/contain no-repeat #000}
.hero-media{display:none}
.hero-content{width:min(780px,100%);color:#fff;padding:12vh 0 5vh}
.eyebrow,.section-heading p,.checkout-copy p:first-child{margin:0 0 .7rem;color:#d7a0a9;text-transform:uppercase;font-size:.76rem;letter-spacing:.12em;font-weight:900}
.hero h1,.section-heading h2,.checkout-copy h2{font-family:"Playfair Display",Georgia,serif;letter-spacing:0;line-height:.98}
.hero h1{font-size:clamp(3rem,8vw,7.2rem);max-width:820px;margin:0 0 1rem}
.hero-content>p:not(.eyebrow){max-width:620px;margin:0;color:#f3e9e4;font-size:1.08rem;line-height:1.7}
.hero-actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.6rem}
.trust-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border-bottom:1px solid var(--line)}
.trust-strip div{display:grid;gap:.3rem;background:#fff;padding:1.1rem clamp(1rem,4vw,3.5rem)}
.trust-strip strong{font-size:.98rem}
.trust-strip span{color:var(--muted);font-size:.9rem}
.category-overview,.catalog-section,.checkout-section{padding:clamp(2.4rem,5vw,4.8rem) clamp(1rem,4vw,3.5rem)}
.section-title{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.section-title h2{font-family:"Playfair Display",Georgia,serif;font-size:clamp(2rem,4vw,3.8rem);line-height:.98;margin:0}
.section-title p{margin:0 0 .7rem;color:#d7a0a9;text-transform:uppercase;font-size:.76rem;letter-spacing:.12em;font-weight:900}
.section-heading h2{margin:0;font-size:clamp(2rem,4vw,3.8rem)}
.category-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-top:1.4rem}
.category-tile{position:relative;display:grid;align-content:end;min-height:210px;overflow:hidden;text-align:left;border:1px solid var(--line);border-radius:8px;background:var(--wine);color:#fff;padding:1rem}
.category-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.6;transition:transform .35s ease,opacity .35s ease}
.category-tile::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 20%,rgba(25,18,20,.82))}
.category-tile:hover img{transform:scale(1.04);opacity:.74}
.category-tile span,.category-tile small{position:relative;z-index:1}
.category-tile span{font-family:"Playfair Display",Georgia,serif;font-size:1.35rem;font-weight:700}
.category-tile small{color:#f1d9d4;font-weight:700;margin-top:.2rem}
.catalog-section{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.catalog-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,520px);align-items:end;gap:2rem;margin-bottom:1.3rem}
.filters{display:grid;gap:.55rem}
.filters label{color:var(--muted);font-size:.75rem;font-weight:900;text-transform:uppercase;letter-spacing:.1em}
.filter-row{display:grid;grid-template-columns:1fr 165px;gap:.75rem}
.filters input,.filters select,.checkout-form input,.checkout-form select,.checkout-form textarea{width:100%;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);outline:none;padding:.85rem .95rem}
.filters input:focus,.filters select:focus,.checkout-form input:focus,.checkout-form select:focus,.checkout-form textarea:focus{border-color:var(--rose);box-shadow:0 0 0 3px rgba(169,31,61,.12)}
.category-tabs{display:flex;gap:.55rem;overflow:auto;padding:.2rem 0 .9rem;scrollbar-width:thin}
.category-tabs button{white-space:nowrap;border:1px solid var(--line);border-radius:999px;background:var(--paper);color:var(--muted);padding:.62rem .9rem;font-weight:800}
.category-tabs button.active{background:var(--ink);border-color:var(--ink);color:#fff}
.category-tabs span{opacity:.72;margin-left:.25rem}
.active-category{margin:.3rem 0 1.2rem;color:var(--muted);font-size:.92rem;font-weight:800}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.15rem}
.product-card{display:grid;grid-template-rows:auto 1fr;min-width:0;background:var(--panel);border:1px solid var(--line);border-radius:8px;overflow:hidden;box-shadow:0 5px 18px rgba(37,18,24,.05)}
.product-image-wrap{position:relative}
.product-image{width:100%;aspect-ratio:1/1;border:0;background:var(--soft);padding:0;overflow:hidden}
.product-image img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .28s ease}
.product-card:hover .product-image img{transform:scale(1.035)}
.carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:999px;border:0;background:rgba(255,255,255,.92);color:var(--ink);font-size:1.35rem;font-weight:900;display:grid;place-items:center;box-shadow:0 4px 12px rgba(0,0,0,.18);opacity:0;transition:opacity .2s ease;z-index:2;padding:0;line-height:1}
.product-image-wrap:hover .carousel-arrow,.product-image-wrap:focus-within .carousel-arrow{opacity:1}
.carousel-prev{left:.5rem}
.carousel-next{right:.5rem}
.carousel-counter{position:absolute;bottom:.5rem;right:.5rem;background:rgba(25,18,20,.72);color:#fff;font-size:.7rem;font-weight:800;padding:.18rem .5rem;border-radius:999px;z-index:2;letter-spacing:.02em}
@media (hover:none){
  .carousel-arrow{opacity:1;background:rgba(255,255,255,.42);color:#fff;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);box-shadow:0 2px 6px rgba(0,0,0,.18)}
  .carousel-counter{background:rgba(25,18,20,.55)}
}
.product-info{display:grid;gap:.65rem;padding:.9rem}
.category-pill{color:var(--rose);font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em;line-height:1.35}
.product-title{min-height:2.8rem;padding:0;border:0;background:transparent;color:var(--ink);font-weight:800;text-align:left;line-height:1.28}
.price-row{display:flex;align-items:center;justify-content:space-between;gap:.7rem;margin-top:.15rem}
.price{font-size:1.06rem;font-weight:900}
.add-btn{background:var(--wine);color:#fff;min-height:38px;padding:.55rem .8rem}
.sold-out{font-size:.82rem;color:var(--muted);font-weight:800}
.whatsapp-btn{display:flex;align-items:center;justify-content:center;min-height:40px;border:1px solid #cde6d6;background:#f2fbf4;color:#14723a;font-size:.84rem}
.empty-state{grid-column:1/-1;margin:0;padding:2rem;border:1px dashed var(--line);border-radius:8px;text-align:center;color:var(--muted)}
.cart-drawer{position:fixed;inset:0;z-index:50;display:none;justify-content:flex-end;background:rgba(25,18,20,.48)}
.cart-drawer.open{display:flex}
.cart-panel{width:min(430px,100%);height:100%;display:flex;flex-direction:column;background:var(--paper);box-shadow:var(--shadow);padding:1rem}
.cart-head,.cart-row,.cart-total{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.cart-head h2{margin:0;font-family:"Playfair Display",Georgia,serif;font-size:2rem}
.cart-head button,.dialog-close{border:1px solid var(--line);border-radius:999px;background:#fff;width:38px;height:38px;font-weight:900}
.cart-items{display:flex;flex-direction:column;gap:.6rem;overflow:auto;padding:1rem 0;flex:1;align-content:flex-start}
.cart-row{display:grid;grid-template-columns:54px 1fr auto;align-items:center;gap:.7rem;background:#fff;border:1px solid var(--line);border-radius:8px;padding:.55rem .65rem;min-height:72px;flex:0 0 auto}
.cart-thumb{width:54px;height:54px;border-radius:6px;object-fit:cover;background:var(--soft);border:1px solid var(--line)}
.cart-text{min-width:0;display:grid;gap:.15rem}
.cart-row h3{font-size:.88rem;line-height:1.2;margin:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.cart-row small{color:var(--muted);font-size:.78rem}
.qty{display:flex;align-items:center;gap:.45rem}
.qty button{width:30px;height:30px;border-radius:999px;border:1px solid var(--line);background:#fff}
.cart-total{border-top:1px solid var(--line);font-size:1.15rem;padding:1rem 0}
.wide{width:100%}
.checkout-section{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(0,1.25fr);gap:2rem;background:var(--wine);color:#fff}
.checkout-copy p:not(:first-child){color:#e8d6d1;line-height:1.7}
.checkout-form{display:grid;grid-template-columns:1fr 1fr;gap:1rem;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:8px;padding:1rem}
.checkout-form label{display:grid;gap:.42rem;color:#f1dcd7;font-size:.78rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.checkout-form .full,.checkout-form .status{grid-column:1/-1}
.checkout-form textarea{resize:vertical}
.status{margin:0;color:#f4c981;text-transform:none;letter-spacing:0;font-weight:700}
.status a{text-decoration:underline}
.product-dialog{width:min(920px,calc(100vw - 2rem));border:0;border-radius:8px;padding:0;background:#fff;color:var(--ink);box-shadow:var(--shadow)}
.product-dialog::backdrop{background:rgba(25,18,20,.62)}
.dialog-close{position:absolute;right:.75rem;top:.75rem;z-index:2}
.dialog-grid{display:grid;grid-template-columns:minmax(260px,.95fr) minmax(280px,1.05fr)}
.dialog-image{position:relative;aspect-ratio:1/1;background:#100a0c;display:grid;place-items:center;overflow:hidden}
.dialog-image img{width:100%;height:100%;object-fit:contain}
.dialog-arrow{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:999px;border:0;background:rgba(255,255,255,.94);color:var(--ink);font-size:1.65rem;font-weight:900;display:grid;place-items:center;box-shadow:0 6px 18px rgba(0,0,0,.32);z-index:2;padding:0;line-height:1}
.dialog-prev{left:.7rem}
.dialog-next{right:.7rem}
.dialog-counter{position:absolute;bottom:.7rem;right:.7rem;background:rgba(0,0,0,.6);color:#fff;font-size:.78rem;font-weight:800;padding:.22rem .6rem;border-radius:999px;z-index:2;letter-spacing:.02em}
.dialog-copy{display:grid;align-content:center;gap:1rem;padding:clamp(1.1rem,4vw,2rem)}
.dialog-copy h2{font-family:"Playfair Display",Georgia,serif;font-size:clamp(2rem,4vw,3rem);line-height:1;margin:0}
.dialog-copy strong{font-size:1.3rem}
.dialog-sizes{display:flex;flex-wrap:wrap;gap:.4rem;margin:.2rem 0}
.size-tag{display:inline-block;padding:.25rem .55rem;border:1px solid var(--line);border-radius:5px;font-size:.76rem;font-weight:700;color:var(--ink);background:var(--soft)}
.dialog-copy p{max-height:240px;overflow:auto;color:var(--muted);line-height:1.7;white-space:pre-line}
.dialog-actions{display:flex;gap:.7rem;flex-wrap:wrap}
.footer{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;background:var(--ink);color:#e4d6d1;padding:1rem clamp(1rem,4vw,3.5rem);font-size:.9rem}
.footer a{text-decoration:underline}
@media (max-width:1120px){
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .category-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:820px){
  .nav{align-items:flex-start}
  .nav-actions{gap:.65rem;flex-wrap:wrap;justify-content:flex-end;font-size:.86rem}
  .hero{min-height:68vh}
  .trust-strip,.checkout-section,.catalog-head{grid-template-columns:1fr}
  .category-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}
  .filter-row{grid-template-columns:1fr}
  .product-dialog{width:100vw;max-width:100vw;height:100vh;max-height:100vh;margin:0;border-radius:0}
  .dialog-grid{grid-template-columns:1fr;grid-template-rows:auto 1fr;height:100vh;overflow:auto}
  .dialog-image{aspect-ratio:auto;height:55vh;min-height:280px}
  .dialog-copy{align-content:start;padding:1.1rem 1rem 1.4rem}
}
@media (max-width:520px){
  .nav{padding:.7rem .85rem}
  .brand span{display:none}
  .brand img{width:38px;height:38px}
  .cart-button{min-height:38px;padding:.58rem .7rem}
  .cart-button span{display:none}
  .hero{min-height:58vh;padding:1rem}
  .hero h1{font-size:2.72rem}
  .hero-content{padding:7vh 0 3vh}
  .hero-content>p:not(.eyebrow){font-size:.98rem;line-height:1.55}
  .hero-actions .primary,.hero-actions .secondary{width:100%;min-height:44px}
  .nav-actions a{display:none}
  .trust-strip div{padding:.85rem 1rem}
  .category-overview,.catalog-section,.checkout-section{padding:2rem .85rem}
  .category-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
  .category-tile{min-height:150px;padding:.75rem}
  .category-tile span{font-size:1rem;line-height:1.05}
  .category-tile small{font-size:.75rem}
  .section-heading h2,.section-title h2,.checkout-copy h2{font-size:2rem}
  .filters input,.filters select{min-height:44px}
  .category-tabs{gap:.42rem;margin-left:-.85rem;margin-right:-.85rem;padding-left:.85rem;padding-right:.85rem}
  .category-tabs button{padding:.52rem .72rem;font-size:.82rem}
  .active-category{font-size:.84rem;margin-bottom:.8rem}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
  .product-info{padding:.62rem;gap:.48rem}
  .category-pill{font-size:.58rem;letter-spacing:.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .product-title{min-height:2.55rem;font-size:.82rem;line-height:1.22}
  .price-row{display:grid;grid-template-columns:1fr;align-items:stretch;gap:.45rem}
  .price{font-size:.96rem}
  .add-btn,.whatsapp-btn{width:100%;min-height:36px;padding:.48rem .5rem;font-size:.78rem}
  .carousel-arrow{width:28px;height:28px;font-size:1.05rem}
  .carousel-prev{left:.3rem}
  .carousel-next{right:.3rem}
  .carousel-counter{bottom:.3rem;right:.3rem;font-size:.62rem;padding:.12rem .38rem}
  .dialog-arrow{width:36px;height:36px;font-size:1.3rem}
  .checkout-form{grid-template-columns:1fr;padding:.85rem}
  .dialog-copy p{max-height:180px}
  .footer{font-size:.78rem}
}
