/*
Theme Name: KDMP Marketplace App UI KOPDES
Theme URI: https://forumjualbelimkw.my.id/
Description: Clean, responsive app-style theme for KDMP Marketplace. Presentation layer only; WooCommerce and KDMP Marketplace plugin functions remain unchanged.
Version: 1.1.9.2
Text Domain: kdmp-marketplace
*/

:root{
  --kdmp-blue:#075db8;
  --kdmp-blue-2:#1689e8;
  --kdmp-nav:#0755ad;
  --kdmp-bg:#f5f7fb;
  --kdmp-text:#172033;
  --kdmp-muted:#697386;
  --kdmp-line:#e4e9f0;
  --kdmp-card:#ffffff;
  --kdmp-shadow:0 5px 20px rgba(20,34,60,.07);
}
*,
*::before,
*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body.kdmp-app{
  margin:0!important;
  background:var(--kdmp-bg)!important;
  color:var(--kdmp-text)!important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:16px;
  line-height:1.45;
}
body.kdmp-app a{text-decoration:none}
body.kdmp-app img{max-width:100%;height:auto}
.kdmp-container{width:min(1440px,calc(100% - 48px));margin-inline:auto}

/* HEADER */
.kdmp-header{background:#fff;border-bottom:1px solid var(--kdmp-line);position:sticky;top:0;z-index:999}
.kdmp-topbar{min-height:92px;display:flex;align-items:center;gap:18px;padding:10px 0}
.kdmp-brand{display:flex;align-items:center;gap:12px;min-width:300px;color:var(--kdmp-text)}
.kdmp-logo-img{width:82px;height:66px;object-fit:contain;display:block;background:#fff}
.kdmp-brand-copy strong{display:block;font-size:22px;line-height:1.15}
.kdmp-brand-copy small{display:block;margin-top:4px;color:var(--kdmp-muted);font-size:13px}
.kdmp-location{white-space:nowrap;color:#394457;font-size:14px}
.kdmp-search{flex:1;min-width:180px;display:flex;position:relative}
.kdmp-search input[type="text"],
.kdmp-search input[name="s"]{
  width:100%!important;height:48px!important;border:1px solid #d8dfe8!important;
  border-radius:11px!important;padding:0 92px 0 42px!important;background:#fff!important;
  color:#172033!important;font-size:15px!important;outline:none!important;
}
.kdmp-search input:focus{border-color:#78aee4!important;box-shadow:0 0 0 3px rgba(7,93,184,.08)!important}
.kdmp-search-icon{position:absolute;left:14px;top:12px;z-index:2}
.kdmp-search button{
  position:absolute;right:5px;top:5px;height:38px;padding:0 24px;border:0;border-radius:8px;
  background:var(--kdmp-blue);color:#fff;font-weight:800;cursor:pointer
}
.kdmp-actions{display:flex;gap:8px}
.kdmp-action{display:flex;min-width:62px;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#283448!important}
.kdmp-action b{font-size:24px;line-height:1;position:relative;font-weight:500}
.kdmp-action span{font-size:11px}
.kdmp-action .badge{position:absolute;right:-10px;top:-8px;background:#e5232e;color:#fff;font-size:10px;border-radius:20px;padding:3px 6px;font-style:normal;font-weight:800}

/* DESKTOP NAV */
.kdmp-main-nav{background:linear-gradient(90deg,#0753ad,#075fc1);color:#fff}
.kdmp-nav-inner{display:flex;align-items:stretch;min-height:50px}
.kdmp-nav-inner a{display:flex;align-items:center;gap:8px;padding:0 26px;color:#fff!important;font-size:15px;font-weight:750}
.kdmp-nav-inner a:hover,.kdmp-nav-inner a.active{background:rgba(255,255,255,.12)}
.kdmp-nav-category{background:rgba(0,0,0,.08);min-width:175px}

/* SHELL */
.kdmp-layout{display:block;padding:28px 0 70px}
.kdmp-side{display:none!important}
.kdmp-main{width:100%;min-width:0}

/* HERO */
.kdmp-hero-home{
  position:relative;min-height:450px;background:linear-gradient(110deg,#fffaf1,#fffdf9);
  border:1px solid #f0eadf;border-radius:20px;padding:48px 54px;
  display:flex;justify-content:space-between;align-items:center;overflow:hidden;box-shadow:var(--kdmp-shadow)
}
.kdmp-hero-copy{width:52%;position:relative;z-index:3}
.kdmp-eyebrow{font-size:11px;letter-spacing:1.3px;font-weight:850;color:#5f6877}
.kdmp-hero-copy h1{font-size:48px;line-height:1.05;margin:10px 0 4px;color:#172033}
.kdmp-hero-copy h2{font-size:43px;line-height:1.05;color:var(--kdmp-blue);margin:0 0 20px}
.kdmp-hero-copy p{font-size:18px;line-height:1.55;color:#596476;max-width:600px;margin:0 0 24px}
.kdmp-hero-buttons{display:flex;gap:14px}
.kdmp-primary-btn,.kdmp-outline-btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 22px;border-radius:9px;font-weight:800;font-size:15px}
.kdmp-primary-btn{background:var(--kdmp-blue);color:#fff!important}
.kdmp-outline-btn{background:#fff;color:var(--kdmp-blue)!important;border:1.5px solid var(--kdmp-blue)}
.kdmp-trust-row{display:flex;gap:10px;margin-top:28px}
.kdmp-trust-row>div{background:rgba(255,255,255,.9);border:1px solid #eee9df;border-radius:12px;padding:10px 13px;display:grid;grid-template-columns:32px 1fr;column-gap:7px;min-width:165px}
.kdmp-trust-row span{grid-row:span 2;font-size:20px;align-self:center}
.kdmp-trust-row b{font-size:12px}.kdmp-trust-row small{font-size:10px;color:#727b89}

/* HERO ART */
.kdmp-hero-art{width:43%;height:360px;position:relative}
.kdmp-store-roof{position:absolute;top:25px;right:6%;width:75%;height:58px;background:#df342d;border-radius:30px 30px 5px 5px;transform:skewX(-7deg)}
.kdmp-phone{position:absolute;z-index:3;right:23%;top:40px;width:175px;height:305px;border:9px solid #222;border-radius:28px;background:#fff;box-shadow:0 12px 30px rgba(0,0,0,.18);padding:25px 11px 10px;font-size:9px}
.kdmp-phone-notch{position:absolute;top:0;left:50%;transform:translateX(-50%);width:65px;height:15px;background:#222;border-radius:0 0 10px 10px}
.kdmp-mini-search{margin-top:12px;border:1px solid #ddd;border-radius:8px;padding:6px;color:#777}
.kdmp-mini-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-top:10px;text-align:center}
.kdmp-mini-cats span{font-size:14px}.kdmp-mini-cats small{display:block;font-size:6px}
.kdmp-mini-title{display:block;margin-top:12px;font-size:9px}
.kdmp-mini-products{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:7px}
.kdmp-mini-products span{background:#f7f7f7;border-radius:7px;padding:5px;font-size:28px;text-align:center}
.kdmp-mini-products small{display:block;font-size:6px;text-align:left}
.kdmp-product-stack{position:absolute;right:0;bottom:12px;font-size:65px;z-index:1;display:flex}
.kdmp-kopdes-box{position:absolute;right:1%;bottom:0;width:130px;height:115px;background:#dfc4a0;border-radius:5px;display:grid;place-items:center;transform:rotate(-1deg);z-index:2;box-shadow:0 8px 20px rgba(0,0,0,.08)}
.kdmp-kopdes-box img{width:100px;height:78px;object-fit:contain;mix-blend-mode:multiply}
.kdmp-slider-dots{position:absolute;bottom:13px;left:50%;display:flex;gap:8px}
.kdmp-slider-dots i{width:9px;height:9px;background:#c9ced5;border-radius:50%}
.kdmp-slider-dots i.active{width:22px;border-radius:8px;background:var(--kdmp-blue)}

/* CATEGORIES */
.kdmp-category-strip{display:grid;grid-template-columns:repeat(8,1fr);margin-top:17px;background:#fff;border:1px solid var(--kdmp-line);border-radius:17px;overflow:hidden;box-shadow:0 3px 14px rgba(20,34,60,.04)}
.kdmp-category-item{min-height:112px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-right:1px solid var(--kdmp-line);gap:9px;text-align:center;color:#293448!important}
.kdmp-category-item:last-child{border-right:0}
.kdmp-category-item span{font-size:31px}.kdmp-category-item small{font-size:12px;color:#293448;font-weight:600}
.kdmp-category-item:hover{background:#f7fbff}

/* PROMOS */
.kdmp-promo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:24px}
.kdmp-promo{min-height:112px;border-radius:14px;padding:17px;display:grid;grid-template-columns:45px 1fr 15px;align-items:center;gap:10px}
.kdmp-promo>span{width:42px;height:42px;border-radius:12px;background:rgba(255,255,255,.72);display:grid;place-items:center;font-size:23px}
.kdmp-promo b{display:block;font-size:14px}.kdmp-promo small{display:block;margin-top:5px;color:#4d5969;line-height:1.35;font-size:11px}.kdmp-promo>strong{font-size:26px;font-weight:400}
.promo-green{background:#ecfbef;color:#107d36}.promo-blue{background:#f0f0ff;color:#22249d}.promo-yellow{background:#fff8e8;color:#bf7000}.promo-sky{background:#edf8ff;color:#0068c8}

/* PRODUCTS */
.kdmp-section-home{margin-top:32px}
.kdmp-section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}
.kdmp-section-head h2{font-size:26px;margin:0;color:#172033}.kdmp-section-head a{font-size:14px;color:var(--kdmp-blue)!important;font-weight:800}
.kdmp-product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}
.kdmp-product-card{background:#fff;border:1px solid var(--kdmp-line);border-radius:14px;overflow:hidden;box-shadow:0 2px 10px rgba(20,34,60,.03)}
.kdmp-product-image{height:210px;background:#eef2f6;display:grid;place-items:center;overflow:hidden}
.kdmp-product-image img{width:100%;height:100%;object-fit:cover}
.kdmp-product-body{padding:13px}
.kdmp-product-name{display:block;font-weight:800;min-height:40px;color:#172033!important}
.kdmp-product-price{font-weight:900;color:var(--kdmp-blue);font-size:17px;margin:6px 0}
.kdmp-product-meta{font-size:11px;color:var(--kdmp-muted)}
.kdmp-add-cart{display:block;margin-top:10px;padding:9px;border-radius:8px;background:var(--kdmp-blue);color:#fff!important;text-align:center;font-size:12px;font-weight:800}

/* SELLER BANNER */
.kdmp-seller-banner{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#eaf4ff;border:1px solid #d6e8ff;border-radius:16px;padding:23px;margin-top:28px}
.kdmp-seller-banner h2{margin:5px 0;font-size:22px}.kdmp-seller-banner p{margin:0;color:var(--kdmp-muted)}
.kdmp-seller-banner>a{background:var(--kdmp-blue);color:#fff!important;padding:12px 17px;border-radius:9px;font-weight:800;white-space:nowrap}
.kdmp-empty{padding:35px;background:#fff;border:1px solid var(--kdmp-line);border-radius:14px;text-align:center;color:var(--kdmp-muted);grid-column:1/-1}

/* FOOTER / MOBILE NAV */
.kdmp-bottom-nav{display:none}
.kdmp-footer{background:#172033;color:#d7dfeb;padding:30px 0}.kdmp-footer p{color:#aeb8c7;margin-bottom:0}

/* PAGES + WOOCOMMERCE */
.kdmp-content{width:min(1100px,calc(100% - 48px));margin:25px auto;padding-bottom:40px}
.woocommerce .site-main{width:min(1100px,calc(100% - 48px));margin:25px auto}
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-radius:12px!important}
.woocommerce .button{border-radius:9px!important;background:var(--kdmp-blue)!important;color:#fff!important}

/* RESPONSIVE */
@media(max-width:1100px){
  .kdmp-brand{min-width:250px}.kdmp-location{display:none}.kdmp-nav-inner a{padding-inline:18px}
  .kdmp-hero-copy h1{font-size:40px}.kdmp-hero-copy h2{font-size:35px}
  .kdmp-trust-row>div{min-width:140px}.kdmp-product-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:900px){
  body.kdmp-app{padding-bottom:74px!important}
  .kdmp-container{width:calc(100% - 24px)}
  .kdmp-header{position:sticky;top:0}
  .kdmp-topbar{min-height:70px;gap:8px;padding:8px 0}
  .kdmp-brand{min-width:0;flex:0 0 auto}.kdmp-logo-img{width:54px;height:46px}
  .kdmp-brand-copy,.kdmp-location{display:none}
  .kdmp-search{min-width:0}.kdmp-search input[name="s"]{height:44px!important;font-size:13px!important;padding:0 10px 0 38px!important}
  .kdmp-search button{display:none}.kdmp-search-icon{left:12px;top:10px}
  .kdmp-actions{gap:3px}.kdmp-action{min-width:38px}.kdmp-action span{display:none}.kdmp-action b{font-size:22px}
  .kdmp-main-nav{display:none}
  .kdmp-layout{padding:12px 0 80px}
  .kdmp-hero-home{min-height:0;padding:24px 18px;display:block}
  .kdmp-hero-copy{width:100%}.kdmp-hero-copy h1{font-size:33px}.kdmp-hero-copy h2{font-size:30px}
  .kdmp-hero-copy p{font-size:14px}.kdmp-hero-buttons{gap:8px}
  .kdmp-primary-btn,.kdmp-outline-btn{padding:11px 14px;font-size:13px}
  .kdmp-trust-row{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:18px}
  .kdmp-trust-row>div{min-width:0;padding:8px;display:block;text-align:center}
  .kdmp-trust-row span{display:block}.kdmp-trust-row b{font-size:10px;display:block}.kdmp-trust-row small{font-size:8px;display:block}
  .kdmp-hero-art{width:100%;height:190px;margin-top:10px}
  .kdmp-phone{right:28%;top:0;transform:scale(.68);transform-origin:top right}
  .kdmp-store-roof{top:0;right:4%;width:70%;height:38px}
  .kdmp-product-stack{font-size:40px;bottom:5px;right:1%}
  .kdmp-kopdes-box{width:95px;height:75px}.kdmp-kopdes-box img{width:75px;height:55px}
  .kdmp-category-strip{grid-template-columns:repeat(4,1fr);margin-top:13px}
  .kdmp-category-item{min-height:84px}.kdmp-category-item:nth-child(4){border-right:0}
  .kdmp-category-item:nth-child(n+5){border-top:1px solid var(--kdmp-line)}
  .kdmp-category-item span{font-size:24px}.kdmp-category-item small{font-size:10px}
  .kdmp-promo-grid{grid-template-columns:repeat(2,1fr);gap:9px;margin-top:15px}
  .kdmp-promo{min-height:92px;padding:11px;grid-template-columns:36px 1fr 10px}
  .kdmp-promo>span{width:34px;height:34px;font-size:18px}.kdmp-promo b{font-size:11px}.kdmp-promo small{font-size:9px}
  .kdmp-product-grid{grid-template-columns:repeat(2,1fr);gap:9px}.kdmp-product-image{height:150px}
  .kdmp-product-name{font-size:13px}.kdmp-product-price{font-size:15px}
  .kdmp-seller-banner{display:block;padding:18px}.kdmp-seller-banner>a{display:inline-block;margin-top:12px}
  .kdmp-footer{display:none}
  .kdmp-bottom-nav{display:flex;position:fixed;left:0;right:0;bottom:0;height:74px;background:#fff;border-top:1px solid var(--kdmp-line);z-index:1000;justify-content:space-around;padding:7px 4px env(safe-area-inset-bottom);box-shadow:0 -3px 12px rgba(20,34,60,.06)}
  .kdmp-bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;width:20%;color:#6b7280!important;font-size:10px;gap:3px}
  .kdmp-bottom-nav a b{font-size:20px;font-weight:500;line-height:1}.kdmp-bottom-nav a.active{color:var(--kdmp-blue)!important;font-weight:800}
}
@media(max-width:560px){
  .kdmp-container{width:calc(100% - 16px)}
  .kdmp-topbar{padding:7px 0}.kdmp-logo-img{width:50px;height:43px}
  .kdmp-actions .kdmp-account-action{display:none}
  .kdmp-hero-home{border-radius:15px;padding:22px 15px}
  .kdmp-hero-copy h1{font-size:29px}.kdmp-hero-copy h2{font-size:27px;margin-bottom:12px}
  .kdmp-hero-copy p{font-size:13px;line-height:1.45}
  .kdmp-hero-buttons{flex-direction:column}.kdmp-primary-btn,.kdmp-outline-btn{width:100%;text-align:center}
  .kdmp-trust-row>div{min-height:68px}.kdmp-trust-row b{font-size:9px}.kdmp-trust-row small{font-size:7px}
  .kdmp-hero-art{height:175px}.kdmp-phone{right:22%;transform:scale(.62)}.kdmp-kopdes-box{right:0}
  .kdmp-section-home{margin-top:23px}.kdmp-section-head h2{font-size:21px}
  .kdmp-product-image{height:125px}.kdmp-product-body{padding:10px}.kdmp-add-cart{font-size:10px;padding:8px}
  .kdmp-seller-banner{margin-top:20px}
}

/* V1.1.8.3 MOBILE PRO POLISH — presentation only */
@media (max-width:900px){
html,body{overflow-x:hidden}
body.kdmp-app{font-size:14px;background:#f4f6f9!important}
.kdmp-container{width:calc(100% - 20px);max-width:520px}
.kdmp-header{position:sticky!important;top:0;box-shadow:0 2px 10px rgba(15,31,55,.07)}
.kdmp-topbar{min-height:60px!important;height:60px;padding:6px 0!important;gap:7px!important}
.kdmp-logo-img{width:45px!important;height:42px!important}
.kdmp-search input[name="s"],.kdmp-search input[type="text"]{height:40px!important;border-radius:12px!important;padding-left:36px!important;font-size:12px!important;background:#f7f8fa!important}
.kdmp-search-icon{top:9px!important;left:11px!important}
.kdmp-actions{gap:1px!important}.kdmp-action{min-width:34px!important}.kdmp-action b{font-size:20px!important}
.kdmp-layout{padding:10px 0 78px!important}
.kdmp-hero-home{min-height:0!important;padding:19px 14px 14px!important;border-radius:17px!important;box-shadow:0 3px 14px rgba(20,34,60,.06)!important}
.kdmp-eyebrow{font-size:8px!important;letter-spacing:1px}
.kdmp-hero-copy h1{font-size:25px!important;line-height:1.12!important;margin:7px 0 2px!important}
.kdmp-hero-copy h2{font-size:23px!important;line-height:1.12!important;margin:0 0 9px!important}
.kdmp-hero-copy p{font-size:11px!important;line-height:1.45!important;margin-bottom:12px!important}
.kdmp-hero-buttons{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}
.kdmp-primary-btn,.kdmp-outline-btn{width:100%!important;padding:10px 7px!important;min-height:38px!important;border-radius:9px!important;font-size:11px!important}
.kdmp-trust-row{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:5px!important;margin-top:12px!important}
.kdmp-trust-row>div{min-height:59px!important;padding:7px 4px!important;border-radius:10px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important}
.kdmp-trust-row span{font-size:15px!important;line-height:1}.kdmp-trust-row b{font-size:8px!important;line-height:1.15!important;margin-top:3px}.kdmp-trust-row small{font-size:6.5px!important;line-height:1.15!important;margin-top:2px}
.kdmp-hero-art{width:100%!important;height:130px!important;margin-top:7px!important}
.kdmp-store-roof{top:6px!important;right:10%!important;width:66%!important;height:27px!important}
.kdmp-phone{top:4px!important;right:30%!important;width:125px!important;height:218px!important;border-width:6px!important;border-radius:20px!important;padding:18px 8px 7px!important;transform:scale(.68)!important;transform-origin:top right!important}
.kdmp-phone-notch{width:48px!important;height:10px!important}
.kdmp-kopdes-box{width:76px!important;height:60px!important;right:0!important;bottom:0!important}
.kdmp-kopdes-box img{width:60px!important;height:46px!important}
.kdmp-product-stack{font-size:30px!important;bottom:2px!important;right:5%!important}
.kdmp-slider-dots{bottom:2px!important}
.kdmp-category-strip{grid-template-columns:repeat(4,1fr)!important;margin-top:10px!important;border-radius:14px!important;box-shadow:0 2px 10px rgba(20,34,60,.04)!important}
.kdmp-category-item{min-height:70px!important;padding:7px 2px!important;gap:4px!important}
.kdmp-category-item:nth-child(4),.kdmp-category-item:nth-child(8){border-right:0!important}
.kdmp-category-item:nth-child(n+5){border-top:1px solid var(--kdmp-line)!important}
.kdmp-category-item span{font-size:21px!important}.kdmp-category-item small{font-size:8px!important;line-height:1.15!important}
.kdmp-promo-grid{grid-template-columns:repeat(2,1fr)!important;gap:7px!important;margin-top:10px!important}
.kdmp-promo{min-height:76px!important;padding:9px!important;grid-template-columns:30px 1fr 8px!important;gap:6px!important;border-radius:12px!important}
.kdmp-promo>span{width:30px!important;height:30px!important;border-radius:9px!important;font-size:15px!important}
.kdmp-promo b{font-size:9px!important;line-height:1.15!important}.kdmp-promo small{font-size:7px!important;line-height:1.25!important;margin-top:3px!important}.kdmp-promo>strong{font-size:17px!important}
.kdmp-section-home{margin-top:20px!important}.kdmp-section-head{margin-bottom:9px!important}.kdmp-section-head h2{font-size:18px!important}.kdmp-section-head a{font-size:10px!important}
.kdmp-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.kdmp-product-card{border-radius:12px!important;box-shadow:0 2px 9px rgba(20,34,60,.05)!important}
.kdmp-product-image{height:142px!important}.kdmp-product-body{padding:9px!important}
.kdmp-product-name{font-size:11px!important;line-height:1.3!important;min-height:29px!important}
.kdmp-product-price{font-size:13px!important;margin:5px 0!important}.kdmp-product-meta{font-size:8px!important}
.kdmp-add-cart{margin-top:7px!important;padding:8px 5px!important;border-radius:8px!important;font-size:9px!important}
.kdmp-seller-banner{margin-top:15px!important;padding:14px!important;border-radius:14px!important}
.kdmp-seller-banner h2{font-size:16px!important;margin:3px 0!important}.kdmp-seller-banner p{font-size:10px!important;line-height:1.4!important}
.kdmp-seller-banner>a{margin-top:9px!important;padding:9px 13px!important;font-size:10px!important;border-radius:8px!important}
.kdmp-bottom-nav{height:68px!important;padding:5px 3px calc(5px + env(safe-area-inset-bottom))!important;box-shadow:0 -5px 18px rgba(20,34,60,.08)!important}
.kdmp-bottom-nav a{font-size:8px!important;gap:2px!important;border-radius:10px!important}.kdmp-bottom-nav a b{font-size:18px!important}.kdmp-bottom-nav a.active{background:#eef6ff!important}
}
@media(max-width:380px){
.kdmp-container{width:calc(100% - 14px)}.kdmp-topbar{gap:5px!important}.kdmp-logo-img{width:40px!important}
.kdmp-action{min-width:30px!important}.kdmp-action b{font-size:18px!important}
.kdmp-hero-copy h1{font-size:23px!important}.kdmp-hero-copy h2{font-size:21px!important}
.kdmp-hero-art{height:120px!important}.kdmp-product-image{height:128px!important}
}

/* =========================================================
   KDMP 1.1.8.8 — PREMIUM HOMEPAGE / CATEGORY FOCUS
   Scoped to homepage components only.
   ========================================================= */
:root{--kdmp-navy:#102a56;--kdmp-blue-premium:#0967d8;--kdmp-blue-soft:#eaf4ff;--kdmp-border-soft:#e3ebf5;--kdmp-shadow-premium:0 12px 34px rgba(16,42,86,.09)}
.kdmp-premium-hero{position:relative;isolation:isolate;min-height:470px;border-radius:26px;overflow:hidden;margin-bottom:42px;background:linear-gradient(115deg,#075aa9 0%,#0876d9 52%,#063c82 100%);box-shadow:0 18px 45px rgba(4,66,130,.18);display:flex;align-items:center}
.kdmp-hero-overlay{position:absolute;inset:0;background:radial-gradient(circle at 78% 45%,rgba(255,255,255,.18),transparent 24%),linear-gradient(90deg,rgba(4,52,104,.16),transparent 55%);z-index:-1}
.kdmp-premium-hero-copy{width:58%;padding:58px 0 58px 62px;color:#fff;position:relative;z-index:3}.kdmp-hero-kicker,.kdmp-section-kicker{font-size:11px;letter-spacing:1.8px;font-weight:900}.kdmp-premium-hero h1{font-size:54px;line-height:1.04;margin:12px 0 18px;letter-spacing:-1.5px}.kdmp-premium-hero h1 em{font-style:normal;color:#ffd52f}.kdmp-premium-hero p{max-width:650px;font-size:18px;line-height:1.55;margin:0 0 22px;color:rgba(255,255,255,.9)}
.kdmp-hero-points{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:26px}.kdmp-hero-points span{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:750;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.2);padding:8px 11px;border-radius:999px}.kdmp-hero-points i{font-style:normal;background:#fff;color:#0870d8;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font-size:12px}
.kdmp-hero-cta{display:inline-flex;align-items:center;gap:18px;background:#fff;color:#075fbd!important;border-radius:999px;padding:13px 20px 13px 22px;font-weight:900;box-shadow:0 8px 20px rgba(0,0,0,.13)}.kdmp-hero-cta b{font-size:20px}.kdmp-hero-art-premium{position:absolute;right:3%;top:0;width:44%;height:100%;overflow:hidden}.kdmp-art-glow{position:absolute;width:390px;height:390px;border-radius:50%;right:25px;top:36px;background:rgba(255,255,255,.08)}.kdmp-art-circle{position:absolute;width:310px;height:310px;border-radius:50%;right:74px;top:78px;border:1px solid rgba(255,255,255,.25)}.kdmp-art-basket,.kdmp-art-carving,.kdmp-art-tifa{position:absolute;filter:drop-shadow(0 18px 18px rgba(0,0,0,.18));font-size:115px}.kdmp-art-basket{right:145px;top:118px;transform:rotate(-8deg)}.kdmp-art-carving{right:35px;top:205px;font-size:94px;transform:rotate(8deg)}.kdmp-art-tifa{right:265px;top:248px;font-size:88px}.kdmp-art-label{position:absolute;right:58px;bottom:54px;color:#fff;font-size:19px;font-weight:700;line-height:1.1;text-align:right;font-style:italic}.kdmp-art-label strong{font-size:25px;color:#ffd52f}
.kdmp-home-section{margin:0 0 42px}.kdmp-home-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.kdmp-home-heading h2{font-size:32px;color:var(--kdmp-navy);margin:3px 0 0;letter-spacing:-.5px}.kdmp-home-heading .kdmp-section-kicker{color:#66809f}.kdmp-home-heading>a{color:var(--kdmp-blue-premium)!important;font-weight:850;font-size:14px}.kdmp-home-heading>a b{font-size:18px;margin-left:5px}
.kdmp-category-premium-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.kdmp-category-premium-card{min-height:176px;background:#fff;border:1px solid var(--kdmp-border-soft);border-radius:20px;padding:18px 13px 14px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;box-shadow:0 5px 18px rgba(16,42,86,.04);transition:.22s ease;color:var(--kdmp-navy)!important}.kdmp-category-premium-card:hover{transform:translateY(-4px);box-shadow:var(--kdmp-shadow-premium);border-color:#c9def5}.kdmp-category-icon{width:82px;height:82px;border-radius:22px;display:grid;place-items:center;margin-bottom:11px;color:#0967d8}.kdmp-category-icon svg{width:50px;height:50px}.kdmp-icon-bag{background:#eaf4ff}.kdmp-icon-leaf{background:#eaf9ef;color:#2a9b57}.kdmp-icon-fish{background:#eaf8ff;color:#1280c4}.kdmp-icon-cow{background:#fff4e9;color:#c87918}.kdmp-icon-wheat{background:#fff8df;color:#bb8a0a}.kdmp-icon-utensils{background:#fff0f3;color:#d64a68}.kdmp-icon-shirt{background:#f5efff;color:#7854c9}.kdmp-icon-basket{background:#fff1e5;color:#b76a2a}.kdmp-icon-herb{background:#eaf9ef;color:#2a9b57}.kdmp-icon-phone{background:#eaf4ff;color:#0967d8}.kdmp-category-premium-card strong{font-size:15px;line-height:1.2}.kdmp-category-premium-card small{font-size:11px;color:#72829a;margin-top:5px;line-height:1.25}.kdmp-category-premium-card em{font-size:10px;font-style:normal;color:#0967d8;font-weight:800;margin-top:5px}
.kdmp-local-banner{min-height:210px;margin:0 0 42px;border-radius:24px;overflow:hidden;background:linear-gradient(105deg,#eef7ff,#dceeff);display:flex;align-items:center;justify-content:space-between;padding:28px 40px;border:1px solid #d7e9fb;box-shadow:var(--kdmp-shadow-premium)}.kdmp-local-copy{max-width:670px}.kdmp-local-copy .kdmp-section-kicker{color:#54749a}.kdmp-local-copy h2{font-size:32px;margin:4px 0 4px;color:#0a65cf}.kdmp-local-copy p{margin:0 0 16px;color:#526b88}.kdmp-local-copy a{display:inline-flex;gap:16px;align-items:center;background:#0868da;color:#fff!important;padding:12px 20px;border-radius:999px;font-weight:850}.kdmp-local-copy a b{font-size:19px}.kdmp-local-art{width:34%;height:150px;position:relative;display:grid;place-items:center}.kdmp-local-logo-card{width:min(280px,100%);min-height:118px;background:#fff;border:1px solid #dce8f4;border-radius:18px;padding:12px 18px;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 22px rgba(16,42,86,.08)}.kdmp-local-logo-card img{display:block;width:100%;max-width:230px;height:92px;object-fit:contain}
.kdmp-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:34px}.kdmp-benefits>div{background:#fff;border:1px solid var(--kdmp-border-soft);border-radius:18px;padding:20px;text-align:center;box-shadow:0 4px 16px rgba(16,42,86,.035)}.kdmp-benefits span{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--kdmp-blue-soft);color:#0967d8;font-size:23px;font-weight:900;margin:0 auto 9px}.kdmp-benefits b{display:block;color:var(--kdmp-navy);font-size:14px}.kdmp-benefits small{display:block;color:#7a899d;font-size:11px;margin-top:3px}
@media(max-width:1100px){.kdmp-category-premium-grid{grid-template-columns:repeat(4,1fr)}.kdmp-premium-hero-copy{width:64%;padding-left:42px}.kdmp-premium-hero h1{font-size:45px}.kdmp-hero-art-premium{width:40%}.kdmp-art-basket{right:100px}.kdmp-art-tifa{right:220px}.kdmp-art-carving{right:15px}}
@media(max-width:900px){.kdmp-premium-hero{min-height:500px;border-radius:20px;margin-bottom:30px;display:block}.kdmp-premium-hero-copy{width:100%;padding:28px 20px 18px}.kdmp-premium-hero h1{font-size:37px;margin-top:9px}.kdmp-premium-hero p{font-size:14px}.kdmp-hero-points{gap:6px}.kdmp-hero-points span{font-size:10px;padding:7px 8px}.kdmp-hero-art-premium{position:absolute;right:0;bottom:0;top:auto;width:100%;height:210px}.kdmp-art-glow{width:250px;height:250px;right:20px;top:-20px}.kdmp-art-circle{width:205px;height:205px;right:43px;top:2px}.kdmp-art-basket{font-size:74px;right:105px;top:28px}.kdmp-art-carving{font-size:62px;right:26px;top:78px}.kdmp-art-tifa{font-size:58px;right:185px;top:92px}.kdmp-art-label{font-size:12px;right:18px;bottom:8px}.kdmp-art-label strong{font-size:16px}.kdmp-home-heading h2{font-size:25px}.kdmp-home-heading{align-items:center}.kdmp-category-premium-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.kdmp-category-premium-card{min-height:128px;padding:10px 5px}.kdmp-category-icon{width:48px;height:48px;border-radius:14px;margin-bottom:6px}.kdmp-category-icon svg{width:28px;height:28px}.kdmp-category-premium-card strong{font-size:11px;line-height:1.15}.kdmp-category-premium-card small{font-size:8px;line-height:1.15}.kdmp-local-banner{min-height:220px;padding:24px 20px;display:block;position:relative}.kdmp-local-copy{position:relative;z-index:2}.kdmp-local-copy h2{font-size:26px}.kdmp-local-copy p{font-size:13px;max-width:75%}.kdmp-local-art{position:absolute;right:8px;bottom:8px;width:43%;opacity:1}.kdmp-local-logo-card{min-height:82px;padding:8px 10px;border-radius:14px}.kdmp-local-logo-card img{max-width:145px;height:68px}.kdmp-benefits{grid-template-columns:repeat(2,1fr);gap:9px}.kdmp-benefits>div{padding:14px 8px}.kdmp-benefits b{font-size:12px}.kdmp-benefits small{font-size:9px}}
@media(max-width:480px){.kdmp-container{width:calc(100% - 18px)}.kdmp-premium-hero{min-height:485px}.kdmp-premium-hero h1{font-size:34px}.kdmp-hero-points span:nth-child(3){display:none}.kdmp-hero-cta{font-size:12px;padding:11px 16px}.kdmp-category-premium-card{min-height:122px;padding:9px 4px}.kdmp-category-icon{width:44px;height:44px;border-radius:13px;margin-bottom:5px}.kdmp-category-icon svg{width:26px;height:26px}.kdmp-home-section{margin-bottom:30px}.kdmp-local-banner{min-height:235px}.kdmp-local-copy p{max-width:100%}.kdmp-local-logo-card{min-height:76px}.kdmp-local-logo-card img{height:62px}}

/* KDMP V1.1.8.9 — uploaded category icon */
.kdmp-app-category-icon-v2 img.kdmp-custom-category-icon{
  width:70%;height:70%;object-fit:contain;display:block;margin:auto;
}
@media(max-width:560px){
  .kdmp-app-category-icon-v2 img.kdmp-custom-category-icon{
    width:72%;height:72%;
  }
}

/* KDMP V1.1.8.9.1 — Uploaded Category Icons */
.kdmp-category-icon .kdmp-category-custom-icon{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  border-radius:inherit;
}

/* =========================================================
 * KDMP V1.1.9.2 — Stable Category Archive Presentation
 * Theme owns the category archive. Scoped to prevent layout leaks.
 * ========================================================= */
.kdmp-archive-page{width:min(1280px,calc(100% - 48px));margin:0 auto;padding:10px 0 60px}
.kdmp-category-hero-new{display:grid;grid-template-columns:104px 1fr auto;align-items:center;gap:22px;padding:24px 28px;margin-bottom:22px;border:1px solid #dce8f5;border-radius:22px;background:linear-gradient(105deg,#f2f8ff,#fff);box-shadow:0 6px 22px rgba(16,42,86,.05)}
.kdmp-category-hero-icon{width:104px;height:104px;border-radius:22px;background:#fff;border:1px solid #e3ebf4;display:grid;place-items:center;overflow:hidden}
.kdmp-category-hero-icon img{width:82%;height:82%;object-fit:contain;display:block}
.kdmp-category-hero-icon span{font-size:48px}
.kdmp-archive-kicker{display:block;font-size:11px;letter-spacing:.12em;font-weight:900;color:#3975d8;margin-bottom:6px}
.kdmp-category-hero-copy h1,.kdmp-shop-head-new h1{margin:0;color:#102a56;font-size:38px;line-height:1.08}
.kdmp-category-hero-copy p,.kdmp-shop-head-new p{margin:7px 0 0;color:#61718a;font-size:15px;line-height:1.45}
.kdmp-category-hero-count{min-width:105px;padding:12px 18px;border-radius:16px;background:#e9f2ff;color:#155eef;text-align:center;line-height:1.05}
.kdmp-category-hero-count strong{display:block;font-size:22px}.kdmp-category-hero-count span{font-size:12px}
.kdmp-shop-head-new{padding:8px 0 20px}.kdmp-shop-head-new h1{font-size:34px}
.kdmp-archive-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:8px 0 15px;padding:0 2px;color:#203552}.kdmp-archive-result{margin-left:8px;color:#7a8799;font-size:12px;font-weight:500}.kdmp-result-order .woocommerce-ordering{margin:0}.kdmp-result-order select{border:1px solid #dbe4ef;border-radius:10px;padding:9px 30px 9px 12px;background:#fff;color:#30445f}
.kdmp-archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.kdmp-archive-card{margin:0!important;border:1px solid #e2e9f2!important;border-radius:18px!important;background:#fff!important;overflow:hidden;box-shadow:0 4px 16px rgba(15,23,42,.045);min-width:0;transition:transform .18s ease,box-shadow .18s ease}
.kdmp-archive-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(15,23,42,.09)}
.kdmp-archive-card-media{height:250px;background:#f5f8fb;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}
.kdmp-archive-product-img{width:100%!important;height:100%!important;object-fit:cover!important;display:block}
.kdmp-archive-badge{position:absolute;left:12px;top:12px;z-index:2;background:#e8f7ed;color:#187344;font-size:10px;font-weight:900;padding:6px 8px;border-radius:8px}
.kdmp-archive-card-body{padding:14px}.kdmp-archive-product-name{display:block;color:#172b4d!important;font-size:16px;font-weight:800;line-height:1.25;min-height:40px}.kdmp-archive-price{margin:6px 0;color:#0b63c9;font-size:18px;font-weight:900}.kdmp-archive-meta{display:flex;justify-content:space-between;gap:8px;color:#6a7890;font-size:11px}.kdmp-archive-meta span:first-child{color:#d18a00;font-weight:700}.kdmp-archive-seller,.kdmp-archive-location{margin-top:7px;color:#53657e;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kdmp-archive-cart,.kdmp-archive-detail{display:flex!important;align-items:center;justify-content:center;margin-top:11px!important;width:100%;border-radius:10px!important;padding:10px!important;background:#075db8!important;color:#fff!important;font-size:12px;font-weight:800}.kdmp-archive-detail{background:#edf5ff!important;color:#075db8!important}
.kdmp-archive-pagination{margin-top:24px}.kdmp-archive-pagination .page-numbers{display:flex;justify-content:center;gap:7px;list-style:none;margin:0;padding:0}.kdmp-archive-pagination .page-numbers li{margin:0}.kdmp-archive-pagination .page-numbers a,.kdmp-archive-pagination .page-numbers span{display:flex;min-width:38px;height:38px;align-items:center;justify-content:center;border:1px solid #dbe4ef;border-radius:9px;background:#fff;color:#2c4360}.kdmp-archive-pagination .page-numbers .current{background:#075db8;color:#fff;border-color:#075db8}
.kdmp-archive-empty{background:#fff;border:1px solid #e2e9f2;border-radius:18px;padding:45px 20px;text-align:center;color:#64748b}.kdmp-archive-empty strong{color:#17365e;font-size:20px}.kdmp-archive-empty p{margin:6px 0 0}
@media(max-width:900px){.kdmp-archive-page{width:calc(100% - 24px);padding-top:6px}.kdmp-category-hero-new{grid-template-columns:68px 1fr;gap:13px;padding:15px;border-radius:17px}.kdmp-category-hero-icon{width:68px;height:68px;border-radius:15px}.kdmp-category-hero-icon span{font-size:32px}.kdmp-category-hero-copy h1{font-size:27px}.kdmp-category-hero-copy p{font-size:12px}.kdmp-category-hero-count{grid-column:1/-1;justify-self:start;min-width:0;padding:7px 11px;border-radius:10px}.kdmp-category-hero-count strong{display:inline;font-size:15px;margin-right:4px}.kdmp-category-hero-count span{font-size:11px}.kdmp-archive-toolbar{align-items:flex-start}.kdmp-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.kdmp-archive-card-media{height:170px}.kdmp-archive-card-body{padding:9px}.kdmp-archive-product-name{font-size:13px;min-height:34px}.kdmp-archive-price{font-size:15px}.kdmp-archive-meta,.kdmp-archive-seller,.kdmp-archive-location{font-size:9px}.kdmp-archive-cart,.kdmp-archive-detail{font-size:10px;padding:8px!important}.kdmp-result-order select{max-width:150px;font-size:11px}}
@media(max-width:480px){.kdmp-archive-page{width:calc(100% - 18px)}.kdmp-category-hero-new{margin-bottom:15px}.kdmp-category-hero-copy h1{font-size:24px}.kdmp-category-hero-copy p{font-size:11px}.kdmp-archive-toolbar{font-size:12px}.kdmp-archive-result{display:block;margin:3px 0 0}.kdmp-result-order select{max-width:120px;padding:8px 22px 8px 8px}.kdmp-archive-card-media{height:145px}.kdmp-archive-badge{left:7px;top:7px;font-size:8px;padding:5px 6px}.kdmp-archive-product-name{font-size:12px}.kdmp-archive-price{font-size:14px}.kdmp-archive-card-body{padding:8px}.kdmp-archive-pagination .page-numbers a,.kdmp-archive-pagination .page-numbers span{min-width:34px;height:34px;font-size:12px}}

/* =========================================================
 * KDMP V1.1.9.6 — Compact mobile checkout
 * ========================================================= */
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout{
    max-width:980px!important;
    margin-left:auto!important;
    margin-right:auto!important;
}
body.woocommerce-checkout .wc-block-components-checkout-step{
    padding:10px 0!important;
    margin:0!important;
}
body.woocommerce-checkout .wc-block-components-checkout-step__heading{
    margin-bottom:8px!important;
}
body.woocommerce-checkout .wc-block-components-checkout-step__heading-content{
    font-size:17px!important;
    font-weight:800!important;
}
body.woocommerce-checkout .wc-block-components-text-input{
    margin-bottom:7px!important;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__container{
    min-height:38px!important;
    border-radius:8px!important;
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label{
    font-size:10px!important;
}
body.woocommerce-checkout .wc-block-components-text-input input{
    font-size:13px!important;
}
body.woocommerce-checkout .wc-block-components-radio-control{
    padding:6px!important;
    border-radius:9px!important;
}
body.woocommerce-checkout .wc-block-components-radio-control__option{
    padding:7px!important;
}
body.woocommerce-checkout .wc-block-components-checkbox{
    margin-top:5px!important;
}
body.woocommerce-checkout .wc-block-components-checkbox label{
    font-size:11px!important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order{
    padding-top:7px!important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button{
    min-height:46px!important;
    border-radius:9px!important;
    font-weight:900!important;
}

/* The mobile top summary is only a duplicate toggle; the detailed
 * order summary remains at the bottom. Keep the page focused.
 */
@media(max-width:800px){
    body.woocommerce-checkout .woocommerce{
        width:calc(100% - 16px);
        margin:0 auto;
    }
    body.woocommerce-checkout .wp-block-woocommerce-checkout{
        width:100%!important;
    }
    body.woocommerce-checkout .wc-block-components-checkout-step{
        padding:8px 0!important;
    }
    body.woocommerce-checkout .wc-block-components-checkout-step__heading-content{
        font-size:16px!important;
    }

    /* Put first/last name and city/postcode on compact rows. */
    body.woocommerce-checkout .wc-block-components-address-form{
        display:grid!important;
        grid-template-columns:1fr 1fr!important;
        gap:0 8px!important;
    }
    body.woocommerce-checkout .wc-block-components-address-form > *{
        min-width:0!important;
        margin-bottom:6px!important;
    }
    body.woocommerce-checkout .wc-block-components-address-form__first_name,
    body.woocommerce-checkout .wc-block-components-address-form__last_name,
    body.woocommerce-checkout .wc-block-components-address-form__city,
    body.woocommerce-checkout .wc-block-components-address-form__postcode{
        grid-column:span 1!important;
    }
    body.woocommerce-checkout .wc-block-components-address-form__address_1,
    body.woocommerce-checkout .wc-block-components-address-form__state{
        grid-column:1/-1!important;
    }

    /* The detailed summary stays useful but is tighter. */
    body.woocommerce-checkout .wc-block-components-order-summary-item{
        padding:7px 0!important;
    }
    body.woocommerce-checkout .wc-block-components-totals-wrapper{
        padding-top:5px!important;
        padding-bottom:5px!important;
    }
}

/* Required WhatsApp visual cue. */
body.woocommerce-checkout .kdmp-checkout-compact-final input[name="billing_phone"]{
    border-color:#cbd3df;
}


/* =========================================================
 * KDMP V1.1.9.7 — Checkout final mobile polish
 * Checkout-only. No homepage/category/product/cart changes.
 * ========================================================= */
@media(max-width:800px){
    /* Keep the compact two-column address layout, but give
       WhatsApp a little more breathing room and prevent
       placeholder text from visually colliding with the edge. */
    body.woocommerce-checkout .wc-block-components-address-form{
        grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
        column-gap:8px!important;
    }
    body.woocommerce-checkout .wc-block-components-address-form input{
        max-width:100%!important;
        box-sizing:border-box!important;
    }
    body.woocommerce-checkout input[name="billing_phone"],
    body.woocommerce-checkout input[name="billingPhone"]{
        font-size:11px!important;
        letter-spacing:0!important;
        padding-left:10px!important;
        padding-right:8px!important;
    }
    body.woocommerce-checkout .wc-block-components-text-input:has(input[name="billing_phone"]) label,
    body.woocommerce-checkout .wc-block-components-text-input:has(input[name="billingPhone"]) label{
        font-size:9px!important;
        white-space:nowrap!important;
    }

    /* Apartment/suite is intentionally omitted from the KDMP checkout. */
    body.woocommerce-checkout .wc-block-components-address-form__address_2,
    body.woocommerce-checkout [data-testid*="address_2"],
    body.woocommerce-checkout [data-testid*="address2"]{
        display:none!important;
    }

    /* Slightly tighten the main checkout rhythm without shrinking
       the actual input controls too aggressively. */
    body.woocommerce-checkout .wc-block-components-text-input{
        margin-bottom:6px!important;
    }
}
