/* Classic WooCommerce templates stay native; only opted-in products are styled. */
body.icy-product-page.woocommerce #content > .ast-container { display: block; width: min(var(--icy-width, 1400px), calc(100% - var(--icy-gutter, 20px) * 2)); max-width: none; padding-inline: 0; }
body.icy-product-page.woocommerce #content #primary { width: 100%; margin: 0; padding: 48px 0 80px; border: 0; }
body.icy-product-page.woocommerce #content #secondary { display: none; }
body.icy-product-page.woocommerce #content .ast-woocommerce-container { padding: 0; background: transparent; }
body.icy-product-page.woocommerce #content .woocommerce-breadcrumb { margin: 0 0 28px; font-size: 14px; color: #587174; }
body.icy-product-page.woocommerce #content div.product { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 44px 52px; align-items: start; }
body.icy-product-page.woocommerce #content div.product::before, body.icy-product-page.woocommerce #content div.product::after { content: none; }
body.icy-product-page.woocommerce #content div.product > div:is(.woocommerce-product-gallery, .summary) { float: none; width: 100%; margin: 0; min-width: 0; }
body.icy-product-page.woocommerce #content div.product > :is(.woocommerce-tabs, .related, .up-sells, .icy-product-advice-band) { grid-column: 1 / -1; width: 100%; min-width: 0; margin: 0; }
body.icy-product-page.woocommerce #content .woocommerce-product-gallery :is(.woocommerce-product-gallery__image, .woocommerce-product-gallery__image--placeholder) { background: transparent; border-radius: 16px; overflow: hidden; }
body.icy-product-page.woocommerce #content .woocommerce-product-gallery .woocommerce-product-gallery__image img { width: 100%; max-height: 570px; object-fit: contain; }
body.icy-product-page.woocommerce #content .woocommerce-product-gallery .flex-control-thumbs { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; }
body.icy-product-page.woocommerce #content .woocommerce-product-gallery .flex-control-thumbs li { width: calc(25% - 11px); margin: 0; }
body.icy-product-page.woocommerce #content .woocommerce-product-gallery .flex-control-thumbs img { height: 90px; width: 100%; object-fit: contain; border-radius: 8px; background: transparent; }
body.icy-product-page.woocommerce #content .summary .icy-product-category { margin: 0 0 12px; color: #587174; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
body.icy-product-page.woocommerce #content .summary .product_title { margin: 0 0 16px; font-size: clamp(28px, 3vw, 42px); line-height: 1.15; color: #164f50; }
body.icy-product-page.woocommerce #content .summary .icy-product-tagline { margin: 0 0 16px; font-size: 21px; line-height: 1.4; color: var(--ast-global-color-0); }
body.icy-product-page.woocommerce #content .summary .woocommerce-product-details__short-description { margin: 0 0 24px; color: #223d40; }
body.icy-product-page.woocommerce #content .icy-product-benefits { list-style: none; padding: 0; margin: 24px 0 30px; }
body.icy-product-page.woocommerce #content .icy-product-benefits li { position: relative; padding-left: 28px; margin: 14px 0; line-height: 1.6; color: #223d40; }
body.icy-product-page.woocommerce #content .icy-product-benefits li::before { content: ''; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: #00b1b0; }
body.icy-product-page.woocommerce #content .icy-product-purchase { padding: clamp(20px, 3vw, 32px); border-radius: 16px; background: linear-gradient(135deg, #edf9f8, #f8fcfc); margin-block: 24px; }
body.icy-product-page.woocommerce #content .summary .icy-product-purchase > .price { color: #164f50; font-size: clamp(26px, 3vw, 40px); font-weight: 700; line-height: 1.3; margin: 0 0 24px; }
body.icy-product-page.woocommerce #content .icy-product-purchase .price :is(small, .woocommerce-price-suffix) { font-size: 14px; font-weight: 400; }
body.icy-product-page.woocommerce #content .icy-product-purchase form.cart { margin: 0 0 16px; }
body.icy-product-page.woocommerce #content .icy-product-purchase form.cart:not(.variations_form):not(.grouped_form),
body.icy-product-page.woocommerce #content .woocommerce-variation-add-to-cart { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
body.icy-product-page.woocommerce #content .icy-product-purchase .single_add_to_cart_button { flex: 1; min-height: 46px; padding: 13px 24px; border-radius: 100px; background: #164f50; color: #fff; line-height: 1.4; text-align: center; white-space: normal; }
body.icy-product-page.woocommerce #content .icy-product-purchase .single_add_to_cart_button:hover { background: var(--ast-global-color-0); color: #fff; }
body.icy-product-page.woocommerce #content .icy-product-purchase .quantity { margin: 0; }
body.icy-product-page.woocommerce #content .icy-product-advice-link { display: flex; justify-content: center; align-items: center; min-height: 46px; padding: 11px 20px; border: 1px solid var(--ast-global-color-0); border-radius: 100px; color: var(--ast-global-color-0); text-decoration: none; }
body.icy-product-page.woocommerce #content .icy-product-advice-link:hover { background: #fff; }
body.icy-product-page.woocommerce #content .icy-product-shop-link { display: flex; justify-content: center; align-items: center; min-height: 46px; margin-bottom: 16px; padding: 13px 24px; border-radius: 100px; background: #164f50; color: #fff; text-decoration: none; text-align: center; }
body.icy-product-page.woocommerce #content .icy-product-shop-link:hover { background: var(--ast-global-color-0); color: #fff; }
body.icy-product-page.woocommerce #content .product_meta { color: #587174; font-size: 13px; }
body.icy-product-page.woocommerce #content .icy-product-purchase-note { margin: 16px 0 0; font-size: 13px; color: #587174; }
body.icy-product-page.woocommerce #content .woocommerce-tabs ul.tabs { display: flex; gap: 26px; overflow-x: auto; padding: 0; margin: 0 0 28px; border-bottom: 1px solid #d4e6e4; }
body.icy-product-page.woocommerce #content .woocommerce-tabs ul.tabs::before,
body.icy-product-page.woocommerce #content .woocommerce-tabs ul.tabs li::before,
body.icy-product-page.woocommerce #content .woocommerce-tabs ul.tabs li::after { content: none; }
body.icy-product-page.woocommerce #content .woocommerce-tabs ul.tabs li { flex: 0 0 auto; border: 0; border-bottom: 3px solid transparent; border-radius: 0; padding: 0; margin: 0; background: transparent; }
body.icy-product-page.woocommerce #content .woocommerce-tabs ul.tabs li.active { border-bottom-color: #00b1b0; background: transparent; }
body.icy-product-page.woocommerce #content .woocommerce-tabs ul.tabs li a { display: block; padding: 16px 0; color: #587174; }
body.icy-product-page.woocommerce #content .woocommerce-tabs ul.tabs li.active a { color: #164f50; }
/* Avoid Astra's dotted click outline; keep a visible, unclipped keyboard focus. */
body.icy-product-page.woocommerce #content .woocommerce-tabs ul.tabs li a:focus { outline: none; box-shadow: none; }
body.icy-product-page.woocommerce #content .woocommerce-tabs ul.tabs li a:focus-visible { outline: 2px solid var(--ast-global-color-0); outline-offset: -2px; background: #e7f6f5; }

body.icy-product-page.woocommerce #content .woocommerce-tabs .panel { padding: 28px; border: 1px solid #d4e6e4; border-radius: 14px; }
body.icy-product-page.woocommerce #content .woocommerce-tabs h2 { font-size: 26px; color: #164f50; margin-bottom: 16px; }
/* Readable specifications without the heavy spreadsheet grid. */
body.icy-product-page.woocommerce #content .woocommerce-tabs table.shop_attributes {
    width: 100%; margin: 24px 0 0; border: 1px solid #dce8e7;
    border-collapse: separate; border-spacing: 0; border-radius: 12px;
    overflow: hidden; background: #fff; font-size: 16px; line-height: 1.65;
}
body.icy-product-page.woocommerce #content .woocommerce-tabs table.shop_attributes :is(th, td) {
    padding: 18px 22px; border: 0; border-bottom: 1px solid #e4eeed;
    vertical-align: top; text-align: left; font-style: normal; overflow-wrap: anywhere;
}
body.icy-product-page.woocommerce #content .woocommerce-tabs table.shop_attributes th { width: 28%; background: transparent; color: #164f50; font-weight: 700; }
body.icy-product-page.woocommerce #content .woocommerce-tabs table.shop_attributes td { background: transparent; color: #223d40; }
body.icy-product-page.woocommerce #content .woocommerce-tabs table.shop_attributes tr:nth-child(even) { background: #f4f8f8; }
body.icy-product-page.woocommerce #content .woocommerce-tabs table.shop_attributes tr:last-child :is(th, td) { border-bottom: 0; }
body.icy-product-page.woocommerce #content .woocommerce-tabs table.shop_attributes td p { padding: 0; margin: 0; color: #223d40; }
body.icy-product-page.woocommerce #content .woocommerce-tabs table.shop_attributes td p + p { margin-top: 8px; }
body.icy-product-page.woocommerce #content .icy-product-document-list { list-style: none; margin: 24px 0 0; padding: 0; }
body.icy-product-page.woocommerce #content .icy-product-document-list li { display: grid; grid-template-columns: 42px minmax(0, 1fr) minmax(0, .6fr) auto; align-items: center; gap: 18px; border: 1px solid #d4e6e4; border-radius: 8px; padding: 16px; margin: 12px 0 0; }
body.icy-product-page.woocommerce #content .icy-document-type { color: var(--ast-global-color-0); font-size: 13px; font-weight: 700; }
body.icy-product-page.woocommerce #content .icy-document-language { color: #587174; font-size: 14px; }
body.icy-product-page.woocommerce #content .icy-product-document-list a { color: var(--ast-global-color-0); text-underline-offset: 3px; }
body.icy-product-page.woocommerce #content .icy-product-advice-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px; border-radius: 16px; background: var(--icy-knowledge-gradient); color: #fff; }
body.icy-product-page.woocommerce #content .icy-product-advice-band h2 { font-size: clamp(22px, 2.3vw, 30px); color: #fff; margin: 0 0 12px; }
body.icy-product-page.woocommerce #content .icy-product-advice-band p { margin: 0; }
body.icy-product-page.woocommerce #content .icy-product-advice-band a { flex-shrink: 0; padding: 13px 24px; border-radius: 100px; background: #fff; color: var(--ast-global-color-0); text-decoration: none; }
body.icy-product-page.woocommerce #content .related > h2 { font-size: 28px; color: #164f50; margin-bottom: 26px; }
body.icy-product-page.woocommerce #content .related ul.products li.product { padding: 18px; border: 1px solid #d4e6e4; border-radius: 14px; }
body.icy-product-page.woocommerce #content .related ul.products li.product img { height: 200px; object-fit: contain; border-radius: 8px; background: transparent; }
body.icy-product-page.woocommerce #content .related .woocommerce-loop-product__title { font-size: 20px; color: #164f50; }
body.icy-product-page.woocommerce #content .related .button { background: transparent; color: var(--ast-global-color-0); padding: 0; text-decoration: underline; }
body.icy-product-page.woocommerce #content :is(.summary, .woocommerce-tabs, .icy-product-advice-band) a:focus-visible,
body.icy-product-page.woocommerce #content :is(button, select, input):focus-visible { outline: 3px solid var(--ast-global-color-0); outline-offset: 3px; }
@media (max-width: 921px) {
    body.icy-product-page.woocommerce #content div.product { grid-template-columns: 1fr; gap: 30px; }
    body.icy-product-page.woocommerce #content .woocommerce-product-gallery { max-width: 560px; justify-self: center; }
    body.icy-product-page.woocommerce #content .icy-product-advice-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
    body.icy-product-page.woocommerce #content #primary { padding-top: 28px; }
    body.icy-product-page.woocommerce #content .woocommerce-tabs .panel { padding: 20px; }
    body.icy-product-page.woocommerce #content .icy-product-document-list li { grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
    body.icy-product-page.woocommerce #content .icy-product-document-list :is(.icy-document-language, a) { grid-column: 2; }
    body.icy-product-page.woocommerce #content .icy-product-advice-band { padding: 24px; }
    body.icy-product-page.woocommerce #content .icy-product-advice-band a { max-width: 100%; }
    body.icy-product-page.woocommerce #content .woocommerce-tabs table.shop_attributes { font-size: 14px; }
    body.icy-product-page.woocommerce #content .woocommerce-tabs table.shop_attributes :is(th, td) { padding: 12px; }
    body.icy-product-page.woocommerce #content .woocommerce-tabs table.shop_attributes th { width: 36%; }
}
