/* Activerse storefront palette. */
body.aci-theme-fixes,
body.single-product,
body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag {
  --aci-navy: #1f2d50;
  --aci-blue: #3973e8;
  --aci-blue-dark: #285ac7;
  --aci-gold: #e7aa27;
  --aci-text: #33415c;
  --aci-muted: #66738a;
  --aci-soft: #f4f7fc;
  --aci-pale-blue: #edf3ff;
  --aci-border: #dbe3ef;
}

/*
 * Astra header guard.
 * The homepage keeps the transparent header. Every internal page receives a
 * solid header in normal document flow, even if Astra page metadata still
 * marks that page as transparent.
 */
body.aci-solid-header.ast-theme-transparent-header #masthead,
body.aci-solid-header #masthead {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  background: var(--aci-navy) !important;
}

body.aci-solid-header .ast-above-header-bar,
body.aci-solid-header .ast-primary-header-bar,
body.aci-solid-header .ast-below-header-bar,
body.aci-solid-header .site-above-header-wrap,
body.aci-solid-header .site-primary-header-wrap,
body.aci-solid-header .site-below-header-wrap {
  background-color: var(--aci-navy) !important;
  background-image: none !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

body.aci-solid-header .site-header .main-header-menu > .menu-item > .menu-link,
body.aci-solid-header .site-header .ast-builder-menu .menu-item > .menu-link,
body.aci-solid-header .site-header .ast-header-html,
body.aci-solid-header .site-header .ast-header-html p,
body.aci-solid-header .site-header .ast-header-search .ast-search-menu-icon,
body.aci-solid-header .site-header .ast-menu-toggle,
body.aci-solid-header .site-header .menu-toggle {
  color: #fff !important;
}

body.aci-solid-header .site-header .main-header-menu > .menu-item:hover > .menu-link,
body.aci-solid-header .site-header .main-header-menu > .current-menu-item > .menu-link,
body.aci-solid-header .site-header .ast-builder-menu .menu-item:hover > .menu-link,
body.aci-solid-header .site-header .ast-builder-menu .current-menu-item > .menu-link,
body.aci-solid-header .site-header .ast-header-html a {
  color: var(--aci-gold) !important;
}

body.aci-solid-header .site-header .ast-header-search svg,
body.aci-solid-header .site-header .ast-mobile-svg,
body.aci-solid-header .site-header .menu-toggle svg {
  color: #fff !important;
  fill: #fff !important;
}

body.aci-solid-header .site-header .ast-custom-button,
body.aci-solid-header .site-header a.ast-custom-button-link {
  color: var(--aci-navy) !important;
  background: var(--aci-gold) !important;
  border-color: var(--aci-gold) !important;
}

body.aci-solid-header .site-header .ast-custom-button:hover,
body.aci-solid-header .site-header a.ast-custom-button-link:hover {
  color: var(--aci-navy) !important;
  background: #f3c452 !important;
  border-color: #f3c452 !important;
}

body.aci-solid-header .ast-mobile-popup-drawer,
body.aci-solid-header .ast-mobile-popup-drawer .ast-mobile-popup-inner,
body.aci-solid-header .ast-mobile-popup-drawer .ast-mobile-popup-header,
body.aci-solid-header .ast-mobile-popup-drawer .ast-mobile-popup-content,
body.aci-solid-header .ast-mobile-popup-drawer .ast-builder-menu-mobile,
body.aci-solid-header .ast-mobile-popup-drawer .main-header-bar-navigation,
body.aci-solid-header .ast-mobile-popup-drawer .main-header-menu,
body.aci-solid-header .ast-mobile-popup-drawer .ast-nav-menu {
  background: var(--aci-navy) !important;
  background-color: var(--aci-navy) !important;
}

body.aci-solid-header .ast-mobile-popup-drawer .menu-item,
body.aci-solid-header .ast-mobile-popup-drawer .menu-item > .menu-link {
  background: transparent !important;
}

body.aci-solid-header .ast-mobile-popup-drawer .menu-item > .menu-link,
body.aci-solid-header .ast-mobile-popup-drawer .ast-menu-toggle,
body.aci-solid-header .ast-mobile-popup-drawer .ast-mobile-popup-header .menu-toggle-close {
  color: #fff !important;
}

body.aci-solid-header .ast-mobile-popup-drawer .current-menu-item > .menu-link,
body.aci-solid-header .ast-mobile-popup-drawer .menu-item:hover > .menu-link,
body.aci-solid-header .ast-mobile-popup-drawer .menu-item:focus-within > .menu-link {
  color: var(--aci-gold) !important;
}

body.aci-solid-header .ast-mobile-popup-drawer svg,
body.aci-solid-header .ast-mobile-popup-drawer .ast-mobile-svg {
  color: #fff !important;
  fill: #fff !important;
}

/* Catalog mode: prices remain visible, while purchase controls stay unavailable. */
body.aci-catalog-mode-active .single_add_to_cart_button,
body.aci-catalog-mode-active .add_to_cart_button,
body.aci-catalog-mode-active .ajax_add_to_cart,
body.aci-catalog-mode-active .wc-block-components-product-button,
body.aci-catalog-mode-active .wc-block-grid__product-add-to-cart,
body.aci-catalog-mode-active .wc-block-mini-cart,
body.aci-catalog-mode-active .site-header-cart,
body.aci-catalog-mode-active form.cart {
  display: none !important;
}

/* Header navigation contrast on product and shop pages. */
body.single-product .main-header-menu > .menu-item > .menu-link,
body.post-type-archive-product .main-header-menu > .menu-item > .menu-link,
body.tax-product_cat .main-header-menu > .menu-item > .menu-link,
body.tax-product_tag .main-header-menu > .menu-item > .menu-link,
body.single-product .ast-builder-menu-1 .menu-item > .menu-link,
body.post-type-archive-product .ast-builder-menu-1 .menu-item > .menu-link,
body.tax-product_cat .ast-builder-menu-1 .menu-item > .menu-link,
body.tax-product_tag .ast-builder-menu-1 .menu-item > .menu-link {
  color: #fff !important;
  font-weight: 600;
}

body.single-product .main-header-menu > .menu-item:hover > .menu-link,
body.single-product .main-header-menu > .current-menu-item > .menu-link,
body.post-type-archive-product .main-header-menu > .menu-item:hover > .menu-link,
body.post-type-archive-product .main-header-menu > .current-menu-item > .menu-link,
body.tax-product_cat .main-header-menu > .menu-item:hover > .menu-link,
body.tax-product_tag .main-header-menu > .menu-item:hover > .menu-link {
  color: var(--aci-gold) !important;
}

/* Main product area. */
body.single-product .site-content,
body.post-type-archive-product .site-content,
body.tax-product_cat .site-content,
body.tax-product_tag .site-content {
  background: var(--aci-soft);
}

body.single-product div.product {
  color: var(--aci-text);
}

body.single-product div.product div.images,
body.single-product div.product .woocommerce-product-gallery {
  overflow: hidden;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--aci-border);
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(31, 45, 80, 0.08);
}

body.single-product div.product div.images img {
  background: #fff;
  border-radius: 10px;
}

body.single-product div.product .summary {
  padding-top: 6px;
}

body.single-product div.product .product_title,
body.single-product div.product .woocommerce-loop-product__title,
body.post-type-archive-product .woocommerce-loop-product__title,
body.tax-product_cat .woocommerce-loop-product__title,
body.tax-product_tag .woocommerce-loop-product__title {
  color: var(--aci-navy) !important;
  font-weight: 750;
  line-height: 1.22;
}

/* Shop and product-category headings must remain readable on the light catalog background. */
body.aci-theme-fixes.woocommerce-shop .woocommerce-products-header__title,
body.aci-theme-fixes.woocommerce-shop h1.page-title,
body.aci-theme-fixes.post-type-archive-product .woocommerce-products-header__title,
body.aci-theme-fixes.post-type-archive-product h1.page-title,
body.aci-theme-fixes.tax-product_cat .woocommerce-products-header__title,
body.aci-theme-fixes.tax-product_cat h1.page-title,
body.aci-theme-fixes.tax-product_tag .woocommerce-products-header__title,
body.aci-theme-fixes.tax-product_tag h1.page-title {
  color: var(--aci-navy) !important;
}

body.aci-theme-fixes.woocommerce-shop .woocommerce-info,
body.aci-theme-fixes.post-type-archive-product .woocommerce-info,
body.aci-theme-fixes.tax-product_cat .woocommerce-info,
body.aci-theme-fixes.tax-product_tag .woocommerce-info {
  color: var(--aci-text) !important;
  background: #fff !important;
  border-top-color: var(--aci-blue) !important;
}

body.aci-theme-fixes.woocommerce-shop .woocommerce-info::before,
body.aci-theme-fixes.post-type-archive-product .woocommerce-info::before,
body.aci-theme-fixes.tax-product_cat .woocommerce-info::before,
body.aci-theme-fixes.tax-product_tag .woocommerce-info::before {
  color: var(--aci-blue) !important;
}

body.single-product div.product p.price,
body.single-product div.product span.price,
body.post-type-archive-product ul.products li.product .price,
body.tax-product_cat ul.products li.product .price,
body.tax-product_tag ul.products li.product .price {
  color: var(--aci-gold) !important;
  font-weight: 800;
}

body.single-product div.product .woocommerce-product-details__short-description {
  margin: 16px 0 20px;
  padding: 14px 16px;
  color: var(--aci-text) !important;
  background: var(--aci-pale-blue);
  border-left: 4px solid var(--aci-gold);
  border-radius: 0 10px 10px 0;
  line-height: 1.65;
}

body.single-product div.product .woocommerce-product-details__short-description p {
  margin: 0;
  color: inherit !important;
}

/* Swiss-friendly cooling capacity and non-purchase contact actions. */
.aci-capacity-summary {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 8px 0 4px;
  padding: 10px 13px;
  color: var(--aci-text, #33415c);
  background: #fff;
  border: 1px solid var(--aci-border, #dbe3ef);
  border-left: 4px solid var(--aci-gold, #e7aa27);
  border-radius: 8px;
}

.aci-capacity-summary__label {
  color: var(--aci-muted, #66738a) !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.aci-capacity-summary strong {
  color: var(--aci-navy, #1f2d50) !important;
  font-size: 18px;
}

.aci-capacity-summary > span:last-child {
  color: var(--aci-muted, #66738a) !important;
  font-size: 13px;
  font-weight: 650;
}

.aci-product-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 16px;
  background: var(--aci-pale-blue, #edf3ff);
  border: 1px solid var(--aci-border, #dbe3ef);
  border-radius: 12px;
}

.aci-product-contact__prompt {
  color: var(--aci-navy, #1f2d50) !important;
  font-weight: 750;
}

.aci-contact-button,
.aci-loop-contact-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  color: var(--aci-navy, #1f2d50) !important;
  background: var(--aci-gold, #e7aa27);
  border: 1px solid var(--aci-gold, #e7aa27);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  transition: background-color 180ms ease, transform 180ms ease;
}

.aci-contact-button:hover,
.aci-loop-contact-button:hover {
  color: var(--aci-navy, #1f2d50) !important;
  background: #f3c452;
  border-color: #f3c452;
  transform: translateY(-1px);
}

.aci-contact-trigger {
  appearance: none;
  cursor: pointer;
  font-family: inherit;
}

.aci-inquiry-open {
  overflow: hidden;
}

.aci-inquiry-modal {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.aci-inquiry-modal.is-open {
  display: flex;
}

.aci-inquiry-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 25, 52, 0.72);
  backdrop-filter: blur(4px);
}

.aci-inquiry-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 30px;
  color: var(--aci-navy, #1f2d50);
  background: #fff;
  border: 1px solid var(--aci-border, #dbe3ef);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(15, 25, 52, 0.28);
}

.aci-inquiry-modal__dialog h2 {
  margin: 0 42px 6px 0 !important;
  color: var(--aci-navy, #1f2d50) !important;
  font-size: clamp(25px, 5vw, 34px) !important;
}

.aci-inquiry-modal__intro {
  margin: 0 0 20px;
  color: var(--aci-muted, #66738a) !important;
}

.aci-inquiry-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--aci-navy, #1f2d50);
  background: var(--aci-pale-blue, #edf3ff);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 27px;
  line-height: 1;
}

.aci-inquiry-form {
  display: grid;
  gap: 14px;
}

.aci-inquiry-form label {
  display: grid;
  gap: 6px;
  margin: 0;
  color: var(--aci-navy, #1f2d50) !important;
  font-size: 14px;
  font-weight: 750;
}

.aci-inquiry-form input[type="text"],
.aci-inquiry-form input[type="email"],
.aci-inquiry-form input[type="tel"],
.aci-inquiry-form textarea {
  width: 100%;
  margin: 0;
  padding: 11px 13px;
  color: var(--aci-navy, #1f2d50) !important;
  background: #fff !important;
  border: 1px solid #c8d3e3 !important;
  border-radius: 7px !important;
  font: inherit;
  font-weight: 500;
}

.aci-inquiry-form input:focus,
.aci-inquiry-form textarea:focus {
  border-color: var(--aci-blue-dark, #3158b8) !important;
  box-shadow: 0 0 0 3px rgba(49, 88, 184, 0.13) !important;
  outline: 0;
}

.aci-inquiry-form__product {
  padding: 11px 13px;
  color: var(--aci-navy, #1f2d50);
  background: var(--aci-pale-blue, #edf3ff);
  border-left: 3px solid var(--aci-gold, #e7aa27);
  border-radius: 5px;
  font-weight: 800;
}

.aci-inquiry-form .aci-inquiry-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.aci-inquiry-form__consent input {
  flex: 0 0 auto;
  margin-top: 3px;
}

.aci-inquiry-form .aci-contact-button {
  width: 100%;
  margin-top: 3px;
}

.aci-inquiry-form .aci-contact-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.aci-inquiry-form__recipient {
  color: var(--aci-muted, #66738a);
  font-size: 12px;
  text-align: center;
}

.aci-inquiry-form__trap {
  position: absolute !important;
  left: -9999px !important;
}

.aci-inquiry-message {
  display: grid;
  gap: 3px;
  margin: 0 0 18px;
  padding: 13px 15px;
  border-radius: 8px;
  font-size: 14px;
}

.aci-inquiry-message--success {
  color: #14532d;
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
}

.aci-inquiry-message--error {
  color: #842029;
  background: #fff1f2;
  border: 1px solid #fecdd3;
}

@media (max-width: 600px) {
  .aci-inquiry-modal {
    align-items: flex-end;
    padding: 0;
  }

  .aci-inquiry-modal__dialog {
    width: 100%;
    max-height: 92vh;
    padding: 24px 18px;
    border-radius: 18px 18px 0 0;
  }
}

/* Breadcrumbs and product metadata. */
body.single-product .woocommerce-breadcrumb,
body.post-type-archive-product .woocommerce-breadcrumb,
body.tax-product_cat .woocommerce-breadcrumb,
body.tax-product_tag .woocommerce-breadcrumb {
  color: var(--aci-muted) !important;
}

body.single-product .woocommerce-breadcrumb a,
body.post-type-archive-product .woocommerce-breadcrumb a,
body.tax-product_cat .woocommerce-breadcrumb a,
body.tax-product_tag .woocommerce-breadcrumb a,
body.single-product div.product .product_meta a {
  color: var(--aci-blue-dark) !important;
}

body.single-product div.product .product_meta {
  padding-top: 14px;
  color: var(--aci-muted) !important;
  border-top: 1px solid var(--aci-border);
}

body.single-product div.product .product_meta > span {
  color: var(--aci-muted) !important;
}

/* Tabs and specification table. */
body.single-product div.product .woocommerce-tabs {
  margin-top: 44px;
  color: var(--aci-text);
}

body.single-product div.product .woocommerce-tabs ul.tabs {
  border-bottom: 1px solid var(--aci-border);
}

body.single-product div.product .woocommerce-tabs ul.tabs li a {
  color: var(--aci-muted) !important;
  font-weight: 650;
}

body.single-product div.product .woocommerce-tabs ul.tabs li.active a,
body.single-product div.product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--aci-navy) !important;
}

body.single-product div.product .woocommerce-tabs ul.tabs li.active {
  border-bottom-color: var(--aci-gold) !important;
}

body.single-product table.woocommerce-product-attributes {
  overflow: hidden;
  width: 100%;
  color: var(--aci-text);
  background: #fff;
  border: 1px solid var(--aci-border) !important;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(31, 45, 80, 0.05);
}

body.single-product table.woocommerce-product-attributes th,
body.single-product table.woocommerce-product-attributes td {
  padding: 14px 16px !important;
  border-color: var(--aci-border) !important;
  border-width: 0 0 1px !important;
  border-style: solid !important;
  vertical-align: middle;
}

body.single-product table.woocommerce-product-attributes tr:last-child th,
body.single-product table.woocommerce-product-attributes tr:last-child td {
  border-bottom: 0 !important;
}

body.single-product table.woocommerce-product-attributes th {
  width: 28%;
  color: var(--aci-navy) !important;
  background: var(--aci-pale-blue) !important;
  font-weight: 700;
}

body.single-product table.woocommerce-product-attributes td,
body.single-product table.woocommerce-product-attributes td p,
body.single-product table.woocommerce-product-attributes td a {
  color: var(--aci-text) !important;
  background: #fff !important;
  font-style: normal;
}

body.single-product table.woocommerce-product-attributes td p {
  margin: 0;
}

/* Explicit theme-conflict overrides for WooCommerce text that Astra rendered white. */
body.aci-theme-fixes.single-product .summary .product_meta,
body.aci-theme-fixes.single-product .summary .product_meta span,
body.aci-theme-fixes.single-product .summary .product_meta .sku,
body.aci-theme-fixes.single-product .summary .product_meta a,
body.aci-theme-fixes.single-product .ast-woo-product-category,
body.aci-theme-fixes.single-product .ast-woo-product-category a {
  color: var(--aci-muted) !important;
}

body.aci-theme-fixes.single-product .summary .product_meta a,
body.aci-theme-fixes.single-product .ast-woo-product-category a {
  color: var(--aci-blue-dark) !important;
}

body.aci-theme-fixes.single-product table.woocommerce-product-attributes,
body.aci-theme-fixes.single-product table.woocommerce-product-attributes tbody,
body.aci-theme-fixes.single-product table.woocommerce-product-attributes tr,
body.aci-theme-fixes.single-product table.woocommerce-product-attributes td,
body.aci-theme-fixes.single-product table.woocommerce-product-attributes td p,
body.aci-theme-fixes.single-product table.woocommerce-product-attributes td a,
body.aci-theme-fixes.single-product td.woocommerce-product-attributes-item__value,
body.aci-theme-fixes.single-product td.woocommerce-product-attributes-item__value p {
  color: var(--aci-text) !important;
}

body.aci-theme-fixes.single-product th.woocommerce-product-attributes-item__label {
  color: var(--aci-navy) !important;
}

/* Shop cards use the same palette as the single-product page. */
body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product,
body.tax-product_tag ul.products li.product {
  overflow: hidden;
  padding: 14px 14px 18px !important;
  background: #fff;
  border: 1px solid var(--aci-border);
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(31, 45, 80, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

body.post-type-archive-product ul.products li.product:hover,
body.tax-product_cat ul.products li.product:hover,
body.tax-product_tag ul.products li.product:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(31, 45, 80, 0.12);
}

/* Professional shop archive: compact heading, balanced cards, and clear controls. */
body.aci-theme-fixes.woocommerce-shop .woocommerce-products-header {
  position: relative;
  min-height: 0 !important;
  overflow: hidden;
  margin: 46px 0 34px !important;
  padding: 34px 38px !important;
  background: linear-gradient(135deg, #1f2d50 0%, #2f4d82 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(31, 45, 80, 0.14);
}

body.aci-theme-fixes.woocommerce-shop .woocommerce-products-header::after {
  position: absolute;
  right: -58px;
  bottom: -100px;
  width: 270px;
  height: 270px;
  background: rgba(231, 170, 39, 0.15);
  border: 42px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

body.aci-theme-fixes.woocommerce-shop .woocommerce-products-header__title,
body.aci-theme-fixes.woocommerce-shop h1.page-title {
  position: relative;
  z-index: 1;
  margin: 0 0 10px !important;
  color: #fff !important;
  font-size: clamp(38px, 5vw, 60px) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.035em;
}

body.aci-theme-fixes.woocommerce-shop .aci-shop-intro {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  color: #dfe9fb !important;
  font-size: 17px;
  line-height: 1.6;
}

body.aci-theme-fixes.post-type-archive-product .woocommerce-result-count,
body.aci-theme-fixes.tax-product_cat .woocommerce-result-count,
body.aci-theme-fixes.tax-product_tag .woocommerce-result-count {
  margin: 0 0 30px !important;
  padding: 13px 17px;
  color: var(--aci-muted) !important;
  background: #fff;
  border: 1px solid var(--aci-border);
  border-radius: 10px;
  box-shadow: 0 7px 20px rgba(31, 45, 80, 0.055);
  font-size: 14px;
  font-weight: 650;
  line-height: 20px;
}

body.aci-theme-fixes.post-type-archive-product .woocommerce-ordering,
body.aci-theme-fixes.tax-product_cat .woocommerce-ordering,
body.aci-theme-fixes.tax-product_tag .woocommerce-ordering {
  margin: 0 0 30px !important;
}

body.aci-theme-fixes.post-type-archive-product .woocommerce-ordering select,
body.aci-theme-fixes.tax-product_cat .woocommerce-ordering select,
body.aci-theme-fixes.tax-product_tag .woocommerce-ordering select {
  min-width: 250px;
  height: 48px;
  padding: 0 44px 0 16px;
  color: var(--aci-navy) !important;
  background-color: #fff;
  border: 1px solid var(--aci-border);
  border-radius: 10px;
  box-shadow: 0 7px 20px rgba(31, 45, 80, 0.055);
  font-size: 14px;
  font-weight: 650;
}

body.aci-theme-fixes.post-type-archive-product ul.products li.product,
body.aci-theme-fixes.tax-product_cat ul.products li.product,
body.aci-theme-fixes.tax-product_tag ul.products li.product {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 0 !important;
  border-radius: 16px;
}

body.aci-theme-fixes.post-type-archive-product ul.products li.product .astra-shop-thumbnail-wrap,
body.aci-theme-fixes.tax-product_cat ul.products li.product .astra-shop-thumbnail-wrap,
body.aci-theme-fixes.tax-product_tag ul.products li.product .astra-shop-thumbnail-wrap {
  display: flex;
  min-height: 255px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #fff;
  border-bottom: 1px solid var(--aci-border);
}

body.aci-theme-fixes.post-type-archive-product ul.products li.product .astra-shop-thumbnail-wrap img,
body.aci-theme-fixes.tax-product_cat ul.products li.product .astra-shop-thumbnail-wrap img,
body.aci-theme-fixes.tax-product_tag ul.products li.product .astra-shop-thumbnail-wrap img {
  display: block;
  width: 100%;
  height: 225px;
  margin: 0 !important;
  object-fit: contain;
}

body.aci-theme-fixes.post-type-archive-product ul.products li.product .astra-shop-summary-wrap,
body.aci-theme-fixes.tax-product_cat ul.products li.product .astra-shop-summary-wrap,
body.aci-theme-fixes.tax-product_tag ul.products li.product .astra-shop-summary-wrap {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 18px 20px;
}

body.aci-theme-fixes.post-type-archive-product ul.products li.product .ast-woo-product-category,
body.aci-theme-fixes.tax-product_cat ul.products li.product .ast-woo-product-category,
body.aci-theme-fixes.tax-product_tag ul.products li.product .ast-woo-product-category,
body.aci-theme-fixes.post-type-archive-product ul.products li.product .ast-woo-product-category a,
body.aci-theme-fixes.tax-product_cat ul.products li.product .ast-woo-product-category a,
body.aci-theme-fixes.tax-product_tag ul.products li.product .ast-woo-product-category a {
  color: var(--aci-blue-dark) !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

body.aci-theme-fixes.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
body.aci-theme-fixes.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
body.aci-theme-fixes.tax-product_tag ul.products li.product .woocommerce-loop-product__title {
  min-height: 3.9em;
  margin: 8px 0 12px !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
}

.aci-loop-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
}

.aci-loop-specs span {
  padding: 5px 8px;
  color: var(--aci-text, #33415c) !important;
  background: var(--aci-pale-blue, #edf3ff);
  border: 1px solid #dce7fb;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.aci-loop-specs .aci-loop-specs__kw,
.aci-home-catalog__specs .aci-home-catalog__kw {
  color: var(--aci-navy, #1f2d50) !important;
  background: #fff6dc;
  border-color: #f2d27b;
}

body.aci-theme-fixes.post-type-archive-product ul.products li.product .price,
body.aci-theme-fixes.tax-product_cat ul.products li.product .price,
body.aci-theme-fixes.tax-product_tag ul.products li.product .price {
  margin-top: auto !important;
  font-size: 18px !important;
  line-height: 1.25;
}

body.aci-theme-fixes.post-type-archive-product ul.products li.product .aci-loop-contact-button,
body.aci-theme-fixes.tax-product_cat ul.products li.product .aci-loop-contact-button,
body.aci-theme-fixes.tax-product_tag ul.products li.product .aci-loop-contact-button {
  width: calc(100% - 36px);
  margin: 0 18px 18px;
}

/* Pagination must stay readable on the light catalog background. */
body.aci-theme-fixes.post-type-archive-product nav.woocommerce-pagination,
body.aci-theme-fixes.tax-product_cat nav.woocommerce-pagination,
body.aci-theme-fixes.tax-product_tag nav.woocommerce-pagination {
  clear: both;
  margin: 52px 0 20px;
}

body.aci-theme-fixes.post-type-archive-product nav.woocommerce-pagination ul.page-numbers,
body.aci-theme-fixes.tax-product_cat nav.woocommerce-pagination ul.page-numbers,
body.aci-theme-fixes.tax-product_tag nav.woocommerce-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 !important;
  border: 0 !important;
}

body.aci-theme-fixes.post-type-archive-product nav.woocommerce-pagination ul.page-numbers li,
body.aci-theme-fixes.tax-product_cat nav.woocommerce-pagination ul.page-numbers li,
body.aci-theme-fixes.tax-product_tag nav.woocommerce-pagination ul.page-numbers li {
  overflow: visible;
  margin: 0 !important;
  border: 0 !important;
}

body.aci-theme-fixes.post-type-archive-product nav.woocommerce-pagination ul.page-numbers li .page-numbers,
body.aci-theme-fixes.tax-product_cat nav.woocommerce-pagination ul.page-numbers li .page-numbers,
body.aci-theme-fixes.tax-product_tag nav.woocommerce-pagination ul.page-numbers li .page-numbers {
  display: grid;
  min-width: 44px;
  height: 44px;
  place-items: center;
  padding: 0 12px !important;
  color: var(--aci-navy) !important;
  background: #fff !important;
  border: 1px solid var(--aci-border) !important;
  border-radius: 9px;
  box-shadow: 0 6px 17px rgba(31, 45, 80, 0.07);
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none !important;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

body.aci-theme-fixes.post-type-archive-product nav.woocommerce-pagination ul.page-numbers li a.page-numbers:hover,
body.aci-theme-fixes.tax-product_cat nav.woocommerce-pagination ul.page-numbers li a.page-numbers:hover,
body.aci-theme-fixes.tax-product_tag nav.woocommerce-pagination ul.page-numbers li a.page-numbers:hover {
  color: #fff !important;
  background: var(--aci-blue) !important;
  border-color: var(--aci-blue) !important;
  transform: translateY(-2px);
}

body.aci-theme-fixes.post-type-archive-product nav.woocommerce-pagination ul.page-numbers li .page-numbers.current,
body.aci-theme-fixes.tax-product_cat nav.woocommerce-pagination ul.page-numbers li .page-numbers.current,
body.aci-theme-fixes.tax-product_tag nav.woocommerce-pagination ul.page-numbers li .page-numbers.current {
  color: var(--aci-navy) !important;
  background: var(--aci-gold) !important;
  border-color: var(--aci-gold) !important;
  box-shadow: 0 8px 20px rgba(231, 170, 39, 0.28);
}

body.post-type-archive-product ul.products li.product img,
body.tax-product_cat ul.products li.product img,
body.tax-product_tag ul.products li.product img {
  border-radius: 9px;
}

body.single-product a:focus-visible,
body.post-type-archive-product a:focus-visible,
body.tax-product_cat a:focus-visible,
body.tax-product_tag a:focus-visible {
  outline: 3px solid rgba(57, 115, 232, 0.45);
  outline-offset: 3px;
}

/* Homepage dynamic catalog shortcode. */
.aci-home-catalog {
  box-sizing: border-box;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
  color: var(--aci-text, #33415c);
}

.aci-home-catalog *,
.aci-home-catalog *::before,
.aci-home-catalog *::after {
  box-sizing: border-box;
}

.aci-home-catalog__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.aci-home-catalog__heading > div {
  max-width: 720px;
}

.aci-home-catalog__kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--aci-gold, #e7aa27) !important;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aci-home-catalog__heading h2 {
  margin: 0 0 10px;
  color: var(--aci-navy, #1f2d50) !important;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.1;
}

.aci-home-catalog__heading p {
  margin: 0;
  color: var(--aci-muted, #66738a) !important;
  font-size: 17px;
  line-height: 1.65;
}

.aci-home-catalog__all {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  color: var(--aci-navy, #1f2d50) !important;
  background: var(--aci-gold, #e7aa27);
  border-radius: 4px;
  font-weight: 750;
  text-decoration: none !important;
  transition: transform 180ms ease, background-color 180ms ease;
}

.aci-home-catalog__all:hover {
  color: var(--aci-navy, #1f2d50) !important;
  background: #f3c452;
  transform: translateY(-2px);
}

.aci-home-catalog__grid {
  display: grid;
  grid-template-columns: repeat(var(--aci-catalog-columns, 4), minmax(0, 1fr));
  gap: 22px;
}

.aci-home-catalog__card {
  overflow: hidden;
  margin: 0;
  background: #fff;
  border: 1px solid var(--aci-border, #dbe3ef);
  border-radius: 14px;
  box-shadow: 0 9px 28px rgba(31, 45, 80, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.aci-home-catalog__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 38px rgba(31, 45, 80, 0.14);
}

.aci-home-catalog__card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit !important;
  text-decoration: none !important;
}

.aci-home-catalog__image {
  display: flex;
  min-height: 230px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #fff;
  border-bottom: 1px solid var(--aci-border, #dbe3ef);
}

.aci-home-catalog__image img {
  display: block;
  width: 100%;
  height: 210px;
  margin: 0 !important;
  object-fit: contain;
}

.aci-home-catalog__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
}

.aci-home-catalog__brand {
  margin-bottom: 8px;
  color: var(--aci-blue-dark, #285ac7) !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aci-home-catalog__content h3 {
  margin: 0 0 14px;
  color: var(--aci-navy, #1f2d50) !important;
  font-size: 18px;
  line-height: 1.35;
}

.aci-home-catalog__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 15px;
}

.aci-home-catalog__specs span {
  padding: 5px 8px;
  color: var(--aci-text, #33415c) !important;
  background: var(--aci-pale-blue, #edf3ff);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 650;
}

.aci-home-catalog__price {
  margin-top: auto;
  color: var(--aci-gold, #e7aa27) !important;
  font-size: 19px;
  font-weight: 850;
}

.aci-home-catalog__price .amount,
.aci-home-catalog__price bdi,
.aci-home-catalog__price .woocommerce-Price-currencySymbol {
  color: inherit !important;
}

.aci-home-catalog__details {
  display: inline-flex;
  gap: 8px;
  margin-top: 13px;
  color: var(--aci-navy, #1f2d50) !important;
  font-size: 14px;
  font-weight: 750;
}

.aci-home-catalog__contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--aci-pale-blue, #edf3ff);
  border: 1px solid var(--aci-border, #dbe3ef);
  border-radius: 14px;
}

.aci-home-catalog__contact > div {
  display: grid;
  gap: 4px;
}

.aci-home-catalog__contact strong {
  color: var(--aci-navy, #1f2d50) !important;
  font-size: 19px;
}

.aci-home-catalog__contact span {
  color: var(--aci-muted, #66738a) !important;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .aci-home-catalog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
	body.aci-theme-fixes.post-type-archive-product ul.products,
	body.aci-theme-fixes.tax-product_cat ul.products,
	body.aci-theme-fixes.tax-product_tag ul.products {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 18px !important;
		margin: 0 !important;
	}

	body.aci-theme-fixes.post-type-archive-product ul.products::before,
	body.aci-theme-fixes.post-type-archive-product ul.products::after,
	body.aci-theme-fixes.tax-product_cat ul.products::before,
	body.aci-theme-fixes.tax-product_cat ul.products::after,
	body.aci-theme-fixes.tax-product_tag ul.products::before,
	body.aci-theme-fixes.tax-product_tag ul.products::after {
		display: none !important;
	}

	body.aci-theme-fixes.post-type-archive-product ul.products li.product,
	body.aci-theme-fixes.tax-product_cat ul.products li.product,
	body.aci-theme-fixes.tax-product_tag ul.products li.product {
		float: none !important;
		width: 100% !important;
		max-width: none !important;
		height: auto !important;
		min-height: 0 !important;
		margin: 0 !important;
	}

	body.aci-theme-fixes.post-type-archive-product ul.products li.product .astra-shop-thumbnail-wrap,
	body.aci-theme-fixes.tax-product_cat ul.products li.product .astra-shop-thumbnail-wrap,
	body.aci-theme-fixes.tax-product_tag ul.products li.product .astra-shop-thumbnail-wrap {
		min-height: 220px !important;
		padding: 14px !important;
	}

	body.aci-theme-fixes.post-type-archive-product ul.products li.product .astra-shop-thumbnail-wrap img,
	body.aci-theme-fixes.tax-product_cat ul.products li.product .astra-shop-thumbnail-wrap img,
	body.aci-theme-fixes.tax-product_tag ul.products li.product .astra-shop-thumbnail-wrap img {
		height: 200px !important;
	}

	body.aci-theme-fixes.post-type-archive-product ul.products li.product .astra-shop-summary-wrap,
	body.aci-theme-fixes.tax-product_cat ul.products li.product .astra-shop-summary-wrap,
	body.aci-theme-fixes.tax-product_tag ul.products li.product .astra-shop-summary-wrap {
		display: block !important;
		flex: 0 0 auto !important;
		padding: 16px 16px 12px !important;
	}

	body.aci-theme-fixes.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
	body.aci-theme-fixes.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
	body.aci-theme-fixes.tax-product_tag ul.products li.product .woocommerce-loop-product__title {
		min-height: 0 !important;
		margin: 7px 0 11px !important;
		font-size: 17px !important;
		line-height: 1.3 !important;
	}

	body.aci-theme-fixes.post-type-archive-product ul.products li.product .price,
	body.aci-theme-fixes.tax-product_cat ul.products li.product .price,
	body.aci-theme-fixes.tax-product_tag ul.products li.product .price {
		display: block !important;
		margin: 12px 0 0 !important;
	}

	body.aci-theme-fixes.post-type-archive-product ul.products li.product .aci-loop-contact-button,
	body.aci-theme-fixes.tax-product_cat ul.products li.product .aci-loop-contact-button,
	body.aci-theme-fixes.tax-product_tag ul.products li.product .aci-loop-contact-button {
		width: calc(100% - 32px) !important;
		margin: 0 16px 16px !important;
	}

	body.aci-theme-fixes.woocommerce-shop .woocommerce-products-header {
		margin: 28px 0 24px !important;
		padding: 28px 22px !important;
		border-radius: 14px;
	}

	body.aci-theme-fixes.woocommerce-shop .woocommerce-products-header__title,
	body.aci-theme-fixes.woocommerce-shop h1.page-title {
		font-size: clamp(34px, 12vw, 46px) !important;
	}

	body.aci-theme-fixes.woocommerce-shop .aci-shop-intro {
		font-size: 15px;
	}

	body.aci-theme-fixes.post-type-archive-product .woocommerce-result-count,
	body.aci-theme-fixes.tax-product_cat .woocommerce-result-count,
	body.aci-theme-fixes.tax-product_tag .woocommerce-result-count,
	body.aci-theme-fixes.post-type-archive-product .woocommerce-ordering,
	body.aci-theme-fixes.tax-product_cat .woocommerce-ordering,
	body.aci-theme-fixes.tax-product_tag .woocommerce-ordering {
		float: none !important;
		width: 100%;
	}

	body.aci-theme-fixes.post-type-archive-product .woocommerce-ordering select,
	body.aci-theme-fixes.tax-product_cat .woocommerce-ordering select,
	body.aci-theme-fixes.tax-product_tag .woocommerce-ordering select {
		width: 100%;
		min-width: 0;
	}

  body.single-product div.product div.images,
  body.single-product div.product .woocommerce-product-gallery {
    padding: 10px;
    border-radius: 12px;
  }

  body.single-product div.product .product_title {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  body.single-product table.woocommerce-product-attributes th {
    width: 42%;
  }

  body.single-product table.woocommerce-product-attributes th,
  body.single-product table.woocommerce-product-attributes td {
    padding: 11px 12px !important;
  }

  .aci-product-contact,
  .aci-home-catalog__contact {
    align-items: stretch;
    flex-direction: column;
  }

  .aci-contact-button {
    width: 100%;
  }

  .aci-home-catalog {
    width: min(100% - 28px, 640px);
    padding: 62px 0;
  }

  .aci-home-catalog__heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 24px;
  }

  .aci-home-catalog__heading h2 {
    font-size: clamp(29px, 9vw, 38px);
  }

  .aci-home-catalog__all {
    width: 100%;
  }

  .aci-home-catalog__grid {
    grid-template-columns: 1fr;
  }

  .aci-home-catalog__image {
    min-height: 210px;
  }
}
