.jdr-wot-product-template-sp-woo-product-format main#main .jdr-wot-woo-product {
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding: 32px 24px;
}

.jdr-wot-product-template-sp-woo-product-format main#main .jdr-wot-woo-product > .product {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 32px 24px;
}

.jdr-wot-product-template-sp-woo-product-format main#main .jdr-wot-woo-product > .product::before,
.jdr-wot-product-template-sp-woo-product-format main#main .jdr-wot-woo-product > .product::after {
    display: none;
}

.jdr-wot-product-template-sp-woo-product-format main#main .jdr-wot-woo-product > .product > * {
    grid-column: 1 / -1;
    min-width: 0;
}

.jdr-wot-product-template-sp-woo-product-format main#main .jdr-wot-woo-product > .product > .woocommerce-product-gallery {
    grid-column: 1;
    grid-row: 1;
    float: none;
    width: 100%;
    margin: 0;
    align-self: start;
}

.jdr-wot-product-template-sp-woo-product-format main#main .jdr-wot-woo-product > .product > .summary {
    grid-column: 2;
    grid-row: 1;
    float: none;
    width: 100%;
    margin: 0;
}

.jdr-wot-product-template-sp-woo-product-format main#main .summary .product_title {
    margin-top: 0;
}

.jdr-wot-product-template-sp-woo-product-format main#main .summary .jdr-wot-trip-dates {
    display: block;
    margin: 8px 0 12px;
}

.jdr-wot-product-template-sp-woo-product-format main#main .summary .jdr-wot-trip-dates > div {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 8px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.jdr-wot-product-template-sp-woo-product-format main#main .summary .jdr-wot-trip-dates dt {
    font-weight: 600;
}

.jdr-wot-product-template-sp-woo-product-format main#main .summary .jdr-wot-trip-dates dd {
    margin: 0;
    padding-left: 0;
}

.jdr-wot-product-template-sp-woo-product-format main#main .summary .jdr-wot-trip-terms {
    margin: 0;
    padding: 0;
}

.jdr-wot-product-template-sp-woo-product-format main#main .summary .jdr-wot-trip-terms a {
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.jdr-wot-product-template-sp-woo-product-format main#main .summary .jdr-wot-ach-discount-notice {
    margin: 0;

    padding-top: 12px;
    padding-right: 16px;
    padding-bottom: 12px;
    padding-left: 16px;

    border-left: 3px solid #ED4E26;
    background: #ffdad1;
    color: #1d2327;
    overflow-wrap: anywhere;
}

.jdr-wot-product-template-sp-woo-product-format main#main .summary .variations select {
    max-width: 100%;
}

.jdr-wot-product-template-sp-woo-product-format main#main .summary .variations {
    margin-bottom: 8px;
}

.jdr-wot-product-template-sp-woo-product-format main#main .summary .woocommerce-variation-description {
    margin-block: 0;
    padding-bottom: 0;
}

.jdr-wot-product-template-sp-woo-product-format main#main .summary .woocommerce-variation-description p {
    margin-bottom: 0;
    padding-bottom: 0;
}

.jdr-wot-product-template-sp-woo-product-format main#main .summary .woocommerce-variation-price {
    margin-block: 8px;
}

.jdr-wot-product-template-sp-woo-product-format main#main .summary .woocommerce-variation-price .price {
    font-size: 20px;
}

.jdr-wot-product-template-sp-woo-product-format main#main .summary .woocommerce-variation-price .price > .amount,
.jdr-wot-product-template-sp-woo-product-format main#main .summary .woocommerce-variation-price ins,
.jdr-wot-product-template-sp-woo-product-format main#main .summary .woocommerce-variation-price ins .amount {
    font-weight: 700;
}

.jdr-wot-product-template-sp-woo-product-format main#main .summary .woocommerce-variation-price del,
.jdr-wot-product-template-sp-woo-product-format main#main .summary .woocommerce-variation-price ins {
    font-size: inherit;
    vertical-align: middle;
}

.jdr-wot-product-template-sp-woo-product-format main#main .summary .woocommerce-variation-price del {
    color: #555;
    opacity: 1;
}

.jdr-wot-product-template-sp-woo-product-format main#main .summary .woocommerce-variation-add-to-cart {
    margin-top: 8px;
}

@media (min-width: 768px) {
    .jdr-wot-product-template-sp-woo-product-format main#main .summary form.variations_form {
        --jdr-wot-variation-control-height: 50px;
        display: grid;
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
        align-items: start;
        gap: 8px 24px;
        margin-bottom: .5rem;
    }

    .jdr-wot-product-template-sp-woo-product-format main#main .summary form.variations_form > * {
        grid-column: 1 / -1;
        min-width: 0;
    }

    .jdr-wot-product-template-sp-woo-product-format main#main .summary form.variations_form .variations {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        margin: 0;
    }

    .jdr-wot-product-template-sp-woo-product-format main#main .summary form.variations_form .variations select {
        box-sizing: border-box;
        height: var(--jdr-wot-variation-control-height);
    }

    /* Keep WooCommerce's inline display:none effective when a selection is cleared. */
    .jdr-wot-product-template-sp-woo-product-format main#main .summary .single_variation_wrap:not([style*="display: none"]),
    .jdr-wot-product-template-sp-woo-product-format main#main .summary .single_variation:not([style*="display: none"]) {
        display: contents !important;
    }

    .jdr-wot-product-template-sp-woo-product-format main#main .summary .woocommerce-variation-description {
        grid-column: 1;
        grid-row: 2;
    }

    .jdr-wot-product-template-sp-woo-product-format main#main .summary .woocommerce-variation-price {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        display: flex;
        align-items: center;
        min-height: var(--jdr-wot-variation-control-height);
        margin: 0;
    }

    .jdr-wot-product-template-sp-woo-product-format main#main .summary .woocommerce-variation-add-to-cart {
        grid-column: 2;
        grid-row: 2;
        display: flex;
        flex-wrap: wrap;
        align-items: start;
        gap: 8px;
        margin: 0;
    }

    .jdr-wot-product-template-sp-woo-product-format main#main .summary .woocommerce-variation-add-to-cart .quantity,
    .jdr-wot-product-template-sp-woo-product-format main#main .summary .single_add_to_cart_button {
        margin: 0;
        max-width: 100%;
    }

    .jdr-wot-product-template-sp-woo-product-format main#main .summary .woocommerce-variation-availability {
        grid-column: 2;
        grid-row: 3;
    }
}

@media (max-width: 767px) {
    .jdr-wot-product-template-sp-woo-product-format main#main .jdr-wot-woo-product {
        padding: 24px 16px;
    }

    .jdr-wot-product-template-sp-woo-product-format main#main .jdr-wot-woo-product > .product {
        grid-template-columns: minmax(0, 1fr);
    }

    .jdr-wot-product-template-sp-woo-product-format main#main .jdr-wot-woo-product > .product > .summary {
        grid-column: 1;
        grid-row: 2;
    }
}