/* Scoped to phones and tablets. The existing desktop layout stays intact. */
@media(max-width:1024px){
 .holiday-modal,.modal,.drawer{min-width:0;max-width:100%}
 .holiday-detail,.detail{grid-template-columns:minmax(0,1fr)}
 .holiday-detail>div,.detail>div{min-width:0;max-width:100%}
 .holiday-main,.detail img{max-width:100%;min-width:0}
 .holiday-thumbs{width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
 .holiday-thumbs button{min-width:56px}
 .holiday-detail select{min-width:0;max-width:100%;text-overflow:ellipsis}
 .holiday-detail h2,.detail h2,.holiday-detail p,.detail p{overflow-wrap:anywhere}
 .modal{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
}
@media(max-width:760px){
 header{padding-left:5%;padding-right:3%;gap:8px}
 .header-actions{display:flex;align-items:center;gap:0;flex-shrink:0}
 header button.flat{padding:10px 8px;min-height:44px}
 .hero-copy{padding:42px 6% 32px;min-height:0}
 .hero-copy h1{font-size:clamp(42px,12vw,55px);margin:18px 0;line-height:1.05}
 .hero-copy p{max-width:100%;margin:10px 0}
 .hero-copy .btn{margin-top:16px;min-height:48px}
 .hero-photo{min-height:340px}
 .section{padding:42px 5%}
 .holiday-grid{gap:28px}
 .holiday-card{min-width:0}
 .holiday-card h3{font-size:27px;line-height:1.15}
 .holiday-price{gap:12px;flex-wrap:wrap}
 .benefits{padding:18px 4%;gap:8px;line-height:1.6}
 .overlay,.overlay.cart{padding:0;align-items:stretch}
 .overlay .modal,.overlay .drawer{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;padding:calc(60px + env(safe-area-inset-top,0px)) 20px calc(28px + env(safe-area-inset-bottom,0px));border-radius:0;overflow-y:auto}
 .overlay .close{position:fixed;top:calc(10px + env(safe-area-inset-top,0px));right:14px;width:44px;height:44px;min-height:44px;display:grid;place-items:center;padding:0;border:1px solid #d8dace;border-radius:50%;background:#fbf7edf5;box-shadow:0 2px 10px #00000012;z-index:3}
 .holiday-detail,.detail{gap:24px}
 .holiday-main{display:block;aspect-ratio:1;width:100%;height:auto;object-fit:contain}
 .detail img{height:auto;max-height:380px;aspect-ratio:1;object-fit:contain}
 .holiday-detail h2,.detail h2{font-size:32px;line-height:1.1;margin:14px 0}
 .holiday-detail p,.detail p{font-size:14px;line-height:1.7}
 .holiday-detail label{font-size:13px}
 .holiday-detail select,input,select,textarea{font-size:16px}
 .holiday-detail select{padding:14px 10px;min-height:48px}
 .holiday-sizes,#sizes{display:grid;grid-template-columns:repeat(auto-fit,minmax(64px,1fr));gap:8px}
 .options .option{min-height:46px;min-width:0;white-space:normal;overflow-wrap:break-word;padding:10px 7px}
 .options .option.selected{padding:9px 6px}
 .btn.full{min-height:50px;white-space:normal;line-height:1.4;padding:14px 12px}
 .holiday-detail .notice,.detail .notice{font-size:11px;line-height:1.6}
 .holiday-fit{font-size:12px;padding:14px}
 .holiday-thumbs{padding:4px 3px 8px;gap:8px}
 .holiday-thumbs button{min-height:56px}
 .holiday-thumbs button[aria-pressed=true]{outline-offset:0}
 #analyticsConsent{left:12px!important;right:12px!important;bottom:calc(12px + env(safe-area-inset-bottom,0px))!important;padding:15px!important;max-width:none!important}
 #analyticsConsent p{line-height:1.5;margin:6px 0 10px!important}
 #analyticsConsent button{min-height:44px}
 .cart-row{grid-template-columns:64px minmax(0,1fr);gap:12px}
 .cart-row img{width:64px;height:75px}
 .quantity{flex-wrap:wrap;gap:8px}
 .quantity button{min-width:40px;min-height:40px}
}
