:root{--ink:#31302e;--wine:#914e5e;--wine-deep:#713c4b;--paper:#f6f3ed;--white:#fff;--sand:#eeeae3;--line:#ddd8d1;--gold:#9a6f78;--muted:#6e6967}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.55}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
button{cursor:pointer}
img{display:block;max-width:100%}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.shell{width:min(1200px,calc(100% - 48px));margin:auto}
.site-header{background:var(--white);border-bottom:1px solid var(--line)}
.header-inner{min-height:82px;display:flex;align-items:center;gap:52px}
.brand{font-family:Georgia,'Times New Roman',serif;font-size:32px;letter-spacing:-.055em;color:var(--wine-deep);line-height:1}
.brand-mark{font-family:Arial,sans-serif;font-size:12px;vertical-align:top;margin-left:5px;color:var(--gold)}
.main-nav,.account-links{display:flex;align-items:center;gap:30px;font-size:14px;font-weight:600}
.main-nav a:hover,.account-links a:hover,.underlined-link:hover{color:#8a4b5a}
.account-links{margin-left:auto;gap:18px}
.welcome{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}
.header-cta{border:1px solid var(--wine);padding:9px 16px}
.text-button{border:0;background:none;color:var(--wine);padding:0;text-decoration:underline;text-underline-offset:4px}
.hero{background:var(--wine-deep);color:var(--white);overflow:hidden}
.hero-grid{min-height:580px;display:grid;grid-template-columns:1.06fr .94fr;align-items:stretch}
.hero-copy{padding:100px 48px 94px 0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.hero-rule{width:70px;height:2px;background:var(--gold);margin-bottom:32px}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:400}
.hero h1{font-size:clamp(46px,5vw,76px);line-height:1.06;letter-spacing:-.047em;margin-bottom:27px}
.hero-copy>p{font-size:18px;line-height:1.7;max-width:470px;color:#e8dcd8}
.hero-actions{display:flex;align-items:center;gap:24px;margin-top:22px}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 23px;border:1px solid transparent;font-size:14px;font-weight:700;text-align:center;transition:background-color .15s,color .15s,border-color .15s}
.button-light{background:var(--white);color:var(--wine-deep)}
.button-light:hover{background:#eadfd1}
.button-dark{background:var(--wine);color:var(--white)}
.button-dark:hover{background:#6a3447}
.hero-art{position:relative;background:#503240;display:flex;align-items:center;justify-content:center;min-height:420px}
.hero-bottles{display:flex;align-items:end;justify-content:center;gap:4%;height:100%;width:100%;padding:42px 7% 32px;background:radial-gradient(circle at 50% 45%,#715366 0%,#503240 55%,#39232e 100%)}
.hero-bottles img{width:28%;height:86%;object-fit:contain;filter:drop-shadow(14px 18px 12px rgba(16,8,12,.4))}
.hero-bottles img:nth-child(2){height:96%;width:32%;z-index:1}
.hero-bottles img:nth-child(2){transform:scale(1.3);transform-origin:center center}
.collection-section{padding:90px 0 100px}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:34px}
.section-kicker{font-size:13px;letter-spacing:.025em;color:#89536a;font-weight:700;margin-bottom:11px}
.section-heading h2,.results-heading h2,.review-section h2{font-size:clamp(30px,3.1vw,42px);line-height:1.18;letter-spacing:-.035em;margin:0}
.underlined-link,.back-link{font-size:14px;border-bottom:1px solid currentColor;padding-bottom:3px}
.wine-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.wine-card{background:var(--white);min-width:0;border:1px solid #e7ded4}
.wine-image{height:290px;background:#ebe3da;display:flex;align-items:center;justify-content:center;overflow:hidden}
.wine-image img{width:100%;height:100%;object-fit:contain;padding:20px;transition:transform .25s;filter:drop-shadow(7px 12px 6px rgba(44,32,26,.24))}
.wine-image:hover img{transform:scale(1.035)}
.wine-card-copy{padding:24px}
.wine-origin{font-size:12px;color:var(--muted)}
.wine-card h3{font-size:23px;line-height:1.2;margin:10px 0 25px;min-height:55px}
.wine-card h3 a:hover{text-decoration:underline;text-underline-offset:3px}
.wine-card-bottom{border-top:1px solid var(--line);padding-top:16px;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:14px}
.wine-card-bottom span{font-weight:700}
.wine-card-bottom>a,.wine-card-bottom button{color:#81485c;text-decoration:underline;text-underline-offset:4px}
.site-footer{background:#251a20;color:#e6d9d4}
.footer-inner{display:flex;justify-content:space-between;gap:30px;padding:48px 0;font-size:13px}
.footer-inner p{margin:8px 0 0;max-width:360px}
.page-intro{padding:75px 0 50px;border-bottom:1px solid var(--line)}
.page-intro h1{font-size:clamp(40px,4.3vw,60px);line-height:1.1;letter-spacing:-.04em;margin:0 0 14px;max-width:690px}
.page-intro>p:last-child{color:var(--muted);font-size:16px;margin:0}
.catalog-layout{display:grid;grid-template-columns:240px 1fr;gap:50px;padding:50px 0 100px}
.filters{align-self:start;background:var(--white);border:1px solid var(--line);padding:25px;display:flex;flex-direction:column;gap:10px}
.filters label,.auth-panel label{font-size:13px;font-weight:700;margin-top:10px}
.filters input,.filters select,.auth-panel input{min-height:43px;width:100%;border:1px solid #bfb2aa;background:var(--white);color:var(--ink);padding:9px 12px;border-radius:0}
.filters .button{margin-top:17px}
.results-heading{display:flex;align-items:end;justify-content:space-between;gap:10px;margin:0 0 25px}
.results-heading h2{font-size:31px}
.results-heading span{color:var(--muted);font-size:13px}
.catalog-results .wine-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.empty-state{padding:50px;background:var(--white);border:1px solid var(--line)}
.empty-state h2{font-size:30px;margin:0 0 12px}
.empty-state .button{margin-top:12px}
.detail-page{padding:48px 0 100px}
.back-link{display:inline-block;margin-bottom:35px}
.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}
.detail-image{min-height:550px;background:#ebe3da;display:flex;align-items:center;justify-content:center}
.detail-image img{width:100%;height:550px;object-fit:contain}
.detail-copy h1{font-size:clamp(42px,4vw,62px);letter-spacing:-.045em;line-height:1.09;margin:0 0 12px}
.wine-type{color:var(--muted)}
.detail-price{font-family:Georgia,serif;font-size:31px;margin:32px 0}
.opinion{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:22px 0;margin-bottom:30px}
.opinion span{font-weight:700;font-size:13px;color:#89536a}
.opinion p{font-family:Georgia,serif;font-size:20px;line-height:1.55;margin:10px 0 0}
.demo-note{color:var(--muted);font-size:12px;margin-top:18px}
.review-section{margin-top:80px;border-top:1px solid var(--line);padding-top:35px;max-width:750px}
.review-section h2{margin-bottom:25px}
.review{border-bottom:1px solid var(--line);padding:20px 0}
.review span{float:right;color:#89536a;font-weight:700}
.review p{margin:10px 0 3px}
.review small{color:var(--muted)}
.auth-section{display:grid;grid-template-columns:1fr 430px;gap:10%;min-height:670px;padding:85px 0 100px;align-items:center}
.auth-aside h1{font-size:clamp(44px,4.4vw,68px);line-height:1.1;letter-spacing:-.045em;max-width:550px}
.auth-aside>p:last-child{max-width:400px;color:var(--muted)}
.auth-panel{background:var(--white);border:1px solid var(--line);padding:38px}
.auth-panel h2{font-size:36px;line-height:1.1;margin:0 0 8px}
.auth-panel>p{color:var(--muted);font-size:14px}
.auth-panel form{display:flex;flex-direction:column;gap:8px;margin-top:22px}
.auth-panel form .button{margin-top:17px}
.field-hint{font-size:12px;color:var(--muted);margin:0}
.form-error{background:#f7e8e8;border-left:3px solid #9d314e;padding:12px;color:#6d1d37;font-size:13px}
.form-foot{margin:22px 0 0!important}.form-foot a{color:#81485c;text-decoration:underline}
.favorites-section{padding:55px 0 100px;min-height:400px}
@media(max-width:900px){.header-inner{gap:22px}.hero-grid{grid-template-columns:1fr 1fr}.hero-copy{padding-right:25px}.catalog-layout{grid-template-columns:200px 1fr;gap:25px}.detail-grid{gap:35px}.auth-section{gap:5%;grid-template-columns:1fr 400px}}
@media(max-width:680px){.shell{width:min(100% - 32px,1200px)}.header-inner{min-height:68px;flex-wrap:wrap;gap:10px 20px;padding:12px 0}.brand{font-size:27px}.main-nav{order:3;width:100%;gap:24px;padding-top:7px;border-top:1px solid var(--line)}.account-links{gap:10px;font-size:12px}.welcome{max-width:90px}.header-cta{padding:6px 9px}.hero-grid{display:flex;flex-direction:column}.hero-copy{padding:70px 0 65px}.hero h1{font-size:50px}.hero-copy>p{font-size:16px}.hero-art{min-height:300px}.hero-bottles{height:330px}.hero-actions{flex-wrap:wrap}.collection-section{padding:65px 0}.section-heading{align-items:start;flex-direction:column}.wine-grid,.catalog-results .wine-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wine-image{height:185px}.wine-card-copy{padding:14px}.wine-card h3{font-size:18px;min-height:48px}.wine-origin{font-size:11px}.wine-card-bottom{flex-direction:column;align-items:start}.footer-inner{flex-direction:column;align-items:start}.page-intro{padding:55px 0 35px}.catalog-layout{display:block;padding:25px 0 70px}.filters{margin-bottom:35px}.detail-page{padding-bottom:70px}.detail-grid{display:block}.detail-image,.detail-image img{height:380px;min-height:0}.detail-copy{padding-top:35px}.review-section{margin-top:55px}.auth-section{display:flex;flex-direction:column;align-items:stretch;gap:30px;padding:60px 0}.auth-panel{padding:25px}}
@media(max-width:380px){.wine-grid,.catalog-results .wine-grid{grid-template-columns:1fr}.wine-image{height:250px}.account-links .header-cta{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.wine-image img{transition:none}}

/* Agnello mobile storefront: based on the supplied cream, ink and berry-red app screens. */
body{background:var(--white);color:var(--ink)}
.site-header{position:sticky;top:0;z-index:30;background:#f8f6f1;border-bottom:1px solid #e1ddd6;box-shadow:0 2px 5px rgba(47,39,36,.08)}
.header-inner{min-height:72px;gap:42px}
.brand{display:flex;align-items:center;width:150px;height:45px}
.brand img{width:100%;height:auto;max-height:44px;object-fit:contain}
.main-nav{font-weight:500;gap:28px}
.main-nav a{padding:24px 0 21px;border-bottom:2px solid transparent}
.main-nav a.is-active{color:var(--wine);border-bottom-color:var(--wine)}
.account-links{gap:21px;font-weight:500}
.header-bag{display:flex;align-items:center;gap:7px;position:relative}
.header-bag svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.bag-count{display:grid;place-items:center;position:absolute;top:-8px;left:11px;min-width:16px;height:16px;padding:0 4px;border-radius:50%;background:var(--wine);color:#fff;font-size:10px}
.profile-shortcut{color:var(--ink)}
.header-cta{border:0;background:var(--wine);color:#fff;padding:10px 16px}
.header-cta:hover{background:var(--wine-deep);color:#fff}
.hero{background:var(--paper);color:var(--ink)}
.hero-grid{min-height:505px}
.hero-copy{padding:70px 52px 70px 0}
.hero h1{font-size:clamp(45px,5vw,67px);color:var(--ink)}
.hero-copy>p{color:#625d5a;max-width:440px}
.hero-rule{background:var(--wine);height:2px;width:44px;margin-bottom:25px}
.hero-art{background:#eeeae3}
.hero-bottles{background:#eeeae3;height:100%;padding:35px 8% 27px}
.hero-bottles img{filter:drop-shadow(8px 10px 8px rgba(44,32,26,.18))}
.button{border-radius:3px;min-height:46px;font-weight:600}
.button-wine{background:var(--wine);color:#fff;border-color:var(--wine)}
.button-wine:hover{background:var(--wine-deep);border-color:var(--wine-deep);color:#fff}
.button-outline{background:transparent;color:var(--ink);border-color:#77716f}
.button-outline:hover{border-color:var(--wine);color:var(--wine)}
.button-full{width:100%}
.button-light{background:var(--wine);color:#fff}
.button-light:hover{background:var(--wine-deep);color:#fff}
.collection-section{padding-top:72px;padding-bottom:82px}
.collection-section .wine-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.section-kicker{color:var(--wine);font-weight:600;letter-spacing:.015em}
.section-heading{margin-bottom:26px}
.section-heading h2,.results-heading h2,.review-section h2{font-size:clamp(29px,3.1vw,39px);letter-spacing:-.02em}
.underlined-link{border:0;color:var(--wine);text-decoration:underline;text-underline-offset:5px}
.wine-grid{gap:18px}
.wine-card{border:0;background:#f7f5f1;display:flex;flex-direction:column}
.wine-card-media{position:relative;background:#fff}
.wine-image{height:285px;background:#fff}
.wine-image img{padding:17px;filter:none;object-fit:contain}
.favorite-heart{position:absolute;right:10px;top:10px}
.favorite-heart button{display:grid;place-items:center;width:35px;height:35px;padding:8px;border:0;border-radius:50%;background:rgba(255,255,255,.96);color:var(--ink)}
.favorite-heart svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.favorite-heart button:hover{color:var(--wine)}
.wine-card-copy{padding:16px;display:flex;flex:1;flex-direction:column}
.wine-card h3{font-size:21px;line-height:1.26;margin:8px 0 7px;min-height:0}
.card-type{font-size:12px;color:var(--muted);margin:0 0 14px}
.wine-card-bottom{padding-top:12px;font-size:12px}
.wine-card-bottom span{font-weight:500}
.wine-card-bottom>a{color:var(--wine);font-weight:600}
.card-add-form{margin-top:13px}
.card-add-form .button{width:100%;min-height:43px;font-size:13px}
.site-footer{background:#f7f5f1;color:var(--ink);border-top:1px solid var(--line)}
.footer-inner{padding:35px 0 40px}
.footer-inner p{color:var(--muted)}
.site-footer .footer-inner{flex-direction:column;align-items:center;gap:9px;padding:25px 0;text-align:center}
.site-footer .footer-course{margin:0;color:var(--ink);font-weight:600}
.footer-team{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 22px;padding:0;margin:0;list-style:none;color:var(--muted);font-size:12px}
.collection-section .wine-card{height:100%}
.collection-section .wine-card h3{display:-webkit-box;min-height:3.78em;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.collection-section .card-add-form{margin-top:auto}
.page-intro{padding:54px 0 34px;border:0}
.page-intro h1{font-size:clamp(34px,4vw,48px);letter-spacing:-.025em}
.catalog-layout{display:block;padding:0 0 95px}
.filters{padding:0;background:transparent;border:0;gap:14px;margin:0 0 34px}
.catalog-search label,.filter-control>span{display:block;font-size:12px;font-weight:600;margin-bottom:7px}
.catalog-search label{margin-top:0}
.filter-control{display:block;margin:0}
.search-input-wrap{display:flex;gap:10px}
.filters input,.filters select{border:1px solid #746e6b;border-radius:4px;min-height:48px;background:#f8f6f2;padding:10px 13px}
.search-input-wrap input{flex:1;min-width:0}
.search-submit{display:grid;place-items:center;width:48px;height:48px;border:0;border-radius:4px;background:#31302e;color:white}
.search-submit svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.filter-row{display:flex;align-items:end;gap:10px}
.filter-control{flex:1;min-width:0}
.filter-control select{width:100%;min-height:42px;padding:7px 9px}
.apply-filters{min-height:42px;padding:8px 16px;margin-top:0}
.results-heading{border-bottom:1px solid var(--line);padding-bottom:13px;margin-bottom:18px}
.results-heading h2{font-size:27px}
.results-heading span{font-size:12px}
.catalog-results .wine-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.detail-page{padding:26px 0 96px}
.back-link{border:0;color:var(--ink);font-size:13px;font-weight:600;text-decoration:none}
.detail-grid{grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:46px}
.detail-image{min-height:490px;background:#fff}
.detail-image img{height:470px;object-fit:contain;padding:28px}
.detail-copy h1{font-size:clamp(36px,4vw,53px);letter-spacing:-.025em}
.detail-price{font-family:Arial,Helvetica,sans-serif;font-size:18px;font-weight:600;margin:25px 0}
.opinion{border-color:var(--line);margin-bottom:23px}
.opinion span{color:var(--wine)}
.opinion p{font-size:18px}
.detail-actions{display:flex;gap:10px;flex-wrap:wrap}
.detail-actions form{flex:1}
.detail-actions button{width:100%}
.demo-note{line-height:1.55}
.review-section{border-color:var(--line)}
.auth-section{display:block;width:min(480px,calc(100% - 36px));min-height:calc(100vh - 150px);padding:52px 0 70px}
.auth-aside{display:none}
.auth-panel{border:0;background:transparent;padding:0}
.auth-panel h2{font-size:34px;margin-bottom:7px}
.auth-panel>p{font-size:14px}
.auth-panel form{gap:7px;margin-top:24px}
.auth-panel label{font-size:12px;font-weight:500;margin-top:8px}
.auth-panel input{border-radius:4px;min-height:48px;background:#fff;padding:12px}
.auth-panel .button{margin-top:13px}
.optional-label{color:var(--muted);font-weight:400}
.form-foot{text-align:center;font-size:13px}
.form-foot a{color:var(--wine);font-weight:600}
.favorites-section{padding:30px 0 95px}
.empty-state{background:#f8f6f2;border:0;text-align:center;padding:42px 22px}
.bag-page{padding:38px 0 100px;min-height:65vh}
.page-heading-inline{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:30px}
.page-heading-inline h1,.profile-page>h1{font-size:clamp(36px,4.2vw,52px);margin:0 0 8px}
.page-heading-inline p:last-child{color:var(--muted);margin:0}
.page-heading-inline .back-link{margin-bottom:7px;white-space:nowrap}
.bag-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:30px;align-items:start}
.bag-lines{display:grid;gap:12px}
.bag-line{display:grid;grid-template-columns:112px minmax(0,1fr) auto;gap:17px;align-items:center;padding:14px;background:#f7f5f1}
.bag-line-image{height:134px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}
.bag-line-image img{display:block;width:100%;height:100%;max-height:100%;object-fit:contain;padding:10px}
.bag-line-info h2{font-size:19px;line-height:1.25;margin:5px 0}
.bag-line-info>p{font-size:12px;color:var(--muted);margin:0 0 10px}
.quantity-control{display:inline-flex;align-items:center;justify-content:space-between;width:132px;height:38px;border:1px solid #aaa39d;border-radius:4px;background:#fff}
.quantity-control form{height:100%}
.quantity-control button{height:100%;width:38px;border:0;background:transparent;font-size:20px;color:var(--ink)}
.quantity-control span{font-size:13px}
.remove-line button,.clear-bag{border:0;background:transparent;color:var(--muted);font-size:12px;text-decoration:underline;text-underline-offset:3px}
.bag-summary{padding:22px;background:#f7f5f1}
.bag-summary h2{font-size:24px;margin:0 0 19px}
.bag-summary>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}
.bag-summary>div strong{font-weight:600}
.bag-summary>p{font-size:12px;line-height:1.55;color:var(--muted);margin:17px 0}
.bag-summary form{text-align:center}
.bag-summary .clear-bag{margin-top:14px}
.empty-bag{min-height:390px;padding:36px 20px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#f8f6f2}
.empty-bag-icon{display:grid;place-items:center;width:64px;height:64px;margin-bottom:18px;border-radius:50%;background:#efe9e3;color:var(--wine)}
.empty-bag-icon svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.empty-bag h2{font-size:30px;margin:0 0 8px}
.empty-bag p{color:var(--muted)}
.profile-page{padding:43px 0 100px;min-height:65vh;max-width:850px}
.profile-page>h1{margin-bottom:25px}
.profile-card{display:flex;align-items:center;gap:16px;padding:23px;background:#f7f5f1;margin-bottom:23px}
.profile-avatar{display:grid;place-items:center;width:62px;height:62px;flex:none;border-radius:50%;background:#e8d9d4;color:var(--wine)}
.profile-avatar svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.profile-card h2{font-family:Georgia,serif;font-size:24px;margin:0 0 2px}
.profile-card p{font-size:13px;margin:0 0 3px;color:var(--muted)}
.profile-card span{font-size:11px;color:var(--wine)}
.profile-menu{background:#fff;border-top:1px solid var(--line)}
.profile-menu>a{display:grid;grid-template-columns:30px 1fr 16px;align-items:center;gap:13px;min-height:74px;padding:12px 10px;border-bottom:1px solid var(--line)}
.profile-menu-icon{font-size:22px;text-align:center;color:var(--wine)}
.profile-menu strong,.profile-menu small{display:block}
.profile-menu strong{font-family:Georgia,serif;font-size:17px;font-weight:400}
.profile-menu small{font-size:11px;color:var(--muted);margin-top:2px}
.profile-chevron{font-size:24px;color:#8a827e}
.profile-logout{margin-top:17px;text-align:right}
.profile-logout button{border:0;background:none;color:var(--wine);font-size:13px;text-decoration:underline;text-underline-offset:3px}
.completion-page{min-height:65vh;padding:30px 0 95px;display:grid;place-items:center}
.completion-card{max-width:550px;text-align:center;padding:38px 32px;background:#f8f6f2}
.completion-check{display:grid;place-items:center;width:55px;height:55px;margin:0 auto 20px;border-radius:50%;background:#329a5b;color:#fff}
.completion-check svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.completion-card h1{font-size:clamp(34px,4vw,47px);margin:0 0 16px}
.completion-card>p:not(.section-kicker){line-height:1.55}
.completion-card .demo-note{font-size:13px;color:var(--muted);margin:18px 0 24px}
.mobile-dock{display:none}

@media(max-width:900px){
  .hero-grid{min-height:440px}
  .hero-copy{padding:52px 26px 50px 0}
  .catalog-results .wine-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bag-layout{grid-template-columns:minmax(0,1fr) 275px;gap:18px}
  .detail-grid{gap:28px}
}
@media(max-width:680px){
  body{padding-bottom:calc(70px + env(safe-area-inset-bottom))}
  body.page-auth{padding-bottom:0}
  .shell{width:calc(100% - 36px)}
  .header-inner{min-height:57px;flex-wrap:nowrap;gap:10px;padding:7px 0}
  .brand{width:113px;height:40px}
  .brand img{max-height:37px}
  .main-nav{display:none}
  .account-links{margin-left:auto;gap:13px;font-size:12px}
  .header-bag{font-size:0}
  .header-bag svg{width:21px;height:21px}
  .welcome,.logout-button{display:none}
  .profile-shortcut{font-size:12px}
  .header-cta{font-size:11px;padding:8px 10px}
  .hero-grid{display:flex;flex-direction:column;min-height:0}
  .hero-art{order:-1;min-height:0;height:310px}
  .hero-bottles{height:310px;padding:24px 14% 24px}
  .hero-bottles img{width:29%;height:80%}
  .hero-bottles img:nth-child(2){height:91%;width:34%}
  .hero-copy{padding:33px 0 37px}
  .hero-rule{display:none}
  .hero h1{font-size:41px;line-height:1.12;letter-spacing:-.025em;margin:0 0 12px}
  .hero-copy>p{font-size:14px;line-height:1.55;margin-bottom:8px}
  .hero-actions{margin-top:11px;gap:12px}
  .hero-actions .button{min-height:43px;padding:10px 16px;font-size:12px}
  .collection-section{padding:37px 0 43px}
  .section-heading{flex-direction:row;align-items:end;gap:12px;margin-bottom:17px}
  .section-heading .section-kicker{font-size:11px;margin-bottom:4px}
  .section-heading h2{font-size:26px}
  .section-heading .underlined-link{font-size:11px;white-space:nowrap}
  .wine-grid,.catalog-results .wine-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .collection-section .wine-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wine-card{border:1px solid #f0ede8}
  .wine-image{height:180px}
  .wine-image img{padding:9px}
  .favorite-heart{right:6px;top:6px}
  .favorite-heart button{width:31px;height:31px;padding:7px}
  .favorite-heart svg{width:18px;height:18px}
  .wine-card-copy{padding:11px 10px 10px}
  .wine-origin{font-size:10px;line-height:1.35}
  .wine-card h3{font-size:16px;line-height:1.2;margin:5px 0;min-height:38px}
  .card-type{font-size:10px;margin:0 0 8px}
  .wine-card-bottom{align-items:start;flex-direction:row;padding-top:8px;font-size:10px}
  .wine-card-bottom>a{white-space:nowrap}
  .card-add-form{margin-top:9px}
  .card-add-form .button{min-height:38px;padding:8px 5px;font-size:10px}
  .footer-inner{padding:24px 0 22px;gap:14px;font-size:11px}
  .footer-inner p{margin:3px 0 0}
  .mobile-dock{position:fixed;z-index:40;left:10px;right:10px;bottom:calc(8px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,1fr);min-height:57px;padding:5px 4px;background:rgba(255,255,255,.98);border:1px solid #e5e0da;border-radius:8px;box-shadow:0 2px 10px rgba(40,34,32,.16)}
  .mobile-dock a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#494442;font-size:9px}
  .mobile-dock svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .mobile-dock a:first-child svg{fill:currentColor;stroke-width:0}
  .mobile-dock .is-active{color:var(--wine);font-weight:600}
  .site-footer{padding-bottom:9px}
  .page-intro{padding:35px 0 20px}
  .page-intro .section-kicker{font-size:11px;margin-bottom:7px}
  .page-intro h1{font-size:32px;line-height:1.13;margin-bottom:8px}
  .page-intro>p:last-child{font-size:13px;line-height:1.45}
  .catalog-layout{padding:0 0 70px}
  .filters{gap:9px;margin-bottom:23px}
  .catalog-search label,.filter-control>span{font-size:11px;margin-bottom:5px}
  .search-input-wrap{gap:7px}
  .filters input,.filters select{min-height:43px;font-size:12px;padding:8px 10px}
  .search-submit{width:44px;height:43px}
  .filter-row{gap:7px}
  .filter-control select{min-height:38px;padding:5px 6px;font-size:11px}
  .apply-filters{min-height:38px;padding:7px 11px;font-size:11px}
  .results-heading{align-items:center;margin-bottom:12px;padding-bottom:9px}
  .results-heading h2{font-size:22px}
  .results-heading span{font-size:10px}
  .detail-page{padding:13px 0 75px}
  .back-link{margin-bottom:18px}
  .detail-grid{display:flex;flex-direction:column;gap:0;align-items:stretch}
  .detail-image,.detail-image img{height:345px;min-height:345px}
  .detail-image{background:#f8f6f2}
  .detail-image img{padding:22px}
  .detail-copy{padding-top:23px}
  .detail-copy .section-kicker{font-size:11px;margin-bottom:7px}
  .detail-copy h1{font-size:32px;line-height:1.15;margin-bottom:8px}
  .wine-type{font-size:12px;margin-bottom:12px}
  .detail-price{font-size:16px;margin:14px 0}
  .opinion{padding:15px 0;margin-bottom:17px}
  .opinion p{font-size:17px;line-height:1.45}
  .detail-actions{gap:8px}
  .detail-actions form{flex:1 1 145px}
  .detail-actions .button{font-size:12px;padding:10px}
  .demo-note{font-size:11px}
  .review-section{margin-top:36px;padding-top:25px}
  .review-section h2{font-size:25px}
  .auth-section{width:calc(100% - 44px);min-height:calc(100vh - 75px);padding:40px 0 50px}
  .page-auth .header-inner{justify-content:center}
  .page-auth .brand{width:137px;height:43px}
  .page-auth .brand img{max-height:42px}
  .page-auth .account-links{display:none}
  .page-auth .mobile-dock{display:none}
  .auth-panel{padding:0}
  .auth-panel h2{font-size:29px;margin-bottom:6px}
  .auth-panel>p{font-size:12px;margin-bottom:15px}
  .auth-panel label{font-size:11px;margin-top:7px}
  .auth-panel input{min-height:45px;padding:10px;font-size:13px}
  .auth-panel form .button{min-height:46px;font-size:12px;margin-top:10px}
  .auth-panel form{margin-top:17px}
  .auth-section .form-foot{margin-top:19px!important}
  .favorites-section{padding:18px 0 75px;min-height:270px}
  .empty-state{padding:28px 17px}
  .empty-state h2{font-size:24px}
  .bag-page{padding:30px 0 73px}
  .page-heading-inline{display:block;margin-bottom:21px}
  .page-heading-inline h1,.profile-page>h1{font-size:33px}
  .page-heading-inline p:last-child{font-size:13px}
  .page-heading-inline .back-link{display:inline-block;margin:13px 0 0;font-size:12px}
  .bag-layout{display:flex;flex-direction:column;gap:14px}
  .bag-lines,.bag-summary{width:100%}
  .bag-lines{gap:9px}
  .bag-line{grid-template-columns:82px minmax(0,1fr) auto;gap:10px;padding:9px}
  .bag-line-image{height:108px}
  .bag-line-image img{padding:6px}
  .bag-line-info h2{font-size:15px;margin:4px 0}
  .bag-line-info>p{font-size:10px;margin-bottom:7px}
  .bag-line-info .wine-origin{font-size:9px}
  .quantity-control{width:110px;height:34px}
  .quantity-control button{width:33px;font-size:18px}
  .quantity-control span{font-size:12px}
  .remove-line button{font-size:10px;padding:5px 0}
  .bag-summary{padding:17px}
  .bag-summary h2{font-size:21px;margin-bottom:12px}
  .bag-summary>div{font-size:12px;padding:8px 0}
  .bag-summary>p{font-size:11px;margin:13px 0}
  .empty-bag{min-height:320px;padding:27px 18px}
  .empty-bag h2{font-size:26px}
  .profile-page{padding:31px 0 73px}
  .profile-page .section-kicker{font-size:11px;margin-bottom:5px}
  .profile-page>h1{margin-bottom:18px}
  .profile-card{padding:16px;gap:12px;margin-bottom:16px}
  .profile-avatar{width:52px;height:52px}
  .profile-card h2{font-size:20px}
  .profile-card p{font-size:11px}
  .profile-menu>a{min-height:66px;grid-template-columns:26px 1fr 14px;gap:9px;padding:9px 5px}
  .profile-menu strong{font-size:16px}
  .profile-menu small{font-size:10px}
  .profile-menu-icon{font-size:20px}
  .completion-page{min-height:calc(100vh - 160px);padding:23px 0 70px}
  .completion-card{padding:28px 20px}
  .completion-card h1{font-size:33px}
  .completion-card>p:not(.section-kicker){font-size:13px}
}
@media(max-width:380px){
  .shell{width:calc(100% - 28px)}
  .brand{width:105px}
  .account-links{gap:10px}
  .wine-image{height:158px}
  .wine-card-copy{padding:9px 8px}
  .wine-card h3{font-size:15px}
  .bag-line{grid-template-columns:70px minmax(0,1fr) auto}
  .bag-line-image{height:96px}
  .remove-line button{font-size:9px}
}
