/* Green Mart 0.5.2 — shared mobile UI, loaded after legacy and WooCommerce styles. */
:root{--market-nav-height:76px;--market-cart-height:68px;--market-ink:#183d2d;--market-muted:#63736a;--market-line:#e3ebe5;--market-radius:20px}
body{background:#f5f8f5;color:var(--market-ink);padding-bottom:calc(var(--market-nav-height) + env(safe-area-inset-bottom));font-size:16px;line-height:1.75}
h1,h2,h3,h4,p,a,span,label,bdi,strong,small{font-family:inherit}
button,input,select,textarea{font:inherit}
button,a,input,textarea{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible{outline:3px solid #83bd9b;outline-offset:3px}
button{touch-action:manipulation}
[hidden]{display:none!important}
body .container,body.logged-in.woocommerce-account .container,body.woocommerce-checkout .container,body.woocommerce-order-received .container{max-width:500px}
.market-home{padding-inline:14px}
.market-home .search-bar{margin:14px 0;position:relative}
.market-home .search-bar::before,.market-home .search-bar::after{content:none}
.market-search-icon{position:absolute;right:17px;top:17px;width:23px;height:23px;color:#61736a;z-index:2;pointer-events:none}
.market-home .search-bar input{height:58px;min-height:58px;padding:12px 52px 12px 16px;border:1px solid var(--market-line);border-radius:18px;box-shadow:0 4px 16px #163e2710;font-size:16px;color:var(--market-ink)}
.market-home .search-bar input::placeholder{color:#728077}
.market-home .search-bar input:focus{outline:2px solid #c6e4d0;outline-offset:1px}
.mive-store-hero__banner{border-radius:20px;aspect-ratio:3.4}
.mive-store-hero__banner.has-fallback{height:112px;display:flex;align-items:center;justify-content:space-between;padding:20px 24px;background:linear-gradient(110deg,#123f2b,#23673e);color:#fff}
.market-banner-copy strong{display:block;font-size:23px;font-weight:800;letter-spacing:-.6px}
.market-banner-copy span{font-size:14px;color:#e0efd6}
.market-banner-bag{width:72px;height:72px;color:#d1ed91;flex-shrink:0;transform:rotate(-9deg)}
.mive-store-card{margin:10px 0 0;padding:16px;border-radius:20px;border-color:var(--market-line);box-shadow:0 3px 14px #183d2d05}
.mive-store-card__identity h1{font-size:18px;line-height:1.65;white-space:normal}
.mive-store-card__identity p{font-size:14px;color:var(--market-muted)}
.mive-store-card__logo{flex-basis:48px;width:48px;height:48px;border-radius:14px;background:#edf5e8}
.mive-store-card__logo svg{width:29px;height:29px;stroke:var(--store-primary);fill:none;stroke-width:1.6}
.mive-store-card__meta{gap:6px;margin-top:14px;padding-top:12px}
.mive-store-card__meta span{font-size:13px;line-height:1.8}
.mive-store-card__meta b{font-size:12px;color:var(--market-muted);font-weight:500}
.mive-store-card__meta-icon{width:25px;height:25px;margin-bottom:5px}
.mive-store-card__free-shipping{font-size:13px;background:#edf5e9;color:#2c623f;padding:9px;margin:13px -4px -4px;border-radius:11px}
.mive-store-status{padding:5px 10px;min-height:30px;font-size:13px}
.mive-store-status.is-open{background:#e8f5e1;color:#316921}
.market-home-product-section,.mive-home-sale{margin:24px 0!important;padding:18px 14px 14px!important;border:0;border-radius:24px;box-shadow:none}
.mive-home-sale,.market-home-product-section--sale{background:linear-gradient(130deg,#175638,#2d774b)}
.market-home-product-section--bestselling{background:#dceccb}
.market-home-product-section--essential{background:#f6e3bc}
.market-home-product-section--newest{background:#dbece9}
.market-home-product-section--previous{background:#e6e3f1}
.market-section-heading{margin-bottom:14px;gap:8px}
.market-section-heading h2,.mive-home-sale h2{font-size:20px;font-weight:800;letter-spacing:-.5px;margin:0}
.mive-home-sale .market-section-heading h2,.market-home-product-section--sale .market-section-heading h2{color:#fff}
.market-section-heading>a{display:flex;align-items:center;gap:4px;min-height:42px;padding:6px 10px;border-radius:12px;background:#ffffffc9;color:var(--market-ink);font-size:12px;font-weight:600;white-space:nowrap}
.market-section-heading>a svg{width:16px;height:16px}
.market-home-category-grid{background:#fff;border:1px solid var(--market-line);box-shadow:none;margin:24px 0!important;padding:18px 12px!important;border-radius:24px}
.market-home-category-grid__items{gap:18px 8px;padding:12px 0 0;background:none}
.market-category-mini{gap:7px;font-size:13px;font-weight:600;line-height:1.65;color:#283e2f}
.market-category-mini__image{width:100%;height:auto;max-width:112px;aspect-ratio:1;background:#fff;border:0;border-radius:16px;box-shadow:none}
.market-category-photo{display:block;width:100%;height:100%;background-image:url('../images/categories-atlas.webp');background-size:300% 300%;background-repeat:no-repeat}
.market-category-photo--dairy{background-position:0 0}.market-category-photo--grocery{background-position:50% 0}.market-category-photo--snacks{background-position:100% 0}
.market-category-photo--beverage{background-position:0 50%}.market-category-photo--produce{background-position:50% 50%}.market-category-photo--protein{background-position:100% 50%}
.market-category-photo--breakfast{background-position:0 100%}.market-category-photo--hygiene{background-position:50% 100%}.market-category-photo--home{background-position:100% 100%}
.market-category-card__image{overflow:hidden;background:#fff}
.market-product-rail{gap:12px;padding:2px 0 6px;align-items:stretch}
.market-product-rail .product-card{width:200px;min-width:200px;flex-basis:200px;height:auto;border:0}
.product-card:not(.market-product-sheet__panel){border:1px solid #e7ede7;border-radius:19px;box-shadow:0 3px 12px #153e2406}
.product-card:not(.market-product-sheet__panel) .product-img{display:grid;place-items:center;aspect-ratio:1.2;background:#fff;padding:12px}
.product-card:not(.market-product-sheet__panel) .product-img img{height:100%;max-height:176px;width:100%;object-fit:contain;border-radius:0}
.product-info{padding:10px 12px 13px;gap:10px}
.product-title{display:block;overflow:visible;-webkit-line-clamp:unset;min-height:0;font-size:15px!important;font-weight:650!important;line-height:1.7;color:#253b2e;overflow-wrap:anywhere}
.product-price-action{margin-top:auto;align-items:center;gap:8px;flex-wrap:nowrap}
.product-price{font-size:16px;line-height:1.6;color:var(--store-primary);font-weight:800;overflow:visible;flex:1 1 0}
.product-price del{display:block;font-size:12px;line-height:1.5;color:#8b938d;font-weight:400}
.product-price ins{display:block;text-decoration:none;font-size:16px}
.product-price .woocommerce-Price-currencySymbol{font-size:11px;font-weight:500}
.product-price .screen-reader-text{position:absolute!important}
.product-card:not(.market-product-sheet__panel) button.add-btn{display:grid;place-items:center;width:44px;height:44px;min-height:44px;max-width:none;padding:0;border-radius:50%;background:var(--store-button);color:#fff;font-size:29px;font-weight:400;line-height:1}
.product-card:not(.market-product-sheet__panel) .add-btn:disabled{background:#e8ede8;color:#99a29b}
.product-card .qty-stepper{width:100px;max-width:none;min-height:42px;margin-inline-start:auto;border-radius:14px;padding:3px;background:#eaf3e6;gap:0;justify-content:space-between}
.product-card .qty-stepper button{display:grid;place-items:center;min-height:36px;width:32px;padding:0;border:0;background:none;color:var(--store-primary);font-size:23px}
.product-card .qty-stepper .qty-value{font-size:15px;font-weight:700}
.mive-sale-badge{top:10px;right:10px;padding:4px 9px;border-radius:9px;background:#e4f4c0!important;color:#285435;font-size:11px;font-weight:750;z-index:2}
.site-footer-nav{height:calc(var(--market-nav-height) + env(safe-area-inset-bottom));padding:6px 10px calc(6px + env(safe-area-inset-bottom));border-top:1px solid #e3eae4;background:#fffffff5;box-shadow:0 -4px 22px #1a412509;z-index:610;backdrop-filter:blur(12px)}
.site-footer-nav .footer-inner{height:100%;max-width:500px;align-items:stretch;gap:4px;padding:0}
.site-footer-nav .footer-item{min-width:0;padding:6px 3px;gap:4px;border-radius:15px;font-size:12px;line-height:1.4;font-weight:500;color:#69776d}
.site-footer-nav .footer-item svg{width:24px;height:24px}
.site-footer-nav .footer-item.is-active{background:#edf5e9;color:#245e39;font-weight:750}
.mive-floating-cart{bottom:calc(var(--market-nav-height) + env(safe-area-inset-bottom) + 10px);right:14px;left:14px;max-width:472px;min-height:62px;padding:10px 14px;border-radius:18px;box-shadow:0 7px 22px #173d2b24;z-index:600}
.mive-floating-cart .fc-info{font-size:15px;font-weight:650}.mive-floating-cart .fc-label{padding:8px 13px;border-radius:11px;font-size:14px}
body.market-has-cart main{padding-bottom:calc(var(--market-cart-height) + 26px)!important}
body.market-product-sheet-open .mive-floating-cart,body.mive-sheet-open .mive-floating-cart,body.mive-sheet-open .site-footer-nav{display:none!important}
.market-site-footer{background:none;color:var(--market-ink);box-shadow:none;padding:16px;margin:0 auto 20px}
.market-site-footer__support{background:#fff;border:1px solid var(--market-line);color:var(--store-primary)}
.market-site-footer__socials a{color:var(--store-primary);background:#e9f1e6}
.market-product-sheet__stage{max-height:92dvh;border-radius:28px 28px 0 0;background:#fff}
.market-product-sheet__panel.product-card{display:block;min-height:0;height:auto;padding:0;border-radius:0;border:0;background:#fff;overflow:visible}
.market-product-sheet__gallery{min-height:0;height:clamp(245px,43dvh,360px);padding:54px 32px 20px;background:#f6f8f5}
.market-product-sheet__slides,.market-product-sheet__slide{min-height:0;height:100%}
.market-product-sheet__slide img{height:100%;max-height:100%;object-fit:contain}
.market-product-sheet__toolbar{top:16px;right:16px;left:16px}
.market-product-sheet__toolbar>*{width:44px;height:44px;min-height:44px;border:0;box-shadow:0 4px 14px #1939290d}
.market-product-sheet__content{padding:20px 20px 16px}
.market-product-sheet__content h1{font-size:21px;font-weight:750;line-height:1.8;letter-spacing:-.3px}
.market-product-sheet__breadcrumbs{font-size:14px;font-weight:500;margin-top:17px;padding-top:15px;color:#397649}
.market-product-sheet__purchase{position:sticky;bottom:0;display:grid;direction:rtl;grid-template-columns:minmax(0,1fr) minmax(145px,1fr);gap:16px;padding:16px 20px calc(16px + env(safe-area-inset-bottom));min-height:95px;box-shadow:0 -4px 16px #163a2305}
.market-product-sheet__price{font-size:24px;font-weight:800;line-height:1.5}
.market-product-sheet__price del{display:block;font-size:14px;font-weight:400;color:#8a938c}.market-product-sheet__price ins{display:block;text-decoration:none}
.market-product-sheet__price .woocommerce-Price-currencySymbol{font-size:13px;font-weight:500}.market-product-sheet__price bdi{white-space:nowrap}
.market-product-sheet__action{justify-self:end;width:100%;min-width:0}
.market-product-sheet__action .add-btn,.market-product-sheet__action .qty-stepper{display:flex;width:100%;max-width:none;min-height:54px;margin:0;align-items:center;justify-content:center;border-radius:15px;padding:10px 8px;background:var(--store-button);color:#fff;font-size:16px;font-weight:700}
.market-product-sheet__action .qty-stepper{background:#e8f2e4;justify-content:space-between;padding:5px}
.market-product-sheet__action .qty-stepper button{width:44px;min-height:44px}
.cart-line{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:10px;padding:16px 12px;border:1px solid var(--market-line);border-radius:20px;box-shadow:0 3px 14px #173b2704}
.cart-line-img{width:64px;height:72px}.cart-line-img img{height:100%;width:100%;object-fit:contain;border-radius:10px}
.cart-line-info{min-width:0}.cart-line-title{font-size:15px;font-weight:650;line-height:1.75}.cart-line-price{font-size:14px;font-weight:700;margin-top:7px}
.cart-qty-stepper{display:flex;direction:rtl;width:104px;max-width:none;justify-content:space-between;gap:0;padding:4px;border-radius:15px;background:#eaf3e6}
.cart-qty-stepper button{display:grid;place-items:center;min-height:38px;width:32px;padding:0;border:0;background:none;color:var(--store-primary);font-size:23px}.cart-qty-stepper .qty-value{font-size:16px}
.cart-qty-stepper svg{width:17px;height:17px}.cart-line.is-updating{opacity:.6;pointer-events:none}
.cart-note-box{margin-top:22px}.cart-note-box label{font-size:15px}.cart-note-box textarea{border:1px solid var(--market-line);border-radius:16px;font-size:15px;padding:14px;min-height:90px}
.cart-summary{background:#fff;border:1px solid var(--market-line);padding:18px;border-radius:20px;margin-top:18px}.cart-total-row{font-size:16px;font-weight:650}.checkout-btn{min-height:54px;border-radius:14px;font-size:16px;display:flex;align-items:center;justify-content:center}
.mive-cart-minimum-warning{border-radius:14px;font-size:14px;padding:12px 15px;line-height:1.8}
.page-title{font-size:23px;font-weight:800;margin:22px 0 18px}
.market-login{max-width:460px;margin:20px auto 40px;padding:0 2px}
.market-login__back{display:inline-flex;align-items:center;gap:7px;margin-bottom:22px;color:#64776b;font-size:14px;min-height:40px}
.market-login__back svg{width:21px;height:21px}
.market-login__card{padding:30px 24px 22px;background:#fff;border:1px solid var(--market-line);border-radius:26px;box-shadow:0 14px 38px #18442b09}
.market-login__mark{display:grid;place-items:center;width:96px;height:96px;margin-bottom:20px}
.market-login__mark img{display:block;width:100%;height:100%;object-fit:contain}
.market-login__eyebrow{font-size:13px;color:#67816b;display:block;margin-bottom:5px}
.market-login h1{font-size:25px;font-weight:800;margin:0 0 9px;color:#173e2b;letter-spacing:-.6px}
.market-login__intro,.otp-sent-to{font-size:15px;color:#637168;line-height:1.9;margin:0 0 25px}
.market-login form{display:block;margin:0}.market-login label{display:block;font-size:14px;font-weight:600;margin:0 0 8px}
.market-login input{display:block;width:100%;height:58px;border:1px solid #dbe5dc;background:#fafcf9;border-radius:14px;padding:10px 15px;font-size:21px;letter-spacing:1.5px;text-align:left;box-shadow:none;outline:0}
.market-login input:focus{border-color:#4c8d61;box-shadow:0 0 0 3px #eaf3e5}.market-login input::placeholder{color:#a0aba3;font-size:18px}
.market-login #otp-code{text-align:center;letter-spacing:8px;font-size:27px}
.market-login .otp-btn-primary{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:56px;border:0;border-radius:14px;background:var(--store-button);color:#fff;padding:12px 18px;font-size:16px;font-weight:700;cursor:pointer;margin-top:15px}
.market-login .otp-btn-primary:disabled{opacity:.6;cursor:wait}.market-login .otp-btn-primary span{font-size:23px;font-weight:400}
.market-login .otp-error{font-size:13px;color:#b43135;line-height:1.8;margin:8px 0 0}.market-login .otp-error:empty{display:none}
.market-login__actions{display:flex;justify-content:space-between;gap:10px;margin-top:12px}.market-login__actions button{background:none;border:0;color:#366d46;min-height:44px;font-size:14px;padding:0;cursor:pointer}.market-login__actions button:disabled{color:#a4afa5;cursor:default}
.market-login__timer{margin:4px 0 0;font-size:13px;color:#748277}.market-login__footnote{border-top:1px solid #edf1ea;padding-top:18px;margin:24px 0 0;font-size:12px;color:#88958a;text-align:center}
@media(max-width:370px){.market-home{padding-inline:10px}.market-section-heading h2{font-size:18px}.mive-store-card{padding:12px}.mive-store-card__identity h1{font-size:16px}.mive-store-card__logo{width:40px;height:40px;flex-basis:40px}.cart-line{grid-template-columns:48px minmax(0,1fr) 92px;gap:7px;padding:14px 10px}.cart-line-img{width:48px}.cart-qty-stepper{width:92px}.cart-line-title{font-size:14px}.market-product-sheet__purchase{padding-inline:14px;gap:10px;grid-template-columns:minmax(0,1fr) 145px}.market-product-sheet__price{font-size:21px}.market-login__card{padding:25px 20px}}
@media(min-width:700px){.market-product-sheet__stage{border-radius:26px}.market-login{margin-top:45px}.market-home-category-grid__items{grid-template-columns:repeat(3,minmax(0,1fr));max-width:580px;margin:auto}.market-category-mini__image{max-width:132px}.market-category-mini{font-size:15px}.market-product-rail .product-card{width:210px;min-width:210px;flex-basis:210px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Keep purchase actions consistent with the sheet outside home-only styles. */
.market-product-sheet__panel .market-product-sheet__action .add-btn{background:var(--store-button);color:#fff}
.market-home .mive-fade{opacity:1;transition:none}

/* The desktop shell uses the same compact layout as the mobile store. */
body .site-main,body .market-site-footer{width:100%;max-width:500px;margin-inline:auto}
.site-footer-nav{width:100%;max-width:500px;margin-inline:auto}
.site-footer-nav .footer-item{flex:1 1 0;font-size:11px;white-space:nowrap}
.market-product-sheet__stage,.mive-address-sheet__panel{max-width:500px!important}
body.logged-in.woocommerce-account .mive-account{padding:0}
body.logged-in.woocommerce-account .mive-account__layout{grid-template-columns:minmax(0,1fr)}
body.logged-in.woocommerce-account .mive-address-cards{grid-template-columns:minmax(0,1fr)!important}
body.woocommerce-checkout form.checkout{display:block}
.product-grid.market-shop-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.product-card:not(.market-product-sheet__panel){container-type:inline-size;height:auto}
.product-card:not(.market-product-sheet__panel) .product-info{flex:1 1 auto;padding:8px 10px 11px;gap:8px}
.product-card:not(.market-product-sheet__panel) .product-price-action{flex-wrap:nowrap;gap:6px;min-height:42px}
.product-card:not(.market-product-sheet__panel) .product-price{flex:1 1 0;min-width:0;font-size:clamp(14px,9cqi,20px)}
.product-card:not(.market-product-sheet__panel) .product-price ins{font-size:inherit}
.product-card:not(.market-product-sheet__panel) .woocommerce-Price-currencySymbol{display:block;margin:0;font-size:10px;line-height:1.1}
.product-card:not(.market-product-sheet__panel) .product-price del{font-size:11px}
.product-card:not(.market-product-sheet__panel) .qty-stepper{flex:0 0 72px;width:72px;min-width:72px;min-height:40px;padding:2px;gap:0;margin:0;border-radius:12px}
.product-card:not(.market-product-sheet__panel) .qty-stepper button{flex:0 0 25px;width:25px;min-width:0;min-height:36px;font-size:21px}
.product-card:not(.market-product-sheet__panel) .qty-stepper .qty-value{font-size:13px}
.product-card:not(.market-product-sheet__panel) .qty-stepper svg{width:14px;height:14px}
.market-category-nav-group--root{padding:8px 4px 0;background:#fff;border-radius:18px}
.market-root-tabs{gap:6px;align-items:stretch}
.market-root-tabs button{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;flex:0 0 88px;white-space:normal;padding:6px 3px;font-size:12px;line-height:1.6;border-radius:14px}
.market-root-tabs button.is-current{background:#e6f1e0;color:var(--store-primary);box-shadow:inset 0 0 0 1px #b8d5b2}
.market-root-tab__image{display:block;width:60px;height:60px;overflow:hidden;background:#fff;border-radius:12px}
.market-root-tab__image img{width:100%;height:100%;object-fit:contain}
.market-root-tab__sale{display:grid;place-items:center;background:#e7f2dd;color:#21613b;font-size:34px;font-weight:800}
.market-category-nav-group--child.is-empty{display:none}
@container (max-width:170px){.product-card:not(.market-product-sheet__panel) .qty-stepper{flex-basis:66px;width:66px;min-width:66px}.product-card:not(.market-product-sheet__panel) .qty-stepper button{flex-basis:23px;width:23px}.product-card:not(.market-product-sheet__panel) .product-price-action{gap:4px}.product-card:not(.market-product-sheet__panel) .product-info{padding-inline:7px}}

/* 0.5.4: search, readable prices and compact sorting sheet. */
.market-shop-browser .search-bar{position:relative;margin:14px 0 20px}
.market-shop-browser .search-bar input{min-height:54px;padding:12px 50px 12px 16px;border-radius:17px;font-size:16px;border:1px solid var(--market-line);background:#fff}
.market-shop-browser .search-bar::before,.market-shop-browser .search-bar::after{content:none}
.product-price del .woocommerce-Price-currencySymbol{display:none!important}
.product-card:not(.market-product-sheet__panel) .product-price del{font-size:14px}
.product-card:not(.market-product-sheet__panel) .woocommerce-Price-currencySymbol{font-size:12px}
.mive-store-hero__banner.has-image{aspect-ratio:3;background:#28565b}
.mive-store-hero__banner.has-image img{object-fit:contain}
.mive-store-card__logo{background:none}
.mive-store-card__logo img{object-fit:contain}
.market-sort-trigger{display:flex;align-items:center;gap:7px;min-height:44px;padding:7px 11px;border:1px solid var(--market-line);border-radius:13px;color:var(--market-ink);background:#fff;font-size:13px;cursor:pointer}
.market-sort-trigger svg{width:20px;height:20px}
.market-sort-sheet{position:fixed;inset:0;z-index:10020;display:flex;align-items:flex-end;background:#09221675;direction:rtl}
.market-sort-sheet__panel{width:100%;max-width:500px;margin-inline:auto;padding:16px 18px calc(20px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;background:#fff}
.market-sort-sheet__panel header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.market-sort-sheet__panel h2{margin:0;font-size:19px;font-weight:750}
.market-sort-sheet__panel header button{width:40px;min-height:40px;border:0;border-radius:50%;background:#f1f5ee;font-size:27px;cursor:pointer}
.market-sort-option{display:flex;width:100%;align-items:center;justify-content:space-between;min-height:53px;margin:6px 0;padding:10px 14px;border:1px solid #edf1e9;border-radius:14px;background:#fff;color:var(--market-ink);font-size:16px;cursor:pointer}
.market-sort-option[aria-pressed="true"]{background:#eaf3e2;border-color:#bad3b0;color:#285c39;font-weight:750}
.market-sort-option__check{visibility:hidden;font-size:19px}.market-sort-option[aria-pressed="true"] .market-sort-option__check{visibility:visible}
body.market-sort-open{overflow:hidden}body.market-sort-open .site-footer-nav,body.market-sort-open .mive-floating-cart{display:none!important}
@container (max-width:175px){.product-card:not(.market-product-sheet__panel) .product-price{font-size:14px}.product-card:not(.market-product-sheet__panel) .product-price del{font-size:12px}.product-card:not(.market-product-sheet__panel) .product-price-action{gap:3px}}

/* Compact store summary; the banner carries the store identity. */
.mive-store-card--compact{padding:12px 14px;border-radius:18px;margin-top:8px}
.mive-store-card__summary{display:flex;align-items:center;justify-content:space-between;gap:10px}
.mive-store-card--compact .mive-store-status{min-height:28px;padding:3px 11px;font-size:13px}
.mive-store-card__shipping-note{font-size:13px;font-weight:650;line-height:1.8;color:#326440;text-align:left}
.mive-store-card--compact .mive-store-card__meta{margin-top:10px;padding-top:10px;gap:9px}
.mive-store-card--compact .mive-store-card__meta>span{display:flex;align-items:center;justify-content:center;gap:5px;text-align:right;line-height:1.65}
.mive-store-card--compact .mive-store-card__meta-icon{flex:0 0 19px;width:19px;height:19px;margin:0}
.mive-store-card--compact .mive-store-card__detail{display:block;text-align:right;font-size:13px}
.mive-store-card__detail strong{display:block;font-size:13px;font-weight:650}
.mive-store-card--compact .mive-store-card__meta b{font-size:12px;margin-bottom:1px}
.mive-store-fallback-title{font-size:20px;margin:12px 0 8px}
.mive-floating-cart{gap:8px;padding:9px 10px 9px 14px}
.mive-floating-cart .fc-link{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:1;min-width:0;color:inherit;text-decoration:none}
.mive-floating-cart .fc-info{font-size:14px;line-height:1.7}
.mive-floating-cart .fc-label{flex:0 0 auto;white-space:nowrap}
.mive-floating-cart .fc-dismiss{display:grid;place-items:center;flex:0 0 36px;width:36px;min-height:40px;border:0;border-radius:10px;background:#ffffff18;color:#fff;font-family:inherit;font-size:25px;cursor:pointer}
@media(max-width:370px){.mive-store-card--compact{padding:11px 10px}.mive-store-card--compact .mive-store-card__meta-icon{display:none}.mive-store-card__shipping-note{font-size:12px}.mive-floating-cart .fc-info{font-size:13px}.mive-floating-cart .fc-label{padding:7px 10px;font-size:13px}}

/* 0.5.6: simple delivery facts and personal account header. */
.mive-store-card--compact .mive-store-card__meta{margin-top:0;padding-top:0;border-top:0;min-height:48px}
.mive-store-card--compact .market-courier-icon{width:22px;height:22px;flex-basis:22px}
.market-sale-visual{position:relative;overflow:hidden;background:#fff}
.market-sale-visual__badge{position:absolute;right:8%;bottom:8%;display:grid;place-items:center;width:30%;height:30%;min-width:23px;min-height:23px;border-radius:27% 27% 27% 7%;background:#f6a536;color:#683c07;font-size:clamp(17px,3.4vw,29px);font-weight:800;box-shadow:0 3px 9px #8e590b26;transform:rotate(-9deg)}
.market-root-tab__sale.market-sale-visual{background:#fff}
.market-root-tab__sale .market-sale-visual__badge{right:3%;bottom:5%;font-size:17px}
.market-account-identity{text-align:center;padding:12px 10px 21px}
.market-account-avatar{display:grid;place-items:center;width:62px;height:62px;margin:0 auto 12px;border-radius:22px;background:#e9f3e3;color:#2c6540}
.market-account-avatar svg{width:31px;height:31px}
.market-account-identity h1{font-size:23px;margin:0 0 9px;line-height:1.6}
.market-account-name{margin:0 0 5px;font-size:17px;font-weight:650;color:var(--market-ink)}
.market-account-phone{display:inline-flex;align-items:center;gap:6px;margin:0;font-size:15px;color:var(--market-muted)}
.market-account-phone svg{width:17px;height:17px}
.market-profile-intro{font-size:15px;line-height:1.9;color:var(--market-muted);margin:0 0 18px}
.mive-simple-account #mive-account-name{border-radius:14px;min-height:54px;font-size:16px}
.mive-simple-account .mive-account-button{border-radius:14px;font-size:16px;min-height:52px}

/* Search rows keep their own layout instead of inheriting the catalog grid. */
.mive-product-search .mive-search-result{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-width:0;min-height:104px;height:auto;padding:14px 10px;border:1px solid var(--market-line);border-radius:16px;background:#fff;box-shadow:none}
.mive-product-search .mive-search-result+.mive-search-result{margin-top:8px}
.mive-product-search .mive-search-result__image{position:relative;display:block;grid-row:auto;align-self:center;width:64px;height:72px;overflow:visible}
.mive-product-search .mive-search-result__image img{width:100%;height:100%;border-radius:10px;object-fit:contain;background:#fff}
.mive-product-search .mive-search-result .mive-sale-badge{top:-8px;right:-4px;left:auto;padding:3px 6px;border-radius:8px;font-size:10px;line-height:1.6;white-space:nowrap}
.mive-product-search .mive-search-result__title{margin:0 0 6px;font-size:15px;line-height:1.7;font-weight:800;white-space:normal;overflow:visible;text-overflow:clip}
.mive-product-search .mive-search-result__price{display:flex;flex-direction:column;align-items:flex-start;gap:2px;font-size:18px;font-weight:800;line-height:1.6;color:var(--store-primary)}
.mive-product-search .mive-search-result__price del{display:block;margin:0;color:var(--market-muted);font-size:12px;font-weight:500;opacity:.85;text-decoration:line-through}
.mive-product-search .mive-search-result__price ins{display:block;margin:0;background:none;text-decoration:none;font-size:18px;font-weight:800}
.mive-product-search .mive-search-result__price bdi{white-space:nowrap}
.mive-product-search .mive-search-result__price .woocommerce-Price-currencySymbol{display:inline;margin-inline-start:4px;font-size:11px;font-weight:500;white-space:nowrap}
.mive-product-search .mive-search-result__action{grid-column:auto;justify-self:end;margin:0;min-width:44px}
.mive-product-search .mive-search-result__action .add-btn{display:grid;place-items:center;flex:0 0 44px;width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;margin:0;padding:0;border-radius:50%;font-size:25px;line-height:1;background:var(--store-primary);color:#fff}
.mive-product-search .mive-search-result__action .qty-stepper{width:82px;min-width:82px;max-width:82px;flex-basis:82px;height:38px;min-height:38px;margin:0;padding:0;border-radius:12px}
.mive-product-search .mive-search-result__action .qty-stepper button{width:26px;min-width:26px;flex-basis:26px;height:36px;min-height:36px;padding:0}
@media(max-width:360px){.mive-product-search .mive-search-result{grid-template-columns:52px minmax(0,1fr) auto;gap:8px;padding:12px 8px}.mive-product-search .mive-search-result__image{width:52px;height:64px}.mive-product-search .mive-search-result__title{font-size:14px}.mive-product-search .mive-search-result__price,.mive-product-search .mive-search-result__price ins{font-size:16px}.mive-product-search .mive-search-result__action .qty-stepper{width:74px;min-width:74px;max-width:74px}.mive-product-search .mive-search-result__action .qty-stepper button{width:23px;min-width:23px;flex-basis:23px}}

/* Compact checkout cards; the payment gateway fields remain native WooCommerce. */
body.woocommerce-checkout .mive-checkout-card--summary{padding:16px}
body.woocommerce-checkout .mive-checkout-card--summary .mive-checkout-card__title{margin-bottom:6px;padding-bottom:10px;font-size:17px}
body.woocommerce-checkout .mive-order-summary-table tr.cart_item{align-items:center;min-height:60px;padding:9px 0;gap:10px}
body.woocommerce-checkout .mive-order-summary-table td.product-name{flex:1 1 0;min-width:0;padding-left:0}
body.woocommerce-checkout .mive-order-product{gap:9px}
body.woocommerce-checkout .mive-order-product__image{width:40px;height:40px;flex-basis:40px;border-radius:10px;background:#fff}
body.woocommerce-checkout .mive-order-product__image img{object-fit:contain}
body.woocommerce-checkout .mive-order-product-name{font-size:14px;line-height:1.6}
body.woocommerce-checkout .mive-order-summary-table .product-quantity{font-size:12px;line-height:1.5}
body.woocommerce-checkout .mive-order-summary-table td.product-total{font-size:15px;font-weight:700}
body.woocommerce-checkout .mive-order-summary-table .woocommerce-Price-currencySymbol{font-size:11px;font-weight:500}
body.woocommerce-checkout .mive-order-summary-table tfoot tr{align-items:center;padding:9px 0;border-bottom:1px solid var(--market-line)}
body.woocommerce-checkout .mive-order-summary-table tfoot th,body.woocommerce-checkout .mive-order-summary-table tfoot td{font-size:14px}
body.woocommerce-checkout .mive-order-summary-table tr.order-total{margin-top:8px;padding:11px 12px;border:0;border-radius:12px;background:#eef6ee}
body.woocommerce-checkout .mive-order-summary-table tr.order-total th,body.woocommerce-checkout .mive-order-summary-table tr.order-total td{font-size:16px;font-weight:800;color:var(--store-primary)}
body.woocommerce-checkout #payment.mive-checkout-card--payment{padding:16px;border:1px solid var(--market-line);border-radius:18px;background:#fff;box-shadow:0 4px 16px #183d2d06}
body.woocommerce-checkout #payment.mive-checkout-card--payment ul.payment_methods{padding:0;margin:0 0 14px;border:0;background:transparent}
body.woocommerce-checkout #payment.mive-checkout-card--payment ul.payment_methods li{padding:12px 14px;border-radius:13px;background:#fff}
body.woocommerce-checkout #payment.mive-checkout-card--payment ul.payment_methods li:has(input:checked){border-color:#b8d3be;background:#f0f7ee}
body.woocommerce-checkout #payment.mive-checkout-card--payment div.payment_box{width:100%;margin:6px 0 0;padding:8px 0 0;border-top:1px solid #dce9dc;border-radius:0;background:transparent;color:var(--market-muted);font-size:14px;line-height:1.8;box-shadow:none}
body.woocommerce-checkout #payment.mive-checkout-card--payment div.payment_box::before{display:none}
body.woocommerce-checkout #payment.mive-checkout-card--payment div.payment_box p{margin:0;color:inherit}
body.woocommerce-checkout #payment.mive-checkout-card--payment .place-order{padding:0;margin:0;border:0;background:transparent}
