
/* Market Kapımda V14 - mobile app inspired refresh */
:root{
  --mk14-shell:1280px;
  --mk14-bg:#f6f7f3;
  --mk14-line:#e8eee4;
  --mk14-card:#ffffff;
  --mk14-green:#23b34a;
  --mk14-green-dark:#157934;
  --mk14-yellow:#ffca28;
  --mk14-shadow:0 14px 34px rgba(15,23,42,.07);
}
body.foodmart-body{background:var(--mk14-bg)!important}
.foodmart-header .container-fluid,
.foodmart-main > .container-fluid,
.foodmart-main > section > .container-fluid,
.mk13-shell,
.gf-shell,
.market-category-home .container-fluid,
.managed-top-blocks .container-fluid,
.managed-banner-section .container-fluid,
.managed-service-section .container-fluid,
.managed-product-section .container-fluid{
  max-width:var(--mk14-shell)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.foodmart-header .container-fluid{padding-left:18px!important;padding-right:18px!important}
.foodmart-announcement,
.v10-deal-strip{max-width:var(--mk14-shell)!important;margin-left:auto!important;margin-right:auto!important}

/* desktop cleanup */
@media (min-width:992px){
  .gf-home{display:none!important}
  .foodmart-announcement{margin-top:14px!important;border-radius:16px!important}
  .v10-deal-strip{margin-top:12px!important;border-radius:18px!important}
  .foodmart-header .row.py-3.border-bottom,
  .foodmart-menu-wrap .row{max-width:var(--mk14-shell);margin-left:auto;margin-right:auto}
  .mk13-desktop-home{padding:14px 0 10px!important}
  .mk13-shell{padding-left:18px!important;padding-right:18px!important}
  .mk13-hero{box-shadow:var(--mk14-shadow)!important;border:1px solid var(--mk14-line)!important}
  .mk13-categories{gap:16px!important}
  .managed-product-grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:22px!important;
    margin:0!important;
  }
  .managed-product-grid > *{width:auto!important;max-width:none!important;flex:0 0 auto!important;padding:0!important;margin:0!important}
  .product-item.foodmart-product-card,.foodmart-product-card{
    height:100%!important;
    display:flex!important;
    flex-direction:column!important;
    border-radius:22px!important;
    padding:16px!important;
    border:1px solid var(--mk14-line)!important;
    box-shadow:0 10px 24px rgba(15,23,42,.05)!important;
  }
  .product-item.foodmart-product-card figure,.foodmart-product-card figure{height:210px!important;border-radius:16px!important;background:#fbfcf8!important}
  .product-content{flex:1 1 auto!important}
  .foodmart-add-form{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin-top:auto!important}
  .foodmart-add-form .input-number,
  .foodmart-card-qty-control{display:none!important}
  .foodmart-add-btn{width:100%!important;min-height:46px!important;border-radius:14px!important;background:var(--mk14-yellow)!important;color:#212121!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:0 16px!important;box-shadow:none!important}
  .foodmart-add-label{display:inline!important}
  .foodmart-add-plus{font-size:18px!important;line-height:1!important}
  .managed-section-head{margin-bottom:18px!important}
  .managed-section-head h2{font-size:32px!important}
  .managed-top-blocks,.managed-banner-section,.managed-service-section{display:none!important}
  .market-category-home{padding-top:10px!important}
}

/* mobile app look */
.mk14-mobile-only{display:none}
@media (max-width:991.98px){
  body.foodmart-body{padding-bottom:112px!important;background:#f5f7f3!important}
  .foodmart-header{background:transparent!important}
  .foodmart-header .container-fluid{padding-left:12px!important;padding-right:12px!important}
  .foodmart-header .row.py-3.border-bottom{
    padding-top:12px!important;padding-bottom:8px!important;border-bottom:0!important;
    align-items:center!important;
  }
  .foodmart-logo img{max-height:36px!important}
  .foodmart-icons{gap:6px!important}
  .foodmart-icons a,.foodmart-icons button{
    width:42px!important;height:42px!important;display:grid!important;place-items:center!important;
    background:#fff!important;border:1px solid var(--mk14-line)!important;border-radius:14px!important;
    box-shadow:0 8px 20px rgba(15,23,42,.05)!important;padding:0!important;margin:0!important;
  }
  .foodmart-icons li:nth-child(3){display:none!important}
  .foodmart-icons svg{width:22px!important;height:22px!important}
  .foodmart-menu-wrap{display:none!important}
  .gf-app-mobile-bar{
    display:grid!important;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;
    background:#fff;border:1px solid var(--mk14-line);border-radius:18px;padding:10px 12px;
    box-shadow:0 8px 24px rgba(15,23,42,.05);margin-top:2px;
  }
  .gf-app-location-icon{
    width:32px;height:32px;border-radius:999px;background:#fff2f4;color:#ff5a6d;
    display:grid;place-items:center;font-size:15px
  }
  .gf-app-location-copy small{display:block;color:#8c948f;font-size:10px;font-weight:800;line-height:1.1}
  .gf-app-location-copy strong{display:block;color:#202425;font-size:14px;font-weight:900;line-height:1.2}
  .gf-app-time{justify-self:end;background:#eef9f0;color:#218a3d;padding:8px 10px;border-radius:999px;font-size:11px;font-weight:900;white-space:nowrap}

  .foodmart-announcement{
    margin:8px 12px 0!important;padding:10px 12px!important;border-radius:14px!important;
    font-size:12px!important;line-height:1.35!important;text-align:center!important;
  }
  .v10-deal-strip{
    margin:8px 12px 0!important;padding:12px 14px!important;border-radius:16px!important;
    display:grid!important;grid-template-columns:1fr auto!important;grid-template-areas:
      'title button'
      'timer button'!important;
    gap:4px 10px!important;align-items:center!important;
  }
  .v10-deal-strip > span{grid-area:title;font-size:14px!important;font-weight:900!important}
  .v10-deal-strip > strong{grid-area:timer;font-size:12px!important}
  .v10-deal-strip > a{grid-area:button;align-self:center;padding:10px 12px!important;border-radius:12px!important}

  .mk13-desktop-home{display:none!important}
  .gf-home{display:block!important;padding:8px 0 2px!important}
  .gf-shell{padding:0 12px!important}
  .gf-welcome{display:none!important}
  .gf-mobile-search{
    display:grid!important;grid-template-columns:1fr auto!important;gap:10px!important;
    background:#fff!important;border:1px solid var(--mk14-line)!important;border-radius:16px!important;
    box-shadow:0 8px 24px rgba(15,23,42,.04)!important;padding:8px!important;margin-bottom:16px!important;
  }
  .gf-mobile-search input{border:0!important;background:transparent!important;font-size:14px!important;font-weight:800!important;padding:10px 12px!important}
  .gf-mobile-search button{border:0!important;background:var(--mk14-green)!important;color:#fff!important;border-radius:12px!important;padding:0 18px!important;font-size:16px!important;font-weight:900!important;min-height:46px!important}
  .gf-category-head{display:flex!important;justify-content:space-between!important;align-items:flex-end!important;margin:0 2px 10px!important}
  .gf-category-head h2{margin:0!important;font-size:18px!important;line-height:1.1!important;font-weight:950!important;color:#161a1c!important}
  .gf-category-head a{font-size:12px!important;font-weight:900!important;color:#27a145!important;text-decoration:none!important}
  .gf-categories{
    display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;
    margin:0 0 16px!important;padding:0!important;overflow:visible!important;
  }
  .gf-cat{
    min-width:0!important;min-height:92px!important;padding:12px 6px!important;border-radius:18px!important;
    border:1px solid var(--mk14-line)!important;background:#fff!important;box-shadow:0 10px 22px rgba(15,23,42,.04)!important;
  }
  .gf-cat img{width:34px!important;height:34px!important;margin-bottom:8px!important}
  .gf-cat span{font-size:11px!important;line-height:1.2!important;font-weight:900!important;color:#25292a!important;white-space:normal!important}
  .gf-promo{
    grid-template-columns:1.2fr .8fr!important;min-height:190px!important;padding:18px!important;border-radius:22px!important;
    background:linear-gradient(180deg,#edf8ee 0%,#eef7df 100%)!important;box-shadow:0 18px 38px rgba(15,23,42,.07)!important;margin-bottom:14px!important;
  }
  .gf-promo-kicker{font-size:11px!important}
  .gf-promo h2{font-size:19px!important;line-height:1.08!important;margin:8px 0 8px!important}
  .gf-promo p{font-size:12px!important;line-height:1.45!important;margin-bottom:12px!important;max-width:190px!important}
  .gf-promo-btn{font-size:12px!important;padding:11px 14px!important;border-radius:12px!important}
  .gf-promo-media img{max-width:120px!important;max-height:130px!important}
  .gf-speed-badge{top:10px!important;right:10px!important;padding:6px 8px!important;font-size:10px!important}
  .gf-benefits{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin-bottom:16px!important}
  .gf-benefit{background:#fff!important;border:1px solid var(--mk14-line)!important;border-radius:16px!important;padding:12px 14px!important;box-shadow:0 8px 18px rgba(15,23,42,.04)!important}
  .gf-benefit strong{font-size:14px!important}
  .gf-benefit small{font-size:11px!important}

  .mk14-mobile-only{display:block!important}
  .mk14-mobile-offers{margin:0 0 18px!important}
  .mk14-mobile-offers-head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:10px;margin-bottom:10px!important}
  .mk14-mobile-offers-head h2{margin:0!important;font-size:16px!important;font-weight:950!important;color:#171c1f!important}
  .mk14-mobile-offers-head p{margin:4px 0 0!important;font-size:11px!important;color:#7a8580!important}
  .mk14-mobile-offers-head a{font-size:12px!important;font-weight:900!important;color:#27a145!important;text-decoration:none!important;white-space:nowrap}
  .mk14-mobile-offers-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .mk14-mini-card{
    display:block!important;text-decoration:none!important;background:#fff!important;border:1px solid var(--mk14-line)!important;border-radius:18px!important;padding:12px!important;color:#202425!important;box-shadow:0 10px 24px rgba(15,23,42,.05)!important;
  }
  .mk14-mini-card figure{height:96px!important;border-radius:14px!important;background:#f7f8f4!important;margin:0 0 10px!important;display:grid!important;place-items:center!important;overflow:hidden!important}
  .mk14-mini-card figure img{max-width:100%!important;max-height:88px!important}
  .mk14-mini-card strong{display:block!important;font-size:13px!important;line-height:1.25!important;font-weight:900!important;min-height:34px!important;margin-bottom:6px!important}
  .mk14-mini-card small{display:block!important;font-size:10px!important;color:#7b8580!important;line-height:1.3!important;margin-bottom:6px!important}
  .mk14-mini-card span{display:block!important;color:#27a145!important;font-size:15px!important;font-weight:950!important}

  .managed-product-section{padding:0 12px 16px!important}
  .managed-product-section .container-fluid{padding:0!important}
  .managed-section-head{margin-bottom:10px!important}
  .managed-section-head h2{font-size:19px!important}
  .managed-section-head p{font-size:11px!important}
  .managed-section-head a{font-size:12px!important}
  .managed-product-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:0!important}
  .managed-product-grid > *{width:auto!important;max-width:none!important;flex:0 0 auto!important;padding:0!important;margin:0!important}
  .product-item.foodmart-product-card,.foodmart-product-card{
    display:flex!important;flex-direction:column!important;height:100%!important;border:1px solid var(--mk14-line)!important;border-radius:18px!important;padding:12px!important;box-shadow:0 10px 22px rgba(15,23,42,.04)!important;
  }
  .product-item.foodmart-product-card figure,.foodmart-product-card figure{height:124px!important;padding:8px!important;border-radius:14px!important;background:#f9faf7!important}
  .product-item.foodmart-product-card h3,.foodmart-product-card h3{font-size:13px!important;line-height:1.25!important;min-height:34px!important;margin-bottom:6px!important}
  .product-subline{font-size:10px!important;line-height:1.25!important;margin-bottom:8px!important}
  .current-price{font-size:17px!important}
  .old-price{font-size:11px!important}
  .foodmart-add-form{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin-top:auto!important}
  .foodmart-add-form .input-number,
  .foodmart-card-qty-control,
  .v10-card-actions,
  .foodmart-add-plus{display:none!important}
  .foodmart-add-btn{width:100%!important;min-height:40px!important;border-radius:12px!important;background:var(--mk14-yellow)!important;color:#1f1f1f!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0 10px!important;font-size:12px!important;font-weight:900!important}

  .market-category-home,
  .managed-top-blocks,
  .managed-banner-section,
  .managed-service-section,
  .foodmart-footer{display:none!important}

  .foodmart-mobile-nav{
    position:fixed!important;left:10px!important;right:10px!important;bottom:10px!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;
    background:rgba(255,255,255,.98)!important;border:1px solid var(--mk14-line)!important;border-radius:24px!important;padding:8px 6px calc(8px + env(safe-area-inset-bottom))!important;box-shadow:0 20px 45px rgba(15,23,42,.12)!important;backdrop-filter:blur(14px)!important;
  }
  .foodmart-mobile-nav .foodmart-nav-link{min-width:0!important;min-height:58px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;padding:0 4px!important;color:#6c756f!important;border-radius:18px!important;text-decoration:none!important}
  .foodmart-mobile-nav .foodmart-nav-link .nav-icon{width:21px!important;height:21px!important}
  .foodmart-mobile-nav .foodmart-nav-link span{font-size:10px!important;line-height:1.1!important;font-weight:900!important;white-space:nowrap!important}
  .foodmart-mobile-nav .foodmart-nav-link.is-active:not(.foodmart-cart-tab){background:#f1f8f0!important;color:var(--mk14-green-dark)!important}
  .foodmart-mobile-nav .foodmart-cart-tab{
    min-height:58px!important;margin-top:0!important;padding:0 4px!important;border-radius:18px!important;
    background:#f5fff6!important;color:var(--mk14-green-dark)!important;border:1px solid #d9efd8!important;box-shadow:none!important;
  }
  .foodmart-mobile-nav .foodmart-cart-tab span{color:var(--mk14-green-dark)!important}
  .foodmart-mobile-nav .foodmart-cart-tab .nav-icon{color:var(--mk14-green-dark)!important;width:22px!important;height:22px!important}
  .foodmart-mobile-nav .foodmart-cart-tab em{top:4px!important;right:16%!important;min-width:18px!important;height:18px!important;padding:0 5px!important;background:#ff4d4f!important;border:2px solid #fff!important;font-size:10px!important;line-height:1!important;box-shadow:none!important}
  .mobile-cart-summary{display:none!important}
}
