/* Mobile shop: compact navigation and full-width product rows. Desktop is unchanged. */
.mobile-shop-toolbar,.mobile-shop-nav,.mobile-header-action,.mobile-filter-toggle,.mobile-card-order{display:none}
@media(max-width:760px){
 body[data-storefront]{padding-bottom:calc(72px + env(safe-area-inset-bottom));--mobile-header-height:112px}
 body[data-storefront] .topline{display:none}
 body[data-storefront] header{background:#0d202b;backdrop-filter:none;box-shadow:0 2px 10px #07151f12}
 body[data-storefront] .header{height:58px;width:calc(100% - 24px);gap:10px}
 body[data-storefront] .logo{font-size:17px;gap:6px;letter-spacing:-.3px}
 body[data-storefront] .logo-second{font-size:12px;letter-spacing:1.4px;margin-top:4px}
 body[data-storefront] .logo-mark{width:25px;height:34px}
 body[data-storefront] .logo-mark svg{width:25px;height:32px}
 body[data-storefront] .lang-switch{margin-left:auto;padding:2px;gap:0}
 body[data-storefront] .lang-button{min-width:32px;width:32px;height:34px;padding:0;font-size:11px}
 body[data-storefront] .header>.cart-button{display:none}
 .mobile-header-action{display:flex;align-items:center;justify-content:center;width:40px;height:44px;flex:0 0 40px;padding:8px;color:#fff;background:none;border:0;border-radius:7px}
 .mobile-header-action svg{width:24px;height:24px}
 .mobile-shop-toolbar{display:flex;align-items:center;gap:8px;margin:0 12px;padding-bottom:10px}
 .mobile-shop-toolbar .search-box{display:flex;align-items:center;flex:1;min-width:0;height:44px;border:0;border-radius:9px;background:#fff;color:#62727c;padding:0 12px;margin:0}
 .mobile-shop-toolbar .search-box svg{flex:0 0 20px;width:20px;height:20px}
 .mobile-shop-toolbar .search-box input{width:100%;min-width:0;height:44px;font-size:16px;padding:0 8px;color:#20323d;background:none;border:0;outline-offset:0}
 .mobile-shop-toolbar .mobile-photo-search{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 44px;background:#f6d32b;color:#142631;border:0;border-radius:9px}
 .mobile-shop-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;left:0;right:0;bottom:0;z-index:35;gap:0;margin:0;padding:5px max(4px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(4px,env(safe-area-inset-left));background:#fff;border-top:1px solid #dfe5e8;box-shadow:0 -3px 14px #07151f08;color:#70808b}
 .mobile-shop-nav a,.mobile-shop-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:54px;padding:4px 1px;border:0;background:none;color:inherit;font-size:10px;line-height:1.2;text-align:center;position:relative}
 .mobile-shop-nav svg{width:23px;height:23px;stroke-width:1.6}
 .mobile-shop-nav [aria-current=page]{color:#213d49;font-weight:700}
 .mobile-shop-nav [aria-current=page]::before{content:'';position:absolute;top:-5px;left:26%;right:26%;height:3px;background:#e9c326;border-radius:0 0 3px 3px}
 .mobile-shop-nav .mobile-cart-badge{position:absolute;top:0;left:calc(50% + 5px);min-width:17px;height:17px;padding:2px 4px;border-radius:99px;background:#f6d32b;color:#142631;font-size:10px;line-height:13px;font-weight:700}
 .mobile-shop-nav .mobile-cart-badge[hidden]{display:none}
 body[data-storefront] .mardan-assistant,body[data-storefront] .assistant-fab,body[data-storefront] .home-catalog-shortcut,body[data-storefront].mobile-catalog-ready #mobileCatalogToggle{display:none}
 body[data-storefront=catalog] main>.wrap{width:calc(100% - 24px)}
 body[data-storefront=catalog] .category-hero,body[data-storefront=catalog] .brand-strip,body[data-storefront=catalog] .service-row{display:none}
 body[data-storefront=catalog] .catalog-section{padding-top:18px}
 body[data-storefront=catalog] .section-title{margin-bottom:12px;align-items:center}
 body[data-storefront=catalog] .section-title .eyebrow,body[data-storefront=catalog] .catalog-caption{display:none}
 body[data-storefront=catalog] .section-title h1{font-size:23px;line-height:1.2;margin:0;letter-spacing:-.5px}
 .mobile-filter-toggle{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:44px;margin-bottom:10px;padding:10px 12px;border:1px solid #dde4e7;border-radius:8px;background:#f6f8f9;color:#314b59;font-size:13px;text-align:left}
 .mobile-filter-toggle svg{width:18px;height:18px}
 body[data-storefront=catalog]:not(.mobile-filters-open) .catalog-tools,body[data-storefront=catalog]:not(.mobile-filters-open) .catalog-budget{display:none}
 body[data-storefront=catalog] .catalog-tools{margin-bottom:10px}
 body[data-storefront=catalog] #sort,body[data-storefront=catalog] #group{min-height:44px;font-size:14px}
 body[data-storefront=catalog] .results-line{margin:12px 0 0;gap:6px;align-items:center}
 body[data-storefront=catalog] .results-line p{font-size:11px;line-height:1.5;margin:0}
 body[data-storefront=catalog] .results-line>span{display:none}
 body[data-storefront=catalog] #results:focus{outline:none}
 body[data-storefront=catalog] .catalog-pagination{flex-direction:row;flex-wrap:wrap;gap:8px;margin:8px 0}
 body[data-storefront=catalog] #paginationTop .pagination-numbers{display:none}
 body[data-storefront=catalog] .pagination-toolbar{gap:8px}
 body[data-storefront=catalog] .pagination-toolbar button{min-width:44px;min-height:44px;background:#f7f9fa}
 body[data-storefront=catalog] .pagination-toolbar span{font-size:12px;color:#6b7c86}
 body[data-storefront=catalog] #paginationBottom{justify-content:center;padding-top:10px}
 body[data-storefront=catalog] #products{display:grid;grid-template-columns:minmax(0,1fr);gap:0;border-top:1px solid #e8edef}
 body[data-storefront=catalog] #products>.card{display:grid;grid-template-columns:104px minmax(0,1fr);gap:12px;align-items:start;border:0;border-bottom:1px solid #e8edef;border-radius:0;box-shadow:none;padding:20px 0;overflow:visible;transition:none}
 body[data-storefront=catalog] #products>.card>.product-art{grid-column:1;height:132px;min-width:0;padding:6px;background:#fff;align-self:start;margin-top:4px}
 body[data-storefront=catalog] #products>.card>.product-art img{transform:none;object-fit:contain}
 body[data-storefront=catalog] #products .missing-photo{font-size:11px;line-height:1.45;text-align:center;padding:8px;border-radius:5px;background:#f4f7f9}
 body[data-storefront=catalog] #products>.card>.card-body{grid-column:2;display:flex;min-width:0;padding:0}
 body[data-storefront=catalog] #products .card h3{order:-3;margin:0;min-height:0;line-height:1.35}
 body[data-storefront=catalog] #products .title-button{font-size:16px;font-weight:700;line-height:1.35;color:#234957;overflow-wrap:anywhere}
 body[data-storefront=catalog] #products .product-store-signature{order:-2;font-size:9px;letter-spacing:.07em;margin:7px 0 8px;gap:5px}
 body[data-storefront=catalog] #products .product-store-signature>i{height:11px;width:2px;flex-basis:2px}
 body[data-storefront=catalog] #products .tag{font-size:12px;line-height:1.4;color:#82909a}
 body[data-storefront=catalog] #products .card p{font-size:12px;line-height:1.5;color:#64727c;margin:7px 0 0}
 body[data-storefront=catalog] #products .card-description{display:none}
 body[data-storefront=catalog] #products .card-body>.buy{display:none}
 body[data-storefront=catalog] #products .photo-note,body[data-storefront=catalog] #products .photo-verification-note{font-size:10px;line-height:1.4}
 body[data-storefront=catalog] #products .card-body>p.source-sale-unit{font-size:10px;line-height:1.4}
 .mobile-card-order{grid-column:1/-1;display:grid;grid-template-columns:104px minmax(0,1fr) auto;align-items:center;column-gap:12px;row-gap:12px;min-width:0}
 .mobile-quantity{display:grid;grid-template-columns:34px minmax(0,1fr) 34px;gap:0;align-items:center;min-width:0}
 .mobile-quantity button{width:34px;height:44px;padding:0;background:#fff;border:1px solid #afbdc6;color:#526673;border-radius:6px;font-size:21px;line-height:1}
 .mobile-quantity output{font-size:14px;text-align:center;color:#243640;overflow-wrap:anywhere}
 .mobile-order-price{min-width:0;color:#234957;align-self:center}
 .mobile-order-price>span{display:block;font-size:11px;color:#8a969d;margin-bottom:3px}
 .mobile-order-price>strong{font-size:20px;line-height:1.15;display:block;overflow-wrap:anywhere}
 .mobile-order-price .source-sale-unit{font-size:10px;white-space:normal;font-weight:400}
 .mobile-card-order>.mobile-buy{display:flex;align-items:center;justify-content:center;gap:6px;min-width:100px;min-height:46px;max-width:140px;padding:10px 12px;border:0;border-radius:6px;background:#f6d32b;color:#162d38;font-size:13px;font-weight:700;line-height:1.2}
 .mobile-buy svg{width:20px;height:20px;flex:0 0 20px}
 .mobile-card-order>.mobile-buy.is-added{background:#dfefdd;color:#286335}
 .mobile-order-total{grid-column:2/-1;text-align:right;font-size:11px;color:#8a969d;line-height:1.4}
 .mobile-order-total strong{color:#475a65;font-size:13px;margin-left:3px}
 .mobile-card-quote{display:flex;justify-content:flex-end}
 .mobile-card-quote .btn{font-size:13px;min-height:44px;padding:11px 16px}
 body[data-storefront=catalog] #products .product-photo-gallery--compact{grid-column:1;padding:0;min-width:0;max-width:104px}
 body[data-storefront=catalog] #products .product-photo-gallery__grid{grid-template-columns:minmax(0,1fr);gap:3px}
 body[data-storefront=catalog] #products .product-photo-gallery--compact .product-image-trigger{height:78px}
 body[data-storefront=catalog] #products .product-photo-gallery--compact figcaption{font-size:9px}
 body[data-storefront] dialog{max-height:calc(100dvh - 28px);max-width:calc(100% - 20px);overscroll-behavior:contain}
 body[data-storefront] #mobileCatalogDrawer{width:calc(100% - 20px);max-height:calc(100dvh - 28px);margin:auto;border-radius:12px}
 body[data-storefront] #mobileCatalogSections{display:block}
 body[data-storefront] #mobileCatalogSearch{font-size:16px}
}
@media(max-width:359px){
 body[data-storefront] .header{gap:5px}.mobile-header-action{width:36px;flex-basis:36px}
 body[data-storefront=catalog] #products>.card{grid-template-columns:86px minmax(0,1fr);column-gap:10px}
 .mobile-card-order{grid-template-columns:86px minmax(0,1fr) auto;column-gap:8px}
 .mobile-quantity{grid-template-columns:29px minmax(0,1fr) 29px}.mobile-quantity button{width:29px}
 .mobile-order-price>strong{font-size:16px}.mobile-card-order>.mobile-buy{min-width:88px;padding:10px 8px;font-size:12px;gap:4px}.mobile-buy svg{width:18px;height:18px;flex-basis:18px}
 body[data-storefront=catalog] #products .title-button{font-size:14px}.mobile-shop-nav a,.mobile-shop-nav button{font-size:9px}
}

/* Four languages remain reachable without crowding the phone header. */
.language-mobile-select{display:none}
@media(max-width:760px){
 body[data-storefront] .lang-switch .lang-button{display:none}
 body[data-storefront] .language-mobile-select{display:block;width:58px;height:34px;color:inherit;background:transparent;border:0;font:600 12px system-ui;cursor:pointer}
 body[data-storefront] .language-mobile-select option{color:#132d3b;background:#fff}
}
