.torres-wine-product {
    --tw-product-paper: #fbf7f2;
    --tw-product-dark: #211b1a;
    --tw-product-light: #fcf3ec;
    --tw-product-muted: #e2d3cb;
    --tw-product-pink: #f0abc6;
}

.torres-wine-product #main > .product.entry-content-wrap {
    background: var(--tw-product-paper);
    border: 1px solid #e6d9ce;
    border-radius: .75rem;
    box-shadow: 0 24px 58px -41px #62453b85;
    padding: clamp(.85rem, 2vw, 1.65rem);
}

.torres-wine-product #main .torres-product-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.26fr) minmax(0, .74fr);
    gap: clamp(1.05rem, 3.4vw, 3.3rem);
    align-items: start;
    position: relative;
    margin-bottom: clamp(1.2rem, 3vw, 2.35rem);
    padding: clamp(1.15rem, 3.5vw, 3.2rem);
    background: radial-gradient(ellipse at 92% 10%, #46322b 0, #2c211e 49%, #201a18 98%);
    color: var(--tw-product-light);
    border: 1px solid #503c3b;
    border-radius: .85rem;
    box-shadow: 0 25px 48px -36px #352021;
}

.torres-wine-product.torres-wine-pro #main .torres-product-hero {
    background: linear-gradient(135deg, #302529, #1d1b1b 65%);
}

.torres-wine-product #main .torres-product-hero > .summary.entry-summary {
    grid-column: 1;
    grid-row: 1;
    float: none;
    width: auto;
    min-width: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: var(--tw-product-light);
}

.torres-wine-product #main .torres-product-hero > .summary.entry-summary::before {
    content: none;
}

.torres-wine-product #main .torres-product-hero > .woocommerce-product-gallery {
    grid-column: 2;
    grid-row: 1;
    float: none;
    width: 100%;
    min-width: 0;
    max-width: 29rem;
    margin: 0;
    justify-self: center;
    border: 1px solid #8a7266;
    border-radius: .55rem;
    background: #f9f5ee;
    padding: .5rem;
}

.torres-wine-product #main .torres-product-hero > .onsale {
    position: absolute;
    top: .7rem;
    right: .7rem;
    z-index: 1;
}

.torres-wine-product #main .torres-product-hero :is(.woocommerce-product-gallery__image,.woocommerce-product-gallery__image--placeholder) {
    border-radius: .3rem;
    overflow: hidden;
    background: #fff;
}

.torres-wine-product #main .torres-product-hero .woocommerce-product-gallery img:not(.zoomImg):not(.emoji) {
    display: block;
    width: 100%;
    height: auto;
    max-height: 28rem;
    object-fit: contain;
    object-position: center;
}

.torres-wine-product #main .summary.entry-summary h1.product_title {
    margin: 0 0 .8rem;
    color: var(--tw-product-light);
    font-size: clamp(1.8rem, 3.1vw, 3.55rem);
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -.015em;
    text-transform: none;
    overflow-wrap: anywhere;
}

.torres-product-identity {
    display: flex;
    gap: .42rem;
    flex-wrap: wrap;
    margin: 0 0 1.05rem;
    padding: 0;
}

.torres-product-identity > div {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .12rem .38rem;
    padding: .24rem .55rem;
    border: 1px solid #775c64;
    border-radius: .2rem;
    background: #ffffff0b;
    font-size: .79rem;
}

.torres-product-identity dt {
    color: var(--tw-product-muted);
}

.torres-product-identity dd {
    margin: 0;
    color: var(--tw-product-light);
    font-weight: 700;
}

.torres-wine-product #main > .product .summary.entry-summary > .price,
.torres-wine-product #main > .product .summary.entry-summary .woocommerce-variation-price .price {
    margin: .4rem 0 1rem;
    color: var(--tw-product-pink);
    font-size: clamp(1.55rem, 2.35vw, 2.15rem);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.28;
}

.torres-wine-product #main .summary.entry-summary .price del {
    color: var(--tw-product-muted);
    opacity: .8;
}

.torres-wine-product #main .summary.entry-summary .price ins {
    color: inherit;
    background: transparent;
}

.torres-wine-product #main .summary.entry-summary .woocommerce-product-details__short-description,
.torres-wine-product #main .summary.entry-summary .product_meta {
    color: var(--tw-product-muted);
}

.torres-wine-product #main .summary.entry-summary a:not(.button) {
    color: var(--tw-product-pink);
}

.torres-wine-product #main .summary.entry-summary .stock {
    color: var(--tw-product-light);
}

.torres-wine-product #main .summary.entry-summary .stock:is(.in-stock,.out-of-stock) {
    color: #facad9;
    border-color: #72505e;
    background: #402c34;
}

.torres-wine-product #main .summary.entry-summary form.cart {
    background: #ffffff0a;
    color: var(--tw-product-light);
    border: 1px solid #735b60;
    border-radius: .35rem;
    padding: clamp(.65rem, 1.2vw, 1rem);
    font-size: .92rem;
}

.torres-wine-product #main .summary.entry-summary form.cart::after {
    clear: both;
}

.torres-wine-product #main .summary.entry-summary form.cart .single_add_to_cart_button {
    min-height: 2.75rem;
    padding-inline: clamp(.7rem, 1.5vw, 1.2rem);
    color: #251b1e;
    background: #e4a0bb;
    border-color: #e4a0bb;
    border-radius: .25rem;
    font-weight: 700;
    white-space: normal;
}

.torres-wine-product #main .summary.entry-summary form.cart .single_add_to_cart_button:hover {
    background: #f3bad0;
    border-color: #f3bad0;
}

.torres-wine-product #main .summary.entry-summary form.cart a:not(.button) {
    color: var(--tw-product-pink);
}

.torres-wine-product #main .summary.entry-summary form.cart .packing-btn {
    color: var(--tw-product-pink);
    border-color: #ca819e;
    background: #443138;
}

.torres-wine-product #main .summary.entry-summary form.cart .packing-btn:is(.selected,:hover) {
    color: #281a20;
    background: #e4a0bb;
}

.torres-wine-product #main .summary.entry-summary form.cart :is(input.qty,select) {
    background: #fff9f5;
    color: #36272a;
}

.torres-wine-product #main .summary.entry-summary .single-product-payments {
    border-color: #8c7378;
    color: var(--tw-product-muted);
}

.torres-wine-product #main .summary.entry-summary .single-product-payments legend {
    color: var(--tw-product-muted);
}

.torres-wine-product #main .summary.entry-summary .torres-wine-stars {
    background-image: linear-gradient(90deg, #f8c48a var(--torres-star-fill), #a79086 var(--torres-star-fill));
}

.torres-wine-product #main > .product > .woocommerce-tabs {
    clear: both;
    margin-top: 1.4rem;
}

.torres-wine-product #main .woocommerce-tabs .woocommerce-Tabs-panel--description :is(h2,h3,h4) {
    color: #342421;
    font-size: clamp(1.25rem, 2.1vw, 1.75rem);
    line-height: 1.24;
    text-transform: none;
}

@media (max-width: 767px) {
    .torres-wine-product #main .torres-product-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .torres-wine-product #main .torres-product-hero:has(> .onsale) {
        padding-top: 2.45rem;
    }

    .torres-wine-product #main .torres-product-hero > .woocommerce-product-gallery {
        grid-column: 1;
        grid-row: 1;
        max-width: 13.5rem;
    }

    .torres-wine-product #main .torres-product-hero > .summary.entry-summary {
        grid-column: 1;
        grid-row: 2;
    }

    .torres-wine-product #main .torres-product-hero .woocommerce-product-gallery img:not(.zoomImg):not(.emoji) {
        max-height: 13rem;
    }
}
