
/* =========================================================
   BHW Silicol® Product Template
   Visual system inspired by the supplied BHW Silicol® screens.
   Main: #0B2135 | Accent: #00AEEF | Soft: #F7F9FB
   ========================================================= */

:root {
    --bhw-navy: #0B2135;
    --bhw-blue: #00AEEF;
    --bhw-blue-dark: #008FCE;
    --bhw-sky: #E8F6FC;
    --bhw-soft: #F7F9FB;
    --bhw-border: #DCE8EF;
    --bhw-text: #0B2135;
    --bhw-muted: #597188;
    --bhw-white: #FFFFFF;
    --bhw-radius: 22px;
    --bhw-container: 1280px;
}

.bhw-skip-link {
    position: fixed;
    left: 16px;
    top: 16px;
    z-index: 999999;
    padding: 10px 16px;
    background: var(--bhw-navy);
    color: #fff;
    transform: translateY(-150%);
}
.bhw-skip-link:focus { transform: translateY(0); }

.bhw-product-page {
    background: var(--bhw-white);
    color: var(--bhw-text);
    font-family: inherit;
    overflow: hidden;
}

.bhw-product-page *,
.bhw-product-page *::before,
.bhw-product-page *::after { box-sizing: border-box; }

.bhw-container {
    width: min(calc(100% - 48px), var(--bhw-container));
    margin-inline: auto;
}

.bhw-product-hero {
    background:
        radial-gradient(circle at 18% 18%, rgba(0,174,239,.09), transparent 30%),
        linear-gradient(180deg, #fff 0%, var(--bhw-soft) 100%);
    padding: 28px 0 90px;
}

.bhw-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 0 0 54px;
    color: #7C92A4;
    font-size: 13px;
    letter-spacing: .04em;
}
.bhw-breadcrumbs a { color: inherit; text-decoration: none; }
.bhw-breadcrumbs a:hover { color: var(--bhw-blue); }

.bhw-product-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
    gap: clamp(50px, 7vw, 112px);
    align-items: center;
}

.bhw-product-gallery-column { position: relative; min-width: 0; }

.bhw-gallery-shell {
    min-height: 570px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px;
    border: 1px solid rgba(0,174,239,.10);
    border-radius: 32px;
    background:
        radial-gradient(circle at 50% 46%, rgba(0,174,239,.13), transparent 38%),
        #fff;
    box-shadow: 0 24px 70px rgba(11,33,53,.08);
}

/* WooCommerce native gallery */
.bhw-gallery-shell .woocommerce-product-gallery {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}
.bhw-gallery-shell .woocommerce-product-gallery__image img {
    border-radius: 18px;
    transition: transform .5s ease;
}
.bhw-gallery-shell .woocommerce-product-gallery__image:hover img { transform: scale(1.018); }
.bhw-gallery-shell .flex-control-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 18px !important;
}
.bhw-gallery-shell .flex-control-thumbs li {
    width: 74px !important;
    float: none !important;
    margin: 0 !important;
}
.bhw-gallery-shell .flex-control-thumbs img {
    border: 1px solid var(--bhw-border);
    border-radius: 12px;
    opacity: .72;
    transition: .25s ease;
}
.bhw-gallery-shell .flex-control-thumbs .flex-active,
.bhw-gallery-shell .flex-control-thumbs img:hover {
    opacity: 1;
    border-color: var(--bhw-blue);
}

.bhw-product-badge {
    position: absolute;
    z-index: 5;
    top: 22px;
    left: 22px;
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--bhw-blue);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(0,174,239,.22);
}

.bhw-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--bhw-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.bhw-section-label i {
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: .55;
    order: 1;
}
.bhw-section-label strong { order: 2; font-weight: 800; }
.bhw-section-label span { order: 0; }

.bhw-product-title {
    margin: 0 0 16px;
    color: var(--bhw-navy);
    font-size: clamp(42px, 5vw, 72px);
    line-height: .96;
    letter-spacing: -.045em;
    font-weight: 800;
}

.bhw-product-meta-line {
    display: flex;
    gap: 10px;
    margin: 0 0 20px;
    color: #8397A7;
    font-size: 11px;
    letter-spacing: .13em;
}
.bhw-product-meta-line strong { color: var(--bhw-navy); }

.bhw-rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 14px;
}
.bhw-rating-row a { color: var(--bhw-muted); text-decoration: none; }
.bhw-stars .star-rating { margin: 0 !important; }

.bhw-short-description {
    color: #526A7F;
    font-size: 17px;
    line-height: 1.75;
    max-width: 650px;
}
.bhw-short-description p { margin: 0 0 10px; }

.bhw-price {
    margin: 26px 0 24px;
}
.bhw-price .price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: var(--bhw-navy);
    font-size: 31px;
    font-weight: 800;
}
.bhw-price del {
    color: #91A2AF;
    font-size: 17px;
    font-weight: 500;
}
.bhw-price ins { text-decoration: none; color: var(--bhw-blue); }

.bhw-buy-box {
    padding: 24px;
    border: 1px solid var(--bhw-border);
    border-radius: 20px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 16px 40px rgba(11,33,53,.055);
}

/* Normalize native WC add-to-cart */
.bhw-buy-box form.cart {
    margin: 0 !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.bhw-buy-box form.cart .quantity {
    margin: 0 !important;
}
.bhw-buy-box .quantity .qty {
    width: 74px;
    min-height: 52px;
    border: 1px solid var(--bhw-border);
    border-radius: 12px;
    background: #fff;
    color: var(--bhw-navy);
    font-weight: 700;
    text-align: center;
}
.bhw-buy-box .single_add_to_cart_button,
.bhw-buy-box button.single_add_to_cart_button {
    flex: 1 1 220px;
    min-height: 52px;
    padding: 13px 24px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--bhw-blue) !important;
    color: #fff !important;
    box-shadow: 0 12px 25px rgba(0,174,239,.22);
    font-size: 15px !important;
    font-weight: 800 !important;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.bhw-buy-box .single_add_to_cart_button:hover {
    background: var(--bhw-blue-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 15px 32px rgba(0,174,239,.28);
}
.bhw-buy-box .variations {
    width: 100%;
    margin: 0 0 18px !important;
    border: 0 !important;
}
.bhw-buy-box .variations td,
.bhw-buy-box .variations th {
    padding: 0 0 12px !important;
    border: 0 !important;
    background: transparent !important;
}
.bhw-buy-box .variations label {
    color: var(--bhw-navy);
    font-size: 13px;
    font-weight: 800;
}
.bhw-buy-box .variations select {
    min-height: 48px;
    width: 100%;
    padding: 8px 40px 8px 14px;
    border: 1px solid var(--bhw-border);
    border-radius: 12px;
    background: #fff;
    color: var(--bhw-navy);
}
.bhw-buy-box .reset_variations {
    color: var(--bhw-blue);
    font-size: 12px;
}
.bhw-buy-box .woocommerce-variation-description { color: var(--bhw-muted); }

.bhw-trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 16px;
}
.bhw-trust-row > div {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #718698;
    font-size: 11px;
    line-height: 1.4;
}
.bhw-trust-icon {
    display: inline-grid;
    place-items: center;
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    border-radius: 50%;
    background: var(--bhw-sky);
    color: var(--bhw-blue);
    font-weight: 900;
}

/* Benefits */
.bhw-benefits-section {
    padding: 110px 0 125px;
    background: var(--bhw-soft);
}

/* Keep the main product hero unchanged. Add breathing room inside the
   internal content sections only. */
.bhw-benefits-section > .bhw-container,
.bhw-details-section > .bhw-container,
.bhw-contact-strip > .bhw-container {
    padding-inline: 40px;
}
.bhw-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 38px;
    border-bottom: 1px solid var(--bhw-border);
    margin-bottom: 60px;
}
.bhw-section-heading .bhw-section-label { margin-bottom: 14px; }
.bhw-section-heading h2,
.bhw-details-intro h2 {
    margin: 0;
    color: var(--bhw-navy);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.02;
    letter-spacing: -.04em;
}
.bhw-section-heading h2 span,
.bhw-details-intro h2 span { color: var(--bhw-blue); }
.bhw-section-heading > p {
    max-width: 410px;
    margin: 0;
    color: var(--bhw-muted);
    line-height: 1.7;
    font-size: 15px;
}
.bhw-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.bhw-benefit {
    min-height: 310px;
    padding: 32px 28px;
    border: 1px solid var(--bhw-border);
    border-radius: 24px;
    background: #fff;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.bhw-benefit:hover {
    transform: translateY(-7px);
    border-color: rgba(0,174,239,.4);
    box-shadow: 0 20px 45px rgba(11,33,53,.08);
}
.bhw-benefit-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 38px;
    border-radius: 17px;
    background: var(--bhw-sky);
    position: relative;
}
.bhw-benefit-icon::before,
.bhw-benefit-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.bhw-icon-shield::before {
    width: 22px; height: 27px;
    border: 3px solid var(--bhw-blue);
    border-radius: 11px 11px 14px 14px;
}
.bhw-icon-shield::after {
    width: 11px; height: 6px;
    border-left: 3px solid var(--bhw-blue);
    border-bottom: 3px solid var(--bhw-blue);
    transform: translate(-50%, -65%) rotate(-45deg);
}
.bhw-icon-arrow::before {
    width: 5px; height: 28px;
    background: var(--bhw-blue);
    border-radius: 4px;
}
.bhw-icon-arrow::after {
    width: 15px; height: 15px;
    border-right: 5px solid var(--bhw-blue);
    border-bottom: 5px solid var(--bhw-blue);
    transform: translate(-50%, -65%) rotate(45deg);
}
.bhw-icon-leaf::before {
    width: 28px; height: 18px;
    border: 3px solid var(--bhw-blue);
    border-radius: 100% 0 100% 0;
    transform: translate(-42%, -55%) rotate(-25deg);
}
.bhw-icon-leaf::after {
    width: 3px; height: 25px;
    background: var(--bhw-blue);
    transform: translate(-50%, -45%) rotate(35deg);
}
.bhw-icon-magnet::before {
    width: 26px; height: 24px;
    border: 3px solid var(--bhw-blue);
    border-bottom-color: transparent;
    border-radius: 15px 15px 0 0;
}
.bhw-icon-magnet::after {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--bhw-blue);
    box-shadow: 13px 6px 0 -1px var(--bhw-blue);
}
.bhw-benefit h3 {
    margin: 0 0 12px;
    color: var(--bhw-navy);
    font-size: 20px;
    line-height: 1.15;
}
.bhw-benefit p {
    margin: 0;
    color: #62788C;
    font-size: 14px;
    line-height: 1.7;
}

/* Details */
.bhw-details-section { padding: 120px 0; background: #fff; }
.bhw-details-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: clamp(50px, 9vw, 130px);
}
.bhw-details-intro p {
    max-width: 430px;
    margin: 24px 0 0;
    color: var(--bhw-muted);
    line-height: 1.75;
}
.bhw-description-content {
    margin-bottom: 40px;
    color: #526A7F;
    font-size: 16px;
    line-height: 1.8;
}
.bhw-description-content h2,
.bhw-description-content h3 {
    color: var(--bhw-navy);
}
.bhw-details-content .woocommerce-tabs { margin: 0 !important; }
.bhw-details-content .woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 28px !important;
    padding: 0 !important;
    border-bottom: 1px solid var(--bhw-border);
}
.bhw-details-content .woocommerce-tabs ul.tabs::before,
.bhw-details-content .woocommerce-tabs ul.tabs::after { display: none !important; }
.bhw-details-content .woocommerce-tabs ul.tabs li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}
.bhw-details-content .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 12px 17px;
    color: #74899A;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px 999px 0 0;
}
.bhw-details-content .woocommerce-tabs ul.tabs li.active a {
    color: var(--bhw-blue);
    box-shadow: inset 0 -2px 0 var(--bhw-blue);
}
.bhw-details-content .woocommerce-Tabs-panel {
    margin: 0 !important;
    color: #60778A;
    line-height: 1.8;
}
.bhw-details-content table.shop_attributes {
    width: 100%;
    border: 0;
}
.bhw-details-content table.shop_attributes th,
.bhw-details-content table.shop_attributes td {
    padding: 14px 12px !important;
    border-bottom: 1px solid var(--bhw-border) !important;
}
.bhw-details-content table.shop_attributes th {
    color: var(--bhw-navy);
    text-align: left;
}

/* Contact */
.bhw-contact-strip {
    padding: 92px 0;
    background: var(--bhw-navy);
    color: #fff;
}
.bhw-contact-strip .bhw-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}
.bhw-contact-strip .bhw-section-label { color: var(--bhw-blue); }
.bhw-contact-strip h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 5vw, 68px);
    line-height: .96;
    letter-spacing: -.04em;
}
.bhw-contact-strip h2 span { color: #46C8F4; }
.bhw-contact-strip p {
    max-width: 600px;
    margin: 24px 0 0;
    color: #AFC1CF;
    line-height: 1.75;
}
.bhw-contact-button {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    flex: 0 0 auto;
    min-height: 58px;
    padding: 0 26px;
    border-radius: 999px;
    background: var(--bhw-blue);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 800;
    box-shadow: 0 15px 30px rgba(0,174,239,.2);
    transition: transform .2s ease, background .2s ease;
}
.bhw-contact-button:hover {
    background: #45C5F2;
    transform: translateY(-2px);
}
.bhw-contact-button span { font-size: 22px; line-height: 1; }

/* Reviews */
.bhw-details-content #reviews #comments h2,
.bhw-details-content #reviews .comment-reply-title {
    color: var(--bhw-navy);
}
.bhw-details-content #review_form_wrapper input,
.bhw-details-content #review_form_wrapper textarea {
    width: 100%;
    border: 1px solid var(--bhw-border);
    border-radius: 12px;
    padding: 12px 14px;
}
.bhw-details-content #review_form_wrapper .submit {
    border: 0;
    border-radius: 999px;
    background: var(--bhw-blue);
    color: #fff;
    padding: 12px 22px;
    font-weight: 800;
}

/* Mobile */
@media (max-width: 1050px) {
    .bhw-product-grid { grid-template-columns: 1fr; gap: 55px; }
    .bhw-gallery-shell { min-height: 0; }
    .bhw-benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .bhw-details-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .bhw-container { width: min(calc(100% - 32px), var(--bhw-container)); }
    .bhw-product-hero { padding-top: 18px; padding-bottom: 65px; }
    .bhw-breadcrumbs { margin-bottom: 28px; }
    .bhw-gallery-shell { padding: 16px; border-radius: 22px; }
    .bhw-product-title { font-size: 44px; }
    .bhw-buy-box { padding: 17px; }
    .bhw-trust-row { grid-template-columns: 1fr; }
    .bhw-benefits-section,
    .bhw-details-section { padding: 75px 0; }
    .bhw-section-heading { display: block; margin-bottom: 38px; }
    .bhw-section-heading > p { margin-top: 20px; }
    .bhw-benefits-grid { grid-template-columns: 1fr; }
    .bhw-benefit { min-height: auto; }
    .bhw-contact-strip { padding: 70px 0; }
    .bhw-contact-strip .bhw-container { display: block; }
    .bhw-contact-button { margin-top: 28px; }
}

@media (max-width: 480px) {
    .bhw-product-title { font-size: 38px; }
    .bhw-product-grid { gap: 35px; }
    .bhw-gallery-shell .flex-control-thumbs li { width: 58px !important; }
    .bhw-buy-box form.cart { display: grid; grid-template-columns: 78px 1fr; }
    .bhw-buy-box form.cart .variations,
    .bhw-buy-box form.cart .single_variation_wrap { grid-column: 1 / -1; }
    .bhw-buy-box .single_add_to_cart_button { min-width: 0; padding-inline: 15px !important; }
}


/* Subtle entrance animation */
.bhw-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s ease, transform .65s ease;
}
.bhw-reveal.bhw-visible {
    opacity: 1;
    transform: none;
}
.bhw-buy-box .single_add_to_cart_button.bhw-clicked {
    transform: scale(.98);
}
@media (prefers-reduced-motion: reduce) {
    .bhw-reveal { opacity: 1; transform: none; transition: none; }
    .bhw-benefit { transition: none; }
}

/* =========================================================
   BHW Silicol® Product Template 1.1 refinements
   ========================================================= */

.bhw-container {
    --bhw-container: 1280px;
    width: min(calc(100% - 48px), var(--bhw-container));
}

/* Softer, more editorial product heading. */
.bhw-product-title {
    font-weight: 650;
    letter-spacing: -.055em;
}
.bhw-product-title span {
    color: var(--bhw-blue);
    font-weight: 650;
}

/* Cleaner benefit icons: thin scientific line-art instead of CSS shapes. */
.bhw-benefit-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin-bottom: 30px;
    border: 1px solid rgba(0,174,239,.14);
    border-radius: 18px;
    background: linear-gradient(145deg, #F3FBFE 0%, #E6F7FC 100%);
    box-shadow: 0 10px 24px rgba(11,33,53,.045);
}
.bhw-benefit-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: var(--bhw-blue);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.bhw-benefit:hover .bhw-benefit-icon {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,174,239,.12);
}
.bhw-benefit-icon,
.bhw-benefit-icon svg {
    transition: transform .28s ease, box-shadow .28s ease;
}

/* AJAX add-to-cart feedback. */
.bhw-cart-notice {
    display: none;
    margin: 0 0 15px;
    padding: 12px 15px;
    border-radius: 13px;
    font-size: 13px;
    line-height: 1.45;
    border: 1px solid var(--bhw-border);
}
.bhw-cart-notice.is-success {
    background: #EFFBFE;
    color: #075D7A;
    border-color: rgba(0,174,239,.22);
}
.bhw-cart-notice.is-error {
    background: #FFF5F5;
    color: #8A2D2D;
    border-color: #F0CACA;
}
.bhw-cart-notice a {
    color: var(--bhw-blue);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.bhw-buy-box .single_add_to_cart_button.loading {
    opacity: .72;
    cursor: wait !important;
    transform: none !important;
}
.bhw-buy-box .single_add_to_cart_button.bhw-added {
    background: #0B8F72 !important;
    box-shadow: 0 12px 25px rgba(11,143,114,.20);
}

@media (max-width: 700px) {
    .bhw-container {
        width: min(calc(100% - 32px), var(--bhw-container));
    }
}


@media (max-width: 700px) {
    .bhw-benefits-section > .bhw-container,
    .bhw-details-section > .bhw-container,
    .bhw-contact-strip > .bhw-container {
        padding-inline: 20px;
    }
}
