/* Interphysix global product design — Option C, 2026-07-22 */
body.ipx-product-modern {
    --ipx-pd-ink: #0b1f37;
    --ipx-pd-body: #42546a;
    --ipx-pd-blue: #0675d8;
    --ipx-pd-blue-dark: #005eb8;
    --ipx-pd-blue-soft: #eaf4ff;
    --ipx-pd-line: #d9e5f1;
    --ipx-pd-surface: #ffffff;
    --ipx-pd-wash: #f5f9fd;
    --ipx-pd-shadow: 0 18px 48px rgba(11, 31, 55, .08);
    color: var(--ipx-pd-body);
}

body.ipx-product-modern.ipx-product-title-long {
    --ipx-pd-title-max: 3.05rem;
}

body.ipx-product-modern.ipx-product-title-very-long {
    --ipx-pd-title-max: 2.7rem;
}

body.ipx-product-modern .site-content {
    background:
        radial-gradient(circle at 8% 6%, rgba(6, 117, 216, .045), transparent 26rem),
        linear-gradient(180deg, #fff 0, #fff 34rem, #f7fbff 34rem, #fff 100%);
}

body.ipx-product-modern .ast-woocommerce-container {
    max-width: 1240px;
    margin-inline: auto;
}

body.ipx-product-modern .interphysix-breadcrumbs {
    margin-bottom: clamp(20px, 3vw, 34px);
    color: #64748b;
    font-size: .8rem;
}

body.ipx-product-modern .interphysix-breadcrumbs a {
    color: #52677f;
    text-decoration: none;
}

body.ipx-product-modern div.product {
    color: var(--ipx-pd-body);
}

body.ipx-product-modern div.product div.images {
    box-sizing: border-box;
    padding: clamp(14px, 2vw, 26px);
    border: 1px solid var(--ipx-pd-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--ipx-pd-shadow);
    overflow: hidden;
}

body.ipx-product-modern .woocommerce-product-gallery__image a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}

body.ipx-product-modern .woocommerce-product-gallery__image img {
    border-radius: 12px;
}

body.ipx-product-modern .flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px !important;
}

body.ipx-product-modern .flex-control-thumbs li {
    width: auto !important;
    margin: 0 !important;
}

body.ipx-product-modern .flex-control-thumbs img {
    box-sizing: border-box;
    border: 1px solid var(--ipx-pd-line);
    border-radius: 9px;
    opacity: .7;
    transition: border-color .2s ease, box-shadow .2s ease, opacity .2s ease;
}

body.ipx-product-modern .flex-control-thumbs img.flex-active,
body.ipx-product-modern .flex-control-thumbs img:hover {
    border-color: var(--ipx-pd-blue);
    box-shadow: 0 0 0 3px rgba(6, 117, 216, .12);
    opacity: 1;
}

body.ipx-product-modern div.product div.summary {
    box-sizing: border-box;
    padding: clamp(4px, 1vw, 12px) 0;
}

body.ipx-product-modern .product-brand-logo {
    min-height: 42px !important;
    margin-bottom: 18px !important;
}

body.ipx-product-modern .product-brand-logo img {
    max-height: 54px !important;
    max-width: 220px !important;
}

body.ipx-product-modern .single-product-category {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 12px;
}

body.ipx-product-modern .single-product-category a {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 4px 10px;
    border: 1px solid #a9d0f5;
    border-radius: 999px;
    background: #f8fbff;
    color: var(--ipx-pd-blue-dark);
    font-size: .76rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

body.ipx-product-modern div.product .product_title {
    max-width: 18ch;
    margin: 0 0 14px;
    color: var(--ipx-pd-ink);
    font-size: clamp(2.25rem, 4.2vw, var(--ipx-pd-title-max, 3.75rem));
    font-weight: 750;
    letter-spacing: -.045em;
    line-height: 1.02;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

body.ipx-product-modern div.product .woocommerce-product-details__short-description {
    max-width: 62ch;
    color: var(--ipx-pd-body);
    font-size: clamp(1rem, 1.3vw, 1.12rem);
    line-height: 1.65;
}

body.ipx-product-modern div.product .woocommerce-product-details__short-description p:last-child {
    margin-bottom: 0;
}

body.ipx-product-modern div.product .product_meta {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--ipx-pd-line);
    color: #607289;
    font-size: .82rem;
}

body.ipx-product-modern div.product .product_meta > span {
    display: block;
    margin-top: 5px;
}

body.ipx-product-modern div.product .product_meta a {
    color: var(--ipx-pd-blue-dark);
}

body.ipx-product-modern div.product .pedir-orcamento-btn,
body.ipx-product-modern div.product .ipx-pd-specialist-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    margin: 22px 10px 0 0 !important;
    padding: 12px 19px !important;
    border: 1.5px solid var(--ipx-pd-blue) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    font-size: .94rem !important;
    font-weight: 750 !important;
    line-height: 1.15 !important;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

body.ipx-product-modern div.product .pedir-orcamento-btn {
    background: linear-gradient(135deg, var(--ipx-pd-blue), #0091df) !important;
    color: #fff !important;
    box-shadow: 0 9px 20px rgba(6, 117, 216, .2) !important;
}

body.ipx-product-modern div.product .ipx-pd-specialist-button {
    background: #fff !important;
    color: var(--ipx-pd-blue-dark) !important;
}

body.ipx-product-modern div.product .pedir-orcamento-btn:hover,
body.ipx-product-modern div.product .ipx-pd-specialist-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(6, 117, 216, .18) !important;
}

body.ipx-product-modern .ipx-pd-button-icon,
body.ipx-product-modern .ipx-pd-tab-icon,
body.ipx-product-modern .ipx-pd-link-icon {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
}

body.ipx-product-modern div.product .woocommerce-tabs {
    clear: both;
    box-sizing: border-box;
    width: 100%;
    padding-top: clamp(38px, 6vw, 70px);
}

body.ipx-product-modern div.product .woocommerce-tabs ul.tabs {
    display: flex;
    align-items: stretch;
    gap: 8px;
    overflow-x: auto;
    margin: 0 !important;
    padding: 7px !important;
    border: 1px solid var(--ipx-pd-line) !important;
    border-radius: 13px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 26px rgba(11, 31, 55, .06);
    scrollbar-width: thin;
}

body.ipx-product-modern div.product .woocommerce-tabs ul.tabs::before,
body.ipx-product-modern div.product .woocommerce-tabs ul.tabs li::before,
body.ipx-product-modern div.product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

body.ipx-product-modern div.product .woocommerce-tabs ul.tabs li {
    flex: 1 0 max-content;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
}

body.ipx-product-modern div.product .woocommerce-tabs ul.tabs li a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 10px 16px !important;
    border-radius: 8px;
    color: #31445b !important;
    font-size: .88rem;
    font-weight: 700 !important;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap;
}

body.ipx-product-modern div.product .woocommerce-tabs ul.tabs li.active a,
body.ipx-product-modern div.product .woocommerce-tabs ul.tabs li a:hover {
    background: linear-gradient(135deg, #e4f1ff, #f1f7ff);
    color: var(--ipx-pd-blue-dark) !important;
}

body.ipx-product-modern div.product .woocommerce-tabs ul.tabs li a:focus-visible,
body.ipx-product-modern div.product .pedir-orcamento-btn:focus-visible,
body.ipx-product-modern div.product .ipx-pd-specialist-button:focus-visible {
    outline: 3px solid rgba(6, 117, 216, .32) !important;
    outline-offset: 3px;
}

body.ipx-product-modern div.product .woocommerce-Tabs-panel {
    box-sizing: border-box;
    margin: 18px 0 0 !important;
    padding: clamp(22px, 4vw, 42px) !important;
    border: 1px solid var(--ipx-pd-line);
    border-radius: 15px;
    background: rgba(255, 255, 255, .97);
    box-shadow: var(--ipx-pd-shadow);
    color: var(--ipx-pd-body);
    font-size: 1rem;
    line-height: 1.7;
}

body.ipx-product-modern div.product .woocommerce-Tabs-panel > :first-child {
    margin-top: 0;
}

body.ipx-product-modern div.product .woocommerce-Tabs-panel h2,
body.ipx-product-modern div.product .woocommerce-Tabs-panel h3,
body.ipx-product-modern div.product .woocommerce-Tabs-panel h4 {
    color: var(--ipx-pd-ink);
    letter-spacing: -.025em;
    line-height: 1.2;
}

body.ipx-product-modern div.product .woocommerce-Tabs-panel > h2:first-child {
    margin-bottom: 20px;
    font-size: clamp(1.55rem, 3vw, 2.05rem);
}

body.ipx-product-modern div.product .woocommerce-Tabs-panel ul:not([class]) {
    padding-left: 1.25rem;
}

body.ipx-product-modern div.product .woocommerce-Tabs-panel li::marker {
    color: var(--ipx-pd-blue);
}

body.ipx-product-modern .ipx-pd-table-frame {
    width: 100%;
    margin: 18px 0;
    overflow-x: auto;
    border: 1px solid var(--ipx-pd-line);
    border-radius: 10px;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}

body.ipx-product-modern div.product .woocommerce-Tabs-panel table {
    width: 100% !important;
    min-width: 520px;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: collapse !important;
    background: #fff;
}

body.ipx-product-modern div.product .woocommerce-Tabs-panel table th,
body.ipx-product-modern div.product .woocommerce-Tabs-panel table td {
    padding: 12px 14px !important;
    border: 0 !important;
    border-bottom: 1px solid #e4ecf4 !important;
    color: #34475d;
    font-size: .9rem;
    line-height: 1.45;
    text-align: left;
    vertical-align: top;
}

body.ipx-product-modern div.product .woocommerce-Tabs-panel table th {
    width: 38%;
    background: #f4f8fc;
    color: var(--ipx-pd-ink);
    font-weight: 750;
}

body.ipx-product-modern div.product .woocommerce-Tabs-panel table tr:last-child > * {
    border-bottom: 0 !important;
}

body.ipx-product-modern .ipx-pd-document-link {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    margin: 5px 6px 5px 0;
    padding: 9px 13px;
    border: 1px solid #acd1f3;
    border-radius: 8px;
    background: #f6fbff;
    color: var(--ipx-pd-blue-dark) !important;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none !important;
}

body.ipx-product-modern .ipx-pd-document-link:hover {
    border-color: var(--ipx-pd-blue);
    background: var(--ipx-pd-blue-soft);
}

body.ipx-product-modern .related.products,
body.ipx-product-modern .up-sells.products {
    margin-top: clamp(44px, 7vw, 82px);
}

body.ipx-product-modern .related.products > h2,
body.ipx-product-modern .up-sells.products > h2 {
    margin-bottom: 24px;
    color: var(--ipx-pd-ink);
    font-size: clamp(1.6rem, 3vw, 2rem);
}

body.ipx-product-modern ul.products li.product {
    border: 1px solid var(--ipx-pd-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(11, 31, 55, .06);
    overflow: hidden;
}

body.ipx-product-modern ul.products li.product .astra-shop-summary-wrap {
    padding: 0 16px 18px;
}

@media (min-width: 922px) {
    body.ipx-product-modern .site-content > .ast-container {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    body.ipx-product-modern .site-content > .ast-container > .interphysix-breadcrumbs {
        width: 100%;
        height: auto;
        flex: 0 0 100%;
        align-self: flex-start;
        margin-bottom: 24px;
    }

    body.ipx-product-modern.ast-plain-container .site-content > .ast-container > #primary {
        width: 100%;
        min-width: 0;
        flex: 0 0 100%;
        margin-top: 0;
    }

    body.ipx-product-modern div.product div.images {
        width: 51% !important;
    }

    body.ipx-product-modern div.product div.summary {
        width: 43% !important;
    }
}

@media (max-width: 921px) {
    body.ipx-product-modern .ast-woocommerce-container {
        padding-inline: clamp(16px, 4vw, 28px) !important;
    }

    body.ipx-product-modern div.product div.summary {
        padding-top: 26px;
    }
}

@media (max-width: 544px) {
    body.ipx-product-modern .ast-woocommerce-container {
        padding-inline: 15px !important;
    }

    body.ipx-product-modern div.product div.images {
        padding: 10px;
        border-radius: 13px;
        box-shadow: 0 10px 28px rgba(11, 31, 55, .07);
    }

    body.ipx-product-modern div.product .product_title {
        max-width: none;
        font-size: clamp(2rem, 10vw, 2.65rem);
    }

    body.ipx-product-modern div.product .pedir-orcamento-btn,
    body.ipx-product-modern div.product .ipx-pd-specialist-button {
        width: 100%;
        margin-right: 0 !important;
    }

    body.ipx-product-modern div.product .ipx-pd-specialist-button {
        margin-top: 10px !important;
    }

    body.ipx-product-modern div.product .woocommerce-tabs {
        padding-top: 42px;
    }

    body.ipx-product-modern div.product .woocommerce-tabs ul.tabs {
        margin-inline: -15px !important;
        padding-inline: 15px !important;
        border-right: 0 !important;
        border-left: 0 !important;
        border-radius: 0;
    }

    body.ipx-product-modern div.product .woocommerce-tabs ul.tabs li {
        flex: 0 0 auto;
    }

    body.ipx-product-modern div.product .woocommerce-tabs ul.tabs li a {
        min-height: 43px;
        padding: 9px 13px !important;
        font-size: .82rem;
    }

    body.ipx-product-modern div.product .woocommerce-Tabs-panel {
        padding: 20px 17px !important;
        border-radius: 11px;
        font-size: .96rem;
    }

    body.ipx-product-modern .ipx-pd-tab-icon {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.ipx-product-modern *,
    body.ipx-product-modern *::before,
    body.ipx-product-modern *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
