:root {
    --sbp-blue: #2877ff;
    --sbp-blue-dark: #1258d5;
    --sbp-navy: #10243c;
    --sbp-muted: #65788e;
    --sbp-line: #e2eaf4;
}

body.single-product .site-main {
    background: #f5f8fc;
}

body.single-product .hero-section {
    padding-top: 30px;
    padding-bottom: 24px;
}

body.single-product .ct-breadcrumbs {
    color: #708298;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .035em;
}

body.single-product .ct-breadcrumbs .last-item {
    display: inline-block;
    max-width: 460px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    white-space: nowrap;
}

body.single-product .product-entry-wrapper {
    align-items: start;
    width: calc(100% - 48px) !important;
    max-width: 1240px !important;
    gap: clamp(38px, 4vw, 62px) !important;
    padding: clamp(25px, 3.5vw, 48px) !important;
    border: 1px solid var(--sbp-line);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 22px 65px rgba(24, 58, 99, .09);
}

body.single-product .woocommerce-product-gallery .flexy-view {
    overflow: hidden;
    border: 1px solid #e8eef5;
    border-radius: 22px;
    background: linear-gradient(145deg, #fbfcfe, #f2f6fa);
}

body.single-product .woocommerce-product-gallery .flexy-item figure {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1 !important;
    padding: clamp(18px, 3vw, 38px);
}

body.single-product .woocommerce-product-gallery .flexy-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}

body.single-product .flexy-pills[data-type="thumbs"] ol {
    gap: 9px;
    margin-top: 13px;
}

body.single-product .flexy-pills[data-type="thumbs"] li {
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 11px;
    background: #fff;
}

body.single-product .flexy-pills[data-type="thumbs"] li.active {
    border-color: var(--sbp-blue);
}

body.single-product .summary.entry-summary {
    position: static;
    flex: 1 1 54%;
    min-width: 0;
    padding-top: 5px;
}

body.single-product .woocommerce-product-gallery {
    flex: 1 1 46%;
    min-width: 0;
}

.sbs-product-kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 16px !important;
    color: var(--sbp-blue);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.sbs-product-kicker span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--sbp-blue);
    box-shadow: 0 0 0 6px rgba(40, 119, 255, .11);
}

body.single-product .summary .product_title {
    margin: 0 0 23px !important;
    color: var(--sbp-navy);
    font-size: clamp(31px, 3vw, 44px) !important;
    font-weight: 800;
    line-height: 1.1 !important;
    letter-spacing: -.038em;
}

body.single-product .summary .price:empty,
body.single-product .summary .ct-product-add-to-cart:empty,
body.single-product .summary .woocommerce-product-details__short-description:empty,
body.single-product .summary .ct-product-divider {
    display: none !important;
}

.sbs-product-store-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, .95fr);
    align-items: center;
    gap: 14px 18px;
    margin-top: 8px;
    padding: 19px;
    border: 1px solid #d7e6ff;
    border-radius: 18px;
    background: linear-gradient(135deg, #f7faff 0%, #edf5ff 100%);
}

.sbs-product-store-card > p {
    margin: 0;
    color: #526b84;
    font-size: 15px;
    line-height: 1.6;
}

.sbs-product-store-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 56px;
    padding: 14px 20px;
    border-radius: 12px;
    background: var(--sbp-blue);
    box-shadow: 0 12px 28px rgba(40, 119, 255, .25);
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.sbs-product-store-button:hover {
    background: var(--sbp-blue-dark);
    box-shadow: 0 16px 34px rgba(40, 119, 255, .33);
    transform: translateY(-2px);
}

.sbs-product-store-button span {
    font-size: 18px;
}

.sbs-product-reassurance {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    display: grid;
    gap: 8px;
    margin-top: 17px;
    color: #425a73;
    font-size: 12px;
    font-weight: 700;
}

body.single-product .woocommerce-product-details__short-description > p:last-child {
    margin: 16px 0 !important;
}

body.single-product .woocommerce-product-details__short-description > p:last-child > a {
    max-width: none !important;
    padding: 11px 14px !important;
}

body.single-product .woocommerce-product-details__short-description > p:last-child br {
    display: none !important;
}

.sbs-product-downloads {
    grid-column: 1 / -1;
    margin-top: 21px;
    padding-top: 20px;
    border-top: 1px solid #d8e5f6;
}

.sbs-product-downloads > strong {
    display: block;
    margin-bottom: 12px;
    color: var(--sbp-navy);
    font-size: 14px;
}

.sbs-product-downloads > div {
    display: grid;
    gap: 9px;
}

.sbs-product-downloads a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #d6e3f4;
    border-radius: 11px;
    background: #fff;
    color: #25415f !important;
    text-decoration: none !important;
    transition: border-color .2s ease, transform .2s ease;
}

.sbs-product-downloads a:hover {
    border-color: var(--sbp-blue);
    transform: translateX(3px);
}

.sbs-product-downloads a > span:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #eaf2ff;
    color: var(--sbp-blue);
    font-size: 18px;
    font-weight: 900;
}

.sbs-product-downloads a b,
.sbs-product-downloads a small {
    display: block;
}

.sbs-product-downloads a b {
    font-size: 13px;
}

.sbs-product-downloads a small {
    margin-top: 2px;
    color: #718399;
    font-size: 11px;
}

.sbs-product-update-note {
    display: block;
    margin-top: 11px;
    color: #718399;
    font-size: 10px;
    line-height: 1.5;
}

body.single-product .product_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    padding-top: 0 !important;
    border: 0 !important;
}

body.single-product .product_meta > span {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    margin: 0 !important;
    padding: 7px 11px;
    border: 1px solid #e2e9f2;
    border-radius: 999px;
    background: #f8fafc;
    color: #6d7e92;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
}

body.single-product .woocommerce-tabs {
    margin-top: 55px;
    padding-bottom: 74px;
}

body.single-product .woocommerce-tabs > .wc-tabs {
    gap: 12px;
    border-bottom: 0;
}

body.single-product .woocommerce-tabs > .wc-tabs li a {
    padding: 11px 18px;
    border: 1px solid #dfe8f3;
    border-radius: 999px;
    background: #fff;
    color: #60758b;
    font-size: 12px;
    font-weight: 800;
}

body.single-product .woocommerce-tabs > .wc-tabs li.active a {
    border-color: var(--sbp-blue);
    background: var(--sbp-blue);
    color: #fff;
}

body.single-product .woocommerce-tabs > article {
    max-width: 1080px;
    margin: 22px auto 0;
    padding: clamp(26px, 4vw, 52px);
    border: 1px solid var(--sbp-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(24, 58, 99, .07);
}

body.single-product .woocommerce-Tabs-panel--description {
    color: #425970;
    font-size: 16px;
    line-height: 1.75;
}

body.single-product .woocommerce-Tabs-panel--description h2,
body.single-product .woocommerce-Tabs-panel--description h3 {
    color: var(--sbp-navy);
    font-weight: 800;
    letter-spacing: -.025em;
}

body.single-product .woocommerce-Tabs-panel--description h3 {
    margin: 0 0 22px;
    font-size: clamp(24px, 3vw, 34px);
}

body.single-product .woocommerce-Tabs-panel--description > ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

body.single-product .woocommerce-Tabs-panel--description > ul > li {
    margin: 0;
    padding: 15px 17px;
    border: 1px solid #e2eaf3;
    border-radius: 13px;
    background: #f7f9fc;
}

body.single-product .woocommerce-Tabs-panel--description > ul > li p {
    margin: 0;
}

body.single-product .woocommerce-Tabs-panel--description hr {
    height: 1px;
    margin: 38px 0;
    border: 0;
    background: #e2eaf3;
}

@media (max-width: 900px) {
    body.single-product .summary.entry-summary {
        position: static;
    }

    body.single-product .product-entry-wrapper {
        width: calc(100% - 30px) !important;
        border-radius: 22px;
    }

    .sbs-product-store-card {
        grid-template-columns: 1fr;
    }

    .sbs-product-reassurance {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    body.single-product .hero-section {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    body.single-product .product-entry-wrapper {
        padding: 16px !important;
        border-radius: 0;
    }

    body.single-product .summary .product_title {
        font-size: 30px !important;
    }

    .sbs-product-store-card {
        padding: 18px;
    }

    body.single-product .woocommerce-tabs {
        margin-top: 35px;
        padding-bottom: 45px;
    }

    body.single-product .woocommerce-tabs > article {
        padding: 22px 18px;
        border-radius: 18px;
    }

    body.single-product .woocommerce-Tabs-panel--description > ul {
        grid-template-columns: 1fr;
    }
}
