/* Flexible layout shared by the Pixel.ci storefront. */
body.px-store { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body.px-store *, body.px-store *::before, body.px-store *::after { box-sizing: border-box; }
body.px-store #main > .si-container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 40px);
}
body.px-store #primary, body.px-store #content,
body.px-store .entry-content, body.px-store .woocommerce,
body.px-store .si-wc-product-wrap { min-width: 0; }
body.px-store #main > .si-container > #primary:only-child {
  width: 100%; max-width: 100%; flex-basis: 100%;
}
.px-store :is(.entry-content, .entry-summary) :is(h1,h2,h3,h4,p,li,a),
.px-store .woocommerce-loop-product__title,
.px-store .px-menu-row, .px-store .px-search-suggestions a {
  overflow-wrap: anywhere;
}
.px-store :is(.entry-content, .entry-summary) :is(img:not(.zoomImg), video, iframe) {
  max-width: 100%;
}
.px-store .entry-content :is(img:not(.zoomImg), video) { height: auto; }
.px-store .entry-content figure { max-width: 100%; }
.px-store .px-header-inner, .px-store .px-header-pill { min-width: 0; }
.px-store .px-header-pill .px-brand { min-width: 0; flex-shrink: 1; }
.px-store .px-header-pill .px-brand img { flex: 0 0 auto; }
.px-store .px-header-pill .px-brand-name { overflow-wrap: normal; white-space: nowrap; }
.px-store .px-header-actions { flex-shrink: 0; }
.px-product .woocommerce-tabs .panel > .si-container {
  width: 100%; max-width: 100%; padding-inline: 0; margin-inline: 0;
}
.px-product .woocommerce-tabs, .px-product .woocommerce-tabs .panel { min-width: 0; }
body.px-store.px-product #page #main .woocommerce-tabs.si-fw-section { left: 0; width: 100%; max-width: 100%; margin-left: 0 !important; margin-right: 0 !important; }
.px-store :is(.woocommerce-tabs, .entry-content) table {
  width: 100%; max-width: 100%; table-layout: fixed;
}
.px-store :is(.woocommerce-tabs, .entry-content) :is(th,td) { overflow-wrap: anywhere; }
.px-store .px-buy-meta { flex: 1 1 auto; min-width: 0; }
.px-store .px-buy-meta .px-buy-price { white-space: normal; overflow-wrap: anywhere; }
.px-store .px-buy-open { max-width: 45%; white-space: normal; }
.px-dialog { max-height: calc(100vh - 84px); max-height: calc(100dvh - 84px); }
.px-menu-dialog { max-height: none; }
.px-menu-panel { max-height: calc(100vh - var(--px-header-height) - 16px); max-height: calc(100dvh - var(--px-header-height) - 16px); }
.px-buy-dialog { max-height: min(92vh,860px); max-height: min(92dvh,860px); }
.px-store .px-sheet-form :is(form, .variations, .wpcvs-attributes, .wpcvs-attribute-value) { min-width: 0; max-width: 100%; }
.px-store .px-sheet-form .wpcvs-term { max-width: 100%; }
.px-store .px-sheet-form .wpcvs-term-label { white-space: normal; overflow-wrap: anywhere; }
.px-store .px-sheet-head > div { min-width: 0; }
.px-store .px-sheet-head h2 { overflow-wrap: anywhere; }
.px-store .px-sheet-head button { flex-shrink: 0; }
#colophon .px-foot-help > *, #colophon .px-foot-grid > * { min-width: 0; max-width: 100%; }
#colophon .px-foot-call { max-width: 100%; text-align: center; justify-content: center; padding-block: 10px; }
#colophon .px-foot-grid a { overflow-wrap: anywhere; }
.px-store .si-woo-before-shop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.px-store .si-woo-before-shop::before, .px-store .si-woo-before-shop::after { content: none; }
.px-store .si-woo-before-shop :is(.woocommerce-result-count,.woocommerce-ordering) { float: none; margin: 0; }
.px-store .woocommerce-ordering { max-width: 100%; }
.px-store .woocommerce-ordering select { width: 100%; max-width: 100%; }
.px-store .woocommerce :is(input:not([type=checkbox]):not([type=radio]), select, textarea),
.px-store .select2-container { max-width: 100%; }
.px-store .woocommerce-checkout :is(#customer_details, #order_review, .col-1, .col-2),
.px-store .woocommerce-cart :is(.woocommerce-cart-form, .cart-collaterals) { min-width: 0; }
.px-store #place_order, .px-store .wc-block-components-checkout-place-order-button { white-space: normal; max-width: 100%; }
.px-home .px-section-heading { min-width: 0; }
.px-home .px-section-heading > div { min-width: 0; }
.px-home .px-section-heading h2 { overflow-wrap: anywhere; }
.px-home .px-rail { min-width: 0; }
@media (max-width: 1023px) {
  .px-product .si-wc-product-wrap { display: block; }
  .px-product .woocommerce-product-gallery { margin-bottom: 24px; }
  .px-store .woocommerce :is(input:not([type=checkbox]):not([type=radio]), select, textarea) { font-size: 16px; }
}
@media (max-width: 600px) {
  body.px-store #primary { margin-block: 28px 40px; }
  .px-product .woocommerce-tabs .panel :is(h2,h2 strong) { font-size: clamp(22px,5.5vw,28px); line-height: 1.3; }
  .px-product .woocommerce-tabs .panel :is(h3,h3 strong) { font-size: clamp(19px,4.8vw,23px); line-height: 1.35; }
  .px-store .woocommerce-result-count, .px-store .woocommerce-ordering { float: none; width: 100%; margin: 0 0 14px; }
  .px-store .woocommerce-ordering { text-align: left; }
  .px-store .woocommerce-checkout :is(.col-1,.col-2,#order_review),
  .px-store .woocommerce-checkout .form-row { float: none; width: 100%; clear: both; }
  .px-store .woocommerce-checkout .col2-set { width: 100%; float: none; }
  .px-store .woocommerce-checkout :is(.shop_table th,.shop_table td) { padding: 10px 8px; overflow-wrap: anywhere; }
  .px-store .px-buy-bar { padding-inline: max(8px,env(safe-area-inset-left,0px)) max(8px,env(safe-area-inset-right,0px)); }
  .px-store .px-buy-inner { gap: 8px; padding-inline: 12px 8px; }
  .px-store .px-support-call { right: calc(8px + env(safe-area-inset-right,0px)); }
  .px-home .px-section-heading { align-items: flex-start; }
}
@media (max-width: 359px) {
  .px-store .px-header-inner { gap: 4px; padding-inline: 6px; }
  .px-store .px-header-pill { gap: 4px; padding-left: 5px; }
  .px-store .px-header .px-brand { gap: 5px; font-size: 16px; }
  .px-store .px-header-actions :is(button,a) { min-width: 34px; width: 34px; height: 40px; }
  .px-store ul.products { gap: 24px 10px; }
  .px-store ul.products .woocommerce-loop-product__title { font-size: 14px; }
  .px-store ul.products li.product .price { font-size: 12px; }
  .px-section-advantages .px-adv-card { padding: 11px; }
  .px-section-advantages .px-adv-card h3 { font-size: 14px; }
  .px-product .px-buy-open { padding-inline: 13px; }
}
@media (max-height: 500px) {
  .px-store .px-support-call { width: 60px; bottom: calc(18px + env(safe-area-inset-bottom,0px)); }
  .px-store.px-buy-ready .px-support-call { bottom: calc(92px + env(safe-area-inset-bottom,0px)); }
  .px-store .px-support-call-label { font-size: 12px; padding: 3px 9px; }
  .px-store .px-dialog { max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px); }
  .px-store .px-menu-panel { max-height: calc(100vh - 86px); max-height: calc(100dvh - 86px); }
}
