/* Mercantile v0.7.6.16.26.26 — storefront/mobile correction sprint. */
:root{--mm-v2626-light:#fff;--mm-v2626-soft:#f4f0ff;--mm-v2626-red:#c71643;--mm-v2626-purple:#371176}
html,body{max-width:100%;overflow-x:clip}

/* Dark managed-page heroes must never inherit purple-on-purple headings. */
.mm-v070-hero,.mm-wanted-hub .mm-v070-hero,.mm-local-sales-hub .mm-v070-hero,.mm-help-center .mm-v070-hero{color:var(--mm-v2626-light)!important}
.mm-v070-hero h1,.mm-v070-hero h2,.mm-v070-hero h3,.mm-v070-hero p,.mm-wanted-hub .mm-v070-hero h1,.mm-local-sales-hub .mm-v070-hero h1,.mm-help-center .mm-v070-hero h1{color:var(--mm-v2626-light)!important;opacity:1!important}
.mm-v070-hero .mm-eyebrow{color:#ddd2ff!important}

/* Saved state: outline when inactive, solid red when active. */
.mm-v07611-save{color:#281467!important;background:#fff!important;font-family:Arial,sans-serif!important;font-weight:700!important}
.mm-v07611-save.is-saved,.mm-v07611-save[aria-pressed="true"]{color:var(--mm-v2626-red)!important;background:#fff3f6!important;border-color:#efb6c4!important}

/* Accessible Local Sales multi-select disclosure/checklist. */
.mm-local-filterbar{grid-template-columns:minmax(170px,2fr) minmax(140px,1fr) minmax(160px,1fr) minmax(170px,1fr) minmax(120px,.8fr) auto!important;align-items:start!important}
.mm-v0762626-multiselect{position:relative;min-width:0}
.mm-v0762626-multiselect summary{display:flex;align-items:center;min-height:48px;padding:10px 38px 10px 13px;border:1px solid #cfccdc;border-radius:12px;background:#fff;color:#19172b;cursor:pointer;list-style:none}
.mm-v0762626-multiselect summary::-webkit-details-marker{display:none}.mm-v0762626-multiselect summary:after{content:'⌄';position:absolute;right:14px;color:#33245a;font-weight:900}
.mm-v0762626-multiselect.has-selection summary{border-color:#7047eb;background:var(--mm-v2626-soft);box-shadow:0 0 0 2px rgba(112,71,235,.12)}
.mm-v0762626-multiselect fieldset{position:absolute;z-index:80;top:calc(100% + 6px);left:0;width:min(320px,calc(100vw - 32px));max-height:360px;margin:0;padding:12px;border:1px solid #d9d1eb;border-radius:14px;background:#fff;box-shadow:0 14px 36px rgba(28,14,64,.22);overflow:auto}
.mm-v0762626-multiselect legend{padding:0 4px;color:#25105f;font-weight:850}.mm-v0762626-multiselect fieldset>button{width:100%;min-height:40px;margin:0 0 7px;border:1px solid #d8cfeb;border-radius:9px;background:#f7f4fc;color:#301467;font-weight:800}
.mm-v0762626-multiselect label{display:flex;align-items:center;gap:9px;min-height:44px;padding:7px 8px;border-radius:8px;color:#24213b;font-weight:650;cursor:pointer}.mm-v0762626-multiselect label:has(input:checked){background:#eee7ff;color:#301467}.mm-v0762626-multiselect input{width:20px!important;height:20px;min-height:20px!important;flex:0 0 20px;accent-color:#5a21bd}

/* Store directory enrichment. */
.dokan-seller-listing .dokan-single-seller,.dokan-seller-listing .store-wrapper{min-width:0;overflow:hidden}
.mm-v0762626-store-banner{display:block;width:100%;aspect-ratio:16/7;object-fit:cover}.mm-v0762626-store-avatar{width:68px;height:68px;margin:-34px 16px 0;border:4px solid #fff;border-radius:50%;background:#fff;object-fit:cover;position:relative}
.mm-v0762626-store-description{margin:10px 0 7px;color:#4b4658;font-size:14px;line-height:1.45}.mm-v0762626-store-description>span{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}.mm-v0762626-store-description.is-expanded>span{display:block;overflow:visible}.mm-v0762626-store-description button{display:inline;padding:0;border:0;background:transparent;color:#125fc6;font:inherit;font-weight:800;text-decoration:underline;cursor:pointer}.mm-v062-visit-store{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 14px!important;border-radius:10px!important;background:var(--mm-v2626-purple)!important;color:#fff!important;font-weight:850!important;text-decoration:none!important}.mm-v062-hide-arrow{display:none!important}

/* Product-page typography remains strong without consuming the phone viewport. */
@media(max-width:767px){
  .single-product .summary .product_title,.single-product h1.product_title,.single-product h1.wp-block-post-title{font-size:clamp(25px,7.2vw,34px)!important;line-height:1.12!important;letter-spacing:-.025em!important;overflow-wrap:anywhere}
  .single-product .summary .price{font-size:clamp(22px,6.2vw,29px)!important;line-height:1.15!important}
}

/* Stable phone grids across Shop, Saved, related products and vendor storefronts. */
@media(max-width:600px){
  .mm-v07611-results ul.products,.mm-v07611-results .wc-block-product-template,.woocommerce-account ul.products,.woocommerce-account .wc-block-product-template,.single-product .mm-product-discovery-section ul.products,.dokan-store-wrap ul.products,.dokan-store-wrap .products{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;gap:14px!important;margin-inline:0!important;padding-inline:0!important}
  .mm-v07611-results ul.products>li.product,.woocommerce-account ul.products>li.product,.single-product .mm-product-discovery-section ul.products>li.product,.dokan-store-wrap ul.products>li.product{float:none!important;clear:none!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important}
  .mm-v07611-card,.mm-v07615-card{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;overflow:hidden!important}
  .mm-v07611-card-body{display:flex!important;min-width:0!important;padding:14px!important;flex-direction:column!important}.mm-v07611-card-body>*{max-width:100%;min-width:0}
  .mm-v07611-card h2{font-size:clamp(19px,5.7vw,24px)!important;line-height:1.18!important;overflow-wrap:anywhere;word-break:normal}
  .mm-v07624-description{font-size:14px!important;line-height:1.45!important}
  .mm-v07611-price-row{display:flex!important;align-items:baseline!important;gap:9px!important;flex-wrap:wrap!important}.mm-v07611-card .mm-v07611-price-row strong,.mm-v07611-card .mm-v07611-price-row strong .amount{font-size:clamp(22px,5.8vw,25px)!important;line-height:1!important}.mm-v07611-card .mm-v07611-price-row del,.mm-v07611-card .mm-v07611-price-row del .amount{font-size:16px!important;color:#797380!important}
  .mm-v07615-item-meta,.mm-v07611-condition,.mm-v07611-stockline{font-size:14px!important}.mm-v07611-review-row{font-size:13px!important}.mm-v07611-vendor>a,.mm-v07615-fulfillment{font-size:14px!important}
  .mm-v07611-vendor-avatar{width:32px!important;height:32px!important}.mm-v07624-card-actions{max-width:100%;right:12px!important;bottom:12px!important}.mm-v07624-quick-add{width:48px!important;height:48px!important;min-width:48px!important;padding:0!important}
  .mm-v070-shell{width:min(100% - 20px,1180px)!important}.mm-v070-hero{padding:24px 20px!important}.mm-v070-hero h1{font-size:clamp(30px,9vw,42px)!important;line-height:1.06!important}.mm-v070-hero p{font-size:16px!important;line-height:1.5!important}
  .mm-v070-panel{padding:17px!important}.mm-v070-panel h2{font-size:clamp(25px,7.6vw,34px)!important;line-height:1.12!important;overflow-wrap:anywhere}.mm-v070-card{padding:17px!important}
  .mm-local-filterbar{grid-template-columns:minmax(0,1fr)!important}.mm-v0762626-multiselect fieldset{position:static;width:100%;max-height:none;margin-top:6px;box-shadow:none}.mm-v070-filterbar button,.mm-v070-filterbar input,.mm-v070-filterbar select,.mm-v0762626-multiselect summary{max-width:100%!important}
  .dokan-seller-listing{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important}.dokan-seller-listing .dokan-single-seller{width:100%!important;margin:0!important}
  body{padding-bottom:max(76px,env(safe-area-inset-bottom))}.mm-mobile-bottom-nav{padding-bottom:env(safe-area-inset-bottom)}
}

/* Landscape phones: two usable tracks, never the inherited 3/4-column grid. */
@media(min-width:601px) and (max-width:820px){
  .mm-v07611-results ul.products,.woocommerce-account ul.products,.single-product .mm-product-discovery-section ul.products,.dokan-store-wrap ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .mm-v07611-card h2{font-size:17px!important;line-height:1.22!important}.mm-v07611-card .mm-v07611-price-row strong,.mm-v07611-card .mm-v07611-price-row strong .amount{font-size:23px!important}
}

/* Tablet/desktop containment regression guard. */
@media(min-width:821px) and (max-width:1100px){.mm-v07611-results ul.products,.dokan-store-wrap ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(min-width:601px){.mm-v0762626-multiselect[open] fieldset{display:grid}}


/* v34: current Dokan directory markup; preserve its native links and media. */
#dokan-seller-listing-wrap .dokan-single-seller{min-width:0;height:auto!important}
#dokan-seller-listing-wrap .store-wrapper{display:flex!important;flex-direction:column!important;height:100%!important;min-width:0;overflow:hidden}
#dokan-seller-listing-wrap .mm-v062-store-card-info{margin-top:auto;min-width:0}
#dokan-seller-listing-wrap .mm-v0762626-store-description{overflow-wrap:anywhere}
#dokan-seller-listing-wrap .mm-v0762626-store-description button{min-height:44px}
@media(max-width:600px){#dokan-seller-listing-wrap ul.dokan-seller-wrap{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;padding:0!important}#dokan-seller-listing-wrap .dokan-single-seller{float:none!important;width:100%!important;margin:0!important;padding:0!important}#dokan-seller-listing-wrap .dokan-clearfix{display:none}}

/* v37: server-rendered Dokan footer content; native details works without JS. */
#dokan-seller-listing-wrap .store-footer:has(.mm-v37-server-card){display:flex!important;flex-wrap:wrap;align-items:center;height:auto!important;min-width:0}
#dokan-seller-listing-wrap .store-footer:has(.mm-v37-server-card)>a{display:none!important}
#dokan-seller-listing-wrap .store-footer:has(.mm-v37-server-card) .seller-avatar a{display:block!important}
#dokan-seller-listing-wrap .mm-v37-server-card{flex:0 0 100%;box-sizing:border-box;width:100%;min-width:0;text-align:left}
#dokan-seller-listing-wrap .mm-v37-description>span{display:block;overflow:visible;-webkit-line-clamp:unset}
#dokan-seller-listing-wrap .mm-v37-description:has(details[open])>.mm-v37-preview{display:none}
.mm-v37-description-details summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:#4b168b;font-weight:700;text-decoration:underline}
.mm-v37-description-details summary:focus-visible{outline:2px solid #4b168b;outline-offset:3px}
.mm-v37-description-details p{margin:0 0 8px;overflow-wrap:anywhere}
.mm-v37-description-details .mm-v37-less,.mm-v37-description-details[open] .mm-v37-more{display:none}
.mm-v37-description-details[open] .mm-v37-less{display:inline}