/* Trường Thịnh Single Product CSS Bundle v3.11.9 */

/* === tt-single-product.css === */
/*
 * Trường Thịnh Child — Single Product UI v3.6.0
 * Responsive product detail page for Flatsome + WooCommerce.
 */

body.single-product {
    --tt-product-bg: #f6f8fb;
    --tt-product-card: #fff;
    --tt-product-text: #111827;
    --tt-product-muted: #667085;
    --tt-product-border: #e7eaf0;
    --tt-product-radius: 22px;
    --tt-product-shadow: 0 14px 38px rgba(15, 23, 42, .07);
}

body.single-product #main {
    background: var(--tt-product-bg);
}

body.single-product .shop-container,
body.single-product .product-main,
body.single-product .product-footer {
    max-width: 100%;
}

body.single-product .tt-single-product {
    width: min(1240px, calc(100% - 30px));
    max-width: 100%;
    margin: 0 auto;
    padding: clamp(16px, 2.4vw, 30px) 0 46px;
    min-width: 0;
}

body.single-product .tt-single-product,
body.single-product .tt-single-product *,
body.single-product .tt-single-product *::before,
body.single-product .tt-single-product *::after {
    box-sizing: border-box;
}

body.single-product .tt-product-main {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(20px, 2.4vw, 34px);
    align-items: start;
    min-width: 0;
}

body.single-product .tt-product-media,
body.single-product .tt-product-summary {
    background: var(--tt-product-card);
    border: 1px solid var(--tt-product-border);
    border-radius: var(--tt-product-radius);
    box-shadow: var(--tt-product-shadow);
    min-width: 0;
}

body.single-product .tt-product-media {
    padding: clamp(12px, 1.6vw, 20px);
    position: relative;
}

body.single-product .tt-product-summary {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: clamp(20px, 2.2vw, 30px) !important;
}

/* Gallery */
body.single-product .tt-product-media .woocommerce-product-gallery {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    min-width: 0;
}

body.single-product .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce-product-gallery__image,
body.single-product .woocommerce-product-gallery__image a {
    max-width: 100%;
}

body.single-product .woocommerce-product-gallery__image img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain;
    border-radius: 16px;
}

body.single-product .woocommerce-product-gallery .flex-viewport {
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    list-style: none;
    max-width: 100%;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    min-width: 0;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid var(--tt-product-border);
    border-radius: 10px;
    padding: 3px;
    background: #fff;
    opacity: .72;
    transition: opacity .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs img:hover,
body.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
    opacity: 1;
    border-color: var(--tt-primary);
    box-shadow: 0 0 0 2px var(--tt-primary-ring);
}

body.single-product .tt-product-media .badge-container,
body.single-product .tt-product-media .onsale {
    z-index: 5;
}

/* Summary */
body.single-product .tt-product-summary .product-title {
    margin: 0 0 10px !important;
    color: var(--tt-product-text);
    font-size: clamp(25px, 2.15vw, 34px);
    line-height: 1.18;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}

body.single-product .tt-product-kickers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 13px;
}

body.single-product .tt-product-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid var(--tt-product-border);
    color: var(--tt-product-muted);
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

body.single-product .tt-product-kicker--stock.in-stock {
    color: #087443;
    border-color: #b7e3cc;
    background: #effaf4;
}

body.single-product .tt-product-kicker--stock.out-of-stock {
    color: #b42318;
    border-color: #fecaca;
    background: #fff1f1;
}

body.single-product .tt-product-summary .woocommerce-product-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 13px !important;
    color: var(--tt-product-muted);
}

body.single-product .tt-product-summary .star-rating {
    margin: 0 !important;
}

body.single-product .tt-product-summary .price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 9px;
    margin: 4px 0 16px !important;
    color: var(--tt-primary) !important;
    font-size: clamp(27px, 2.45vw, 38px) !important;
    font-weight: 800 !important;
    line-height: 1.15;
}

body.single-product .tt-product-summary .price ins {
    color: var(--tt-primary) !important;
    text-decoration: none !important;
}

body.single-product .tt-product-summary .price del {
    color: #98a2b3 !important;
    font-size: .55em !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

body.single-product .tt-product-summary .woocommerce-product-details__short-description {
    margin: 0 0 18px;
    padding: 15px 16px;
    border: 1px solid var(--tt-product-border);
    border-radius: 14px;
    background: #fbfcfe;
    color: #344054;
    font-size: 15px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

body.single-product .tt-product-summary .woocommerce-product-details__short-description > :last-child {
    margin-bottom: 0;
}

/* Variation/select controls */
body.single-product .tt-product-summary form.cart,
body.single-product .tt-product-summary .variations_form,
body.single-product .tt-product-summary .single_variation_wrap,
body.single-product .tt-product-summary .woocommerce-variation-add-to-cart {
    max-width: 100%;
    min-width: 0;
}

body.single-product .tt-product-summary table.variations {
    display: table;
    width: 100% !important;
    max-width: 100%;
    margin: 0 0 14px !important;
    border: 0;
}

body.single-product .tt-product-summary table.variations tr,
body.single-product .tt-product-summary table.variations th,
body.single-product .tt-product-summary table.variations td {
    border: 0 !important;
}

body.single-product .tt-product-summary table.variations th,
body.single-product .tt-product-summary table.variations td {
    padding: 5px 0 8px !important;
    vertical-align: middle;
}

body.single-product .tt-product-summary table.variations th.label {
    width: 104px;
    padding-right: 12px !important;
    color: var(--tt-product-text);
    font-size: 13px;
    font-weight: 700;
}

body.single-product .tt-product-summary table.variations select {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px;
    margin: 0 !important;
    background: #fff !important;
}

body.single-product .reset_variations {
    display: inline-block;
    margin-top: 7px;
    color: var(--tt-primary) !important;
    font-size: 12px;
    font-weight: 700;
}

body.single-product .woocommerce-variation-price .price {
    margin-top: 8px !important;
}

/* Purchase row */
body.single-product .tt-product-summary form.cart:not(.grouped_form),
body.single-product .tt-product-summary .woocommerce-variation-add-to-cart {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
    margin: 0 0 15px !important;
}

body.single-product .tt-product-summary .quantity {
    flex: 0 0 104px;
    width: 104px;
    min-width: 0;
    margin: 0 !important;
}

body.single-product .tt-product-summary .quantity .button,
body.single-product .tt-product-summary .quantity input {
    min-height: 48px;
}

body.single-product .tt-product-summary .single_add_to_cart_button,
body.single-product .tt-product-summary .tt-buy-now-button {
    flex: 1 1 170px;
    min-width: 0;
    min-height: 48px;
    margin: 0 !important;
    border-radius: 12px !important;
    font-size: 14px;
    font-weight: 800 !important;
    line-height: 1.25;
    text-transform: none !important;
}

body.single-product .tt-product-summary .tt-buy-now-button {
    background: var(--tt-primary-strong) !important;
    border-color: var(--tt-primary-strong) !important;
    color: #fff !important;
}

body.single-product .tt-product-summary .tt-buy-now-button:hover {
    background: #111827 !important;
    border-color: #111827 !important;
    color: #fff !important;
}

body.single-product .tt-product-summary .stock {
    margin: 10px 0;
    font-weight: 700;
}

/* Purchase benefits */
body.single-product .tt-product-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 4px 0 16px;
}

body.single-product .tt-product-benefit {
    min-width: 0;
    padding: 11px 10px;
    border: 1px solid var(--tt-product-border);
    border-radius: 12px;
    background: #fff;
}

body.single-product .tt-product-benefit strong,
body.single-product .tt-product-benefit span {
    display: block;
    overflow-wrap: anywhere;
}

body.single-product .tt-product-benefit strong {
    color: var(--tt-product-text);
    font-size: 12px;
    line-height: 1.25;
}

body.single-product .tt-product-benefit span {
    margin-top: 3px;
    color: var(--tt-product-muted);
    font-size: 11px;
    line-height: 1.35;
}

body.single-product .tt-product-summary .product_meta {
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--tt-product-border);
    color: var(--tt-product-muted);
    font-size: 12px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

body.single-product .tt-product-summary .product_meta a {
    color: var(--tt-product-text);
    font-weight: 650;
}

/* Lower content: tabs / upsell / related */
body.single-product .tt-product-lower {
    min-width: 0;
    margin-top: clamp(18px, 2.6vw, 32px);
}

body.single-product .tt-product-lower > .woocommerce-tabs,
body.single-product .tt-product-lower > .product-section,
body.single-product .tt-product-lower > .related,
body.single-product .tt-product-lower > .upsells,
body.single-product .tt-product-lower .woocommerce-tabs {
    max-width: 100%;
}

body.single-product .woocommerce-tabs.wc-tabs-wrapper {
    padding: clamp(16px, 2vw, 24px) !important;
    border: 1px solid var(--tt-product-border);
    border-radius: var(--tt-product-radius);
    background: #fff;
    box-shadow: var(--tt-product-shadow);
}

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

body.single-product .woocommerce-tabs .tabs li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.single-product .woocommerce-tabs .tabs li a {
    min-height: 42px;
    padding: 10px 15px !important;
    border: 1px solid var(--tt-product-border) !important;
    border-radius: 10px !important;
    color: var(--tt-product-muted) !important;
    font-size: 13px;
    font-weight: 750 !important;
    line-height: 1.2;
}

body.single-product .woocommerce-tabs .tabs li.active a {
    color: var(--tt-primary) !important;
    border-color: var(--tt-primary) !important;
    background: var(--tt-primary-soft) !important;
}

body.single-product .woocommerce-Tabs-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    color: #344054;
    line-height: 1.72;
    overflow-x: auto;
    overflow-y: hidden;
    overflow-wrap: anywhere;
    -webkit-overflow-scrolling: touch;
}

body.single-product .woocommerce-Tabs-panel img,
body.single-product .woocommerce-Tabs-panel video,
body.single-product .woocommerce-Tabs-panel iframe,
body.single-product .woocommerce-Tabs-panel canvas,
body.single-product .woocommerce-Tabs-panel svg {
    max-width: 100% !important;
    height: auto;
}

body.single-product .woocommerce-Tabs-panel iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
}

body.single-product .woocommerce-Tabs-panel table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}

body.single-product .woocommerce-Tabs-panel pre,
body.single-product .woocommerce-Tabs-panel code {
    max-width: 100%;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

body.single-product .tt-mobile-tab-toggle {
    display: none;
}

/* Related / upsell cards */
body.single-product .tt-product-lower .related,
body.single-product .tt-product-lower .upsells,
body.single-product .related.products,
body.single-product .upsells.products {
    margin-top: clamp(20px, 2.6vw, 32px);
    padding: clamp(16px, 2vw, 24px);
    border: 1px solid var(--tt-product-border);
    border-radius: var(--tt-product-radius);
    background: #fff;
    box-shadow: var(--tt-product-shadow);
}

body.single-product .related.products > h2,
body.single-product .upsells.products > h2 {
    margin: 0 0 18px;
    color: var(--tt-product-text);
    font-size: clamp(20px, 2vw, 27px);
    line-height: 1.25;
}

body.single-product .related.products .products,
body.single-product .upsells.products .products {
    margin-left: -7px !important;
    margin-right: -7px !important;
}

body.single-product .related.products .product-small,
body.single-product .upsells.products .product-small {
    padding-left: 7px !important;
    padding-right: 7px !important;
}

/* Mobile fixed purchase bar */
body.single-product .tt-mobile-product-bar {
    display: none;
}

@media (min-width: 850px) {
    body.single-product .tt-product-media .woocommerce-product-gallery {
        position: sticky;
        top: 94px;
    }
}

@media (max-width: 849px) {
    body.single-product {
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }

    body.single-product .tt-single-product {
        width: min(100% - 20px, 720px);
        padding-top: 12px;
        padding-bottom: 26px;
    }

    body.single-product .tt-product-main {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    body.single-product .tt-product-media,
    body.single-product .tt-product-summary,
    body.single-product .woocommerce-tabs.wc-tabs-wrapper,
    body.single-product .related.products,
    body.single-product .upsells.products {
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(15, 23, 42, .055);
    }

    body.single-product .tt-product-media {
        padding: 9px;
    }

    body.single-product .tt-product-summary {
        padding: 16px !important;
    }

    body.single-product .tt-product-summary .product-title {
        font-size: clamp(21px, 6vw, 26px);
        line-height: 1.24;
    }

    body.single-product .tt-product-summary .price {
        font-size: clamp(25px, 7vw, 32px) !important;
    }

    body.single-product .woocommerce-product-gallery .flex-control-thumbs {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
    }

    body.single-product .tt-product-summary .woocommerce-product-details__short-description {
        padding: 12px 13px;
        font-size: 14px;
    }

    body.single-product .tt-product-benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    body.single-product .tt-product-benefit {
        padding: 9px 7px;
    }

    body.single-product .tt-product-benefit strong {
        font-size: 11px;
    }

    body.single-product .tt-product-benefit span {
        font-size: 10px;
    }

    body.single-product .tt-product-summary table.variations,
    body.single-product .tt-product-summary table.variations tbody,
    body.single-product .tt-product-summary table.variations tr,
    body.single-product .tt-product-summary table.variations th,
    body.single-product .tt-product-summary table.variations td {
        display: block;
        width: 100% !important;
    }

    body.single-product .tt-product-summary table.variations th.label {
        padding: 0 0 5px !important;
    }

    body.single-product .tt-product-summary table.variations td.value {
        padding: 0 0 10px !important;
    }

    body.single-product .tt-product-summary .quantity {
        flex: 0 0 88px;
        width: 88px;
    }

    body.single-product .tt-product-summary .single_add_to_cart_button,
    body.single-product .tt-product-summary .tt-buy-now-button {
        flex: 1 1 calc(50% - 54px);
        min-height: 46px;
        padding-left: 10px !important;
        padding-right: 10px !important;
        font-size: 13px;
    }

    /* Native desktop tabs become compact accordion buttons. */
    body.single-product .woocommerce-tabs .tabs.wc-tabs {
        display: none !important;
    }

    body.single-product .woocommerce-tabs.wc-tabs-wrapper {
        padding: 10px !important;
    }

    body.single-product .tt-mobile-tab-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 48px;
        margin: 0 0 8px !important;
        padding: 11px 13px !important;
        border: 1px solid var(--tt-product-border) !important;
        border-radius: 11px !important;
        background: #fff !important;
        color: var(--tt-product-text) !important;
        box-shadow: none !important;
        font-size: 14px;
        font-weight: 800 !important;
        text-align: left;
    }

    body.single-product .tt-mobile-tab-toggle::after {
        content: '+';
        flex: 0 0 auto;
        margin-left: 12px;
        color: var(--tt-primary);
        font-size: 22px;
        font-weight: 500;
        line-height: 1;
    }

    body.single-product .tt-mobile-tab-toggle.is-open {
        color: var(--tt-primary) !important;
        border-color: var(--tt-primary) !important;
        background: var(--tt-primary-soft) !important;
    }

    body.single-product .tt-mobile-tab-toggle.is-open::after {
        content: '−';
    }

    body.single-product .woocommerce-Tabs-panel {
        display: none !important;
        padding: 5px 4px 14px !important;
        margin: 0 0 4px !important;
    }

    body.single-product .woocommerce-Tabs-panel.is-mobile-open {
        display: block !important;
    }

    body.single-product .related.products,
    body.single-product .upsells.products {
        padding: 12px;
    }

    body.single-product .related.products .row,
    body.single-product .upsells.products .row,
    body.single-product .related.products .products,
    body.single-product .upsells.products .products {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    body.single-product .related.products .product-small,
    body.single-product .upsells.products .product-small,
    body.single-product .related.products .product,
    body.single-product .upsells.products .product {
        flex: 0 0 50% !important;
        width: 50% !important;
        max-width: 50% !important;
    }

    body.single-product .tt-mobile-product-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9998;
        display: grid;
        grid-template-columns: minmax(0, .8fr) minmax(0, 1.05fr) minmax(0, 1.05fr);
        gap: 7px;
        align-items: center;
        min-width: 0;
        padding: 8px max(10px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-right));
        border-top: 1px solid var(--tt-product-border);
        background: rgba(255,255,255,.97);
        box-shadow: 0 -8px 26px rgba(15,23,42,.12);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    body.single-product .tt-mobile-product-bar__price {
        min-width: 0;
        color: var(--tt-primary);
        font-size: 14px;
        font-weight: 850;
        line-height: 1.15;
        overflow: hidden;
    }

    body.single-product .tt-mobile-product-bar__price del {
        display: none !important;
    }

    body.single-product .tt-mobile-product-bar__price ins {
        text-decoration: none !important;
    }

    body.single-product .tt-mobile-product-bar__button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 44px;
        margin: 0 !important;
        padding: 8px 7px !important;
        border-radius: 10px !important;
        font-size: 12px;
        font-weight: 800 !important;
        line-height: 1.15;
        text-align: center;
        white-space: normal;
    }

    body.single-product .tt-mobile-product-bar__button--cart {
        background: #fff !important;
        border: 1px solid var(--tt-primary) !important;
        color: var(--tt-primary) !important;
    }

    body.single-product .tt-mobile-product-bar__button--buy {
        background: var(--tt-primary) !important;
        border: 1px solid var(--tt-primary) !important;
        color: #fff !important;
    }
}

@media (max-width: 420px) {
    body.single-product .tt-product-benefits {
        grid-template-columns: 1fr;
    }

    body.single-product .tt-product-benefit {
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        align-items: center;
        gap: 8px;
    }

    body.single-product .tt-product-benefit span {
        margin-top: 0;
        text-align: right;
    }

    body.single-product .tt-mobile-product-bar {
        grid-template-columns: .72fr 1fr 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.single-product .woocommerce-product-gallery .flex-control-thumbs img,
    body.single-product .tt-mobile-tab-toggle {
        transition: none !important;
    }
}


/* === tt-single-product-final.css === */
/**
 * Trường Thịnh Child — Single Product final layout v3.8.2
 * Desktop/mobile overflow hardening + existing metadata accordion.
 */

body.single-product {
    --tt-product-max: 1280px;
    --tt-product-radius: 16px;
    --tt-product-radius-sm: 10px;
    --tt-product-border: #e4e8ef;
    --tt-product-card: #fff;
    --tt-product-text: #111827;
    --tt-product-muted: #667085;
    --tt-product-shadow: 0 8px 24px rgba(15, 23, 42, .055);
}

/* ---------- Global product-page containment ---------- */
body.single-product #main,
body.single-product .shop-container,
body.single-product .product-main,
body.single-product .product-footer,
body.single-product .tt-single-product,
body.single-product .tt-product-main,
body.single-product .tt-product-media,
body.single-product .tt-product-summary,
body.single-product .tt-product-lower,
body.single-product .woocommerce-tabs,
body.single-product .woocommerce-Tabs-panel,
body.single-product .related,
body.single-product .upsells {
    min-width: 0 !important;
    max-width: 100% !important;
}

body.single-product .tt-single-product {
    width: min(var(--tt-product-max), calc(100% - 32px)) !important;
    margin-inline: auto !important;
    padding: 18px 0 44px !important;
}

body.single-product .tt-single-product *,
body.single-product .tt-single-product *::before,
body.single-product .tt-single-product *::after {
    box-sizing: border-box;
}

body.single-product .tt-product-main {
    display: grid !important;
    grid-template-columns: minmax(0, 48%) minmax(0, 52%) !important;
    gap: 20px !important;
    align-items: start !important;
    width: 100% !important;
}

body.single-product .tt-product-media,
body.single-product .tt-product-summary {
    width: 100% !important;
    margin: 0 !important;
    border: 1px solid var(--tt-product-border) !important;
    border-radius: var(--tt-product-radius) !important;
    background: var(--tt-product-card) !important;
    box-shadow: var(--tt-product-shadow) !important;
}

body.single-product .tt-product-media {
    position: relative;
    padding: 12px !important;
}

body.single-product .tt-product-summary {
    float: none !important;
    padding: 20px !important;
    overflow: visible !important;
}

/* ---------- Gallery ---------- */
body.single-product .tt-product-media .woocommerce-product-gallery,
body.single-product .tt-product-media .woocommerce-product-gallery__wrapper,
body.single-product .tt-product-media .woocommerce-product-gallery__image,
body.single-product .tt-product-media .woocommerce-product-gallery__image a,
body.single-product .tt-product-media .flex-viewport {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

body.single-product .tt-product-media .woocommerce-product-gallery__image a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #fff;
}

body.single-product .tt-product-media .woocommerce-product-gallery__image img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    max-height: 560px !important;
    height: auto !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 7px !important;
    width: 100% !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs img {
    width: 100% !important;
    aspect-ratio: 1 / 1;
    object-fit: contain !important;
    border: 1px solid var(--tt-product-border) !important;
    border-radius: 8px !important;
    background: #fff;
    padding: 2px;
}

/* ---------- Summary ---------- */
body.single-product .tt-product-summary .product-title {
    max-width: 100% !important;
    margin: 0 0 8px !important;
    color: var(--tt-product-text) !important;
    font-size: 18px !important;
    line-height: 1.32 !important;
    overflow-wrap: anywhere;
}

body.single-product .tt-product-summary .price,
body.single-product .tt-product-summary .price .woocommerce-Price-amount {
    font-size: 18px !important;
    line-height: 1.2 !important;
}

body.single-product .tt-product-summary .price {
    margin: 5px 0 13px !important;
}

body.single-product .tt-product-summary .price del,
body.single-product .tt-product-summary .price del .woocommerce-Price-amount {
    font-size: 13px !important;
}

body.single-product .tt-product-summary .woocommerce-product-details__short-description {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 14px !important;
    padding: 12px 13px !important;
    border: 1px solid var(--tt-product-border) !important;
    border-radius: 10px !important;
    background: #fafbfc !important;
    overflow-wrap: anywhere !important;
}

body.single-product .tt-product-summary .woocommerce-product-details__short-description img,
body.single-product .tt-product-summary .woocommerce-product-details__short-description iframe,
body.single-product .tt-product-summary .woocommerce-product-details__short-description video,
body.single-product .tt-product-summary .woocommerce-product-details__short-description table {
    max-width: 100% !important;
}

/* ---------- Variable/grouped/simple forms: prevent flex collisions ---------- */
body.single-product .tt-product-summary form.cart,
body.single-product .tt-product-summary form.variations_form.cart,
body.single-product .tt-product-summary .single_variation_wrap,
body.single-product .tt-product-summary .single_variation,
body.single-product .tt-product-summary .woocommerce-variation,
body.single-product .tt-product-summary .woocommerce-variation-add-to-cart {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

/* Critical: a variation form itself must NOT be flex. */
body.single-product .tt-product-summary form.variations_form.cart {
    display: block !important;
    margin: 0 0 14px !important;
}

body.single-product .tt-product-summary form.cart:not(.variations_form):not(.grouped_form),
body.single-product .tt-product-summary .woocommerce-variation-add-to-cart {
    display: flex !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
    gap: 9px !important;
    margin: 0 0 14px !important;
}

body.single-product .tt-product-summary table.variations {
    display: table !important;
    table-layout: fixed !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 10px !important;
}

body.single-product .tt-product-summary table.variations th.label {
    width: 105px !important;
    padding-right: 10px !important;
}

body.single-product .tt-product-summary table.variations td.value,
body.single-product .tt-product-summary table.variations select {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

body.single-product .tt-product-summary .group_table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}

body.single-product .tt-product-summary .quantity {
    flex: 0 0 108px !important;
    width: 108px !important;
    min-width: 108px !important;
    margin: 0 !important;
}

body.single-product .tt-product-summary .quantity input,
body.single-product .tt-product-summary .quantity .button,
body.single-product .tt-product-summary .single_add_to_cart_button,
body.single-product .tt-product-summary .tt-buy-now-button {
    min-height: 42px !important;
    height: 42px !important;
}

body.single-product .tt-product-summary .single_add_to_cart_button,
body.single-product .tt-product-summary .tt-buy-now-button {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 7px 12px !important;
    border: 1.5px solid var(--tt-primary) !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: var(--tt-primary) !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    text-transform: none !important;
    transform: none !important;
}

body.single-product .tt-product-summary .single_add_to_cart_button:hover,
body.single-product .tt-product-summary .tt-buy-now-button:hover,
body.single-product .tt-product-summary .single_add_to_cart_button:focus-visible,
body.single-product .tt-product-summary .tt-buy-now-button:focus-visible {
    border-color: var(--tt-primary-strong, var(--tt-primary)) !important;
    background: var(--tt-primary-soft, #fff7f7) !important;
    color: var(--tt-primary-strong, var(--tt-primary)) !important;
    box-shadow: 0 0 0 3px var(--tt-primary-ring, rgba(220,38,38,.10)) !important;
}

/* ---------- Benefits + product meta ---------- */
body.single-product .tt-product-benefits {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
    margin: 2px 0 14px !important;
}

body.single-product .tt-product-benefit {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    min-height: 62px;
    min-width: 0;
    padding: 9px 10px !important;
    border: 1px solid var(--tt-product-border) !important;
    border-radius: 9px !important;
}

body.single-product .tt-product-benefit strong { font-size: 13px !important; }
body.single-product .tt-product-benefit span { font-size: 13px !important; overflow-wrap: anywhere; }

body.single-product .tt-product-summary .product_meta {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 12px !important;
    padding-top: 12px !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
}

body.single-product .tt-product-summary .product_meta > span {
    display: block !important;
    max-width: 100%;
    padding: 7px 0 !important;
    border-bottom: 1px dotted var(--tt-product-border);
}

/* Social/share: same axis, no circles drifting outside row. */
body.single-product .social-icons,
body.single-product .share-icons,
body.single-product .social-icons.share-icons {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    width: 100%;
    margin-top: 10px !important;
}

body.single-product .social-icons a,
body.single-product .share-icons a,
body.single-product .social-icons .button.icon,
body.single-product .share-icons .button.icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--tt-product-border) !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: none !important;
    line-height: 1 !important;
}

body.single-product .social-icons a i,
body.single-product .share-icons a i,
body.single-product .social-icons a svg,
body.single-product .share-icons a svg {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    line-height: 1 !important;
}

/* ---------- Lower accordion on desktop AND mobile ---------- */
body.single-product .tt-product-lower {
    width: 100% !important;
    margin-top: 18px !important;
}

body.single-product .woocommerce-tabs.wc-tabs-wrapper.tt-product-accordion-ready {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

body.single-product .woocommerce-tabs.wc-tabs-wrapper.tt-product-accordion-ready > .tabs.wc-tabs {
    display: none !important;
}

body.single-product .tt-mobile-tab-toggle { display: none; }

body.single-product .tt-product-accordion-ready .tt-mobile-tab-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 46px !important;
    margin: 0 0 7px !important;
    padding: 10px 14px !important;
    border: 1px solid var(--tt-product-border) !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: var(--tt-product-text) !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    line-height: 1.25 !important;
    text-align: left !important;
    text-transform: none !important;
    transform: none !important;
}

body.single-product .tt-product-accordion-ready .tt-mobile-tab-toggle::after {
    content: '+';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-left: 12px;
    border: 1px solid currentColor;
    border-radius: 7px;
    color: var(--tt-primary);
    background: transparent;
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
}

body.single-product .tt-product-accordion-ready .tt-mobile-tab-toggle.is-open {
    margin-bottom: 0 !important;
    border-color: var(--tt-primary) !important;
    border-radius: 10px 10px 0 0 !important;
    background: var(--tt-primary-soft, #fff7f7) !important;
    color: var(--tt-primary) !important;
}

body.single-product .tt-product-accordion-ready .tt-mobile-tab-toggle.is-open::after { content: '−'; }

body.single-product .tt-product-accordion-ready .woocommerce-Tabs-panel {
    display: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 7px !important;
    padding: 14px !important;
    border: 1px solid var(--tt-primary) !important;
    border-top: 0 !important;
    border-radius: 0 0 10px 10px !important;
    background: #fff !important;
    color: var(--tt-product-text) !important;
    overflow: visible !important;
    overflow-wrap: anywhere !important;
}

body.single-product .tt-product-accordion-ready .woocommerce-Tabs-panel.is-mobile-open {
    display: block !important;
}

body.single-product .tt-product-accordion-ready .woocommerce-Tabs-panel > h2:first-child,
body.single-product .tt-product-accordion-ready .woocommerce-Tabs-panel > h3:first-child {
    display: none !important;
}

/* ---------- Existing meta renderers ---------- */
body.single-product .tt-product-meta-content,
body.single-product .tt-product-native-attributes,
body.single-product .tt-product-documents,
body.single-product .tt-product-manufacturer-card,
body.single-product .tt-product-catalog-data {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

body.single-product .tt-product-data-table-wrap,
body.single-product .tt-product-native-attributes,
body.single-product .tt-product-catalog-data .table-responsive,
body.single-product .tt-product-catalog-data .table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

body.single-product .tt-product-data-table,
body.single-product .tt-product-native-attributes table,
body.single-product .tt-product-catalog-data table,
body.single-product .woocommerce-product-attributes {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-collapse: collapse !important;
    table-layout: auto !important;
}

body.single-product .tt-product-data-table th,
body.single-product .tt-product-data-table td,
body.single-product .woocommerce-product-attributes th,
body.single-product .woocommerce-product-attributes td,
body.single-product .tt-product-catalog-data th,
body.single-product .tt-product-catalog-data td {
    padding: 9px 10px !important;
    border: 1px solid var(--tt-product-border) !important;
    vertical-align: top !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    overflow-wrap: anywhere !important;
}

body.single-product .tt-product-data-table th,
body.single-product .woocommerce-product-attributes th {
    width: 32%;
    min-width: 150px;
    background: #f7f8fa !important;
    color: var(--tt-product-text) !important;
    font-weight: 700 !important;
}

body.single-product .tt-product-data-list {
    margin: 0 !important;
    padding-left: 18px !important;
}
body.single-product .tt-product-data-list > li { margin: 5px 0 !important; }

body.single-product .tt-product-meta-content img,
body.single-product .tt-product-meta-content video,
body.single-product .tt-product-meta-content iframe,
body.single-product .tt-product-catalog-data img,
body.single-product .tt-product-catalog-data video,
body.single-product .tt-product-catalog-data iframe,
body.single-product .woocommerce-Tabs-panel img,
body.single-product .woocommerce-Tabs-panel video,
body.single-product .woocommerce-Tabs-panel iframe,
body.single-product .woocommerce-Tabs-panel svg,
body.single-product .woocommerce-Tabs-panel canvas {
    max-width: 100% !important;
    height: auto !important;
}

body.single-product .tt-product-meta-content iframe,
body.single-product .tt-product-catalog-data iframe {
    width: 100% !important;
    aspect-ratio: 16 / 9;
}

body.single-product .tt-product-meta-content pre,
body.single-product .tt-product-meta-content code,
body.single-product .tt-product-catalog-data pre,
body.single-product .tt-product-catalog-data code {
    max-width: 100% !important;
    white-space: pre-wrap !important;
    overflow-wrap: anywhere !important;
}

/* Documents */
body.single-product .tt-product-documents {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
}

body.single-product .tt-product-document-link {
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) 22px !important;
    align-items: center !important;
    gap: 9px !important;
    min-width: 0 !important;
    min-height: 62px !important;
    padding: 10px 11px !important;
    border: 1px solid var(--tt-product-border) !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: var(--tt-product-text) !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

body.single-product .tt-product-document-link:hover {
    border-color: var(--tt-primary) !important;
    background: var(--tt-primary-soft, #fff7f7) !important;
}

body.single-product .tt-product-document-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border: 1px solid var(--tt-primary) !important;
    border-radius: 8px !important;
    color: var(--tt-primary) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

body.single-product .tt-product-document-text {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    gap: 2px !important;
}
body.single-product .tt-product-document-text strong,
body.single-product .tt-product-document-text small {
    display: block !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
}
body.single-product .tt-product-document-text strong { font-size: 14px !important; }
body.single-product .tt-product-document-text small { color: var(--tt-product-muted) !important; font-size: 13px !important; }
body.single-product .tt-product-document-arrow { color: var(--tt-primary); text-align: center; }

/* Manufacturer */
body.single-product .tt-product-manufacturer-card {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 12px !important;
    border: 1px solid var(--tt-product-border) !important;
    border-radius: 9px !important;
    background: #fafbfc !important;
}
body.single-product .tt-product-manufacturer-card > div { min-width: 0; }
body.single-product .tt-product-manufacturer-card strong,
body.single-product .tt-product-manufacturer-card span { display: block; overflow-wrap: anywhere; }
body.single-product .tt-product-manufacturer-card span { color: var(--tt-product-muted); font-size: 13px !important; }
body.single-product .tt-product-manufacturer-card a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid var(--tt-primary);
    border-radius: 8px;
    color: var(--tt-primary) !important;
    background: #fff;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 700;
}

/* ---------- Related/upsell ---------- */
body.single-product .related.products,
body.single-product .upsells.products {
    width: 100% !important;
    margin-top: 18px !important;
    padding: 14px !important;
    border: 1px solid var(--tt-product-border) !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

body.single-product .related.products > h2,
body.single-product .upsells.products > h2 {
    margin: 0 0 12px !important;
    font-size: 17px !important;
}

body.single-product .related.products .products,
body.single-product .upsells.products .products {
    width: auto !important;
    max-width: none !important;
    margin-left: -5px !important;
    margin-right: -5px !important;
}
body.single-product .related.products .product-small,
body.single-product .upsells.products .product-small {
    padding-left: 5px !important;
    padding-right: 5px !important;
    min-width: 0 !important;
}

/* ---------- Desktop ---------- */
@media (min-width: 850px) {
    body.single-product .tt-product-media .woocommerce-product-gallery {
        position: sticky !important;
        top: 88px !important;
    }
}

/* ---------- Tablet / mobile ---------- */
@media (max-width: 849px) {
    body.single-product {
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    }

    body.single-product .tt-single-product {
        width: calc(100% - 18px) !important;
        padding-top: 9px !important;
        padding-bottom: 22px !important;
    }

    body.single-product .tt-product-main {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    body.single-product .tt-product-media { padding: 8px !important; }
    body.single-product .tt-product-summary { padding: 13px !important; }

    body.single-product .woocommerce-product-gallery .flex-control-thumbs {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 5px !important;
    }

    body.single-product .tt-product-summary form.cart:not(.variations_form) .quantity,
    body.single-product .tt-product-summary form.cart:not(.variations_form) .single_add_to_cart_button,
    body.single-product .tt-product-summary form.cart:not(.variations_form) .tt-buy-now-button,
    body.single-product .tt-product-summary .variations_form .woocommerce-variation-add-to-cart {
        display: none !important;
    }

    body.single-product .tt-product-summary form.cart:not(.variations_form) {
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.single-product .tt-product-summary form.variations_form.cart {
        display: block !important;
        margin-bottom: 8px !important;
    }

    body.single-product .tt-product-summary table.variations,
    body.single-product .tt-product-summary table.variations tbody,
    body.single-product .tt-product-summary table.variations tr,
    body.single-product .tt-product-summary table.variations th,
    body.single-product .tt-product-summary table.variations td {
        display: block !important;
        width: 100% !important;
    }

    body.single-product .tt-product-summary table.variations th.label {
        width: 100% !important;
        padding: 0 0 5px !important;
    }

    body.single-product .tt-product-benefits {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }

    body.single-product .tt-product-benefit {
        min-height: 0 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 110px) minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 9px 10px !important;
    }
    body.single-product .tt-product-benefit span {
        margin: 0 !important;
        text-align: right;
    }

    body.single-product .tt-product-documents { grid-template-columns: 1fr !important; }

    body.single-product .tt-product-data-table th,
    body.single-product .woocommerce-product-attributes th {
        min-width: 120px !important;
        width: 40% !important;
    }

    body.single-product .tt-product-manufacturer-card {
        align-items: stretch !important;
        flex-direction: column !important;
    }
    body.single-product .tt-product-manufacturer-card a {
        width: 100%;
        text-align: center;
    }

    /* Sticky-only mobile CTA. */
    body.single-product .tt-mobile-product-bar {
        display: grid !important;
        grid-template-columns: minmax(96px, .8fr) minmax(0, 1fr) minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 7px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    }

    body.single-product .tt-mobile-product-bar__price,
    body.single-product .tt-mobile-product-bar__price .woocommerce-Price-amount {
        min-width: 0 !important;
        font-size: 16px !important;
        line-height: 1.15 !important;
        white-space: nowrap !important;
    }

    body.single-product .tt-mobile-product-bar__button--cart,
    body.single-product .tt-mobile-product-bar__button--buy {
        min-width: 0 !important;
        min-height: 40px !important;
        height: 40px !important;
        margin: 0 !important;
        padding: 7px 6px !important;
        border: 1.5px solid var(--tt-primary) !important;
        border-radius: 9px !important;
        background: #fff !important;
        color: var(--tt-primary) !important;
        box-shadow: none !important;
        font-size: 13px !important;
        line-height: 1.1 !important;
        white-space: normal !important;
        transform: none !important;
    }
}

@media (max-width: 430px) {
    body.single-product .tt-mobile-product-bar {
        grid-template-columns: minmax(82px, .7fr) minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 5px !important;
        padding-inline: 7px !important;
    }
    body.single-product .tt-mobile-product-bar__price,
    body.single-product .tt-mobile-product-bar__price .woocommerce-Price-amount {
        font-size: 15px !important;
    }
    body.single-product .tt-mobile-product-bar__button--cart,
    body.single-product .tt-mobile-product-bar__button--buy {
        font-size: 13px !important;
        padding-inline: 4px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.single-product .tt-product-document-link,
    body.single-product .tt-product-accordion-ready .tt-mobile-tab-toggle {
        transition: none !important;
    }
}

@media (max-width: 849px) {
    body.single-product .tt-mobile-product-bar--call {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    body.single-product .tt-mobile-product-bar--call > a,
    body.single-product .tt-mobile-product-bar__call {
        width: 100% !important;
        min-height: 40px !important;
        margin: 0 !important;
        border: 1.5px solid var(--tt-primary) !important;
        border-radius: 9px !important;
        background: #fff !important;
        color: var(--tt-primary) !important;
        box-shadow: none !important;
        justify-content: center !important;
    }
}

/* === INVENTORY STATE PRESENTATION v3.9.8 === */
body.single-product .tt-product-kicker--stock.awaiting,
body.single-product .stock.tt-stock-awaiting { color: #a15c00 !important; border-color: #d9992d !important; background: #fff8e8 !important; }
body.single-product .tt-product-kicker--stock.incoming,
body.single-product .stock.tt-stock-incoming { color: #9a5a00 !important; border-color: #e1a631 !important; background: #fff5dc !important; }
body.single-product .tt-product-kicker--stock.discontinued,
body.single-product .stock.tt-stock-discontinued { color: #667085 !important; border-color: #cfd5df !important; background: #f2f4f7 !important; }
body.single-product .tt-expected-price {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
}
body.single-product .tt-expected-price__label {
    color: var(--tt-primary) !important;
    font-size: 14px !important;
    font-weight: 750 !important;
}
body.single-product .tt-single-preorder,
body.single-product .tt-single-call-order {
    margin: 12px 0 0;
}
body.single-product .tt-single-preorder__note,
body.single-product .tt-single-call-order__note {
    margin: 0 0 9px;
    color: #667085;
    font-size: 14px;
    line-height: 1.5;
}
body.single-product .tt-preorder-button--single {
    min-width: 160px;
}


/* === tt-single-product-cta-fix.css === */
/**
 * Trường Thịnh Child — Single Product CTA/layout hardening v3.8.4
 * Loaded last on product pages. Fixes percentage+gap overflow and native Flatsome
 * button/quantity collisions without hiding page overflow.
 */

body.single-product {
    --tt-product-accent: var(--tt-primary, var(--primary-color, #e31e24));
}

/* 48% + 52% + gap overflowed the grid. fr tracks subtract the gap correctly. */
body.single-product .tt-product-main {
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr) !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
}

body.single-product .tt-product-main > *,
body.single-product .tt-product-summary form.cart,
body.single-product .tt-product-summary .woocommerce-variation-add-to-cart,
body.single-product .tt-product-summary .quantity,
body.single-product .tt-product-summary .single_add_to_cart_button,
body.single-product .tt-product-summary .tt-buy-now-button {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Simple product + variation purchase rows: three deterministic tracks. */
@media (min-width: 850px) {
    body.single-product .tt-product-summary form.cart:not(.variations_form):not(.grouped_form),
    body.single-product .tt-product-summary .variations_form .woocommerce-variation-add-to-cart {
        display: grid !important;
        grid-template-columns: 116px minmax(0, 1fr) minmax(0, 1fr) !important;
        align-items: stretch !important;
        gap: 10px !important;
        width: 100% !important;
        margin: 0 0 14px !important;
    }

    /* Variation form itself must remain block; only its add-to-cart row is grid. */
    body.single-product .tt-product-summary form.variations_form.cart {
        display: block !important;
        width: 100% !important;
    }
}

/* Quantity: one compact component, no overlapping Flatsome widths/margins. */
body.single-product .tt-product-summary .quantity.buttons_added,
body.single-product .tt-product-summary .quantity {
    display: grid !important;
    grid-template-columns: 36px minmax(38px, 1fr) 36px !important;
    flex: none !important;
    width: 116px !important;
    min-width: 116px !important;
    max-width: 116px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid var(--tt-product-border, #e4e8ef) !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.single-product .tt-product-summary .quantity .minus,
body.single-product .tt-product-summary .quantity .plus,
body.single-product .tt-product-summary .quantity input.qty {
    position: static !important;
    float: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #1f2937 !important;
    box-shadow: none !important;
    transform: none !important;
    font-size: 14px !important;
    line-height: 40px !important;
}

body.single-product .tt-product-summary .quantity input.qty {
    text-align: center !important;
    border-left: 1px solid var(--tt-product-border, #e4e8ef) !important;
    border-right: 1px solid var(--tt-product-border, #e4e8ef) !important;
    appearance: textfield;
    -moz-appearance: textfield;
}

body.single-product .tt-product-summary .quantity input.qty::-webkit-outer-spin-button,
body.single-product .tt-product-summary .quantity input.qty::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

/* Explicitly beat Flatsome's global .button / .single_add_to_cart_button styles. */
body.single-product #wrapper .tt-product-summary form.cart .single_add_to_cart_button.button,
body.single-product #wrapper .tt-product-summary form.cart button.single_add_to_cart_button,
body.single-product #wrapper .tt-product-summary form.cart .tt-buy-now-button.button,
body.single-product #wrapper .tt-product-summary form.cart button.tt-buy-now-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 7px 12px !important;
    overflow: hidden !important;
    border: 1.5px solid var(--tt-product-accent) !important;
    border-radius: 10px !important;
    background: #fff !important;
    background-image: none !important;
    color: var(--tt-product-accent) !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-align: center !important;
    white-space: nowrap !important;
}

body.single-product #wrapper .tt-product-summary form.cart .single_add_to_cart_button.button *,
body.single-product #wrapper .tt-product-summary form.cart .tt-buy-now-button.button * {
    color: var(--tt-product-accent) !important;
}

body.single-product #wrapper .tt-product-summary form.cart .single_add_to_cart_button.button:hover,
body.single-product #wrapper .tt-product-summary form.cart .tt-buy-now-button.button:hover,
body.single-product #wrapper .tt-product-summary form.cart .single_add_to_cart_button.button:focus-visible,
body.single-product #wrapper .tt-product-summary form.cart .tt-buy-now-button.button:focus-visible {
    border-color: var(--tt-product-accent) !important;
    background: var(--tt-primary-soft, #fff4f4) !important;
    color: var(--tt-product-accent) !important;
    box-shadow: 0 0 0 3px var(--tt-primary-ring, rgba(227,30,36,.12)) !important;
    transform: none !important;
}

/* Disabled state stays readable instead of looking like a second white panel. */
body.single-product .tt-product-summary form.cart .single_add_to_cart_button.disabled,
body.single-product .tt-product-summary form.cart .single_add_to_cart_button:disabled {
    opacity: .5 !important;
    cursor: not-allowed !important;
}

/* Mobile: only sticky bottom CTA remains visible, as requested. */
@media (max-width: 849px) {
    body.single-product .tt-product-main {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    body.single-product .tt-product-summary form.cart:not(.variations_form):not(.grouped_form) > .quantity,
    body.single-product .tt-product-summary form.cart:not(.variations_form):not(.grouped_form) > .single_add_to_cart_button,
    body.single-product .tt-product-summary form.cart:not(.variations_form):not(.grouped_form) > .tt-buy-now-button,
    body.single-product .tt-product-summary .variations_form .woocommerce-variation-add-to-cart {
        display: none !important;
    }

    body.single-product .tt-mobile-product-bar__button--cart,
    body.single-product .tt-mobile-product-bar__button--buy {
        border: 1.5px solid var(--tt-product-accent) !important;
        background: #fff !important;
        background-image: none !important;
        color: var(--tt-product-accent) !important;
        box-shadow: none !important;
        text-transform: none !important;
        transform: none !important;
    }

    body.single-product .tt-mobile-product-bar__button--cart:hover,
    body.single-product .tt-mobile-product-bar__button--buy:hover {
        background: var(--tt-primary-soft, #fff4f4) !important;
        color: var(--tt-product-accent) !important;
    }
}

/* v3.9.6 — Mobile single product: sticky-only price/CTA and compact cart icon. */
@media (max-width: 849px) {
    /* The real WooCommerce price/form stay in the DOM for variation + JS sync,
       but duplicate visual price and purchase controls are hidden in summary. */
    body.single-product #wrapper .tt-product-summary > .price,
    body.single-product #wrapper .tt-product-summary p.price,
    body.single-product #wrapper .tt-product-summary .product-page-price,
    body.single-product #wrapper .tt-product-summary .woocommerce-variation-price,
    body.single-product #wrapper .tt-product-summary form.cart .quantity,
    body.single-product #wrapper .tt-product-summary form.cart .single_add_to_cart_button,
    body.single-product #wrapper .tt-product-summary form.cart .tt-buy-now-button,
    body.single-product #wrapper .tt-product-summary form.cart .woocommerce-variation-add-to-cart,
    body.single-product #wrapper .tt-product-summary form.cart .single_variation_wrap .woocommerce-variation-price {
        display: none !important;
    }

    /* Keep variation selectors usable, but remove empty purchase-row spacing. */
    body.single-product #wrapper .tt-product-summary form.cart:not(.variations_form),
    body.single-product #wrapper .tt-product-summary .woocommerce-variation-add-to-cart {
        min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    /* Sticky bar: price gets all spare width; cart becomes icon-only. */
    body.single-product #wrapper .tt-mobile-product-bar:not(.tt-mobile-product-bar--call) {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 44px minmax(92px, 112px) !important;
        align-items: center !important;
        column-gap: 7px !important;
        width: 100% !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        padding: 7px 8px calc(7px + env(safe-area-inset-bottom, 0px)) !important;
        overflow: hidden !important;
    }

    body.single-product #wrapper .tt-mobile-product-bar__price {
        display: flex !important;
        align-items: center !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: hidden !important;
        color: var(--tt-primary, #e31e24) !important;
        font-size: clamp(13px, 4.1vw, 18px) !important;
        font-weight: 850 !important;
        line-height: 1.05 !important;
        letter-spacing: -.02em !important;
        white-space: nowrap !important;
        text-overflow: clip !important;
    }

    body.single-product #wrapper .tt-mobile-product-bar__price .woocommerce-Price-amount,
    body.single-product #wrapper .tt-mobile-product-bar__price ins,
    body.single-product #wrapper .tt-mobile-product-bar__price ins .woocommerce-Price-amount,
    body.single-product #wrapper .tt-mobile-product-bar__price bdi {
        color: var(--tt-primary, #e31e24) !important;
        font-size: inherit !important;
        font-weight: inherit !important;
        line-height: inherit !important;
        white-space: nowrap !important;
    }

    body.single-product #wrapper .tt-mobile-product-bar__price del {
        display: none !important;
    }

    body.single-product #wrapper .tt-mobile-product-bar__button--cart {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        height: 40px !important;
        min-height: 40px !important;
        padding: 0 !important;
        overflow: hidden !important;
        border: 1.5px solid var(--tt-primary, #e31e24) !important;
        border-radius: 9px !important;
        background: #fff !important;
        color: var(--tt-primary, #e31e24) !important;
        box-shadow: none !important;
        font-size: 0 !important;
        line-height: 1 !important;
    }

    body.single-product #wrapper .tt-mobile-product-bar__button--cart svg {
        display: block !important;
        width: 21px !important;
        height: 21px !important;
        margin: 0 !important;
        fill: none !important;
        stroke: currentColor !important;
        stroke-width: 1.8 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
        pointer-events: none !important;
    }

    body.single-product #wrapper .tt-mobile-product-bar__button--buy {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 112px !important;
        height: 40px !important;
        min-height: 40px !important;
        margin: 0 !important;
        padding: 6px 8px !important;
        border: 1.5px solid var(--tt-primary, #e31e24) !important;
        border-radius: 9px !important;
        background: #fff !important;
        color: var(--tt-primary, #e31e24) !important;
        box-shadow: none !important;
        font-size: 13px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 380px) {
    body.single-product #wrapper .tt-mobile-product-bar:not(.tt-mobile-product-bar--call) {
        grid-template-columns: minmax(0, 1fr) 40px minmax(86px, 98px) !important;
        column-gap: 5px !important;
        padding-inline: 6px !important;
    }
    body.single-product #wrapper .tt-mobile-product-bar__button--cart {
        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
    }
    body.single-product #wrapper .tt-mobile-product-bar__button--buy {
        max-width: 98px !important;
        font-size: 12px !important;
        padding-inline: 5px !important;
    }
    body.single-product #wrapper .tt-mobile-product-bar__price {
        font-size: clamp(12.5px, 4vw, 16px) !important;
    }
}

@media (max-width: 849px) {
    /* Defensive selectors for Flatsome wrappers: no duplicated price/CTA inside content. */
    body.single-product #wrapper .tt-product-summary .price,
    body.single-product #wrapper .tt-product-summary .single_add_to_cart_button,
    body.single-product #wrapper .tt-product-summary .tt-buy-now-button,
    body.single-product #wrapper .tt-product-summary form.cart > .quantity {
        display: none !important;
    }
}


/* === tt-single-product-mobile-final.css === */
/*
 * Trường Thịnh Child v3.9.7 — definitive mobile single-product purchase UI.
 * Loads after tt-mobile-ui.css so no legacy Flatsome/Woo rules can re-show duplicated CTAs.
 */
@media (max-width: 849px) {
    /* Keep selectors/variation controls, but absolutely no duplicate price or purchase CTA in content. */
    body.single-product #wrapper .tt-single-product .summary.entry-summary > .price,
    body.single-product #wrapper .tt-single-product .summary.entry-summary > p.price,
    body.single-product #wrapper .tt-single-product .summary.entry-summary .product-page-price,
    body.single-product #wrapper .tt-single-product .summary.entry-summary .woocommerce-variation-price,
    body.single-product #wrapper .tt-single-product .summary.entry-summary form.cart .quantity,
    body.single-product #wrapper .tt-single-product .summary.entry-summary form.cart button.single_add_to_cart_button,
    body.single-product #wrapper .tt-single-product .summary.entry-summary form.cart .single_add_to_cart_button,
    body.single-product #wrapper .tt-single-product .summary.entry-summary form.cart button.tt-buy-now-button,
    body.single-product #wrapper .tt-single-product .summary.entry-summary form.cart .tt-buy-now-button,
    body.single-product #wrapper .tt-single-product .summary.entry-summary .woocommerce-variation-add-to-cart,
    body.single-product #wrapper .tt-single-product .summary.entry-summary .single_variation_wrap .woocommerce-variation-price,
    body.single-product #wrapper .tt-single-product .summary.entry-summary .tt-mobile-content-purchase-hide {
        display: none !important;
        visibility: hidden !important;
    }

    /* Remove empty space left by simple-product purchase row. */
    body.single-product #wrapper .tt-single-product .summary.entry-summary form.cart:not(.variations_form):not(.grouped_form) {
        display: block !important;
        min-height: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
    }

    /* Variation form itself remains usable; only its purchase row is visually hidden. */
    body.single-product #wrapper .tt-single-product .summary.entry-summary form.variations_form.cart {
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    /* Sticky bottom is the only visual purchasing UI: flexible price | compact cart | buy now. */
    body.single-product #wrapper .tt-mobile-product-bar:not(.tt-mobile-product-bar--call) {
        display: flex !important;
        flex-flow: row nowrap !important;
        align-items: center !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        padding: 6px 7px calc(6px + env(safe-area-inset-bottom, 0px)) !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    body.single-product #wrapper .tt-mobile-product-bar__price {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 2px !important;
        overflow: hidden !important;
        color: var(--tt-primary, var(--primary-color, #e33131)) !important;
        font-size: clamp(13px, 4vw, 17px) !important;
        font-weight: 850 !important;
        line-height: 1.05 !important;
        letter-spacing: -.025em !important;
        white-space: nowrap !important;
        text-overflow: clip !important;
    }

    body.single-product #wrapper .tt-mobile-product-bar__price *,
    body.single-product #wrapper .tt-mobile-product-bar__price .amount,
    body.single-product #wrapper .tt-mobile-product-bar__price .woocommerce-Price-amount,
    body.single-product #wrapper .tt-mobile-product-bar__price bdi,
    body.single-product #wrapper .tt-mobile-product-bar__price ins {
        color: inherit !important;
        font-size: inherit !important;
        font-weight: inherit !important;
        line-height: inherit !important;
        white-space: nowrap !important;
    }
    body.single-product #wrapper .tt-mobile-product-bar__price del { display: none !important; }

    body.single-product #wrapper .tt-mobile-product-bar__button--cart {
        flex: 0 0 42px !important;
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        height: 40px !important;
        min-height: 40px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1.5px solid var(--tt-primary, var(--primary-color, #e33131)) !important;
        border-radius: 9px !important;
        background: #fff !important;
        background-image: none !important;
        color: var(--tt-primary, var(--primary-color, #e33131)) !important;
        box-shadow: none !important;
        font-size: 0 !important;
        line-height: 1 !important;
        transform: none !important;
    }

    body.single-product #wrapper .tt-mobile-product-bar__button--cart svg {
        display: block !important;
        width: 20px !important;
        height: 20px !important;
        margin: 0 !important;
        stroke: currentColor !important;
    }

    body.single-product #wrapper .tt-mobile-product-bar__button--buy {
        flex: 0 1 clamp(94px, 28vw, 126px) !important;
        width: clamp(94px, 28vw, 126px) !important;
        min-width: 88px !important;
        max-width: 126px !important;
        height: 40px !important;
        min-height: 40px !important;
        margin: 0 !important;
        padding: 6px 8px !important;
        border: 1.5px solid var(--tt-primary, var(--primary-color, #e33131)) !important;
        border-radius: 9px !important;
        background: #fff !important;
        background-image: none !important;
        color: var(--tt-primary, var(--primary-color, #e33131)) !important;
        box-shadow: none !important;
        font-size: clamp(12px, 3.4vw, 14px) !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        transform: none !important;
    }
}

@media (max-width: 380px) {
    body.single-product #wrapper .tt-mobile-product-bar:not(.tt-mobile-product-bar--call) {
        gap: 5px !important;
        padding-inline: 5px !important;
    }
    body.single-product #wrapper .tt-mobile-product-bar__button--cart {
        flex-basis: 38px !important;
        width: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
    }
    body.single-product #wrapper .tt-mobile-product-bar__button--buy {
        flex-basis: clamp(86px, 27vw, 102px) !important;
        width: clamp(86px, 27vw, 102px) !important;
        min-width: 84px !important;
        max-width: 102px !important;
        height: 38px !important;
        min-height: 38px !important;
        padding-inline: 5px !important;
    }
    body.single-product #wrapper .tt-mobile-product-bar__price {
        font-size: clamp(12.5px, 3.9vw, 16px) !important;
    }
}

/* === INVENTORY STATES / PREORDER MOBILE v3.9.8 === */
@media (max-width: 849px) {
    /* Desktop copies of call/preorder CTA are hidden; sticky bar is the only mobile CTA. */
    body.single-product .tt-product-summary .tt-single-call-order,
    body.single-product .tt-product-summary .tt-single-preorder {
        display: none !important;
    }

    body.single-product #wrapper .tt-mobile-product-bar:not(.tt-mobile-product-bar--call).tt-mobile-product-bar--preorder {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) clamp(104px, 29vw, 138px) !important;
        align-items: center !important;
        gap: 8px !important;
    }
    body.single-product #wrapper .tt-mobile-product-bar:not(.tt-mobile-product-bar--call).tt-mobile-product-bar--preorder .tt-mobile-product-bar__price {
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        text-overflow: clip !important;
        color: var(--tt-primary) !important;
        font-size: clamp(13px, 3.8vw, 17px) !important;
        font-weight: 800 !important;
    }
    body.single-product #wrapper .tt-mobile-product-bar:not(.tt-mobile-product-bar--call).tt-mobile-product-bar--preorder .tt-expected-price {
        display: flex !important;
        align-items: baseline !important;
        gap: 4px !important;
        min-width: 0 !important;
        white-space: nowrap !important;
    }
    body.single-product #wrapper .tt-mobile-product-bar:not(.tt-mobile-product-bar--call).tt-mobile-product-bar--preorder .tt-expected-price__label {
        flex: 0 0 auto;
        color: var(--tt-primary) !important;
        font-size: .78em !important;
        font-weight: 700 !important;
    }
    body.single-product #wrapper .tt-mobile-product-bar:not(.tt-mobile-product-bar--call).tt-mobile-product-bar--preorder .tt-mobile-product-bar__button--preorder {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 40px !important;
        margin: 0 !important;
        padding: 8px 10px !important;
        border: 1.5px solid var(--tt-primary) !important;
        border-radius: 9px !important;
        background: #fff !important;
        color: var(--tt-primary) !important;
        box-shadow: none !important;
        font-size: 14px !important;
        font-weight: 800 !important;
    }
}


/* === tt-single-product-gallery-fix.css === */
/*
 * Trường Thịnh Child v3.10.2
 * Single-product gallery scroll fix.
 * The gallery must scroll naturally with the page. Do not sticky the whole
 * gallery because FlexSlider thumbnails are children of the same wrapper and
 * would otherwise travel with the main image / overlap lower content.
 */
body.single-product .tt-product-media {
    align-self: start !important;
    min-width: 0 !important;
    overflow: visible !important;
}

body.single-product .tt-product-media .woocommerce-product-gallery,
body.single-product .tt-product-media .woocommerce-product-gallery.flexslider,
body.single-product .tt-product-media .woocommerce-product-gallery--with-images {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    inset: auto !important;
    transform: none !important;
    align-self: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
}

body.single-product .tt-product-media .woocommerce-product-gallery .flex-viewport,
body.single-product .tt-product-media .woocommerce-product-gallery__wrapper,
body.single-product .tt-product-media .woocommerce-product-gallery__image {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    transform: none;
    max-width: 100% !important;
}

/* FlexSlider writes transforms to its moving wrapper; don't break those inline
 * transforms. Only prevent sticky/position transforms on the outer gallery.
 */
body.single-product .tt-product-media .woocommerce-product-gallery .flex-viewport {
    overflow: hidden !important;
}

body.single-product .tt-product-media .woocommerce-product-gallery .flex-control-thumbs {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    clear: both !important;
}

@media (max-width: 849px) {
    body.single-product .tt-product-media,
    body.single-product .tt-product-media .woocommerce-product-gallery {
        position: static !important;
        top: auto !important;
        transform: none !important;
    }
}


/* === tt-single-product-price-highlight.css === */
/*
 * Trường Thịnh Child v3.10.5
 * Desktop single-product price emphasis.
 * Keeps the compact 13–18px typography scale while making the current price obvious.
 */
@media (min-width: 850px) {
    body.single-product #wrapper .tt-product-summary > .price,
    body.single-product #wrapper .tt-product-summary > p.price,
    body.single-product #wrapper .tt-product-summary .product-page-price,
    body.single-product #wrapper .tt-product-summary .woocommerce-variation-price .price,
    body.single-product #wrapper .tt-product-summary .single_variation .price {
        display: inline-flex !important;
        align-items: baseline !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        width: auto !important;
        max-width: 100% !important;
        margin: 8px 0 16px !important;
        padding: 9px 12px !important;
        border: 1px solid color-mix(in srgb, var(--tt-primary, #e52d32) 24%, transparent) !important;
        border-radius: 10px !important;
        background: color-mix(in srgb, var(--tt-primary, #e52d32) 7%, #fff) !important;
        box-shadow: 0 5px 16px color-mix(in srgb, var(--tt-primary, #e52d32) 10%, transparent) !important;
        color: var(--tt-primary, #e52d32) !important;
        font-size: 18px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        letter-spacing: -.015em !important;
    }

    body.single-product #wrapper .tt-product-summary .price > .woocommerce-Price-amount,
    body.single-product #wrapper .tt-product-summary .price > .woocommerce-Price-amount bdi,
    body.single-product #wrapper .tt-product-summary .price ins,
    body.single-product #wrapper .tt-product-summary .price ins .woocommerce-Price-amount,
    body.single-product #wrapper .tt-product-summary .price ins .woocommerce-Price-amount bdi,
    body.single-product #wrapper .tt-product-summary .woocommerce-variation-price .woocommerce-Price-amount,
    body.single-product #wrapper .tt-product-summary .single_variation .woocommerce-Price-amount {
        color: var(--tt-primary, #e52d32) !important;
        font-size: 18px !important;
        font-weight: 800 !important;
        text-decoration: none !important;
    }

    body.single-product #wrapper .tt-product-summary .price del,
    body.single-product #wrapper .tt-product-summary .price del .woocommerce-Price-amount,
    body.single-product #wrapper .tt-product-summary .price del .woocommerce-Price-amount bdi {
        color: #98a2b3 !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        opacity: 1 !important;
    }

    body.single-product #wrapper .tt-product-summary .price ins {
        background: transparent !important;
    }
}

@supports not (color: color-mix(in srgb, red 10%, white)) {
    @media (min-width: 850px) {
        body.single-product #wrapper .tt-product-summary > .price,
        body.single-product #wrapper .tt-product-summary > p.price,
        body.single-product #wrapper .tt-product-summary .product-page-price,
        body.single-product #wrapper .tt-product-summary .woocommerce-variation-price .price,
        body.single-product #wrapper .tt-product-summary .single_variation .price {
            border-color: rgba(229,45,50,.24) !important;
            background: #fff7f7 !important;
            box-shadow: 0 5px 16px rgba(229,45,50,.10) !important;
        }
    }
}

