/* Record Shop final mobile consolidation - 2026-09-21
   Loaded last so later feedback/footer decoration cannot undo the phone layout.
   Store publication, sale eligibility and the 90-second preview rules remain in JS/API. */

@media(max-width:700px){
  html,body{max-width:100%;overflow-x:hidden}
  body.music-store-page{overflow-x:hidden}

  body.music-store-page .site-header{
    position:sticky!important;
    top:0!important;
    z-index:60!important;
    padding:7px 0!important;
  }
  body.music-store-page .site-header-inner{
    width:calc(100% - 16px)!important;
    max-width:none!important;
    padding:7px!important;
    gap:8px!important;
    align-items:stretch!important;
    flex-direction:column!important;
  }
  body.music-store-page .site-header .brand{
    width:100%!important;
    min-height:44px!important;
    justify-content:center!important;
    text-align:center!important;
  }
  body.music-store-page .site-nav{
    width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
    padding:4px!important;
  }
  body.music-store-page .site-nav a{
    min-width:0!important;
    min-height:42px!important;
    padding:7px 4px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    white-space:normal!important;
    font-size:.82rem!important;
    line-height:1.08!important;
    touch-action:manipulation;
  }

  body.music-store-page .music-shop,
  body.music-store-page .record-store-room{
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  body.music-store-page .music-shop-hero{
    width:100%!important;
    padding-left:10px!important;
    padding-right:10px!important;
  }
  body.music-store-page .music-store-stage{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-areas:"jukebox" "finder" "album"!important;
    justify-content:stretch!important;
    gap:16px!important;
    width:calc(100% - 20px)!important;
    max-width:none!important;
    margin:20px 10px 0!important;
    padding-bottom:0!important;
  }

  body.music-store-page .stage-guitar-pair{
    display:none!important;
  }

  body.music-store-page .jukebox-zone{
    grid-area:jukebox!important;
    order:1!important;
  }

  body.music-store-page .stage-find-panel{
    grid-area:finder!important;
    order:2!important;
    position:relative!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    transform:none!important;
  }

  body.music-store-page .album-builder{
    grid-area:album!important;
    order:3!important;
    margin-top:0!important;
  }
  body.music-store-page .jukebox-zone,
  body.music-store-page .album-builder{
    min-width:0!important;
    width:100%!important;
  }
  body.music-store-page .jukebox{
    width:100%!important;
    max-width:100%!important;
  }

  body.music-store-page .jukebox-find-results.is-open{
    max-height:240px!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
  }
  body.music-store-page .jukebox-find-results button{
    min-height:42px!important;
    padding:9px!important;
    font-size:12px!important;
  }

  body.music-store-page .music-suggestion-box{
    width:calc(100% - 20px)!important;
    max-width:none!important;
    margin:12px 10px 16px!important;
    transform:none!important;
  }
  body.music-store-page .music-suggestion-inner{
    grid-template-columns:1fr!important;
    gap:14px!important;
    padding:15px!important;
  }
  body.music-store-page .music-suggestion-form{
    min-width:0!important;
  }
  body.music-store-page .music-suggestion-form input,
  body.music-store-page .music-suggestion-form select,
  body.music-store-page .music-suggestion-form textarea{
    width:100%!important;
    min-width:0!important;
    min-height:44px!important;
    font-size:16px!important;
  }
  body.music-store-page .music-suggestion-form textarea{
    min-height:120px!important;
  }
  body.music-store-page .music-suggestion-send{
    width:100%!important;
    min-height:46px!important;
  }

  body.music-store-page .record-bin-row,
  body.music-store-page .music-store-explainer{
    width:calc(100% - 20px)!important;
    max-width:none!important;
    margin-left:10px!important;
    margin-right:10px!important;
    grid-template-columns:1fr!important;
  }

  body.music-store-page .festival-memory-wrap{
    width:calc(100% - 20px)!important;
    max-width:none!important;
    margin-left:10px!important;
    margin-right:10px!important;
  }
  body.music-store-page .festival-memory-image{
    width:100%!important;
    height:auto!important;
    transform:none!important;
  }

  body.music-store-page .site-footer{
    overflow:hidden!important;
    padding-bottom:18px!important;
  }
  body.music-store-page .site-footer-inner,
  body.music-store-page .site-footer-bottom{
    width:calc(100% - 20px)!important;
    max-width:none!important;
    margin-left:10px!important;
    margin-right:10px!important;
    grid-template-columns:1fr!important;
  }
  body.music-store-page .site-footer-socials,
  body.music-store-page .site-footer-nav-links{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.music-store-page .music-footer-plant,
  body.music-store-page .room-bottom-plant{
    display:none!important;
  }
  body.music-store-page .music-footer-bottom{
    min-height:0!important;
    position:relative!important;
    align-items:flex-start!important;
    flex-direction:column!important;
  }

  body.music-store-page button,
  body.music-store-page a.button{
    touch-action:manipulation;
  }

  body.music-store-page .is-hidden{display:none!important}
}

@media(max-width:430px){
  body.music-store-page .site-nav{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.music-store-page .site-footer-socials,
  body.music-store-page .site-footer-nav-links{
    grid-template-columns:1fr!important;
  }
  body.music-store-page .jukebox-title-strip{
    grid-template-columns:.78fr 1.45fr .78fr!important;
  }
  body.music-store-page .jukebox-title-card{
    min-width:0!important;
  }
}


/* 2026-09-21 phone review: compact Record Shop hero and intentional Shiggles composition */
@media(max-width:700px){
  body.music-store-page .site-header{
    padding:4px 0!important;
  }
  body.music-store-page .site-header-inner{
    width:calc(100% - 10px)!important;
    padding:5px!important;
    gap:5px!important;
  }
  body.music-store-page .site-header .brand{
    min-height:36px!important;
    padding:0 12px!important;
    font-size:1rem!important;
  }
  body.music-store-page .site-nav{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:4px!important;
    padding:3px!important;
  }
  body.music-store-page .site-nav a{
    min-height:34px!important;
    padding:5px 3px!important;
    font-size:.72rem!important;
    line-height:1!important;
  }

  body.music-store-page .music-shop-hero{
    position:relative!important;
    display:block!important;
    height:650px!important;
    min-height:650px!important;
    padding:10px!important;
    overflow:hidden!important;
  }
  body.music-store-page .music-shop-sign{
    position:absolute!important;
    top:10px!important;
    left:10px!important;
    right:10px!important;
    width:auto!important;
    max-width:none!important;
    height:205px!important;
    min-height:205px!important;
    padding:14px 16px!important;
    transform:none!important;
    border-radius:16px!important;
  }
  body.music-store-page .music-shop-kicker{
    font-size:10px!important;
    letter-spacing:.09em!important;
  }
  body.music-store-page .music-shop-sign h1{
    font-size:clamp(2.8rem,11.5vw,4rem)!important;
    line-height:.80!important;
  }
  body.music-store-page .music-shop-frequency{
    margin-top:10px!important;
    padding:6px 9px!important;
    white-space:normal!important;
    text-align:center!important;
    line-height:1.2!important;
  }
  body.music-store-page .hero-sign-scribble{
    top:50px!important;
    right:3%!important;
    font-size:14px!important;
  }

  body.music-store-page .music-shop-shiggles{
    position:absolute!important;
    z-index:4!important;
    left:-12px!important;
    right:auto!important;
    top:auto!important;
    bottom:116px!important;
    width:clamp(190px,54vw,285px)!important;
    height:auto!important;
    max-width:none!important;
    margin:0!important;
    clip-path:none!important;
    object-fit:contain!important;
    object-position:left bottom!important;
  }
  body.music-store-page .hero-neon-verse{
    position:absolute!important;
    z-index:7!important;
    left:47%!important;
    right:auto!important;
    top:auto!important;
    bottom:255px!important;
    width:min(45%,210px)!important;
    margin:0!important;
    justify-items:center!important;
    text-align:center!important;
    font-size:clamp(17px,4.8vw,24px)!important;
    line-height:.92!important;
    transform:rotate(-7deg)!important;
  }
  body.music-store-page .hero-neon-crown{
    font-size:28px!important;
  }
  body.music-store-page .hero-neon-verse span:nth-child(3),
  body.music-store-page .hero-neon-verse span:nth-child(4){
    margin-left:0!important;
  }
  body.music-store-page .hero-note{
    display:none!important;
  }

  body.music-store-page .music-shop-intro{
    position:absolute!important;
    z-index:8!important;
    left:10px!important;
    right:10px!important;
    bottom:8px!important;
    top:auto!important;
    width:auto!important;
    min-height:0!important;
    padding:12px 14px!important;
    border-radius:12px!important;
  }
  body.music-store-page .music-shop-intro strong{
    font-size:clamp(1.05rem,5vw,1.35rem)!important;
  }
  body.music-store-page .music-shop-intro p{
    margin-top:6px!important;
    font-size:12px!important;
    line-height:1.35!important;
  }

  body.music-store-page .room-toolbar{
    position:relative!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    left:auto!important;
    margin:0 10px 12px!important;
  }
  body.music-store-page .room-light-button{
    width:100%!important;
    min-height:40px!important;
  }
}

@media(max-width:430px){
  body.music-store-page .site-nav{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  body.music-store-page .site-nav a{
    min-height:33px!important;
    font-size:.68rem!important;
  }
  body.music-store-page .music-shop-hero{
    height:615px!important;
    min-height:615px!important;
  }
  body.music-store-page .music-shop-sign{
    height:195px!important;
    min-height:195px!important;
  }
  body.music-store-page .music-shop-sign h1{
    font-size:clamp(2.55rem,13vw,3.45rem)!important;
  }
  body.music-store-page .music-shop-shiggles{
    left:-15px!important;
    bottom:112px!important;
    width:min(58vw,220px)!important;
  }
  body.music-store-page .hero-neon-verse{
    left:46%!important;
    bottom:244px!important;
    width:49%!important;
    font-size:clamp(16px,5.1vw,21px)!important;
  }
  body.music-store-page .hero-sign-scribble{
    font-size:12px!important;
  }
}


/* 2026-09-21 targeted phone follow-up: move the pink scribble out of the title */
@media(max-width:700px){
  body.music-store-page .hero-sign-scribble{
    top:255px!important;
    right:7%!important;
    bottom:auto!important;
    z-index:6!important;
    width:128px!important;
    font-size:14px!important;
    line-height:.92!important;
    text-align:center!important;
    transform:rotate(-7deg)!important;
  }
}
@media(max-width:430px){
  body.music-store-page .hero-sign-scribble{
    top:238px!important;
    right:6%!important;
    width:116px!important;
    font-size:12px!important;
  }
}


@media(max-width:700px){
  body.music-store-page .music-checkout-panel{padding:11px!important;margin-top:10px!important}
  body.music-store-page .music-format-choice{grid-template-columns:1fr!important}
  body.music-store-page .music-format-option{min-height:56px!important;padding:11px!important}
  body.music-store-page .music-format-option b{font-size:11px!important}
  body.music-store-page .music-format-option small{font-size:9px!important;line-height:1.35!important}
  body.music-store-page .music-checkout-field input{min-height:42px!important;font-size:16px!important}
  body.music-store-page .music-order-submit{min-height:44px!important;font-size:11px!important}
  body.music-store-page .music-checkout-close{width:36px!important;height:36px!important;flex-basis:36px!important;font-size:23px!important}
  body.music-store-page .music-redownload-note b{font-size:11px!important;line-height:1.25!important}
  body.music-store-page .music-redownload-note span{font-size:12px!important;line-height:1.5!important}
}


@media(max-width:700px){
  body.music-store-page .album-panel.is-checkout-mode .music-checkout-panel{margin-top:4px!important}
  body.music-store-page .album-panel.is-checkout-mode .album-tags{margin-top:10px!important}
}
