/* Balanced PDP layout, revision 4. Only Heretro product pages are affected. */
body.heretro-pdp-context #main .hrp-product-row { max-width: 1280px; margin: 0 auto !important; padding: 0 20px; }
body.heretro-pdp-context #main .hrp-product-row > .product-gallery,
body.heretro-pdp-context #main .hrp-product-row > .product-info { min-width: 0; width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; flex-basis: auto !important; }
body.heretro-pdp-context #main .hrp-product-row .woocommerce-breadcrumb { display: none !important; }
body.heretro-pdp-context #main .hrp-product-row .product-gallery-slider { margin: 0; overflow: hidden; border-radius: 12px; background: #f7f8fa; }
body.heretro-pdp-context #main .hrp-product-row .woocommerce-product-gallery__image img { display: block; width: 100% !important; max-width: 100% !important; height: auto !important; object-fit: contain; }
body.heretro-pdp-context #main .hrp-product-row .product-thumbnails { margin: 12px 0 0; }
body.heretro-pdp-context #main .hrp-buy-panel { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.heretro-pdp-context #main .hrp-buy-panel .product_title { font-size: clamp(21px, 1.8vw, 25px) !important; line-height: 1.25 !important; margin: 0 0 10px !important; }
body.heretro-pdp-context #main .hrp-buy-panel .hrp-badges { margin-bottom: 10px; }
body.heretro-pdp-context #main .hrp-buy-panel .hrp-context { margin-bottom: 12px; }
body.heretro-pdp-context #main .hrp-buy-panel .hrp-reviews { gap: 7px; margin-bottom: 10px; }
body.heretro-pdp-context #main .hrp-rating-scale { font-size: 10px; font-weight: 500; color: #69717c; margin-left: 2px; }
body.heretro-pdp-context #main .hrp-buy-panel .hrp-review-cta { text-decoration: none; }
body.heretro-pdp-context #main .hrp-buy-panel a.hrp-chip { min-height: 36px; padding: 4px 7px 4px 5px; font-size: 11px; border: 0; border-radius: 6px; background: #f4f6f9; }
body.heretro-pdp-context #main .hrp-buy-panel .hrp-chip-image,
body.heretro-pdp-context #main .hrp-buy-panel .hrp-chip-initials { width: 24px !important; height: 24px !important; flex-basis: 24px; }
body.heretro-pdp-context #main .hrp-buy-panel .hrp-price-card { padding: 11px 12px; border: 0; border-radius: 7px; margin: 0 0 12px; background: #f5f7fa; }
body.heretro-pdp-context #main .hrp-buy-panel .hrp-price-top { margin-bottom: 4px; }
body.heretro-pdp-context #main .hrp-buy-panel .hrp-price-card .product-page-price { font-size: 28px !important; margin-bottom: 0 !important; }
body.heretro-pdp-context #main .hrp-buy-panel .product-short-description { font: 400 12px/1.45 "Segoe UI", Arial, sans-serif; color: #68717e; margin: 0 0 12px; }
body.heretro-pdp-context #main .hrp-buy-panel .product-short-description p { margin: 0 0 5px; }
body.heretro-pdp-context #main .hrp-buy-panel form.cart { display: flow-root; margin: 0 !important; }
/* A native cart parent with both controls uses one explicit row, including variation/sticky forms. */
body.heretro-pdp-context #main .hrp-buy-panel :is(form.cart, .woocommerce-variation-add-to-cart, .sticky-add-to-cart):has(> .quantity):has(> .single_add_to_cart_button) { display: grid !important; grid-template-columns: 120px minmax(0, 1fr); gap: 12px 10px; align-items: start; }
body.heretro-pdp-context #main .hrp-buy-panel :is(form.cart, .woocommerce-variation-add-to-cart, .sticky-add-to-cart):has(> .quantity):has(> .single_add_to_cart_button) > * { grid-column: 1 / -1; min-width: 0; }
body.heretro-pdp-context #main .hrp-buy-panel :is(form.cart, .woocommerce-variation-add-to-cart, .sticky-add-to-cart):has(> .quantity):has(> .single_add_to_cart_button) > .wcpa_form_outer { margin-bottom: 0 !important; }
body.heretro-pdp-context #main .hrp-buy-panel .wcpa_form_outer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; width: 100%; min-width: 0; margin: 0 0 12px !important; }
body.heretro-pdp-context #main .hrp-buy-panel .wcpa_form_outer > .wcpa_row { grid-column: 1 / -1; min-width: 0; margin: 0 !important; padding: 0 !important; }
body.heretro-pdp-context #main .hrp-buy-panel .wcpa_form_outer > .wcpa_row:has(> .wcpa_type_text) { grid-column: auto; }
body.heretro-pdp-context #main .hrp-buy-panel .wcpa_form_item { width: 100% !important; min-width: 0; margin: 0 !important; padding: 0 !important; float: none; }
body.heretro-pdp-context #main .hrp-buy-panel .wcpa_form_item > label { display: block; margin: 0 0 6px !important; color: #333d49; font: 600 12px/1.4 "Segoe UI", Arial, sans-serif; }
body.heretro-pdp-context #main .hrp-buy-panel .required_ast { color: #b8202d; margin-left: 3px; }
body.heretro-pdp-context #main .hrp-buy-panel .wcpa_type_text input { width: 100%; height: 42px !important; margin: 0 !important; padding: 0 10px; border: 1px solid #dbe0e7; border-radius: 6px; box-shadow: none; background: #fff; color: #202329; font-size: 13px; }
body.heretro-pdp-context #main .hrp-buy-panel .wcpa_type_text input::placeholder { color: #858c96; font-size: 12px; }
body.heretro-pdp-context #main .hrp-buy-panel .color-group { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 !important; padding: 0; }
body.heretro-pdp-context #main .hrp-buy-panel .wcpa_color { margin: 0 !important; padding: 0 !important; min-width: 0; }
body.heretro-pdp-context #main .hrp-buy-panel .wcpa_color > label { display: block; margin: 0 !important; }
body.heretro-pdp-context #main .hrp-buy-panel .wcpa_color .label_inside { display: flex; align-items: center; justify-content: center; min-width: 39px !important; height: 40px !important; padding: 0 8px !important; line-height: 1.2 !important; border-radius: 6px; border: 1px solid #dbe0e7 !important; background: #fff !important; color: #414b57 !important; font: 600 12px/1.2 "Segoe UI", Arial, sans-serif; box-shadow: none !important; }
body.heretro-pdp-context #main .hrp-buy-panel .wcpa_color input:checked + label .label_inside { background: #fff2f3 !important; color: #b8202d !important; border-color: #b8202d !important; }
body.heretro-pdp-context #main .hrp-buy-panel .wcpa_color input:focus-visible + label .label_inside { outline: 2px solid #b8202d; outline-offset: 2px; }
body.heretro-pdp-context #main .hrp-buy-panel .wcpa_color input:disabled + label .label_inside { opacity: .45; cursor: not-allowed; }
body.heretro-pdp-context #main .hrp-buy-panel .wcpa_helptext { font-size: 11px !important; line-height: 1.4; color: #7a8390; margin: 0 0 5px; }
body.heretro-pdp-context #main .hrp-buy-panel .hrp-field-fit .color-group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.heretro-pdp-context #main .hrp-buy-panel .hrp-field-fit .label_inside { width: 100%; }
body.heretro-pdp-context #main .hrp-buy-panel .wcpa_price_summary { margin: 0 !important; padding: 10px 12px; border: 0 !important; border-radius: 6px; background: #f5f7fa; font-size: 13px; }
body.heretro-pdp-context #main .hrp-buy-panel .wcpa_price_summary .wcpa_price { color: #202329 !important; font-size: 18px !important; font-weight: 700 !important; }
body.heretro-pdp-context #main .hrp-buy-panel .wcpa_price_summary ul,
body.heretro-pdp-context #main .hrp-buy-panel .wcpa_price_summary li { margin: 0 !important; padding: 0 !important; list-style: none; }
body.heretro-pdp-context #main .hrp-buy-panel .wcpa_price_summary .wcpa_total { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
body.heretro-pdp-context #main .hrp-buy-panel .quantity { grid-column: 1 !important; display: inline-flex !important; align-items: stretch; width: 120px !important; max-width: 100%; height: 48px !important; margin: 0 !important; padding: 0; float: none !important; vertical-align: top; }
body.heretro-pdp-context #main .hrp-buy-panel .quantity input { box-sizing: border-box; flex: 1 1 0; width: 0 !important; min-width: 0 !important; max-width: none !important; height: 48px !important; min-height: 48px !important; margin: 0 !important; padding: 0 !important; font-size: 14px; text-align: center; box-shadow: none !important; }
body.heretro-pdp-context #main .hrp-buy-panel .quantity input.qty { font-size: 14px; }
body.heretro-pdp-context #main .hrp-buy-panel .quantity .minus,
body.heretro-pdp-context #main .hrp-buy-panel .quantity .plus { padding: 0; }
body.heretro-pdp-context #main .hrp-buy-panel .single_add_to_cart_button { grid-column: 2 !important; display: flex !important; align-items: center; justify-content: center; float: none !important; clear: none !important; box-sizing: border-box; width: 100% !important; min-width: 0 !important; max-width: 100% !important; height: 48px !important; min-height: 48px !important; margin: 0 !important; padding: 0 12px !important; border-radius: 6px; background: #b8202d !important; font: 700 14px/1.3 "Segoe UI", Arial, sans-serif; letter-spacing: 0; }
body.heretro-pdp-context #main .hrp-buy-panel .Upsellcoupontext { clear: both; margin: 0 !important; padding: 9px 10px; border: 0 !important; border-radius: 6px; background: #f5f7fa; font-size: 11px !important; }
body.heretro-pdp-context #main .hrp-buy-panel .Upsellcoupontext .Badges { display: flex; flex-wrap: wrap; gap: 3px 10px; }
body.heretro-pdp-context #main .hrp-buy-panel .Upsellcoupontext .Line { font-size: 11px; line-height: 1.45; margin: 0; }
body.heretro-pdp-context #main .hrp-buy-panel .Upsellcoupontext .Line:first-child { flex-basis: 100%; }
body.heretro-pdp-context #main .hrp-buy-panel .vudon-delivery { width: 100%; padding: 10px; margin: 0 !important; border: 0 !important; border-radius: 7px; background: #fafbfd; }
body.heretro-pdp-context #main .hrp-buy-panel .hr-product-trust { border: 0 !important; margin: 14px 0 0; }
body.heretro-pdp-context #main .hrp-buy-panel .vudontooltip { font-size: 11px; line-height: 1.45; border-bottom: 0; }
body.heretro-pdp-context #main .hrp-buy-panel .vudontooltiptext { width: 200px; max-width: calc(100vw - 48px); font-size: 11px; line-height: 1.5; z-index: 10; }
body.heretro-pdp-context #main .hrp-buy-panel .vudon-text-caption-title { margin: 5px 0 2px; font: 600 11px/1.4 "Segoe UI", Arial, sans-serif; }
body.heretro-pdp-context #main .hrp-buy-panel .vudon-grid { margin-top: 8px; padding: 0; }
body.heretro-pdp-context #main .hrp-buy-panel .etsy-icon { width: 28px; height: 28px; }
body.heretro-pdp-context #main .hrp-buy-panel .etsy-icon svg { width: 100%; height: 100%; }
body.heretro-pdp-context #main .hrp-gallery-recommendations { min-width: 0; padding: 0; }
body.heretro-pdp-context #main .hrp-gallery-recommendations > h3 { margin: 0 0 12px; font: 700 15px/1.4 "Segoe UI", Arial, sans-serif; }
body.heretro-pdp-context #main .hrp-gallery-recommendations .products { margin: 0 -5px; width: auto; }
body.heretro-pdp-context #main .hrp-gallery-recommendations .products > .col { padding: 0 5px 10px; }
body.heretro-pdp-context #main .hrp-gallery-recommendations .box-image { min-width: 0 !important; width: 100% !important; }
body.heretro-pdp-context #main .hrp-gallery-recommendations .product-title { font: 500 11px/1.45 "Segoe UI", Arial, sans-serif !important; }
body.heretro-pdp-context #main .hrp-gallery-recommendations .price { font-size: 12px; margin-bottom: 5px; }
body.heretro-pdp-context #main .hrp-gallery-recommendations .add-to-cart-button .button { margin: 0; font-size: 10px; border-radius: 4px; }
body.heretro-pdp-context #main .product-footer > .container { max-width: 1280px; padding: 0 20px; }
body.heretro-pdp-context #main .hrp-product-information { margin: 24px 0 0; padding: 0; border: 1px solid #e2e6ec; border-radius: 10px; background: #fafbfd; overflow: hidden; }
body.heretro-pdp-context #main .hrp-information-tabs { display: flex; align-items: center; gap: 6px; padding: 8px 16px; margin: 0; overflow-x: auto; border-bottom: 1px solid #e2e6ec; background: #f4f6f9; scrollbar-width: thin; }
body.heretro-pdp-context #main a.hrp-information-tab { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-height: 40px; margin: 0; padding: 0 14px; border: 1px solid transparent; border-radius: 6px; color: #626d7b; font: 600 12px/1.4 "Segoe UI", Arial, sans-serif; white-space: nowrap; text-decoration: none; }
body.heretro-pdp-context #main a.hrp-information-tab.is-active { color: #b8202d; border-color: #e2e6ec; background: #fff; box-shadow: 0 1px 3px #20232905; }
body.heretro-pdp-context #main .hrp-information-panels { padding: 16px 20px; }
body.heretro-pdp-context #main .hrp-information-panel { margin: 0; font: 400 13px/1.65 "Segoe UI", Arial, sans-serif; color: #56616f; }
body.heretro-pdp-context #main .hrp-information-panel[hidden] { display: none !important; }
body.heretro-pdp-context #main .hrp-information-panel p { margin: 0 0 9px; }
body.heretro-pdp-context #main .hrp-information-panel p:last-child { margin-bottom: 0; }
body.heretro-pdp-context #main .hrp-information-title { margin: 0 0 8px; font-size: 15px; color: #202329; }
body.heretro-pdp-context #main [data-hrp-tabs-ready="1"] .hrp-information-title { display: none; }
body.heretro-pdp-context #main .hrp-product-information:not([data-hrp-tabs-ready]) .hrp-information-panel + .hrp-information-panel { margin-top: 20px; padding-top: 16px; border-top: 1px solid #e2e6ec; }
body.heretro-pdp-context #main .hrp-full-description { margin: 0; }
body.heretro-pdp-context #main .hrp-full-description > summary { display: flex; align-items: center; gap: 7px; width: fit-content; min-height: 32px; color: #b8202d; font-weight: 600; list-style: none; cursor: pointer; }
body.heretro-pdp-context #main .hrp-full-description > summary::-webkit-details-marker,
body.heretro-pdp-context #main .hrp-write-review-panel > summary::-webkit-details-marker { display: none; }
body.heretro-pdp-context #main .hrp-full-description[open] > summary span,
body.heretro-pdp-context #main .hrp-write-review-panel[open] > summary span { transform: rotate(180deg); }
body.heretro-pdp-context #main .hrp-description-content { padding-top: 10px; }
body.heretro-pdp-context #main .hrp-description-content img { max-width: 100%; height: auto; }
body.heretro-pdp-context #main .hrp-information-link { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; color: #b8202d; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
body.heretro-pdp-context #main .hrp-shipping-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 12px; }
body.heretro-pdp-context #main .hrp-shipping-summary > div { padding: 0 12px 0 0; border-right: 1px solid #e2e6ec; }
body.heretro-pdp-context #main .hrp-shipping-summary > div:last-child { border: 0; }
body.heretro-pdp-context #main .hrp-shipping-summary dt { font-size: 11px; font-weight: 400; color: #69717c; }
body.heretro-pdp-context #main .hrp-shipping-summary dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: #202329; }
body.heretro-pdp-context #main .hrp-payment-methods { display: flex; align-items: center; gap: 12px; color: #202329; font-size: 16px; }
body.heretro-pdp-context #main .hrp-customer-reviews { max-width: none; margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid #e2e6ec; }
body.heretro-pdp-context #main .hrp-write-review-panel { margin: 20px 0; border: 1px solid #e2e6ec; border-radius: 8px; background: #fff; }
body.heretro-pdp-context #main .hrp-write-review-panel > summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 10px 16px; color: #34404f; font: 600 13px/1.5 "Segoe UI", Arial, sans-serif; list-style: none; cursor: pointer; }
body.heretro-pdp-context #main .hrp-write-review-content { padding: 8px 16px 16px; }
body.heretro-pdp-context #main .hrp-write-review-content .woocommerce-Reviews { margin: 0; }
body.heretro-pdp-context #main a.hrp-information-tab:focus-visible,
body.heretro-pdp-context #main .hrp-information-link:focus-visible,
body.heretro-pdp-context #main .hrp-full-description > summary:focus-visible,
body.heretro-pdp-context #main .hrp-write-review-panel > summary:focus-visible { outline: 2px solid #b8202d; outline-offset: -3px; }
@media (min-width: 1000px) {
  body.heretro-pdp-context #main .hrp-product-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr); grid-template-rows: min-content auto; gap: 22px 28px; align-items: start; }
  body.heretro-pdp-context #main .hrp-product-row > .product-gallery { grid-column: 1; grid-row: 1; }
  body.heretro-pdp-context #main .hrp-product-row > .product-info { grid-column: 2; grid-row: 1 / span 2; }
  body.heretro-pdp-context #main .hrp-gallery-recommendations { grid-column: 1; grid-row: 2; }
}
@media (max-width: 999px) {
  body.heretro-pdp-context #main .hrp-product-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
  body.heretro-pdp-context #main .hrp-product-row > .product-gallery { grid-row: 1; }
  body.heretro-pdp-context #main .hrp-product-row > .product-gallery { max-width: 580px !important; justify-self: center; }
  body.heretro-pdp-context #main .hrp-product-row > .product-info { grid-row: 2; }
  body.heretro-pdp-context #main .hrp-gallery-recommendations { grid-row: 3; }
  body.heretro-pdp-context #main .hrp-product-row > .product-gallery .is-sticky-column__inner { position: static !important; transform: none !important; width: 100% !important; }
}
@media (max-width: 549px) {
  body.heretro-pdp-context #main .hrp-product-row { padding: 0 12px; gap: 18px; }
  body.heretro-pdp-context #main .product-footer > .container { padding: 0 12px; }
  body.heretro-pdp-context #main .hrp-information-tabs { gap: 2px; padding: 6px 10px; }
  body.heretro-pdp-context #main a.hrp-information-tab { min-height: 44px; padding: 0 10px; font-size: 11px; }
  body.heretro-pdp-context #main .hrp-information-panels { padding: 14px; }
  body.heretro-pdp-context #main .hrp-shipping-summary { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  body.heretro-pdp-context #main .hrp-shipping-summary > div { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 0; }
  body.heretro-pdp-context #main .hrp-shipping-summary dd { margin: 0; font-size: 12px; text-align: right; }
  body.heretro-pdp-context #main .hrp-product-row > .product-gallery { max-width: 420px !important; }
  body.heretro-pdp-context #main .hrp-buy-panel { padding: 0; border-radius: 0; }
  body.heretro-pdp-context #main .hrp-buy-panel .product_title { font-size: 21px !important; }
  body.heretro-pdp-context #main .hrp-buy-panel a.hrp-chip { min-height: 44px; }
  body.heretro-pdp-context #main .hrp-buy-panel .wcpa_color .label_inside { height: 44px !important; min-width: 44px !important; }
  body.heretro-pdp-context #main .hrp-buy-panel .wcpa_type_text input { height: 44px !important; font-size: 16px; }
  body.heretro-pdp-context #main .hrp-gallery-recommendations .products > .col { max-width: 50%; flex-basis: 50%; }
}
@media (max-width: 374px) {
  body.heretro-pdp-context #main .hrp-buy-panel { padding: 0; }
  body.heretro-pdp-context #main .hrp-buy-panel .single_add_to_cart_button { font-size: 13px; }
}



