@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&display=swap');

:root{color-scheme:light;--ink:#2c2019;--paper:#faf3e7;--cream:#fff9f0;--rust:#983d23;--gold:#f1b66b;--line:#dfcdb7;--muted:#725a49;--display:"Playfair Display",Georgia,serif;--sans:"DM Sans",Arial,sans-serif}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans)}
button,input{font:inherit}
button,a,input{outline-offset:4px}
a{color:inherit}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.5}
.wrap{width:min(1180px,calc(100% - 64px));margin-inline:auto}
.top{background:#231711;color:#fff0d9;border-bottom:1px solid #543525}
.head,.head nav,.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}
.head{min-height:74px}
.wordmark{font:700 clamp(17px,3vw,25px)/1 var(--display);text-decoration:none;white-space:nowrap}
.wordmark span{color:var(--gold)}
.head nav a{text-decoration:none;font-weight:600}
.cart-button,.icon{border:1px solid #946449;border-radius:5px;background:transparent;color:inherit;padding:9px 13px}
.cart-button span{margin-left:6px;color:var(--gold);font-weight:700}
.hero{background:#2b1a14 radial-gradient(ellipse at 80% 55%,#a45729 0%,#452719 36%,#241610 70%);background-image:linear-gradient(90deg,#21150eea 0%,#21150e99 37%,transparent 68%),url('/hero.webp'),radial-gradient(ellipse at 80% 55%,#a45729,#241610 68%);background-size:cover;background-position:center 54%;color:#fff1d9;border-bottom:4px solid #a45c32}
.hero-inner{padding-block:76px 84px}
.eyebrow{font-size:.74rem;text-transform:uppercase;letter-spacing:.15em;font-weight:800;color:var(--rust)}
.hero .eyebrow{color:var(--gold)}
h1,h2,h3{font-family:var(--display);line-height:1.07;margin:0}
h1{font-size:clamp(4rem,9vw,7.2rem);letter-spacing:-.065em}
h1 em{color:var(--gold);font-weight:600}
.hero-inner>p:not(.eyebrow){font-size:1.05rem;margin:24px 0;color:#f0ddc6;max-width:290px}
.primary{background:var(--rust);color:#fff8eb;border:1px solid transparent;border-radius:5px;display:inline-flex;align-items:center;gap:18px;padding:12px 17px;font-weight:700;text-decoration:none}
.hero .primary{background:var(--gold);color:#28180e}
.catalog{padding-block:49px 72px;scroll-margin-top:18px}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:24px}
.section-head h2{font-size:clamp(2rem,5vw,3.3rem);letter-spacing:-.04em}
#results{white-space:nowrap;color:var(--muted);margin:0 0 4px;font-size:.92rem}
.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}
.filters button,.secondary{background:transparent;border:1px solid var(--line);padding:8px 13px;border-radius:5px;color:var(--ink);font-weight:600}
.filters [aria-pressed=true]{background:#341f15;color:#fff1de;border-color:#341f15}
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.product{border:1px solid var(--line);background:var(--cream);border-radius:7px;overflow:hidden}
.product-art{display:grid;place-items:center;height:195px;background:#f7f6f4;overflow:hidden}
.product-photo,.product-photo img{width:100%;height:100%}
.product-photo{min-height:0;overflow:hidden}
.product-photo img{display:block;object-fit:cover}
.art-1 img{object-position:center 58%}
.art-2 img,.art-4 img,.art-6 img{object-fit:contain;background:#fff}
.art-7 img{object-position:center 39%}
.art-8 img{object-position:center 58%}
.art-9 img,.art-10 img{object-position:center 56%}
.art-3,.art-5{background:#f6f6f6}
.art-3 .product-photo,.art-5 .product-photo{position:relative;width:auto;height:100%;aspect-ratio:170 / 410}
.art-3 img,.art-5 img{position:absolute;width:376.47%;height:auto;max-width:none;top:-5.37%}
.art-3 img{left:-248.24%}
.art-5 img{left:-140.59%}
.product-info{padding:14px 15px}.product-info .eyebrow{letter-spacing:.075em;margin:0 0 6px;font-size:.64rem}
.product h3{font-size:1.26rem;min-height:2.35em}
.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}
.product-bottom button,.quantity button{min-width:35px;min-height:35px;border:1px solid var(--line);color:var(--rust);background:#fffcf5;border-radius:5px;font-weight:700}
footer{background:#231711;color:#f0dcc3;padding:33px 0;font-size:.9rem}
footer p{margin:9px 0}
dialog{max-width:min(480px,calc(100% - 24px));width:100%;border:1px solid var(--line);border-radius:8px;padding:24px;background:var(--cream);color:var(--ink)}
dialog::backdrop{background:#1c110dc0}
.dialog-head,.cart-line,.quantity{display:flex;justify-content:space-between;align-items:center;gap:9px}
.cart-line{border-bottom:1px solid var(--line);padding:10px 0}
.cart-line p,#checkout p{margin:5px 0;color:var(--muted);font-size:.9rem}
.quantity span{min-width:1.8em;text-align:center}
.total{margin:15px 0}
.total div{display:flex;justify-content:space-between;gap:12px;padding:4px 0}
.total div:last-child{border-top:1px solid var(--line);font-weight:800;margin-top:4px;padding-top:8px}
.total dd{margin:0;white-space:nowrap}
.age{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.notice{padding:10px 12px;background:#f4dfc5;border-radius:4px}
.admin{padding-block:35px 55px}.admin h1{font-size:clamp(2rem,5vw,3.5rem);letter-spacing:-.04em;margin-bottom:20px}
.admin section,.login{padding:20px;background:var(--cream);border:1px solid var(--line);border-radius:7px;margin:18px 0}
.login{max-width:420px}.admin h2{margin-bottom:13px}.admin input:not([type=checkbox]){border:1px solid var(--line);border-radius:4px;padding:9px;background:white;max-width:100%}
.login label{display:grid;gap:7px;margin-bottom:14px}
.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th,td{padding:9px;border-bottom:1px solid var(--line)}th{white-space:nowrap}td input{width:76px}
.order{padding:13px 0;border-bottom:1px solid var(--line)}.order button{margin-right:8px;margin-bottom:4px}.settings-form{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
@media(max-width:860px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:610px){.wrap{width:calc(100% - 32px)}.head,.head nav{gap:10px}.head nav>a{display:none}.hero{background-position:57% center}.hero-inner{padding-block:55px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.product-info{padding:10px}.product-art{height:155px}.section-head{align-items:start;flex-direction:column;gap:5px}.footer-inner{align-items:start;flex-direction:column;gap:12px}}

.delivery-fields{border:1px solid var(--line);border-radius:5px;margin:0 0 12px;padding:10px}
.delivery-fields legend{padding-inline:4px;font-weight:700}
.delivery-fields label{display:grid;gap:4px;margin-bottom:8px;font-size:.9rem}
.delivery-fields input{min-width:0;width:100%;padding:7px 9px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink)}
.address-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:8px}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.storefront-top{background:#fff8ed;color:var(--ink);border-color:#ddcbb5}
.storefront-top .head{min-height:83px}
.storefront-top .cart-button{border-color:#dac2a6;border-radius:99px;padding:9px 14px}
.storefront-top .cart-button span{display:inline-grid;place-items:center;min-width:1.55rem;height:1.55rem;background:#ebd9c2;border-radius:50%;color:#672b1c}
.brandmark{display:block;line-height:0;padding:8px 0}
.brandmark img{display:block;width:clamp(104px,15vw,160px);height:67px;object-fit:contain;object-position:left center}
.brewery-carousel{position:relative;background:#1a1518;border-bottom:1px solid #805838;color:#fff5e7}
.brewery-slide{--edge:#101b22;--highlight:#ffd7a1;--art:url('/banner-escafandrista.webp');display:block;text-decoration:none;background-color:var(--edge);background-image:linear-gradient(90deg,#100b0aed 0%,#110b0ad4 30%,#110b0a56 64%,#110b0a1f 100%),linear-gradient(0deg,#120c0bbd,transparent 38%),var(--art);background-position:center,center,var(--focus,center 55%);background-size:cover;color:#fff5e7}
.banner-fermi{--art:url('/banner-fermi.webp');--edge:#22152f;--highlight:#e5c4ff;--focus:center 49%}
.banner-trilha{--art:url('/banner-trilha.webp');--edge:#392117;--highlight:#ffdc99;--focus:center 57%}
.banner-equilibrew{--art:url('/banner-equilibrew.webp');--edge:#142e2d;--highlight:#ade8dc;--focus:center 52%}
.banner-inner{display:flex;align-items:center;min-height:clamp(385px,40vw,565px);padding-block:44px 94px}
.banner-copy{max-width:650px;animation:copy-appear .38s ease-out}
@keyframes copy-appear{from{opacity:.65;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.banner-copy .eyebrow{display:flex;align-items:center;gap:14px;color:var(--highlight);margin:0 0 12px}
.banner-copy .eyebrow::before{content:"";width:25px;height:1px;background:currentColor}
.banner-copy h2{font-size:clamp(2.65rem,7.7vw,7rem);letter-spacing:-.055em;text-wrap:balance}
.banner-copy>p:not(.eyebrow){color:#faeee3;font-size:clamp(1rem,2vw,1.17rem);line-height:1.5;margin:17px 0 25px;max-width:34ch}
.banner-link{display:inline-flex;align-items:center;gap:17px;border-radius:99px;padding:11px 16px;background:var(--highlight);color:var(--edge);font-size:.92rem;font-weight:800}
.brewery-slide:hover .banner-link,.brewery-slide:focus-visible .banner-link{background:#fff6e9}
.carousel-controls{position:absolute;left:0;right:0;bottom:18px;display:flex;gap:9px;align-items:center}
.carousel-dot{border:0;background:transparent;color:#fff;width:25px;height:30px;padding:0;display:grid;place-items:center}
.carousel-dot::before{content:"";height:3px;width:19px;border-radius:99px;background:#fff6}
.carousel-dot[aria-current=true]::before{background:#ffdcaa}
.carousel-toggle{border:0;background:none;color:#fff;text-decoration:underline;text-underline-offset:3px;font-size:.83rem;padding:6px}
.catalog{padding-top:55px}
.catalog .section-head{border-bottom:1px solid var(--line);padding-bottom:20px}
.catalog .section-head .eyebrow{margin:0 0 8px;letter-spacing:.13em}
.catalog .filters button{border-radius:99px;background:#fff8ee;padding:7px 14px}
.catalog .filters [aria-pressed=true]{background:#341f15;color:#fff1de;border-color:#341f15}
.catalog .grid{gap:20px}
.catalog .product{border-radius:12px;transition:box-shadow .22s ease,border-color .22s ease}
.catalog .product:hover,.catalog .product:focus-within{border-color:#bc8b6a;box-shadow:0 10px 22px #69452a17}
.catalog .product-art{height:clamp(170px,19vw,245px);border-bottom:1px solid #e9dccc}
.catalog .product-info{padding:16px}
.catalog .product-bottom button{border-radius:50%}
.catalog .product-bottom button:disabled{border-radius:5px}
.catalog-anchor{display:block;scroll-margin-top:18px}
.product{position:relative}
.product-title{color:inherit;background:none;border:0;padding:0;text-align:left;font:inherit;cursor:pointer}
.product-title::after{content:"";position:absolute;inset:0}
.product-title:hover,.product-title:focus-visible{text-decoration:underline;text-underline-offset:.15em}
.product-bottom button{position:relative;z-index:1}
#beer-detail{max-width:min(690px,calc(100% - 24px))}
#beer-detail .eyebrow{margin:0 0 5px}
.beer-detail-body{display:grid;grid-template-columns:minmax(140px, .78fr) minmax(0,1fr);gap:20px;margin-top:16px}
.beer-detail-body .product-art{height:100%;min-height:210px;border-radius:5px}
.beer-specs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}
.beer-specs div{padding:8px 9px;background:#f4e6d5;border-radius:5px}
.beer-specs dt{font-size:.78rem;color:var(--muted)}
.beer-specs dd{margin:3px 0 0;font-weight:700}
.beer-detail-body p{margin:10px 0;line-height:1.5}
.beer-detail-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:19px;padding-top:12px;border-top:1px solid var(--line)}
@media(max-width:610px){
  .storefront-top .head{min-height:65px}.brandmark img{height:51px}
  .brewery-slide{background-position:center,center,65% center}
  .banner-inner{min-height:340px;padding-block:33px 66px}
  .banner-copy h2{font-size:clamp(2.35rem,10vw,4rem)}
  .banner-copy .eyebrow{letter-spacing:.08em;font-size:.69rem}
  .banner-copy>p:not(.eyebrow){font-size:.95rem;margin:13px 0 17px}
  .carousel-controls{bottom:11px}
  .catalog{padding-top:34px}.catalog .grid{gap:10px}.catalog .product-art{height:155px}.catalog .product-info{padding:11px}
  .catalog .filters button{padding:6px 10px;font-size:.86rem}
  .beer-detail-body{grid-template-columns:1fr;gap:10px}.beer-detail-body .product-art{height:125px;min-height:0}.beer-detail-actions .primary{font-size:.86rem}
}

@media(prefers-reduced-motion:reduce){.banner-copy{animation:none}.catalog .product{transition:none}}

.cart-feedback{position:fixed;inset:auto max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) auto;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:14px;width:min(410px,calc(100% - 32px));padding:13px;border:1px solid #cba786;border-left:4px solid var(--rust);border-radius:9px;background:var(--cream);color:var(--ink);box-shadow:0 8px 28px #29180f40}
.cart-feedback-copy{display:grid;gap:3px;overflow-wrap:anywhere}
.cart-feedback-copy span{font-size:.9rem;color:var(--muted)}
.cart-feedback .primary{flex:none;font-size:.87rem;padding:9px 11px}
#beer-detail .cart-feedback{position:static;width:100%;margin-top:12px;box-shadow:none}

.admin-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}
.admin-section-head h2{margin:0}
#product-editor{max-width:min(720px,calc(100% - 24px))}
.product-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}
.product-fields label{display:grid;gap:5px;font-weight:600;font-size:.9rem}
.product-fields .field-wide{grid-column:1/-1}
.product-fields textarea{width:100%;border:1px solid var(--line);border-radius:4px;padding:9px;background:white;color:inherit;font:inherit;resize:vertical}
#product-photo-tip{color:var(--muted);font-size:.9rem}
.admin-photo-preview{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.admin-photo-preview img{width:64px;height:64px;object-fit:contain;background:white;border:1px solid var(--line);border-radius:5px}
.no-product-photo{color:var(--muted);font-size:.9rem}
.beer-detail-body .product-art{height:clamp(125px,36vw,240px);min-height:0}
.photo-controls{display:flex;justify-content:center;gap:4px;margin-top:7px}
.photo-controls [aria-pressed=true]{background:var(--rust);color:white;border-color:var(--rust)}
@media(max-width:430px){.admin-section-head{align-items:start;flex-direction:column}.product-fields{grid-template-columns:1fr}}
