@media(max-width:760px){
  .gallery-header .header-inner{height:auto;min-height:76px;padding-top:16px;padding-bottom:14px;row-gap:12px}
  .gallery-header nav{gap:6px 16px;padding-top:6px}
  .gallery-header nav a{min-height:44px;display:inline-flex;align-items:center}
  .local-sticky{padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}
  .client-gallery-page .local-footer{padding-bottom:calc(95px + env(safe-area-inset-bottom,0px))}
  .client-photo-dialog[open]{display:flex;flex-direction:column;max-height:calc(100dvh - 24px);padding:42px 12px 12px}
  .client-photo-dialog>img{height:auto;max-height:calc(100dvh - 150px);min-height:0;flex:0 1 auto;object-fit:contain}
  .client-photo-controls{flex-shrink:0;min-width:0;gap:8px}
  .client-photo-controls p{min-width:0;overflow-wrap:anywhere;line-height:1.5}
  .client-photo-controls button{flex:0 0 44px}
  .client-result-comparison{grid-column:1/-1}
  .client-result-comparison>button{height:auto!important;aspect-ratio:2/1}
  .callback-form input,.callback-form select,.callback-form textarea{font-size:16px;min-width:0;max-width:100%}
  .gallery-transformation-note{font-size:12px;line-height:1.7;max-width:720px;margin:25px auto 0;padding-inline:12px}
  .cart-qty button,.date-chip button,.dialog-heading button{min-width:44px;min-height:44px}
  .studio-main .hours-row input[type=time],.studio-main select{font-size:16px}
  .studio-dialog .field-grid,.studio-dialog .product-editor-grid{grid-template-columns:minmax(0,1fr)}
  .studio-dialog label,.studio-dialog input,.studio-dialog select,.studio-dialog textarea,.studio-dialog .field-grid>*,.studio-dialog .product-editor-grid>*{min-width:0;max-width:100%}
  .product-copy h2,.product-admin-copy,.cart-line strong{overflow-wrap:anywhere}
}
@media(max-width:530px){
  .site-header:has(.store-header-links){height:auto;min-height:76px;flex-wrap:wrap;justify-content:center;row-gap:10px;padding-top:16px;padding-bottom:12px}
  .store-header-links{width:100%;justify-content:center;flex-wrap:wrap;gap:10px 20px}
  .store-header-links a{min-height:44px;display:inline-flex;align-items:center}
  .shop-grid{grid-template-columns:minmax(0,1fr)}
  .shop-main{padding-inline:20px}
  .product-copy h2{font-size:29px}
  .product-footer{flex-wrap:wrap}
  .product-footer .btn{min-height:44px}
}
.gallery-transformation-note{font-size:12px;line-height:1.7;max-width:720px;margin:25px auto 0;color:#746b5e}
