/* Shared phone and tablet layout. */
*{box-sizing:border-box}img{max-width:100%}input,select,textarea{min-width:0}a,button{touch-action:manipulation}
@media(max-width:900px){
 main{padding-left:20px;padding-right:20px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product,.grid>*,.checkout-fields>*{min-width:0}
}
@media(max-width:650px){
 html{scroll-padding-top:12px}body{overflow-wrap:break-word}
 .nav{padding:12px 16px;gap:8px;flex-wrap:wrap}.logo{font-size:26px;min-height:44px;text-decoration:none;letter-spacing:-1px}.nav-right{width:100%;display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-start}.nav-right a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 12px;font-size:14px;border-radius:9px;background:#f1f4f8;text-decoration:none}.nav-right .cart-button{margin-left:auto}
 .topline-inner{padding:8px 16px}.hero{padding:24px 16px 60px}.hero h1{font-size:36px;line-height:1.12}.hero p{font-size:16px}
 main,body .contact-main{padding-left:12px;padding-right:12px}.contact-main h1{font-size:28px;line-height:1.2}
 .finder{padding:18px 14px}.finder-title{flex-wrap:wrap;gap:8px}.finder .controls,.finder .extra-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.finder label{min-width:0}.finder .search-field{grid-column:1/-1}
 body input,body select,body textarea,.extra-filters input{font-size:16px;max-width:100%;min-height:48px}body select{width:100%;text-overflow:ellipsis;padding-right:28px}textarea{resize:vertical}
 .catalog-head{flex-wrap:wrap;gap:12px}.catalog-head h2{font-size:25px}.grid{grid-template-columns:minmax(0,1fr);gap:16px}.product-photo{height:clamp(220px,72vw,330px);padding:12px}.product-top{padding:16px 16px 0;gap:8px;min-height:0}.dimension{font-size:25px}.body{padding:12px 16px 16px}.body h3{font-size:17px;line-height:1.45}.buy-row{flex-wrap:wrap;gap:12px}.price{font-size:26px}.add{min-height:48px;padding:12px 16px}.product:hover{transform:none}
 .product-detail{padding:16px;gap:18px;grid-template-columns:minmax(0,1fr)}.product-detail h1{font-size:25px;line-height:1.25;letter-spacing:-.5px}.detail-size{font-size:23px}.product-detail dl>div{gap:8px;flex-wrap:wrap}.product-detail dd{overflow-wrap:anywhere}.detail-actions{display:grid;gap:12px}.detail-actions a{min-height:44px;display:flex;align-items:center;justify-content:center}.gallery-stage img{height:clamp(240px,85vw,380px)}.gallery-navigation button{min-height:44px}.gallery-thumbs{max-width:100%;overscroll-behavior-x:contain}.gallery-modal img{height:70vh;height:70dvh}
 .page-panel,body[data-page=checkout] .checkout-page{width:100%;padding:16px;margin-bottom:24px}.checkout-fields{gap:18px}.checkout-fields>div{display:grid;gap:14px}.checkout-fields button{min-height:44px;border:1px solid #dbe2ea;background:#eef2f7;border-radius:8px;padding:10px;font:inherit}.checkout-fields [hidden]{display:none}
 dialog{padding:16px;width:calc(100% - 20px);max-height:90vh;max-height:90dvh;overflow-y:auto;overscroll-behavior:contain}.dialog-head h2{font-size:22px}.close{min-width:44px;min-height:44px}.cart-item{gap:10px}.cart-item>div{flex-basis:100%}.cart-item>strong{margin-left:auto}.quantity{flex-wrap:wrap;gap:10px}.quantity button{min-width:44px;height:44px}.quantity .remove{width:auto;padding:8px 12px}.total{gap:12px;flex-wrap:wrap;font-size:22px}.cart-note{padding:14px;overflow-wrap:anywhere}
 body .request-box{padding:18px;margin:20px 0}.request-box h2{font-size:23px}.request-box .primary{width:100%}.contact-grid{grid-template-columns:minmax(0,1fr)}body .contact-grid section{padding:20px}footer{padding:24px 16px;display:flex;flex-direction:column;gap:16px}footer p{margin:8px 0}footer a{display:inline-block;padding:6px 0}.notice{display:block}.toast{bottom:calc(16px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100% - 24px);padding:12px 16px}
}
.selection-tabs{display:flex;gap:10px;margin-bottom:22px}.selection-tabs a{flex:1;text-align:center;padding:14px 16px;border:1px solid #dbe2ea;border-radius:10px;background:#f1f4f8;color:#24324a;font-weight:700;text-decoration:none}.selection-tabs a[aria-current=page]{background:#2563eb;border-color:#2563eb;color:white}.selection-other{font-size:14px;display:flex;gap:10px;flex-wrap:wrap}.selection-other a{color:#42526b;padding:8px 0}.finder [hidden]{display:none!important}
