.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 > .product > .woocommerce-product-gallery {
    padding: clamp(.45rem, 1vw, .9rem);
    background: #f3ece4;
    border: 1px solid #e6d8ca;
    border-radius: .55rem;
}

.torres-wine-product #main > .product .woocommerce-product-gallery__image,
.torres-wine-product #main > .product .woocommerce-product-gallery__image--placeholder {
    border-radius: .35rem;
    overflow: hidden;
    background: #fff;
}

.torres-wine-product #main > .product .woocommerce-product-gallery__image img:not(.zoomImg),
.torres-wine-product #main > .product .woocommerce-product-gallery__image--placeholder img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 36rem;
    object-fit: contain;
    object-position: center;
}

.torres-wine-product #main > .product > .summary.entry-summary {
    box-sizing: border-box;
    padding: clamp(1.05rem, 2.45vw, 2.25rem);
    background: radial-gradient(ellipse at 100% 0, #402d30, var(--tw-product-dark) 72%);
    color: var(--tw-product-light);
    border: 1px solid #503c3b;
    border-radius: .55rem;
    box-shadow: 0 19px 36px -29px #352021;
}

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

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

.torres-wine-product #main .summary.entry-summary h1.product_title {
    margin: 0 0 .8rem;
    color: var(--tw-product-light);
    font-size: clamp(1.68rem, 2.65vw, 3.2rem);
    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: #f9f2ec;
    color: #36272a;
    border: 1px solid #e6d4ca;
    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: #fff;
    background: #8d365b;
    border-color: #8d365b;
    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: #722744;
    border-color: #722744;
}

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

.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;
}

@media (max-width: 767px) {
    .torres-wine-product #main > .product > .woocommerce-product-gallery {
        margin-bottom: .85rem;
    }

    .torres-wine-product #main > .product .woocommerce-product-gallery__image img:not(.zoomImg),
    .torres-wine-product #main > .product .woocommerce-product-gallery__image--placeholder img {
        max-height: 17rem;
    }

    .torres-wine-product #main > .product > .summary.entry-summary {
        margin-bottom: 1rem;
    }
}
