/* Renova storefront: compact, touch-first layouts for phones and tablets. */
.catalog-category-picker>summary{display:none}
.catalog-category-picker:not([open])>.catalog-category-content{display:block!important}
.mobile-catalog-filters>summary{display:none}
.mobile-catalog-filters:not([open])>.catalog-filter-tools{display:grid!important}

@media(max-width:850px){
  .mobilemenu{display:inline-flex!important;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #ffffff35;border-radius:10px;background:#ffffff12;color:#fff;cursor:pointer}
  .nav.category-nav{display:none!important;height:auto!important;min-height:0!important}
  .nav.category-nav.open{display:block!important;max-height:65dvh;overflow:auto;overscroll-behavior:contain}
  .category-menu.navrow{display:block!important;min-height:0;padding:6px 0}
  .category-menu .navgroup{display:block;height:auto;border-bottom:1px solid #ffffff25}
  .category-menu .menu-row{display:flex;min-height:44px;justify-content:space-between}
  .category-menu .navroot{display:flex;flex:1;align-items:center;min-height:44px;padding:10px 12px;font-size:14px;white-space:normal}
  .category-menu .category-toggle{display:none!important}
  .category-menu .menu-level,.category-menu .menu-level .menu-level{display:none;position:static!important;inset:auto!important;width:auto!important;max-width:none;max-height:none;overflow:visible;border:0;border-left:2px solid #b8d2f2;border-radius:0;box-shadow:none;margin:0 8px 8px 14px;padding:3px;background:#fff;color:#183153}
  .category-menu .menu-branch.is-open>.menu-level{display:block!important}
  .category-menu .menu-level a{min-height:42px;padding:10px 12px;font-size:13px}
  .category-menu .menu-all>a{font-weight:800}
  .category-menu .menu-level .menu-level{margin-left:12px;background:#f5f8fc}
}

@media(max-width:700px){
  html{scroll-padding-top:12px}
  body{max-width:100%;overflow-x:hidden}
  .wrap{width:calc(100% - 24px);max-width:600px}
  .topline{height:32px}
  .topitems{justify-content:center;gap:8px;font-size:10px}
  .headrow{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"brand cart menu" "search search search" "languages languages languages";align-items:center;gap:8px;padding:9px 0;height:auto!important;min-height:0!important}
  .headrow .brand{grid-area:brand;min-width:0;font-size:clamp(18px,5.2vw,23px);letter-spacing:-.8px;white-space:nowrap}
  .headrow .search{grid-area:search;order:initial!important;flex:none;width:100%;min-width:0;height:42px}
  .headrow .search input{min-width:0;font-size:16px;padding:0 11px}
  .headrow .search button{min-width:54px;padding:0 12px}
  .headrow .headlink{display:none}
  .headrow .cartopen{grid-area:cart;order:initial!important;width:42px;height:42px;justify-content:center;font-size:21px}
  .headrow .cartopen b{top:0;left:auto;right:-3px}
  .headrow .lang-switch{grid-area:languages;order:initial!important;justify-self:end;margin:0!important}
  .headrow .lang-switch button{min-width:36px;min-height:32px}
  .headrow .mobilemenu{grid-area:menu;order:initial!important;width:42px;height:42px;font-size:21px}
  .search-suggestions{left:0!important;right:0!important;max-height:55vh}
  .catalog-layout{display:block!important;margin:12px 0 28px!important}
  .catalog-side{max-height:none!important;overflow:visible!important;margin:0 0 10px;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
  .catalog-category-picker{overflow:hidden;border:1px solid #dce5f0;border-radius:11px;background:#fff;box-shadow:0 4px 14px #08265308}
  .catalog-category-picker>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:9px 12px;cursor:pointer;list-style:none;color:#183153}
  .catalog-category-picker>summary::-webkit-details-marker{display:none}
  .catalog-category-picker>summary span{font-size:12px;font-weight:800;white-space:nowrap}
  .catalog-category-picker>summary b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#1265c2;font-size:12px}
  .catalog-category-picker>summary:after{content:"Değiştir";flex:none;padding:6px 8px;border-radius:6px;background:#edf5ff;color:#075db8;font-size:10px;font-weight:800}
  .catalog-category-picker[open]>summary{border-bottom:1px solid #e8eef6}
  .catalog-category-picker[open]>summary:after{content:"Kapat"}
  .catalog-category-picker:not([open])>.catalog-category-content{display:none!important}
  .catalog-category-content{max-height:48dvh;overflow:auto;padding:10px;background:#fff;overscroll-behavior:contain}
  .catalog-category-content h2{display:none}
  .catalog-category-content .source-category-group{border-bottom:1px solid #edf0f5}
  .catalog-category-content .source-category-group summary{min-height:42px;padding:11px 8px;font-size:13px}
  .catalog-category-content .source-category-group>a{min-height:40px;padding:10px 9px}
  .catalog-main{min-width:0;padding:12px!important;border-radius:13px!important}
  .catalog-heading{display:block;margin-bottom:12px}
  .catalog-heading h1{font-size:22px;line-height:1.2}
  .catalog-heading p{font-size:11px;line-height:1.45}
  .mobile-catalog-filters{margin:0 0 10px}
  .mobile-catalog-filters>summary{display:flex;align-items:center;min-height:44px;padding:0 12px;border:1px solid #dce5f0;border-radius:9px;background:#f8fafd;color:#1859a5;font-size:12px;font-weight:800;cursor:pointer;list-style:none}
  .mobile-catalog-filters>summary::-webkit-details-marker{display:none}
  .mobile-catalog-filters[open]>summary{margin-bottom:8px}
  .mobile-catalog-filters:not([open])>.catalog-filter-tools{display:none!important}
  .catalog-filter-tools{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px;padding:10px;margin:0 0 12px}
  .catalog-filter-tools .catalog-search-field{grid-column:1/-1}
  .catalog-filter-tools label{min-width:0}
  .catalog-filter-tools label span{font-size:10px}
  .catalog-filter-tools input,.catalog-filter-tools select{height:42px;min-width:0;font-size:16px;padding:0 8px}
  .catalog-filter-tools button{height:42px;min-height:42px}
  .catalog-filter-tools .filter-clear{min-height:42px;display:flex;align-items:center;justify-content:center}
  .catalog-main .product-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin:0!important;align-items:stretch}
  .catalog-main .product-grid .product-card{display:flex!important;flex-direction:column!important;align-items:stretch;min-width:0;min-height:0;padding:8px!important;border-radius:12px!important}
  .catalog-main .product-grid .product-photo{display:flex;width:100%;height:clamp(118px,34vw,165px);padding:5px;margin:0;border-radius:8px}
  .catalog-main .product-grid .product-info{display:flex;min-width:0;width:100%;padding:8px 1px 1px!important}
  .catalog-main .product-grid .product-brand{font-size:8px;letter-spacing:.6px}
  .catalog-main .product-grid .product-name{min-height:34px;font-size:11px;line-height:1.35;overflow-wrap:anywhere}
  .catalog-main .product-grid .product-info p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:27px;font-size:10px;line-height:1.35;margin:0 0 5px}
  .catalog-main .product-grid .price{font-size:15px;line-height:1.2;margin:4px 0;overflow-wrap:anywhere}
  .catalog-main .product-grid .old-price{font-size:9px}
  .catalog-main .product-grid .installment{align-self:flex-start;max-width:100%;font-size:8px;line-height:1.3;padding:4px 5px}
  .catalog-main .product-grid .stock{font-size:9px;margin:6px 0}
  .catalog-main .product-grid .card-actions{display:flex;flex-wrap:nowrap!important;gap:4px;width:100%;margin-top:auto}
  .catalog-main .product-grid .card-actions>*{flex:1 1 0;min-width:0;min-height:38px;padding:6px 2px!important;font-size:9px;line-height:1.15;white-space:normal}
  .catalog-main .product-grid .product-badge{top:8px;left:8px;padding:3px 6px;font-size:8px}
  .catalog-main .product-grid .heart{top:5px;right:5px;font-size:21px}
  .catalog-pages{flex-wrap:wrap;gap:5px}
  .catalog-pages a,.catalog-pages span{min-width:38px;min-height:40px;padding:9px;text-align:center}
  .quickcats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}
  .quickcat{min-width:0;height:76px}
  .quickcat b{font-size:11px;white-space:normal}
  .product-detail-shell{padding-top:12px}
  .product-detail-shell .gallery-card img{height:clamp(210px,65vw,300px)}
  .product-detail-shell .buy-card h1{font-size:20px;line-height:1.3}
  .product-detail-shell .detail-actions .btn,.product-detail-shell .quote-link{min-height:44px;font-size:12px}
  .product-detail-shell .spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .related-grid{scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
  .cartdrawer{width:min(100%,440px);padding:16px}
  input,select,textarea{font-size:16px}
  button,.btn,a.category-all,.source-category-group summary{touch-action:manipulation}
}

@media(max-width:420px){
  .side-promos{grid-template-columns:1fr!important;grid-template-rows:auto!important}
  .promo{min-height:116px}
  .quickcats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media(max-width:359px){
  .catalog-main .product-grid{grid-template-columns:1fr!important}
  .catalog-main .product-grid .product-card{display:grid!important;grid-template-columns:40% minmax(0,1fr)!important;gap:8px}
  .catalog-main .product-grid .product-photo{height:150px;grid-row:1 / span 2}
  .catalog-main .product-grid .product-info{grid-column:2;grid-row:1 / span 2}
  .headrow .brand{font-size:17px}
}
