/**
 * Products
 */

.woocommerce .product {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
    grid-template-areas:
        "product-gallery"
        "product-color-variants"
        "product-summary"
        "product-tabs";
}

.woocommerce .product>.product-gallery {
    grid-area: product-gallery;
}

.woocommerce .product>.product-color-variants {
    grid-area: product-color-variants;
}

.woocommerce .product>.summary {
    grid-area: product-summary;
}

.woocommerce .product>.woocommerce-tabs {
    grid-area: product-tabs;
}

@media (min-width: 992px) {
    .woocommerce .product {
        grid-auto-rows: auto 1fr auto;
        grid-template-columns: 55fr 45fr;
        grid-template-areas:
            "product-gallery        product-summary"
            "product-color-variants product-summary"
            "product-tabs           product-tabs";
    }
}

.woocommerce div.product form.cart {
    margin: 0;
}

.woocommerce div.product .return-info {
    margin: 5px 0 15px 0;
    font-size: 0.7rem;
    font-weight: 500;
    padding-left: calc(64px + 4px + 16px);
}

/**
 * Shipping info
 */

.woocommerce div.product .shipping-info {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.woocommerce div.product .shipping-info a {
    text-decoration: none;
    line-height: 1.25;
}

.woocommerce div.product .shipping-info .icon {
    flex: 0 0 16px;
    margin: 0 10px 0 0;
}

.woocommerce div.product .shipping-info .amount {
    font-weight: 700;
}

/**
 * Product details
 */

.woocommerce div.product .product_title {
    margin: 0 0 5px 0;
    line-height: 1.15;
    font-size: 1.5rem;
    text-wrap: balance;
}

.woocommerce div.product .price {
    display: flex;
    align-items: center;
    line-height: 1;
    margin: 10px 0;
}

.woocommerce div.product .price small {
    display: inline-block;
    margin: 0 0 0 10px;
    font-size: 0.65em;
    color: var(--color-muted);
}

.woocommerce div.product .product-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    margin: 0 5px 10px 0;
    z-index: 1;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    height: 26px;
    vertical-align: middle;
}

.woocommerce div.product .product-badge sup {
    display: inline-block;
    font-size: 1.25em;
    margin: 0 0 0 0.125em;
}

.woocommerce div.product .product-badge-sample {
    background-color: var(--color-accent);
    color: #ffffff;
}

.woocommerce div.product .product-badge-shipping-time {
    background-color: #ffd630;
    color: #000;
}

.woocommerce div.product .product-badge-shipping-time .icon {
    width: 16px;
    height: 16px;
    margin: 0 5px 0 0;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: inherit;
}

.woocommerce div.product .woocommerce-variation-price {
    font-size: 1.25rem;
    margin: 0.5em 0;
}

.woocommerce div.product form.cart .added_to_cart {
    display: none;
}

.woocommerce div.product form.cart .quantity .qty {
    width: auto;
    height: 100%;
    max-width: 64px;
}

body:not(.variation-selected) .woocommerce div.product form.cart .woocommerce-variation-availability {
    display: none;
}

.woocommerce div.product form.cart .variations label {
    font-weight: 600;
}

/**
 * Product rating stars
 */

.woocommerce div.product .rating-stars {
    display: flex;
    align-items: center;
    margin: 10px 0;
    line-height: 1;
    text-decoration: none;
}

.woocommerce div.product .rating-stars>.star {
    display: inline-block;
    width: 15px;
    height: 15px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 35 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M34.664 11.889a46.107 46.107 0 0 0-12.404 6.442c-2.22 1.629-4.05 3.285-8.213 7.622A322.618 322.618 0 0 0 1.38 39.973a61.957 61.957 0 0 1 3.818-20.79A62.06 62.06 0 0 1 16.559 0a38.935 38.935 0 0 0 2.518 7.52 38.878 38.878 0 0 0 2.53 4.715A34.935 34.935 0 0 0 6.633 25.58a37.639 37.639 0 0 1 10.903-9.065c7.046-3.876 13.643-4.533 17.132-4.626h-.004Z' fill='url(%23a)'/%3E%3Cpath d='M28.75 19.13a35.893 35.893 0 0 0-3.414 6.846 41.214 41.214 0 0 1 2.442 6.21 41.454 41.454 0 0 1 1.54 7.747 75.625 75.625 0 0 0-7.977-5.678 76.927 76.927 0 0 0-8.191-4.422 80.585 80.585 0 0 1 3.45-4.124c1.815-2.033 4.261-4.772 7.515-7.374 2.274-1.816 5.736-4.204 10.54-6.237l-.031.026a36.126 36.126 0 0 0-5.865 7.006h-.009Z' fill='url(%23b)'/%3E%3Cpath d='M6.353 14.064A11.602 11.602 0 0 1 0 12.022c.036 1.46.195 3.219.617 5.168a27.424 27.424 0 0 0 2.073 6.024 42.523 42.523 0 0 1 3.658-9.15h.005Z' fill='url(%23c)'/%3E%3Cdefs%3E%3ClinearGradient id='a' x1='-4.328' y1='33.832' x2='27.503' y2='4.187' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23FFA727'/%3E%3Cstop offset='.05' stop-color='%23FE9F20'/%3E%3Cstop offset='.2' stop-color='%23FD8D0E'/%3E%3Cstop offset='.36' stop-color='%23FC8103'/%3E%3Cstop offset='.53' stop-color='%23FC7E00'/%3E%3Cstop offset='1' stop-color='%23FF4800'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='19.063' y1='36.174' x2='39.422' y2='17.216' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23FFA727'/%3E%3Cstop offset='.05' stop-color='%23FE9F20'/%3E%3Cstop offset='.2' stop-color='%23FD8D0E'/%3E%3Cstop offset='.36' stop-color='%23FC8103'/%3E%3Cstop offset='.53' stop-color='%23FC7E00'/%3E%3Cstop offset='1' stop-color='%23FF4800'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' x1='2.99' y1='11.711' x2='4.188' y2='23.059' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23FFA727'/%3E%3Cstop offset='.05' stop-color='%23FE9F20'/%3E%3Cstop offset='.2' stop-color='%23FD8D0E'/%3E%3Cstop offset='.36' stop-color='%23FC8103'/%3E%3Cstop offset='.53' stop-color='%23FC7E00'/%3E%3Cstop offset='1' stop-color='%23FF4800'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E") no-repeat;
    margin: 0 5px 0 0;
}

.woocommerce div.product .rating-stars .summary {
    position: relative;
    top: 1px;
    font-size: 80%;
    white-space: nowrap;
    color: var(--color-muted);
}

/**
 * Product add to cart
 */

.woocommerce .product-add-to-cart {
    display: flex;
    position: relative;
}

.woocommerce .product-add-to-cart :is(.woocommerce-variation-add-to-cart, .btn-product-question) {
    line-height: 1;
    text-align: center;
}

.woocommerce .product-add-to-cart .woocommerce-variation-add-to-cart {
    display: flex;
}

.woocommerce .product-add-to-cart .btn-product-question {
    display: inline-flex;
    align-items: center;
    background: var(--color-accent);
    color: #fff;
    padding: 0 15px;
    text-decoration: none;
    font-weight: 700;
    margin: 0 0 0 5px;
}

.woocommerce .product-add-to-cart .tooltip-required-variation-select {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #dc3545;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 5px 0 0 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .25);
    pointer-events: none;
    z-index: 1000;

    opacity: 0;
    transform: translateY(5px);
    transition: opacity .3s, transform .3s;
}

.woocommerce .product-add-to-cart .tooltip-required-variation-select.show {
    opacity: 1;
    transform: none;
}

@media (min-width: 992px) {
    .woocommerce .product-add-to-cart :is(.woocommerce-variation-add-to-cart, .btn-product-question) {
        height: 40px;
    }
}

/**
 * Product variations
 */

.woocommerce div.product form.cart .variations .value {
    position: relative;
}

.woocommerce div.product form.cart .variations .value:after {
    position: absolute;
    content: '';
    background-image: url('data:image/svg+xml;utf8,<svg id="i-chevron-bottom" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="16" height="16" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M30 12 L16 24 2 12" /></svg>');
    top: 8px;
    right: 8px;
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.woocommerce div.product form.cart .variations .value select {
    width: 100%;
    margin-right: 0;
    padding-right: 32px;
    -webkit-appearance: none;
    line-height: 1;
}

.woocommerce div.product form.cart .reset_variations {
    display: inline-block;
    margin: 10px 0;
}

.woocommerce div.product form.cart .variations {
    margin-bottom: 0;
}

.woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-add-to-cart::after {
    content: '';
    display: table;
    clear: both;
}

body.product-variations-list .woocommerce div.product form.cart .variations {
    display: none;
}

body.product-variations-list .woocommerce div.product form.cart .single_variation_wrap .single_variation .woocommerce-variation-description .box-important {
    background: #dc3545;
    color: #fff;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 5px;
}

body.product-variations-list .woocommerce div.product form.cart .single_variation_wrap .single_variation .woocommerce-variation-description .box-important::before {
    content: "Ważne!";
    display: block;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

body.product-variations-list .woocommerce div.product form.cart .single_variation_wrap .single_variation .woocommerce-variation-price {
    display: none;
}

body.product-variations-list .woocommerce div.product form.cart .single_variation_wrap .single_variation .woocommerce-variation-availability {
    display: none;
}

/**
 * Product color variants
 */

.product-gallery>.gallery-thumbnails {
    transition: opacity .3s;
}

.product-gallery.color-variant-preview>.gallery-thumbnails {
    opacity: .25;
}

.product-gallery.color-variant-preview>.gallery-current-image .woocommerce-product-gallery__image,
.product-gallery.color-variant-preview>.gallery-current-image .woocommerce-product-gallery__image--placeholder {
    display: none;
}

.product-gallery .image-color-variant {
    display: none;
}

.product-gallery .image-color-variant.show {
    display: block;
}

.product-color-variants {
    min-width: 0;
    /* necessary to prevent grid blowout when longer product name */
}

.product-color-variants label {
    font-family: var(--font-headers);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.product-color-variants ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 0;
    margin: 0;
}

.product-color-variants ul li a {
    position: relative;
    display: inline-block;
    max-width: 64px;
    padding: 4px;
    border: 1px solid #dadada;
}

.product-color-variants ul li a::before {
    content: '';
    position: absolute;
    top: -3px;
    right: -3px;
    bottom: -3px;
    left: -3px;
    width: calc(100% + 6px);
    height: calc(100% + 6px);
}

.product-color-variants ul li a:is(.current, :hover, :focus) {
    border-color: var(--color-accent);
}

.product-color-variants ul li a img {
    aspect-ratio: 1;
}

/**
 * Product PhotoSwipe lightbox
 */

.woocommerce .pswp__bg {
    background: rgba(0, 0, 0, .5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.woocommerce img.pswp__img,
.woocommerce-page img.pswp__img {
    background-color: #ffffff;
}

/**
 * Product recommendations
 */

.product-assembly-recommendations {
    margin: 5px 0;
}

.product-assembly-recommendations label {
    margin: 0 0 5px 0;
    font-weight: 500;
    font-family: var(--font-headers);
}

.product-assembly-recommendations label>.icon {
    margin: 0 10px 0 0;
}

.product-assembly-recommendations .product-recommendation {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    line-height: 1.25;
    position: relative;
    margin: 0 0 5px 0;
}

.product-assembly-recommendations .product-recommendation:last-child {
    margin: 0;
}

.product-assembly-recommendations .product-recommendation:after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    content: '';
    border: 2px solid #dddddd;
    transition: border-color .3s;
}

.product-assembly-recommendations .product-recommendation:hover:after {
    border-color: var(--color-accent);
}

.product-assembly-recommendations .product-recommendation:hover:after,
.product-assembly-recommendations .product-recommendation:focus:after {
    opacity: 1;
}

.product-assembly-recommendations .product-recommendation .product-image {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    padding: 4px;
}

.product-assembly-recommendations .product-recommendation .product-name {
    padding: 5px 10px;
    font-weight: 500;
    font-size: 0.9rem;
    flex-grow: 1;
}


.product-assembly-recommendations .product-recommendation .product-price {
    padding: 5px 15px;
}

/**
 * Custom variation select
 */

.custom-variation-select-label {
    font-weight: 600;
    margin: 0;
}

.custom-variation-select-container {
    margin: 5px 0;
}

.custom-variation-select {
    --button-height: 80px;
    position: relative;
    display: block;
    height: var(--button-height);
    margin: 0;
    -webkit-user-select: none;
    user-select: none;
    transition: opacity .15s;
}

.custom-variation-select.select-slave.selected {
    --button-height: 120px;
}

.custom-variation-select:not(.disabled) {
    cursor: pointer;
}

.custom-variation-select.no-distraction {
    opacity: 0.25;
    pointer-events: none;
}

.custom-variation-select>.btn {
    border: 2px solid var(--color-accent);
    height: 100%;
}

.custom-variation-select>.btn>.btn-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    line-height: 1.2;
    height: 100%;
}

.custom-variation-select>.btn>.btn-inner>.text {
    display: flex;
    flex-direction: column;
}

.custom-variation-select>.btn>.btn-inner>.text>.label {
    font-weight: 700;
    color: #000;
}

.custom-variation-select>.btn>.btn-inner>.text>.price-range {
    margin: 5px 0 0 0;
    font-size: small;
    line-height: 1.15;
}

.custom-variation-select>.btn>.btn-inner>.text>.price-range>small {
    color: var(--color-muted);
}

.custom-variation-select.open>.btn>.btn-inner {
    border-bottom: none;
}

.custom-variation-select>.btn>.btn-inner:after {
    content: '';
    display: inline-block;
    flex: 0 0 auto;
    width: calc(24px + 15px);
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='24' height='24' fill='none' stroke='currentcolor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M30 12 L16 24 2 12' /%3E%3C/svg%3E");
    background-position: right;
    background-repeat: no-repeat;
    z-index: 1;
}

.custom-variation-select.open>.btn>.btn-inner:after {
    transform: scaleY(-1);
}

.custom-variation-select.selected:not(.open)>.btn>.btn-inner:after {
    display: none;
}

.custom-variation-select.disabled>.btn>.btn-inner {
    display: none;
}

.custom-variation-select>.options {
    display: none;
    position: absolute;
    top: calc((var(--button-height) - 36px) / 2);
    right: 0;
    left: 0;
    background: #ffffff;
    border: 2px solid var(--color-accent);
    border-top: 0;
    border-bottom: 0;
}

.custom-variation-select.open>.options,
.custom-variation-select.selected>.options {
    display: block;
}

.custom-variation-select.select-slave>.options {
    top: calc((var(--button-height) * 0.25) / 2);
}

.custom-variation-select:not(.disabled)>.options {
    border-top: none;
    border-bottom: none;
}

.custom-variation-select.open:not(.disabled)>.options {
    border-bottom: 2px solid var(--color-accent);
}

.custom-variation-select.open>.options {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 16px 16px rgb(0 0 0 / 25%);
    max-height: 50vh;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 500;
}

.custom-variation-select>.options>.option {
    padding: 10px 15px;
    line-height: 1;
}

.custom-variation-select.open>.options>.option {
    border-bottom: 1px solid #f0f0f0;
}

.custom-variation-select.open>.options .option:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

.custom-variation-select.open>.options .option.active {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
}

.custom-variation-select:not(.open)>.options .option:not(.active) {
    display: none !important;
}

.custom-variation-select>.options .option .in-stock {
    color: #008000;
}

.custom-variation-select>.options .option .out-of-stock {
    color: #ff0000;
}

.custom-variation-select>.options .option .quantity-available {
    font-size: 0.8em;
    margin: 0.1em 0 0 0;
}

.custom-variation-select.open>.options .option.active .in-stock,
.custom-variation-select.open>.options .option.active .out-of-stock {
    color: #ffffff;
}

@media (min-width: 768px) and (max-width: 991.98px),
(min-width: 1366px) {
    .custom-variation-select>.btn>.btn-inner>.text {
        flex-direction: row;
        flex-grow: 1;
        align-items: center;
        justify-content: space-between;
    }

    .custom-variation-select>.btn>.btn-inner>.text>.price-range {
        font-size: inherit;
        margin: 0;
    }
}

@media (min-width: 992px) {
    .custom-variation-select.select-slave.selected {
        --button-height: 80px;
    }

    .custom-variation-select.select-slave.open>.options {
        top: 100%;
    }
}

/**
 * Custom variation select - table with options
 */

.custom-variation-select table {
    width: 100%;
    border: none !important;
    /* necessary to override woocommerce.css style... */
}

.custom-variation-select th {
    position: sticky;
    top: 0;
    height: calc(32px - 2px);
    font-size: 0.8em;
    background-color: #ffffff;
}

.custom-variation-select.open th {
    height: 48px;
}

.custom-variation-select td label {
    margin: 0;
}

.custom-variation-select tr.variations-headers {
    display: none;
}

.custom-variation-select tr.variations-headers th:first-child {
    display: none;
}

.custom-variation-select tr.variation {
    line-height: 1;
}

.custom-variation-select tr.variation .woocommerce-Price-amount {
    font-weight: 700;
}

.custom-variation-select.open tr.variation {
    border-bottom: 1px solid #f0f0f0;
}

.custom-variation-select tr.variation:last-child {
    border-bottom-width: 0;
}

.custom-variation-select tr.variation:last-child {
    border-bottom-width: 1px;
}

.custom-variation-select tr.variation td:first-child {
    display: none;
}

.custom-variation-select tr.variation td {
    display: table-row;
}

.custom-variation-select tr.variation td:is(.variation-dlugosc, .variation-szerokosc, .variation-wysokosc) {
    white-space: nowrap;
}

.custom-variation-select tr.variation td>label {
    display: table-cell;
    padding: 0 30px 0 15px;
    font-weight: 600;
}

.custom-variation-select tr.variation td>span {
    display: table-cell;
    padding: 0 15px 0 0;
}

@media (max-width: 991.98px) {

    .custom-variation-select tr.variation td:nth-child(2)>label,
    .custom-variation-select tr.variation td:nth-child(2)>span {
        padding-top: 10px;
    }

    .custom-variation-select tr.variation td:last-child>div.quantity-available {
        font-size: 0.9em;
    }

    .custom-variation-select tr.variation td:last-child>label,
    .custom-variation-select tr.variation td:last-child>div:last-child {
        padding-bottom: 10px;
    }
}

@media (min-width: 992px) {
    .custom-variation-select tr.variations-headers {
        display: table-row;
    }

    .custom-variation-select tr.variation {
        display: table-row;
    }

    .custom-variation-select tr.variation td {
        display: table-cell;
        height: calc(30px - 2px);
    }

    .custom-variation-select.open tr.variation td {
        height: 36px;
    }

    .custom-variation-select tr.variations-headers th,
    .custom-variation-select tr.variation td {
        padding: 0 15px;
    }

    .custom-variation-select tr.variation td {
        padding-left: 15px !important;
        /* necessary to override woocommerce.css style... */
    }

    .custom-variation-select tr.variation td>label {
        display: none;
    }

    .custom-variation-select tr.variation td>span {
        padding: 0;
    }
}

/**
 * Product attributes
 */

.woocommerce div.product .attributes {
    position: relative;
    overflow-y: hidden;
    margin: 10px 0;
}

.woocommerce div.product .attributes.expandable {
    height: 320px;
    transition: height .3s;
}

.woocommerce div.product .attributes.expandable .show-more {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 60px 0 0 0;
    text-align: center;
    font-size: 0.9em;
    font-weight: 700;
    background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    cursor: pointer;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}

.woocommerce div.product .attributes.expandable.collapsed:not(.expanding) .show-more {
    opacity: 1;
    pointer-events: auto;
}

@media (min-width: 992px) {
    .woocommerce div.product .attributes.expandable {
        height: 270px;
    }
}

/**
 * Product categories
 */

.woocommerce div.product .product-categories {
    line-height: 1.25;
    margin: 10px 0;
}

.woocommerce div.product .product-categories>label {
    font-weight: 700;
    margin: 0 0 5px 0;
}

.woocommerce div.product .product-categories>ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/**
 * Product tabs
 */

.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin: 0;
    display: block;
    background-color: transparent;
    border: none;
    border-radius: 0;
    border-left: 4px solid transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background-color: transparent;
    border-color: var(--color-accent);
    color: var(--color-accent);
    font-weight: 700;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before {
    display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none;
}

/*
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  border-color: #1e85be;
}
*/

.woocommerce div.product .woocommerce-tabs ul.tabs li.active::before {
    display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active::after {
    display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    text-transform: uppercase;
    font-family: var(--font-headers);
    font-weight: 400;
}

.woocommerce div.product .woocommerce-tabs form.cart {
    margin: 0;
}

@media (min-width: 768px) {
    .woocommerce div.product .woocommerce-tabs ul.tabs {
        display: flex;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li {
        border-left: none;
        border-bottom: 4px solid transparent;
    }
}

/**
 * Product description tab
 */

.woocommerce .woocommerce-Tabs-panel--description h2 {
    font-size: 1.5rem;
}

.woocommerce .woocommerce-Tabs-panel--description p {
    margin: 15px 0;
}

.woocommerce .woocommerce-Tabs-panel--description ul {
    margin: 5px 0;
}

.woocommerce .woocommerce-Tabs-panel--description ul li {
    margin: 0 0 5px 0;
}

.woocommerce .woocommerce-Tabs-panel--description ul li:last-child {
    margin: 0;
}

.woocommerce .woocommerce-Tabs-panel--description [src*="youtube"] {
    aspect-ratio: 16/9;
    width: 100%;
    height: auto;
}

/**
 * Product reviews tab
 */

.woocommerce .woocommerce-Tabs-panel--reviews h2 {
    margin-bottom: .25em;
}

.woocommerce .woocommerce-Tabs-panel--reviews .info-translated {
    display: flex;
    align-items: center;
}

.woocommerce .woocommerce-Tabs-panel--reviews .info-translated svg {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 0 .5em 0 0;
}

.woocommerce .woocommerce-Tabs-panel--reviews .reviews {
    margin-top: 2em;
}

.reviews .review {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 5px 0;
    border: 1px solid #EDF3F6;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .05);
}

.reviews .review .review-meta {
    width: 100%;
    flex: 0 0 auto;
    padding: 15px;
}

.reviews .review .review-meta .review-name {
    margin: 10px 0 0 0;
    font-weight: 500;
}

.reviews .review .review-meta .review-created-at {
    margin: 5px 0 0 0;
    color: #666666;
    font-size: 14px;
}

.reviews .review .review-body-wrapper .review-body {
    padding: 15px;
    padding-top: 0;
}

@media (min-width: 992px) {
    .reviews .review .review-meta {
        width: 20%;
        text-align: center;
    }

    .reviews .review .review-body-wrapper {
        flex: 1 0 0%;
    }

    .reviews .review .review-body-wrapper .review-body {
        padding-top: 15px;
    }
}

/**
 * Modal - question about product
 */

.modal-product-question p {
    margin: 0;
}

.modal-product-question p label {
    display: block;
    margin: 0 0 15px 0;
    font-weight: 400;
    font-size: 1rem;
}

.modal-product-question p label span {
    display: block;
    margin-top: 5px;
}

.modal-product-question p label span input,
.modal-product-question p label span textarea {
    display: block;
    padding: 5px 10px;
    width: 100%;
    resize: none;
}

.modal-product-question p .wpcf7-submit,
.modal-product-question p button {
    margin: 15px 15px 0 0;
    padding: 5px 50px;
    background-color: #ffffff;
    color: #000000;
    font-size: 1rem;
    background: none;
    border: 1px solid #ddd;
}

.modal-product-question p .wpcf7-submit {
    background-color: var(--color-accent);
    color: #ffffff;
}

.modal-product-question p .ajax-loader {
    display: none;
    top: 6px;
    margin: 15px 15px 0 0;
    transition: width .3s;
    background-repeat: no-repeat;
}

.modal-product-question .wpcf7-form.submitting p .ajax-loader {
    display: inline-block;
}

.modal-product-question .wpcf7 .wpcf7-response-output {
    margin: 15px 0 0 0;
}

.modal-product-question .wpcf7-mail-sent-ok {
    border: 2px solid #398f14;
    background-color: #398f14;
    color: #fff;
    padding: 5px 10px;
}

/**
 * TrustMate - fix side widget overlaying Woocommerce gallery.
 */

body .tm-lemur-container .tm-lemur-sticker {
    z-index: 1000;
}