/* Market Kapimda Ogani V3 — branded refinement layer */
:root{
  --mk-green:#2f7d32;
  --mk-green-2:#4d9a3a;
  --mk-lime:#7fb239;
  --mk-yellow:#ffc928;
  --mk-ink:#172017;
  --mk-muted:#6f786f;
  --mk-line:#e8eee5;
  --mk-soft:#f6f9f4;
  --mk-shadow:0 16px 42px rgba(28,64,31,.08);
}
body.foodmart-body{background:#fff;color:var(--mk-ink)}

/* Header: cleaner, more app-like */
.foodmart-header{position:relative;z-index:50;background:rgba(255,255,255,.98)!important}
.foodmart-header>.container-fluid:first-child{max-width:1240px!important;padding-left:24px;padding-right:24px}
.foodmart-header .row.py-3.border-bottom{min-height:92px!important;border-bottom:1px solid #eef2ec!important}
.foodmart-logo img{max-height:62px!important}
.search-bar{height:52px!important;border:1px solid #dde6d9!important;border-radius:16px!important;background:#f8faf7!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.search-bar select{font-weight:800;color:#344034!important;padding-left:18px!important}
.search-bar input{font-weight:700!important;color:#263126!important}
.search-bar button{background:linear-gradient(135deg,var(--mk-green-2),var(--mk-green))!important;border-radius:0 14px 14px 0!important}
.foodmart-icons{gap:5px}
.foodmart-icons a,.foodmart-icons button{width:48px!important;height:48px!important;display:grid!important;place-items:center!important;padding:0!important;border:1px solid #e5ebe2!important;background:#fff!important;box-shadow:0 7px 18px rgba(32,61,34,.06)!important}
.foodmart-icons a:hover,.foodmart-icons button:hover{background:var(--mk-green)!important;border-color:var(--mk-green)!important;transform:translateY(-1px)}
.cart-bubble{background:#e84d43!important;color:#fff!important;border:2px solid #fff!important}

.foodmart-menu-wrap{border:0!important;border-bottom:1px solid #edf1ea!important;box-shadow:0 6px 20px rgba(25,54,27,.035)!important}
.foodmart-menu-wrap>.row{max-width:1240px!important;padding-left:24px!important;padding-right:24px!important}
.foodmart-menu-wrap .main-menu{min-height:58px!important;width:100%}
.foodmart-menu-wrap .navbar-nav{width:100%;justify-content:center;gap:2px!important}
.foodmart-menu-wrap .navbar-nav .nav-link{padding:18px 18px!important;font-size:13px!important;letter-spacing:.55px!important;border-radius:12px!important}
.foodmart-menu-wrap .navbar-nav .nav-link.active{background:#f1f7ec!important;color:var(--mk-green)!important}
.foodmart-menu-wrap .navbar-nav .nav-link:hover{background:#f7faf5!important;color:var(--mk-green)!important}
@media(min-width:992px){.foodmart-menu-wrap .filter-categories{display:none!important}}

.foodmart-announcement{max-width:1240px!important;margin-top:14px!important;border-radius:14px!important;background:linear-gradient(90deg,var(--mk-green),#69a932)!important;box-shadow:0 9px 22px rgba(47,125,50,.14)!important;font-size:14px!important}

/* Hero: green/yellow Market Kapimda identity */
.mk-ogani-hero{padding:26px 0 24px!important}
.mk-ogani-hero .mk-wrap{max-width:1240px!important;padding:0 24px!important;grid-template-columns:238px 1fr!important;gap:20px!important}
.mk-ogani-cats{border:1px solid var(--mk-line)!important;border-radius:18px!important;overflow:hidden!important;box-shadow:0 10px 30px rgba(29,65,31,.055)!important}
.mk-ogani-cats h3{background:linear-gradient(135deg,var(--mk-green),#4c9538)!important;padding:16px 18px!important;font-size:15px!important;letter-spacing:.2px}
.mk-ogani-cats a{padding:11px 18px!important;border-bottom:1px solid #eff3ed!important;font-weight:700!important;color:#3b453b!important;transition:.18s ease}
.mk-ogani-cats a:last-child{border-bottom:0!important}
.mk-ogani-cats a:hover{background:#f5f9f2!important;color:var(--mk-green)!important;padding-left:22px!important}
.mk-ogani-hero-card{min-height:378px!important;border-radius:22px!important;padding:50px 54px!important;background:
 radial-gradient(circle at 89% 20%,rgba(255,201,40,.36),transparent 27%),
 linear-gradient(125deg,#f2f7ed 0%,#fbfcf9 58%,#fff8d9 100%)!important;
 border:1px solid #e7eee3!important;box-shadow:var(--mk-shadow)!important}
.mk-ogani-hero-card:before{content:'';position:absolute;right:-68px;bottom:-92px;width:290px;height:290px;border-radius:50%;background:rgba(127,178,57,.10)}
.mk-ogani-hero-card:after{content:'15 DK';position:absolute;right:32px;top:28px;background:var(--mk-yellow);color:#263126;border-radius:999px;padding:9px 13px;font-weight:950;font-size:12px;letter-spacing:.8px;box-shadow:0 8px 18px rgba(207,158,0,.18)}
.mk-ogani-eyebrow{color:var(--mk-green)!important;font-size:13px!important;letter-spacing:2.4px!important}
.mk-ogani-hero-copy h1{font-size:46px!important;line-height:1.04!important;color:#182018!important;letter-spacing:-2px!important;max-width:560px}
.mk-ogani-hero-copy p{color:#667066!important;font-size:16px!important;max-width:500px}
.mk-ogani-btn{border-radius:12px!important;background:var(--mk-green)!important;padding:14px 25px!important;box-shadow:0 10px 20px rgba(47,125,50,.18)!important}
.mk-ogani-btn:hover{background:#236726!important;transform:translateY(-1px)}
.mk-ogani-hero-card img{width:39%!important;height:300px!important;filter:drop-shadow(0 24px 24px rgba(40,55,35,.16));mix-blend-mode:normal!important;transform:rotate(-2deg)}

/* Managed blocks */
.managed-top-blocks .container-fluid,.managed-banner-section .container-fluid,.managed-service-section .container-fluid,.managed-product-section .container-fluid,.market-category-home .container-fluid,.category-shop-layout .container-fluid,.product-detail-page .container-fluid{max-width:1240px!important;padding-left:24px!important;padding-right:24px!important}
.managed-top-grid article,.managed-service-grid article{border-radius:16px!important;border:1px solid var(--mk-line)!important;background:#fff!important;box-shadow:0 8px 24px rgba(32,64,33,.045)!important}
.managed-section-head{align-items:end!important;margin-bottom:18px!important}
.managed-section-head>div>span{background:#f0f7ea!important;border-radius:12px!important}
.managed-section-head h2{font-size:30px!important;color:#1d251d!important}
.managed-section-head h2:after{height:3px!important;width:52px!important;background:linear-gradient(90deg,var(--mk-green),var(--mk-yellow))!important;border-radius:99px}
.managed-section-head p{color:#7a837a!important}
.managed-section-head>a{color:var(--mk-green)!important;font-weight:900!important}

/* Product cards: softer, premium and clearer */
.product-list-grid,.managed-product-grid{row-gap:22px!important}
.product-item.foodmart-product-card,.foodmart-product-card{border:1px solid #e9eee7!important;border-radius:18px!important;box-shadow:0 9px 28px rgba(31,61,32,.05)!important;padding:14px!important;background:#fff!important}
.product-item.foodmart-product-card:hover,.foodmart-product-card:hover{transform:translateY(-4px)!important;box-shadow:0 17px 38px rgba(31,61,32,.11)!important;border-color:#d9e5d4!important}
.product-item.foodmart-product-card figure,.foodmart-product-card figure{border-radius:14px!important;background:linear-gradient(145deg,#fafcf9,#f3f7f0)!important;min-height:160px!important}
.foodmart-product-card .product-badge{top:10px!important;left:10px!important;min-height:28px!important;padding:0 11px!important;border:0!important;border-radius:9px!important;background:var(--mk-green)!important;box-shadow:0 6px 14px rgba(47,125,50,.18)!important;font-size:11px!important}
.foodmart-product-card h3{font-size:15px!important;line-height:1.35!important;min-height:41px!important;color:#2b332b!important}
.foodmart-product-card .price{font-size:21px!important;color:#182018!important}
.foodmart-add-btn,.foodmart-product-card button,.foodmart-product-card .btn-primary,.foodmart-product-card .add-to-cart{border-radius:11px!important;background:var(--mk-yellow)!important;border-color:var(--mk-yellow)!important;color:#263126!important;font-weight:950!important}
.foodmart-add-btn:not(:disabled):hover,.foodmart-product-card button:hover{background:#f2bb00!important;border-color:#f2bb00!important;color:#172017!important}
.product-badge{background:var(--mk-green)!important}

/* Category/catalog area: less duplication and visual noise */
.market-category-home{padding-top:18px!important;padding-bottom:22px!important}
.category-topbar{display:none!important}
.category-search-panel{border:1px solid var(--mk-line)!important;border-radius:16px!important;background:#f8faf7!important;overflow:hidden!important;box-shadow:none!important}
.category-search-panel input,.category-search-panel select{background:transparent!important}
.category-search-panel button{border-radius:12px!important;margin:5px!important;min-height:44px!important;background:var(--mk-green)!important}
.products-header-card{border:0!important;border-radius:0!important;padding:8px 0 14px!important;margin-bottom:12px!important}
.products-header-card h2{font-size:30px!important}
.products-header-card h2:after{height:3px!important;width:52px!important;background:linear-gradient(90deg,var(--mk-green),var(--mk-yellow))!important}
.category-chip-shell{border:0!important;background:#fff!important;padding:4px 0!important}
.category-chip-label{color:#647064!important}
.category-chip{border:1px solid #e4ebe1!important;border-radius:999px!important;background:#fff!important;color:#455045!important;font-weight:800!important}
.category-chip.active,.category-chip:hover{background:#edf6e7!important;color:var(--mk-green)!important;border-color:#bed8af!important}
.catalog-load-more-btn{border-radius:14px!important;border:1px solid #cdddc5!important;color:var(--mk-green)!important;font-weight:900!important}
.catalog-load-more-btn:hover{background:var(--mk-green)!important;border-color:var(--mk-green)!important}

/* Inner pages carry the same visual language */
.product-detail-page .card,.cart-table-card,.cart-progress-card,.cart-summary{border-radius:18px!important;border:1px solid var(--mk-line)!important;box-shadow:0 10px 30px rgba(30,62,31,.05)!important}
.product-detail-add-btn,.cart-summary .primary,.btn.primary{border-radius:12px!important;background:var(--mk-green)!important;border-color:var(--mk-green)!important}
.foodmart-footer{background:#f4f8f1!important;border-top:1px solid #e4ece0!important}
.foodmart-footer>.container-fluid{max-width:1240px!important}
.footer-delivery-box{border-radius:16px!important}

@media(max-width:991px){
 .foodmart-header>.container-fluid:first-child{padding-left:12px;padding-right:12px}
 .foodmart-header .row.py-3.border-bottom{min-height:70px!important}
 .foodmart-logo img{max-height:48px!important}
 .foodmart-menu-wrap{box-shadow:none!important}
 .foodmart-menu-wrap>.row{padding:8px 12px!important}
 .foodmart-menu-wrap .navbar-nav{justify-content:flex-start}
 .foodmart-menu-wrap .navbar-nav .nav-link{font-size:16px!important;letter-spacing:0!important;border-radius:10px!important}
 .mobile-search-foodmart{border-radius:14px!important;overflow:hidden!important;border:1px solid #e5ebe2!important;background:#f8faf7!important}
 .mobile-search-foodmart button{background:var(--mk-yellow)!important;color:#263126!important;font-weight:950!important}
 .mk-ogani-hero .mk-wrap{padding:0 12px!important}
 .mk-ogani-hero-card{min-height:275px!important;padding:28px 24px!important;border-radius:18px!important}
 .mk-ogani-hero-card:after{top:14px;right:14px;font-size:10px;padding:7px 10px}
 .mk-ogani-hero-copy h1{font-size:31px!important;letter-spacing:-1.1px!important}
 .mk-ogani-hero-card img{height:190px!important;width:38%!important}
 .managed-top-blocks .container-fluid,.managed-banner-section .container-fluid,.managed-service-section .container-fluid,.managed-product-section .container-fluid,.market-category-home .container-fluid,.category-shop-layout .container-fluid,.product-detail-page .container-fluid{padding-left:12px!important;padding-right:12px!important}
}
@media(max-width:575px){
 .foodmart-icons a,.foodmart-icons button{width:40px!important;height:40px!important}
 .mk-ogani-hero{padding-top:12px!important}
 .mk-ogani-hero-card{min-height:238px!important;padding:24px 18px!important;background:linear-gradient(130deg,#f3f8ef,#fff9df)!important}
 .mk-ogani-hero-copy{max-width:67%!important}
 .mk-ogani-hero-copy h1{font-size:25px!important;letter-spacing:-.7px!important}
 .mk-ogani-hero-copy p{font-size:13px!important}
 .mk-ogani-hero-card img{width:32%!important;height:145px!important}
 .mk-ogani-btn{font-size:11px!important;padding:11px 15px!important}
 .managed-section-head h2,.products-header-card h2{font-size:24px!important}
 .product-item.foodmart-product-card,.foodmart-product-card{border-radius:15px!important;padding:11px!important}
 .product-item.foodmart-product-card figure,.foodmart-product-card figure{min-height:118px!important;border-radius:12px!important}
 .foodmart-add-btn{background:var(--mk-yellow)!important;color:#1d251d!important}
 .foodmart-mobile-nav{border:1px solid #e3eae0!important;box-shadow:0 16px 40px rgba(25,52,26,.16)!important}
 .foodmart-mobile-nav a:hover{background:#f2f7ee!important}
 .foodmart-mobile-nav a em{background:#e84d43!important;color:#fff!important}
}

/* V3.1 finishing pass */
.mk-ogani-hero{padding-top:18px!important}
.mk-ogani-cats a{display:flex!important;align-items:center!important;gap:10px!important}
.mk-ogani-cats a img{width:22px!important;height:22px!important;object-fit:contain!important;opacity:.88}
.mk-ogani-cats a span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mk-ogani-hero-card:after{content:'15 DK  HIZLI';padding:9px 14px!important}

/* Wider cards + no clipped cart CTA */
.managed-product-grid .foodmart-product-card{min-width:0!important}
.foodmart-product-card .foodmart-add-form{display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;gap:9px!important;align-items:center!important;width:100%!important;min-width:0!important}
.foodmart-product-card .foodmart-add-form .input-number{width:100%!important;min-width:0!important;padding-left:10px!important;padding-right:8px!important}
.foodmart-product-card .foodmart-add-btn{width:100%!important;min-width:0!important;max-width:100%!important;padding:0 10px!important;overflow:hidden!important}
.foodmart-product-card .foodmart-add-label{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.foodmart-product-card .foodmart-add-plus{display:none!important}
.foodmart-product-card .price{display:flex!important;align-items:baseline!important;gap:8px!important;flex-wrap:wrap!important}
.foodmart-product-card .current-price{font-size:22px!important;font-weight:950!important;color:#132014!important;letter-spacing:-.35px!important}
.foodmart-product-card .old-price{font-size:13px!important;font-weight:800!important;color:#9aa39a!important;text-decoration-thickness:1.5px!important}

/* More breathing room for product names */
.managed-product-grid .foodmart-product-card h3{font-size:16px!important;min-height:44px!important}
.managed-product-grid .foodmart-product-card figure{min-height:185px!important}

@media(min-width:1200px){
 .managed-product-grid{--bs-gutter-x:1.35rem!important}
}
@media(max-width:1199px){
 .foodmart-product-card .foodmart-add-form{grid-template-columns:58px minmax(0,1fr)!important}
 .foodmart-product-card .foodmart-add-btn{font-size:14px!important;padding:0 8px!important}
}
@media(max-width:575px){
 .mk-ogani-cats a img{width:19px!important;height:19px!important}
 .foodmart-product-card .foodmart-add-form{grid-template-columns:54px minmax(0,1fr)!important;gap:6px!important}
 .foodmart-product-card .foodmart-add-btn{font-size:13px!important;padding:0 7px!important}
 .managed-product-grid .foodmart-product-card figure{min-height:120px!important}
 .managed-product-grid .foodmart-product-card h3{font-size:14px!important;min-height:38px!important}
 .foodmart-product-card .current-price{font-size:18px!important}
}
