/* Two-column layout */
body.single-product div.product {
    display: flex !important;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px 0;
    align-items: flex-start;
}

body.single-product div.product > .woocommerce-product-gallery {
    flex: 1 1 40% !important;
    width: auto !important;
    float: none !important;
    max-width: 50%;
}

body.single-product div.product > .summary {
    flex: 1 1 45% !important;
    float: none !important;
}

body.single-product div.product .woocommerce-product-gallery {
    flex: 1 1 40% !important;
    width: auto !important;
    float: none !important;
}

body.single-product div.product .summary {
    flex: 1 1 45% !important;
    float: none !important;
}

/* Price */
body.single-product div.product .summary .price {
    font-size: 24px;
    color: #fff !important;
    display: block;
    margin: 0 0 20px;
}

/* Add to basket button */
body.single-product .single_add_to_cart_button {
    display: block !important;
    width: 100% !important;
    background-color: #d64532 !important;
    color: #fff !important;
    text-align: center;
    padding: 10px !important;
    font-size: 18px !important;
    font-family: "Special Elite", cursive !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer;
    transition: background-color 300ms ease-in-out;
    margin-top: 20px;
}

body.single-product .single_add_to_cart_button:hover {
    background-color: #b23424 !important;
}

/* Hide quantity field since it's set to max 1 */
body.single-product .quantity {
    display: none !important;
}

/* Hide the tab navigation, just show content */
body.single-product .woocommerce-tabs ul.tabs {
    display: none !important;
}

body.single-product .woocommerce-tabs .woocommerce-Tabs-panel {
    display: block !important;
    border: none !important;
    padding: 40px 0 0 !important;
    background: transparent !important;
}

body.single-product .woocommerce-tabs .woocommerce-Tabs-panel h2 {
    display: none !important;
}

/* Related products */
body.single-product .related h2 {
    font-size: 36px;
    margin: 40px 0 30px;
}

body.single-product ul.products {
    display: flex !important;
    flex-wrap: wrap;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

body.single-product ul.products li.product {
    flex: 1 1 200px;
    float: none !important;
}

body.single-product ul.products .button {
    background-color: #d64532 !important;
    color: #fff !important;
    padding: 8px 16px !important;
    font-family: "Special Elite", cursive !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer;
    transition: background-color 300ms ease-in-out;
}

body.single-product ul.products .button:hover {
    background-color: #b23424 !important;
}

body.single-product .related ul.products li.product {
    flex: 0 1 250px !important;
    max-width: 300px !important;
}
body.woocommerce-page .woocommerce-product-category {
    display: none !important;
}

/* Mobile */
@media (max-width: 767px) {
    body.single-product div.product {
        flex-direction: column !important;
    }
}