:root{
  --v19-font-main:"Outfit","Plus Jakarta Sans","Inter","Segoe UI",Arial,sans-serif;
  --v19-font-head:"Outfit","Manrope","Plus Jakarta Sans","Inter","Segoe UI",Arial,sans-serif;
  --v19-green:#20b14b;
  --v19-green-deep:#14903a;
  --v19-green-dark:#0f6e2c;
  --v19-yellow:#ffcb2f;
  --v19-ink:#17212b;
  --v19-muted:#657180;
  --v19-card:#ffffff;
  --v19-border:#dfe9de;
  --v19-shadow:0 16px 34px rgba(22,42,25,.10);
}

html,body,
button,input,select,textarea,
.mk15-theme,
.foodmart-body,
.foodmart-body *{
  font-family:var(--v19-font-main)!important;
}

h1,h2,h3,h4,h5,h6,
.mk15-theme .section-header h2,
.mk15-theme .managed-section-head h2,
.mk15-theme .products-header-card h2,
.mk15-theme .hero-content h1,
.mk15-theme .foodmart-product-card h3,
.mk15-theme .product-item h3,
.mk15-theme .gf-category-card .gf-cat-title{
  font-family:var(--v19-font-head)!important;
  letter-spacing:-.02em!important;
}

.mk15-theme .foodmart-product-card,
.mk15-theme .product-item.foodmart-product-card{
  border:1px solid var(--v19-border)!important;
  border-radius:22px!important;
  background:var(--v19-card)!important;
  box-shadow:0 8px 22px rgba(18,37,24,.05)!important;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease!important;
}
.mk15-theme .foodmart-product-card:hover,
.mk15-theme .product-item.foodmart-product-card:hover{
  transform:translateY(-4px)!important;
  box-shadow:var(--v19-shadow)!important;
  border-color:#cfe4cf!important;
}
.mk15-theme .foodmart-product-card figure,
.mk15-theme .product-item.foodmart-product-card figure{
  background:linear-gradient(180deg,#ffffff,#f7faf6)!important;
  border:1px solid #edf3ed!important;
  border-radius:18px!important;
}
.mk15-theme .foodmart-product-card h3,
.mk15-theme .product-item.foodmart-product-card h3{
  color:#152226!important;
  font-size:18px!important;
  font-weight:800!important;
  line-height:1.26!important;
}
.mk15-theme .product-subline,
.mk15-theme .product-category,
.mk15-theme .product-unit,
.mk15-theme .product-subline-dot{
  color:#748090!important;
  font-size:12px!important;
  font-weight:700!important;
}
.mk15-theme .price,
.mk15-theme .current-price{
  color:#121d15!important;
  font-weight:900!important;
}
.mk15-theme .current-price{font-size:30px!important;letter-spacing:-.03em!important}
.mk15-theme .old-price{color:#96a19a!important;font-size:15px!important;font-weight:700!important}

/* Make add-to-cart clearer and more premium */
.mk15-theme .foodmart-add-form{
  gap:10px!important;
  align-items:stretch!important;
}
.mk15-theme .foodmart-add-form .input-number,
.mk15-theme .foodmart-add-form .foodmart-card-qty-control,
.mk15-theme .foodmart-card-qty-control{
  border-radius:16px!important;
  border:1px solid #d9e7d9!important;
  background:#f8fbf8!important;
  min-height:52px!important;
}
.mk15-theme .foodmart-add-form .input-number input,
.mk15-theme .foodmart-card-qty-value{
  font-weight:800!important;
  color:#14221a!important;
}
.mk15-theme .foodmart-add-btn,
.mk15-theme .foodmart-product-card button[type="submit"],
.mk15-theme .product-item.foodmart-product-card button[type="submit"],
.mk15-theme .foodmart-product-card .btn,
.mk15-theme .foodmart-product-card .btn-primary{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:100%!important;
  min-height:52px!important;
  padding:0 16px!important;
  border:0!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,var(--v19-green),var(--v19-green-deep))!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:900!important;
  line-height:1!important;
  text-align:center!important;
  box-shadow:0 14px 24px rgba(32,177,75,.24)!important;
  overflow:hidden!important;
  white-space:nowrap!important;
}
.mk15-theme .foodmart-add-btn:hover,
.mk15-theme .foodmart-product-card button[type="submit"]:hover,
.mk15-theme .product-item.foodmart-product-card button[type="submit"]:hover{
  background:linear-gradient(180deg,#1eb54d,#128538)!important;
  box-shadow:0 18px 28px rgba(32,177,75,.30)!important;
}
.mk15-theme .foodmart-add-btn .foodmart-add-label{display:inline-block!important;color:#fff!important;opacity:1!important}
.mk15-theme .foodmart-add-btn .foodmart-add-plus{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:22px!important;height:22px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.16)!important;
  color:#fff!important;
  font-size:16px!important;
  font-weight:900!important;
}

/* Stronger category cards */
.gf-categories{gap:18px!important}
.gf-category-card{
  min-height:150px!important;
  padding:20px 14px!important;
  border-radius:24px!important;
  border:1px solid #dfeadf!important;
  background:linear-gradient(180deg,#ffffff,#f8fbf8)!important;
  box-shadow:0 8px 18px rgba(17,44,21,.06)!important;
}
.gf-category-card .gf-cat-icon-wrap{
  width:64px!important;height:64px!important;border-radius:20px!important;
  margin:0 auto 14px!important;
  background:linear-gradient(180deg,#f2fbf4,#e6f6eb)!important;
  box-shadow:inset 0 0 0 1px #e0efe2!important;
}
.gf-category-card .gf-cat-icon,
.gf-category-card img,
.gf-category-card svg{
  width:34px!important;height:34px!important;max-width:34px!important;max-height:34px!important;
}
.gf-category-card .gf-cat-title,
.gf-category-card h3,
.gf-category-card span:last-child{
  font-size:18px!important;
  font-weight:800!important;
  color:#1a252d!important;
}

/* Category/product grids */
.mk15-theme .managed-product-grid,
.mk15-theme .product-list-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:24px!important;
}
.mk15-theme .managed-product-grid>* ,
.mk15-theme .product-list-grid>*{
  width:auto!important;
  max-width:none!important;
  padding:0!important;
}
@media (min-width: 1400px){
  .mk15-theme .managed-product-grid,
  .mk15-theme .product-list-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
@media (max-width:1199.98px){
  .mk15-theme .managed-product-grid,
  .mk15-theme .product-list-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
  .mk15-theme .current-price{font-size:24px!important}
}
@media (max-width:767.98px){
  .gf-categories{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
  .gf-category-card{min-height:116px!important;padding:14px 8px!important;border-radius:18px!important}
  .gf-category-card .gf-cat-icon-wrap{width:50px!important;height:50px!important;border-radius:16px!important;margin-bottom:10px!important}
  .gf-category-card .gf-cat-icon,
  .gf-category-card img,
  .gf-category-card svg{width:26px!important;height:26px!important;max-width:26px!important;max-height:26px!important}
  .gf-category-card .gf-cat-title,
  .gf-category-card h3,
  .gf-category-card span:last-child{font-size:13px!important;line-height:1.15!important}

  /* user asked all-category product lists 3 columns on mobile */
  .mk15-theme .managed-product-grid,
  .mk15-theme .product-list-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .mk15-theme .foodmart-product-card,
  .mk15-theme .product-item.foodmart-product-card{
    border-radius:16px!important;
    padding:8px!important;
  }
  .mk15-theme .foodmart-product-card figure,
  .mk15-theme .product-item.foodmart-product-card figure{
    height:108px!important;
    min-height:108px!important;
    border-radius:14px!important;
    padding:8px!important;
    margin-bottom:8px!important;
  }
  .mk15-theme .foodmart-product-card img,
  .mk15-theme .product-item.foodmart-product-card img{max-height:88px!important;object-fit:contain!important}
  .mk15-theme .foodmart-product-card h3,
  .mk15-theme .product-item.foodmart-product-card h3{
    font-size:13px!important;
    min-height:34px!important;
    line-height:1.25!important;
    margin-bottom:6px!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:10px!important}
  .mk15-theme .price,
  .mk15-theme .current-price{font-size:15px!important;line-height:1.1!important}
  .mk15-theme .old-price{font-size:10px!important}
  .mk15-theme .foodmart-add-form{gap:6px!important}
  .mk15-theme .foodmart-add-form .input-number,
  .mk15-theme .foodmart-add-form .foodmart-card-qty-control,
  .mk15-theme .foodmart-card-qty-control{min-height:38px!important;border-radius:12px!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:38px!important;
    border-radius:12px!important;
    font-size:11px!important;
    padding:0 8px!important;
    box-shadow:0 10px 18px rgba(32,177,75,.20)!important;
  }
  .mk15-theme .foodmart-add-btn .foodmart-add-plus{width:16px!important;height:16px!important;font-size:12px!important}
  .mk15-theme .foodmart-product-card .product-badge{font-size:9px!important;padding:0 8px!important;min-height:24px!important;top:8px!important;left:8px!important}
}

@media (max-width: 420px){
  .mk15-theme .managed-product-grid,
  .mk15-theme .product-list-grid{gap:8px!important}
  .mk15-theme .foodmart-product-card,
  .mk15-theme .product-item.foodmart-product-card{padding:7px!important}
  .mk15-theme .foodmart-product-card figure,
  .mk15-theme .product-item.foodmart-product-card figure{height:98px!important;min-height:98px!important}
  .mk15-theme .foodmart-product-card img,
  .mk15-theme .product-item.foodmart-product-card img{max-height:78px!important}
  .mk15-theme .foodmart-product-card h3,
  .mk15-theme .product-item.foodmart-product-card h3{font-size:12px!important;min-height:32px!important}
  .mk15-theme .price,
  .mk15-theme .current-price{font-size:14px!important}
  .mk15-theme .foodmart-add-btn,
  .mk15-theme .foodmart-product-card button[type="submit"],
  .mk15-theme .product-item.foodmart-product-card button[type="submit"]{font-size:10px!important;min-height:36px!important;padding:0 6px!important}
}
