/* MoxiStash market: a product-first department store. */
:root { --market-ink:#173b34; --market-accent:#146d65; --market-line:#dce5df; }
.header { border-bottom:1px solid var(--market-line); box-shadow:0 4px 18px #143c2c05; }
.header-main { max-width:none; }
.department-inner { max-width:none; scrollbar-width:thin; }
.retail-home,.catalog-page .page-width,.collection-directory { max-width:none; width:calc(100% - 48px); }
.retail-home { padding-block:24px 44px; }
.market-kicker { display:block; font-size:12px; font-weight:750; letter-spacing:.12em; line-height:1.6; color:#647d71; }
.market-hero { display:grid; grid-template-columns:minmax(0,2.4fr) minmax(280px,1fr); gap:20px; margin-bottom:30px; }
.market-welcome { position:relative; border:1px solid #d5e4db; border-radius:16px; padding:clamp(26px,3vw,48px); background:linear-gradient(110deg,#e0eee6,#f1f5ed); overflow:hidden; }
.market-welcome:after { content:""; position:absolute; right:-75px; top:-90px; width:330px; height:330px; border:52px solid #c9dfcf66; border-radius:50%; pointer-events:none; }
.market-welcome h1 { position:relative; z-index:1; margin:14px 0 18px; font:800 clamp(35px,3.8vw,60px)/1.06 var(--display); letter-spacing:-.05em; color:var(--market-ink); }
.market-welcome p { position:relative; z-index:1; max-width:560px; font-size:17px; line-height:1.7; color:#526d60; margin:0 0 22px; }
.market-welcome .button { position:relative; z-index:1; }
.market-tags { display:flex; flex-wrap:wrap; gap:12px 26px; margin-top:26px; font-size:14px; color:#4d6c5f; }
.market-tags span { display:flex; align-items:center; gap:8px; }
.market-tags .ui-icon { width:19px; height:19px; }
.market-priority { display:flex; flex-direction:column; align-items:flex-start; border:1px solid #234d41; background:#193f35; border-radius:16px; padding:28px; color:#fff; }
.market-priority>.ui-icon { width:30px; height:30px; color:#c9e5c4; margin-bottom:14px; }
.market-priority .market-kicker { color:#bdd4c6; }
.market-priority h2 { font:750 26px/1.25 var(--display); letter-spacing:-.03em; margin:12px 0; }
.market-priority p { font-size:15px; line-height:1.7; color:#c6d9cf; margin:0 0 16px; }
.market-priority>b { font-size:30px; line-height:1.2; }
.market-priority>b span { font-size:15px; font-weight:400; color:#bfd4c8; }
.priority-cta { display:inline-flex; gap:12px; align-items:center; font-size:15px; font-weight:700; margin:16px 0 12px; }
.market-priority small { font-size:12px; line-height:1.6; color:#bdd1c5; margin-top:auto; }
.market-departments { margin-block:34px; }
.market-departments .shelf-heading { margin-bottom:20px; }
.market-departments h2 { margin:5px 0 0; font-size:28px; }
.department-directory-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(195px,1fr)); gap:14px; width:100%; }
.market-department-card { position:relative; display:flex; flex-direction:column; min-width:0; min-height:174px; padding:22px; border:1px solid var(--market-line); background:#fff; border-radius:12px; transition:border-color .18s,box-shadow .18s; }
.market-department-card:hover { border-color:#84ac97; box-shadow:0 5px 18px #19473209; }
.department-icon-box { display:grid; place-items:center; width:48px; height:48px; border-radius:12px; background:#eef5ef; color:#286a54; margin-bottom:14px; }
.department-icon-box .ui-icon { width:26px; height:26px; stroke-width:1.7; }
.market-department-card:nth-child(4n+2) .department-icon-box { background:#edf2f8; color:#3f6185; }
.market-department-card:nth-child(4n+3) .department-icon-box { background:#f7efed; color:#94685d; }
.market-department-card:nth-child(4n+4) .department-icon-box { background:#f3f0f7; color:#76628d; }
.market-department-card>b { display:block; font-size:16px; line-height:1.45; padding-right:10px; overflow-wrap:anywhere; }
.market-department-card small { font-size:13px; line-height:1.5; color:#718579; margin-top:6px; padding-right:24px; }
.market-department-card>.motion-arrow { position:absolute; right:18px; bottom:22px; color:#447b62; }
.market-bottom { display:flex; align-items:center; flex-wrap:wrap; gap:24px; background:#fff; padding:28px; border:1px solid var(--market-line); border-radius:14px; }
.market-bottom>.ui-icon { width:36px; height:36px; color:#428464; }
.market-bottom>div { flex:1; min-width:min(100%,240px); }
.market-bottom h2 { font-size:24px; margin:0 0 7px; }
.market-bottom p { font-size:15px; color:#6b7e72; margin:0; line-height:1.7; }
.market-catalog-notice { display:flex; align-items:center; flex-wrap:wrap; gap:20px; padding:28px; background:#fff; border:1px dashed #c9d9cc; border-radius:12px; }
.market-catalog-notice>div { flex:1; }
.market-catalog-notice h2 { font-size:24px; margin:0 0 8px; }
.market-catalog-notice p { margin:0; color:#6c8074; }
.market-catalog-notice>.ui-icon { width:36px; height:36px; }
.home-page #homeProductShelves .merchandise-shelf { background:#fff; padding:24px; border:1px solid var(--market-line); border-radius:14px; margin:24px 0; }
.home-page .merchandise-track { padding-bottom:5px; }
.home-page .shelf-product { flex-basis:280px; }
.shelf-product { display:flex; flex-direction:column; }
.shelf-product-image { width:100%; background:#f7f9f6; border:0; }
.shelf-product-image img { width:100%; height:100%; object-fit:contain; padding:12px; }
.shelf-product-category { font-size:12px; line-height:1.5; text-transform:uppercase; letter-spacing:.06em; color:#738476; margin:15px 0 7px; }
.shelf-product-title { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; width:100%; text-align:left; min-height:48px; padding:0; font-size:16px; font-weight:600; line-height:1.5; margin:0; }
.shelf-product-title:hover,.product-title a:hover { text-decoration:underline; text-underline-offset:3px; }
.shelf-product>strong { margin:14px 0; font-size:24px; }
.shelf-product-add { margin-top:auto; width:100%; justify-content:center; }
.product-card .product-view { display:block; width:100%; height:100%; }
.product-card .product-description { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.product-card .product-price { margin-block:12px; }
.catalog-page .shop-department-list { max-height:800px; overflow-y:auto; }
.catalog-page .shop-department { gap:8px; min-width:0; width:100%; justify-content:flex-start; padding:10px 8px; }
.catalog-page .shop-department span { min-width:0; flex:1; }
.catalog-page .shop-department b { margin-left:auto; font-size:12px; background:#eef3ed; border-radius:6px; padding:2px 5px; }
.catalog-page .shop-department .ui-icon { width:17px; height:17px; flex-basis:17px; }
.collection-directory { padding-bottom:40px; }
.collection-directory #collectionProductShelves { margin-top:30px; }
.product-page main>section:not(#productPage),.product-page .store-note { display:none!important; }
.product-page-content[hidden] { display:none; }
.product-page-content { width:calc(100% - 64px); max-width:1740px; margin:0 auto; padding:24px 0 48px; }
.product-breadcrumb { display:flex; flex-wrap:wrap; gap:10px; font-size:14px; color:#6b7d72; margin:0 0 26px; }
.product-breadcrumb a:hover { color:var(--market-accent); text-decoration:underline; }
.product-detail-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 300px; gap:32px; align-items:start; }
.detail-gallery { min-width:0; }
.detail-main-photo { display:grid; place-items:center; padding:28px; width:100%; height:520px; background:#fff; border:1px solid var(--market-line); border-radius:14px; }
.detail-main-photo img { width:100%; height:100%; object-fit:contain; min-height:0; }
.detail-main-photo>.ui-icon { width:64px; height:64px; color:#adc5b7; }
.detail-gallery .gallery-thumbs { margin-top:16px; display:flex; gap:12px; flex-wrap:wrap; }
.gallery-thumbs button { width:72px; height:72px; background:#fff; border:1px solid #cfded3; border-radius:8px; padding:6px; }
.gallery-thumbs button.selected { border:2px solid #146d65; }
.gallery-thumbs img { width:100%; height:100%; object-fit:contain; }
.detail-information h1 { font:750 clamp(26px,2.4vw,38px)/1.25 var(--display); color:var(--market-ink); letter-spacing:-.03em; margin:10px 0 22px; overflow-wrap:anywhere; }
.detail-price { display:flex; flex-wrap:wrap; align-items:center; gap:10px; font-size:32px; font-weight:750; padding-bottom:22px; border-bottom:1px solid var(--market-line); }
.detail-price del { font-size:17px; font-weight:400; color:#86938a; }
.detail-price>span { font-size:13px; font-weight:700; padding:4px 8px; border-radius:5px; background:#e1eee4; color:#286044; }
.detail-description { font-size:16px; line-height:1.8; white-space:pre-wrap; color:#50645a; overflow-wrap:anywhere; }
.detail-service { display:flex; align-items:flex-start; gap:14px; border-top:1px solid var(--market-line); padding:20px 0; }
.detail-service>.ui-icon { flex:0 0 22px; margin-top:3px; color:#407557; }
.detail-service p { font-size:14px; color:#64766b; line-height:1.7; margin:6px 0 0; white-space:pre-wrap; overflow-wrap:anywhere; }
.detail-service .text-button { font-size:15px; margin-top:7px; color:#146d65; background:none; border:0; text-align:left; cursor:pointer; }
.detail-buybox { min-width:0; padding:24px; border:1px solid #cfded3; border-radius:14px; background:#fff; display:grid; gap:14px; }
.detail-buybox>strong { font-size:32px; line-height:1.2; color:#173b34; }
.detail-buybox>p { font-size:14px; margin:0 0 4px; color:#6e8075; }
.detail-buybox label { font-weight:650; font-size:14px; }
.detail-buybox select { border:1px solid #bdcfc1; border-radius:7px; padding:12px; width:100%; font:inherit; min-height:46px; background:#f7faf6; }
.detail-buybox .button { width:100%; white-space:normal; }
.buybox-note { display:flex; gap:9px; padding:16px 0; color:#78897d; font-size:12px; line-height:1.6; border-top:1px solid var(--market-line); border-bottom:1px solid var(--market-line); }
.buybox-note>.ui-icon { flex:0 0 16px; width:16px; height:16px; margin-top:2px; }
.buybox-meta { display:grid; gap:4px; font-size:13px; color:#708276; }
.buybox-meta b { font-size:14px; font-weight:500; color:#395e49; }
.detail-buybox>a { color:#146d65; font-size:14px; text-decoration:underline; text-underline-offset:3px; }
.product-information-panel { padding:32px; border:1px solid var(--market-line); border-radius:14px; background:#fff; margin-top:32px; }
.product-information-panel h2 { font-size:25px; margin:0 0 18px; }
.product-information-panel p { line-height:1.8; white-space:pre-wrap; overflow-wrap:anywhere; }
.product-information-panel dl { margin-top:24px; max-width:650px; }
.product-information-panel dl>div { display:grid; grid-template-columns:1fr 1fr; gap:16px; border-top:1px solid var(--market-line); padding:13px 0; font-size:14px; }
.product-information-panel dd { margin:0; overflow-wrap:anywhere; }
.product-unavailable { min-height:300px; padding-block:48px; }
.cart-drawer { width:min(640px,100%); background:#f8faf7; padding:26px; }
.drawer-header { padding-bottom:20px; border-color:#dce5df; }
.drawer-header h2 { font-size:29px; margin-top:8px; }
.drawer-header h2 span { font-size:14px; color:#718175; font-weight:400; }
.cart-assurance { color:#637a6a; font-size:13px; padding-block:16px; }
.cart-items { padding-top:4px; }
.cart-item { border:1px solid var(--market-line); padding:18px; margin-bottom:14px; background:#fff; border-radius:12px; grid-template-columns:100px minmax(0,1fr); gap:18px; }
.cart-thumb { width:100px; height:116px; background:#f6f8f3; border:0; border-radius:8px; padding:8px; }
.cart-item-top { display:block; }
.cart-item h3 { font-size:16px; margin:4px 0 10px; }
.cart-item h3 a { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.cart-item h3 a:hover { text-decoration:underline; }
.cart-item-category { font-size:11px; letter-spacing:.06em; }
.remove-item { float:right; font-size:12px; min-height:36px; padding:6px 0 6px 8px; }
.cart-item-price { font-size:17px; }
.cart-item-bottom { clear:both; padding-top:14px; }
.qty-control { border:1px solid #ceddd2; border-radius:8px; padding:3px; gap:2px; background:#fff; }
.qty-control>span { padding-left:6px; font-size:12px; }
.qty-control button { background:#f1f6ef; border:0; border-radius:5px; width:34px; height:34px; }
.qty-control button .ui-icon { width:15px; height:15px; }
.cart-footer { background:#fff; border-top:1px solid var(--market-line); margin-inline:-26px; padding:20px 26px 26px; box-shadow:0 -8px 20px #153d2a05; }
.cart-footer { max-height:52dvh; overflow-y:auto; flex-shrink:0; }
.cart-totals { display:flex; flex-direction:column; }
.cart-totals .subtotal { display:none; }
.cart-totals .estimated-total { order:0; font-size:18px; padding-top:14px; border:0; }
.cart-totals .cart-shipping-note { order:1; margin-bottom:0; }
.cart-totals .estimated-total small { display:block; font-size:12px; margin-top:4px; }
.cart-shipping-note { font-size:13px; line-height:1.6; }
.cart-promotions { border:1px solid var(--market-line); border-radius:8px; padding:12px; }
.cart-promotions summary { font-size:14px; }
.checkout-button { min-height:50px; margin-top:16px; }
.checkout-security { font-size:12px; margin-top:12px; }
.cart-discounts input:not([type=checkbox]) { font-size:16px; min-height:44px; }
.editor-guidance { font-size:16px; line-height:1.7; color:#6d7e71; margin:0 0 8px; }
.editor-options { border:1px solid #dce5d9; border-radius:10px; background:#fff; padding:18px; }
.editor-options summary { cursor:pointer; font-size:16px; font-weight:650; }
.editor-options summary span { display:block; margin:6px 0 0 17px; font-size:13px; font-weight:400; color:#7b887a; }
.editor-options[open]>.field-grid { margin-top:22px; }
.editor-options>p { font-size:14px; line-height:1.7; color:#6b7d6e; margin:18px 0 0; }
.product-form .toggle-field input { width:20px; height:20px; min-height:0; flex:0 0 20px; }
.fulfillment-guide { padding:24px; border:1px solid #d6e4d3; border-radius:12px; background:#f1f6ed; margin-bottom:24px; }
.fulfillment-guide>div { display:flex; align-items:center; gap:12px; }
.fulfillment-guide h2 { font-size:24px; margin:0; }
.fulfillment-guide ol { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 26px; padding-left:22px; }
.fulfillment-guide li { padding-left:4px; font-size:15px; }
.fulfillment-guide li b,.fulfillment-guide li span { display:block; }
.fulfillment-guide li span { margin-top:7px; font-size:14px; line-height:1.7; color:#697b66; }
.fulfillment-guide p { font-size:14px; line-height:1.7; color:#64785f; }
.fulfillment-guide>a { display:inline-flex; gap:8px; align-items:center; color:#3c7052; font-size:14px; }
@media(min-width:1800px) { .department-directory-grid { grid-template-columns:repeat(8,minmax(0,1fr)); } }
@media(max-width:1100px) {
  .market-hero { grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr); }
  .product-detail-grid { grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:24px; }
  .detail-buybox { grid-column:2; }
  .detail-gallery { grid-row:1/3; }
  .detail-main-photo { height:420px; }
}
@media(max-width:760px) {
  .retail-home,.catalog-page .page-width,.collection-directory { width:calc(100% - 28px); }
  .retail-home { padding-top:16px; }
  .market-hero { grid-template-columns:minmax(0,1fr); gap:14px; }
  .market-welcome { padding:26px; }
  .market-welcome h1 { font-size:39px; }
  .market-welcome p { font-size:16px; }
  .market-welcome:after { right:-160px; }
  .market-priority { padding:24px; }
  .market-priority h2 { font-size:23px; margin-top:8px; }
  .market-priority>.ui-icon { display:none; }
  .market-priority>b { font-size:26px; }
  .market-departments h2 { font-size:25px; }
  .department-directory-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .market-department-card { min-height:174px; padding:16px 14px; }
  .market-department-card>b { font-size:15px; padding-right:0; }
  .market-department-card small { font-size:12px; padding-right:16px; }
  .market-department-card>.motion-arrow { right:12px; bottom:19px; width:15px; height:15px; }
  .department-icon-box { width:42px; height:42px; }
  .home-page #homeProductShelves .merchandise-shelf { padding:18px; }
  .home-page .shelf-product { flex-basis:240px; }
  .merchandise-shelf .shelf-heading h2 { font-size:25px; }
  .market-bottom { padding:24px; gap:16px; }
  .market-bottom .button { width:100%; }
  .catalog-page .shop-department-list { display:flex; max-height:none; overflow-x:auto; overflow-y:hidden; }
  .catalog-page .shop-department { width:auto; min-width:max-content; }
  .catalog-page .shop-department b { display:none; }
  .product-page-content { width:calc(100% - 32px); padding-top:18px; }
  .product-detail-grid { grid-template-columns:minmax(0,1fr); gap:24px; }
  .detail-gallery { grid-row:auto; }
  .detail-buybox { grid-column:auto; }
  .detail-main-photo { height:360px; padding:22px; }
  .detail-information h1 { font-size:28px; }
  .detail-buybox { padding:24px; }
  .product-information-panel { padding:24px; }
  .cart-drawer { padding:20px 16px; }
  .cart-footer { margin-inline:-16px; padding:18px 16px 24px; }
  .cart-item { grid-template-columns:76px minmax(0,1fr); padding:14px; gap:12px; }
  .cart-thumb { width:76px; height:94px; }
  .cart-item h3 { font-size:15px; }
  .cart-item-bottom { gap:10px; }
  .cart-line-price { font-size:16px; }
  .drawer-header h2 { font-size:26px; }
  .cart-empty { padding-inline:0; }
  .editor-options { padding:16px; }
  .fulfillment-guide { padding:20px; }
  .fulfillment-guide h2 { font-size:22px; }
  .fulfillment-guide ol { grid-template-columns:minmax(0,1fr); }
}

/* Quantity controls have a reserved touch target and a centered count. */
.qty-control { display:inline-grid; grid-template-columns:38px 32px 38px; gap:2px; padding:4px; border:1px solid #c5d8ca; border-radius:11px; background:#f2f7f1; box-shadow:0 1px 2px #1a43260a; font-variant-numeric:tabular-nums; }
.qty-control button { display:grid; place-items:center; width:38px; height:38px; margin:0; padding:0; border:0; border-radius:7px; background:#fff; color:#285d45; box-shadow:0 1px 3px #22432b0a; transition:background .15s,color .15s; }
.qty-control button .ui-icon { display:block; width:18px; height:18px; flex:0 0 18px; stroke-width:2; }
.qty-control button:hover { background:#dfeee2; color:#154b32; }
.qty-control button:focus-visible { outline:2px solid #146d65; outline-offset:2px; }
.qty-control button:disabled { opacity:.35; cursor:default; box-shadow:none; }
.qty-control output { display:block; width:32px; text-align:center; font-size:16px; font-weight:700; line-height:38px; color:#254c37; }
.rating-badge { display:inline-flex; align-items:center; gap:7px; width:fit-content; max-width:100%; margin:9px 0 12px; font-size:13px; color:#537761; line-height:1.4; text-decoration:none; }
.rating-badge:hover .rating-count { text-decoration:underline; }
.rating-badge>b { color:#5f6e62; font-size:12px; font-weight:500; }
.rating-count { font-size:13px; color:#52735b; font-variant-numeric:tabular-nums; }
.review-stars { display:inline-flex; gap:2px; vertical-align:middle; flex-shrink:0; }
.review-star { display:block; position:relative; width:18px; height:18px; flex:0 0 18px; }
.review-star>svg,.review-star-fill>svg { display:block; width:18px; height:18px; stroke-width:1.5; stroke-linejoin:round; }
.review-star>svg { fill:#edf0e9; stroke:#c7d0c3; }
.review-star-fill { position:absolute; left:0; top:0; height:18px; overflow:hidden; }
.review-star-fill>svg { fill:#dd9c32; stroke:#c88924; max-width:none; }
.detail-information>.rating-badge { margin:0 0 18px; }
.shelf-product>.rating-badge { margin-bottom:4px; }
.product-reviews-panel { margin-top:30px; padding:32px; border:1px solid var(--market-line); border-radius:14px; background:#fff; scroll-margin-top:24px; }
.product-reviews-panel h2 { font-size:27px; margin:0; }
.review-source-badge { padding:7px 10px; border:1px solid #d7e4d8; border-radius:6px; color:#52765c; font-size:12px; background:#f5f9f2; }
.reviews-provenance { color:#758375; font-size:13px; line-height:1.7; max-width:900px; }
.reviews-summary { display:flex; align-items:center; gap:24px; padding:25px 0; border-bottom:1px solid var(--market-line); margin-bottom:8px; }
.reviews-summary>strong { font:750 46px/1 var(--display); color:#294b39; }
.reviews-summary>strong small { display:block; font:400 12px/1.6 var(--sans); color:#7b897b; margin-top:8px; }
.reviews-summary p { margin:8px 0 0; font-size:14px; color:#6d816f; }
.reviews-import-note { font-size:13px; color:#7a8877; line-height:1.7; }
.reviews-import-note:empty { display:none; }
.customer-review { padding:25px 0; border-bottom:1px solid var(--market-line); }
.customer-review:last-child { border-bottom:0; }
.review-author { display:flex; align-items:center; gap:12px; }
.review-avatar { display:grid; place-items:center; width:38px; height:38px; border-radius:50%; background:#eef4eb; color:#73916f; flex:0 0 38px; }
.review-avatar .ui-icon { width:19px; height:19px; }
.review-author b { display:block; font-size:15px; font-weight:650; color:#3f5f48; }
.review-author>div>span { display:block; margin-top:3px; font-size:12px; color:#7d8c7d; }
.review-meta { display:flex; flex-wrap:wrap; gap:10px 14px; align-items:center; margin:15px 0; }
.review-meta time,.review-score { color:#809080; font-size:12px; }
.review-body { max-width:1000px; font-size:15px; overflow-wrap:anywhere; }
.review-photos { display:flex; flex-wrap:wrap; gap:10px; margin-top:15px; }
.review-photos a { width:88px; height:88px; border:1px solid #d9e3d6; border-radius:8px; overflow:hidden; }
.review-photos img { width:100%; height:100%; object-fit:cover; }
.formatted-description h1,.formatted-description h2,.formatted-description h3 { margin:26px 0 14px; font:700 23px/1.35 var(--display); letter-spacing:-.025em; }
.formatted-description h4,.formatted-description h5,.formatted-description h6 { font-size:18px; margin:20px 0 12px; }
.formatted-description table { display:block; max-width:100%; overflow-x:auto; border-collapse:collapse; margin:20px 0; font-size:14px; }
.formatted-description th,.formatted-description td { border:1px solid #dae3d6; padding:12px 14px; text-align:left; }
.formatted-description th { background:#f0f5ed; }
.formatted-description blockquote { border-left:3px solid #b3ccaf; margin:18px 0; padding:4px 18px; color:#65805e; }
.formatted-description pre { max-width:100%; overflow-x:auto; padding:18px; border-radius:9px; background:#f3f6f0; font-size:13px; line-height:1.7; }
.formatted-description code { background:#eff4ec; border-radius:4px; padding:2px 5px; font-size:.9em; }
.formatted-description pre code { padding:0; background:none; }
.formatted-description a { color:#146d65; text-decoration:underline; text-underline-offset:3px; overflow-wrap:anywhere; }
.description-tools,.editor-review-tools { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.description-tools>span,.editor-review-tools>span { font-size:13px; line-height:1.65; color:#71806b; flex:1; min-width:180px; }
.editor-review-tools { border-bottom:1px solid #dce5d8; padding-bottom:22px; }
.editor-description-preview { border:1px solid #dce5d8; border-radius:10px; padding:24px; background:#fff; }
.ai-draft-panel { padding:24px; border:1px solid #b8d2bc; background:#f0f7ed; border-radius:10px; min-width:0; }
.ai-draft-panel h3 { margin:0 0 10px; font-size:21px; }
.ai-draft-panel p { font-size:14px; line-height:1.7; color:#6a7f64; }
.ai-draft-panel textarea { width:100%; min-width:0; font:14px/1.8 ui-monospace,monospace; padding:16px; border:1px solid #d0dfc9; border-radius:7px; resize:vertical; }
@media(max-width:760px) {
  .product-reviews-panel { padding:22px; }
  .product-reviews-panel h2 { font-size:24px; }
  .reviews-summary { gap:20px; }
  .review-meta { gap:10px; }
  .qty-control { grid-template-columns:36px 28px 36px; }
  .qty-control button { width:36px; height:38px; }
  .qty-control output { width:28px; }
  .description-tools>button,.editor-review-tools>button { width:100%; }
}
@media(prefers-reduced-motion:reduce) { .market-department-card { transition:none; } }

/* Import tools, readable supplier content, and persistent cart state. */
[hidden] { display:none!important; }
[data-add].is-added { background:#e7f2e9; color:#245f40; border-color:#aacdb7; }
[data-add].is-added:hover { background:#dcece1; }
.formatted-description { color:#445f51; font-size:16px; line-height:1.85; }
.formatted-description p { margin:0 0 18px; white-space:normal; }
.formatted-description ul { padding-left:24px; margin:16px 0 24px; }
.formatted-description li { padding-left:5px; margin-block:9px; }
.product-videos { margin-top:24px; }
.product-videos h2 { font-size:21px; }
.product-videos figure { margin:0 0 20px; }
.product-videos video { display:block; width:100%; max-height:500px; border-radius:12px; background:#16352e; }
.product-videos figcaption { color:#708375; font-size:13px; margin-top:8px; }
.detail-gallery .gallery-thumbs { max-height:270px; overflow-y:auto; padding:3px; align-content:flex-start; }
.cj-import-settings { margin-top:24px; padding:24px; border:1px solid #dce5d9; border-radius:12px; background:#f4f8f0; }
.cj-import-settings h3 { font-size:20px; margin:0 0 20px; }
.cj-import-settings label { display:grid; gap:8px; font-size:15px; font-weight:600; }
.cj-import-settings input,.cj-import-settings select,.product-form select { width:100%; min-width:0; min-height:46px; border:1px solid #cbdac7; border-radius:6px; padding:11px 12px; background:white; font:inherit; }
.cj-import-settings .cj-publish-choice { display:flex; align-items:flex-start; gap:10px; margin:22px 0 12px; line-height:1.6; }
.cj-publish-choice input { width:19px; height:19px; min-height:0; flex:0 0 19px; margin-top:3px; accent-color:#146d65; }
.cj-import-settings>p { font-size:13px; line-height:1.75; color:#73816c; }
.cj-bulk-toolbar { display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin-top:22px; }
.cj-bulk-toolbar>span { flex:1; min-width:180px; font-size:14px; color:#4b6854; }
.cj-bulk-report { max-height:300px; overflow-y:auto; margin-top:12px; font-size:13px; line-height:1.7; overflow-wrap:anywhere; }
.cj-bulk-report p { border-top:1px solid #dce6d7; padding-block:12px; margin:0; }
#cjResults .product-row { grid-template-columns:60px minmax(0,1fr) 100px 160px; }
#cjResults .row-actions { display:flex; flex-direction:column; align-items:stretch; gap:8px; }
#cjResults .row-actions button { min-height:40px; padding:9px; border:1px solid #cbddcd; border-radius:6px; background:#f0f6ed; font-size:14px; }
#cjResults .row-actions button:disabled { opacity:.6; cursor:default; }
#cjResults .row-actions button[data-cj-add] { background:#146d65; color:white; border-color:#146d65; }
#cjSearchForm .form-actions { flex-wrap:wrap; align-items:center; gap:14px; }
#cjSearchForm .form-actions>button { flex:0 0 auto; }
#cjSearchStatus { flex:1; min-width:180px; font-size:14px; line-height:1.6; }
.product-form textarea[name=description] { line-height:1.8; }
@media(max-width:760px) {
  #cjSearchForm .form-actions { display:grid; grid-template-columns:minmax(0,1fr); }
  #cjSearchForm .form-actions>button { width:100%; }
  .cj-import-settings { padding:18px; }
  #cjResults .product-row { grid-template-columns:54px minmax(0,1fr); }
  #cjResults .row-actions { grid-column:2; flex-direction:column; }
  .cj-bulk-toolbar>button { width:100%; }
  .detail-gallery .gallery-thumbs { max-height:184px; }
}

/* Shared Markdown and long-copy disclosure. */
.moxi-long-copy{min-width:0;overflow-wrap:anywhere}.moxi-long-copy .moxi-copy-preview{margin:10px 0;line-height:1.7}.moxi-long-copy details>summary{cursor:pointer;color:#146b58;font-weight:650;font-size:14px;padding:8px 0;width:fit-content}.moxi-long-copy .copy-less{display:none}.moxi-long-copy details[open] .copy-more{display:none}.moxi-long-copy details[open] .copy-less{display:inline}.moxi-long-copy:has(>details[open])>.moxi-copy-preview{display:none}.moxi-copy-full{line-height:1.75;min-width:0;overflow-wrap:anywhere}.moxi-copy-full>*{max-width:100%}.moxi-copy-full table{display:block;overflow-x:auto}.moxi-copy-full h1{font-size:1.5em;line-height:1.3}.moxi-copy-full h2{font-size:1.2em;line-height:1.4}.moxi-copy-full pre{white-space:pre-wrap;overflow-wrap:anywhere}.product-delivery p,.cart-item-delivery p{margin:0}
/* Search-first catalog and product photography. */
.market-departments,#departments,#collectionDirectory,#shopDepartmentList,.shop-sidebar>.shop-sidebar-title,.catalog-controls .filter-control:has(#categorySelect),#headerDepartment,.hero-secondary[href="#departments"]{display:none!important}
.detail-main-photo.gallery-stage{position:relative;padding:24px;background:#fff;border:1px solid #e3e9e5;border-radius:16px;overflow:hidden}.gallery-stage .photo-open{width:100%;height:100%;border:0;background:white;padding:0;cursor:zoom-in;display:flex;align-items:center;justify-content:center}.gallery-stage img{width:100%;height:100%;object-fit:contain;max-height:580px}.photo-arrow{position:absolute;top:50%;transform:translateY(-50%);border:1px solid #dce5de;background:rgba(255,255,255,.96);color:#174d3c;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;cursor:pointer;box-shadow:0 3px 12px #19382b12;z-index:2}.photo-prev{left:12px}.photo-next{right:12px}.photo-arrow:hover{background:#eaf2e7}.photo-count{position:absolute;bottom:12px;right:14px;padding:4px 10px;border-radius:20px;background:#173e32;color:white;font-size:12px}.detail-gallery .gallery-thumbs.compact-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;max-height:none;overflow:visible;margin-top:14px;padding:0}.compact-thumbs button{position:relative;width:100%;height:auto;aspect-ratio:1;border-radius:10px;overflow:hidden;background:white;border:1px solid #dce6dd;padding:7px}.compact-thumbs button.selected{border:2px solid #2d745c}.compact-thumbs img{width:100%;height:100%;object-fit:contain}.photo-more{position:absolute;inset:0;display:grid;place-items:center;background:#173e32ae;color:white;font-size:24px;font-weight:750;backdrop-filter:blur(1px)}.photo-viewer{width:min(1100px,96vw);max-width:96vw;height:min(850px,94dvh);max-height:94dvh;padding:24px;border:0;border-radius:18px;background:#fff;overflow:hidden}.photo-viewer::backdrop{background:#12271fe0}.photo-close{position:absolute;top:14px;right:14px;width:40px;height:40px;display:grid;place-items:center;z-index:3;border:1px solid #dce5de;border-radius:50%;background:white;cursor:pointer}.expanded-photo-stage{position:relative;display:flex;align-items:center;justify-content:center;height:calc(100% - 35px)}.expanded-photo-stage img{width:100%;height:100%;object-fit:contain}.photo-viewer-count{display:block;text-align:center;font-size:14px;color:#355846}.merchandise-track{scrollbar-width:none}.merchandise-track::-webkit-scrollbar{display:none}html{scrollbar-width:thin;scrollbar-color:#327158 #edf1e9}*:focus-visible{outline:3px solid #8bbba6;outline-offset:3px}@media(max-width:600px){.gallery-stage .photo-arrow{width:36px;height:36px}.detail-main-photo.gallery-stage{padding:14px}.compact-thumbs{gap:7px!important}.photo-viewer{padding:12px}.photo-more{font-size:20px}}
/* Isolate each media frame and reserve its full space before text begins. */
.product-grid>*{min-width:0}.product-card{min-width:0;height:auto!important;isolation:isolate}.catalog-page .product-card .product-image,.product-card .product-image{position:relative;flex:0 0 auto;width:100%;height:auto;min-height:0;aspect-ratio:1;overflow:hidden;contain:paint;display:block;padding:0}.product-card .product-image .product-view{position:absolute;inset:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:0}.product-card .product-image img,.catalog-page .product-card .product-image img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;padding:0;object-fit:contain;transform:none!important}.product-card .product-info{position:relative;min-width:0;max-width:100%;padding:14px 0 0;gap:8px}.product-info>*{max-width:100%;min-width:0}.product-title,.product-title a,.product-category{overflow-wrap:anywhere}.product-title{margin:0;line-height:1.5}.product-price{flex-wrap:wrap}.product-delivery{min-width:0;overflow-wrap:anywhere;align-items:flex-start}.product-delivery>svg{flex-shrink:0}.product-card .quick-add{position:static;margin-top:auto;width:100%;white-space:normal}.detail-information,.detail-buybox,.detail-gallery,.cart-item-detail,.cart-item-top>div,.header-search,.admin-content{min-width:0}.cart-item-top{gap:12px;align-items:flex-start}.cart-item-top h3{overflow-wrap:anywhere}.cart-item-bottom{gap:12px;flex-wrap:wrap}.detail-main-photo.gallery-stage{width:100%;height:auto;min-height:0;padding:0;background:transparent;border:0;display:block;border-radius:14px;overflow:hidden}.gallery-stage .photo-open{display:block;width:100%;height:auto;padding:0;background:transparent}.gallery-stage .photo-open img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:14px}.cart-button{display:inline-flex;gap:10px;align-items:center;padding:10px 12px;min-height:48px;flex-shrink:0}.cart-button .cart-icon{position:relative;display:block;width:40px;height:36px;flex:0 0 40px;overflow:visible}.cart-button .cart-icon svg{position:absolute;top:8px;left:0;width:27px;height:27px}.cart-button .cart-icon #cartCount{position:absolute;top:-2px;right:-3px;display:flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 5px;border:2px solid #fff;border-radius:999px;background:#176451;color:#fff;font:750 11px/1 system-ui,sans-serif;font-variant-numeric:tabular-nums;font-style:normal;letter-spacing:0;box-shadow:0 1px 4px #183e3220}.header-tools{gap:12px;flex-shrink:0}img,video{max-width:100%}.formatted-description{min-width:0;overflow-wrap:anywhere}.formatted-description table{display:block;max-width:100%;overflow-x:auto}.field-grid>*{min-width:0}@media(max-width:600px){.product-card .product-info{padding-top:12px;gap:7px}.cart-button{padding:8px;gap:6px}.cart-button .cart-icon{width:36px;flex-basis:36px}.detail-main-photo.gallery-stage{padding:0;height:auto}.catalog-page .product-card{padding:10px}.product-card .product-title{font-size:14px;line-height:1.45}.product-card .product-category{font-size:11px}}
/* Scroll styling belongs only to actual scroll containers. No page/photo indicators. */
*{scrollbar-width:thin;scrollbar-color:#327158 #e8eee4}*::-webkit-scrollbar{width:6px;height:6px}*::-webkit-scrollbar-track{background:#e8eee4;border-radius:999px}*::-webkit-scrollbar-thumb{background:#327158;border-radius:999px;min-height:28px;min-width:28px}*::-webkit-scrollbar-thumb:hover{background:#1b5441}.merchandise-track{scrollbar-width:thin}.merchandise-track::-webkit-scrollbar{display:block;width:6px;height:6px}.detail-main-photo.gallery-stage{height:520px;width:100%;padding:0;display:flex;align-items:center;justify-content:center;background:#f7f9f6;overflow:hidden}.gallery-stage .photo-open{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:8px;background:transparent}.gallery-stage .photo-open img{display:block;width:100%;height:100%;max-height:100%;max-width:100%;object-fit:contain;border-radius:8px}@media(max-width:1000px){.detail-main-photo.gallery-stage{height:440px}}@media(max-width:600px){.detail-main-photo.gallery-stage{height:360px}}
.department-inner,.campaign-shelf,.shortcut-shelf{scrollbar-width:thin}.department-inner::-webkit-scrollbar,.campaign-shelf::-webkit-scrollbar,.shortcut-shelf::-webkit-scrollbar{display:block;width:6px;height:6px}
