/* One homepage product system for ready-made boxes and individual wines. */
.package-showcase,.wine-discovery{--product-columns:1;--product-gap:24px;padding:48px 0 32px var(--gutter);overflow:hidden;color:#241b13}
.package-showcase>h2,.wine-discovery .wd-section-heading h2{font-family:var(--font-display);font-size:clamp(32px,3.2vw,44px);font-weight:650;line-height:1.12;letter-spacing:-.03em;margin:0}
.package-showcase>h2{margin:0 var(--gutter) 28px 0}
.wine-discovery .wd-section-heading{margin:0 var(--gutter) 32px 0}
.home-product-shelf{display:grid;grid-auto-flow:column;grid-auto-columns:min(288px,calc(100% - var(--gutter) - 24px));gap:var(--product-gap);min-width:0;margin:0;padding:0 var(--gutter) 16px 0;list-style:none;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-inline:0 var(--gutter);scrollbar-width:thin;scrollbar-color:#b0a599 #e8e1d6}
.home-product-shelf>li{display:flex;min-width:0;scroll-snap-align:start}
.package-showcase .package-card,.wine-discovery .wd-card{display:flex;flex-direction:column;min-width:0;width:100%;height:100%;border:1px solid #e8e1d7;border-radius:20px;background:#fffdfa}
.package-showcase .package-card .package-image-button,.wine-discovery .wd-photo{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:auto;aspect-ratio:1;flex:none;padding:0;border:0;border-radius:19px;background:#f5f3ef;overflow:hidden}
.package-showcase .package-image{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;border-radius:0;background:transparent;mix-blend-mode:multiply}
.wine-discovery .wd-photo img{width:74%;height:88%;object-fit:contain;mix-blend-mode:multiply}
.package-showcase .package-card-copy,.wine-discovery .wd-card-body{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;padding:20px;color:#241b13}
.package-showcase .package-maker,.wine-discovery .wd-farmer{display:block;min-height:0;margin:0 0 6px;font-family:Plus Jakarta Sans,Arial,sans-serif;font-size:13px;font-weight:400;line-height:1.5;color:#655b50}
.package-showcase .package-card h3,.wine-discovery .wd-card h3{font-family:var(--font-display);font-size:clamp(23px,2vw,30px);font-weight:600;line-height:1.13;letter-spacing:-.035em;min-height:0;margin:0;hyphens:auto;overflow-wrap:anywhere;text-wrap:pretty}
.package-showcase .package-card-origin{display:flex;align-items:start;gap:10px;min-height:0;margin:10px 0 8px;font-size:13px;font-weight:500;line-height:1.6}
.package-showcase .package-country-flag{flex:none;font-size:22px;line-height:1}
.package-showcase .package-farmer-introduction,.wine-discovery .wd-taste{max-width:none;margin:0 0 20px;font-size:14px;line-height:1.65;font-weight:400;color:#655b50}
.wine-discovery .wd-taste{margin-top:12px}
.package-showcase .package-box-purchase,.wine-discovery .wd-card-bottom{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;margin-top:auto}
.package-showcase .package-box-price,.wine-discovery .wd-card-bottom>p{display:flex;flex-direction:column;align-items:flex-start;flex:none;gap:3px;min-height:0;margin:0}
.package-showcase .package-box-price strong,.wine-discovery .wd-card-bottom>p strong{font-size:19px;font-weight:600;line-height:1.2;letter-spacing:-.025em;white-space:nowrap}
.wine-discovery .wd-farmer{display:flex;align-items:center;gap:8px}.wine-discovery .wd-card-bottom>p span{font-size:12px;color:#655b50}
.package-showcase .package-add-box,.wine-discovery .wd-add{display:flex;align-items:center;justify-content:center;flex:none;width:auto;gap:5px;min-height:44px;padding:11px 14px;border:0;border-radius:999px;background:#121212;color:#fff;font-family:Plus Jakarta Sans,Arial,sans-serif;font-size:14px;font-weight:700;line-height:1.2;white-space:nowrap}
.wine-discovery .wd-add svg{flex:none;width:16px;height:16px}
.package-showcase .package-add-box:disabled{opacity:1;cursor:not-allowed}
.wine-discovery .wd-add:hover:not(:disabled){background:#292929}
.home-product-footer{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin:0 var(--gutter) 0 0;padding-top:16px;border-top:1px solid #e8e1d7;font-size:14px}
.home-product-footer>a{display:inline-flex;align-items:center;gap:12px;min-height:48px;font-weight:500;text-decoration:underline;text-underline-offset:5px}
.home-product-footer>span{font-size:13px;color:#655b50;margin-left:auto}
.home-product-footer>button{display:flex;align-items:center;gap:12px;min-height:44px;border:0;border-radius:999px;padding:11px 18px;background:#eae3f1;font-size:14px;margin-left:auto}
.home-product-controls{display:flex;gap:8px;margin-left:auto}
.home-product-controls[hidden]{display:none}
.home-product-controls button{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border:1px solid #b0a599;border-radius:50%;background:transparent;cursor:pointer;transition:background .16s}
.home-product-controls button:hover:not(:disabled){background:#e8e1d6}
.home-product-controls button:disabled{opacity:.3;cursor:default}
.home-product-shelf:focus-visible,.home-product-shelf button:focus-visible,.home-product-shelf a:focus-visible,.home-product-footer :is(button,a):focus-visible{outline:3px solid #6b3aa6;outline-offset:3px}
.home-product-shelf :is(.package-image-button,.wd-photo):focus-visible{outline-offset:-4px}
@media(min-width:640px){.package-showcase,.wine-discovery{--product-columns:2}.home-product-shelf{grid-auto-columns:min(320px,calc((100% - (var(--product-columns) - 1)*var(--product-gap))/var(--product-columns)))}}
@media(min-width:960px){.package-showcase,.wine-discovery{--product-columns:3}}
@media(min-width:1280px){.package-showcase,.wine-discovery{--product-columns:4}}
@media(min-width:1600px){.package-showcase,.wine-discovery{--product-columns:5}}
@media(max-width:760px){.package-showcase,.wine-discovery{padding-block:32px}.home-product-footer{gap:10px 16px}.home-product-footer>span{margin-left:0}.wine-discovery .wd-section-heading h2{max-width:none}}
@media(max-width:359px){.home-product-shelf{grid-auto-columns:calc(100% - var(--gutter) - 8px)}.package-showcase .package-card-copy,.wine-discovery .wd-card-body{padding:16px}.package-showcase .package-card h3,.wine-discovery .wd-card h3{font-size:26px}.package-showcase .package-add-box,.wine-discovery .wd-add{padding-inline:11px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.home-product-controls button{transition:none}}
