/* V21 - MarketIste inspired clean marketplace layout, adapted for Market Kapımda */
:root{
  --mi-green:#1fad4a;
  --mi-green-dark:#11833a;
  --mi-ink:#22272b;
  --mi-muted:#8a9196;
  --mi-line:#ecefec;
  --mi-soft:#fafbfa;
  --mi-yellow:#ffc72c;
  --mi-shell:1320px;
}

html,body,body.mk15-theme,body.mk15-theme *{
  font-family:"Inter","Outfit","Segoe UI",Arial,sans-serif!important;
}
body.mk15-theme{
  background:#fff!important;
  color:var(--mi-ink)!important;
}
body.mk15-theme h1,body.mk15-theme h2,body.mk15-theme h3,body.mk15-theme h4,body.mk15-theme h5,body.mk15-theme h6{
  font-family:"Outfit","Inter","Segoe UI",Arial,sans-serif!important;
  letter-spacing:0!important;
}

/* unified width */
.mk15-theme .foodmart-header>.container-fluid,
.mk15-theme .foodmart-menu-wrap>.row,
.mk15-theme .gf-shell,
.mk15-theme .managed-product-section>.container-fluid,
.mk15-theme .category-shop-layout>.container-fluid,
.mk15-theme .market-category-home>.container-fluid{
  max-width:var(--mi-shell)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* simplify homepage: use clean classic marketplace flow */
.mk15-theme .mk15-home,
.mk15-theme .mk13-desktop-home,
.mk15-theme .v10-deal-strip,
.mk15-theme .foodmart-announcement,
.mk15-theme .managed-top-blocks,
.mk15-theme .managed-banner-section,
.mk15-theme .managed-service-section{
  display:none!important;
}
.mk15-theme .gf-home{display:block!important;padding:28px 18px 6px!important;background:#fff!important}
.mk15-theme .gf-welcome{display:none!important}
.mk15-theme .gf-mobile-search{display:none!important}

/* header like marketplace script */
.mk15-theme .foodmart-header{
  position:relative!important;
  background:#fff!important;
  box-shadow:none!important;
  border-bottom:1px solid #efefef!important;
}
.mk15-theme .foodmart-header .row.py-3{padding-top:18px!important;padding-bottom:18px!important}
.mk15-theme .foodmart-logo img{max-height:56px!important}
.mk15-theme .search-bar{
  background:#fff!important;
  border:1px solid #dedede!important;
  border-radius:4px!important;
  box-shadow:none!important;
  overflow:hidden!important;
  padding:0!important;
}
.mk15-theme .search-bar .form-select{
  min-height:50px!important;
  border:0!important;
  border-right:1px solid #e7e7e7!important;
  border-radius:0!important;
  background:#fff!important;
  font-size:13px!important;
  font-weight:600!important;
}
.mk15-theme .search-bar input{
  min-height:50px!important;
  border:0!important;
  border-radius:0!important;
  font-size:14px!important;
  font-weight:500!important;
  padding:0 18px!important;
}
.mk15-theme .search-bar button{
  min-height:50px!important;
  border-radius:0!important;
  background:var(--mi-green)!important;
  color:#fff!important;
  box-shadow:none!important;
}
.mk15-theme .foodmart-icons a,.mk15-theme .foodmart-icons button{
  width:44px!important;height:44px!important;
  border-radius:50%!important;
  background:#fff!important;
  border:1px solid #e6e6e6!important;
  box-shadow:none!important;
}
.mk15-theme .foodmart-menu-wrap{
  background:#fff!important;
  border-top:1px solid #f1f1f1!important;
  border-bottom:1px solid #f1f1f1!important;
}
.mk15-theme .foodmart-menu-wrap .row{padding-top:0!important;padding-bottom:0!important}
.mk15-theme .main-menu{gap:0!important}
.mk15-theme .main-menu .nav-link{
  border-radius:0!important;
  padding:16px 18px!important;
  background:transparent!important;
  color:#333!important;
  font-size:13px!important;
  font-weight:700!important;
  text-transform:uppercase!important;
  letter-spacing:.025em!important;
  position:relative!important;
}
.mk15-theme .main-menu .nav-link.active,
.mk15-theme .main-menu .nav-link:hover{color:var(--mi-green-dark)!important;background:transparent!important}
.mk15-theme .main-menu .nav-link.active::after,
.mk15-theme .main-menu .nav-link:hover::after{
  content:"";position:absolute;left:16px;right:16px;bottom:0;height:2px;background:var(--mi-green)!important;
}

/* hero becomes clean large slider-like banner */
.mk15-theme .gf-promo{
  display:grid!important;
  grid-template-columns:1.08fr .92fr!important;
  min-height:370px!important;
  align-items:center!important;
  margin:0 0 34px!important;
  padding:42px 52px!important;
  border:0!important;
  border-radius:0!important;
  background:linear-gradient(105deg,#f4f9f2 0%,#f6fbf4 58%,#fff8df 100%)!important;
  box-shadow:none!important;
  overflow:hidden!important;
  position:relative!important;
}
.mk15-theme .gf-promo::after{
  content:"";position:absolute;right:-90px;bottom:-130px;width:360px;height:360px;border-radius:50%;background:rgba(31,173,74,.07);
}
.mk15-theme .gf-promo-copy{position:relative;z-index:2!important}
.mk15-theme .gf-promo-kicker{
  display:inline-block!important;
  background:transparent!important;
  border:0!important;
  padding:0!important;
  font-size:12px!important;
  font-weight:800!important;
  color:var(--mi-green-dark)!important;
  text-transform:uppercase!important;
  letter-spacing:.16em!important;
}
.mk15-theme .gf-promo-copy h2{
  margin:14px 0 14px!important;
  max-width:610px!important;
  font-size:48px!important;
  line-height:1.03!important;
  font-weight:800!important;
  color:#232323!important;
}
.mk15-theme .gf-promo-copy p{
  max-width:560px!important;
  margin:0 0 24px!important;
  font-size:16px!important;
  line-height:1.65!important;
  color:#777!important;
}
.mk15-theme .gf-promo-btn{
  display:inline-flex!important;align-items:center!important;
  padding:13px 20px!important;
  border-radius:3px!important;
  background:var(--mi-green)!important;
  color:#fff!important;
  text-decoration:none!important;
  box-shadow:none!important;
  font-size:14px!important;
  font-weight:700!important;
}
.mk15-theme .gf-promo-media{display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;z-index:2!important}
.mk15-theme .gf-promo-media img{max-width:76%!important;max-height:285px!important;object-fit:contain!important;filter:drop-shadow(0 18px 24px rgba(0,0,0,.12))!important}
.mk15-theme .gf-speed-badge{
  top:20px!important;right:20px!important;
  background:#fff!important;border:1px solid #e6e6e6!important;border-radius:3px!important;
  color:var(--mi-green-dark)!important;font-size:11px!important;font-weight:800!important;padding:8px 10px!important;
}

/* categories: same product-tile feeling as uploaded script */
.mk15-theme .gf-category-head{
  display:block!important;
  text-align:center!important;
  margin:0 0 25px!important;
}
.mk15-theme .gf-category-head h2{
  margin:0!important;
  font-size:22px!important;
  font-weight:700!important;
  text-transform:uppercase!important;
  color:#292929!important;
}
.mk15-theme .gf-category-head h2::after{
  content:"Kategorilere göre alışveriş yap";
  display:block;
  margin-top:7px;
  color:#969696;
  font-size:13px;
  font-family:"Inter",sans-serif!important;
  font-weight:400;
  text-transform:none;
}
.mk15-theme .gf-category-head a{display:none!important}
.mk15-theme .gf-categories{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:20px!important;
  margin:0 0 36px!important;
  padding:0!important;
}
.mk15-theme .gf-cat{
  min-height:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  display:block!important;
  text-align:center!important;
  overflow:hidden!important;
  text-decoration:none!important;
}
.mk15-theme .gf-cat::before{
  content:"";
  display:block;
  position:absolute;
  inset:0;
  pointer-events:none;
}
.mk15-theme .gf-cat img{
  display:block!important;
  width:100%!important;
  height:150px!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  margin:0!important;
  padding:28px!important;
  background:#fafafa!important;
  border:1px solid #f0f0f0!important;
  transition:transform .2s ease!important;
}
.mk15-theme .gf-cat:hover img{transform:scale(1.04)!important}
.mk15-theme .gf-cat span{
  display:block!important;
  min-height:48px!important;
  padding:12px 6px 0!important;
  font-size:14px!important;
  line-height:1.3!important;
  font-weight:600!important;
  color:#333!important;
}

/* Benefits are slim, not card-heavy */
.mk15-theme .gf-benefits{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
  margin:0 0 30px!important;
  border-top:1px solid #eee!important;
  border-bottom:1px solid #eee!important;
}
.mk15-theme .gf-benefit{
  min-height:88px!important;
  padding:20px 22px!important;
  border:0!important;
  border-right:1px solid #eee!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
}
.mk15-theme .gf-benefit:last-child{border-right:0!important}
.mk15-theme .gf-benefit>span{background:transparent!important;width:36px!important;height:36px!important;font-size:20px!important}
.mk15-theme .gf-benefit strong{font-size:14px!important;color:#333!important}
.mk15-theme .gf-benefit small{font-size:11px!important;color:#999!important}

/* section headings like MarketIste */
.mk15-theme .managed-section-head,
.mk15-theme .products-header-card{
  display:block!important;
  text-align:center!important;
  margin:0 auto 28px!important;
}
.mk15-theme .managed-section-head>div{justify-content:center!important}
.mk15-theme .managed-section-head>div>span{display:none!important}
.mk15-theme .managed-section-head h2,
.mk15-theme .products-header-card h2{
  margin:0 0 6px!important;
  font-size:22px!important;
  line-height:1.2!important;
  font-weight:700!important;
  text-transform:uppercase!important;
  color:#292929!important;
}
.mk15-theme .managed-section-head p,
.mk15-theme .products-header-card p{
  margin:0!important;
  font-size:13px!important;
  color:#969696!important;
}
.mk15-theme .managed-section-head>a{display:none!important}

/* product grid: script-like 6 columns desktop */
.mk15-theme .managed-product-section{padding:32px 18px!important;background:#fff!important}
.mk15-theme .managed-product-grid,
.mk15-theme .product-list-grid{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:22px 18px!important;
  max-width:var(--mi-shell)!important;
  margin:0 auto!important;
}
.mk15-theme .managed-product-grid>*,
.mk15-theme .product-list-grid>*{width:auto!important;max-width:none!important;padding:0!important}

/* product cards - clean, white, visual first */
.mk15-theme .foodmart-product-card,
.mk15-theme .product-item.foodmart-product-card{
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.mk15-theme .foodmart-product-card:hover,
.mk15-theme .product-item.foodmart-product-card:hover{
  transform:none!important;
  box-shadow:none!important;
}
.mk15-theme .foodmart-product-card figure,
.mk15-theme .product-item.foodmart-product-card figure{
  height:220px!important;
  min-height:220px!important;
  margin:0 0 10px!important;
  padding:16px!important;
  border:0!important;
  border-radius:0!important;
  background:#fafafa!important;
  overflow:hidden!important;
}
.mk15-theme .foodmart-product-card figure img,
.mk15-theme .product-item.foodmart-product-card figure img{
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  transition:transform .25s ease!important;
}
.mk15-theme .foodmart-product-card:hover figure img{transform:scale(1.035)!important}
.mk15-theme .product-content{padding:0!important;flex:1 1 auto!important}
.mk15-theme .foodmart-product-card h3,
.mk15-theme .product-item.foodmart-product-card h3{
  min-height:43px!important;
  margin:0 0 4px!important;
  font-size:14px!important;
  line-height:1.45!important;
  font-weight:600!important;
  color:#333!important;
}
.mk15-theme .foodmart-product-card h3 a{color:#333!important}
.mk15-theme .product-subline{margin:0 0 5px!important;gap:4px!important}
.mk15-theme .product-subline,.mk15-theme .product-category,.mk15-theme .product-unit,.mk15-theme .product-subline-dot{
  font-size:11px!important;
  color:#909090!important;
  font-weight:500!important;
}
.mk15-theme .price{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  margin:2px 0 10px!important;
}
.mk15-theme .current-price{font-size:17px!important;font-weight:700!important;color:#222!important;letter-spacing:0!important}
.mk15-theme .old-price{font-size:11px!important;color:#999!important;font-weight:500!important}
.mk15-theme .foodmart-add-form{
  margin-top:auto!important;
  padding-top:10px!important;
  border-top:1px solid #f0f0f0!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:0!important;
}
.mk15-theme .foodmart-add-form .input-number,.mk15-theme .foodmart-card-qty-control{display:none!important}
.mk15-theme .foodmart-add-btn,
.mk15-theme .foodmart-product-card button[type="submit"],
.mk15-theme .product-item.foodmart-product-card button[type="submit"]{
  width:100%!important;
  min-height:40px!important;
  padding:0 10px!important;
  border:1px solid var(--mi-green)!important;
  border-radius:3px!important;
  background:#fff!important;
  color:var(--mi-green-dark)!important;
  font-size:12px!important;
  font-weight:700!important;
  box-shadow:none!important;
}
.mk15-theme .foodmart-add-btn:hover{
  background:var(--mi-green)!important;
  color:#fff!important;
}
.mk15-theme .foodmart-add-label{font-size:12px!important;color:inherit!important}
.mk15-theme .foodmart-add-plus{display:none!important}

/* Wishlist appears like MarketIste on hover */
.mk15-theme .v10-card-actions{
  top:10px!important;right:10px!important;
  display:flex!important;flex-direction:column!important;gap:7px!important;
  opacity:0!important;transform:translateX(6px)!important;transition:.2s ease!important;
}
.mk15-theme .foodmart-product-card:hover .v10-card-actions{opacity:1!important;transform:translateX(0)!important}
.mk15-theme .v10-card-actions button{
  width:40px!important;height:40px!important;border-radius:50%!important;
  background:rgba(255,255,255,.86)!important;
  border:0!important;
  box-shadow:0 5px 14px rgba(0,0,0,.09)!important;
  color:#444!important;
}
.mk15-theme .product-badge{
  top:10px!important;left:10px!important;
  min-height:26px!important;
  padding:0 8px!important;
  border-radius:2px!important;
  border:0!important;
  box-shadow:none!important;
  font-size:9px!important;
  font-weight:700!important;
}

/* catalog */
.mk15-theme .market-category-home{display:none!important}
.mk15-theme .category-shop-layout{padding:28px 18px 52px!important;background:#fff!important}
.mk15-theme .category-chip-shell{border-radius:0!important;border:1px solid #eee!important;background:#fff!important;box-shadow:none!important}
.mk15-theme .category-chip{border-radius:2px!important;font-size:12px!important;font-weight:600!important}

/* footer */
.mk15-theme .foodmart-footer{background:#fafafa!important;border-top:1px solid #eee!important}

/* responsive */
@media(max-width:1199.98px){
  .mk15-theme .managed-product-grid,.mk15-theme .product-list-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .mk15-theme .gf-categories{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}

@media(max-width:991.98px){
  body.mk15-theme{padding-bottom:92px!important;background:#fff!important}
  .mk15-theme .foodmart-header{position:sticky!important;top:0!important;z-index:1020!important;border-radius:0!important}
  .mk15-theme .foodmart-header .container-fluid{padding:0 12px!important}
  .mk15-theme .foodmart-header .row.py-3{padding:10px 0!important}
  .mk15-theme .foodmart-logo img{max-height:38px!important}
  .mk15-theme .foodmart-menu-wrap{display:none!important}
  .mk15-theme .gf-home{padding:12px 12px 0!important}
  .mk15-theme .gf-welcome{display:none!important}
  .mk15-theme .gf-mobile-search{
    display:grid!important;
    grid-template-columns:1fr auto!important;
    gap:0!important;
    margin:0 0 14px!important;
    padding:0!important;
    border:1px solid #ddd!important;
    border-radius:3px!important;
    background:#fff!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }
  .mk15-theme .gf-mobile-search input{min-height:44px!important;border:0!important;padding:0 12px!important;font-size:13px!important;font-weight:500!important;outline:0!important}
  .mk15-theme .gf-mobile-search button{min-width:66px!important;height:44px!important;border:0!important;border-radius:0!important;background:var(--mi-green)!important;color:#fff!important;font-size:12px!important;font-weight:700!important}
  .mk15-theme .gf-promo{min-height:205px!important;margin-bottom:24px!important;padding:20px 18px!important;border-radius:0!important;grid-template-columns:1.15fr .85fr!important}
  .mk15-theme .gf-promo-copy h2{font-size:24px!important;line-height:1.05!important;margin:9px 0 7px!important}
  .mk15-theme .gf-promo-copy p{font-size:10px!important;line-height:1.45!important;margin-bottom:13px!important}
  .mk15-theme .gf-promo-kicker{font-size:8px!important}
  .mk15-theme .gf-promo-btn{padding:9px 11px!important;font-size:10px!important}
  .mk15-theme .gf-promo-media img{max-height:125px!important;max-width:92%!important}
  .mk15-theme .gf-speed-badge{top:8px!important;right:8px!important;font-size:8px!important;padding:5px 6px!important}
  .mk15-theme .gf-category-head{margin-bottom:16px!important}
  .mk15-theme .gf-category-head h2{font-size:17px!important}
  .mk15-theme .gf-category-head h2::after{font-size:10px!important;margin-top:4px!important}
  /* like uploaded script: 3 categories per row */
  .mk15-theme .gf-categories{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin-bottom:24px!important}
  .mk15-theme .gf-cat img{height:102px!important;padding:18px!important}
  .mk15-theme .gf-cat span{font-size:11px!important;min-height:38px!important;padding-top:8px!important}
  .mk15-theme .gf-benefits{grid-template-columns:repeat(2,minmax(0,1fr))!important;margin-bottom:24px!important}
  .mk15-theme .gf-benefit{min-height:68px!important;padding:12px!important;border-bottom:1px solid #eee!important}
  .mk15-theme .gf-benefit strong{font-size:11px!important}.mk15-theme .gf-benefit small{font-size:9px!important}

  .mk15-theme .managed-product-section{padding:24px 10px!important}
  .mk15-theme .managed-section-head,.mk15-theme .products-header-card{margin-bottom:18px!important}
  .mk15-theme .managed-section-head h2,.mk15-theme .products-header-card h2{font-size:18px!important}
  .mk15-theme .managed-section-head p,.mk15-theme .products-header-card p{font-size:10px!important}
  /* user's existing request preserved: 3 products per row on mobile */
  .mk15-theme .managed-product-grid,.mk15-theme .product-list-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px 8px!important}
  .mk15-theme .foodmart-product-card figure,.mk15-theme .product-item.foodmart-product-card figure{height:104px!important;min-height:104px!important;padding:6px!important;margin-bottom:7px!important}
  .mk15-theme .foodmart-product-card h3,.mk15-theme .product-item.foodmart-product-card h3{min-height:31px!important;font-size:11px!important;line-height:1.25!important;margin-bottom:3px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
  .mk15-theme .product-subline,.mk15-theme .product-category,.mk15-theme .product-unit,.mk15-theme .product-subline-dot{font-size:8px!important}
  .mk15-theme .current-price{font-size:14px!important}.mk15-theme .old-price{font-size:8px!important}
  .mk15-theme .foodmart-add-form{padding-top:7px!important}
  .mk15-theme .foodmart-add-btn,.mk15-theme .foodmart-product-card button[type="submit"],.mk15-theme .product-item.foodmart-product-card button[type="submit"]{min-height:32px!important;font-size:9px!important;padding:0 4px!important}
  .mk15-theme .foodmart-add-label{font-size:9px!important}
  .mk15-theme .v10-card-actions{display:none!important}
  .mk15-theme .product-badge{top:5px!important;left:5px!important;min-height:19px!important;padding:0 5px!important;font-size:7px!important}
  .mk15-theme .foodmart-footer{display:none!important}

  .mk15-theme .foodmart-mobile-nav{
    left:8px!important;right:8px!important;bottom:8px!important;
    border-radius:12px!important;
    border:1px solid #e5e5e5!important;
    background:#fff!important;
    box-shadow:0 10px 28px rgba(0,0,0,.10)!important;
    padding:5px!important;
  }
  .mk15-theme .foodmart-mobile-nav .foodmart-nav-link{min-height:50px!important;border-radius:8px!important;color:#777!important}
  .mk15-theme .foodmart-mobile-nav .foodmart-nav-link.is-active{background:#f0f8ef!important;color:var(--mi-green-dark)!important;box-shadow:none!important}
  .mk15-theme .foodmart-mobile-nav .foodmart-nav-link span{font-size:8px!important;font-weight:600!important}
}

@media(max-width:420px){
  .mk15-theme .managed-product-grid,.mk15-theme .product-list-grid{gap:10px 6px!important}
  .mk15-theme .foodmart-product-card figure,.mk15-theme .product-item.foodmart-product-card figure{height:96px!important;min-height:96px!important}
}
