
/* İyi Tercih — site geneli görsel stabilizasyon, v30 */
html{max-width:100%;overflow-x:clip;scroll-padding-top:16px}
body{max-width:100%;overflow-x:clip}
img,video,svg{max-width:100%;height:auto}
canvas{max-width:100%}
button,input,select,textarea{min-width:0}
.container,.hero-inner,.hero-content,.hero-visual,.catalog-toolbar,.catalog-search,.section-heading,.bv-layout,.bv-main,.bv-side,.product-details,.product-bottom,.footer-main,.footer-col{min-width:0}
.section-heading>*{min-width:0}
.product-details h3,.product-details p,.product-meta,.product-bottom,.bv-cat-name,.footer-col a{overflow-wrap:anywhere;word-break:normal}
.product-card,.product-art,.product-details{min-width:0}
.product-art img,.product-modal-media>img,.topten-media img{max-width:94%!important;max-height:90%!important;width:auto!important;height:auto!important;object-fit:contain!important}
.bv-cat{min-width:0;max-width:100%;isolation:isolate}
.bv-cat-image{max-width:70%;max-height:70%;object-fit:contain}
.bv-cat-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.3}
.bv-cat.bv-no-photo:before{content:'✦';position:absolute;right:21%;top:19%;color:#c8b8c1;font-size:67px;opacity:.42;pointer-events:none}
.bv-nav{max-width:100%;overscroll-behavior-x:contain}
.bv-cats-grid,#urunler .bv-main .product-grid{min-width:0}
.bv-cats-grid>*{min-width:0}
.bv-main .product-grid>*{min-width:0}
#urunler .catalog-toolbar{gap:12px;max-width:100%}
#urunler .catalog-search{min-width:0;max-width:100%;width:100%}
#urunler .catalog-search input{min-width:0}
#urunler .inventory-note{max-width:100%;line-height:1.6}
#urunler .bv-side{box-shadow:0 6px 22px rgba(12,12,22,.025)}
.product-modal-backdrop{overflow-y:auto;padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom))}
.product-modal{max-width:100%;max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}
.product-modal-details{min-width:0}
.product-modal-details input,.product-modal-details select,.product-modal-details textarea{max-width:100%}
.drawer{max-width:100vw;max-height:100dvh;padding-bottom:max(20px,env(safe-area-inset-bottom))}
.drawer-scroll{min-width:0}
.drawer .quote-fields input,.drawer .quote-fields textarea{min-width:0;max-width:100%}
.qf-modal{max-width:100%;max-height:calc(100dvh - 20px);overflow-y:auto;overscroll-behavior:contain}
.qf-modal input,.qf-modal select,.qf-modal textarea{max-width:100%}
.site-footer,.site-footer .container{max-width:100%}
.site-footer a,.site-footer span{overflow-wrap:anywhere}
body .cafe-grid,body .cafe-hero,body .cafe-orbit{max-width:100%}
body .cafe-grid>*{min-width:0}
body .cafe-grid img{max-width:100%;object-fit:contain}
body .cafe-category-tabs{max-width:100%;overflow-x:auto;scrollbar-width:thin}
body .cafe-category-tabs>*{flex-shrink:0}
.blog-grid,.blog-cards,.article-grid,.post-grid{min-width:0}
main img,article img,.blog-content img,.post-content img{max-width:100%;height:auto}
main pre,article pre,.blog-content pre,.post-content pre{max-width:100%;overflow-x:auto}
main table,article table,.blog-content table,.post-content table{display:block;max-width:100%;overflow-x:auto}
@media (max-width:960px){
 .bv-cats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .section-heading,.bv-cats-head{max-width:100%}
 .footer-main>*{min-width:0}
}
@media (max-width:800px){
 .bv-layout{width:100%}
 .bv-side{width:100%;max-width:100%}
 .bv-cats{padding:28px 0 42px}
 .bv-cats-head h2{font-size:clamp(26px,7.4vw,36px);overflow-wrap:break-word}
 .hero-inner{width:100%;max-width:100%}
 .hero-content{width:100%;max-width:100%}
 .hero-actions{flex-wrap:wrap}
 .hero-actions .btn{max-width:100%;white-space:normal;text-align:center;min-height:42px}
 .hero-note{align-items:flex-start}
 .product-modal{grid-template-columns:1fr!important;width:min(100%,520px)}
 .product-modal-media{min-height:190px!important;max-height:250px}
 .product-modal-media>img{max-height:210px!important}
 .product-modal-details{max-height:none}
 .qf-modal{width:min(100%,570px);border-radius:17px}
 .qf-header{padding:20px 18px 14px}
 .qf-header h2{font-size:clamp(21px,5.5vw,28px)}
 .footer-main{gap:14px}
}
@media (max-width:520px){
 html{scroll-padding-top:8px}
 .container{width:calc(100% - 28px)}
 .hero-wrap{padding:0 7px}
 .hero{border-radius:15px}
 .hero-content{padding-left:17px;padding-right:17px}
 .hero h1{font-size:clamp(35px,10vw,43px);line-height:1.13;overflow-wrap:break-word}
 .hero-visual{max-width:100%;overflow:hidden}
 .hero-floater{max-width:44%;white-space:normal}
 .hero-floater span{overflow-wrap:anywhere}
 .bv-nav{gap:5px;padding-bottom:12px}
 .bv-nav button,.bv-nav a{font-size:10px;padding:9px 11px}
 .bv-cats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .bv-cat{height:166px}
 .bv-cat-image{right:7px;top:28px;width:67%;height:97px}
 .bv-cat-name{font-size:11px;max-height:31px;left:11px;right:9px}
 .bv-cat-count{font-size:9px;bottom:38px;left:11px}
 #urunler .bv-main .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 #urunler .product-card{padding:6px}
 #urunler .product-art{height:clamp(135px,41vw,172px)}
 #urunler .product-details{padding:9px 4px 5px}
 #urunler .product-details h3{font-size:12px}
 #urunler .product-meta{font-size:9px;letter-spacing:0}
 #urunler .product-details p{font-size:10px;line-height:1.5}
 .product-modal-backdrop{align-items:flex-start!important}
 .product-modal{margin:auto 0}
 .product-modal-media{min-height:170px!important;max-height:205px}
 .product-modal-media>img{max-height:175px!important}
 .product-modal-close{right:9px;top:9px}
 .drawer{padding:18px}
 .site-footer .footer-main{grid-template-columns:repeat(2,minmax(0,1fr))}
 .site-footer .footer-main>div:first-child{grid-column:1/-1}
 .footer-end{display:flex;flex-direction:column;gap:9px}
}
@media (max-width:360px){
 .navbar{gap:8px}
 .nav-logo img{max-width:132px}
 .hero h1{font-size:35px}
 .bv-cat{height:154px}
 .bv-cat-image{height:84px}
 .bv-cat-name{font-size:10.5px}
 .cart-btn{padding:8px;font-size:10px}
 .product-modal{border-radius:15px}
}
@media(prefers-reduced-motion:reduce){.product-card,.bv-cat{transition:none}}
