/* Product layout loaded after WooCommerce and payment-provider product styles. */
body.single-product .content-page {
    padding: clamp(36px, 6vw, 76px) 0;
    position: relative;
    z-index: 0;
    display: flow-root;
    clear: both;
    overflow: visible;
}

body.single-product .content-page > .woocommerce {
    display: flow-root;
    width: min(1200px, calc(100% - 44px));
    min-height: 1px;
    margin-inline: auto;
    padding-bottom: clamp(24px, 4vw, 52px);
}

body.single-product .woocommerce div.product {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(34px, 6vw, 78px);
    align-items: start;
    margin: 0;
    padding: clamp(24px, 4vw, 52px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
    isolation: isolate;
    contain: layout;
}

body.single-product .woocommerce div.product::before,
body.single-product .woocommerce div.product::after {
    display: none;
}

body.single-product .woocommerce div.product > .woocommerce-product-gallery,
body.single-product .woocommerce div.product > .summary {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
}

body.single-product .woocommerce-product-gallery {
    padding: clamp(18px, 3vw, 32px);
    border-radius: 16px;
    background: var(--sand);
}

body.single-product .woocommerce-product-gallery__image a {
    display: block;
}

body.single-product .woocommerce div.product div.images img {
    width: 100%;
    max-height: 620px;
    object-fit: contain;
    border-radius: 12px;
    background: transparent;
}

body.single-product .summary.entry-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 8px;
}

body.single-product .summary .product_title {
    max-width: 760px;
    margin-bottom: 18px;
    font-size: clamp(34px, 4vw, 56px);
}

body.single-product .summary p.price {
    margin: 0 0 20px;
    color: var(--green) !important;
    font-size: clamp(28px, 3vw, 36px) !important;
    line-height: 1.2;
}

body.single-product .woocommerce-product-details__short-description {
    max-width: 640px;
    color: var(--muted);
    font-size: 18px;
}

body.single-product .ticket-assurance {
    margin: 22px 0;
    padding: 20px 22px;
    border-left: 4px solid var(--gold);
    border-radius: 12px;
    background: var(--cream);
}

body.single-product .ticket-assurance li + li {
    margin-top: 5px;
}

body.single-product form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 4px 0 0 !important;
}

body.single-product form.cart::before,
body.single-product form.cart::after {
    display: none;
}

body.single-product form.cart .quantity {
    float: none;
    margin: 0 !important;
}

body.single-product form.cart .qty {
    width: 78px;
    min-height: 52px;
    margin: 0;
    border: 1px solid #7b807a;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    text-align: center;
}

body.single-product form.cart .single_add_to_cart_button {
    float: none;
    min-height: 52px;
    margin: 0;
    padding-inline: clamp(24px, 4vw, 38px) !important;
    background: var(--orange) !important;
    color: #fff !important;
}

body.single-product form.cart .single_add_to_cart_button:hover,
body.single-product form.cart .single_add_to_cart_button:focus-visible {
    background: var(--orange-dark) !important;
    color: #fff !important;
}

body.single-product .wcpay-express-checkout-wrapper,
body.single-product .ppc-button-wrapper {
    position: relative;
    float: none;
    clear: both;
    width: 100%;
    max-width: 520px;
    min-height: 1px;
    overflow: visible;
}

body.single-product .site-footer {
    position: relative;
    z-index: 1;
    clear: both;
    margin-top: 0;
}

@media (max-width: 768px) {
    body.single-product .content-page {
        padding: 24px 0 52px;
    }

    body.single-product .content-page > .woocommerce {
        width: min(100% - 28px, 1200px);
        padding-bottom: 28px;
    }

    body.single-product .woocommerce div.product {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding: 18px;
    }

    body.single-product .woocommerce-product-gallery {
        padding: 16px;
    }

    body.single-product .woocommerce div.product div.images img {
        max-height: 460px;
    }

    body.single-product .summary.entry-summary {
        padding: 0 2px 8px;
    }
}

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

    body.single-product form.cart .quantity {
        width: 100%;
    }

    body.single-product form.cart .qty,
    body.single-product form.cart .single_add_to_cart_button {
        width: 100%;
    }
}
