:root{--market-ink:#102e56;--market-muted:#5b6a7b;--market-orange:#ff704f;--market-line:#e6ebf0}
body{background:#fff!important;color:var(--market-ink)!important}
.shop-shell{--ink:#102e56;--primary-text:#102e56;--muted:#5b6a7b;--wine:#ff704f;--paper:#fff;--line:#e6ebf0;--surface-secondary:#edf5fb;--on-primary:#fff;--product-photo-bg:#f7f8fa;--product-photo-hover-bg:#f7f8fa;background:#fff;color:#102e56;overflow:clip}
.shop-shell .wrap{width:min(100% - 44px,1320px);margin-inline:auto}
.announcement{min-height:30px;display:flex;justify-content:center;align-items:center;gap:18px;padding:5px;background:#102e56;color:#fff;font-size:11px}
.announcement span{color:#dbe7f3}
.market-header{position:sticky;top:0;z-index:35;background:rgba(255,255,255,.95);backdrop-filter:blur(15px);border-bottom:1px solid #e9eef2;box-shadow:0 4px 20px #102e560c;padding:10px 22px 0!important}
.header-main{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:22px;min-height:54px}
.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none}
.brand-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#eef7ee;border:1px solid #dcebd9;box-shadow:inset 0 0 0 3px #fff}
.brand-mark svg{width:26px;height:26px}
.brand-name{font:700 22px/1.15 var(--sans);letter-spacing:-.7px;color:#102e56;white-space:nowrap}



.header-actions{display:flex;align-items:center;gap:8px}
.icon-button,.menu-toggle{width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:#102e56}
.icon-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.icon-button:hover,.menu-toggle:hover{background:#edf5fb}
.menu-toggle{display:none}
.nav-row{display:flex;align-items:center;gap:24px;min-height:45px;border-top:1px solid #f0f2f4;margin-top:7px}
.catalog-pill{min-height:34px;padding:0 13px;display:flex;align-items:center;gap:9px;border:0;border-radius:999px;background:#ffe8b5;color:#102e56;font:600 12px var(--sans);cursor:pointer}
.catalog-pill svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}
.nav-links{display:flex;align-items:center;gap:clamp(13px,2vw,30px);min-width:0;overflow:hidden}
.nav-links button{padding:12px 0;border:0;background:none;color:#263e5e;font:600 12px var(--sans);white-space:nowrap;cursor:pointer}
.nav-links button:hover{color:#ff704f}
.nav-links button:last-child{color:#f06449}
.header-contact{margin-left:auto;white-space:nowrap;text-decoration:none;font-size:12px;font-weight:600}
.mobile-menu{display:none}
.hero{position:relative;isolation:isolate;min-height:350px;padding:52px 0 42px!important;background:#dfeefa;overflow:hidden}
.hero-backdrop{position:absolute;z-index:-2;inset:0}
.hero-backdrop img{width:100%;height:100%;object-fit:cover;object-position:center 54%;display:block}
.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.9),rgba(255,255,255,.78) 34%,rgba(255,255,255,.3) 62%,transparent)}
.hero-copy{display:block!important;position:relative;padding:0 22px!important}
.hero-copy>.eyebrow{margin:0 0 15px!important;display:flex;align-items:center;gap:9px;color:#396a45;font-size:11px;font-weight:700;letter-spacing:.16em}
.tiny-star{color:#f4a62c;font-size:17px}
.hero-copy>h1{max-width:690px;margin:0 0 2px!important;color:#102e56;font:700 clamp(48px,6.2vw,78px)/1.02 var(--sans)!important;letter-spacing:-.055em!important}
.hero-subtitle{margin:0 0 14px;color:#153c69;font:600 clamp(25px,3.3vw,41px)/1.14 var(--sans);letter-spacing:-.04em}
.hero-description{max-width:420px;margin:0 0 22px;color:#344c68;font-size:15px;line-height:1.65}
.hero-button,.contact-copy .button,.dialog-copy>.button{min-height:46px;padding:0 22px!important;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0!important;border-radius:999px!important;background:#ff704f!important;color:#fff!important;font:600 13px var(--sans);text-decoration:none;box-shadow:0 6px 18px #ff704f33}
.hero-footnote{display:flex;align-items:center;gap:10px;margin-top:19px;color:#53667d;font-size:11px}
.qualities{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:56px;border-bottom:1px solid #edf0f3;color:#425a71;font-size:11px}
.qualities>span{display:flex;align-items:center;gap:8px}
.qualities>span:before{content:"✓";width:19px;height:19px;display:grid;place-items:center;border-radius:50%;background:#eef6e9;color:#4c8a43;font-weight:700}
.qualities>a{color:#3d7642!important;text-decoration:none;font-weight:600}
.featured-categories{padding-top:36px}
.section-heading{align-items:end!important;margin-bottom:18px!important}
.section-heading h2,.about h2,.contact h2{color:#102e56;font:700 clamp(24px,2.5vw,32px)/1.15 var(--sans)!important;letter-spacing:-.04em!important}
.text-link{display:inline-flex;align-items:center;gap:7px;color:#2876d2!important;font-size:12px;font-weight:600;text-decoration:none}
.featured-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.featured-category{position:relative;isolation:isolate;display:block;min-width:0;aspect-ratio:1.85/1;overflow:hidden;padding:0;border:0;border-radius:14px;background:#dfe8ef;text-align:left;cursor:pointer;box-shadow:0 3px 12px #102e5614;transition:transform .2s,box-shadow .2s}
.featured-category img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .35s}
.featured-category-shade{position:absolute;inset:0;background:linear-gradient(90deg,#0c2549b8,#0c254930 75%),linear-gradient(0deg,#0c254938,transparent 60%)}
.featured-category-copy{position:absolute;left:17px;bottom:17px;z-index:1;display:grid;gap:6px;color:#fff}
.featured-category-copy strong{font:700 clamp(17px,1.5vw,22px)/1.15 var(--sans)}
.featured-category-copy small{font-size:10px;color:#ffffffe0}
.featured-category-arrow{position:absolute;right:14px;top:14px;width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:#fffffff0;color:#102e56;z-index:1}
.featured-category:hover{transform:translateY(-3px);box-shadow:0 9px 22px #102e5626}
.featured-category:hover img{transform:scale(1.035)}
.catalog{padding-top:38px!important}
.catalog-heading{margin-bottom:15px!important}
.catalog-heading>p{max-width:310px;color:#6b7b8b;font-size:12px;line-height:1.55}
.category-directory{margin:4px 0 13px!important}
.category-directory>summary{min-height:46px;padding:0 12px!important;border:1px solid #e6ebf0!important;border-radius:10px;color:#244566!important;background:#fff;font-size:12px!important;font-weight:600}
.category-cards{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
.category-card{min-height:138px!important;border-radius:12px!important;background:#e7eff5!important}
.category-open{min-height:138px!important;padding:17px!important;justify-content:flex-end!important;gap:7px!important;color:#fff!important}
.category-open img{transition:transform .3s}
.category-card.has-photo .category-open:after{background:linear-gradient(0deg,#09203dc2,#09203d0f 84%)!important}
.category-open:hover img{transform:scale(1.04)}
.category-label{font:700 clamp(16px,1.4vw,20px)/1.15 var(--sans)!important}
.category-open>small{font-size:10px!important;color:#ffffffde!important}
.category-open-arrow{position:absolute;left:13px;right:auto;top:13px;z-index:1;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#18395f}
.catalog-toolbar{border:0!important;padding:8px 0 12px!important}
.categories{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;overflow-x:auto!important;padding:5px 0 11px;scrollbar-width:thin}
.category{flex:none!important;padding:8px 13px!important;border:1px solid #e2e9ef!important;border-radius:999px!important;background:#fff!important;color:#53677d!important;font-size:11px!important}
.category.active{border-color:#dbe8f5!important;background:#eaf3fb!important;color:#12345e!important}
.catalog-options{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:2px 0 14px}
.admin-variant-view{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 14px;font:600 13px/1.4 var(--sans);color:#24435f}
.admin-variant-view[hidden]{display:none}
.admin-variant-view select{min-height:44px;max-width:100%;padding:8px 12px;border:1px solid #d7e2d1;border-radius:9px;background:#fff;color:#24435f;font:500 14px/1.4 var(--sans)}
.dialog-price-notice{margin:8px 0;color:#66563b;font:400 13px/1.5 var(--sans)}
.dialog-price-notice[hidden]{display:none}
#addToCartFromDetails:disabled,.cart-stepper button:disabled{opacity:.55;cursor:not-allowed}
#catalogCount{color:#61758a!important;font-size:11px}
.catalog-options select{border:1px solid #e6ebf0!important;border-radius:9px!important;background:#fff!important;color:#334e6d!important;padding:9px 12px!important}
.product-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important}
.product-card{min-width:0;overflow:hidden;border:1px solid #edf0f3!important;border-radius:12px!important;background:#fff!important;box-shadow:0 3px 12px #102e560b;transition:box-shadow .18s,transform .18s}
.product-card:hover{transform:translateY(-2px);box-shadow:0 9px 22px #102e561a}
.product-image-button,.product-image-button:hover{background:#f7f8fa!important;box-shadow:none!important}
.product-image-button{overflow:hidden;border-radius:10px 10px 0 0}
.product-image-button img{transition:transform .25s}
.product-image-button:hover img{transform:scale(1.025)}
.product-brand{color:#657d94!important;font-size:10px!important;font-weight:600}
.product-title button{color:#153355!important;font:600 13px/1.4 var(--sans)!important}
.product-size{color:#738196!important;font-size:11px!important;line-height:1.5}
.product-price{color:#132f52!important;font:700 15px/1.35 var(--sans)!important}
.stock-badge{top:10px!important;left:10px!important;padding:6px 9px!important;border-radius:999px!important;background:#c9434b!important;color:#fff!important;font-size:10px!important}
.stock-status.is-in-stock{background:#388344!important;color:#fff!important}
.stock-status.is-out-of-stock{background:#bd3541!important;color:#fff!important}
.catalog-note{margin-top:19px!important;padding:12px 15px;border-radius:9px;background:#f6f8fa;color:#68798a;font-size:11px!important}
.about,.contact{margin-top:38px!important;padding:40px!important;border:1px solid #e9eff3;border-radius:17px;background:linear-gradient(135deg,#f4f9fc,#fff)!important}
.about-copy>p,.contact-copy>p{max-width:620px;color:#53677d;font-size:14px;line-height:1.8}
.about h2 em,.contact h2 em{color:#367b52!important}
.contact{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:35px;background:#f8fafb!important}
.contact-copy{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.footer{display:flex;flex-wrap:wrap;align-items:center;gap:16px 25px;margin-top:18px!important;padding-top:25px!important;padding-bottom:30px!important;border-top:1px solid #edf0f3;color:#65778b}
.footer .wordmark{color:#16355b!important;font:700 16px var(--sans);text-decoration:none;text-transform:capitalize}
.footer>p{margin:0;color:#66798c;font-size:12px}
.footer>div{display:flex;gap:18px;margin-left:auto}
.footer>div a{font-size:11px;text-decoration:none}
.footer-note{width:100%;color:#8290a0!important;font-size:10px!important}
.shop-shell .social-dialog,.shop-shell .builder-dialog,.shop-shell #productDialog{border:1px solid #e6ebf0;border-radius:16px;box-shadow:0 24px 80px #0c264438}
.shop-shell .social-channel{border-radius:12px!important}
.shop-shell :focus-visible{outline-color:#2479d1!important}
@media(max-width:1100px){.header-main{grid-template-columns:minmax(0,1fr) auto;gap:15px}.brand-name{font-size:20px}.nav-row{gap:18px}.nav-links{gap:15px}.nav-links button{font-size:11px}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.featured-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.featured-category{aspect-ratio:2.1/1}}
@media(max-width:760px){
.shop-shell .wrap{width:min(100% - 28px,1320px)}.announcement{min-height:27px;font-size:9px}.market-header{padding:8px 14px 0!important}
.header-main{grid-template-columns:minmax(0,1fr) auto;gap:9px;min-height:51px}.brand{gap:8px}.brand-mark{width:36px;height:36px}.brand-mark svg{width:23px;height:23px}.brand-name{font-size:19px}
.header-actions{grid-column:2;grid-row:1}.icon-button{width:34px;height:34px}.icon-button:nth-child(2){display:none}
.menu-toggle{display:flex;flex-direction:column;gap:4px;width:34px;height:34px}.menu-toggle span{width:16px;height:1.5px;background:currentColor}
.nav-row{min-height:41px;margin-top:1px;gap:12px}.catalog-pill{min-height:31px;padding:0 11px}.nav-links{flex:1;gap:13px;overflow-x:auto;scrollbar-width:none}.nav-links button{font-size:10px}.header-contact{display:none}
.mobile-menu:not([hidden]){position:absolute;top:calc(100% - 1px);left:0;right:0;z-index:36;display:grid;padding:8px 16px 14px;border-top:1px solid #edf0f3;background:#fff;box-shadow:0 14px 20px #102e561c}.mobile-menu a{padding:11px 6px;border-bottom:1px solid #f1f3f5;color:#244565!important;font-size:13px;text-decoration:none}
.hero{min-height:0;padding:35px 0 28px!important}.hero-backdrop img{object-position:58% center}.hero-shade{background:linear-gradient(90deg,#ffffffe8,#ffffffbf 58%,#ffffff40),linear-gradient(0deg,#ffffff73,transparent 65%)}
.hero-copy{padding-inline:6px!important}.hero-copy>.eyebrow{margin-bottom:13px!important;font-size:9px!important}.hero-copy>h1{font-size:clamp(43px,11vw,66px)!important;max-width:420px}.hero-subtitle{max-width:360px;font-size:clamp(24px,6vw,34px)}.hero-description{max-width:350px;font-size:13px;line-height:1.6}.hero-footnote{font-size:10px}
.qualities{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;padding-block:13px;font-size:10px}.qualities>a{grid-column:1/-1}
.featured-categories{padding-top:27px}.featured-category-grid{grid-template-columns:1fr 1fr;gap:9px}.featured-category{aspect-ratio:1.25/1;border-radius:11px}.featured-category-copy{left:12px;bottom:12px;gap:4px}.featured-category-copy strong{font-size:16px}.featured-category-copy small{font-size:9px}.featured-category-arrow{right:9px;top:9px;width:27px;height:27px}
.catalog{padding-top:29px!important}.catalog-heading>p{display:none}.category-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.category-card,.category-open{min-height:103px!important}.category-open{padding:12px!important}.category-label{font-size:16px!important}.category-open>small{font-size:9px!important}.category-open-arrow{width:24px;height:24px;left:9px;right:auto;top:9px}
.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.product-card{border-radius:10px!important}.product-title button{font-size:12px!important}.product-price{font-size:13px!important}.product-brand{font-size:9px!important}.product-size{font-size:10px!important}.product-image-button:hover img{transform:none}
.about,.contact{margin-top:24px!important;padding:23px!important;border-radius:14px}.about-copy>p,.contact-copy>p{font-size:13px}.contact{grid-template-columns:1fr;gap:14px}.footer{gap:12px 18px;padding-top:20px!important}.footer>div{margin-left:0}
}
@media(max-width:390px){.header-actions{gap:3px}.brand-name{font-size:17px}.hero-copy>h1{font-size:43px!important}.featured-category{aspect-ratio:1.1/1}.featured-category-copy strong{font-size:15px}.product-grid{gap:8px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.featured-category,.featured-category img,.featured-category-arrow,.product-card,.hero-button{transition:none}}
/* Image-only category selection, closed until the visitor opens the directory. */
.catalog-toolbar,#categoryFilters,#headerCategoryLinks{display:none!important}
.brand-mark{overflow:hidden;background:#fff;border-color:#e1ebe1}
.brand-mark img{display:block;width:31px;height:31px;object-fit:contain;border-radius:50%}
@media(max-width:760px){.brand-mark img{width:27px;height:27px}}
/* Product cards: readable copy, safe wrapping and comfortable touch targets. */
.product-card{display:flex;flex-direction:column;min-width:0}
.product-info{display:flex;flex:1;flex-direction:column;align-items:stretch;min-width:0;padding:14px!important}
.product-brand{min-width:0;margin:0 0 7px!important;line-height:1.45;overflow-wrap:anywhere}
.product-title{min-width:0;margin:0 0 6px!important;line-height:1.42!important;overflow-wrap:anywhere;hyphens:auto}
.product-title button{display:block;width:100%;max-width:100%;min-width:0;text-align:left;white-space:normal;overflow-wrap:anywhere;word-break:normal;hyphens:auto}
.product-size{min-width:0;margin:0 0 12px!important;line-height:1.5!important;overflow-wrap:anywhere}
.product-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0}
.product-price{display:block;min-width:0;white-space:normal!important;overflow-wrap:anywhere}
.price-unit{display:block;margin:3px 0 0!important;white-space:normal!important;line-height:1.35}
.product-detail{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:40px;padding:8px 10px!important;border:1px solid #e6ebf0!important;border-radius:8px;color:#244566!important;font-size:11px!important;line-height:1.35}
.product-card .price-status{min-width:0;margin-top:8px;line-height:1.5;overflow-wrap:anywhere;word-break:break-word}
.has-variants .product-title{height:auto!important;max-height:none;overflow:visible!important}
.has-variants .product-title button{display:block;-webkit-line-clamp:unset;overflow:visible}
.has-variants .product-size{height:auto!important;max-height:none;overflow:visible}
@media(max-width:480px){
 .product-grid{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
 .product-image-button{aspect-ratio:1.6/1;padding:14px!important}
 .product-info{padding:15px 16px 14px!important}
 .product-brand{font-size:10px!important}
 .product-title,.product-title button{font-size:15px!important;line-height:1.45!important}
 .product-size{font-size:12px!important}
 .product-price{font-size:16px!important;line-height:1.4!important}
 .price-unit{font-size:11px!important}
 .product-detail{min-height:42px;padding-inline:12px!important;font-size:12px!important}
 .product-card .price-status{font-size:11px!important}
}
@media(max-width:350px){
 .product-bottom{grid-template-columns:minmax(0,1fr) auto;gap:6px}
 .product-info{padding-inline:13px!important}
 .product-detail{padding-inline:9px!important}
}
.catalog-pill{flex:0 0 auto;white-space:nowrap;min-width:max-content}
.catalog-pill>span{display:inline-block;white-space:nowrap;flex:0 0 auto}
.catalog-pill>svg{flex:0 0 auto}
@media(max-width:760px){.catalog-pill{min-width:116px;justify-content:center}}
/* Keep product search beside the catalog count and sorting controls. */
.catalog-options{display:grid;grid-template-columns:minmax(220px,340px) minmax(0,1fr) auto;align-items:center;gap:14px;margin:2px 0 14px}
.catalog-search{width:100%;max-width:340px;min-height:42px;display:flex;align-items:center;align-self:center;gap:10px;padding:0 13px;border:1px solid #e6ebf0;border-radius:10px;background:#fff;color:#53677f}
.catalog-search input{width:100%;min-width:0;border:0!important;outline:0;background:transparent!important;color:#102e56!important;font:400 13px/1.4 var(--sans);padding:10px 0!important;box-shadow:none!important}
.catalog-search input::placeholder{color:#8090a2}
.catalog-options>label:not(.catalog-search){grid-column:3}
@media(max-width:760px){.catalog-options{grid-template-columns:minmax(0,1fr) auto;gap:10px;margin:2px 0 12px}.catalog-search{grid-column:1/-1;max-width:none}.catalog-options>p{grid-column:1;min-width:0}.catalog-options>label:not(.catalog-search){grid-column:2}}
/* The full supplied Herb logo, cropped to a compact horizontal lockup. */
.brand{gap:9px}
.brand-wordmark{position:relative;display:block;width:112px;height:59px;flex:0 0 112px;overflow:hidden;background:#fff}
.brand-wordmark img{position:absolute;left:-14px;top:-56px;display:block;width:140px;max-width:none;height:140px;object-fit:cover}
@media(max-width:760px){.brand{gap:8px}.brand-wordmark{width:102px;height:54px;flex-basis:102px}.brand-wordmark img{left:-13px;top:-51px;width:128px;height:128px}}
/* Category search appears only inside the expanded photo directory. */
.category-search{width:min(100%,380px);align-self:stretch;display:flex;align-items:center;gap:9px;margin:0 0 11px;padding:0 12px;border:1px solid #e6ebf0;border-radius:10px;background:#fff;color:#61758a}
.category-search input{width:100%;min-width:0;border:0!important;outline:0;background:transparent!important;color:#102e56!important;font:400 13px/1.4 var(--sans);padding:10px 0!important;box-shadow:none!important}
.category-search input::placeholder{color:#8090a2}
.category-search-status{margin:0 0 10px;color:#61758a;font-size:11px}
.category-search-status:empty,.category-cards.filtered-empty{display:none!important}
/* Hide control for the expanded category directory. */
.category-directory-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.category-directory-controls .category-search{flex:0 1 380px;margin:0}
.category-hide-button{min-height:42px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #e6ebf0;border-radius:10px;background:#fff;color:#53677d;font:600 12px var(--sans);white-space:nowrap;cursor:pointer}
.category-hide-button:hover{background:#f4f7fa;color:#102e56}
.category-hide-button span{font-size:16px;line-height:1}
@media(max-width:560px){.category-directory-controls{align-items:stretch;flex-direction:column;gap:8px}.category-directory-controls .category-search{width:100%;max-width:none;flex:0 1 auto;min-height:44px}.category-hide-button{align-self:flex-end;min-height:44px}}
/* Favorites controls. */
.favorite-toggle{position:relative;flex:none;cursor:pointer}.favorite-toggle svg,.favorite-product-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.favorite-toggle.is-active,.favorite-product-button.is-active{color:#e25765}.favorite-toggle.is-active svg,.favorite-product-button.is-active svg{fill:currentColor}.favorite-count{position:absolute;top:0;right:-2px;min-width:16px;height:16px;padding:0 4px;display:grid;place-items:center;border:2px solid #fff;border-radius:999px;background:#ff704f;color:#fff;font:700 9px/1 var(--sans)}.favorite-count[hidden]{display:none}.product-card{position:relative}.favorite-product-button{position:absolute;z-index:4;top:9px;right:9px;width:34px;height:34px;display:grid;place-items:center;border:1px solid #e8edf1;border-radius:50%;background:#ffffffed;color:#53677d;box-shadow:0 2px 8px #102e5614;cursor:pointer;transition:color .16s,transform .16s,background .16s}.favorite-product-button:hover{transform:scale(1.06);background:#fff;color:#e25765}.favorite-product-button svg{width:18px;height:18px}.favorite-product-button:focus-visible,.favorite-toggle:focus-visible{outline:2px solid #2479d1;outline-offset:2px}

/* Product management only: keep catalog actions available without site design mode. */
.builder-bar #modeToggle,.builder-bar #undoChange,.builder-bar #redoChange,.builder-bar #exportSite,.builder-bar #importSite,.builder-bar #cloudBackups{display:none!important}.builder-tools #addProduct,.builder-tools #addCategory{display:inline-flex;white-space:nowrap;min-height:36px;padding:8px 11px}body:not(.builder-editing) .product-actions,body:not(.builder-editing) .category-card .entity-actions{display:flex!important}body:not(.builder-editing) .category-card .category-open{padding-bottom:50px}

/* Cart and checkout prototype. */
.cart-toggle{position:relative;flex:none;cursor:pointer}.cart-toggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.cart-count{font-size:8px}
.cart-dialog{width:min(760px,calc(100% - 24px));max-height:min(88dvh,820px);overflow:auto;padding:22px 24px}.cart-dialog .builder-dialog-heading,.payment-prototype-dialog .builder-dialog-heading{margin-bottom:16px}.cart-items{display:grid;gap:10px}.cart-item{display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:13px;padding:12px;border:1px solid #e7edf2;border-radius:12px;background:#fff}.cart-item-image,.cart-placeholder{width:76px;height:76px;border-radius:9px;background:#f6f8fa;object-fit:contain}.cart-placeholder{display:grid;place-items:center;color:#8c98a7;font-size:24px}.cart-item-copy{min-width:0;display:grid;gap:6px}.cart-item-copy>strong{overflow-wrap:anywhere;color:#153355;font-size:13px;line-height:1.4}.cart-item-copy>small{color:#65778b;font-size:11px;line-height:1.45}.cart-item-side{display:grid;justify-items:end;align-content:center;gap:8px;white-space:nowrap}.cart-item-side>strong{font-size:13px}.cart-stepper{width:max-content;display:flex;align-items:center;gap:5px;padding:3px;border:1px solid #dfe6ec;border-radius:9px;background:#fff}.cart-stepper button{width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:6px;background:#f2f6f8;color:#17365a;font-size:19px;line-height:1;cursor:pointer}.cart-stepper button:hover{background:#e6eff5}.cart-stepper input{width:42px;padding:4px 1px;border:0;background:transparent;text-align:center;color:#17365a;font:600 13px var(--sans);appearance:textfield}.cart-stepper input::-webkit-inner-spin-button,.cart-stepper input::-webkit-outer-spin-button{appearance:none;margin:0}.cart-remove{border:0;background:none;color:#a83d48;font:500 11px var(--sans);text-decoration:underline;cursor:pointer}.cart-summary{margin-top:16px;padding-top:15px;border-top:1px solid #e6ebf0}.cart-summary[hidden]{display:none}.cart-summary-row{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#53677d;font-size:13px}.cart-summary-row strong{color:#102e56;font-size:20px}.cart-quantity-summary,.cart-price-note,.cart-disclaimer{display:block;margin:5px 0;color:#738196;font-size:11px;line-height:1.5}.cart-price-note:empty{display:none}.cart-empty{padding:30px 10px;text-align:center;color:#65778b;line-height:1.7}.cart-empty[hidden]{display:none}.cart-empty .subtle-button{display:block;margin:10px auto 0;color:#387d50;cursor:pointer}.cart-contacts{margin:13px 0;border:1px solid #e5ebef;border-radius:10px;background:#fbfcfd}.cart-contacts summary{padding:11px 13px;color:#17365a;font-size:12px;font-weight:600;cursor:pointer}.cart-contacts>p{margin:0;padding:0 13px 9px;color:#6d7d8e;font-size:11px}.cart-contact-links{display:flex;gap:8px;padding:0 13px 13px}.cart-contact-links a{padding:9px 12px;border:1px solid #e2e9ef;border-radius:8px;color:#314f70;font-size:11px;text-decoration:none}.cart-contact-links .cart-contact-primary{background:#fff1ec;border-color:#ffd4c8;color:#ba503b}.cart-checkout{width:100%;min-height:46px;border-radius:10px;font-size:14px}.cart-checkout:disabled{opacity:.45;cursor:not-allowed}.cart-disclaimer{text-align:center;margin-top:8px}.payment-prototype-dialog{width:min(480px,calc(100% - 24px));max-height:88dvh;overflow:auto;padding:22px 24px}.payment-prototype-summary{padding:12px;border-radius:9px;background:#f4f7f9;color:#17365a;font-size:13px;font-weight:600}.payment-prototype-note{color:#718092;font-size:12px;line-height:1.6}.payment-methods{display:grid;gap:8px;margin:17px 0;border:0;padding:0}.payment-methods legend{margin-bottom:9px;color:#17365a;font-size:12px;font-weight:600}.payment-methods label{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #e4eaef;border-radius:10px;background:#fff;cursor:pointer}.payment-methods input{flex:none;width:16px;height:16px;accent-color:#42884e}.payment-methods label span{display:grid;gap:3px;color:#17365a;font-size:12px}.payment-methods label small{color:#758397;font-size:10px}.payment-prototype-dialog>.admin-button{width:100%;min-height:43px;margin-top:8px;border-radius:9px}.payment-prototype-dialog>.admin-button.secondary{background:#fff}.payment-prototype-message{min-height:0;margin:9px 0;color:#34784b;font-size:12px;line-height:1.5}.payment-prototype-message:empty{display:none}
@media(max-width:560px){.cart-dialog,.payment-prototype-dialog{padding:18px 14px}.cart-item{grid-template-columns:58px minmax(0,1fr);gap:9px;padding:10px}.cart-item-image,.cart-placeholder{width:58px;height:58px}.cart-item-side{grid-column:2;display:flex;justify-content:space-between;align-items:center}.cart-stepper button{width:29px;height:29px}.cart-contact-links{flex-wrap:wrap}}

/* Saved editor coordinates must never make the hero copy overlap its CTA. */
.hero-copy{left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;transform:none!important}
.hero-copy>*{position:static!important;inset:auto!important;left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;transform:none!important}
/* Floating cart shortcut, kept outside the clipped page shell. */
.cart-floating{position:fixed!important;left:auto!important;top:auto!important;right:calc(18px + env(safe-area-inset-right,0px))!important;bottom:calc(18px + env(safe-area-inset-bottom,0px))!important;z-index:39;width:58px!important;height:58px!important;min-width:58px!important;min-height:58px!important;padding:0!important;display:grid;place-items:center;border:1px solid #e6ebf0!important;border-radius:50%!important;background:#fff!important;color:#102e56!important;box-shadow:0 8px 24px #102e562b;transition:transform 160ms cubic-bezier(.23,1,.32,1),box-shadow 160ms ease}
.cart-floating svg{width:23px;height:23px}
.cart-floating .cart-count{top:-1px;right:-1px}
.cart-floating:focus-visible{outline:3px solid #2479d1!important;outline-offset:3px}
.cart-floating:active{transform:scale(.97)}
@media(hover:hover) and (pointer:fine){.cart-floating:hover{box-shadow:0 11px 28px #102e5638;transform:translateY(-2px)}}
@media(max-width:760px){.cart-floating{right:calc(15px + env(safe-area-inset-right,0px))!important;bottom:calc(15px + env(safe-area-inset-bottom,0px))!important;width:56px!important;height:56px!important;min-width:56px!important;min-height:56px!important}}
@media(max-width:390px){.cart-floating{width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important}}
/* Make the cart quantity easy to notice at a glance. */
.cart-floating .cart-count{top:-4px;right:-4px;min-width:23px;height:23px;padding:0 5px;border-width:2px;font:700 12px/1 var(--sans)}
/* Keep add-to-cart feedback crisp, readable, and distinct from generic notices. */
.builder-toast.cart-notice{max-width:min(560px,calc(100vw - 24px));padding:13px 19px;border:1px solid #80b88c;border-radius:12px;background:#eff9f0!important;color:#176b36!important;box-shadow:0 10px 28px #174d2e24;font:700 14px/1.45 var(--sans);text-align:center;text-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;filter:none!important;opacity:1!important;overflow-wrap:anywhere}
@media(max-width:760px){.builder-toast.cart-notice{bottom:82px;padding:12px 16px;font-size:13px}}
/* Make the + and − controls high-contrast and easy to tap. */
.cart-stepper button{width:34px;height:34px;border-radius:8px;background:#111!important;color:#fff!important;font-size:21px;font-weight:700;line-height:1;transition:background-color 140ms ease,transform 140ms cubic-bezier(.23,1,.32,1)}
.cart-stepper button:hover{background:#2b2b2b!important}
.cart-stepper button:active{transform:scale(.94)}
.cart-stepper input{background:#fff!important;color:#111!important}
/* A popover enters the top layer so product dialogs cannot blur or cover the notice. */
.builder-toast[popover]{inset:auto!important;top:auto!important;right:auto!important;bottom:24px!important;left:50%!important;margin:0!important;width:max-content;height:auto}
.builder-dialog .builder-toast.toast-in-dialog{bottom:12px;z-index:100}
@media(max-width:760px){.builder-toast.cart-notice[popover]{bottom:82px!important}}
/* The cart contact action opens the existing Instagram/Telegram chooser dialog. */
.cart-clarify-button{width:100%;min-height:44px;margin:13px 0;padding:11px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #dce5eb;border-radius:10px;background:#fff;color:#102e56;font:600 12px var(--sans);text-align:left;cursor:pointer;transition:border-color 140ms ease,background-color 140ms ease}
.cart-clarify-button>span{color:#3f8652;font-size:17px}
.cart-clarify-button:hover{border-color:#b7cbbd;background:#fbfefb}
.cart-clarify-button:focus-visible{outline:3px solid #2479d1;outline-offset:3px}
/* Local Simple Icons brand marks, presented as polished social contact cards. */
.social-dialog{width:min(520px,calc(100% - 28px));padding:34px 30px;border:1px solid #e5ebf0;border-radius:18px;background:#fff;box-shadow:0 26px 80px #102e5633}
.social-dialog>.eyebrow{margin-bottom:12px;color:#4f8854;font-size:10px;letter-spacing:.16em}
.social-dialog h2{margin:0;color:#102e56;font-size:34px;letter-spacing:-1.2px;line-height:1.12}
.social-intro{margin:12px 0 22px;color:#607186;font-size:13px;line-height:1.6}
.social-links{display:grid;gap:10px}
.social-channel{min-height:84px;padding:13px 15px;gap:14px;border:1px solid #e4e9ee;border-radius:14px;background:#fff;box-shadow:0 2px 8px #102e5608;transition:transform 160ms cubic-bezier(.23,1,.32,1),border-color 160ms ease,box-shadow 160ms ease}
.social-icon{width:58px;height:58px;border-radius:15px;display:grid;place-items:center;overflow:hidden}
.social-icon img{display:block;flex:none;object-fit:contain}
.instagram-icon{background:linear-gradient(145deg,#5b51d8 0%,#c13584 42%,#e1306c 64%,#fd8d32 82%,#feda75 100%)}
.instagram-icon img{width:36px;height:36px}
.telegram-icon{background:#fff;box-shadow:inset 0 0 0 1px #e4f1f8}
.telegram-icon img{width:52px;height:52px}
.social-channel strong{margin-bottom:4px;color:#102e56;font-size:15px;font-weight:700}
.social-channel small{color:#748397;font-size:12px}
.social-arrow{width:32px;height:32px;display:grid;place-items:center;margin-left:auto;border-radius:50%;background:#f2f6f8;color:#43824d;font-size:17px;transition:transform 160ms cubic-bezier(.23,1,.32,1),background-color 160ms ease}
@media(hover:hover) and (pointer:fine){.social-channel:hover{transform:translateY(-2px);border-color:#c6d8ca;background:#fff;box-shadow:0 12px 24px #102e5614}.social-channel:hover .social-arrow{transform:translate(2px,-2px);background:#eaf4eb}}
.social-channel:focus-visible{outline:3px solid #2479d1;outline-offset:3px}
.social-close{display:grid;place-items:center;border-radius:50%;background:#f4f7f8;color:#52677d;transition:background-color 140ms ease,transform 140ms ease-out}
.social-close:hover{background:#e9eef1;transform:rotate(5deg)}
@media(max-width:760px){.social-dialog{padding:30px 20px;border-radius:16px}.social-dialog h2{font-size:30px}.social-intro{margin-bottom:18px}.social-channel{min-height:78px;padding:11px 12px;gap:12px}.social-icon{width:54px;height:54px;border-radius:14px}.instagram-icon img{width:34px;height:34px}.telegram-icon img{width:48px;height:48px}.social-channel strong{font-size:14px}.social-channel small{font-size:11px}}
/* Clear destructive action and a narrower quantity stepper. */
.cart-stepper{gap:3px;padding:2px}
.cart-stepper button{width:30px!important;min-width:30px!important;height:34px!important;min-height:34px!important;padding:0!important}
.cart-dialog .cart-stepper input{width:36px!important;min-width:36px!important;height:34px!important;min-height:34px!important;flex:0 0 36px;padding:3px 0!important;border:1px solid #e1e6ea!important;border-radius:6px;background:#fff!important;text-align:center}
.cart-remove{min-height:34px;display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border:1px solid #c43c49!important;border-radius:8px;background:#d64550!important;color:#fff!important;font:700 11px/1.2 var(--sans);text-decoration:none!important;white-space:nowrap;box-shadow:0 2px 6px #a92d3b24;transition:background-color 140ms ease,border-color 140ms ease,transform 140ms cubic-bezier(.23,1,.32,1)}
.cart-remove:active{transform:scale(.96)}
@media(hover:hover) and (pointer:fine){.cart-remove:hover{border-color:#ad2c3a!important;background:#b83341!important}}

/* Public storefront and authenticated seller controls. */
html[data-herb-admin="false"] .builder-bar,html[data-herb-admin="false"] .builder-catalog-actions,html[data-herb-admin="false"] .entity-actions,html[data-herb-admin="false"] .product-actions,html[data-herb-admin="false"] .empty-add,html[data-herb-admin="false"] .variant-admin-actions,html[data-herb-admin="false"] #editProductDetails,html[data-herb-admin="false"] #ordersDialog{display:none!important}
html[data-herb-admin="false"] .category-card .category-open{padding-bottom:17px!important}
html[data-herb-admin="true"] #ownerLoginLink{display:none}
[data-admin-only][hidden]{display:none!important}
#ownerLoginLink{color:#728096;font-size:10px;text-decoration:underline;text-underline-offset:3px}

/* Checkout uses its own form styles so editor layouts cannot affect customers. */
.checkout-dialog{width:min(660px,calc(100% - 24px));max-height:90dvh;padding:24px;border:1px solid #dfe6ec;border-radius:18px;background:#fff;color:#17365a;box-shadow:0 24px 80px #102e5633;font-family:var(--sans);overflow:auto}
.checkout-dialog,.checkout-dialog *{box-sizing:border-box}
.checkout-dialog [hidden]{display:none!important}
.checkout-dialog form,#checkoutFields{display:block;width:100%;min-width:0;margin:0}
.checkout-dialog .builder-dialog-heading{position:sticky;top:-24px;z-index:4;display:flex;gap:16px;align-items:center;margin:0 0 16px;padding:12px 0;background:#fff;border-bottom:1px solid #e8edf1}
.checkout-dialog .builder-dialog-heading h2{min-width:0;margin:0;font:700 23px/1.25 var(--sans);letter-spacing:-.5px;color:#17365a}
.checkout-dialog .close-builder{flex:0 0 36px}
.checkout-summary{margin:0 0 18px;padding:12px 14px;border-radius:10px;background:#f3f7fa;color:#31506d;font-size:13px;font-weight:600}
.checkout-section{margin:20px 0 0;padding:18px 0 0;border-top:1px solid #e6ebef}
.checkout-section h3{display:flex;gap:10px;align-items:center;margin:0 0 15px;font:700 15px/1.4 var(--sans);color:#17365a}
.checkout-section h3>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#edf5e8;color:#4e7f32;font-size:11px}
.checkout-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.checkout-dialog .checkout-field{display:flex;flex-direction:column;align-items:stretch;gap:7px;width:100%;min-width:0;margin:0 0 16px;color:#24435f;font:600 13px/1.45 var(--sans)}
.checkout-dialog input:not([type=radio]):not([type=checkbox]):not([type=hidden]),.checkout-dialog select,.checkout-dialog textarea{display:block;width:100%;max-width:100%;min-width:0;min-height:46px;margin:0;padding:11px 12px;border:1px solid #dce4ea;border-radius:10px;background:#fff;color:#193653;font:400 16px/1.45 var(--sans);letter-spacing:normal}
.checkout-dialog textarea{resize:vertical;min-height:84px}
.checkout-dialog input:focus-visible,.checkout-dialog textarea:focus-visible{outline:3px solid #92b86c66;outline-offset:1px;border-color:#75a64c}
.checkout-dialog input[readonly]{background:#f4f7f9;color:#536c80}
.checkout-dialog fieldset{display:block;min-width:0;margin:0 0 16px;padding:0;border:0}
.checkout-dialog legend{display:block;width:100%;margin:0 0 9px;padding:0;color:#24435f;font:600 13px/1.4 var(--sans)}
.delivery-mode-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.delivery-mode-options>label{display:flex;align-items:flex-start;gap:9px;min-width:0;margin:0;padding:13px;border:1px solid #dde5eb;border-radius:11px;background:#fff;cursor:pointer}
.delivery-mode-options>label>span{display:grid;gap:5px;min-width:0}
.delivery-mode-options strong{font-size:13px;color:#24435f;line-height:1.4}
.delivery-mode-options small{font-size:11px;color:#718399;line-height:1.4}
.delivery-mode-options>label:has(input:checked),.shipping-carriers label:has(input:checked),.shipping-method-option:has(input:checked){border-color:#76a54c;background:#f1f7ec}
.delivery-mode-options>label:has(input:disabled){background:#fafbfc;opacity:.6;cursor:not-allowed}
.checkout-dialog .shipping-carriers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.shipping-carriers label,.shipping-method-option{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:44px;margin:0;padding:9px 7px;border:1px solid #dde5eb;border-radius:10px;background:#fff;color:#24435f;font:500 12px/1.4 var(--sans);text-align:center;cursor:pointer}
.shipping-method-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.checkout-dialog input[type=radio]{display:block;flex:0 0 17px;width:17px;height:17px;min-width:17px;min-height:17px;margin:1px 0 0;padding:0;accent-color:#75a345}
.checkout-city-field{position:relative;min-width:0;margin:0 0 16px}
.checkout-city-field>label{display:block;margin:0 0 7px;color:#24435f;font:600 13px/1.4 var(--sans)}
.checkout-dialog .checkout-help{display:block;min-width:0;margin:2px 0 0;color:#728397;font:400 11px/1.5 var(--sans);white-space:normal;overflow-wrap:break-word}
.checkout-city-field>.checkout-help{margin-top:7px}
.city-suggestions{position:absolute;top:75px;left:0;right:0;z-index:10;display:grid;max-height:250px;overflow:auto;padding:5px;border:1px solid #dce5eb;border-radius:11px;background:#fff;box-shadow:0 12px 30px #17365a24}
.city-suggestions button{display:block;min-width:0;padding:11px 10px;border:0;border-radius:7px;background:#fff;color:#24435f;font:500 13px/1.45 var(--sans);text-align:left;white-space:normal}
.city-suggestions button:hover,.city-suggestions button:focus-visible{background:#eff5eb;outline:none}
.checkout-dialog .delivery-directory-link{align-self:flex-start;display:inline-block;margin:0;color:#4b7d39;font:500 11px/1.5 var(--sans);text-decoration:underline;text-underline-offset:3px}
.checkout-delivery-notice{display:block;margin:0 0 16px;padding:12px 14px;border-radius:10px;background:#eff6eb;color:#4d7139;font:400 12px/1.6 var(--sans)}
.checkout-dialog .checkout-notes{margin-top:18px}
.checkout-notes>small{display:inline;color:#8491a0;font-size:11px;font-weight:400}
.checkout-payment-soon{display:flex;align-items:flex-start;gap:12px;margin:20px 0 16px;padding:15px;border:1px solid #e5eaf0;border-radius:12px;background:#f6f8fb}
.checkout-payment-soon>span{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e8eef5;color:#506a84;font-size:23px}
.checkout-payment-soon strong{display:block;color:#24435f;font:650 14px/1.4 var(--sans)}
.checkout-payment-soon p{margin:5px 0 0;color:#6a7e92;font-size:12px;line-height:1.5}
.checkout-total{display:grid;gap:10px;margin:16px 0;padding:15px;border:1px solid #e1e8ee;border-radius:12px;background:#fff}
.checkout-total>div{display:flex;justify-content:space-between;gap:12px;color:#718297;font-size:12px}
.checkout-total>div strong{flex:none;color:#193b5a}
.checkout-total>p{margin:0;color:#7b8a9a;font-size:11px;line-height:1.5}
.checkout-dialog .checkout-consent{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:10px!important;width:100%!important;max-width:100%;min-width:0;margin:18px 0!important;padding:0;border:0;color:#6b7c8f!important;font:400 12px/1.6 var(--sans)!important;white-space:normal}
.checkout-dialog .checkout-consent input[type=checkbox]{flex:0 0 18px!important;width:18px!important;min-width:18px!important;height:18px!important;min-height:18px!important;margin:1px 0 0!important;padding:0!important;accent-color:#75a345}
.checkout-dialog .checkout-consent>span{display:block;flex:1 1 auto;width:auto;min-width:0;max-width:100%;white-space:normal;word-break:normal;overflow-wrap:break-word}
.checkout-dialog .checkout-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.checkout-submit{display:flex;width:100%;min-height:48px;justify-content:center;border-radius:11px;font-size:14px;font-weight:650}
.checkout-submit:disabled{opacity:.6;cursor:wait}
.checkout-error{margin:10px 0;color:#aa3342;font:400 12px/1.5 var(--sans)}
.checkout-error:empty{display:none}
.checkout-return{display:block;margin:8px auto 0;text-align:center;color:#6e8194;font-size:12px}
.checkout-success{padding:30px 8px;text-align:center}
.checkout-success-icon{display:grid;place-items:center;width:50px;height:50px;margin:0 auto 15px;border-radius:50%;background:#eaf6e9;color:#317940;font-size:25px}
.checkout-success h3{margin:0 0 12px;color:#17365a;font:700 25px/1.3 var(--sans)}
.checkout-success p{margin:10px 0;color:#6a7c90;font:400 14px/1.65 var(--sans)}
.checkout-order-number{color:#4d8037!important;font-weight:650!important}
.checkout-success .admin-button{width:100%;margin-top:14px;border-radius:10px}
#cartPolicyNote{margin:10px 0;padding:10px 12px;border-radius:9px;background:#edf6ee;color:#276e3a;font-size:11px;line-height:1.5}
#cartPolicyNote.is-warning{background:#fff3e9;color:#99531c}
.product-quantity-control{width:max-content;max-width:100%;display:flex;align-items:center;gap:5px;margin:12px 0 13px}
.product-quantity-control>span{margin-right:7px;color:var(--muted);font-size:12px;font-weight:600}
.product-quantity-control button{width:36px;height:36px;min-width:36px;display:grid;place-items:center;padding:0;border:0;border-radius:9px;background:#111;color:#fff;font-size:20px;font-weight:700;line-height:1}
.product-quantity-control input{width:50px;height:36px;padding:4px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font:650 14px var(--sans);text-align:center;appearance:textfield}
.product-quantity-control input::-webkit-inner-spin-button,.product-quantity-control input::-webkit-outer-spin-button{appearance:none;margin:0}
@media(max-width:560px){.checkout-dialog{padding:16px;width:calc(100% - 16px);border-radius:15px}.checkout-dialog .builder-dialog-heading{top:-16px;padding:10px 0}.checkout-dialog .builder-dialog-heading h2{font-size:21px}.checkout-grid{grid-template-columns:1fr;gap:0}.delivery-mode-options{grid-template-columns:1fr}.shipping-carriers label{padding:9px 4px;font-size:11px}.checkout-section{margin-top:17px;padding-top:16px}}

/* Orders are readable on both a narrow phone and the seller's desktop. */
.orders-dialog{width:min(860px,calc(100% - 20px));max-height:90dvh;overflow:auto;padding:22px clamp(14px,3vw,26px)}
.orders-dialog .builder-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}
.orders-dialog .builder-dialog-heading .eyebrow{margin:0 0 4px}
.orders-heading-actions{display:flex;align-items:center;gap:8px}
.orders-status{min-height:20px;margin:0 0 10px;color:var(--muted);font-size:11px}
.orders-list{display:grid;gap:12px}
.orders-empty{padding:30px;text-align:center;color:var(--muted);font-size:13px}
.order-card{padding:15px;border:1px solid var(--line);border-radius:12px;background:#fff}
.order-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:11px;border-bottom:1px solid var(--line)}
.order-card-heading>div,.order-card-grid>p{display:grid;gap:3px}
.order-card-heading strong{color:var(--ink);font-size:13px}
.order-card-heading small,.order-card-grid small,.order-notes small{color:var(--muted);font-size:10px}
.order-status{padding:4px 8px;border-radius:20px;background:#edf6ee;color:#287142;font-size:10px;font-weight:650}
.order-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:10px 0}
.order-card-grid>p{min-width:0;margin:0;font-size:11px;overflow-wrap:anywhere}
.order-card-grid>p strong{color:var(--ink);font-size:11px}
.order-card-grid>p a{color:var(--primary-text);font-weight:650}
.order-card ul{display:grid;gap:4px;margin:0;padding:10px 0 10px 18px;border-top:1px solid var(--line);color:var(--ink);font-size:11px}
.order-notes{display:grid;gap:3px;margin:0;padding:9px 0;color:var(--ink);font-size:11px}
.order-total{display:flex;justify-content:space-between;gap:10px;padding-top:9px;border-top:1px solid var(--line);color:var(--muted);font-size:11px}
.order-total strong{color:var(--primary-text)}
.order-free-shipping{margin:10px 0 0;padding:10px 12px;border:1px solid #d4e6ce;border-radius:10px;background:#f2f8ef;color:#315b38;font-size:12px;font-weight:650;line-height:1.45}
.inbox-button{gap:8px;white-space:nowrap}
.inbox-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#ff704f;color:#fff;font:700 11px/1 var(--sans)}
.inbox-badge[hidden]{display:none}
.order-card.is-unread{border-color:#b9d39c;box-shadow:inset 3px 0 0 #80a951}
.order-card.is-read .order-status{background:#f0f3f6;color:#7e8c9a}
.order-mark-read{display:block;margin:12px 0 0 auto;padding:8px 11px;border:1px solid #dbe6d2;border-radius:8px;background:#f3f8ed;color:#557d36;font:600 11px/1.4 var(--sans)}
.order-mark-read:disabled{opacity:.5}
.order-card-grid>p,.order-card-grid>p strong,.order-card ul,.order-total{font-size:13px;line-height:1.55}
.order-card-heading small,.order-card-grid small,.order-notes small{font-size:11px}
.order-notes{font-size:12px;line-height:1.5}
@media(max-width:560px){.order-card-grid{grid-template-columns:1fr}.order-card-grid>p:last-child{grid-column:auto}.order-card-heading strong{font-size:12px}}
@media(max-width:760px){.builder-bar{flex-wrap:wrap;gap:6px;padding:8px 12px;background:#f7f9f5;color:#17365a;border-bottom:1px solid #dfe8d7;box-shadow:0 2px 8px #17365a12}.builder-brand{display:none}.builder-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex:1 1 100%;width:100%;gap:6px;margin:0}.builder-tools button.admin-button{min-width:0;min-height:44px;padding:7px 8px;justify-content:center;white-space:normal;text-align:center;font:600 12px/1.3 var(--sans);border-radius:8px}.builder-tools button.admin-button:not(.secondary){background:#669d34;color:#fff;border-color:#669d34}.builder-tools button.admin-button.secondary{background:#fff;color:#244566;border-color:#cfdcc6}.builder-tools #openOrders{grid-column:auto;min-height:44px}.builder-bar #saveStatus{display:block;flex:1 1 100%;min-width:0;max-width:none;margin:0;text-align:center;color:#526879;font-size:11px;line-height:1.4}}
@media(max-width:560px){.orders-dialog{padding:16px 12px}.orders-dialog .builder-dialog-heading h2{font-size:18px}.orders-heading-actions .subtle-button{font-size:10px;padding:8px}.order-card{padding:12px}.order-card-grid{grid-template-columns:1fr;gap:11px}.order-card-grid>p:last-child{grid-column:auto}}

.checkout-dialog #localCashPayment[hidden],.checkout-dialog #checkoutPaymentSoon[hidden]{display:none!important}
.checkout-cash-payment{min-width:0;margin:20px 0 16px;padding:12px 13px 13px;border:1px solid #d8e7cc;border-radius:12px;background:#f6faF2}
.checkout-cash-payment legend{padding:0 5px;color:#4e7438;font:600 12px/1.4 var(--sans)}
.checkout-cash-option{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid #dce8d4;border-radius:10px;background:#fff;cursor:pointer}
.checkout-cash-option:has(input:checked){border-color:#86ad62;background:#fbfdf8}
.checkout-cash-option input{margin-top:2px!important}
.checkout-cash-option>span{display:grid;min-width:0;gap:4px}
.checkout-cash-option strong{color:#24435f;font:600 13px/1.4 var(--sans)}
.checkout-cash-option small{color:#718399;font:400 11px/1.5 var(--sans)}

/* Direct links to products and categories. */
.featured-category-wrap{position:relative;min-width:0}
.featured-category-wrap>.featured-category{width:100%}
.share-link-button{width:36px;height:36px;display:grid;place-items:center;padding:0;border:1px solid #e5ebf0;border-radius:50%;background:#ffffffed;color:#244566;box-shadow:0 3px 10px #102e561c;cursor:pointer;transition:transform .16s,background .16s,color .16s}
.share-link-button:hover{transform:translateY(-1px);background:#fff;color:#3d8551}
.share-link-button:focus-visible{outline:2px solid #2479d1;outline-offset:2px}
.share-link-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.featured-category-share{position:absolute;right:14px;bottom:14px;z-index:3}
.category-card{position:relative}
.category-card-share{position:absolute;right:13px;top:13px;bottom:auto;z-index:4}
.product-share-button{position:absolute;right:9px;top:50px;z-index:4}
.product-share-slot{display:flex;justify-content:flex-start;margin:0 0 12px}
.product-detail-share{width:auto;min-height:36px;padding:0 12px;display:inline-flex;align-items:center;gap:8px;border-radius:9px;color:#244566;font:600 12px/1.3 var(--sans)}
@media(max-width:560px){.featured-category-share{right:10px;bottom:10px}.category-card-share{right:9px;top:9px;bottom:auto}.share-link-button{width:34px;height:34px}.product-share-button{right:8px;top:47px}}

.order-card .order-products{gap:0;padding:8px 0;border-top:1px solid var(--line);border-bottom:0;list-style:none}
.order-card .order-product{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:8px 0;border-top:1px solid var(--line);list-style:none}
.order-card .order-product:first-child{border-top:0}
.order-product>img{display:block;width:44px;height:44px;max-width:44px;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:#fff}
.order-product-copy{display:grid;gap:3px;min-width:0}
.order-product-copy>strong{color:var(--ink);font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.order-product-copy>small{color:var(--muted);font-size:11px;line-height:1.35}
.order-product-total{color:var(--primary-text);font-size:12px;line-height:1.4;text-align:right;white-space:nowrap}
@media(max-width:420px){.order-card .order-product{grid-template-columns:40px minmax(0,1fr) auto;gap:8px}.order-product>img{width:40px;height:40px;max-width:40px}.order-product-total{font-size:11px}}

.customer-chat-floating{left:calc(18px + env(safe-area-inset-left,0px))!important;right:auto!important}.customer-orders-badge[hidden]{display:none!important}
.customer-orders-dialog{width:min(680px,calc(100% - 20px));max-height:90dvh;overflow:auto;padding:22px clamp(14px,3vw,24px)}.customer-orders-dialog .builder-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.customer-orders-dialog .builder-dialog-heading .eyebrow{margin:0 0 4px}.customer-order-toolbar{display:flex;align-items:end;gap:9px;margin:0 0 10px}.customer-order-toolbar label{display:grid;gap:5px;flex:1;color:var(--muted);font-size:11px}.customer-order-toolbar select{min-width:0;min-height:40px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font:500 12px var(--sans)}.customer-order-card{padding:15px;border:1px solid var(--line);border-radius:12px;background:#fff}.customer-order-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding-bottom:10px;border-bottom:1px solid var(--line)}.customer-order-card-heading>div{display:grid;gap:4px}.customer-order-card-heading strong{font-size:13px}.customer-order-card-heading small,.customer-payment-instructions small{color:var(--muted);font-size:10px}.customer-order-note{margin:12px 0;color:var(--ink);font-size:13px;line-height:1.6}.customer-payment-instructions{margin:13px 0;padding:12px;border:1px solid #dce9d5;border-radius:10px;background:#f7faf3;color:var(--ink);font-size:12px;line-height:1.6;overflow-wrap:anywhere}.customer-payment-instructions p{margin:5px 0}.customer-payment-instructions a,.order-message a{color:var(--primary-text);text-decoration:underline;overflow-wrap:anywhere}.customer-order-products{display:grid;gap:7px;margin:0;padding:10px 0;list-style:none;border-top:1px solid var(--line)}.customer-order-products li,.customer-order-total{display:flex;justify-content:space-between;gap:12px;align-items:start;color:var(--ink);font-size:12px;line-height:1.5}.customer-order-products li span{min-width:0}.customer-order-products li strong,.customer-order-total strong{white-space:nowrap}.customer-order-total{padding-top:10px;border-top:1px solid var(--line);font-size:14px}.customer-order-card>#copyCustomerOrderLink{margin-top:12px}.customer-chat{margin-top:17px;padding-top:14px;border-top:1px solid var(--line)}.customer-chat-heading h3,.order-admin-actions h3{margin:0;color:var(--ink);font-size:14px}.customer-chat-heading p{margin:4px 0 10px;color:var(--muted);font-size:11px}.order-messages{display:grid;gap:8px;max-height:280px;overflow:auto;padding:9px;border:1px solid var(--line);border-radius:10px;background:#fbfaf8}.order-message{max-width:92%;padding:9px 11px;border:1px solid #e6e1d8;border-radius:10px;background:#fff;color:var(--ink)}.order-message.is-customer{justify-self:end;border-color:#dce9d5;background:#f3f8ed}.order-message>div{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:10px}.order-message>div strong{color:var(--ink)}.order-message time{white-space:nowrap}.order-message p{margin:5px 0 0;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.order-messages-empty{margin:3px;color:var(--muted);font-size:11px}.order-message-form{display:flex;align-items:end;gap:8px;margin-top:9px}.order-message-form textarea,.order-admin-actions textarea{flex:1;min-width:0;padding:10px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font:400 12px/1.5 var(--sans);resize:vertical}.order-message-form .admin-button{min-height:39px;padding:0 13px;border-radius:9px;font-size:11px}.order-message-form button:disabled{opacity:.55}.order-admin-actions,.order-admin-chat{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.order-admin-actions{display:grid;gap:9px}.order-admin-actions>label,.order-custom-reason label{display:grid;gap:5px;color:var(--muted);font-size:11px}.order-admin-actions>.admin-button{justify-self:start;min-height:40px;padding:0 13px;border-radius:9px;font-size:11px}.order-reject-actions{display:flex;flex-wrap:wrap;gap:7px}.order-reject-actions button,.order-custom-reason button,.order-admin-chat>.subtle-button{font-size:10px}.order-custom-reason{display:grid;gap:8px;padding:10px;border:1px solid var(--line);border-radius:9px;background:#fbfaf8}.order-custom-reason[hidden],.order-chat-panel[hidden]{display:none}.order-custom-reason button{justify-self:start}.order-chat-panel{margin-top:9px}.order-admin-actions>p{margin:0;color:var(--muted);font-size:11px}
@media(max-width:560px){.customer-orders-dialog{padding:16px 12px}.customer-order-card{padding:12px}.customer-order-card-heading{align-items:flex-start}.customer-order-card-heading .order-status{max-width:55%;text-align:center;line-height:1.35}.order-message-form{align-items:stretch;flex-direction:column}.order-message-form .admin-button{align-self:flex-end}.order-message{max-width:100%}.order-reject-actions{display:grid}.order-reject-actions button{text-align:left}}
.order-reject-actions button,.order-custom-reason button,.order-admin-chat>.subtle-button{display:inline-flex;align-items:center;max-width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid color-mix(in srgb,var(--primary-text) 20%,var(--line));border-radius:8px;background:color-mix(in srgb,var(--primary-text) 5%,var(--paper));font-size:13px;font-weight:600;line-height:1.35;text-align:left;white-space:normal}
@media(max-width:760px){.customer-chat-floating{left:calc(15px + env(safe-area-inset-left,0px))!important;right:auto!important}}


/* Messenger: focused conversation window for customers and the store owner. */
.customer-orders-dialog,.admin-chat-dialog{width:min(580px,calc(100vw - 28px));height:min(760px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);overflow:hidden;padding:0;border:1px solid #e4e8df;border-radius:22px;background:#fff;color:#263b30;box-shadow:0 24px 80px #122b1f33}
.customer-orders-dialog[open],.admin-chat-dialog[open]{display:flex;flex-direction:column}
.customer-orders-dialog::backdrop,.admin-chat-dialog::backdrop{background:#15291fb3;backdrop-filter:blur(3px)}
.messenger-shell{display:flex;flex:1;flex-direction:column;width:100%;height:100%;min-height:0;overflow:hidden;background:#fff}
.messenger-header{display:flex;flex:none;align-items:center;gap:12px;min-width:0;padding:16px 18px 14px;border-bottom:1px solid #e9ede6;background:#fff}
.messenger-brand-avatar{display:grid;flex:none;width:46px;height:46px;place-items:center;border:1px solid #d9e8d3;border-radius:50%;background:linear-gradient(145deg,#e9f3e2,#d9ebcf);color:#3c744a;font:700 19px/1 var(--sans,system-ui);box-shadow:inset 0 1px #fff}
.admin-chat-avatar{background:linear-gradient(145deg,#e8eef4,#dce5ed);border-color:#dae2e9;color:#48677e}
.messenger-heading-copy{display:grid;flex:1;gap:4px;min-width:0}
.messenger-heading-copy h2{margin:0;color:#233a2e;font:650 16px/1.25 var(--sans,system-ui);letter-spacing:-.01em}
.messenger-heading-copy p{display:flex;align-items:center;gap:6px;overflow:hidden;margin:0;color:#829087;font:400 11px/1.4 var(--sans,system-ui);text-overflow:ellipsis}
.messenger-online-dot{width:7px;height:7px;flex:none;border-radius:50%;background:#68a667;box-shadow:0 0 0 3px #edf6e9}
.messenger-header>.close-builder,.messenger-header-actions>.close-builder{position:static;display:grid;flex:none;width:38px;height:38px;place-items:center;border:1px solid #e6ebe4;border-radius:50%;background:#fff;color:#68786e;font-size:22px;line-height:1;cursor:pointer;transition:background .15s,color .15s,transform .15s}
.messenger-header .close-builder:hover{background:#f1f5ef;color:#315c3c}
.messenger-header .close-builder:active,.messenger-icon-button:active,.messenger-send-button:active{transform:scale(.97)}
.messenger-header-actions{display:flex;align-items:center;gap:7px;margin-left:auto}
.messenger-icon-button{display:grid;flex:none;width:38px;height:38px;place-items:center;border:1px solid #e4e9e1;border-radius:50%;background:#fff;color:#63756a;cursor:pointer;transition:background .15s,color .15s,transform .15s}
.messenger-icon-button:hover{background:#f2f7ef;color:#3d7749}
.messenger-icon-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.messenger-order-toolbar{display:flex;flex:none;align-items:center;gap:9px;margin:0;padding:10px 16px 8px}
.messenger-order-toolbar select{flex:1;min-width:0;height:38px;padding:0 34px 0 12px;border:1px solid #e3e9df;border-radius:11px;background:#f8faf6;color:#506057;font:500 12px/1.2 var(--sans,system-ui)}
.messenger-order-chip{display:flex;flex:none;align-items:center;gap:8px;min-width:0;margin:2px 16px 8px;padding:8px 11px;border:1px solid #e8ece6;border-radius:10px;background:#fafbf9;color:#718076;font:400 11px/1.35 var(--sans,system-ui)}
.messenger-order-chip strong{overflow:hidden;color:#42564a;font-weight:650;text-overflow:ellipsis}
.messenger-order-chip>span:last-child{margin-left:auto;padding:4px 8px;border-radius:99px;background:#edf4e8;color:#527549;font-size:10px;text-align:center}
.messenger-status{flex:none;margin:0;padding:0 18px 7px;color:#75847a;font:400 11px/1.4 var(--sans,system-ui)}
.messenger-status:empty{display:none}
.customer-order-context{flex:none;max-height:42%;margin:0 16px 9px;overflow:auto;border:1px solid #e8ece6;border-radius:11px;background:#fff}
.customer-order-context[hidden]{display:none!important}
.customer-order-context>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;padding:0 12px;color:#526258;font:600 11px/1.3 var(--sans,system-ui);cursor:pointer;list-style:none}
.customer-order-context>summary::-webkit-details-marker{display:none}
.customer-order-context>summary::after{content:'⌄';margin-left:auto;color:#829087;font-size:16px}
.customer-order-context[open]>summary::after{content:'⌃'}
.messenger-context-status{overflow:hidden;color:#819087;font-size:10px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}
.customer-order-context #customerOrderDetails{padding:0 9px 9px}
.customer-order-context .customer-order-card{padding:11px;border-color:#edf0eb;border-radius:9px}
.customer-order-context .customer-order-card>#copyCustomerOrderLink{min-height:36px;padding:0 10px;font-size:11px}
.messenger-messages{display:flex;flex:1;flex-direction:column;gap:12px;min-height:140px;overflow:auto;overscroll-behavior:contain;padding:18px 16px;border:0;border-radius:0;background-color:#f6f8f4;background-image:radial-gradient(#dfe6da .8px,transparent .8px);background-size:19px 19px;scroll-behavior:smooth;scrollbar-color:#d2dccd transparent;scrollbar-width:thin}
.order-message{display:flex;align-items:flex-end;gap:7px;max-width:100%;padding:0;border:0;background:transparent;animation:messenger-message-in .16s ease-out both}
.order-message.is-mine{justify-content:flex-end;align-self:flex-end}
.order-message.is-system{justify-content:center;align-self:center;max-width:96%}
.order-message-avatar{display:grid;flex:none;width:27px;height:27px;place-items:center;border:1px solid #e4e9e1;border-radius:50%;background:#fff;color:#708076;font:650 10px/1 var(--sans,system-ui)}
.order-message.is-mine .order-message-avatar{order:2;border-color:#d4e4cb;background:#e8f2e1;color:#4d7647}
.order-message-bubble{max-width:min(82%,460px);padding:9px 12px 10px;border:1px solid #e5eae2;border-radius:16px 16px 16px 4px;background:#fff;color:#33443a;box-shadow:0 2px 5px #253a2810}
.order-message.is-mine .order-message-bubble{border-color:#d8e8cf;border-radius:16px 16px 4px 16px;background:#e8f3df}
.order-message.is-system .order-message-avatar{display:none}
.order-message.is-system .order-message-bubble{max-width:100%;padding:7px 12px;border:0;border-radius:99px;background:#e9ede7;color:#68766d;box-shadow:none}
.order-message-meta{display:flex;align-items:center;justify-content:space-between;gap:14px;color:#819087;font:400 9px/1.3 var(--sans,system-ui)}
.order-message-meta strong{overflow:hidden;color:#5d6e63;font-weight:650;text-overflow:ellipsis;white-space:nowrap}
.order-message-meta time{flex:none;white-space:nowrap}
.order-message-bubble p{margin:4px 0 0;color:#34443a;font:400 12px/1.55 var(--sans,system-ui);overflow-wrap:anywhere}
.order-message.is-system .order-message-bubble p{margin:0;color:#66756a;font-size:10px;text-align:center}
.order-message-bubble a{color:#427549;text-decoration:underline;overflow-wrap:anywhere}
.chat-empty{display:grid;align-content:center;justify-items:center;gap:6px;flex:1;min-height:140px;padding:24px;color:#829087;text-align:center}
.chat-empty>span{display:grid;width:38px;height:38px;place-items:center;margin-bottom:3px;border:1px solid #e1eadc;border-radius:50%;background:#fff;color:#7d9c72;font-size:18px}
.chat-empty strong{color:#57685d;font:600 13px/1.35 var(--sans,system-ui)}
.chat-empty p{max-width:270px;margin:0;color:#89958c;font:400 11px/1.5 var(--sans,system-ui)}
.messenger-composer{display:block;flex:none;margin:0;padding:11px 16px max(12px,env(safe-area-inset-bottom,0px));border-top:1px solid #e9ede6;background:#fff}
.messenger-composer[hidden]{display:none!important}
.messenger-composer-box{display:flex;align-items:flex-end;gap:8px;padding:5px;border:1px solid #dfe7db;border-radius:16px;background:#fbfcfa;transition:border-color .15s,box-shadow .15s}
.messenger-composer-box:focus-within{border-color:#a8c49a;box-shadow:0 0 0 3px #e8f1e3}
.messenger-composer-box textarea{display:block;min-height:38px;max-height:112px;min-width:0;padding:10px 8px;border:0;border-radius:10px;outline:0;background:transparent;color:#2c3e32;font:400 13px/1.4 var(--sans,system-ui);resize:none}
.messenger-composer-box textarea::placeholder{color:#99a49b}
.messenger-send-button{display:flex;flex:none;align-items:center;justify-content:center;gap:7px;min-width:44px;height:40px;padding:0 13px;border:0;border-radius:12px;background:#4d8153;color:#fff;font:600 11px/1 var(--sans,system-ui);cursor:pointer;transition:background .15s,transform .15s,opacity .15s}
.messenger-send-button:hover{background:#3f7047}
.messenger-send-button:disabled{opacity:.55;cursor:default}
.messenger-send-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.messenger-composer>small{display:block;margin:6px 5px 0;color:#9aa49c;font:400 9px/1.3 var(--sans,system-ui)}
.order-admin-chat{margin:12px 0 0;padding-top:11px;border-top:1px solid #edf0ec}
.order-admin-chat>.order-open-chat{display:flex;align-items:center;gap:8px;width:100%;min-height:42px;padding:0 12px;border:1px solid #e3e9e1;border-radius:11px;background:#f9fbf7;color:#4e6755;font:600 12px/1 var(--sans,system-ui);text-align:left;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}
.order-admin-chat>.order-open-chat:hover{border-color:#cfdfc8;background:#f0f6ed}
.order-open-chat:active{transform:scale(.99)}
.chat-unread-count{display:grid;min-width:21px;height:21px;place-items:center;padding:0 6px;border-radius:99px;background:#5d8d59;color:#fff;font-size:10px;font-weight:700}
.chat-open-arrow{margin-left:auto;color:#849188;font-size:16px}
@keyframes messenger-message-in{from{transform:translateY(4px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(max-width:560px){.customer-orders-dialog,.admin-chat-dialog{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:100dvh;margin:0;border:0;border-radius:0}.messenger-header{padding:calc(12px + env(safe-area-inset-top,0px)) 13px 11px}.messenger-brand-avatar{width:42px;height:42px}.messenger-heading-copy h2{font-size:15px}.messenger-heading-copy p{font-size:10px}.messenger-order-toolbar{padding:9px 12px 7px}.messenger-order-chip{margin-right:12px;margin-left:12px}.customer-order-context{margin-right:12px;margin-left:12px}.messenger-messages{padding:15px 12px}.order-message-bubble{max-width:min(82%,390px)}.messenger-composer{padding-right:12px;padding-left:12px}.messenger-send-button{width:42px;padding:0}.messenger-send-button span{display:none}.messenger-composer>small{text-align:center}}
@media(prefers-reduced-motion:reduce){.messenger-messages{scroll-behavior:auto}.order-message{animation:none}.messenger-header .close-builder,.messenger-icon-button,.messenger-send-button,.messenger-composer-box,.order-open-chat{transition:none}}
.messenger-order-toolbar[hidden]{display:none!important}

/* Customer payment confirmation card inside the order conversation. */
.customer-order-products .customer-order-product,.customer-payment-items .customer-order-product{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:9px;color:var(--ink);font-size:11px;line-height:1.35}
.customer-order-product>img{display:block;width:46px;height:46px;max-width:46px;object-fit:contain;border:1px solid #e8ece6;border-radius:8px;background:#fff}
.customer-order-product-copy{display:grid;gap:3px;min-width:0}
.customer-order-product-copy>strong{color:#34443a;font-size:11px;line-height:1.35;overflow-wrap:anywhere}
.customer-order-product-copy>small{color:#819087;font-size:10px;line-height:1.3}
.customer-order-product-total{color:#4d7047;font-size:11px;white-space:nowrap}
.customer-payment-message{width:min(100%,500px);max-width:100%!important;align-self:center;align-items:flex-start}
.customer-payment-message .customer-payment-bubble,.order-message.is-system .customer-payment-bubble{width:100%;max-width:100%;padding:13px;border:1px solid #dce9d5;border-radius:16px;background:#fff;color:#33443a;text-align:left;box-shadow:0 5px 16px #253a2812}
.customer-payment-bubble .order-message-meta{padding-bottom:8px;border-bottom:1px solid #edf0eb;font-size:10px}
.customer-payment-bubble .order-message-meta strong{color:#3d6944;font-size:12px}
.customer-payment-bubble>p,.order-message.is-system .customer-payment-bubble>p{margin:9px 0;color:#56665a;font-size:11px;line-height:1.5;text-align:left}
.customer-payment-items{display:grid;gap:7px;margin:10px 0;padding:0;list-style:none}
.customer-payment-items .customer-order-product{grid-template-columns:40px minmax(0,1fr) auto;gap:8px;padding:7px;border:1px solid #edf0eb;border-radius:10px;background:#fbfcfa}
.customer-payment-items .customer-order-product>img{width:40px;height:40px;max-width:40px}
.customer-payment-items .customer-order-product-copy>strong{font-size:10px}
.customer-payment-items .customer-order-product-copy>small,.customer-payment-items .customer-order-product-total{font-size:9px}
.customer-payment-total{display:flex;justify-content:space-between;gap:12px;padding:10px 1px 0;border-top:1px solid #edf0eb;color:#5e6e62;font-size:12px}
.customer-payment-total strong{color:#263d2d;font-size:14px;white-space:nowrap}
.customer-pay-button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;margin-top:10px;padding:0 15px;border:0;border-radius:12px;background:#4d8153;color:#fff!important;font:650 13px/1 var(--sans,system-ui);text-decoration:none!important;transition:background .15s,transform .15s}
.customer-pay-button:hover{background:#3f7047}
.customer-pay-button:active{transform:scale(.99)}
.customer-pay-button:focus-visible{outline:3px solid #b7d2a7;outline-offset:2px}
.customer-payment-footnote{display:block;margin:8px 2px 0;color:#89958c;font:400 9px/1.45 var(--sans,system-ui)}
@media(max-width:400px){.customer-order-products .customer-order-product{grid-template-columns:40px minmax(0,1fr) auto;gap:7px}.customer-order-product>img{width:40px;height:40px;max-width:40px}.customer-order-product-total{font-size:10px}.customer-payment-bubble .order-message-meta{gap:7px}}


/* Clear, responsive customer dialogs */
dialog{overscroll-behavior:contain;scrollbar-gutter:stable}
.builder-dialog,.social-dialog,.checkout-dialog{max-height:min(90dvh,900px)}
.builder-dialog .builder-dialog-heading{gap:12px;align-items:center}
.builder-dialog .close-builder,.social-dialog .social-close{width:44px;height:44px;min-width:44px;min-height:44px;display:grid;place-items:center;border-radius:50%;touch-action:manipulation}
.social-dialog{width:min(520px,calc(100vw - 32px));max-height:min(88dvh,760px);overflow:auto;padding:clamp(22px,4vw,36px)}
.social-dialog h2{font-size:clamp(28px,5vw,36px);line-height:1.12;overflow-wrap:anywhere}
.social-close{position:absolute;top:12px;right:12px;background:#f5f7f3}

/* Product details: keep the photo steady and the main action easy to reach. */
#productDialog{width:min(920px,calc(100vw - 32px));height:min(88dvh,820px);max-height:calc(100dvh - 32px);overflow:hidden}
#productDialog .dialog-layout{height:100%;min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);overflow:hidden}
#productDialog .dialog-photo{height:100%;min-height:0;padding:clamp(18px,3vw,38px)}
#productDialog .dialog-copy{min-width:0;min-height:0;max-height:100%;overflow-y:auto;overscroll-behavior:contain;padding:clamp(24px,3.2vw,38px) clamp(20px,3vw,34px) max(22px,env(safe-area-inset-bottom,0px));scrollbar-width:thin;scrollbar-color:#dce5d7 transparent}
#productDialog .dialog-copy h2{font-size:clamp(23px,2.5vw,32px);line-height:1.18;letter-spacing:-.035em;overflow-wrap:anywhere}
#productDialog .dialog-copy .dialog-description{font-size:15px;line-height:1.65}
#productDialog .dialog-copy>small{font-size:12px;line-height:1.55}
#productDialog .dialog-copy #addToCartFromDetails{position:sticky;bottom:0;z-index:3;width:100%;min-height:54px;margin-top:12px;border-radius:12px;background:#ff704f!important;color:#fff!important;font-size:15px;box-shadow:0 -12px 22px #fff}
#productDialog .dialog-copy #addToCartFromDetails:disabled{background:#9aa69a!important;color:#fff!important;opacity:1;cursor:not-allowed}
#productDialog .dialog-close{position:absolute;z-index:8;top:10px;right:10px;width:44px;height:44px;box-shadow:0 2px 12px #102e5620}

/* Cart: readable line items and a checkout action that stays in view. */
.cart-dialog{width:min(760px,calc(100vw - 32px));max-height:min(88dvh,840px);padding:22px 24px;scrollbar-width:thin}
.cart-dialog .builder-dialog-heading{position:sticky;top:-22px;z-index:5;margin:0 0 14px;padding:7px 0 12px;border-bottom:1px solid #e8edf1;background:#fff}
.cart-dialog .builder-dialog-heading h2{font-size:clamp(22px,3vw,28px);line-height:1.2}
.cart-dialog .cart-item-copy>strong{font-size:14px;line-height:1.45}
.cart-dialog .cart-item-copy>small,.cart-dialog .cart-quantity-summary,.cart-dialog .cart-price-note,.cart-dialog .cart-disclaimer{font-size:12px;line-height:1.55}
.cart-dialog .cart-summary{position:sticky;bottom:-22px;z-index:4;padding:14px 0 max(12px,env(safe-area-inset-bottom,0px));background:#fff;box-shadow:0 -14px 24px #fff}
.cart-dialog #checkoutCart{min-height:54px;margin-top:12px;border-radius:12px;font-size:15px}
.cart-dialog .cart-disclaimer{text-align:left}

/* Checkout: predictable width, readable labels, and touch-friendly controls. */
.checkout-dialog{width:min(720px,calc(100vw - 32px));max-height:min(90dvh,900px);padding:24px clamp(18px,3vw,30px);scrollbar-width:thin}
.checkout-dialog .builder-dialog-heading{top:-24px;padding:12px 0;background:#fff}
.checkout-dialog .builder-dialog-heading h2{font-size:clamp(21px,3vw,26px);line-height:1.25}
.checkout-dialog .checkout-help{font-size:13px;line-height:1.55}
.checkout-dialog .checkout-section h3{font-size:16px}
.checkout-dialog .checkout-field{font-size:14px}
.checkout-dialog .checkout-payment-soon strong{font-size:15px}
.checkout-dialog .checkout-payment-soon p,.checkout-dialog .checkout-total>p{font-size:13px;line-height:1.55}
.checkout-dialog .checkout-submit{position:sticky;bottom:-16px;z-index:3;min-height:56px;margin:0;border-radius:12px;font-size:16px;box-shadow:0 -12px 22px #fff}
.checkout-dialog .checkout-return{min-height:44px;font-size:13px}
.checkout-dialog .checkout-success{padding:clamp(24px,6vw,42px) 8px}
.checkout-dialog .checkout-success p{font-size:15px;line-height:1.65}

/* Messages: clear order selector, readable bubbles, and a stable composer. */
.customer-orders-dialog,.admin-chat-dialog{width:min(680px,calc(100vw - 32px));height:min(820px,calc(100dvh - 40px));max-height:min(90dvh,calc(100dvh - 40px));border-radius:20px}
.messenger-shell{min-height:0}
.customer-order-select-label{display:grid;flex:1;gap:4px;min-width:0;color:#728075;font:600 10px/1.25 var(--sans,system-ui)}
.customer-order-select-label>span{padding-left:2px}
.messenger-order-toolbar{align-items:end;gap:10px}
.messenger-order-toolbar select,.customer-order-select-label select{width:100%;min-width:0;height:auto;min-height:46px;padding:8px 34px 8px 12px;border-radius:11px;font:500 13px/1.35 var(--sans,system-ui)}
.messenger-order-toolbar .messenger-icon-button{width:46px;height:46px}
.customer-order-context>summary{min-height:46px;font-size:13px}
.customer-order-context .customer-order-card{padding:13px}
.customer-order-card-heading strong{font-size:14px}
.customer-order-card-heading small,.customer-payment-instructions small{font-size:12px}
.customer-order-note,.customer-payment-instructions{font-size:14px;line-height:1.6}
.customer-order-products li,.customer-order-total{font-size:13px;line-height:1.5}
.customer-order-product-copy>strong{font-size:12px}
.customer-order-product-copy>small{font-size:11px}
.order-message{gap:8px}
.order-message-avatar{width:32px;height:32px;font-size:11px}
.order-message-bubble{max-width:min(86%,520px);padding:11px 14px 12px;border-radius:17px 17px 17px 5px}
.order-message-bubble p{font-size:14px;line-height:1.55}
.order-message-meta{gap:10px;font-size:10px}
.order-message.is-system .order-message-bubble{padding:9px 13px;border-radius:13px}
.order-message.is-system .order-message-bubble p{font-size:12px;line-height:1.5}
.messenger-composer-box textarea{flex:1;width:100%;min-height:44px;padding:12px 10px;font-size:16px;line-height:1.4}
.messenger-send-button{min-width:110px;height:46px;padding:0 14px;font-size:13px}
.messenger-composer>small{font-size:10px}

@media(max-width:760px){
  #productDialog{width:calc(100vw - 16px);height:min(90dvh,820px);max-height:calc(100dvh - 16px)}
  #productDialog .dialog-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(170px,32dvh) minmax(0,1fr);height:100%}
  #productDialog .dialog-photo{height:auto;padding:14px 52px}
  #productDialog .dialog-copy{padding:18px 18px max(18px,env(safe-area-inset-bottom,0px))}
  #productDialog .dialog-copy h2{font-size:clamp(21px,5.4vw,28px)}
  #productDialog .dialog-copy .dialog-description{font-size:14px}
  #productDialog .dialog-close{position:absolute;top:8px;right:8px}
  .customer-orders-dialog,.admin-chat-dialog{position:fixed;inset:0;width:100%;height:100dvh;min-height:0;max-width:none;max-height:100dvh;margin:0;padding:0;border:0;border-radius:0}
  .messenger-header>.close-builder,.messenger-header-actions>.close-builder,.messenger-icon-button{width:44px;height:44px;min-width:44px;min-height:44px}
  .messenger-heading-copy h2{font-size:16px}
  .messenger-heading-copy p{font-size:12px;line-height:1.45;white-space:normal}
  .messenger-order-toolbar{padding:10px 12px 8px}
  .customer-order-context{max-height:38%;overflow:auto}
  .messenger-messages{min-height:0;overscroll-behavior:contain}
  .messenger-composer{padding:10px 12px max(12px,env(safe-area-inset-bottom,0px))}
  .messenger-send-button{width:auto;min-width:104px}
  .messenger-send-button span{display:inline}
  .messenger-composer>small{display:none}
}
@media(max-width:680px){
  .checkout-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:16px 14px max(14px,env(safe-area-inset-bottom,0px));border-radius:16px}
  .checkout-dialog .builder-dialog-heading{top:-16px;padding:9px 0}
  .checkout-grid{grid-template-columns:1fr;gap:0}
  .checkout-section{margin-top:18px;padding-top:16px}
  .cart-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:16px 12px max(12px,env(safe-area-inset-bottom,0px));border-radius:15px}
  .cart-dialog .builder-dialog-heading{top:-16px;padding:7px 0 11px}
  .cart-dialog .cart-summary{bottom:-12px}
  .cart-item{grid-template-columns:56px minmax(0,1fr);align-items:start;gap:9px;padding:10px}
  .cart-item-image,.cart-placeholder{width:56px;height:56px}
  .cart-item-side{grid-column:2;display:grid;grid-template-columns:auto 1fr;justify-items:start;align-items:center;gap:8px;white-space:normal}
  .cart-item-side>strong{font-size:14px}
  .cart-item-side .cart-stepper{justify-self:end}
  .cart-item-side .cart-remove{grid-column:1/-1;min-height:38px}
  .cart-dialog .cart-item-copy>strong{font-size:13px}
  .cart-dialog .cart-disclaimer{text-align:left}
}
@media(max-width:380px){
  .checkout-dialog .shipping-carriers{grid-template-columns:1fr}
  .checkout-dialog .shipping-carriers label{min-height:44px;padding:9px 12px;font-size:13px}
  .messenger-header{gap:9px}
  .messenger-heading-copy p{font-size:11px}
  .messenger-order-toolbar{gap:7px}
  .messenger-send-button{min-width:94px;padding:0 10px}
}
@media(max-height:620px){
  #productDialog{height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}
  .customer-order-context{max-height:24dvh}
  .messenger-messages{min-height:0}
}
@media(max-width:680px) and (max-height:560px){
  .messenger-header{padding-top:max(7px,env(safe-area-inset-top,0px));padding-bottom:7px}
  .messenger-brand-avatar{width:34px;height:34px}
  .messenger-order-toolbar{padding-top:5px;padding-bottom:5px}
  .customer-order-context{max-height:18dvh;margin-bottom:5px}
  .messenger-messages{padding-top:8px;padding-bottom:8px;gap:8px}
  .messenger-composer{padding-top:6px}
}
/* Keep the mobile header controls from colliding with the full wordmark. */
@media(max-width:760px){
  .market-header{height:auto;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;padding:8px 14px 0!important}
  .header-main{width:100%;min-width:0;grid-template-columns:minmax(102px,1fr) auto;gap:6px;min-height:54px}
  .brand{min-width:0;max-width:100%;gap:0;flex:0 1 auto}
  .brand-mark{display:none}
  .brand-wordmark{width:102px;height:54px;flex:0 0 102px}
  .header-actions{grid-column:2;grid-row:1;justify-self:end;min-width:0;gap:2px}
  .header-actions .icon-button,.header-actions .menu-toggle{width:44px;height:44px;min-width:44px;min-height:44px;flex:0 0 44px}
  .header-actions [aria-label="Написати нам у Telegram"]{display:none}
  .builder-tools #addProduct,.builder-tools #addCategory{min-height:44px!important}
  .nav-row{width:100%;min-width:0;min-height:44px;margin:0;justify-content:flex-end;gap:0}
  .mobile-menu:not([hidden]){position:absolute;top:calc(100% - 1px);left:0;right:0;width:100%;z-index:36;display:grid;padding:8px 16px max(14px,env(safe-area-inset-bottom,0px));border-top:1px solid #edf0f3;background:#fff;box-shadow:0 14px 20px #102e561c}
  #productDialog .dialog-copy{padding-bottom:max(78px,calc(60px + env(safe-area-inset-bottom,0px)))}
}

/* Consistent vector arrows and a dedicated product action footer. */
.ui-arrow-icon{display:inline-block;width:1em;height:1em;flex:0 0 auto;vertical-align:-.12em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ui-arrow-slot{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;line-height:0}
#productDialog .dialog-copy{display:flex;flex-direction:column;min-height:0;height:100%;max-height:100%;overflow:hidden;padding:0}
#productDialog .dialog-copy-scroll{flex:1 1 auto;min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:clamp(24px,3.2vw,38px) clamp(20px,3vw,34px) 16px;scrollbar-width:thin;scrollbar-color:#dce5d7 transparent}
#productDialog .dialog-copy-scroll>small{display:block;margin-top:12px;color:#718075;font-size:12px;line-height:1.55}
#productDialog .dialog-action-footer{flex:0 0 auto;padding:12px clamp(20px,3vw,34px) max(14px,env(safe-area-inset-bottom,0px));border-top:1px solid #e8edf1;background:#fff}
#productDialog .dialog-action-footer>#addToCartFromDetails{position:static;width:100%;min-height:54px;margin:0;padding:0 18px;border:0;border-radius:999px;background:#ff704f!important;color:#fff!important;font-size:15px;box-shadow:0 6px 18px #ff704f33}
#productDialog .dialog-action-footer>#addToCartFromDetails:disabled{background:#9aa69a!important;color:#fff!important;opacity:1;cursor:not-allowed}
.cart-shipping-benefit{margin:12px 0;padding:11px 12px;border:1px solid #d4e6ce;border-radius:11px;background:#f2f8ef;color:#315b38;font-size:13px;font-weight:600;line-height:1.5}
.cart-shipping-benefit.is-qualified{border-color:#b7d2a7;background:#edf6e8}
.checkout-total>p#checkoutShippingSummary{padding:10px 12px;border:1px solid #d4e6ce;border-radius:11px;background:#f2f8ef;color:#315b38;font-size:13px;font-weight:600;line-height:1.5}
.checkout-total>p#checkoutShippingSummary.is-qualified{border-color:#b7d2a7;background:#edf6e8}
.customer-payment-message{width:min(100%,560px)}
.customer-payment-message .customer-payment-bubble,.order-message.is-system .customer-payment-bubble{padding:16px;overflow-wrap:anywhere}
.customer-payment-bubble .order-message-meta{gap:10px;padding-bottom:10px;font-size:12px}
.customer-payment-bubble .order-message-meta strong{font-size:14px}
.customer-payment-bubble .order-message-meta time{font-size:11px}
.customer-payment-bubble>p,.order-message.is-system .customer-payment-bubble>p{margin:12px 0;color:#43554a;font-size:14px;line-height:1.6}
.customer-shipping-benefit{margin:12px 0!important;padding:11px 12px;border:1px solid #d4e6ce;border-left:4px solid #4d8153;border-radius:10px;background:#f2f8ef;color:#315b38!important;font:600 13px/1.5 var(--sans,system-ui)!important}
.customer-payment-items{gap:8px;margin:12px 0}
.customer-payment-items .customer-order-product{gap:9px;padding:8px}
.customer-payment-items .customer-order-product-copy>strong{font-size:11px;line-height:1.4}
.customer-payment-items .customer-order-product-copy>small,.customer-payment-items .customer-order-product-total{font-size:10px}
.customer-payment-total{padding-top:12px;font-size:13px}
.customer-payment-total strong{font-size:16px}
.customer-pay-button{min-height:52px;margin-top:12px;padding-inline:16px;font-size:15px}
.customer-pay-button .ui-arrow-icon{width:17px;height:17px}
.customer-payment-footnote{margin-top:9px;font-size:11px;line-height:1.5}
@media(max-width:760px){
  #productDialog .dialog-copy-scroll{padding:18px 18px 14px}
  #productDialog .dialog-action-footer{padding:10px 18px max(12px,env(safe-area-inset-bottom,0px))}
}
@media(max-width:680px){.checkout-dialog .checkout-submit{position:static;bottom:auto;box-shadow:none}}
@media(max-width:760px){body.featured-category-cards-visible .cart-floating{visibility:hidden;pointer-events:none}}


/* Спрощене сприйняття переписок і заявок — 29.10.2026 */
.messenger-header{gap:10px;background:#fff;box-shadow:none}
.messenger-brand-avatar,.messenger-online-dot,.order-message-avatar,.chat-empty>span{display:none!important}
.messenger-heading-copy h2{font-size:17px;letter-spacing:0}
.messenger-heading-copy p{color:#65736a;font-size:12px;line-height:1.45}
.messenger-order-chip{gap:8px;margin:0 12px 8px;padding:2px 12px 8px;border:0;border-radius:0;background:transparent;color:#65736a;font-size:12px}
.messenger-order-chip strong{font-variant-numeric:tabular-nums}
.messenger-messages{gap:10px;background:#f7f8f5;background-image:none;scrollbar-width:thin}
.order-message{gap:0;max-width:min(94%,520px);padding:0;border:0;background:transparent}
.order-message-bubble{max-width:100%;padding:10px 13px;border:1px solid #e3e8e1;border-radius:12px;background:#fff;box-shadow:none}
.order-message.is-mine .order-message-bubble{border-color:#dce8d5;border-radius:12px;background:#edf5e8}
.order-message.is-system .order-message-bubble{max-width:100%;padding:7px 10px;border:0;border-radius:8px;background:#eef1ed;color:#59675e;box-shadow:none}
.order-message-meta{gap:10px;color:#6f7d73;font-size:11px}
.order-message-meta time{font-variant-numeric:tabular-nums}
.order-message-bubble p{margin-top:6px;color:#293a30;font-size:14px;line-height:1.5}
.order-message.is-system .order-message-bubble p{margin:0;color:#59675e;font-size:12px;line-height:1.45}
.chat-empty{gap:8px;padding:18px}
.chat-empty strong{color:#394a3e;font-size:14px}
.chat-empty p{color:#65736a;font-size:13px;line-height:1.5}
.messenger-composer{background:#fff}
.messenger-composer-box{border-color:#dce4d8;border-radius:12px;background:#fff}
.messenger-send-button{min-height:44px;border-radius:10px;font-size:12px}
.order-card-heading>div{flex:1;min-width:0}
.order-card-heading strong{font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.order-card-heading small{font-variant-numeric:tabular-nums}
.order-card-details{margin-top:9px;border:1px solid #e3e9e1;border-radius:10px;background:#fbfcfa}
.order-card-details>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:9px 12px;color:#3d5143;font-size:12px;font-weight:650;line-height:1.4;cursor:pointer;list-style:none}
.order-card-details>summary::-webkit-details-marker{display:none}
.order-card-details>summary::after{content:'+';flex:none;color:#56765a;font-size:19px;font-weight:400;line-height:1}
.order-card-details[open]>summary{border-bottom:1px solid #e7ece5}
.order-card-details[open]>summary::after{content:'−'}
.order-card-details .order-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px}
.order-card-details .order-products{margin:0 12px;padding:8px 0;border-top:1px solid #e7ece5}
.order-card-details .order-notes{margin:0 12px;padding:10px 0;border-top:1px solid #e7ece5}
@media(max-width:560px){
  .order-card-details>summary{min-height:46px}
  .order-card-details .order-card-grid{grid-template-columns:1fr;gap:10px}
  .messenger-messages{gap:9px}
  .order-message{max-width:100%}
  .order-message-bubble{max-width:min(92vw,520px)}
}
@media(max-width:760px){.catalog{padding-bottom:20px!important}.about{margin-top:12px!important}}

.messenger-order-ident{display:flex;flex-direction:column;min-width:0;gap:2px}.messenger-order-ident small{color:#718076;font-size:10px;overflow-wrap:anywhere}
