/* Kue Menuh Bali v2.0 – standalone WhatsApp store */
.kmb-home{--wine:#57182f;--wine-dark:#35101f;--gold:#bd9658;--cream:#fbf5ec;color:#38262b;font-family:inherit;width:100%;overflow:hidden}
.kmb-home *,.kmb-checkout *{box-sizing:border-box}
.kmb-topline{background:var(--wine-dark);color:#f8e8cd;text-align:center;padding:9px 15px;font-size:11px;letter-spacing:2px}
.kmb-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px clamp(16px,5vw,72px);background:#fffaf4}
.kmb-brand{display:flex;align-items:center;gap:10px;color:var(--wine);text-decoration:none}
.kmb-brand strong,.kmb-footer-brand strong{display:block;font:500 24px Georgia,serif;letter-spacing:5px}
.kmb-brand small,.kmb-footer-brand small{display:block;text-align:center;font:9px Georgia,serif;letter-spacing:3px;margin-top:3px}
.kmb-mark{font-size:30px;color:var(--gold)}
.kmb-header nav{display:flex;gap:26px}.kmb-header nav a,.kmb-cart{color:#4a2932;text-decoration:none;font-size:13px}
.kmb-hero-full{width:100vw;max-width:none;margin-left:calc(50% - 50vw);background:#f8efe5;line-height:0;text-align:center}
.kmb-hero-image{display:block;width:100%;max-width:none;height:auto;object-fit:contain;margin:0 auto}
.kmb-hero-copy{background:linear-gradient(180deg,#fffaf4,#f7ecdf);text-align:center;padding:34px 20px 42px;border-bottom:1px solid #e8d6bf}
.kmb-eyebrow{font-size:10px;letter-spacing:3px;color:var(--gold);font-weight:700}
.kmb-hero-copy h1,.kmb-heading h2,.kmb-checkout-head h2{font:500 clamp(29px,3.3vw,43px)/1.15 Georgia,serif;color:var(--wine);margin:10px 0}
.kmb-hero-copy p{max-width:760px;margin:0 auto 20px;color:#70535a;font:italic 17px/1.6 Georgia,serif}
.kmb-button{display:inline-flex;align-items:center;justify-content:center;background:var(--wine);border:1px solid var(--wine);color:#fff!important;text-decoration:none;padding:13px 25px;font-size:12px;letter-spacing:1.2px;text-transform:uppercase;cursor:pointer}
.kmb-button:hover{background:var(--wine-dark);color:#fff}
.kmb-collection{padding:58px clamp(16px,6vw,88px);background:#fffdfa}
.kmb-heading{text-align:center;margin-bottom:28px}.kmb-heading h2{font-size:36px}
.kmb-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.kmb-product{border:1px solid #eee3d8;background:white;transition:.2s}.kmb-product:hover{transform:translateY(-3px);box-shadow:0 12px 28px #45132913}
.kmb-product-photo{display:block;aspect-ratio:1/1;overflow:hidden;background:#f4eee7}.kmb-product-photo img{display:block;width:100%;height:100%;object-fit:cover}
.kmb-product-text{padding:15px}.kmb-product-text h3{font:500 19px Georgia,serif;margin:0 0 8px}.kmb-product-text h3 a{color:var(--wine);text-decoration:none}.kmb-product-price{color:#98713d;font-weight:600}.kmb-detail{display:inline-block;margin-top:12px;color:var(--wine);font-size:12px;text-decoration:none}
.kmb-footer{background:#24131a;color:#f5e9dd;padding:42px clamp(18px,7vw,90px);display:grid;grid-template-columns:2fr 1fr 1fr;gap:26px}
.kmb-footer-brand strong{color:#f1dcb8}.kmb-footer-brand small{color:#e1cba4}.kmb-footer h3{font:500 20px Georgia,serif;color:#e8d2ac}.kmb-footer a{color:#f5e9dd;text-decoration:none}
.kmb-social-links{display:flex;flex-direction:column;gap:9px}.kmb-social-links a{display:flex;align-items:center;gap:10px;font-size:13px}.kmb-social-links span{width:24px;height:24px;border:1px solid var(--gold);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#e7c997}
.kmb-copy{grid-column:1/-1;border-top:1px solid #ffffff25;padding-top:15px;color:#bdaeb0;font-size:11px}
.kmb-checkout{max-width:1100px;margin:30px auto;padding:22px;color:#38262b}.kmb-checkout-head{text-align:center;margin-bottom:24px}.kmb-order-form{margin-top:28px;padding:26px;background:#fbf5ec;border:1px solid #eadbc9}.kmb-order-form h3{font:500 23px Georgia,serif;color:var(--wine)}
.kmb-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.kmb-fields label{display:flex;flex-direction:column;gap:6px;font-size:13px}.kmb-fields input,.kmb-fields textarea{padding:12px;border:1px solid #d9c9b9;background:white;font:inherit;width:100%}.kmb-wide{grid-column:1/-1}.kmb-note{font-size:13px;line-height:1.6;color:#6e5b5e;margin:18px 0}.kmb-empty,.kmb-no-products{padding:24px;text-align:center;background:#fbf5ec}
@media(max-width:850px){.kmb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kmb-footer{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.kmb-header{flex-wrap:wrap;padding:13px 15px}.kmb-header nav{order:3;width:100%;justify-content:space-between;gap:12px}.kmb-header nav a{font-size:12px}.kmb-brand strong{font-size:20px}.kmb-hero-copy{padding:26px 16px 32px}.kmb-hero-copy h1{font-size:30px}.kmb-hero-copy p{font-size:15px}.kmb-collection{padding:38px 13px}.kmb-grid{gap:11px}.kmb-product-text{padding:11px}.kmb-product-text h3{font-size:16px}.kmb-footer{grid-template-columns:1fr;padding:32px 20px}.kmb-fields{grid-template-columns:1fr}.kmb-wide{grid-column:auto}.kmb-checkout{padding:12px}.kmb-order-form{padding:17px}}

.kmb-order-form .kmb-button{background:#168b45;border-color:#168b45;color:#fff!important;font-weight:700}
.kmb-order-form .kmb-button:hover{background:#106f36;border-color:#106f36}

/* Standalone cart and WhatsApp ordering */
.kmb-add-cart{display:flex;align-items:center;justify-content:center;width:100%;margin-top:13px;padding:12px 10px;border:1px solid #168b45;border-radius:4px;background:#168b45;color:#fff;font-size:12px;font-weight:700;cursor:pointer}
.kmb-add-cart:hover,.kmb-add-cart.is-added{background:#106f36;border-color:#106f36;color:#fff}
.kmb-cart-items{margin:18px 0}
.kmb-cart-table{border:1px solid #eadbc9;background:#fff}
.kmb-cart-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:16px;padding:15px;border-bottom:1px solid #eee3d8}
.kmb-cart-row:last-child{border-bottom:0}
.kmb-cart-product{display:flex;align-items:center;gap:12px;min-width:0}
.kmb-cart-product img{width:64px;height:64px;object-fit:cover;background:#f4eee7}
.kmb-cart-product strong{display:block;color:#57182f}
.kmb-cart-product small{display:block;margin-top:5px;color:#806d70}
.kmb-quantity{display:flex;align-items:center;border:1px solid #d9c9b9}
.kmb-quantity button{width:34px;height:36px;border:0;background:#fbf5ec;color:#57182f;font-size:20px;cursor:pointer}
.kmb-quantity input{width:42px;height:36px;border:0;border-left:1px solid #d9c9b9;border-right:1px solid #d9c9b9;text-align:center;font:inherit}
.kmb-line-total{white-space:nowrap;color:#57182f}
.kmb-remove{border:0;background:transparent;color:#b42318;text-decoration:underline;cursor:pointer}
.kmb-cart-total{display:flex;justify-content:space-between;gap:15px;padding:18px 20px;background:#fbf5ec;border:1px solid #eadbc9;color:#57182f;font-size:17px}
.kmb-order-form .kmb-button{display:flex;width:100%;min-height:52px;background:#168b45;border:1px solid #168b45;color:#fff!important;font-size:14px;font-weight:800;letter-spacing:1px}
.kmb-order-form .kmb-button:hover{background:#106f36;border-color:#106f36}
@media(max-width:650px){
 .kmb-cart-row{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px}
 .kmb-cart-product{grid-column:1/-1}
 .kmb-line-total{justify-self:start}
 .kmb-remove{justify-self:end}
 .kmb-quantity input{width:38px}
}

/* Product quantity selector before adding to cart – v2.1 */
.kmb-product-buy{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px}
.kmb-qty-label{font-size:12px;color:#70535a;font-weight:600}
.kmb-product-quantity{display:flex;align-items:center;border:1px solid #d9c9b9;border-radius:4px;overflow:hidden;background:#fff}
.kmb-product-quantity button{width:34px;height:34px;border:0;background:#fbf5ec;color:#57182f;font-size:20px;line-height:1;cursor:pointer}
.kmb-product-quantity button:hover{background:#eadbc9}
.kmb-product-quantity input{width:42px;height:34px;border:0;border-left:1px solid #d9c9b9;border-right:1px solid #d9c9b9;text-align:center;font-family:inherit;font-size:14px;font-weight:600;color:#38262b;padding:0;appearance:textfield;-moz-appearance:textfield}
.kmb-product-quantity input::-webkit-inner-spin-button,.kmb-product-quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.kmb-product .kmb-add-cart{margin-top:10px}
@media(max-width:600px){.kmb-product-buy{gap:6px}.kmb-product-quantity button{width:29px}.kmb-product-quantity input{width:34px}}

/* v2.3 responsive product cards, gallery and variant selector */
.kmb-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:24px}
.kmb-product{min-width:0;overflow:hidden;border-radius:7px}
.kmb-product-text{min-width:0;padding:17px}
.kmb-product-buy{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px}
.kmb-product-quantity{width:max-content;max-width:100%;flex-shrink:0}
.kmb-product-quantity button{width:42px;height:42px;font-size:22px;touch-action:manipulation}
.kmb-product-quantity input{width:58px;height:42px;font-size:16px}
.kmb-add-cart{min-height:48px;font-size:13px;border-radius:5px}
.kmb-gallery-thumbs{display:flex;gap:7px;padding:9px 12px;overflow-x:auto;background:#fffaf5}
.kmb-gallery-thumbs button{border:1px solid #e7d9ca;padding:2px;background:#fff;flex:0 0 54px;width:54px;height:54px;cursor:pointer;border-radius:3px}
.kmb-gallery-thumbs img{display:block;width:100%;height:100%;object-fit:cover}
.kmb-variant-label{display:flex;flex-direction:column;gap:7px;margin:12px 0 8px;font-size:12px;font-weight:700;color:#70535a}
.kmb-variant-select{width:100%;min-height:42px;padding:8px 34px 8px 10px;border:1px solid #d9c9b9;border-radius:4px;background:#fff;color:#38262b;font:inherit;font-size:13px}
.kmb-cart-variant{color:#8a6336!important;font-weight:600}
.kmb-cart-row{min-width:0}
.kmb-quantity button{width:42px;height:42px;touch-action:manipulation}
.kmb-quantity input{width:54px;height:42px;font-size:16px}
.kmb-remove{padding:9px 5px;min-height:38px}
@media(min-width:1100px){.kmb-collection{padding-left:clamp(24px,5vw,80px);padding-right:clamp(24px,5vw,80px)}}
@media(max-width:650px){
 .kmb-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .kmb-product-text{padding:10px}
 .kmb-product-buy{grid-template-columns:1fr;justify-items:start;gap:7px}
 .kmb-product-quantity button{width:36px;height:38px}
 .kmb-product-quantity input{width:46px;height:38px}
 .kmb-cart-row{grid-template-columns:minmax(0,1fr) auto;gap:9px}
 .kmb-cart-product{grid-column:1/-1}
 .kmb-quantity{grid-column:1;grid-row:2}
 .kmb-line-total{grid-column:2;grid-row:2;justify-self:end}
 .kmb-remove{grid-column:2;grid-row:3}
}
@media(max-width:380px){.kmb-grid{grid-template-columns:1fr}.kmb-product-buy{grid-template-columns:auto minmax(0,1fr)}}

/* v2.4.0: persistent cart access across the storefront */
.kmb-cart-top{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border:1px solid #168b45;border-radius:999px;background:#fff;color:#126b38!important;font-weight:700;white-space:nowrap}
.kmb-cart-top-icon{font-size:17px;line-height:1}
.kmb-cart-top .kmb-cart-count,.kmb-floating-cart .kmb-cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#fff;color:#126b38;font-size:12px;font-weight:800;line-height:1}
.kmb-floating-cart{position:fixed;right:24px;bottom:92px;z-index:99999;display:flex;align-items:center;gap:10px;min-height:54px;padding:10px 16px;border:2px solid #fff;border-radius:999px;background:#168b45;color:#fff!important;text-decoration:none!important;box-shadow:0 8px 26px rgba(20,70,40,.28);font:700 14px/1.2 inherit;transition:transform .18s ease,box-shadow .18s ease}
.kmb-floating-cart:hover{background:#106f36;color:#fff!important;transform:translateY(-2px);box-shadow:0 12px 30px rgba(20,70,40,.34)}
.kmb-floating-icon{font-size:21px;line-height:1}
.kmb-floating-cart .kmb-cart-count{background:#fff;color:#126b38}
@media(max-width:640px){.kmb-header{gap:8px;padding:12px 14px}.kmb-header nav{gap:10px}.kmb-header nav a{font-size:11px}.kmb-cart-top{padding:8px 10px;gap:5px}.kmb-cart-top-label{display:none}.kmb-floating-cart{right:14px;bottom:76px;min-height:52px;padding:10px 14px;gap:8px}.kmb-floating-label{font-size:13px}}

/* v2.4.2: keep cart above WhatsApp on desktop; bring it closer on mobile */
.kmb-floating-cart{bottom:92px;right:24px}
@media(max-width:640px){.kmb-floating-cart{bottom:76px;right:14px}}

/* Footer cart action */
.kmb-footer .kmb-footer-cart-link{display:inline-flex;align-items:center;gap:11px;min-height:46px;margin-top:5px;padding:10px 15px;border:1px solid #ffffff55;border-radius:999px;background:#168b45;color:#fff!important;text-decoration:none!important;font-weight:700;transition:background .18s ease,transform .18s ease,box-shadow .18s ease}
.kmb-footer .kmb-footer-cart-link:hover,.kmb-footer .kmb-footer-cart-link:focus-visible{background:#106f36;color:#fff!important;transform:translateY(-1px);box-shadow:0 6px 18px #0003;outline:2px solid #f1dcb8;outline-offset:2px}
.kmb-footer-cart-icon{display:block;width:21px;height:21px;flex:0 0 21px;color:#fff}
.kmb-footer .kmb-footer-cart-link .kmb-cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;padding:0 7px;border-radius:999px;background:#fff;color:#126b38;font-size:12px;font-weight:800;line-height:1}
