/* Shared phone and tablet layout. Desktop styles remain in their own files. */
@media screen and (max-width:780px){
 html{scroll-padding-top:70px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
 body{--gutter:20px}
 button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}
 input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important;max-width:100%;min-width:0}
 input:not([type=checkbox]):not([type=radio]),select{min-height:48px}
 textarea{min-height:150px}
 input[type=checkbox],input[type=radio]{width:20px;height:20px;flex-shrink:0;accent-color:#ed202e}
 .header{height:78px;gap:14px}
 .header .brand img{width:94px;height:68px}
 .header-cta{font-size:12px;gap:9px;min-height:44px}
 .menu-toggle{width:44px;height:44px;flex-shrink:0}
 .header .nav{top:100%;padding:12px var(--gutter) 20px;max-height:calc(100dvh - 135px);overflow-y:auto;box-shadow:0 20px 30px #0006}
 .header .nav a{font-size:17px;min-height:52px;padding:16px 6px;border-bottom:1px solid #ffffff0d}
 .utility{min-height:38px;padding-top:4px;padding-bottom:4px;flex-wrap:nowrap;font-size:9px}
 .utility>a:not(.customer-account-link){display:none}
 .utility .customer-account-link{font-size:11px;margin-left:auto;display:flex!important;align-items:center;min-height:36px;white-space:normal;text-align:right;max-width:58%}
 .utility>span:first-child{max-width:42%;line-height:1.5}
 .section{padding-top:48px;padding-bottom:48px}
 .eyebrow{font-size:10px!important;line-height:1.6;letter-spacing:.13em}
 .page-intro>p:not(.eyebrow),.about-story p,.detail-description{font-size:15px;line-height:1.8}
 .page-intro h1{font-size:clamp(48px,12vw,76px);overflow-wrap:break-word}
 .button{min-height:48px;font-size:13px;line-height:1.5;padding:15px 20px}
 .text-link,.download-link{font-size:13px;min-height:44px;display:inline-flex;align-items:center}
 .footer{padding-top:36px;padding-bottom:24px}
 .footer .footer-top{gap:20px}
 .footer .footer-links nav{gap:4px 22px}
 .footer .footer-links nav a,.footer .back-top{display:inline-flex;align-items:center;min-height:44px;font-size:13px}
 .footer .footer-bottom{font-size:10px;gap:12px;flex-wrap:wrap;padding-top:24px;margin-top:24px}
 .preview-badge{font-size:8px;left:8px;bottom:8px;padding:7px 9px;pointer-events:none;opacity:.85}

 /* Readable filters and image-led catalogue cards. */
 .filter-panel{padding:18px;gap:20px}
 .filter-panel fieldset{display:block}
 .filter-panel legend{float:none;min-width:0;width:auto;font-size:10px;line-height:1.5;margin-bottom:10px}
 .filter-options{display:flex;flex-wrap:wrap;gap:8px}
 .filter-panel button{min-height:44px;padding:10px 13px;font-size:12px;line-height:1.4}
 .filter-note{font-size:12px;line-height:1.7;padding-left:0}
 .catalogue-status{font-size:12px;gap:12px}
 .catalogue-status button{min-height:44px;font-size:12px}
 .brochure-grid{gap:24px}

 /* Product details: images, tabs and technical values stay legible. */
 .breadcrumb{font-size:11px;line-height:1.6;flex-wrap:wrap;gap:8px 12px;padding-top:18px;padding-bottom:18px}
 .detail-hero{padding-top:24px;padding-bottom:36px;gap:28px}
 .main-photo{height:auto;aspect-ratio:1/1}
 .main-photo>img{height:100%;width:100%;object-fit:contain}
 .photo-thumbs{gap:8px;scroll-snap-type:x proximity;padding-bottom:8px}
 .photo-thumbs>button{flex-basis:66px;width:66px;height:66px;scroll-snap-align:start}
 .photo-caption{font-size:12px}
 .detail-summary h1{font-size:clamp(44px,12vw,66px);overflow-wrap:break-word}
 .detail-summary .detail-description{font-size:15px;line-height:1.75}
 .detail-feature-list{font-size:13px;line-height:1.7;gap:12px}
 .detail-actions{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center}
 .detail-actions .button{font-size:13px;justify-content:space-between}
 .detail-actions .download-link{font-size:13px}
 .detail-section-nav{padding-left:20px;padding-right:20px;gap:24px;font-size:13px;scrollbar-width:thin;scroll-snap-type:x proximity;overscroll-behavior-x:contain}
 .detail-section-nav a{min-height:50px;padding:16px 0;scroll-snap-align:start}
 .technical-table{font-size:13px;table-layout:fixed}
 .technical-table th{width:48%;padding-right:16px;line-height:1.7}
 .technical-table td{line-height:1.7}
 .technical-table th,.technical-table td{padding-top:16px;padding-bottom:16px;word-break:normal;overflow-wrap:anywhere}
 .detail-section-title>span,.detail-section-title>p{font-size:13px;line-height:1.7}
 .detail-photos .photo-tile>span{font-size:12px;line-height:1.6;gap:8px}
 .kit-item figcaption h3{font-size:24px;line-height:1.15}
 .kit-item figcaption p{font-size:13px;line-height:1.7;margin-top:10px}
 .photo-dialog{max-width:100vw;max-height:100dvh}
 .photo-dialog-close,.lightbox-prev,.lightbox-next{min-width:44px;min-height:44px}
 .lightbox-bottom{font-size:13px;gap:12px}
 .faq-categories button{font-size:12px;min-height:44px;padding:11px 14px}
 .faq-question,.product-faq-section .faq-question{font-size:15px;line-height:1.6}
 .faq-answer p{font-size:14px;line-height:1.85}
 .faq-answer-link,.product-faq-aside>a{font-size:13px;min-height:44px}
 .product-faq-aside>p{font-size:14px;line-height:1.8}
 .faq-search-field input{font-size:16px}
 .faq-result-count{font-size:12px}
 .public-contact-form>label,.application-form label,.dealer-card label{font-size:14px;line-height:1.6}
 .public-contact-form label small,.application-form small{font-size:12px;line-height:1.6}
 .public-contact-form,.application-form{gap:22px}
 .public-contact-intro>p:not(.eyebrow){font-size:15px}
 .public-contact-form .button{font-size:14px}
 .dealer-card>p:not(.eyebrow),.dealer-intro>p:not(.eyebrow){font-size:15px;line-height:1.8}
 .dealer-card{padding:28px 22px}
 .dealer-card .button{font-size:14px}
 .customer-auth-card>nav button{min-height:46px;font-size:14px}
 .customer-auth-card>p,.customer-auth-card small,.customer-content p{font-size:14px;line-height:1.7}
}

@media screen and (max-width:620px){
 .hero-brochures .hero-bottom{padding:18px 20px 22px;gap:16px}
 .feature-viewport,.hero-cover-stack{touch-action:pan-y}
 .cover-caption strong{font-size:23px}
 .cover-caption p{font-size:13px;line-height:1.7}
 .cover-caption a{font-size:13px;min-height:44px;display:inline-flex;align-items:center}
 .cover-arrow,.cover-dots button{min-width:44px;min-height:44px}
 .feature-slide>div:first-child{min-height:var(--mobile-feature-copy-height,0px);padding:34px 20px 26px;display:flex;flex-direction:column;align-items:flex-start}
 .feature-slide h2{font-size:clamp(38px,10.5vw,50px);line-height:1.03;margin-bottom:0}
 .feature-slide p.feature-product-name{font-size:28px;min-height:0;margin-top:20px!important}
 .feature-slide p.feature-brand-promise{font-size:14px;line-height:1.6;margin-top:12px}
 .feature-slide .feature-product-description{font-size:14px;line-height:1.75;min-height:0;margin-top:10px!important}
 .feature-slide .feature-specs{width:100%;gap:12px;margin-top:24px;margin-bottom:24px;flex-wrap:wrap}
 .feature-slide .feature-specs>div{min-width:0;padding-right:12px}
 .feature-slide .feature-specs dt{font-size:10px;line-height:1.6}
 .feature-slide .feature-specs dd{font-size:24px;overflow-wrap:anywhere}
 .feature-slide .feature-product-art{height:320px;padding:28px 24px}
 .feature-slide .feature-product-art img{height:270px;max-height:100%}
 .feature-slide .feature-product-art>span{font-size:clamp(58px,16vw,85px);left:20px;top:20px}
 .feature-controls{padding:12px 20px;gap:8px 14px;flex-wrap:nowrap}
 .feature-navigation{gap:10px}
 .feature-counter{font-size:20px;min-width:50px}
 .feature-dots{order:0;width:auto;gap:0}
 .feature-dots button{min-width:26px;min-height:44px}
 .feature-arrow{width:44px;height:44px}
 .kit-grid,.kit-grid-many,.kit-grid-eight{grid-template-columns:minmax(0,1fr);gap:28px}
 .kit-photo{height:250px}
 .kit-item figcaption h3{font-size:28px}
 .kit-item figcaption p{font-size:14px}
 .detail-actions .button{width:100%}
 .photo-tile>img{height:170px}
}

/* Dealer and staff workflows use the same touch-friendly controls. */
.portal-menu-toggle{display:none}
@media screen and (max-width:720px){
 .b2b-app{display:block}
 .b2b-sidebar{position:relative;padding:20px 18px 12px}
 .b2b-sidebar .b2b-brand{padding-right:130px;margin-bottom:8px;min-height:44px}
 .portal-menu-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;position:absolute;top:20px;right:18px;min-height:44px;padding:10px 12px;background:#ffffff0b;border:1px solid #ffffff28;border-radius:5px;color:#e7ebed;font-size:13px!important}
 .portal-menu-toggle::after{content:'⌄';font-size:18px}
 .portal-menu-toggle[aria-expanded=true]::after{content:'⌃'}
 .b2b-sidebar .b2b-nav{display:none;overflow:visible;padding:12px 0;gap:8px}
 .b2b-sidebar.portal-menu-open .b2b-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .b2b-sidebar .b2b-nav button{white-space:normal;text-align:left;min-height:48px;font-size:13px!important;padding:12px 10px;line-height:1.5;gap:8px}
 .b2b-sidebar .b2b-nav button>span:last-child{min-width:0}
 .b2b-sidebar .b2b-nav svg{display:block;width:18px;flex-shrink:0}
 .b2b-sidebar-bottom{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:16px;margin-top:0;padding-top:0;border:0}
 .b2b-sidebar-bottom .b2b-identity{display:none}
 .b2b-sidebar-bottom>a,.b2b-sidebar-bottom>button{font-size:12px!important;min-height:44px;margin:0;padding:8px 0}
 .b2b-main{padding:0 18px 30px;min-width:0}
 .b2b-topbar{height:auto;min-height:64px;gap:12px;padding:12px 0;flex-wrap:wrap}
 .b2b-topbar>span,.admin-app .b2b-topbar>span{font-size:10px;line-height:1.6;max-width:none}
 .b2b-topbar button,.b2b-section-heading .b2b-text-button{min-height:44px;font-size:13px!important}
 .b2b-greeting h1,.b2b-heading h1,.admin-heading h1{font-size:clamp(34px,9vw,44px);line-height:1.08;overflow-wrap:anywhere}
 .b2b-heading p:not(.b2b-eyebrow),.admin-heading p,.b2b-greeting p:not(.b2b-eyebrow){font-size:14px;line-height:1.7}
 .b2b-eyebrow{font-size:10px;line-height:1.6}
 .b2b-section-heading{gap:12px;align-items:flex-start;flex-wrap:wrap}
 .b2b-section-heading h2{font-size:30px;line-height:1.1}
 .b2b-heading,.admin-heading{gap:18px;flex-wrap:wrap}
 .b2b-main .b2b-primary,.b2b-main .admin-secondary,.commerce-dialog .b2b-primary,.commerce-dialog .admin-secondary,.b2b-main .b2b-add{min-height:46px;font-size:14px!important;line-height:1.5;padding:12px 16px}
 .b2b-stats button>span{font-size:12px;line-height:1.5}
 .b2b-stats strong{font-size:34px}
 .b2b-filters{padding:16px;gap:16px}
 .b2b-filters label>span,.b2b-variant-label{font-size:13px;line-height:1.6}
 .b2b-filters label:not(.b2b-search){flex-basis:100%}
 .b2b-result{font-size:12px}
 .b2b-product-grid{grid-template-columns:minmax(0,1fr);gap:22px}
 .b2b-product-art img{height:240px}
 .b2b-product-copy{padding:22px 20px}
 .b2b-product-meta{font-size:11px;line-height:1.5;gap:10px}
 .b2b-product h3{font-size:30px;min-height:0;line-height:1.12;overflow-wrap:break-word}
 .b2b-product-links{font-size:13px;line-height:1.6;gap:12px}
 .b2b-product-links>a,.b2b-product-links>button{min-height:44px;display:inline-flex;align-items:center;font-size:13px!important}
 .b2b-variant-label>span{font-size:12px}
 .b2b-account-card dl>div{font-size:14px;line-height:1.6;gap:16px}
 .b2b-account-card dd{overflow-wrap:anywhere}
 .b2b-cart-shortcut{font-size:13px!important;min-height:44px}
 .b2b-quantity button{min-width:40px;min-height:44px;font-size:18px!important}
 .b2b-quantity output{min-width:30px;font-size:15px}
 .b2b-line-name small,.b2b-line-name>span{font-size:12px}
 .b2b-cart-line{grid-template-columns:48px minmax(0,1fr) 28px;gap:12px}
 .b2b-cart-line>img{width:48px;grid-row:1}
 .b2b-line-name{grid-column:2;grid-row:1}
 .b2b-quantity{grid-column:2;grid-row:2;justify-self:start}
 .b2b-cart-line>strong{grid-column:2;grid-row:3}
 .b2b-remove{grid-column:3;grid-row:1/4;min-width:28px;min-height:44px}
 .commerce-order-row{gap:12px;font-size:13px;line-height:1.5;padding:18px 16px}
 .commerce-order-row small{font-size:12px;line-height:1.6}
 .commerce-table-wrap{max-width:100%;overscroll-behavior-x:contain;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
 .commerce-table-wrap::before{content:'Tabloyu yana kaydırın →';display:block;padding:10px 14px;color:#647572;background:#eff3ed;font-size:12px;line-height:1.5;position:sticky;left:0;width:fit-content}
 .commerce-table{font-size:13px}
 .commerce-table th,.commerce-table small{font-size:12px}
 .commerce-table td strong{font-size:14px}
 .admin-toolbar{flex-direction:column;align-items:stretch;gap:12px}
 .admin-toolbar input,.admin-toolbar select{width:100%;max-width:none;flex:auto}
 .admin-actions,.cms-row-actions,.application-filters,.dealer-profile-tabs,.contact-tabs{gap:10px;flex-wrap:wrap}
 .admin-table-actions button,.admin-actions button,.application-filters button,.dealer-profile-tabs button,.contact-tabs button{min-height:44px;font-size:13px!important;padding:10px 13px}
 .commerce-dialog,.b2b-part-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:54px 18px 22px;box-sizing:border-box;overflow:auto;overscroll-behavior:contain}
 .admin-form-grid,.contact-fields,.staff-permission-grid{grid-template-columns:minmax(0,1fr)}
 .admin-form label,.chat-compose label,.chat-moderation label{font-size:14px;line-height:1.6}
 .admin-form label small,.staff-permission-grid small,.contact-delivery-note{font-size:12px;line-height:1.6}
 .admin-form h2,.commerce-order-heading h2{font-size:32px;line-height:1.12;overflow-wrap:break-word}
 .admin-activity-card h2{font:700 28px/1.2 Barlow,sans-serif;letter-spacing:0}
 .admin-form .check-line{min-height:44px;font-size:14px;align-items:center}
 .admin-dialog-close,.commerce-close,.b2b-part-close{min-width:44px;min-height:44px;top:8px;right:8px}
 .order-chat-messages{max-height:55dvh}
 .chat-message{max-width:100%;font-size:14px}
 .chat-message p{font-size:14px;line-height:1.7}
 .chat-compose-actions{gap:12px;flex-wrap:wrap}
 .chat-compose-actions .b2b-primary{width:100%;justify-content:center}
 .chat-compose-actions small{font-size:12px;line-height:1.6}
 .cms-tabs button,.cms-savebar button,.contact-toolbar button{min-height:44px;font-size:14px}
 .cms-page-select select,.cms-editor select{width:100%}
 .cms-savebar{position:static;flex-direction:column;align-items:stretch}
 .cms-savebar span{font-size:13px;line-height:1.6}
 .cms-history article{gap:14px;flex-wrap:wrap}
 .cms-section-heading p,.cms-notice,.cms-message{font-size:14px;line-height:1.75}
 .warranty-stage-note,.warranty-progress small,.warranty-order-stages small{font-size:12px;line-height:1.6}
 /* Product/dealer actions stay visible without horizontal table scrolling. */
 .admin-mobile-cards.commerce-table-wrap{overflow:visible;border:0;background:transparent}
 .admin-mobile-cards.commerce-table-wrap::before{display:none}
 .admin-mobile-cards .commerce-table{display:block;min-width:0;width:100%}
 .admin-mobile-cards thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .admin-mobile-cards tbody{display:grid;gap:16px}
 .admin-mobile-cards tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px;padding:20px;border:1px solid #dfe4dc;border-radius:8px;background:#fff;position:relative}
 .admin-mobile-cards .commerce-table td{display:block;border:0;padding:0;min-width:0;font-size:14px;line-height:1.6}
 .admin-mobile-cards .commerce-table td strong{max-width:none;font-size:17px;line-height:1.4;overflow-wrap:break-word}
 .admin-mobile-cards .commerce-table small{font-size:12px;line-height:1.65;overflow-wrap:anywhere}
 .admin-mobile-cards td::before{display:block;color:#71817b;font-size:11px;margin-bottom:5px}
 .admin-product-list td:first-child{position:absolute;top:20px;right:20px;width:64px}
 .admin-product-list .admin-product-thumb{width:64px;height:64px;object-fit:contain}
 .admin-product-list td:nth-child(2){grid-column:1/-1;padding-right:80px;min-height:64px}
 .admin-product-list td:nth-child(3)::before{content:'Liste fiyatı'}
 .admin-product-list td:nth-child(4)::before{content:'Kullanılabilir stok'}
 .admin-product-list td:nth-child(5){grid-column:1/-1}
 .admin-product-list td:nth-child(6){grid-column:1/-1;border-top:1px solid #e9ede6;padding-top:16px}
 .admin-dealer-list td:first-child{grid-column:1/-1}
 .admin-dealer-list td:nth-child(2)::before{content:'Yetkili / Vergi no'}
 .admin-dealer-list td:nth-child(3)::before{content:'İskonto'}
 .admin-dealer-list td:nth-child(4),.admin-dealer-list td:nth-child(5){grid-column:1/-1}
 .admin-dealer-list td:nth-child(5){border-top:1px solid #e9ede6;padding-top:16px}
 .admin-mobile-cards .admin-table-actions{display:flex;flex-wrap:wrap;gap:10px}
 .admin-mobile-cards .admin-table-actions button{flex:1;justify-content:center;white-space:nowrap}
}
@media screen and (max-width:360px){
 body{--gutter:16px}
 .header{gap:8px}.header .brand img{width:85px}
 .header-cta{font-size:11px}
 .feature-controls{flex-wrap:wrap}.feature-dots{flex:1;justify-content:flex-end}
 .feature-dots button{min-width:22px}
 .detail-summary h1{font-size:43px}
 .b2b-sidebar.portal-menu-open .b2b-nav{grid-template-columns:minmax(0,1fr)}
}
