/* Product images keep the complete bottle at all viewport sizes. */
.page-categories .product-card .product-card__thumb img,
.page-categories .product-card>a>img,
.discovery-photo img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:var(--wash)}
.page-categories .product-card:hover img{transform:none}
.product-detail__image img{width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.product-card .buttons>*{word-break:normal;overflow-wrap:normal}
@media(max-width:1100px){
 .page-categories .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
 .page-categories .product-card .buttons{display:flex;flex-direction:column;gap:10px}
 .page-categories .product-card .buttons>.details-link,.page-categories .product-card .buttons>.add-to-cart{width:100%;flex:none;min-height:48px;padding:12px 16px;font-size:15px;white-space:normal}
 .product-detail__shell{gap:30px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .product-detail__info h1{font-size:clamp(30px,4vw,46px)}
 .checkout-page__grid{gap:24px}
 .curated-bundles{grid-template-columns:1fr}
 #offers-track{grid-auto-columns:100%}
 .shop-two-columns{grid-template-columns:1fr}
 .shop-card,.product-detail__info,.checkout-form-shell,.order-summary--page{min-width:0}
 .admin-body .admin-btn{min-height:44px;white-space:normal;word-break:normal}
 .admin-body .admin-form-grid>*{min-width:0}
}
@media(max-width:760px){
 body:not(.admin-body) :is(.button-primary,.styled-btn,.details-link,.add-to-cart,.filter-btn,.filter-toggle-btn,.catalog-more,.age-no){min-height:48px;padding:12px 16px;line-height:1.4;white-space:normal;word-break:normal;overflow-wrap:normal}
 body:not(.admin-body) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px;max-width:100%;min-width:0}
 body:not(.admin-body) :is(input:not([type=checkbox]):not([type=radio]),select){min-height:46px}
 .product-detail__shell{grid-template-columns:1fr}
 .product-detail__image img{max-height:none}
 .hero-actions{display:grid;grid-template-columns:1fr;gap:12px}
 .hero-actions>a,.wine-invitation>a{justify-content:center;text-align:center}
 .filter-toggle-btn{width:100%;display:flex;justify-content:space-between;gap:12px;align-items:center}
 .filters-actions{flex-wrap:wrap;gap:12px}.catalog-count{margin-left:0}
 .checkout-choice-cards button{width:100%;min-height:88px;line-height:1.5}
 .shop-form label,.inline-options label{min-width:0}
 .shop-tabs{display:flex;flex-wrap:wrap;gap:8px}.shop-tabs a{min-height:44px;display:flex;align-items:center;justify-content:center}
 .tasting-stats{grid-template-columns:1fr}.tasting-stats article{display:flex;align-items:center;justify-content:space-between}
 .wheel-launch:not(.wheel-launch--inline){right:12px;bottom:max(12px,env(safe-area-inset-bottom));font-size:12px;min-height:44px;padding:10px 14px}
 .wheel-card{max-height:calc(100dvh - 24px)}
 .added-to-cart-message,#ajax-notifications{left:12px;right:12px;bottom:max(16px,env(safe-area-inset-bottom));max-width:none;width:auto}
 .added-to-cart-message{font-size:15px;line-height:1.5;padding:18px}
 .footer-bottom{line-height:1.6}
 .admin-body .header-actions{flex-wrap:wrap;gap:8px}
 .admin-body .admin-topbar{height:auto;min-height:90px}
 .admin-body .modal__actions{flex-wrap:wrap}
 .admin-body .modal__actions .admin-btn{min-width:120px}
}
@media(max-width:599px){
 .page-categories .product-grid{grid-template-columns:minmax(0,1fr)}
 .page-categories .product-card .product-card__thumb img,.page-categories .product-card>a>img{height:auto;aspect-ratio:1}
 .page-categories .product-card>.details{padding:20px}
 .page-categories .product-card p{font-size:15px;line-height:1.65}
 .page-categories .product-card h3{font-size:24px}
 .discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .offer-card{grid-template-columns:minmax(0,1fr) 32%}
 .offer-card>div{padding:20px 16px}
 .offer-card h3{font-size:23px}
 .bundle-photo-line{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .bundle-photo-line img{width:100%;height:auto;aspect-ratio:1;object-fit:contain}
 .shop-cta{flex-wrap:wrap;gap:16px}.shop-cta>a{width:100%;text-align:center;min-height:44px}
}
@media(max-width:380px){
 .navbar>.brand .brand-logo{width:145px}.navbar{gap:8px}.nav-actions{gap:8px}
 .cart{gap:6px}.hamburger{min-width:36px}
 .wheel-stage{width:230px;height:230px}.wheel-number{transform:rotate(var(--angle)) translateY(-82px) rotate(calc(-1 * var(--angle)))}
 .offer-card{grid-template-columns:1fr}.offer-card>img{grid-row:1;width:100%;height:160px;object-fit:contain}
 .product-detail__info h1{font-size:32px}
}

/* Readability and controls found during the cross-device design audit. */
.admin-body .header-actions .admin-btn{font-size:14px;line-height:1.4;min-height:44px}
.admin-body .editor-row-actions button,.admin-body [data-remove-bundle-wine]{min-height:44px;padding:10px 14px;font:inherit;font-size:14px;line-height:1.4;border:1px solid #ded6d1;border-radius:8px;background:#fff;color:#86263a;cursor:pointer}
.admin-body .editor-row-actions{display:flex;flex-wrap:wrap;gap:8px}
.admin-body [data-remove-bundle-wine]{justify-self:start}
.order-item-remove{width:44px;height:44px;min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.journal-slides figcaption,.review-card small{font-size:13px;line-height:1.5}

.admin-body .promo-card__image img,.admin-body .promo-preview img{object-fit:contain}
.admin-body #panel-promos .promo-card__image{height:auto;aspect-ratio:4/3}

.order-item-content{min-width:0}
.order-item-head{flex-wrap:wrap}
.order-item-head>strong{min-width:min(150px,100%);word-break:normal;overflow-wrap:break-word}
.order-item-head-actions{flex-wrap:wrap}
@media(max-width:1100px){.checkout-page__grid{display:flex;flex-direction:column;gap:30px}.checkout-form-shell{width:100%;order:2}.order-summary--page{position:static;width:100%;order:1}}

/* Incoming tasting requests remain visible in navigation after the toast closes. */
.tasting-request{scroll-margin-top:120px}.tasting-request:target{outline:2px solid #8b2638;outline-offset:4px}
.tasting-toast{position:fixed;right:24px;bottom:24px;z-index:250;display:flex;align-items:center;gap:16px;max-width:440px;padding:16px 18px;border-radius:12px;background:#8b2638;color:#fff;box-shadow:0 12px 40px #38101e30}
.tasting-toast a{color:inherit;font-size:16px;line-height:1.5;font-weight:600}.tasting-toast button{flex:none;width:44px;height:44px;border:0;background:transparent;color:inherit;font-size:26px;cursor:pointer}
@media(max-width:600px){.tasting-toast{left:12px;right:12px;bottom:16px;max-width:none;padding:12px 14px}}

/* Compact home wine selection on phones and small tablets. */
@media(max-width:1000px) and (min-width:600px){.home-selection .discovery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 16px}}
@media(max-width:599px){
 .home-selection{padding-top:32px;padding-bottom:32px}
 .home-selection .section-heading{gap:12px;margin-bottom:20px}
 .home-selection .section-heading h2{font-size:clamp(25px,6.5vw,34px);line-height:1.15}
 .home-selection .discovery-grid{gap:22px 12px}
 .discovery-card{min-width:0}.discovery-card:hover img{transform:none}
 .discovery-meta{grid-template-columns:1fr;gap:6px;padding-top:10px}
 .discovery-meta>small{display:none}
 .discovery-meta h3{font-size:16px;line-height:1.3;overflow-wrap:break-word}
 .discovery-meta>span{font-size:15px;line-height:1.35}
 .discovery-photo>span{font-size:11px;letter-spacing:0;right:5px;bottom:5px;padding:4px 6px}
}

/* AJAX moves focus to the page heading for assistive navigation. */
h1[data-ajax-heading-focus]:focus,h2[data-ajax-heading-focus]:focus{outline:none}

/* Compact cart shortcut: one clear action without a full-width overlay. */
.added-to-cart-message:not(.show){display:none}
.cart-shortcut{position:fixed;right:20px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:90;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:56px;max-width:calc(100% - 24px);padding:9px 18px;background:var(--wine);color:#fff;border:1px solid #ffffff70;border-radius:10px;box-shadow:0 4px 16px #342b2726;font:inherit;line-height:1.35;cursor:pointer}
.cart-shortcut__label{font-size:16px;font-weight:650}.cart-shortcut__summary{font-size:13px}
body.has-cart-shortcut{padding-bottom:84px}
.has-cart-shortcut .wheel-launch:not(.wheel-launch--inline){bottom:calc(84px + env(safe-area-inset-bottom))}
.has-cart-shortcut .added-to-cart-message,.has-cart-shortcut #ajax-notifications{bottom:calc(84px + env(safe-area-inset-bottom))}
.has-cart-shortcut:has(.wheel-launch:not(.wheel-launch--inline):not([hidden])) .added-to-cart-message,.has-cart-shortcut:has(.wheel-launch:not(.wheel-launch--inline):not([hidden])) #ajax-notifications{bottom:calc(148px + env(safe-area-inset-bottom))}
body:has(.cart-modal:not([hidden])) .cart-shortcut,body:has(#product-config-modal:not([hidden])) .cart-shortcut,body:has(.wheel-dialog:not([hidden])) .cart-shortcut{display:none}
body:has(.cart-modal:not([hidden])) .wheel-launch:not(.wheel-launch--inline),body:has(#product-config-modal:not([hidden])) .wheel-launch:not(.wheel-launch--inline){visibility:hidden}
@media(max-width:600px){.cart-shortcut{left:auto;right:12px;width:auto;max-width:calc(100% - 24px);padding:9px 16px}.cart-shortcut__label{font-size:16px}body:has(input:focus) .cart-shortcut,body:has(textarea:focus) .cart-shortcut,body:has(select:focus) .cart-shortcut{display:none}}
@media(min-width:761px) and (max-width:1000px){.navbar{gap:12px}.navbar>.brand .brand-logo{width:140px}.navbar ul{gap:12px}.navbar ul a{font-size:13px}.navbar ul a svg{width:18px;height:18px}.navbar .cart-label{display:none}.navbar .nav-actions{gap:8px}.navbar .nav-consult{display:none}}
/* Mobile navigation: wine ritual, spacious links, quiet motion. */
.navbar ul>.mobile-menu-scene,.navbar ul>.mobile-menu-contact{display:none}
@media(max-width:760px){
 .shop-header{background:#fff;backdrop-filter:none;z-index:110}
 .navbar{min-height:76px;width:calc(100% - 32px);gap:16px}
 .navbar>.brand .brand-logo{width:clamp(150px,43vw,190px);height:auto}
 .navbar .nav-actions{gap:10px}.navbar .cart{min-height:44px;gap:5px}.navbar .cart svg{width:22px;height:22px}.navbar .cart .badge{font-size:12px;min-width:22px;height:22px}
 .navbar .hamburger{display:grid;place-items:center;position:relative;width:44px;height:44px;min-width:44px;border:1px solid #e7e3de;border-radius:50%;background:#fbf8f6;padding:0;transition:background .25s,border-color .25s}
 .navbar .hamburger[data-ui-icon]::before{display:none}
 .menu-toggle-lines,.menu-toggle-lines:before,.menu-toggle-lines:after{display:block;width:18px;height:1.5px;background:var(--wine);position:absolute;transition:transform .3s,opacity .2s}
 .menu-toggle-lines{transform:none}.menu-toggle-lines:before{content:'';transform:translateY(-6px)}.menu-toggle-lines:after{content:'';transform:translateY(6px)}
 .hamburger.toggle .menu-toggle-lines{transform:rotate(45deg)}.hamburger.toggle .menu-toggle-lines:after{transform:rotate(-90deg)}.hamburger.toggle .menu-toggle-lines:before{transform:none;opacity:0}
 .navbar #shop-navigation{display:flex;flex-direction:column;position:fixed;top:var(--mobile-nav-top,110px);bottom:0;left:0;right:0;padding:18px 24px max(24px,env(safe-area-inset-bottom));gap:0;overflow-y:auto;overscroll-behavior:contain;box-shadow:none;border:0;background:linear-gradient(160deg,#fff 45%,#fbf2ef);visibility:hidden;opacity:0;transform:translateY(-12px);pointer-events:none;transition:opacity .25s,transform .35s,visibility .35s;z-index:111;flex-wrap:nowrap}
 .navbar #shop-navigation.active{visibility:visible;opacity:1;transform:translateY(0);pointer-events:auto}
 body.mobile-menu-open{overflow:hidden}
 .mobile-menu-open .wheel-launch{visibility:hidden}
 .navbar #shop-navigation>li{flex:none;min-width:0}
 .navbar #shop-navigation>li:not(.mobile-menu-scene):not(.mobile-menu-contact){border-bottom:1px solid #e8ded8;transform:translateY(10px);opacity:0;transition:transform .4s,opacity .4s}
 .navbar #shop-navigation.active>li:not(.mobile-menu-scene):not(.mobile-menu-contact){transform:none;opacity:1}
 .navbar #shop-navigation.active>li:nth-child(3){transition-delay:.04s}.navbar #shop-navigation.active>li:nth-child(4){transition-delay:.08s}.navbar #shop-navigation.active>li:nth-child(5){transition-delay:.12s}.navbar #shop-navigation.active>li:nth-child(6){transition-delay:.16s}
 .navbar #shop-navigation>li>a{display:flex;align-items:center;gap:12px;padding:14px 0;font-size:22px;font-weight:500;line-height:1.25;letter-spacing:-.025em;white-space:normal;min-height:54px}
 .navbar #shop-navigation>li>a:after{content:'↗';display:block;position:static;margin-left:auto;width:auto;height:auto;background:none;color:#b28c84;font-size:19px}
 .navbar #shop-navigation>li>a svg,.navbar #shop-navigation>li>a[data-ui-icon]:before{width:20px;height:20px;flex:0 0 20px;margin:0;color:var(--wine)}
 .navbar #shop-navigation>li>a[aria-current]{color:var(--wine);font-weight:650}
 .navbar #shop-navigation>.mobile-menu-scene{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 14px;min-height:142px;border-bottom:1px solid #e8ded8;margin-bottom:4px}
 .mobile-menu-scene>div>span{display:block;font-size:9px;letter-spacing:.16em;color:var(--wine)}
 .mobile-menu-scene p{font-size:28px;line-height:1.12;margin:12px 0 0;letter-spacing:-.035em}.mobile-menu-scene em{font-family:Editorial,Georgia,serif;color:var(--wine);font-weight:400}
 .navbar .menu-pour{width:150px;height:138px;flex:0 0 150px;fill:none;stroke:none;overflow:visible}
 .menu-bottle{transform-origin:61px 95px;transform:translate(-20px,10px) rotate(0deg)}
 .menu-stream{stroke-dasharray:60;stroke-dashoffset:60;opacity:0}.menu-wine,.menu-surface{transform:translateY(27px)}
 .active .menu-bottle{animation:menu-bottle-pour 2s ease-in-out both}.active .menu-stream{animation:menu-wine-stream 2s ease both}.active .menu-wine,.active .menu-surface{animation:menu-fill 2s ease both}
 .navbar #shop-navigation>.mobile-menu-contact{display:block;margin-top:auto;padding-top:20px}
 .navbar #shop-navigation>.mobile-menu-contact>a{display:flex;align-items:start;flex-direction:column;gap:5px;padding:14px 16px;background:#f4e8e4;border-radius:10px;letter-spacing:0;min-height:64px}
 .navbar #shop-navigation>.mobile-menu-contact>a:after{display:none}.mobile-menu-contact span{font-size:12px;color:#73615b}.mobile-menu-contact strong{font-size:15px;color:var(--wine);font-weight:600}
}
@keyframes menu-bottle-pour{0%,8%,100%{transform:translate(-20px,10px) rotate(0deg)}20%{transform:translate(-20px,-10px) rotate(0deg)}32%,72%{transform:translate(-10px,-12px) rotate(46deg)}88%{transform:translate(-20px,-10px) rotate(0deg)}}
@keyframes menu-wine-stream{0%,32%{opacity:0;stroke-dashoffset:60}40%,66%{opacity:1;stroke-dashoffset:0}72%,100%{opacity:0;stroke-dashoffset:0}}
@keyframes menu-fill{0%,35%{transform:translateY(27px)}76%,100%{transform:translateY(0)}}
@media(max-width:360px){.navbar{width:calc(100% - 24px);gap:8px}.navbar .nav-actions{gap:6px}.navbar #shop-navigation{padding-inline:18px}.navbar .menu-pour{width:125px;flex-basis:125px}.mobile-menu-scene p{font-size:25px}}
@media(prefers-reduced-motion:reduce){.navbar #shop-navigation,.navbar #shop-navigation>li,.menu-toggle-lines,.menu-toggle-lines:before,.menu-toggle-lines:after{transition:none!important}.active .menu-bottle,.active .menu-stream,.active .menu-wine,.active .menu-surface{animation:none!important}.menu-wine,.menu-surface{transform:none}.menu-stream{opacity:0}}

.navbar .mobile-nav-icon{display:none}@media(max-width:760px){.navbar .mobile-nav-icon{display:block}}

@media(max-width:760px){body.mobile-menu-open .cart-shortcut{z-index:120;visibility:visible}body.mobile-menu-open.has-cart-shortcut .navbar #shop-navigation{padding-bottom:calc(96px + env(safe-area-inset-bottom))}}

/* Center the image viewer close icon independently of font metrics. */
.fullscreen-img .close-fullscreen{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;margin:0;line-height:1;color:var(--ink);cursor:pointer;top:max(16px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right))}.fullscreen-img .close-fullscreen[data-ui-icon]::before{display:none}.fullscreen-img .close-fullscreen svg{display:block;width:22px;height:22px;flex:none;margin:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
/* Desktop navigation uses one baseline for text and both icon types. */
@media(min-width:761px){
 .navbar #shop-navigation{align-items:center}
 .navbar #shop-navigation>li>a{display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.3;padding:32px 0;vertical-align:middle}
 .navbar #shop-navigation>li>a>svg:not(.mobile-nav-icon){display:block;width:18px;height:18px;flex:0 0 18px;margin:0;stroke-width:1.7}
 .navbar #shop-navigation>li>a[data-ui-icon]::before{width:18px;height:18px;flex:0 0 18px;margin:0;vertical-align:initial}
 .navbar #shop-navigation>li>a[aria-current]:after{bottom:20px;left:0;right:0;width:auto}
 .navbar .nav-consult{align-items:center;gap:8px;line-height:1.3}
 .navbar .nav-consult[data-ui-icon]::before{margin:0;vertical-align:middle}
}
@media(min-width:1201px){.navbar .nav-consult{display:inline-flex}}

.story-links{display:flex;align-items:center;flex-wrap:wrap;gap:18px 28px}.story-links .text-link{display:inline-flex;align-items:center;gap:8px;min-height:44px}.story-awards-link{color:var(--wine);border-color:currentColor}.story-awards-link svg{width:20px;height:20px;flex:none;stroke-width:1.6}

/* Six navigation links stay on one desktop row. */
@media(min-width:761px){
 .navbar{gap:20px;flex-wrap:nowrap}
 .navbar #shop-navigation{flex-wrap:nowrap;gap:clamp(12px,1.35vw,22px)}
 .navbar #shop-navigation>li{flex-shrink:0}
 .navbar #shop-navigation>li>a{min-height:84px}
 .navbar #shop-navigation>li>a,.navbar .nav-actions{white-space:nowrap}
 .navbar .nav-actions{flex-shrink:0;gap:16px}
 .navbar>.brand .brand-logo{width:210px}
}
@media(min-width:761px) and (max-width:1350px){.navbar .nav-consult{display:none}}
@media(min-width:761px) and (max-width:1000px){
 .navbar{width:calc(100% - 40px);gap:12px}
 .navbar>.brand .brand-logo{width:120px}
 .navbar #shop-navigation{gap:7px}
 .navbar #shop-navigation>li>a{font-size:13px;gap:5px}
 .navbar .nav-actions{gap:8px}
}
@media(max-width:760px){.navbar #shop-navigation.active>li:nth-child(7){transition-delay:.2s}}

/* Consistent admin editor spacing and centered icon-only controls. */
.admin-body .modal-close,
.admin-body .category-field-remove,
.admin-body .product-option-remove{
 display:inline-flex;align-items:center;justify-content:center;gap:0;
 width:44px;height:44px;min-width:44px;min-height:44px;flex:0 0 44px;
 padding:0;line-height:1;vertical-align:middle;
}
.admin-body :is(.modal-close,.category-field-remove)[data-ui-icon]{font-size:0;line-height:0}
.admin-body :is(.modal-close,.category-field-remove)[data-ui-icon]::before{display:block;width:20px;height:20px;flex:0 0 20px;margin:0}
.admin-body .modal__header>h3{min-width:0;overflow-wrap:anywhere}
.admin-body .admin-form>label{display:block;margin:20px 0 8px;line-height:1.5}
.admin-body .admin-form>label:first-of-type{margin-top:0}
.admin-body :is(.admin-form,.settings-grid,.category-field-grid,.shop-form,.commerce-admin-fields) label> :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){display:block;margin-top:8px;width:100%}
.admin-body :is(.form-field,.product-availability-field)>label:first-child{display:block;margin:0 0 8px}
.admin-body :is(.form-field,.product-specific-fields)> :is(input,select,textarea){width:100%}
.admin-body :is(.field-note,.muted--small){display:block;margin:8px 0 16px;line-height:1.6;overflow-wrap:anywhere}
.admin-body :is(.field-note,[data-form-status],[data-row-status]):empty{display:none}
.admin-body :is(.product-specific-fields,.category-fields-panel,.product-gallery-field){margin-top:24px}
.admin-body :is(.product-specific-fields,.category-field-grid,.category-fields-list,.product-gallery-list){gap:20px}
.admin-body :is(.category-field-row,.product-gallery-item){padding:16px;border:1px solid var(--line);border-radius:8px}
.admin-body :is(.category-field-row__header,.product-gallery-field__header){display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.admin-body .category-field-row__header strong{min-width:0;overflow-wrap:anywhere}
.admin-body :is(.photo-input-actions,.product-photo-actions,.promo-image-actions,.product-gallery-actions){display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px}
.admin-body .modal__actions{position:static;display:flex;justify-content:flex-end;gap:12px;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
.admin-body .shop-card+.shop-card,.admin-body form.shop-card+form.shop-card{margin-top:24px}
.admin-body .shop-form label{display:block;margin:18px 0 0;line-height:1.5}
.admin-body .shop-form label:has(>input[type=checkbox]),.admin-body .commerce-admin-fields label:has(>input[type=checkbox]){display:flex;align-items:center;gap:10px}
.admin-body [data-bundle-slots]{display:grid;gap:16px;margin-block:20px}
.admin-body [data-bundle-slots]>label{margin:0;padding:16px;border:1px solid var(--line);border-radius:8px}
.admin-body [data-remove-bundle-wine]{margin-top:10px;min-height:40px;padding:8px 12px;border:1px solid #eacbd0;border-radius:6px;background:#fff7f8;color:var(--wine)}
.admin-body .variant-row .photo-path+input{margin-top:10px}
.admin-body .editor-row-fields label>input+input{margin-top:12px}
.admin-body .content-editor+.content-editor{margin-top:24px}
@media(max-width:600px){
 .admin-body :is(input,select,textarea):not([type=checkbox]):not([type=radio]){font-size:16px}
 .admin-body .modal__header{gap:12px;align-items:center}
 .admin-body .modal__header h3{font-size:22px}
 .admin-body :is(.admin-form-grid,.settings-grid,.admin-form--product,.product-specific-fields,.category-field-grid){gap:20px}
 .admin-body .modal__actions>.admin-btn{flex:1 1 130px;min-height:44px}
 .admin-body :is(.photo-input-actions,.product-photo-actions,.promo-image-actions)>.admin-btn{flex:1 1 140px}
}
.admin-body .product-editor-actions{display:flex;align-items:stretch;gap:12px;padding:16px 0;margin-top:24px;border-top:1px solid var(--line)}
.admin-body :is(.product-editor-actions,.modal__actions)>.admin-btn{display:inline-flex;align-items:center;justify-content:center;margin:0;min-height:44px;height:auto;align-self:stretch;line-height:1.4}
.admin-body .modal-shell{z-index:300}
.admin-body .modal-shell--photo{z-index:320}

/* Awards have one mobile icon; the bottle rests on the glass baseline. */
.navbar #shop-navigation a[href="/awards"]::before{display:none!important}
@media(max-width:760px){.active .menu-bottle-shadow{animation:menu-bottle-shadow 2s ease-in-out both}}
@keyframes menu-bottle-shadow{0%,8%,100%{opacity:.12}20%,88%{opacity:0}}
@media(prefers-reduced-motion:reduce){.active .menu-bottle-shadow{animation:none!important}}

/* Storefront feedback and restrained motion. */
.motion-added{position:relative!important}
.motion-added::after{content:'Додано ✓';position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border-radius:inherit;background:var(--wine);color:#fff;font:inherit;z-index:1}
#catalog-results[aria-busy="true"]{opacity:.6;transition:opacity .15s}
.catalog-feedback:not([hidden]){display:flex;align-items:center;gap:10px}
#catalog:has(#catalog-results[aria-busy="true"]) .catalog-feedback::before{content:'';width:16px;height:16px;flex:0 0 16px;border:2px solid #e7d5d8;border-top-color:var(--wine);border-radius:50%;animation:catalog-spin .7s linear infinite}
.catalog-arrived{animation:catalog-arrive .25s ease-out}
@keyframes catalog-spin{to{transform:rotate(360deg)}}
@keyframes catalog-arrive{from{opacity:.45;transform:translateY(5px)}to{opacity:1;transform:none}}
.award-card__media{position:relative;overflow:hidden}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 .award-card__media::after{content:'';position:absolute;inset:-25% -60%;background:linear-gradient(110deg,transparent 43%,#fff5 50%,transparent 57%);transform:translateX(-80%);pointer-events:none}
 .award-card:hover .award-card__media::after{animation:award-shine .8s ease-out}
}
@keyframes award-shine{to{transform:translateX(80%)}}
@media(prefers-reduced-motion:reduce){.catalog-arrived,#catalog:has(#catalog-results[aria-busy="true"]) .catalog-feedback::before{animation:none}#catalog-results[aria-busy="true"]{transition:none}}

/* Compact catalogue controls: products first, details on demand. */
.page-categories .wine-filters{padding:16px;margin-bottom:20px}
.page-categories .wine-filters__top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}
.page-categories .wine-search{min-width:0}
.page-categories .wine-search>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.page-categories .wine-search input{margin:0;height:44px;min-height:44px;font-size:16px;padding:10px 12px;width:100%}
.page-categories .wine-filter-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:6px;white-space:nowrap;font-size:15px}
.page-categories .wine-filter-toggle svg{width:18px;height:18px;flex:0 0 18px}
.page-categories .catalog-countline{margin-top:8px;line-height:1.3}
.page-categories #catalog-count{font-size:12px;font-weight:400;color:var(--muted)}
.page-categories .wine-filter-panel{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.page-categories .wine-filter-panel>.wine-sort{display:block;max-width:360px;margin-bottom:16px}
.page-categories .wine-filter-panel>.wine-categories{margin-bottom:20px}
.page-categories .wine-selected:empty{display:none}
@media(max-width:760px){
 .page-categories #catalog{padding-top:24px}
 .page-categories .catalog-intro{margin-bottom:20px;padding:0}
 .page-categories .catalog-intro>.eyebrow,.page-categories .catalog-intro>p{display:none}
 .page-categories .catalog-intro h1{font-size:32px;line-height:1.15;margin:0}
 .page-categories .wine-filters{padding:12px;margin-bottom:16px}
 .page-categories .wine-filters__top{gap:8px}
 .page-categories .wine-filter-toggle{padding:10px;font-size:14px;gap:6px}
 .page-categories .wine-search input{font-size:16px}
}

.page-categories .wine-selected:not(:has(button)){display:none}
.page-categories .wine-filter-toggle{height:44px;padding-block:0;margin:0;align-self:center}

/* Inline route illustration avoids a missing external icon mask. */
.route-button{display:inline-flex;align-items:center;justify-content:center;gap:12px}
.route-button::before{display:none!important}
.route-button .route-icon{display:block;width:28px;height:28px;flex:0 0 28px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.route-icon__trail{stroke-dasharray:1;stroke-dashoffset:0;animation:route-draw 2s ease-out both}
.route-icon__pin{transform-origin:19px 15px;animation:route-pin 2s ease-out both}
.route-button:hover .route-icon__trail,.route-button:focus-visible .route-icon__trail{animation:route-draw-hover 1.2s ease-out both}
.route-button:hover .route-icon__pin,.route-button:focus-visible .route-icon__pin{animation:route-pin-hover 1.2s ease-out both}
@keyframes route-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes route-draw-hover{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes route-pin{0%,65%{transform:translateY(-3px)}85%{transform:translateY(1px)}100%{transform:none}}
@keyframes route-pin-hover{0%,65%{transform:translateY(-3px)}85%{transform:translateY(1px)}100%{transform:none}}
@media(prefers-reduced-motion:reduce){.route-button .route-icon__trail,.route-button .route-icon__pin{animation:none!important;transform:none;stroke-dashoffset:0}}
.language-switch{display:inline-flex;align-items:center;gap:2px;font-size:12px;letter-spacing:0;line-height:1.2;flex:none}
.language-switch a{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:30px;padding:5px 7px;border:0!important;border-radius:4px}
.language-switch a[aria-current]{background:#ffffff26;font-weight:700}
.shop-announcement{position:relative;padding-inline:108px}
.shop-announcement>.language-switch{position:absolute;right:16px;top:50%;transform:translateY(-50%)}
.age-overlay{position:fixed;inset:0;z-index:2000;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;overflow:auto;padding:24px}
body:has(.age-overlay){overflow:hidden}
.age-overlay .age-card{margin:auto;max-width:600px}
.age-overlay .language-switch{align-self:flex-end;color:var(--wine)}
.age-overlay .language-switch a[aria-current]{background:var(--rose)}
html[lang=ru] .motion-added::after{content:'Добавлено ✓'}
@media(max-width:760px){.shop-announcement{padding:4px 88px 4px 10px;font-size:10px;letter-spacing:0;min-height:34px;justify-content:flex-start}.shop-announcement>a{display:none}.shop-announcement>.language-switch{right:6px}.language-switch a{min-width:34px;padding-inline:5px}.age-overlay{padding:16px}.age-overlay .age-card{padding-inline:0}}
.static-head h1,.static-article{overflow-wrap:anywhere}
/* Longer translated navigation and contact labels. */
@media(min-width:761px) and (max-width:1180px){.navbar{width:calc(100% - 40px);gap:12px}.navbar>.brand .brand-logo{width:120px}.navbar #shop-navigation{gap:7px}.navbar #shop-navigation>li>a{font-size:13px;gap:5px}.navbar .nav-actions{gap:8px}}
.contact-panels>*{min-width:0}.hours-list li{flex-wrap:wrap}.hours-list strong{overflow-wrap:anywhere}
@media(max-width:360px){.hours-list li{display:flex;flex-direction:column;align-items:flex-start;gap:3px}.contact-panel{padding:18px}}
/* Keep the hero caption legible on sunlit photographs. */
.hero-visual>.image-caption{left:0;right:0;bottom:0;display:block;padding:64px 24px 22px;background:linear-gradient(to bottom,transparent,rgba(25,17,14,.62) 58%,rgba(25,17,14,.82));border-radius:0 0 3px 3px;color:#fff;font-size:clamp(14px,1.1vw,16px);font-weight:500;line-height:1.5;letter-spacing:.02em;text-shadow:0 1px 2px #0006}
@media(max-width:760px){.hero-visual>.image-caption{padding:54px 18px 18px}}
/* Product management: size the rows to their actual available width. */
.admin-body #panel-products .product-actions__header{align-items:center;gap:20px;margin-bottom:22px}
.admin-body #panel-products .product-actions__header h3{font-size:26px;line-height:1.2}
.admin-body #panel-products .product-actions__header p{margin:8px 0 0;font-size:14px;line-height:1.5}
.admin-body #panel-products .product-actions__header>button{flex:none;min-height:44px;padding:10px 16px;white-space:nowrap}
.admin-body #panel-products .product-search{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(160px,1fr);gap:12px;margin:0 0 12px}
.admin-body #panel-products .product-search :is(input,select){min-width:0;min-height:44px;font-size:14px}
.admin-body #panel-products .product-filters{margin:0 0 24px}
.admin-body #panel-products .product-list__header h3{font-size:22px}
.admin-body #panel-products .admin-product-tools{display:flex;align-items:center;gap:8px 12px;padding:12px;margin:14px 0 18px;background:#faf9f8}
.admin-body #panel-products .admin-product-tools label{margin:0 auto 0 8px;width:auto;font-size:13px}
.admin-body #panel-products .admin-product-tools .admin-btn{min-height:38px;font-size:13px;line-height:1.3}
.admin-body #panel-products #bulk-product-status:empty{display:none}
.admin-body #panel-products #bulk-product-status:not(:empty){flex-basis:100%;font-size:13px}
.admin-body #panel-products #products-list.table-view{container-type:inline-size}
.admin-body #panel-products #products-list.table-view .product-card-admin{display:grid!important;grid-template-columns:20px 64px minmax(0,1fr) 150px 125px 130px!important;grid-template-areas:"check photo info price stock actions";gap:16px;align-items:center;padding:18px!important}
.admin-body #panel-products #products-list.table-view .admin-product-selection{grid-area:check;width:18px;height:18px;margin:0;justify-self:center}
.admin-body #panel-products #products-list.table-view .product-card-admin__photo{grid-area:photo;width:64px;height:80px;min-width:0;margin:0;overflow:hidden;border-radius:8px;background:#f5f1ed}
.admin-body #panel-products #products-list.table-view .product-card-admin__photo img{width:100%!important;height:100%!important;margin:0;object-fit:contain}
.admin-body #panel-products #products-list.table-view .product-card-admin__head{grid-area:info;min-width:0;margin:0}
.admin-body #panel-products #products-list.table-view .product-card-admin__head strong{font-size:17px;line-height:1.3;display:block;overflow-wrap:anywhere}
.admin-body #panel-products #products-list.table-view .product-card-admin__variants{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:12px;line-height:1.5;margin-top:6px;color:#77716c}
.admin-body #panel-products #products-list.table-view .product-card-admin__price{grid-area:price;margin:0;font-size:0;min-width:0}
.admin-body #panel-products #products-list.table-view .product-card-admin__price::before{content:"Ціна, грн";display:block;font-size:12px;color:#77716c;line-height:1.4}
.admin-body #panel-products #products-list.table-view .product-card-admin__price>span{font-size:13px}
.admin-body #panel-products #products-list.table-view .admin-quick-price{display:flex;align-items:center;gap:6px;margin-top:6px}
.admin-body #panel-products #products-list.table-view .admin-quick-price input{width:100%!important;min-width:0;max-width:none;flex:1 1 0;min-height:40px!important;font-size:14px!important}
.admin-body #panel-products #products-list.table-view .admin-quick-price button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;height:40px;font-size:12px;padding:0}
.admin-body #panel-products #products-list.table-view .product-card-admin__availability{grid-area:stock;font-size:12px;line-height:1.4;margin:0;min-width:0}
.admin-body #panel-products #products-list.table-view .product-card-admin__actions{grid-area:actions;padding:0;margin:0;min-width:0}
.admin-body #panel-products #products-list.table-view .product-card-admin__actions a{width:100%;min-height:40px;padding:9px 10px;font-size:13px;gap:7px;white-space:nowrap}
@container(max-width:900px){.admin-body #panel-products #products-list.table-view .product-card-admin{grid-template-columns:20px 64px minmax(0,1fr) 145px!important;grid-template-areas:"check photo info price" ". photo stock actions";gap:10px 16px}}
@container(max-width:520px){.admin-body #panel-products #products-list.table-view .product-card-admin{grid-template-columns:18px 60px minmax(0,1fr)!important;grid-template-areas:"check photo info" ". price price" ". stock stock" ". actions actions";gap:14px 12px;padding:16px!important}.admin-body #panel-products #products-list.table-view .product-card-admin__photo{width:60px;height:76px}.admin-body #panel-products #products-list.table-view .admin-quick-price{max-width:220px}.admin-body #panel-products #products-list.table-view .product-card-admin__head strong{font-size:16px}}
@media(max-width:600px){.admin-body #panel-products .product-actions__header{align-items:flex-start;flex-direction:column;gap:14px}.admin-body #panel-products .product-actions__header h3{font-size:24px}.admin-body #panel-products .product-actions__header>button{width:100%}.admin-body #panel-products .product-search{grid-template-columns:1fr}.admin-body #panel-products .admin-product-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px}.admin-body #panel-products .admin-product-tools label{grid-column:1/-1;margin:4px 0;min-height:32px}.admin-body #panel-products .admin-product-tools [data-bulk-available]{min-width:0;padding:9px;font-size:12px}.admin-body #panel-products #bulk-product-status{grid-column:1/-1}}
.admin-body #promo-form .promo-value-field{display:grid;gap:8px}.admin-body #promo-type{min-height:48px}.admin-body #promo-type-hint{padding:12px 16px;background:#faf5f2;border-radius:8px;line-height:1.6;margin:0 0 6px}.admin-body .promo-preview [data-preview-warning]:not(:empty){padding:12px;border:1px solid #e1b96d;background:#fff8e8;border-radius:8px;color:#775015}.admin-body .promo-card__badge{font-variant-numeric:tabular-nums}
.admin-body #promo-image-preview img{width:100%;height:100%;object-fit:contain}.admin-body #promo-form-error:not(:empty){padding:12px 16px;border-radius:8px;background:#fff0f1;color:#922438;margin:0}

/* Catalogue: aligned, quiet controls at every screen width. */
.page-categories #catalog-filter-form{padding:12px 14px;border-radius:10px;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:18px;align-items:center}
.page-categories #catalog-filter-form .wine-filters__top{gap:10px;align-items:stretch}
.page-categories #catalog-filter-form .wine-search{display:flex;margin:0;line-height:1;align-items:center}
.page-categories #catalog-filter-form :is(input[type=search],input[type=number],select){box-sizing:border-box;height:44px;min-height:44px;margin:0;font-size:16px;font-weight:400;line-height:1.3;border-radius:6px;padding-block:10px}
.page-categories #catalog-filter-form input::placeholder{font-weight:400;color:#827d79;opacity:1}
.page-categories #catalog-filter-form .wine-filter-toggle{box-sizing:border-box;height:44px;min-height:44px;margin:0;padding:0 14px;font-size:14px;font-weight:400;line-height:1;align-self:stretch}
.page-categories #catalog-filter-form .wine-filter-toggle>span{font-size:20px;font-weight:400;line-height:1}
.page-categories #catalog-filter-form .catalog-countline{margin:0;white-space:nowrap;line-height:1}
.page-categories #catalog-filter-form #catalog-count{font-size:12px;font-weight:400}
.page-categories #catalog-filter-form :is(.wine-filter-panel,.wine-selected){grid-column:1/-1}
.page-categories #catalog-filter-form .wine-sort{margin:0 0 12px;max-width:320px}
.page-categories #catalog-filter-form .wine-sort>span{display:block;margin-bottom:6px;font-size:12px;font-weight:400}
.page-categories #catalog-filter-form .wine-categories{margin:12px 0 18px;gap:8px}
.page-categories #catalog-filter-form .wine-categories span{padding:7px 14px;font-size:13px;font-weight:400;line-height:1.4}
.page-categories #catalog-filter-form .wine-categories label{margin:0}
.page-categories #catalog-filter-form legend{font-size:13px;font-weight:500;margin-bottom:8px;line-height:1.4}
.page-categories #catalog-filter-form .wine-facets{gap:18px 24px}
.page-categories #catalog-filter-form .wine-options{gap:2px}
.page-categories #catalog-filter-form .wine-option{margin:0;gap:8px;min-height:34px;font-size:13px;font-weight:400;line-height:1.4}
.page-categories #catalog-filter-form .wine-option small{font-size:11px;font-weight:400;background:transparent}
.page-categories #catalog-filter-form .wine-price label{margin:0}
.page-categories #catalog-filter-form .wine-price label>span{font-size:12px;font-weight:400}
.page-categories #catalog-filter-form .wine-filter-footer{margin-top:16px;padding-top:12px;gap:10px}
.page-categories #catalog-filter-form .wine-filter-footer .button-primary{font-size:13px;font-weight:500;min-height:44px;padding:10px 18px}
.page-categories #catalog-filter-form .wine-selected:not(:empty){padding-top:12px}
@media(max-width:600px){
 .page-categories #catalog-filter-form{padding:10px;grid-template-columns:1fr;gap:0;margin-bottom:16px}
 .page-categories #catalog-filter-form .wine-filters__top{gap:8px}
 .page-categories #catalog-filter-form .wine-filter-toggle{padding-inline:10px;font-size:13px;gap:6px}
 .page-categories #catalog-filter-form .wine-filter-toggle svg{width:16px;height:16px;flex-basis:16px}
 .page-categories #catalog-filter-form .catalog-countline{margin-top:8px;text-align:right}
 .page-categories #catalog-filter-form #catalog-count{font-size:11px}
 .page-categories #catalog-filter-form .wine-facets{gap:16px 14px}
 .page-categories #catalog-filter-form .wine-sort{max-width:none}
 .page-categories #catalog-filter-form .wine-filter-panel{margin-top:12px;padding-top:12px}
}
/* Short interaction feedback; page navigation remains instant. */
@media(prefers-reduced-motion:no-preference){
 #cart-modal:not([hidden]) .cart-panel{animation:cart-panel-enter .22s ease-out both}
 .curated-bundle .bundle-photo-line img{transition:transform .2s ease-out}
 #tasting-form.is-sending button[type=submit]::before{content:'';display:inline-block;width:14px;height:14px;margin-right:10px;border:2px solid #ffffff60;border-top-color:#fff;border-radius:50%;animation:catalog-spin .7s linear infinite;vertical-align:middle}
 #tasting-form.is-sent [data-form-status]{animation:tasting-confirm .25s ease-out}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.curated-bundle:hover .bundle-photo-line img{transform:translateY(-5px)}}
#tasting-form.is-sent [data-form-status]{padding:14px 16px;background:#eef5ef;border:1px solid #c8ddcc;border-radius:8px;color:#315d3a;font-size:14px;line-height:1.6}
@keyframes cart-panel-enter{from{opacity:.65;transform:translateX(35px)}to{opacity:1;transform:translateX(0)}}
@keyframes tasting-confirm{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}

/* Loading must not fade existing wines or move the catalogue. */
.page-categories #catalog-results[aria-busy="true"]{opacity:1;pointer-events:auto;transition:none}
.page-categories #catalog-controls{position:relative}
.page-categories .catalog-feedback:not([hidden]){position:absolute;left:0;right:0;bottom:0;z-index:3;margin:0;padding:8px 12px;font-size:12px;box-shadow:0 2px 8px #0000000a}
.page-categories .catalog-arrived{animation:catalog-soft-appear .16s ease-out}
@keyframes catalog-soft-appear{from{opacity:.65}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.page-categories .catalog-arrived{animation:none}}
