/*
Theme Name: Vintage-Oyster Shop
Description: Small Twenty Twenty-Five child theme. Local preparation of homepage B; not integration-tested.
Version: 0.3.13
Requires at least: 6.7
Requires PHP: 7.4
Template: twentytwentyfive
Text Domain: vintage-oyster-shop
License: GPL-2.0-or-later
*/
/* Shop presentation; navigation content stays in WordPress. */
.vo-shop-header { position: relative; padding-block: 1rem 0; border-bottom: 1px solid #deded8; }
.vo-shop-header .vo-shop-logo { width: 300px; max-width: 70vw; margin: 0 auto 1rem; }
.vo-shop-logo img { display: block; width: 100%; height: auto; }
.vo-shop-languages { display: flex; justify-content: center; gap: .25rem; margin: 0 auto .75rem; }
.vo-shop-languages button { background: transparent; color: #01411f; border: 0; border-bottom: 1px solid transparent; border-radius: 0; min-width: 44px; min-height: 44px; padding: .5rem; font: 500 .8125rem Montserrat, sans-serif; cursor: pointer; }
.vo-shop-languages button[aria-pressed="true"] { border-bottom-color: currentColor; font-weight: 600; }
.vo-shop-languages button:hover { background: #f4f5f1; }
.vo-shop-header .wp-block-navigation { justify-content: center; font-size: 1.0625rem; font-weight: 500; color: #01411f; padding-block: 1rem; border-top: 1px solid #deded8; }
.vo-shop-header .wp-block-navigation__container { gap: 1rem 1.5rem; justify-content: center; }
/* Marketplace browsing item is identified explicitly; no last-item separator. */
.vo-shop-header .wp-block-navigation-item__content { text-underline-offset: .25em; }
.vo-shop-main { padding-block: 1.5rem 2.5rem; }
.vo-shop-main .vo-shop-section-title { font-family: Montserrat, sans-serif; font-size: 1.125rem; font-weight: 500; line-height: 1.4; margin-block: 0 1.5rem; color: #282828; }
.vo-shop-arrivals :is(.wc-block-product-template, .wp-block-woocommerce-product-template) { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 1.75rem; }
.vo-shop-arrivals :is(.wc-block-product-template, .wp-block-woocommerce-product-template) > li { min-width: 0; width: auto !important; }
.vo-shop-arrivals .wc-block-components-product-image { aspect-ratio: 1 / 1; }
.vo-shop-arrivals .wc-block-components-product-image img { width: 100%; height: 100%; object-fit: contain; }
.vo-shop-arrivals .wp-block-post-title { font-size: 1.1875rem; line-height: 1.4; margin-block: 1rem .5rem; overflow-wrap: anywhere; }
.vo-shop-arrivals .vo-shop-price { font-size: .9375rem; }
.vo-shop-footer { border-top: 1px solid #deded8; padding-block: 1.25rem; font-size: .8125rem; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #01411f; outline-offset: 4px; }
@media (min-width: 1100px) {
 .vo-shop-header .vo-shop-languages { position: absolute; top: 1.5rem; left: max(1.5rem, calc((100% - 1120px) / 2)); }
}
@media (max-width: 1023px) {
 .vo-shop-arrivals :is(.wc-block-product-template, .wp-block-woocommerce-product-template) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 1.25rem; }
}
@media (max-width: 700px) {
 .vo-shop-header .vo-shop-logo { width: 230px; margin-bottom: .25rem; }
 .vo-shop-header .wp-block-navigation { font-size: 1rem; }
 .vo-shop-main { padding-top: 1.25rem; }
 .vo-shop-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .vo-shop-browse { border-left: 0; border-top: 1px solid #b9c9bc; padding: 1rem 0 0; margin-top: .5rem; }
}
@media (max-width: 599px) {
 .vo-shop-arrivals :is(.wc-block-product-template, .wp-block-woocommerce-product-template) { grid-template-columns: minmax(0, 1fr) !important; }
}

.vo-shop-mobile-navigation { display: none; }
@media (max-width: 599px) {
 .vo-shop-header .vo-shop-has-mobile-menu { display: none; }
 .vo-shop-mobile-navigation { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: .75rem; border-top: 1px solid #deded8; padding-block: .75rem; }
 .vo-shop-mobile-navigation summary, .vo-shop-mobile-marketplace { font: 500 .875rem/1.5 Montserrat, sans-serif; color: #01411f; padding-block: .75rem; min-height: 44px; cursor: pointer; }
 .vo-shop-mobile-marketplace { text-decoration: none; border-left: 1px solid #b9c9bc; padding-left: .75rem; }
 .vo-shop-mobile-navigation .wp-block-navigation { border-top: 0; padding-block: .5rem; }
 .vo-shop-mobile-navigation .wp-block-navigation__container { align-items: flex-start; gap: .75rem; }
 .vo-shop-header .vo-shop-mobile-navigation .wp-block-navigation-item:last-child { border: 0; padding: 0; }
}

@media (min-width: 1024px) {
 .vo-shop-arrivals .wp-block-post-title { text-align: center; }
}

.vo-shop-mobile-marketplace { white-space: normal; overflow-wrap: normal; }

/* Approved portrait fixtures: 600x799, contained in square image areas.
   Match the visible image width without changing image or card dimensions. */
.vo-shop-arrivals .wp-block-post-title,
.vo-shop-arrivals .vo-shop-price { width: 75.093867%; margin-inline: auto; text-align: left; }
@media (max-width: 599px) {
 .vo-shop-arrivals .wp-block-post-title,
 .vo-shop-arrivals .vo-shop-price { text-align: center; }
}

/* Header utilities only; cart/checkout pages and product controls are untouched. */
body:is(.home, .single-product) header .wp-block-woocommerce-mini-cart { display: none !important; }
.vo-shop-header .wp-block-woocommerce-customer-account { display: none !important; }
.vo-shop-header .vo-shop-account { position: absolute; top: .5rem; right: max(.5rem, calc((100% - 1120px) / 2)); display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; color: #01411f; text-decoration: none; }
.vo-shop-account svg { display: block; width: 20px; height: 20px; }

.vo-shop-product { padding-block: 2rem; }
/* Fixed-ratio main stage only; leave thumbnails, zoomImg and PhotoSwipe alone. */
.vo-shop-product .wp-block-woocommerce-product-image-gallery,
.vo-shop-product .woocommerce-product-gallery { min-width: 0; max-width: 100%; }
.vo-shop-product .woocommerce-product-gallery > .flex-viewport {
  aspect-ratio: 1 / 1;
  height: auto !important; /* Override FlexSlider's inline smoothHeight. */
  overflow: hidden;
}
.vo-shop-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image {
  position: relative;
  aspect-ratio: 1 / 1;
}
.vo-shop-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image > a {
  position: absolute;
  inset: 0;
  display: block;
}
.vo-shop-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image > a > img:not(.zoomImg) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
/* Structured thumbnail grid; keep WooCommerce click and zoom behaviour. */
.vo-shop-product .woocommerce-product-gallery .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  list-style: none;
}
.vo-shop-product .woocommerce-product-gallery .flex-control-thumbs::before,
.vo-shop-product .woocommerce-product-gallery .flex-control-thumbs::after {
  display: none !important;
  content: none !important;
}
.vo-shop-product .woocommerce-product-gallery .flex-control-thumbs > li {
  float: none !important;
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0;
  list-style: none;
}
.vo-shop-product .woocommerce-product-gallery .flex-control-thumbs > li > img {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 3px;
  border: 2px solid #deded8;
  background: #fff;
  opacity: 1 !important;
  cursor: pointer;
}
.vo-shop-product .woocommerce-product-gallery .flex-control-thumbs > li > img:hover {
  border-color: #a9b3ab;
}
.vo-shop-product .woocommerce-product-gallery .flex-control-thumbs > li > img.flex-active {
  border-color: #01411f;
}
.vo-shop-product .woocommerce-product-gallery .flex-control-thumbs > li > img:focus-visible {
  outline: 2px solid #01411f;
  outline-offset: -4px;
}
@media (max-width: 599px) {
  .vo-shop-product .woocommerce-product-gallery .flex-control-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.vo-shop-product > .wp-block-columns { gap: 2.5rem; align-items: start; }
.vo-shop-product .wp-block-post-title { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; }
.vo-shop-product .vo-shop-price { font-size: 1.125rem; margin-block: 1rem 1.5rem; }
.vo-inquiry-actions { display: grid; gap: .75rem; }
.vo-inquiry-action { display: block; padding: .8rem 1rem; border: 1px solid #01411f; color: #01411f; text-decoration: none; text-align: center; border-radius: 2px; }
.vo-inquiry-action-primary { color: #fff; background: #01411f; }
.vo-inquiry-explanation { font-size: .875rem; line-height: 1.6; margin: 0 0 .5rem; }
.vo-inquiry-form { margin-top: 1.5rem; scroll-margin-top: 1rem; }
.vo-inquiry-form label { display: block; margin-top: .8rem; font-size: .875rem; }
.vo-inquiry-form :is(input,select,textarea) { width: 100%; box-sizing: border-box; font: inherit; padding: .65rem; border: 1px solid #a9b3ab; border-radius: 2px; background: #fff; color: #282828; }
.vo-inquiry-form textarea { resize: vertical; min-height: 7rem; }
.vo-inquiry-form button { margin-top: 1rem; min-height: 44px; padding: .75rem 1rem; background: #01411f; color: white; border: 0; font: inherit; cursor: pointer; }
.vo-inquiry-trap { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.vo-inquiry-message { padding: .75rem; border: 1px solid #a9b3ab; }
.vo-product-description { margin-top: 2rem; }
.vo-product-description h2 { font-size: 1.5rem; font-weight: 600; }
.vo-product-description .woocommerce-product-attributes { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.vo-shop-product .vo-product-description .woocommerce-product-attributes td { font-style: normal; }
.vo-product-description :is(th,td) { text-align: left; vertical-align: top; padding: .65rem; border-bottom: 1px solid #deded8; overflow-wrap: anywhere; }
.vo-product-description th { width: 35%; font-weight: 500; }
@media (max-width: 781px) { .vo-shop-product { padding-top: 1rem; } .vo-shop-product > .wp-block-columns { gap: 1rem; } }

/* Natural-height summary; long titles remain in normal flow. */
.vo-product-summary { min-width: 0; }
.vo-product-summary .wp-block-post-title { margin-block: 0; overflow-wrap: anywhere; }
.vo-product-summary .vo-shop-price { margin-block: .5rem 0; }
.vo-product-summary > .vo-inquiry { margin-block-start: clamp(2rem, 4vw, 3rem); }
@media (min-width: 782px) {
  .vo-product-summary {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding-block-start: 24px;
  }
  .vo-product-summary > * { flex-shrink: 0; }
  .vo-product-summary > .vo-inquiry {
    margin-block: auto;
    padding-block: 2rem;
  }
}
.vo-inquiry-action { box-sizing: border-box; }
.vo-inquiry-dialog { box-sizing: border-box; width: min(36rem, calc(100% - 2rem)); max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem); margin: auto; padding: clamp(1rem, 4vw, 2rem); overflow: auto; border: 1px solid #a9b3ab; border-radius: 2px; background: #fff; color: #282828; }
.vo-inquiry-dialog:not([open]) { display: none; }
.vo-inquiry-dialog::backdrop { background: rgb(0 0 0 / 42%); }
.vo-inquiry-dialog-heading { display: flex; align-items: start; gap: 1rem; }
.vo-inquiry-dialog-heading h2 { flex: 1; margin: 0; font-size: 1.25rem; overflow-wrap: anywhere; }
.vo-inquiry-close { display: inline-flex; flex: 0 0 44px; min-height: 44px; align-items: center; justify-content: center; color: #01411f; font-size: 1.75rem; text-decoration: none; }
.vo-inquiry-dialog .vo-inquiry-form { margin-top: .5rem; }
/* No JavaScript: a requested form stays usable in the page, with ordinary links. */
.vo-inquiry-dialog[open]:not([data-enhanced]) { position: static; width: 100%; max-height: none; margin-block: 1.5rem 0; }

/* Approved desktop proportions. Adapt the static preview to constrained WP groups;
   keep gallery/zoom, inquiry internals and every layout below 1024px unchanged. */
@media (min-width: 1024px) {
  body:is(.home, .single-product) .wp-site-blocks { padding-inline: 0; }
  body:is(.home, .single-product) :is(.vo-shop-main, .vo-shop-product, .vo-shop-footer) {
    box-sizing: border-box;
    width: calc(100% - 2 * clamp(32px, 4vw, 64px));
    max-width: 1480px;
    margin-inline: auto;
  }
  /* Override the inherited 1120px constrained-child cap, not the query/template. */
  body:is(.home, .single-product) .vo-shop-main > :is(.vo-shop-section-title, .vo-shop-arrivals),
  .vo-shop-product > .wp-block-columns { max-width: none; }
  body:is(.home, .single-product) .vo-shop-header {
    box-sizing: border-box;
    max-width: none;
    padding: 12px clamp(32px, 4vw, 64px) 0;
  }
  body:is(.home, .single-product) .vo-shop-header .vo-shop-logo { width: 250px; margin-bottom: 12px; }
  body:is(.home, .single-product) .vo-shop-header > .wp-block-navigation { max-width: 1480px; margin-block: 0; padding-block: 16px; }
  body:is(.home, .single-product) .vo-shop-header .vo-shop-languages {
    position: absolute;
    top: 20px;
    left: max(clamp(32px, 4vw, 64px), calc((100% - 1480px) / 2));
    margin: 0;
  }
  body:is(.home, .single-product) .vo-shop-header .vo-shop-account {
    top: 20px;
    right: max(clamp(32px, 4vw, 64px), calc((100% - 1480px) / 2));
  }
  .vo-shop-product > .wp-block-columns { gap: clamp(32px, 3vw, 48px); }
  .vo-shop-product > .wp-block-columns > .wp-block-column:first-child { flex: 55 1 0; }
  .vo-shop-product > .wp-block-columns > .vo-product-summary { flex: 45 1 0; align-self: start; padding-top: 24px; }
  .vo-product-summary > .vo-shop-product-status { margin: .5rem 0 0; }
  .vo-product-summary > .vo-inquiry { margin-block: 64px 0; padding-block: 0; }
  .vo-shop-product > .vo-product-description { max-width: 1120px; margin-inline: 0 !important; }
}

/* Category sorting: native select and unchanged WooCommerce ordering. */
body.tax-product_cat :is(.woocommerce-ordering, .wp-block-woocommerce-catalog-sorting) { max-width: 100%; }
body.tax-product_cat :is(.woocommerce-ordering, .wp-block-woocommerce-catalog-sorting) select {
 box-sizing: border-box;
 max-width: 100%;
 min-width: 0;
 min-height: 44px;
 padding: .65rem .75rem;
 font: 400 1rem/1.5 Montserrat, sans-serif;
 color: #01411f;
 background-color: #fff;
 border: 1px solid #b9c9bc;
 border-radius: 2px;
}
body.tax-product_cat :is(.woocommerce-ordering, .wp-block-woocommerce-catalog-sorting) select:focus-visible {
 outline: 2px solid #01411f;
 outline-offset: 3px;
}

/* Catalogue cards only: natural title height, shared row height, footer at the bottom. */
body:not(.single-product) :is(.wc-block-product-template, .wp-block-woocommerce-product-template) > li {
  display: flex; flex-direction: column; align-self: stretch; min-width: 0;
}
body:not(.single-product) :is(.wc-block-product-template, .wp-block-woocommerce-product-template) > li > :is(.wp-block-woocommerce-product-price, .vo-shop-price) {
  margin-block-start: auto;
}
body:not(.single-product) :is(.wc-block-product-template, .wp-block-woocommerce-product-template) > li > .wp-block-post-title {
  overflow-wrap: anywhere;
}
/* Classic WooCommerce category loops, where core places image/title/price in one link. */
body.tax-product_cat ul.products { display: flex; flex-wrap: wrap; align-items: stretch; }
body.tax-product_cat ul.products::before, body.tax-product_cat ul.products::after { display: none; }
body.tax-product_cat ul.products li.product { display: flex; flex-direction: column; float: none; min-width: 0; }
body.tax-product_cat ul.products li.product > .woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; }
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title { overflow-wrap: anywhere; }
body.tax-product_cat ul.products li.product .price { margin-block-start: auto; }

/* Marketplace navigation: Core renders li > a.content > span.label. */
.vo-shop-header .vo-shop-primary .wp-block-navigation__container { align-items: center; }
.vo-shop-header .vo-shop-primary .wp-block-navigation-item { min-width: 0; }
.vo-shop-header .wp-block-navigation__container > .vo-shop-sell-item { border: 0; padding: 0; align-self: center; }
.vo-shop-header .wp-block-navigation__container > .vo-shop-browse { border-left: 1px solid #b9c9bc; padding-left: 1.5rem; align-self: center; }
.vo-shop-header .vo-shop-primary .wp-block-navigation-item__content,
.vo-shop-header .vo-shop-mobile-marketplace,
.vo-shop-header .vo-shop-sell {
 display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
 min-height: 44px; padding-block: 8px; font: inherit; line-height: 1.5;
 color: #01411f; text-decoration: none; text-underline-offset: .25em;
 text-align: center; white-space: normal; max-width: 100%;
}
.vo-shop-header .wp-block-navigation-item__content:hover,
.vo-shop-header .vo-shop-mobile-marketplace:hover,
.vo-shop-header .vo-shop-sell:hover { text-decoration: underline; }
/* Explicit two-row navigation, with unchanged type size. */
@media (min-width:1000px) {
 .vo-shop-header .vo-shop-primary .wp-block-navigation__container { flex-wrap: nowrap; }
 .vo-shop-header .vo-shop-primary .wp-block-navigation-item { flex: 0 0 auto; }
 .vo-shop-header .vo-shop-primary .wp-block-navigation-item__content { white-space: nowrap; }
}
@media (min-width:1000px) and (max-width:1599px) {
 .vo-shop-header .vo-shop-primary .wp-block-navigation__container { flex-wrap: wrap; column-gap: 1.5rem; row-gap: .625rem; }
 .vo-shop-header .vo-shop-primary .wp-block-navigation__container::before { content: ''; order: 1; flex-basis: 100%; height: 0; }
 .vo-shop-header .vo-shop-primary .vo-shop-browse, .vo-shop-header .vo-shop-primary .vo-shop-sell-item { order: 2; }
 .vo-shop-header .vo-shop-primary .vo-shop-browse { border: 0; padding: 0; }
}
@media (max-width:999px) {
 .vo-shop-header .vo-shop-has-mobile-menu { display: none; }
 .vo-shop-header .vo-shop-mobile-navigation { display: grid; grid-template-columns: minmax(0,1fr); align-items: start; gap: .25rem; border-top: 1px solid #deded8; padding-block: .75rem; font: 500 1.0625rem/1.5 Montserrat,sans-serif; }
 .vo-shop-header .vo-shop-mobile-navigation summary,
 .vo-shop-header .vo-shop-mobile-navigation > a { box-sizing: border-box; font: inherit; min-height: 44px; padding: 8px 0; text-align: left; }
 .vo-shop-mobile-navigation summary { cursor: pointer; }
 .vo-shop-header .vo-shop-mobile-navigation > a { justify-content: flex-start; justify-self: stretch; border: 0; width: auto; max-width: 100%; }
 .vo-shop-mobile-navigation .wp-block-navigation { border-top: 0; padding-block: .5rem; }
 .vo-shop-mobile-navigation .wp-block-navigation__container { flex-direction: column; align-items: flex-start; gap: .75rem; }
 .vo-shop-header .vo-shop-mobile-navigation .wp-block-navigation-item:last-child { border: 0; padding: 0; }
}
@media (max-width:599px) { .vo-shop-header .vo-shop-mobile-navigation { font-size: .875rem; } }

/* Independent brand links: native Navigation submenu, not a taxonomy hierarchy. */
.vo-shop-header .vo-shop-other-brands > .wp-block-navigation-submenu__toggle {
 min-width: 44px; min-height: 44px; margin: 0; padding: 10px; flex: 0 0 44px;
 color: inherit; background: transparent; border: 0; cursor: pointer;
}
.vo-shop-header .vo-shop-other-brands :is(a,button):focus-visible { outline: 2px solid #01411f; outline-offset: 3px; }
.vo-shop-header .wp-block-navigation .vo-shop-other-brands > .wp-block-navigation__submenu-container {
 max-height: min(70vh,32rem); overflow-y: auto !important; border-color: #deded8;
 background: #fff; color: #01411f; z-index: 20;
}
.vo-shop-header .vo-shop-other-brands .wp-block-navigation__submenu-container .wp-block-navigation-item { width: 100%; }
.vo-shop-header .vo-shop-other-brands .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
 box-sizing: border-box; width: 100%; min-height: 44px; padding: .5rem .75rem;
 justify-content: flex-start; text-align: left; white-space: normal; overflow-wrap: anywhere;
 font: inherit; line-height: 1.5;
}
@media (min-width:1000px) {
 .vo-shop-header .wp-block-navigation .vo-shop-other-brands > .wp-block-navigation__submenu-container { min-width: 17rem !important; max-width: min(24rem,calc(100vw - 2rem)); }
}
@media (max-width:999px) {
 .vo-shop-mobile-navigation .vo-shop-other-brands { width: 100%; flex-wrap: wrap; justify-content: flex-start; }
 .vo-shop-mobile-navigation .vo-shop-other-brands > .wp-block-navigation__submenu-container {
  position: static !important; flex-basis: 100%; min-width: 0 !important; max-width: 100%; max-height: none;
  margin-inline: 0; border: 0; border-left: 1px solid #deded8;
 }
 .vo-shop-mobile-navigation .vo-shop-other-brands > .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container { width: 100%; }
}

/* Catalog loops only: New Arrivals and single-product gallery keep their layout. */
body:is(.tax-product_cat,.post-type-archive-product) ul:is(.products,.wc-block-product-template) {
 display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)); gap:2rem 1.25rem; padding:0;
}
body:is(.tax-product_cat,.post-type-archive-product) ul:is(.products,.wc-block-product-template)::before,
body:is(.tax-product_cat,.post-type-archive-product) ul:is(.products,.wc-block-product-template)::after { display:none !important; }
body:is(.tax-product_cat,.post-type-archive-product) ul:is(.products,.wc-block-product-template) li.product {
 width:auto !important; margin:0 !important; float:none !important; min-width:0;
}
body:is(.tax-product_cat,.post-type-archive-product) ul:is(.products,.wc-block-product-template) li.product img {
 display:block; width:100%; max-width:100%; height:auto; aspect-ratio:4/5; object-fit:contain;
}
body:is(.tax-product_cat,.post-type-archive-product) .woocommerce-loop-product__title { overflow-wrap:anywhere; }
@media(max-width:1023px){body:is(.tax-product_cat,.post-type-archive-product) ul:is(.products,.wc-block-product-template) {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:479px){body:is(.tax-product_cat,.post-type-archive-product) ul:is(.products,.wc-block-product-template) {grid-template-columns:minmax(0,1fr);}}

/* Catalog sorting toolbar: stack block wrappers, not only the inner form. */
@media(max-width:600px){
 body:is(.tax-product_cat,.post-type-archive-product) main .wp-block-group.is-layout-flex:has(> .wp-block-woocommerce-catalog-sorting){flex-direction:column;align-items:stretch;gap:.75rem;}
 body:is(.tax-product_cat,.post-type-archive-product) main :is(.wp-block-woocommerce-catalog-sorting,.wp-block-woocommerce-product-results-count,.woocommerce-result-count,.woocommerce-ordering){width:100%;max-width:100%;min-width:0;float:none;margin-left:0;margin-right:0;box-sizing:border-box;}
 body:is(.tax-product_cat,.post-type-archive-product) main .woocommerce-ordering select{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;}
}

/* Text-only homepage list, independent of all product grids. */
.vo-shop-available-soon{margin-block:3rem 1rem;max-width:100%;min-width:0;border-top:1px solid #deded8;padding-top:2rem;}
.vo-shop-available-soon-text{line-height:1.7;overflow-wrap:anywhere;}
.vo-shop-available-soon-text :is(ul,ol){padding-inline-start:1.5em;}
.vo-shop-available-soon-text li+li{margin-top:.5em;}
@media(max-width:599px){.vo-shop-available-soon{margin-top:2rem;padding-top:1.5rem;}}
