/* Separate overlay: the sealed storefront CSS and its receipt hash remain unchanged. */
body.chanler-reviewed-product .product_meta .sku_wrapper { display: none !important; }
body.chanler-reviewed-product .product_meta .chanler-product-code { display: block; margin-bottom: .35em; }
body.chanler-printably-storefront .chanler-collection-shop-title,
body.chanler-printably-storefront .woocommerce-products-header { margin-bottom: clamp(32px, 4vw, 56px) !important; }
body.chanler-printably-storefront .woocommerce ul.products {
  --chanler-card-width: calc((100% - 84px) / 4);
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 36px 28px; align-items: stretch;
}
body.chanler-printably-storefront .woocommerce ul.products.columns-2 { --chanler-card-width: calc((100% - 28px) / 2); }
body.chanler-printably-storefront .woocommerce ul.products.columns-3 { --chanler-card-width: calc((100% - 56px) / 3); }
body.chanler-printably-storefront .woocommerce ul.products.columns-4 { --chanler-card-width: calc((100% - 84px) / 4); }
body.chanler-printably-storefront .woocommerce ul.products::before,
body.chanler-printably-storefront .woocommerce ul.products::after { display: none; }
body.chanler-printably-storefront .woocommerce ul.products li.product {
  display: flex; flex-direction: column; float: none; flex: 0 0 var(--chanler-card-width); width: var(--chanler-card-width) !important; min-width: 0; box-sizing: border-box;
  margin: 0 !important; height: auto;
}
body.chanler-printably-storefront .woocommerce ul.products li.product .astra-shop-summary-wrap {
  display: flex; flex-direction: column; flex: 1;
}
body.chanler-printably-storefront .woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 2.6em; line-height: 1.3;
}
body.chanler-printably-storefront .woocommerce ul.products li.product .astra-shop-summary-wrap .price { margin-top: auto; padding-top: 12px; }
body.chanler-printably-storefront .woocommerce ul.products.chanler-collection-grid { padding: 0; list-style: none; }
body.chanler-printably-storefront .chanler-collection-grid .chanler-card-image { display: block; flex: none; }
body.chanler-printably-storefront .chanler-collection-grid .chanler-card-image img {
  display: block; width: 100%; aspect-ratio: 1; object-fit: contain; margin: 0 0 20px;
}
body.chanler-printably-storefront .chanler-collection-grid .chanler-card-title {
  display: block; flex: 1; margin-bottom: 16px;
}
body.chanler-printably-storefront .chanler-collection-grid .chanler-card-title h2 { margin: 0; padding: 0; }
body.chanler-printably-storefront .chanler-collection-grid li.product > .price { display: block; margin: 0 0 16px; padding: 0; }
body.chanler-printably-storefront .chanler-collection-grid .chanler-card-action { margin: 0; padding: 0; }
body.chanler-printably-storefront .chanler-collection-grid .chanler-card-action .button { margin: 0; }
@media (max-width: 900px) {
  body.chanler-printably-storefront .woocommerce ul.products { --chanler-card-width: calc((100% - 28px) / 2) !important; }
}
@media (max-width: 600px) {
  body.chanler-printably-storefront .woocommerce ul.products { --chanler-card-width: 100% !important; gap: 32px; }
  body.chanler-printably-storefront .woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 0; }
}

/* Match the approved Contact page to the Refund page's separate white-panel layout. */
body.chanler-printably-storefront.chanler-contact-layout #content {
  background: #f4f5f6; padding: clamp(32px, 4vw, 76px) clamp(16px, 5vw, 64px);
}
body.chanler-printably-storefront.chanler-contact-layout #content > .ast-container {
  display: block; box-sizing: border-box; width: 100%; max-width: 1500px; margin: 0 auto; padding: 0;
}
body.chanler-printably-storefront.chanler-contact-layout #primary {
  float: none; width: 100%; max-width: none; margin: 0; padding: 0;
}
body.chanler-printably-storefront.chanler-contact-layout #main { margin: 0; padding: 0; }
body.chanler-printably-storefront.chanler-contact-layout article.page {
  box-sizing: border-box; background: #fff; margin: 0; padding: clamp(32px, 6.5vw, 120px); border: 0;
}
body.chanler-printably-storefront.chanler-contact-layout .entry-content {
  box-sizing: border-box; width: 100%; max-width: none; margin: 0; padding: 0;
}
body.chanler-printably-storefront.chanler-contact-layout .printably-refined {
  box-sizing: border-box; width: 100%; max-width: none; margin: 0 auto; padding: clamp(24px, 5vw, 64px);
}
@media (max-width: 900px) {
  body.chanler-printably-storefront.chanler-contact-layout article.page { padding: 32px; }
  body.chanler-printably-storefront.chanler-contact-layout .printably-refined { padding: 16px; }
}
@media (max-width: 600px) {
  body.chanler-printably-storefront.chanler-contact-layout #content { padding: 24px 16px; }
  body.chanler-printably-storefront.chanler-contact-layout article.page { padding: 24px 20px; }
  body.chanler-printably-storefront.chanler-contact-layout .printably-refined { padding: 0; }
}
