/* Gospel & Gear mobile layout safeguards. Enqueued after all theme styles. */
@media (max-width: 930px) {
  html,body { max-width:100%; }
  .site-header,.announcement,.hero,.ticker,main#main { max-width:100%; }
  .header-inner { width:100%; min-width:0; gap:12px; }
  .header-inner .brand { min-width:0; max-width: min(55vw,210px); flex:0 1 auto; }
  .header-inner .brand-image { display:block; width:100%; max-width:100%; height:auto; object-fit:contain; }
  .header-actions { display:flex; flex:0 0 auto; align-items:center; min-width:0; margin-left:auto; gap:4px; }
  .header-actions .icon-action { flex:0 0 auto; }
  .hero .hero-grid { width:100%; min-width:0; grid-template-columns:minmax(0,1fr); }
  .hero .hero-content,.hero .hero-visual { min-width:0; max-width:100%; }
  .hero .hero-content { padding-top:65px; padding-bottom:20px; }
  .hero .hero-content h1 { max-width:100%; white-space:normal; overflow-wrap:normal; font-size:clamp(48px,9vw,85px); line-height:1.02; letter-spacing:-.065em; }
  .hero .hero-buttons { flex-wrap:wrap; gap:12px 22px; }
  .hero .hero-visual { width:100%; height:clamp(330px,62vw,500px); min-height:0; }
  .hero .hero-image { box-sizing:border-box; }
  .hero .hero-image-main { width:48%; height:75%; right:9%; top:10%; }
  .hero .hero-image-left { width:42%; height:65%; left:10%; top:22%; }
  .hero .hero-sticker { left:7%; top:7%; }
  .hero .hero-back-word { font-size:clamp(110px,25vw,210px); right:0; }
  .section-top,.section-top-line,.story-grid,.footer-top,.promo-inner { min-width:0; }
  .section-top h2,.section-top-line h2,.story-copy h2,.statement h2,.last-call h2 { overflow-wrap:break-word; }
  .woocommerce ul.products li.product, .featured-products li.product { min-width:0; }
}
@media (max-width: 620px) {
  .wrap,.gg-commerce-container { width:100%; max-width:100%; padding-left:var(--gg-mobile-gutter,18px); padding-right:var(--gg-mobile-gutter,18px); }
  .site-header .header-inner { min-height:66px!important; gap:7px; }
  .header-inner .brand { width:auto!important; flex:0 1 auto!important; max-width:min(53vw,190px); }
  .header-actions { gap:0; }
  .header-actions .icon-action { padding:6px; min-width:32px; min-height:36px; display:inline-flex; align-items:center; justify-content:center; }
  .header-actions .icon-action svg { width:20px; height:20px; }
  .header-actions .mobile-toggle { min-width:34px; }
  .gg-header-tagline { display:none; }
  .announcement { min-height:0; padding:8px 24px; font-size:9px; line-height:1.35; letter-spacing:.05em; text-align:center; overflow-wrap:anywhere; }
  .announcement .gg-announcement-dismiss { position:absolute; right:4px; }
  .hero .hero-grid { min-height:0!important; }
  .hero .hero-content { padding:48px 0 14px; }
  .hero .hero-content .eyebrow { font-size:10px; line-height:1.45; max-width:100%; letter-spacing:.08em; margin-bottom:20px; }
  .hero .hero-content h1 { font-size:clamp(39px,10.3vw,64px)!important; line-height:1.01; letter-spacing:-.065em; margin-bottom:20px; }
  .hero .hero-content h1 span { letter-spacing:-.075em; }
  .hero .hero-content>p { font-size:14px; line-height:1.6; max-width:100%; margin:0; }
  .hero .hero-buttons { display:flex; flex-wrap:wrap; align-items:center; gap:12px 18px; margin:25px 0 12px; }
  .hero .hero-buttons .btn { width:auto; min-width:0; min-height:44px; padding:12px 14px; gap:12px; font-size:10px; }
  .hero .hero-buttons .text-link { max-width:100%; white-space:normal; overflow-wrap:anywhere; }
  .hero .hero-visual { width:100%; height:clamp(260px,83vw,390px); min-height:0!important; margin:0 auto; }
  .hero .hero-image-main { width:53%; height:74%; right:7%; top:15%; border-width:5px; }
  .hero .hero-image-left { width:45%; height:66%; left:9%; top:24%; border-width:5px; }
  .hero .hero-sticker { width:75px; height:75px; left:1%; top:9%; font-size:12px; border-width:2px; }
  .hero .hero-sticker span { font-size:9px; }
  .hero .hero-back-word { font-size:clamp(90px,27vw,145px); right:0; }
  .section .section-top h2,.section .section-top-line h2 { font-size:clamp(32px,9vw,56px); line-height:1.05; }
  .collection-card h3 { font-size:clamp(38px,12vw,65px); }
  .statement h2,.last-call h2 { font-size:clamp(42px,12vw,75px); line-height:1; }
  .footer-links { flex-wrap:wrap; }
  .gg-quick-dialog { max-width:calc(100vw - 20px); }
}
@media (max-width: 380px) {
  .header-inner .brand { max-width:48vw; }
  .header-actions .icon-action { padding:4px; min-width:29px; }
  .header-actions .icon-action svg { width:19px; height:19px; }
  .hero .hero-content h1 { font-size:clamp(36px,10vw,41px)!important; }
  .hero .hero-buttons { gap:10px; }
  .hero .hero-buttons .text-link { font-size:9px; }
  .hero .hero-visual { height:275px; }
  .hero .hero-sticker { width:69px; height:69px; }
}
/* Grid children may not make the page wider than its viewport. */
.hero-grid > *, .category-grid > *, .collection-grid > *, .story-grid > *,
.gg-home-catalog .products > *, .gg-commerce-main .products > * { min-width:0; }
