/* DII Stores — phone layout (≤767px). Desktop untouched. */
@media (max-width:767px){
html,body{overflow-x:clip;max-width:100%}
img,svg,video,iframe{max-width:100%}
/* Header: logo left, menu right */
.nav-inner{grid-template-columns:minmax(0,1fr) auto;gap:12px}
.nav-inner>nav{display:contents}
.nav-logo{min-width:0}
.nav-cta .btn,.nav-cta .btn.always{display:none!important}
.nav-hamburger{display:block;flex:none}
.nav-links{left:0;right:auto;width:100%;max-width:100vw;padding:8px 20px 20px;max-height:calc(100vh - var(--nav-h));overflow-y:auto}
.nav-links a{white-space:normal;min-height:44px}
.logo-text .since{font-size:13px;letter-spacing:.2em}
.xmas-logo{width:48px!important;height:48px!important}
/* Tap targets */
.btn,.btn.small{min-height:44px;justify-content:center}
/* Footer: compact */
/* Small type floor */
.eyebrow,.label,.mono,.btn,.btn.small,.footer h4,.field label,.news-card .meta,.news-card .read,.photo-placeholder .label{font-size:13px}
/* ===== Home ===== */
body:not([data-headline]) .hero-frame-inner,body[data-headline="dii-stores"] .hero-frame-inner{transform:none;padding:0 20px;box-sizing:border-box}
.hero-title .hl-default{gap:.3em!important;max-width:100%}
body:not([data-headline]) .hero-title .hl-default>span,body[data-headline="dii-stores"] .hero-title .hl-default>span{font-size:clamp(44px,16vw,64px)}
.hero-tagline{max-width:100%;padding:0}
.tagline-badge{white-space:normal!important;max-width:100%;text-wrap:balance;line-height:1.35;padding:10px 16px!important;font-size:14px!important}
.hero-actions .hero-link{display:none}
.value-stats{flex-direction:row!important;justify-content:center;align-items:flex-start;gap:8px!important;padding:12px 0}
.value-stats .stat-item{flex:1 1 0;min-width:0;gap:8px}
.value-stats .stat-sep{width:1px!important;height:56px!important;flex:none;align-self:center}
.value-stats .stat-num{font-size:clamp(40px,13vw,56px)}
.value-stats .stat-label{font-size:13px;letter-spacing:.1em;line-height:1.3;text-align:center}
.cat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 14px!important}
.cat-card .name{font-size:16px}
/* ===== Christmas ===== */
.xmas-hero .hero-inner{width:100%;max-width:100%;box-sizing:border-box;padding-left:20px!important;padding-right:20px!important}
.xmas-hero h1{font-size:clamp(28px,9.4vw,40px)!important;letter-spacing:.02em;overflow-wrap:break-word}
.xh-placeholder .label{white-space:normal;width:calc(100% - 40px);text-align:center}
.xh-badge,.xmas-num,.quote-attr,.aisle-num{font-size:13px}
.xmas-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 14px!important}
.xmas-card .xmas-img{margin-bottom:12px}
.xmas-card h3{font-size:16px}
.xmas-card p{font-size:14px}
/* ===== About ===== */
.hood-boro,.caption,.nf-meta,.nf-read{font-size:13px}
.news-card .thumb{aspect-ratio:16/7}
.nf-photo{aspect-ratio:16/8!important;height:auto}
/* ===== Brands ===== */
.brand-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
.brand-tile{padding:10px!important;font-size:13px!important;letter-spacing:.02em;overflow-wrap:anywhere}
.brand-section{margin-bottom:48px}
.brand-section-head{margin-bottom:20px;padding-bottom:14px}
/* ===== Store pages ===== */
.store-pager{flex-direction:column;gap:10px}
.store-pager a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 16px;border:1.5px solid rgba(255,255,255,.7);text-align:center;font-size:13px}
.store-map{display:none}
.store-photo{min-height:200px}
/* ===== Store Locator ===== */
.loc-name{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:break-word}
.loc-line1{flex-wrap:wrap}
.loc-dist{font-size:13px}
.loc-hours{font-size:15px}
/* ===== Hiring / Categories / Contact ===== */
.perk-num,.job-type,.job-loc,.job-cta,.apply-num,.cat-tab,.sub-chip,.prod-sub{font-size:13px}
.cat-tab{min-height:44px}
}
/* ===== Phones, inside pages only (Nov 13, 2026): zoomed out for less scrolling.
   The homepage and the Christmas page keep their own phone sizes, so they are left out here. ===== */
@media (max-width:600px){
body:not(:has(.hero-marquee)):not(:has(.xmas-hero)) main h1,
body:not(:has(.hero-marquee)):not(:has(.xmas-hero)) section h1{font-size:29px;line-height:1.1}
body:not(:has(.hero-marquee)):not(:has(.xmas-hero)) section h2:not(.policy h2,.store-page h2){font-size:22px;line-height:1.15}
body:not(:has(.hero-marquee)):not(:has(.xmas-hero)) section :is(p,li):not(.job-loc,.sub-chip,.loc-line2,.loc-status,.loc-card *,.dp-hint,.dp-blurb,.dp-chips li){font-size:15px;line-height:1.55}
body:not(:has(.hero-marquee)):not(:has(.xmas-hero)) .section-head{margin-bottom:20px}
/* Less empty space above and below each band */
body:not(:has(.hero-marquee)):not(:has(.xmas-hero)) :is(.section-white,.section-cream,.section-navy,.ab-red,.ab-blue,.faq-section,.policy,.ct-form-section,.ct-phones,.cat-browse){padding-top:36px;padding-bottom:36px}
body:not(:has(.hero-marquee)):not(:has(.xmas-hero)) .page-header,
body:not(:has(.hero-marquee)):not(:has(.xmas-hero)) .faq-hero,
body:not(:has(.hero-marquee)):not(:has(.xmas-hero)) .ct-hero{padding-top:36px!important;padding-bottom:24px!important}
body:not(:has(.hero-marquee)):not(:has(.xmas-hero)) .about-lede{padding-top:44px;padding-bottom:28px}
/* Brands: 4 across */
.brand-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
/* Store Locator rows: tighter */
.loc-card{min-height:0;padding:9px 12px 9px 13px}
.loc-hours{font-size:14px}
}
