body.single-product {
    --sas-navy: #0f2741;
    --sas-blue: #126e9e;
    --sas-text: #405166;
    --sas-muted: #6b7788;
    --sas-border: #d6e4ea;
    --sas-surface: #f6f9fb;
}

body.single-product div.product {
    color: var(--sas-text);
}

body.single-product div.product .woocommerce-product-gallery {
    align-self: flex-start;
}

body.single-product div.product .woocommerce-product-gallery__wrapper,
body.single-product div.product .woocommerce-product-gallery__image img {
    border-radius: 14px;
}

body.single-product div.product .summary {
    color: var(--sas-text);
}

body.single-product div.product .summary .woocommerce-breadcrumb {
    color: var(--sas-muted);
    font-size: 13px;
    margin-bottom: 14px;
}

body.single-product div.product .summary .product_title {
    color: var(--sas-navy);
    font-family: inherit;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 650;
    letter-spacing: -0.025em;
    line-height: 1.12;
    margin: 4px 0 12px;
}

body.single-product div.product .summary .price {
    color: var(--sas-blue);
    font-family: inherit;
    font-size: 25px;
    font-weight: 700;
    margin: 0 0 16px;
}

body.single-product div.product .summary .woocommerce-product-details__short-description {
    color: var(--sas-text);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 18px;
}

body.single-product .stock {
    color: #2f7d63 !important;
    font-weight: 600;
}

body.single-product .angie-mug-customizer-wrap {
    background: var(--sas-surface);
    border: 1px solid var(--sas-border) !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 30px rgba(15, 39, 65, 0.06);
    margin: 24px 0 20px;
    padding: 24px !important;
}

body.single-product .angie-mug-customizer-wrap .customizer-heading {
    color: var(--sas-navy);
    font-family: inherit;
    font-size: 22px;
    font-weight: 650;
    margin: 0 0 22px;
    padding-bottom: 13px;
    position: relative;
}

body.single-product .angie-mug-customizer-wrap .customizer-heading::after {
    background: var(--sas-blue);
    border-radius: 2px;
    bottom: 0;
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    width: 64px;
}

body.single-product .angie-mug-customizer-wrap label {
    color: var(--sas-navy);
    font-family: inherit;
    font-weight: 600;
}

body.single-product .angie-mug-customizer-wrap textarea,
body.single-product .angie-mug-customizer-wrap input[type="text"] {
    border: 1px solid var(--sas-border) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    color: var(--sas-text);
    font-family: inherit;
    padding: 13px 14px !important;
}

body.single-product .angie-mug-customizer-wrap textarea:focus,
body.single-product .angie-mug-customizer-wrap input[type="text"]:focus {
    border-color: var(--sas-blue) !important;
    box-shadow: 0 0 0 3px rgba(18, 110, 158, 0.12) !important;
    outline: none;
}

body.single-product form.cart .quantity .qty {
    border: 1px solid var(--sas-border);
    border-radius: 8px;
    min-height: 48px;
}

body.single-product form.cart .single_add_to_cart_button {
    background: var(--sas-blue) !important;
    border-radius: 8px !important;
    box-shadow: none;
    color: #fff !important;
    font-family: inherit;
    font-size: 16px;
    font-weight: 650;
    min-height: 48px;
    padding: 13px 26px !important;
}

body.single-product form.cart .single_add_to_cart_button:hover,
body.single-product form.cart .single_add_to_cart_button:focus {
    background: var(--sas-navy) !important;
}

body.single-product .product_meta {
    background: var(--sas-surface);
    border: 1px solid var(--sas-border);
    border-radius: 10px;
    color: var(--sas-muted);
    font-size: 13px;
    line-height: 1.65;
    margin-top: 24px;
    padding: 15px 18px;
}

body.single-product .product_meta a {
    color: var(--sas-blue);
}

body.single-product .woocommerce-tabs {
    margin-top: 64px;
}

body.single-product .woocommerce-tabs ul.tabs {
    border-bottom: 1px solid var(--sas-border) !important;
    display: flex;
    gap: 8px;
    margin: 0 0 32px !important;
    padding: 0 !important;
}

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

body.single-product .woocommerce-tabs ul.tabs li a {
    border-bottom: 3px solid transparent;
    color: var(--sas-muted) !important;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 16px !important;
}

body.single-product .woocommerce-tabs ul.tabs li.active a {
    border-bottom-color: var(--sas-blue);
    color: var(--sas-navy) !important;
}

body.single-product .woocommerce-Tabs-panel {
    color: var(--sas-text);
    font-size: 16px;
    line-height: 1.75;
    margin: 0 auto !important;
    max-width: 980px;
}

body.single-product .woocommerce-Tabs-panel h2 {
    color: var(--sas-navy);
    font-family: inherit;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.25;
    margin: 34px 0 16px;
}

body.single-product .woocommerce-Tabs-panel img {
    border-radius: 14px;
}

body.single-product .related.products {
    border-top: 1px solid var(--sas-border);
    margin-top: 64px;
    padding-top: 48px;
}

body.single-product .related.products > h2 {
    color: var(--sas-navy);
    font-family: inherit;
    font-size: 30px;
    font-weight: 650;
    margin-bottom: 28px;
    text-align: center;
}

body.single-product .related.products ul.products {
    align-items: stretch;
    gap: 20px !important;
}

body.single-product .related.products li.product {
    background: #fff;
    border: 1px solid var(--sas-border);
    border-radius: 14px;
    display: flex !important;
    flex-direction: column !important;
    height: 100%;
    overflow: hidden;
}

body.single-product .related.products .astra-shop-thumbnail-wrap {
    flex: none !important;
    width: 100% !important;
}

body.single-product .related.products .astra-shop-summary-wrap {
    box-sizing: border-box;
    display: flex;
    flex: 1 1 auto !important;
    flex-direction: column;
    padding: 20px;
    width: 100% !important;
}

body.single-product .related.products .woocommerce-loop-product__title {
    color: var(--sas-navy) !important;
    font-family: inherit;
    font-size: 18px !important;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 14px;
}

body.single-product .related.products .price {
    color: var(--sas-blue) !important;
    font-size: 17px !important;
    font-weight: 650;
    margin-top: auto;
}

body.single-product .related.products .button {
    background: var(--sas-blue) !important;
    border-radius: 8px !important;
    color: #fff !important;
    margin: 14px 0 0 !important;
    padding: 13px 18px !important;
    text-align: center;
    width: 100%;
}

@media (min-width: 922px) {
    body.single-product div.product .woocommerce-product-gallery {
        position: sticky;
        top: 24px;
    }
}

@media (max-width: 767px) {
    body.single-product div.product .summary .product_title {
        font-size: 30px;
    }

    body.single-product .angie-mug-customizer-wrap {
        padding: 18px !important;
    }

    body.single-product .woocommerce-tabs {
        margin-top: 42px;
    }

    body.single-product .woocommerce-tabs ul.tabs {
        overflow-x: auto;
    }

    body.single-product .woocommerce-Tabs-panel {
        font-size: 15px;
        line-height: 1.7;
    }

    body.single-product .related.products ul.products {
        grid-template-columns: 1fr !important;
    }
}
