/* Zentra Market mobile layout. This file intentionally overrides desktop rules. */
.gm-mobile-search-toggle,.gm-mobile-menu-toggle,.gm-filter-mobile-head,.gm-mobile-subcategories,.gm-mobile-list-controls,.gm-mobile-category-summary,.gm-mobile-sort-sheet,.gm-listing-mobile-overlay{display:none}
@media (max-width:760px){
  html,body{max-width:100%;overflow-x:hidden}
  body.zentra-market{font-size:13px;background:#f5f7fa}
  .gm-container{width:calc(100% - 24px)}

  /* Compact market header */
  .gm-header{position:sticky;top:0;box-shadow:0 1px 0 #e5eaf0,0 5px 18px rgba(25,45,75,.05)}
  .gm-header-notice .gm-container{min-height:27px;font-size:9px}
  .gm-search-row{position:relative;min-height:0!important;grid-template-columns:minmax(96px,1fr) auto!important;gap:8px!important;padding:9px 0 8px!important}
  .gm-logo{grid-column:1;min-width:0}
  .gm-logo,.gm-logo img{width:112px;max-width:112px}
  .gm-logo img{max-height:42px;object-fit:contain;object-position:left center}
  .gm-header-actions{grid-column:2;display:flex;align-items:center;gap:4px!important;justify-self:end}
  .gm-mobile-search-toggle,.gm-mobile-menu-toggle,.gm-header-favorite,.gm-account-link,.gm-cart-trigger>span:first-child{width:36px!important;height:36px!important;min-width:36px;border:1px solid #e2e8f0;border-radius:8px!important;background:#fff}
  .gm-mobile-search-toggle,.gm-mobile-menu-toggle{display:grid;place-items:center;padding:0;color:#173453;font-size:14px;cursor:pointer}
  .gm-header-favorite{display:none!important}
  .gm-account-link{padding:0!important;justify-content:center;gap:0!important}
  .gm-account-link>span,.gm-account-link>i:last-child{display:none!important}
  .gm-account-link>i:first-child{font-size:15px}
  .gm-cart-trigger{gap:0!important}
  .gm-cart-trigger>span:last-child{display:none!important}
  .gm-cart-trigger b{right:-4px;top:-7px;min-width:19px;height:19px;font-size:10px}
  .gm-search-stack{position:static;display:contents!important;min-width:0}
  .gm-search{display:none;position:absolute;z-index:12;top:8px;left:0;right:0;width:auto;height:38px!important;padding:2px 2px 2px 10px!important;border-color:#d8e1ec;border-radius:8px;background:#fff;overflow:hidden;box-shadow:0 6px 22px rgba(20,45,80,.14)}
  .gm-search input{width:auto;min-width:0;flex:1;padding:0 7px 0 0!important;font-size:12px}
  .gm-search button{flex:0 0 32px;width:32px;height:32px;border-radius:6px;font-size:14px}
  .gm-search.is-open{display:flex!important}
  .gm-delivery-inline{grid-column:1/-1;grid-row:2;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px!important;margin-top:0!important;min-height:42px!important;overflow:hidden}
  .gm-delivery-inline button{min-width:0!important;max-width:none!important;height:42px!important;display:grid;grid-template-columns:20px minmax(0,1fr) 9px;grid-template-rows:15px 15px;align-content:center;align-items:center;padding:4px 7px!important;overflow:hidden;border:1px solid #e3e9f1!important;border-radius:8px!important;background:#f8fafc!important;color:#6c7889!important;font-size:0!important;text-align:left}
  .gm-delivery-inline button:before{grid-column:2;grid-row:1;overflow:hidden;color:#7b8797;font-size:8px;line-height:1;white-space:nowrap;text-overflow:ellipsis}
  .gm-delivery-inline button:first-child:before{content:"Nereye gelsin?"}
  .gm-delivery-inline button:nth-child(2):before{content:"En yakın teslimat"}
  .gm-delivery-inline button strong{grid-column:2;grid-row:2;display:block;min-width:0;max-width:100%;margin:0!important;overflow:hidden;color:#172942;font-size:9.5px!important;line-height:1.1;white-space:nowrap;text-overflow:ellipsis}
  .gm-delivery-inline button>i:first-child{grid-column:1;grid-row:1/3;margin:0!important;color:var(--gm-orange);font-size:13px!important;text-align:center}
  .gm-delivery-inline button>i:last-child{display:block;grid-column:3;grid-row:1/3;margin:0!important;font-size:8px!important}

  .gm-category-dock{display:none!important}
  .gm-category-dock-inner{width:100%;height:45px!important;gap:5px!important;padding:0 12px;overflow-x:auto;scrollbar-width:none}
  .gm-category-dock-inner::-webkit-scrollbar{display:none}
  .gm-category-dock-item,.gm-category-dock-item:first-child{flex:0 0 auto!important;min-width:max-content!important;height:32px!important;padding:0 11px!important;gap:6px!important;border:1px solid #e4e9f0!important;border-radius:8px;background:#fff}
  .gm-category-dock-item span{display:none!important}
  .gm-category-dock-item img{display:none}
  .gm-category-dock-item i{font-size:12px!important}
  .gm-category-dock-item strong{max-width:none!important;font-size:10.5px!important;line-height:1}
  .gm-category-dock .gm-category-all{padding:0 13px!important;border-color:var(--gm-orange)!important}
  .gm-mega-menu{max-height:calc(100vh - 118px);overflow:auto}
  .gm-mega-inner{grid-template-columns:120px minmax(0,1fr)!important;gap:8px!important;padding:10px 0 15px}
  .gm-mega-main a,.gm-mega-sub a{min-height:35px;padding:7px 8px;font-size:10px}
  .gm-mega-sub{padding:10px!important}
  .gm-mega-group{grid-template-columns:1fr!important}

  /* Homepage rhythm */
  .gm-home>.gm-container{padding-top:10px;padding-bottom:34px}
  .gm-hero.gm-hero-banner{height:auto!important;min-height:0!important;aspect-ratio:2.35/1!important;border-radius:10px!important}
  .gm-hero-banner .gm-hero-banner-slide,.gm-hero-banner .gm-hero-banner-slide.is-active{height:100%}
  .gm-hero-banner-slide>img{height:100%!important;min-height:0!important;border-radius:10px;object-fit:cover!important}
  .gm-hero-banner .gm-hero-prev,.gm-hero-banner .gm-hero-next{display:none!important}
  .gm-hero-banner-cta{left:11px!important;bottom:10px!important;height:34px;padding:0 12px!important;gap:8px!important;border-radius:7px;font-size:10.5px!important;box-shadow:0 4px 12px rgba(10,35,70,.14)}
  .gm-hero-banner .gm-hero-dots{right:11px!important;bottom:11px!important;gap:5px}
  .gm-hero-banner .gm-hero-dots button{width:7px;height:7px}

  .gm-promo-strip{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;margin:10px 0 0!important;padding:0;overflow:visible}
  .gm-promo-strip a,.gm-promo-strip a:nth-child(2),.gm-promo-strip a:last-child{display:flex!important;min-width:0;min-height:68px!important;height:68px;padding:8px 7px!important;gap:6px!important;border-color:#e1e7ef;border-radius:8px;box-shadow:none}
  .gm-promo-icon{width:27px!important;height:27px!important;flex:0 0 27px;border-radius:7px;font-size:12px!important}
  .gm-promo-strip a>span:nth-child(2){min-width:0;gap:2px!important}
  .gm-promo-strip strong{display:-webkit-box;overflow:hidden;font-size:9.5px!important;line-height:1.15;-webkit-box-orient:vertical;-webkit-line-clamp:2}
  .gm-promo-strip small{display:-webkit-box;overflow:hidden;font-size:7.5px!important;line-height:1.15;-webkit-box-orient:vertical;-webkit-line-clamp:2}
  .gm-promo-strip a>i{display:none}

  .gm-section,.gm-product-section{margin-top:28px!important}
  .gm-section-head{gap:8px;margin-bottom:12px!important;align-items:flex-end}
  .gm-section-head h2{font-size:21px!important;line-height:1.1;letter-spacing:-.35px}
  .gm-section-head span{display:block;margin-top:4px;font-size:10.5px!important}
  .gm-section-head a{font-size:10.5px!important}
  .gm-category-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;padding:0;overflow:visible!important}
  .gm-category-card{width:100%!important;min-width:0!important;height:82px!important;border-color:#e1e7ef;border-radius:8px!important}
  .gm-category-card:nth-child(n+9){display:none!important}
  .gm-category-card span{width:100%!important;height:52px!important;min-height:52px;background:#fffaf6}
  .gm-category-card img{max-width:74%!important;max-height:44px!important}
  .gm-category-card i{font-size:20px!important}
  .gm-category-card strong{min-height:29px!important;padding:3px!important;font-size:8px!important;line-height:1.1}

  .gm-banner-row{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin-top:27px!important;padding-bottom:0;overflow:visible}
  .gm-banner-row .gm-banner{width:100%;min-height:125px!important;height:125px;padding:18px!important;border-radius:10px}
  .gm-banner>span{font-size:8.5px!important;letter-spacing:1.4px}
  .gm-banner>strong{max-width:72%;margin:7px 0!important;font-size:20px!important;line-height:1.08}
  .gm-banner>small{font-size:10px!important}
  .gm-banner:after{width:135px;height:135px;right:-34px;top:-25px;border-width:18px}

  .gm-rail-frame{margin:0!important}
  .gm-rail-frame .gm-rail-arrow{display:none!important}
  .gm-product-rail{gap:8px!important;padding:1px 0 4px!important;overflow-x:auto;scrollbar-width:none}
  .gm-product-rail::-webkit-scrollbar{display:none}
  .gm-product-rail>.gm-product,.gm-listing-products .gm-product{flex:0 0 calc((100% - 8px)/2)!important;width:calc((100% - 8px)/2)!important;min-width:0!important;min-height:248px!important;height:248px!important;padding:9px!important;border-color:#e1e7ef;border-radius:10px!important}
  .gm-product-image{height:117px!important;min-height:117px!important;padding:5px!important}
  .gm-product-image img{max-width:92%!important;max-height:108px!important}
  .gm-product-title{min-height:35px!important;font-size:11.5px!important;line-height:1.3!important}
  .gm-product-bottom{gap:5px!important}
  .gm-product-bottom strong{font-size:14px!important;line-height:1.1}
  .gm-product-bottom del{font-size:9px!important}
  .gm-cart-form button{width:34px!important;height:34px!important;font-size:24px!important}
  .gm-product>.gm-favorite-form{right:7px!important;top:7px!important}
  .gm-product>.gm-favorite-form button{width:31px!important;height:31px!important;font-size:12px;border-color:#e1e6ed}
  .gm-discount{padding:4px 6px!important;font-size:8px!important;border-radius:9px 0 6px 0}

  .gm-benefits{margin-top:35px!important}
  .gm-benefits .gm-benefits-inner{width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr))}
  .gm-benefits .gm-benefits-inner>div{min-height:70px!important;padding:11px 12px!important;gap:8px!important}
  .gm-benefits i{width:23px!important;flex-basis:23px!important;font-size:18px!important}
  .gm-benefits strong{font-size:10.5px!important}
  .gm-benefits small{font-size:8.5px!important;line-height:1.25}

  /* Compact footer */
  .gm-footer{border-top-width:2px}
  .gm-footer-top{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 16px!important;padding:27px 0 22px!important}
  .gm-footer-brand{grid-column:1/-1;display:grid!important;grid-template-columns:126px minmax(0,1fr);grid-template-rows:auto auto auto auto;align-items:start;column-gap:15px;row-gap:4px!important}
  .gm-footer-brand .gm-footer-logo{grid-column:1;grid-row:1/5;align-self:start;min-height:0!important;width:126px;max-width:126px!important;margin:0!important;padding:0!important}
  .gm-footer-brand .gm-footer-logo img{width:100%;max-height:49px!important;object-position:left top}
  .gm-footer-brand p{grid-column:2;grid-row:1;width:195px;max-width:100%;justify-self:end;margin:0 0 4px!important;font-size:11px!important;line-height:1.5!important}
  .gm-footer-brand>a:not(.gm-footer-logo){grid-column:2;width:195px;max-width:100%;justify-self:end;padding:2px 0!important;font-size:10.5px!important;line-height:1.35}
  .gm-footer-brand>a:not(.gm-footer-logo) i{width:15px!important}
  .gm-footer-brand .gm-footer-social{grid-column:2;width:195px;max-width:100%;justify-self:end;margin-top:3px!important}
  .gm-footer h3{margin:0 0 8px!important;font-size:12.5px!important}
  .gm-footer-links a{margin:0!important;padding:4px 0!important;font-size:10.5px!important;line-height:1.3}
  .gm-footer-links:last-child{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
  .gm-footer-links:last-child h3{grid-column:1/-1}
  .gm-footer-social{gap:8px!important;margin-top:4px!important}
  .gm-footer-social a{width:27px!important;height:27px!important;padding:0!important;font-size:11px!important}
  .gm-footer-bottom{min-height:0!important;padding:11px 0!important;font-size:8.5px!important}
  .gm-footer-bottom>.gm-container{display:flex;flex-direction:column;align-items:center;gap:4px!important;text-align:center}

  /* WhatsApp: centered icon, no floating text bubble */
  .gm-whatsapp{right:12px!important;bottom:12px!important;width:46px!important;height:46px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;border:2px solid #fff;border-radius:50%!important;background:#25d366!important;color:#fff!important;font-size:0!important;line-height:1!important;box-shadow:0 7px 20px rgba(19,97,59,.26),inset 0 0 0 1px rgba(255,255,255,.12)!important}
  .gm-whatsapp i{width:23px!important;height:23px!important;display:grid!important;place-items:center!important;margin:0!important;font-size:22px!important;line-height:23px!important;color:#fff!important;transform:translateY(.5px)}
  .gm-whatsapp i:before{display:block;line-height:23px!important}

  /* Other storefront pages */
  .gm-listing,.gm-page-shell,.gm-account,.gm-contact-page,.gm-auth-page{padding-top:16px;padding-bottom:34px}
  .gm-listing .gm-breadcrumb{margin-bottom:11px}
  .gm-mobile-category-summary{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 0 11px;padding:2px 1px 0}
  .gm-mobile-category-summary span{display:block;margin-bottom:3px;color:var(--gm-orange);font-size:8px;font-weight:850;letter-spacing:1.15px}
  .gm-mobile-category-summary h1{margin:0;color:#152842;font-size:20px;line-height:1.1;letter-spacing:-.3px}
  .gm-mobile-category-summary>strong{padding:5px 8px;border-radius:20px;background:rgba(var(--gm-theme-rgb),.08);color:var(--gm-orange);font-size:9px;white-space:nowrap}
  .gm-listing-layout,.gm-cart-page-layout,.gm-checkout-layout,.gm-account-layout{grid-template-columns:1fr!important;gap:12px!important}
  .gm-listing-main h1,.gm-page-heading h1,.gm-account-main h1{font-size:23px!important;line-height:1.15}
  .gm-filter-sidebar,.gm-listing-toolbar,.gm-cart-summary,.gm-checkout-card,.gm-account-main,.gm-account-side{border-radius:10px}
  .gm-listing .gm-desktop-subcategories{display:none!important}
  .gm-mobile-list-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px}
  .gm-mobile-list-controls>span{color:#6c7889;font-size:10px}.gm-mobile-list-controls>span strong{color:#172942;font-size:12px}
  .gm-mobile-list-controls>div{display:grid;grid-template-columns:1fr 1fr;gap:7px;flex:1;max-width:230px}
  .gm-mobile-list-controls.is-category>div{width:100%;max-width:none}
  .gm-mobile-list-controls button{height:38px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 13px;border:1px solid #d9e2ed;border-radius:8px;background:#fff;color:#1d3049;font:700 11px Gilroy,Arial,sans-serif;cursor:pointer}
  .gm-mobile-list-controls button i{color:var(--gm-orange);font-size:11px}
  .gm-listing .gm-listing-toolbar{display:none!important}
  .gm-listing .gm-filter-sidebar{position:fixed!important;z-index:1602;top:0;bottom:0;left:0;width:min(360px,92vw);display:block!important;padding:0!important;border:0!important;border-radius:0!important;overflow-y:auto;background:#fff;box-shadow:14px 0 40px rgba(12,32,58,.2);transform:translateX(-105%);transition:transform .22s ease}
  .gm-listing .gm-filter-sidebar.is-mobile-open{transform:translateX(0)}
  .gm-filter-mobile-head{position:sticky;z-index:2;top:0;height:57px;display:flex;align-items:center;justify-content:space-between;padding:0 17px;border-bottom:1px solid #e8edf3;background:#fff}
  .gm-filter-mobile-head strong{font-size:17px;color:#172942}.gm-filter-mobile-head button,.gm-mobile-sort-head button{width:34px;height:34px;padding:0;border:0;border-radius:50%;background:#f0f4f8;color:#48586c;font-size:24px;line-height:1;cursor:pointer}
  .gm-mobile-subcategories{display:block!important}
  .gm-filter-sidebar.has-current-category>.gm-all-categories{display:none!important}
  .gm-filter-sidebar section{padding:14px 16px!important}
  .gm-filter-sidebar section h3{margin-bottom:9px!important;font-size:13px!important}
  .gm-filter-sidebar section a{min-height:34px;padding:7px 0!important;font-size:11px!important}
  .gm-filter-sidebar .gm-attribute-group>div{max-height:none!important}
  .gm-filter-sidebar .gm-attribute-group label{font-size:11px!important}
  .gm-listing-mobile-overlay{position:fixed;z-index:1601;inset:0;display:block;background:rgba(11,27,49,.42);backdrop-filter:blur(1px)}
  .gm-listing-mobile-overlay[hidden]{display:none!important}
  .gm-mobile-sort-sheet{position:fixed;z-index:1602;right:0;bottom:0;left:0;display:block;padding:0 14px calc(14px + env(safe-area-inset-bottom));border-radius:16px 16px 0 0;background:#fff;box-shadow:0 -16px 40px rgba(12,32,58,.2);transform:translateY(110%);transition:transform .22s ease}
  .gm-mobile-sort-sheet.is-mobile-open{transform:translateY(0)}
  .gm-mobile-sort-head{height:57px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e8edf3}
  .gm-mobile-sort-head strong{font-size:16px;color:#172942}
  .gm-mobile-sort-sheet>a{height:46px;display:flex;align-items:center;justify-content:space-between;padding:0 4px;border-bottom:1px solid #edf1f5;color:#33445b;font-size:12px;font-weight:650}
  .gm-mobile-sort-sheet>a i{display:none;color:var(--gm-orange)}.gm-mobile-sort-sheet>a.is-active{color:var(--gm-orange)}.gm-mobile-sort-sheet>a.is-active i{display:block}
  body.gm-listing-panel-open{overflow:hidden}
  .gm-listing-products,.gm-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .gm-listing-products .gm-product{width:100%!important}
  .gm-detail-main{grid-template-columns:1fr!important;gap:16px!important;padding:15px 0 34px}
  .gm-detail-image{min-height:265px!important}.gm-detail-image img{max-height:250px!important}.gm-detail-info h1{font-size:24px!important}.gm-detail-price{font-size:28px!important}
  .gm-cart-page-items,.gm-cart-summary,.gm-checkout-card{padding:15px}.gm-cart-page-item{gap:10px;padding:11px 0}.gm-cart-page-item img{width:58px;height:58px}
  .gm-account-side{padding:10px}.gm-account-main{padding:15px}.gm-account-form{grid-template-columns:1fr!important;gap:11px}.gm-account-form label.full,.gm-account-form button{grid-column:1}
  .gm-auth-layout{grid-template-columns:1fr!important;gap:15px!important;padding:18px 0 35px}.gm-auth-story{display:none!important}.gm-auth-card{padding:18px!important;border-radius:11px}.gm-auth-card h2{font-size:21px}
  .gm-contact-grid{grid-template-columns:1fr!important;gap:24px!important}.gm-contact-form-row{grid-template-columns:1fr!important}.gm-contact-form input,.gm-contact-form select{height:44px}.gm-contact-form textarea{height:125px}
  .gm-side-panel{width:100%}.gm-side-head{height:58px;padding:0 16px}.gm-cart-panel-body{padding:15px}.gm-modal-card{width:calc(100% - 20px);max-height:calc(100vh - 20px);padding:16px;border-radius:11px;overflow:auto}
}

@media (max-width:480px){
  .gm-container{width:calc(100% - 18px)}
  .gm-search-row{grid-template-columns:minmax(92px,1fr) auto!important;gap:5px!important}
  .gm-logo,.gm-logo img{width:105px;max-width:105px}
  .gm-header-favorite{display:none!important}
  .gm-category-dock-inner{padding:0 9px}
  .gm-category-dock-item,.gm-category-dock-item:first-child{padding:0 10px!important}
  .gm-mega-inner{grid-template-columns:108px minmax(0,1fr)!important}
  .gm-hero.gm-hero-banner{aspect-ratio:2.2/1!important}
  .gm-promo-strip{gap:5px!important}
  .gm-promo-strip a,.gm-promo-strip a:nth-child(2),.gm-promo-strip a:last-child{height:66px;min-height:66px!important;padding:7px 6px!important;gap:5px!important}
  .gm-promo-icon{width:25px!important;height:25px!important;flex-basis:25px;font-size:11px!important}
  .gm-promo-strip strong{font-size:9px!important}.gm-promo-strip small{font-size:7px!important}
  .gm-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}
  .gm-category-card{width:100%!important;min-width:0!important;height:78px!important}
  .gm-category-card span{height:49px!important;min-height:49px!important}
  .gm-category-card img{max-height:41px!important}
  .gm-category-card strong{min-height:28px!important;padding:3px 2px!important;font-size:7.5px!important}
  .gm-banner-row .gm-banner{width:100%;min-height:118px!important;height:118px}
  .gm-banner>strong{font-size:18px!important}
  .gm-product-rail>.gm-product,.gm-listing-products .gm-product{min-height:238px!important;height:238px!important}
  .gm-product-image{height:108px!important;min-height:108px!important}
  .gm-product-image img{max-height:100px!important}
  .gm-product-title{font-size:11px!important}
  .gm-product-bottom strong{font-size:13.5px!important}
  .gm-footer-top{gap:16px 13px!important;padding-top:24px!important}
  .gm-footer-brand{grid-template-columns:118px minmax(0,1fr);column-gap:12px}
  .gm-footer-brand .gm-footer-logo{width:118px;max-width:118px!important}
  .gm-footer-brand p{width:188px;max-width:100%;font-size:10.8px!important;line-height:1.5!important}.gm-footer-brand>a:not(.gm-footer-logo){width:188px;font-size:10.2px!important}.gm-footer-brand .gm-footer-social{width:188px}
  .gm-whatsapp{right:11px!important;bottom:11px!important;width:44px!important;height:44px!important}
  .gm-whatsapp i{font-size:21px!important}
  .gm-contact-captcha{grid-template-columns:1fr!important}.gm-contact-captcha img{width:100%!important}
  .gm-product-assurances{grid-template-columns:1fr!important}
}
