/* Responsive layer. Desktop design above 1100px remains unchanged. */
@media (max-width:1100px){
  body{overflow-x:visible}
  .container{width:100%;padding-inline:20px}
  .product-layout,.listing-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .collections .container{grid-template-columns:minmax(0,1fr);gap:20px}
  .collections .container>*{min-width:0}
  .listing-layout{grid-template-columns:210px minmax(0,1fr);gap:24px}
  .product-layout>*,.listing-layout>*,.nav-shell,.product-info,.product-image,.grid>*,.ed-layout>*,.ed-checkout>*,.ref-order>*,.footer-main>*,.footer-cols>*,.ilt-grid>*,.story-layout>*{min-width:0}
  .nav-primary{display:none}.nav-right .nav-aux{display:none}.nav-burger{display:inline-flex}.nav-search-btn{display:inline-flex}.nav-account-wrap{display:inline-flex}
  header .container{gap:12px}header{padding-block:8px}.nav-shell{flex:1}.nav-right{gap:8px;flex-wrap:nowrap}
  .nav-right>a,.nav-right button,.nav-burger{min-width:40px;min-height:44px;align-items:center;justify-content:center}
  .product-layout{gap:28px;padding-block:20px}
  .rug-gallery .rug-gallery-main,.rug-gallery .rug-gallery-video{max-width:100%;object-fit:contain}
  .ed-order{gap:14px}.ed-stats strong{font-size:clamp(21px,3vw,28px)}
}
@media (max-width:900px){
  .product-layout,.listing-layout{grid-template-columns:minmax(0,1fr)}
  .product-detail{padding:20px 0!important}.product-layout{gap:26px;padding-block:0}
  .product-detail .rug-gallery .rug-gallery-main,.product-detail .rug-gallery .rug-gallery-video{width:100%;height:clamp(260px,72vw,490px)!important;max-height:70svh;aspect-ratio:auto;object-fit:contain;background:#fff}
  .product-info{width:100%}.product-info h2{font-size:28px;line-height:1.3}
  .product-tabs{padding:24px 0 40px!important}.product-tabs .container{min-width:0}
  #olcu-box{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important;width:100%}
  #olcu-box label.olcu-opt{min-width:0;width:100%;min-height:62px;padding:10px 6px;white-space:normal;justify-content:center}
  .olcu-opt .olcu-size{font-size:14px}.olcu-opt .olcu-tag{font-size:10px;letter-spacing:0}
  .collections .filters{border:1px solid #eee;border-radius:4px;padding:14px;min-width:0}
  .collections .grid{margin-top:0}
  .listing-filters{min-width:0;max-width:100%;margin:0;padding:14px}
  .mobile-filter-panel{width:100%;min-width:0}.mobile-filter-panel>summary{cursor:pointer;font-size:14px;font-weight:600;padding:6px 0;min-height:36px}.mobile-filter-panel[open]>summary{margin-bottom:14px}
  .listing-filters a{min-height:40px;padding-block:8px}.listing-layout{padding-top:16px;gap:18px}
  .rug-thumbs{gap:8px;flex-wrap:wrap}.rug-thumb{flex:0 0 64px;width:64px;height:64px}
  .ilt-grid,.ilt-shortcuts,.rug-sp-grid2,.story-layout,.designer-grid,.asistan-cta{grid-template-columns:minmax(0,1fr)}
  .auth-wrap,.auth-wrap--wide,.legal-narrow,.about-narrow,.rug-sp-wrap{min-width:0;max-width:100%}
  .fuar-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .fuar-card video{width:100%;height:auto;max-height:55svh;object-fit:contain}
  .ed-checkout{grid-template-columns:minmax(0,1fr)}
  .ref-order{flex-wrap:wrap;overflow-wrap:anywhere}.ref-order>div{max-width:100%}
}
@media (max-width:640px){
  .container{padding-inline:16px}
  main,section,article,aside,figure,form{min-width:0}
  p,li,h1,h2,h3,h4,a,label,td,th{overflow-wrap:anywhere}
  img,video,iframe{max-width:100%}
  input:not([type=checkbox]):not([type=radio]),select,textarea{max-width:100%;min-width:0;font-size:16px!important}
  button,.btn,.btn-outline,.rug-sp-btn{touch-action:manipulation}
  button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #F07F1E;outline-offset:3px}
  header .container{padding-block:6px}.logo{flex-shrink:0}.logo h1.lg-rug{font-size:25px;letter-spacing:3px;padding-left:3px}.logo .lg-int{font-size:7px;letter-spacing:4px}.logo p.lg-dii{font-size:7px;white-space:nowrap}
  .nav-right{gap:4px}.nav-right a{margin-left:3px}.nav-right .cart-link{margin-left:4px!important}.nav-burger{padding:8px}
  .top-bar{font-size:10px;letter-spacing:.3px}.top-bar-track{gap:22px}.top-bar-item{white-space:nowrap}
  .mobile-nav{width:min(360px,100%);max-width:100%;height:100dvh;padding-bottom:env(safe-area-inset-bottom);overscroll-behavior:contain}
  .mobile-nav-head{flex-shrink:0}.mobile-nav-body{min-height:0}.mobile-close,.macc-toggle,.mobile-top-link{min-height:46px}.macc-panel .dd-link{min-height:42px;line-height:1.45}.mega-size-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 14px}
  .site-search-overlay,.user-login-overlay{padding:12px 10px;max-height:100dvh;overflow-y:auto}
  .site-search-panel,.user-login-panel{max-width:100%;max-height:calc(100dvh - 24px);overflow-y:auto}.site-search-bar{padding:12px;gap:7px}.site-search-input{width:0;min-width:0;flex:1}.site-search-close{min-width:40px;min-height:44px}.site-search-results{max-height:65dvh}.site-search-item{min-width:0;padding:12px}.site-search-item-text{overflow-wrap:anywhere}
  .rug-cart-panel{width:100%!important;max-width:440px;height:100dvh!important;max-height:100dvh;min-width:0}.rug-cart-head{flex-shrink:0;gap:15px}.rug-cart-head button{min-width:44px;min-height:44px}.rug-cart-body{min-height:0;overflow-y:auto;overscroll-behavior:contain}.rug-cart-foot{flex-shrink:0;padding-bottom:calc(14px + env(safe-area-inset-bottom))!important}.rug-cart-item{min-width:0;gap:9px!important}.rug-cart-item .meta{min-width:0;overflow-wrap:anywhere}.rug-cart-item .meta button{min-height:40px}.rug-cart-item img{flex:0 0 56px;width:56px!important;height:70px!important;object-fit:contain!important}.rug-cart-foot .btn{width:100%;min-height:46px}
  .hero-carousel{height:clamp(340px,108vw,460px);min-height:0;max-height:70svh}.hero-carousel__content{padding-block:28px}.hero-carousel__content h2{font-size:clamp(26px,7vw,36px);line-height:1.18;max-width:94%}.hero-carousel__content p{font-size:14px;line-height:1.5;margin-bottom:16px;max-width:95%}.hero-carousel__content .btn{padding:11px 18px;font-size:12px}.hero-carousel__kicker{margin-bottom:12px}.hero-carousel__dots{bottom:12px}.hero-carousel__slide{background-position:center center}
  .home-section{padding-block:30px}.home-section__head{padding-bottom:16px}.home-section__title,.trend-section__title{font-size:21px;line-height:1.35}.home-section__sub{font-size:13px}.home-bleed{padding-inline:12px}
  .grid,.product-rail{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}
  .grid>.card,.grid>.product-card,.product-rail>.product-card{min-width:0;width:100%}
  .product-card .info{padding:10px 8px!important}.product-card h4,.product-rail .product-card h4{font-size:12px;line-height:1.45;padding:0;overflow-wrap:anywhere}.product-card .price,.product-rail .product-card .price{font-size:12px!important;line-height:1.5;white-space:normal}.product-card .sizes,.product-rail .pc-meta{font-size:10px!important;line-height:1.5}.product-rail .product-card .pc-body{padding:10px 8px 13px}.card h4{padding:10px 8px;font-size:14px}.card p{font-size:12px}.badge,.badge-pill{font-size:10px;padding:4px 7px;max-width:95%}
  .grid>.card>img,.grid .product-card>img,.product-rail .product-card img{width:100%!important;height:auto!important;aspect-ratio:1;object-fit:contain!important}
  .collections{padding-block:15px 35px}.page-title{padding:26px 0 16px}.page-title h2,.legal-title h1{font-size:26px;line-height:1.3}.listing-head h2{font-size:24px}.listing-empty{padding:35px 14px}
  .product-detail .rug-gallery .rug-gallery-main,.product-detail .rug-gallery .rug-gallery-video{height:clamp(260px,86vw,420px)!important;max-height:65svh;object-fit:contain}
  .product-info h2{font-size:26px;margin-bottom:10px}.product-info p{font-size:14px;line-height:1.65}.product-info .fiyat{font-size:21px!important;margin-bottom:18px!important}.product-info>.btn,.product-info .btn-outline{min-height:48px}.product-info ul{padding-left:18px}.product-info li{font-size:14px;line-height:1.75}
  #olcu-box{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}#olcu-box label.olcu-opt{min-height:64px;padding:9px 5px}.olcu-opt input[type=radio]{width:17px;height:17px;flex-shrink:0}.olcu-opt .olcu-size{font-size:14px;line-height:1.4}.olcu-opt .olcu-tag{font-size:10px!important}
  .rug-thumb{width:60px;height:60px;flex-basis:60px}.rug-thumbs{margin-top:10px;gap:8px}.rug-lb__stage{max-width:100vw;padding:60px 10px}.rug-lb__img{max-width:94vw;max-height:78svh}.rug-lb__nav{width:40px;height:50px}.rug-lb__prev{left:2px}.rug-lb__next{right:2px}
  .asistan-shell{padding:22px 12px;margin-inline:0}.asistan-options{grid-template-columns:repeat(2,minmax(0,1fr))}.asistan-opt{min-width:0;padding:14px 8px;min-height:48px}.asistan-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px}.asistan-grid>a{min-width:0}.asistan-grid img{object-fit:contain}.asistan-grid .ag-body{padding:10px 8px}.asistan-grid h4{font-size:12px}
  .room-grid,.style-grid,.olcu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;overflow:visible}.olcu-card{min-width:0;padding:16px 8px}.olcu-card__icon{max-width:100%}.olcu-card__label{font-size:12px}.olcu-card__range{font-size:11px}.olcu-card__btn{font-size:11px;padding-inline:10px}
  .promo-band,.asistan-cta{min-height:0;grid-template-columns:minmax(0,1fr)}.promo-band__media,.asistan-cta__media{min-height:0;height:clamp(190px,56vw,300px)}.promo-band__body,.asistan-cta__body{padding:26px 20px}.promo-band__body h3,.asistan-cta__body h3{font-size:24px;line-height:1.3}
  .uygulama-grid,.inspo-grid,.about-grid-3,.designer-grid,.story-layout,.blog-grid,.blog-index-grid{grid-template-columns:minmax(0,1fr)}
  .fuar-grid{gap:14px!important}.fuar-card{min-width:0}.fuar-card figcaption{font-size:11px;line-height:1.5}.about-inline-imgs{grid-template-columns:repeat(2,minmax(0,1fr))}.about-inline-imgs img,.designer-photo,.story-aside img{height:auto!important;max-height:360px;object-fit:contain}.about-inline-imgs img{width:100%}.blog-hero img{height:auto;object-fit:contain}.content{padding-block:24px 35px}.content p,.legal-narrow p{font-size:14px;line-height:1.8}.legal-narrow h2{font-size:21px}.legal-narrow ul,.legal-narrow ol{padding-left:20px}
  .rug-sp-grid2,.ilt-grid,.ilt-shortcuts{grid-template-columns:minmax(0,1fr)}.rug-sp-card{padding:20px 16px}.ilt-row>div{min-width:0}.ilt-actions{gap:8px}.ilt-actions>a{flex:1 1 130px}.ilt-map iframe{height:240px}.ilt-map-cap{padding:12px;font-size:12px}.ilt-short{padding:18px 14px}
  .kariyer-form,.auth-card,.rug-sp-form{max-width:100%;min-width:0}.kariyer-form input,.kariyer-form textarea,.kariyer-form select{box-sizing:border-box;width:100%}.kariyer-check input,.rug-sp-consent input,.auth-check input{width:18px!important;flex:0 0 18px}.auth-tabs{width:100%;gap:6px}.auth-card{padding:22px 16px}.auth-form label{overflow-wrap:anywhere}.auth-check,.rug-sp-consent,.kariyer-check{align-items:flex-start;gap:9px}.auth-check span,.kariyer-check span,.rug-sp-consent span{min-width:0}
  table{max-width:100%;table-layout:fixed;width:100%}td,th{padding:7px 5px!important;font-size:12px;vertical-align:top}.legal-table-wrap{max-width:100%;overflow:auto}
  .footer-main{grid-template-columns:minmax(0,1fr);gap:28px}.footer-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}.footer-newsletter{min-width:0}.footer-nl-heading{font-size:19px}.footer-nl-input-wrap{min-width:0;flex-wrap:wrap}.footer-nl-input{width:100%;min-width:0}.footer-nl-btn{min-height:44px;font-size:11px}.footer-bottom{grid-template-columns:minmax(0,1fr);gap:20px}.footer-features-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.feature-card{min-width:0;gap:8px}.feature-text{font-size:10px;line-height:1.4}.feature-icon{flex-shrink:0}.footer-col a{display:inline-block;min-height:32px;font-size:12px}
  .earn-demo{padding:20px 16px 35px}.ed-layout{grid-template-columns:minmax(0,1fr)}.ed-heading{gap:14px;flex-wrap:wrap}.ed-heading h1{font-size:28px;line-height:1.25;overflow-wrap:anywhere}.ed-panel,.ed-checkout{padding:20px 15px;min-width:0}.ed-checkout{grid-template-columns:minmax(0,1fr);gap:20px}.ed-checkout img{height:clamp(210px,70vw,330px);object-fit:contain}.ed-sidebar nav{flex-wrap:wrap}.ed-sidebar nav a,.ed-sidebar nav button{min-height:44px;white-space:normal}.ed-total{flex-wrap:wrap;gap:8px}.ed-total b{white-space:normal}.ed-notice{line-height:1.7}.ed-flow{flex-wrap:wrap}.ed-step{flex:1 1 110px}.ref-customer-header{padding:20px 16px;gap:12px}.ref-customer-header nav{flex-wrap:wrap;justify-content:flex-end;gap:10px}.ref-actions{flex-direction:column;align-items:stretch;gap:12px}.ref-actions button{min-height:44px}.ref-order{flex-direction:column;gap:10px}.ref-order b,.ref-order p{overflow-wrap:anywhere}.ed-bottom{flex-wrap:wrap}.ed-bottom button{white-space:normal;min-height:44px}.model-library-filters{grid-template-columns:minmax(0,1fr)}#architect-product-preview .product-model-card{width:100%}
}
@media (max-width:359px){.container{padding-inline:12px}.nav-right{gap:1px}.nav-right>a,.nav-right button,.nav-burger{min-width:36px}.logo h1.lg-rug{font-size:23px}.product-card h4{font-size:11px}.grid,.product-rail{gap:12px 8px}.footer-cols{gap:20px 10px}.hero-carousel__content h2{font-size:25px}}
@media (max-height:500px) and (max-width:1100px){.hero-carousel{height:330px;min-height:0;max-height:none}.rug-gallery .rug-gallery-main,.rug-gallery .rug-gallery-video{max-height:none}.site-search-overlay{padding-top:8px}.site-search-results{max-height:65dvh}}
@media (min-width:901px){details.mobile-filter-panel{display:contents}details.mobile-filter-panel>summary{display:none}}

/* Browser-QA corrections: contained control rows, never page-level clipping. */
@media (max-width:900px){
  .product-tabs .product-tab-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;min-width:0;gap:4px}
  .product-tabs .tab-btn{width:100%;min-width:0;min-height:56px;padding:12px 8px!important;white-space:normal;overflow-wrap:anywhere;line-height:1.45;touch-action:manipulation}
  .product-tabs .tab-content{max-width:100%;min-width:0;overflow-wrap:anywhere}
  .product-detail .rug-gallery{display:flex;flex-direction:column;align-items:stretch;min-width:0}
  .product-detail .rug-thumbs{position:relative;z-index:2;isolation:isolate;flex-shrink:0;max-width:100%;align-items:flex-start}
  .product-detail .rug-thumb{position:relative;touch-action:manipulation}
  .product-detail .rug-thumb img{pointer-events:none}
  .product-detail .rug-magnifier{display:none!important}
  details.mobile-filter-panel{display:block!important}
  details.mobile-filter-panel>summary{display:list-item!important;min-height:44px;cursor:pointer}
  details.mobile-filter-panel:not([open])>.mobile-filter-content{display:none!important}
  details.mobile-filter-panel[open]>.mobile-filter-content{display:block}
}
@media (max-width:640px){
  /* Existing photographs contain printed typography at their outer edges. */
  .hero-carousel__slide{background-size:150% auto;background-position:center center}
  .product-rail .product-card .price{display:block;max-width:100%;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:normal;word-break:normal}
}
@media (min-width:901px){details.mobile-filter-panel>.mobile-filter-content{display:contents}}

/* Shared width audit: intrinsic footer children must shrink inside real tracks. */
@media(max-width:1100px){
  .hero-carousel__slide{background-size:150% auto;background-position:center}
  .footer-features-inner{grid-template-columns:repeat(2,minmax(0,1fr))}
  .feature-card,.footer-newsletter,.footer-col,.footer-brand,.footer-copy,.footer-social{min-width:0}
  .feature-text{min-width:0;overflow-wrap:anywhere}
  .footer-col a,.footer-copy{overflow-wrap:anywhere}
  .footer-nl-input-wrap input[type=email]{min-width:0;max-width:100%}
}
@media(max-width:640px){
  .hero-carousel__slide{background-size:150% auto}
  .user-login-modal{padding:12px 10px;max-height:100dvh;overflow-y:auto}
  .footer-nl-input-wrap{width:100%}
}
@media(max-width:430px){
  .feature-card{padding:12px 10px;gap:8px}
  .feature-icon{width:32px;height:32px;flex:0 0 32px}
}
