/* Custom styling for product add-to-cart, variations and YITH WAPO blocks */

html:has(body.single-product),
body.single-product {
    overflow-x: clip !important;
}

:root {
    --thp-badge-color: #0F6E56;
    --thp-badge-background: #E1F5EE;
    --thp-error-color: #c4500a;
    --thp-error-background: rgba(242, 107, 56, 0.1);
    --thp-reset-hover-color: #9B4456;
    --thp-reset-hover-border: #E8C7CF;
    --thp-reset-hover-background: #FFF4F6;
    --thp-variation-overlay-bg: #f8f9f9;
    --thp-variation-overlay-padding: 0.72rem;
    --thp-variation-overlay-bridge-offset: 1.05rem;
    --thp-variation-overlay-bridge-height: var(--thp-space-2xl-lg);
    --thp-variation-group-gap: clamp(1.5rem, 2.2vw, 2rem);
    --thp-product-step-section-gap: var(--thp-space-md);
    --thp-product-steps-inline-padding: var(--thp-space-lg);
    --thp-product-sticky-total-bg: #152645;
}

.single-product .single_variation_wrap {
    display: grid;
    gap: var(--thp-space-lg-xl);
}

.single-product .thp-variation-steps-wrap {
    position: relative;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    margin-top: 0;
    gap: var(--thp-product-step-section-gap);
    transition: opacity 180ms ease, transform 180ms ease;
}

.single-product .thp-variation-steps-wrap>* {
    position: relative;
    z-index: 6;
}

.variation-cards-wrap.is-moving-steps .thp-variation-steps-wrap,
.variation-cards-wrap.is-loading-steps .thp-variation-steps-wrap {
    opacity: 0.55;
    transform: translateY(0.25rem);
}

.single-product .variations {
    width: 100% !important;
    margin-bottom: var(--thp-space-lg);
}

.single-product .variations.has-cards {
    margin-bottom: 0;
}

.single-product .variations th,
.single-product .variations td {
    padding: var(--thp-space-sm-xs) 0;
    padding-bottom: 0;
    vertical-align: middle;
}

.single-product .variations select,
#yith-wapo-container select.yith-wapo-option-value,
#yith-wapo-container input[type='number'],
#yith-wapo-container input[type='text'] {
    width: 100% !important;
    border-radius: var(--thp-radius-lg);
    border: var(--thp-border-width-md) solid var(--thp-color-search-border);
    padding: var(--thp-space-sm-lg) var(--thp-space-md);
    font-size: var(--thp-font-size-base-lg);
    background: var(--thp-color-white);
}

.variation-select-hidden {
    display: none !important;
}

.variation-cards-wrap {
    position: relative;
    width: 100%;
    display: grid;
    gap: 0;
}

.variation-cards-wrap.is-moving-steps .variation-group-panel.is-active::after,
.variation-cards-wrap.is-loading-steps .variation-group-panel.is-active::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 30;
    pointer-events: none;
    background: rgba(248, 249, 249, 0.92);
    backdrop-filter: blur(0.125rem);
}

.variation-group-panel-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 31;
    width: calc(var(--thp-size-spinner, 1.5rem) * 1.45);
    height: calc(var(--thp-size-spinner, 1.5rem) * 1.45);
    border: calc(var(--thp-border-width-xl, 0.1875rem) * 1.2) solid rgba(46, 130, 153, 0.22);
    border-top-color: var(--thp-color-brand);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: thp-variation-wrap-spin 700ms linear infinite;
}

.variation-cards-wrap.is-moving-steps .variation-group-panel.is-active .variation-group-panel-loader,
.variation-cards-wrap.is-loading-steps .variation-group-panel.is-active .variation-group-panel-loader {
    display: block;
}

@keyframes thp-variation-wrap-spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.variation-group-panel[hidden] {
    display: none !important;
}

.variation-group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: var(--thp-variation-group-gap);
}

.variation-group-item {
    display: contents;
}

.variation-group-dot {
    width: var(--thp-size-dot);
    height: var(--thp-size-dot);
    border-radius: 50%;
    background: currentColor;
    flex: 0 0 var(--thp-size-dot);
}

.variation-group-card[data-group-trigger="global"] .variation-group-dot,
.variation-group-panel[data-group-panel="global"] .variation-group-dot {
    background: var(--thp-group-accent, var(--thp-panel-accent, var(--thp-color-region-global)));
}

.variation-group-card[data-group-trigger="europe"] .variation-group-dot,
.variation-group-panel[data-group-panel="europe"] .variation-group-dot {
    background: var(--thp-group-accent, var(--thp-panel-accent, var(--thp-color-region-europe)));
}

.variation-group-card[data-group-trigger="americas"] .variation-group-dot,
.variation-group-panel[data-group-panel="americas"] .variation-group-dot {
    background: var(--thp-group-accent, var(--thp-panel-accent, var(--thp-color-region-americas)));
}

.variation-group-card[data-group-trigger="asia-pacific"] .variation-group-dot,
.variation-group-panel[data-group-panel="asia-pacific"] .variation-group-dot {
    background: var(--thp-group-accent, var(--thp-panel-accent, var(--thp-color-region-apac)));
}

.variation-group-card[data-group-trigger="middle-east-africa"] .variation-group-dot,
.variation-group-panel[data-group-panel="middle-east-africa"] .variation-group-dot {
    background: var(--thp-group-accent, var(--thp-panel-accent, var(--thp-color-region-mea)));
}

.single-product form.variations_form .variation-cards-wrap .variation-group-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 5.2rem;
    column-gap: 0.9rem;
    row-gap: 0;
    align-items: start;
    width: 100%;
    min-height: 8.45rem;
    padding: 0.78rem 0.875rem 0.82rem;
    border: var(--thp-border-width-md) solid var(--thp-color-border);
    border-radius: var(--thp-button-radius);
    background: var(--thp-color-white);
    text-align: left;
    color: var(--thp-color-text);
    box-sizing: border-box;
    border-style: solid;
    cursor: pointer;
    overflow: visible;
    box-shadow: 0 0.22rem 0.75rem rgba(18, 38, 63, 0.045);
    transition: border-color var(--thp-transition-base), box-shadow var(--thp-transition-base), transform var(--thp-transition-base);
}

.variation-group-card[data-group-trigger="global"] {
    --thp-group-accent: var(--thp-color-region-global);
}

.variation-group-card[data-group-trigger="europe"] {
    --thp-group-accent: var(--thp-color-region-europe);
}

.variation-group-card[data-group-trigger="americas"] {
    --thp-group-accent: var(--thp-color-region-americas);
}

.variation-group-card[data-group-trigger="asia-pacific"] {
    --thp-group-accent: var(--thp-color-region-apac);
}

.variation-group-card[data-group-trigger="middle-east-africa"] {
    --thp-group-accent: var(--thp-color-region-mea);
}

.single-product form.variations_form .variation-cards-wrap .variation-group-card:hover {
    border-color: var(--thp-group-accent, var(--thp-color-brand));
    transform: translateY(-0.0625rem);
    box-shadow: 0 0.6rem 1.15rem rgba(18, 38, 63, 0.07);
}

.single-product form.variations_form .variation-cards-wrap .variation-group-card.is-active {
    border-color: var(--thp-group-accent, var(--thp-color-brand));
    box-shadow: 0 0.45rem 1rem color-mix(in srgb, var(--thp-group-accent, var(--thp-color-brand)) 10%, transparent);
    z-index: 2;
}

.single-product form.variations_form .variation-cards-wrap .variation-group-card.is-selected-group:not(.is-active) {
    border-color: color-mix(in srgb, var(--thp-group-accent, var(--thp-color-brand)) 34%, white);
    box-shadow: 0 0.28rem 0.75rem color-mix(in srgb, var(--thp-group-accent, var(--thp-color-brand)) 8%, transparent);
}

.single-product form.variations_form .variation-cards-wrap .variation-group-card:focus-visible {
    outline: none;
    border-color: var(--thp-group-accent, var(--thp-color-brand));
    box-shadow: 0 0.45rem 1rem color-mix(in srgb, var(--thp-group-accent, var(--thp-color-brand)) 10%, transparent);
}

.variation-group-card-content {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: 0.28rem;
    min-width: 0;
    min-height: 0;
    padding-right: 0;
}

.variation-group-card[data-group-mode="expand"] .variation-group-card-content {
    padding-bottom: 1.35rem;
}

.variation-group-card-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.25rem 0.45rem;
    min-width: 0;
}

.variation-group-card-eyebrow,
.variation-group-label {
    display: inline-flex;
    align-items: center;
    gap: var(--thp-space-sm);
    font-size: var(--thp-font-size-xs);
    font-weight: var(--thp-font-weight-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--thp-color-muted);
}

.variation-group-card-eyebrow {
    min-width: 0;
    max-width: 100%;
}

.variation-group-card-title {
    display: block;
    font-size: calc(var(--thp-font-size-base) + 0.1875rem);
    font-weight: var(--thp-font-weight-semibold);
    line-height: 1.1;
    color: var(--thp-color-text);
    max-width: none;
    min-height: 2.3rem;
    text-wrap: balance;
}

.variation-group-card-summary {
    display: block;
    font-size: var(--thp-font-size-sm);
    line-height: 1.25;
    font-weight: var(--thp-font-weight-normal);
    letter-spacing: 0;
    text-transform: none;
    color: var(--thp-color-muted);
}

.variation-group-card-price {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 0.22rem;
    color: var(--thp-color-text);
    font-size: calc(var(--thp-font-size-base) + 0.125rem);
    font-weight: var(--thp-font-weight-semibold);
    line-height: 1.05;
}

.variation-group-card-price.has-from-price {
    gap: 0.45rem;
}

.variation-group-card-price .price,
.variation-group-card-price .woocommerce-Price-amount,
.variation-group-card-price .woocommerce-Price-currencySymbol,
.variation-group-card-price-value,
.variation-group-card-price-label {
    color: inherit !important;
    font-size: inherit;
    font-weight: inherit;
}

.variation-group-card-price-label {
    font-size: var(--thp-font-size-2xs);
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--thp-color-muted) !important;
    opacity: 0.96;
}

.variation-group-card-price.has-from-price .variation-group-card-price-label {
    color: var(--thp-group-accent, var(--thp-color-brand)) !important;
}

.variation-group-card-price-value,
.variation-group-card-price-value .price,
.variation-group-card-price-value .woocommerce-Price-amount,
.variation-group-card-price-value .woocommerce-Price-currencySymbol {
    letter-spacing: -0.015em;
}

.variation-group-card-price-value {
    font-weight: calc(var(--thp-font-weight-semibold) + 100);
}

.variation-group-card-price.has-from-price .variation-group-card-price-value,
.variation-group-card-price.has-from-price .variation-group-card-price-value .price,
.variation-group-card-price.has-from-price .variation-group-card-price-value .woocommerce-Price-amount,
.variation-group-card-price.has-from-price .variation-group-card-price-value .woocommerce-Price-currencySymbol {
    color: var(--thp-color-text) !important;
}

.variation-group-card-action {
    position: absolute;
    left: 0.875rem;
    right: 0.875rem;
    bottom: 0.6rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: color-mix(in srgb, var(--thp-group-accent, var(--thp-color-brand)) 84%, black 12%);
    font-size: var(--thp-font-size-xs);
    font-weight: var(--thp-font-weight-semibold);
    line-height: 1;
    letter-spacing: 0.01em;
    box-shadow: none;
    transform: none;
    transition: color var(--thp-transition-base), opacity var(--thp-transition-base), transform var(--thp-transition-base);
    text-align: center;
    pointer-events: none;
}

.variation-group-card-action::after {
    content: '';
    width: 0.4rem;
    height: 0.4rem;
    border-right: 0.11rem solid currentColor;
    border-bottom: 0.11rem solid currentColor;
    transform: rotate(45deg);
    margin-top: -0.08rem;
    flex: 0 0 auto;
    transition: transform var(--thp-transition-base);
}

.single-product form.variations_form .variation-cards-wrap .variation-group-card:hover .variation-group-card-action,
.single-product form.variations_form .variation-cards-wrap .variation-group-card.is-active .variation-group-card-action,
.single-product form.variations_form .variation-cards-wrap .variation-group-card.is-selected-group .variation-group-card-action,
.single-product form.variations_form .variation-cards-wrap .variation-group-card:focus-visible .variation-group-card-action {
    color: var(--thp-group-accent, var(--thp-color-brand));
}

.single-product form.variations_form .variation-cards-wrap .variation-group-card:hover .variation-group-card-action {
    opacity: 0.96;
    transform: translateY(-0.0625rem);
}

.single-product form.variations_form .variation-cards-wrap .variation-group-card.is-active .variation-group-card-action,
.single-product form.variations_form .variation-cards-wrap .variation-group-card:focus-visible .variation-group-card-action {
    color: var(--thp-group-accent, var(--thp-color-brand));
}

.single-product form.variations_form .variation-cards-wrap .variation-group-card.is-active .variation-group-card-action::after {
    transform: rotate(225deg);
}

.variation-group-card-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.95rem;
    height: 3.35rem;
    padding: 0.4rem;
    border-radius: 0.875rem;
    border: 0.0625rem solid rgba(110, 136, 164, 0.14);
    background: var(--thp-color-white);
    overflow: hidden;
    box-shadow: inset 0 0 0 0.0625rem rgba(255, 255, 255, 0.6);
    justify-self: end;
}

.variation-group-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.variation-group-card[data-group-trigger="global"] {
    --thp-group-accent: #e97259;
    --thp-group-accent-strong: #e97259;
    --thp-group-accent-soft: #fff7f5;
    --thp-group-accent-panel: #fffdfc;
    --thp-group-accent-shadow: rgba(233, 114, 89, 0.18);
}

.variation-group-card[data-group-trigger="europe"] {
    --thp-group-accent: #2e8299;
    --thp-group-accent-strong: #2e8299;
    --thp-group-accent-soft: #eaf6f8;
    --thp-group-accent-panel: #f7fcfd;
    --thp-group-accent-shadow: rgba(46, 130, 153, 0.22);
}

.variation-group-card[data-group-trigger="americas"] {
    --thp-group-accent: #162849;
    --thp-group-accent-strong: #162849;
    --thp-group-accent-soft: #f4f7fb;
    --thp-group-accent-panel: #fbfcfe;
    --thp-group-accent-shadow: rgba(22, 40, 73, 0.2);
}

.variation-group-card[data-group-trigger="asia-pacific"] {
    --thp-group-accent: #c3e4e9;
    --thp-group-accent-strong: #c3e4e9;
    --thp-group-text-accent: #2e8299;
    --thp-group-accent-soft: #f1fbfc;
    --thp-group-accent-panel: #fbfeff;
    --thp-group-accent-shadow: rgba(195, 228, 233, 0.28);
}

.variation-group-card[data-group-trigger="middle-east-africa"] {
    --thp-group-accent: #feb635;
    --thp-group-accent-strong: #feb635;
    --thp-group-text-accent: #a86410;
    --thp-group-accent-soft: #fff9ec;
    --thp-group-accent-panel: #fffdf8;
    --thp-group-accent-shadow: rgba(254, 182, 53, 0.22);
}

.variation-group-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-rows: minmax(7rem, auto);
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.single-product form.variations_form .variation-cards-wrap .variation-group-card {
    display: flex;
    flex-direction: column;
    order: 1;
    height: 100%;
    min-height: 7rem;
    padding: 0.8rem 0.95rem 1.25rem;
    border-color: color-mix(in srgb, var(--thp-group-accent-strong, var(--thp-group-accent)) 54%, var(--thp-color-border));
    background: var(--thp-color-white);
    box-shadow: 0 0.18rem 0.55rem rgba(18, 38, 63, 0.04);
    transition: background-color var(--thp-transition-base), border-color var(--thp-transition-base), box-shadow var(--thp-transition-base), transform var(--thp-transition-base);
}

.single-product form.variations_form .variation-cards-wrap .variation-group-card:hover,
.single-product form.variations_form .variation-cards-wrap .variation-group-card.is-selected-group:not(.is-active) {
    background: var(--thp-group-accent-soft, var(--thp-color-white));
    border-color: var(--thp-group-accent-strong, var(--thp-group-accent, var(--thp-color-brand)));
    box-shadow: 0 0.6rem 1rem var(--thp-group-accent-shadow, rgba(18, 38, 63, 0.08));
}

.single-product form.variations_form .variation-cards-wrap .variation-group-card:hover {
    transform: translateY(-0.1rem);
}

.single-product form.variations_form .variation-cards-wrap .variation-group-card.is-active {
    border-color: transparent;
    background: var(--thp-group-accent-soft, var(--thp-color-white));
    box-shadow: none;
    transform: translateY(0);
    isolation: isolate;
    overflow: visible;
    z-index: 3;
}

.single-product form.variations_form .variation-cards-wrap .variation-group-card[data-group-mode="expand"].is-active::before,
.single-product form.variations_form .variation-cards-wrap .variation-group-card[data-group-mode="direct"].is-active::before {
    content: '';
    position: absolute;
    inset: calc(-1 * var(--thp-variation-overlay-padding));
    border: var(--thp-border-width-md) solid var(--thp-color-soft-border);
    border-bottom: 0;
    border-radius: calc(var(--thp-button-radius) + var(--thp-variation-overlay-padding)) calc(var(--thp-button-radius) + var(--thp-variation-overlay-padding)) 0 0;
    background: var(--thp-variation-overlay-bg);
    pointer-events: none;
    z-index: -1;
}

.single-product form.variations_form .variation-cards-wrap .variation-group-card[data-group-mode="expand"].is-active::after,
.single-product form.variations_form .variation-cards-wrap .variation-group-card[data-group-mode="direct"].is-active::after {
    content: '';
    position: absolute;
    left: calc(-1 * var(--thp-variation-overlay-padding));
    right: calc(-1 * var(--thp-variation-overlay-padding));
    bottom: calc(-1.5 * var(--thp-variation-overlay-bridge-offset));
    height: var(--thp-variation-overlay-bridge-height);
    border-left: var(--thp-border-width-md) solid var(--thp-color-soft-border);
    border-right: var(--thp-border-width-md) solid var(--thp-color-soft-border);
    background: var(--thp-variation-overlay-bg);
    box-sizing: border-box;
    pointer-events: none;
    z-index: -1;
}

.variation-group-card-frame {
    display: none;
}

.single-product form.variations_form .variation-cards-wrap .variation-group-card.is-active .variation-group-card-frame {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: block;
    border: 0.25rem solid var(--thp-group-accent-strong, var(--thp-group-accent, var(--thp-color-brand)));
    border-radius: inherit;
    pointer-events: none;
    box-sizing: border-box;
}

.variation-group-card-header {
    display: none;
}

.variation-group-card-content {
    position: relative;
    z-index: 1;
    gap: 0.42rem;
    flex: 1 1 auto;
}

.variation-group-card[data-group-mode="expand"] .variation-group-card-content {
    padding-bottom: 1.25rem;
}

.variation-group-card-title {
    padding-right: 0;
    font-size: var(--thp-font-size-base-lg);
    font-weight: var(--thp-font-weight-bold);
    line-height: 1.12;
}

.variation-group-card-summary {
    font-size: var(--thp-font-size-sm);
    line-height: 1.25;
}

.variation-group-card-price {
    gap: 0.5rem;
    padding-top: 0.1rem;
}

.variation-group-card-price-label {
    color: var(--thp-group-text-accent, var(--thp-group-accent, var(--thp-color-brand))) !important;
    font-size: var(--thp-font-size-xs);
    letter-spacing: 0.2em;
}

.variation-group-card-action {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    min-height: 0.78rem;
    margin-top: 0;
    padding: 0 0.5rem 0.13rem;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0 0 calc(var(--thp-button-radius) - var(--thp-border-width-md)) calc(var(--thp-button-radius) - var(--thp-border-width-md));
    background: var(--thp-group-accent-strong, var(--thp-group-accent, var(--thp-color-brand)));
    color: var(--thp-color-white);
}

.single-product form.variations_form .variation-cards-wrap .variation-group-card:hover .variation-group-card-action,
.single-product form.variations_form .variation-cards-wrap .variation-group-card.is-selected-group:not(.is-active) .variation-group-card-action,
.single-product form.variations_form .variation-cards-wrap .variation-group-card:focus-visible .variation-group-card-action {
    color: var(--thp-color-white);
    transform: none;
}

.single-product form.variations_form .variation-cards-wrap .variation-group-card.is-active .variation-group-card-action {
    display: none;
}

.variation-group-card-media {
    position: absolute;
    display: none;
    top: var(--thp-space-md);
    right: var(--thp-space-md);
    z-index: 2;
    width: 4.35rem;
    height: 2.62rem;
    padding: 0.32rem;
    border-color: var(--thp-color-soft-border);
    border-radius: calc(var(--thp-button-radius) - 0.125rem);
    opacity: 0.74;
    box-shadow: none;
}

.variation-group-panel {
    position: relative;
    display: grid;
    order: 2;
    grid-column: 1 / -1;
    gap: var(--thp-space-md);
    margin-top: 0;
    padding: var(--thp-space-md) var(--thp-space-2xl);
    border: var(--thp-border-width-md) solid var(--thp-color-border);
    border-top-width: 0.16rem;
    border-radius: var(--thp-button-radius);
    background: var(--thp-color-white);
    box-shadow: 0 0.35rem 0.9rem rgba(18, 38, 63, 0.04);
    animation: thpPanelReveal 0.24s ease-out;
    isolation: isolate;
    overflow: visible;
}

.variation-group-panel[data-group-panel="europe"] {
    --thp-panel-accent: #2e8299;
    --thp-panel-accent-strong: #2e8299;
    --thp-panel-surface: #f7fcfd;
}

.variation-group-panel[data-group-panel="global"] {
    --thp-panel-accent: #e97259;
    --thp-panel-accent-strong: #e97259;
    --thp-panel-surface: #fffdfc;
}

.variation-group-panel[data-group-panel="americas"] {
    --thp-panel-accent: #162849;
    --thp-panel-accent-strong: #162849;
    --thp-panel-surface: #fbfcfe;
}

.variation-group-panel[data-group-panel="asia-pacific"] {
    --thp-panel-accent: #c3e4e9;
    --thp-panel-accent-strong: #c3e4e9;
    --thp-panel-surface: #fbfeff;
}

.variation-group-panel[data-group-panel="middle-east-africa"] {
    --thp-panel-accent: #feb635;
    --thp-panel-accent-strong: #feb635;
    --thp-panel-surface: #fffdf8;
}

.variation-group-panel {
    border-color: transparent;
    background: var(--thp-variation-overlay-bg);
    box-shadow: none;
}

.variation-group-panel>* {
    position: relative;
    z-index: 1;
}

.variation-group-panel>.variation-group-panel-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 31;
    transform: translate(-50%, -50%);
}

.variation-group-panel-steps-slot {
    display: grid;
    min-width: 0;
}

.variation-group-panel-steps-slot:empty {
    min-height: clamp(12rem, 20vw, 18rem);
}

.variation-group-panel.is-active::before {
    content: '';
    position: absolute;
    inset: calc(-1 * var(--thp-variation-overlay-padding)) calc(-1 * var(--thp-variation-overlay-padding)) 0;
    border: var(--thp-border-width-md) solid var(--thp-color-soft-border);
    border-bottom: 0;
    border-radius: calc(var(--thp-button-radius) + var(--thp-variation-overlay-padding)) calc(var(--thp-button-radius) + var(--thp-variation-overlay-padding)) 0 0;
    background: var(--thp-variation-overlay-bg);
    pointer-events: none;
    z-index: -1;
}

.variation-group-item:first-child .variation-group-panel.is-active::before {
    border-top-left-radius: 0;
}

.variation-group-item:last-child .variation-group-panel.is-active::before {
    border-top-right-radius: 0;
}

.variation-group-panel-frame {
    display: none;
}

.variation-group-panel.is-active .variation-group-panel-frame {
    position: absolute;
    inset: 0 var(--thp-variation-overlay-padding) 0;
    z-index: 0;
    display: block;
    border: var(--thp-border-width-md) solid var(--thp-panel-accent-strong, var(--thp-panel-accent, var(--thp-color-brand)));
    border-bottom: 0;
    border-top-width: 0.34rem;
    border-radius: calc(var(--thp-button-radius) + 0.125rem) calc(var(--thp-button-radius) + 0.125rem) 0 0;
    background: var(--thp-color-white);
    pointer-events: none;
    box-sizing: border-box;
}

.variation-group-panel-header {
    display: grid;
    gap: var(--thp-space-xs);
}

.variation-group-panel-title {
    margin: 0;
    font-size: calc(var(--thp-font-size-md) + 0.0625rem);
    font-weight: var(--thp-font-weight-semibold);
    line-height: 1.2;
    color: var(--thp-color-heading-dark);
}

@media (max-width: 78rem) {
    .variation-group-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.variation-selection-layout {
    display: grid;
    grid-template-columns: minmax(15rem, 19rem) minmax(0, 1fr);
    gap: var(--thp-space-md-lg);
    align-items: stretch;
}

.variation-selection-layout.is-direct {
    grid-template-columns: minmax(0, 1fr);
}

.variation-group-panel.is-direct .variation-selection-layout {
    display: block;
}

.variation-group-panel.is-direct .variation-selected-card {
    --thp-selected-card-stage-min-height: var(--thp-selected-card-direct-stage-min-height);
    --thp-selected-card-image-max-height: var(--thp-selected-card-direct-image-max-height);
    width: 100%;
}

.variation-group-panel.is-direct .variation-selected-card-media {
    width: 100%;
}

.variation-group-panel.is-direct .variation-selected-card-media img {
    width: min(100%, 72rem);
    height: 100%;
}

@keyframes thpPanelReveal {
    from {
        opacity: 0;
        transform: translateY(-0.3rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.variation-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--thp-space-sm);
    align-items: stretch;
    align-content: start;
}

.variation-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.28rem;
    min-height: 0;
    padding: var(--thp-space-sm-lg) var(--thp-space-md);
    border: var(--thp-border-width-md) solid var(--thp-color-border);
    border-radius: var(--thp-button-radius);
    background: var(--thp-color-white);
    cursor: pointer;
    box-sizing: border-box;
    box-shadow: 0 0.25rem 0.75rem rgba(18, 38, 63, 0.04);
    transition:
        border-color var(--thp-transition-base),
        box-shadow var(--thp-transition-base),
        transform var(--thp-transition-base);
    position: relative;
    overflow: hidden;
}

.variation-card:hover {
    border-color: var(--thp-color-brand);
    transform: translateY(-0.0625rem);
    box-shadow: 0 0.5rem 1rem rgba(18, 38, 63, 0.08);
}

.variation-card.is-selected {
    border: var(--thp-border-width-lg) solid var(--thp-color-brand);
    background: var(--thp-color-white);
    box-shadow: 0 0 0 0.125rem var(--thp-color-brand-soft);
}

input.variation-card-input {
    display: none;
}

.variation-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1 1 auto;
    margin: 0;
    cursor: pointer;
}

.variation-card-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.1rem var(--thp-space-sm);
    border-radius: var(--thp-radius-full);
    background: var(--thp-badge-background);
    color: var(--thp-badge-color);
    font-size: var(--thp-font-size-2xs);
    font-weight: var(--thp-font-weight-medium);
}

.variation-card-top {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-height: 0;
}

.variation-card-title {
    font-size: var(--thp-font-size-base);
    font-weight: var(--thp-font-weight-semibold);
    line-height: 1.2;
    color: var(--thp-color-text);
}

.variation-card-subtitle {
    font-size: var(--thp-font-size-xs);
    line-height: 1.25;
    font-weight: var(--thp-font-weight-normal);
    color: var(--thp-color-muted);
}

.variation-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0.1rem;
    cursor: pointer;
}

.variation-card-price {
    font-size: var(--thp-font-size-base);
    font-weight: var(--thp-font-weight-semibold);
    line-height: 1;
    color: var(--thp-color-text);
}

.variation-card .variation-card-price,
.variation-card .variation-card-price .price,
.variation-card .variation-card-price .woocommerce-Price-amount,
.variation-card .variation-card-price .woocommerce-Price-currencySymbol {
    color: var(--thp-color-text) !important;
    font-size: var(--thp-font-size-base);
    font-weight: var(--thp-font-weight-semibold);
}

.variation-card-thumb {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1px;
    height: 1px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    background: var(--thp-color-white);
    opacity: 0;
    line-height: 0;
    pointer-events: none;
    clip-path: inset(50%);
    cursor: zoom-in;
    transition: transform var(--thp-transition-base), box-shadow var(--thp-transition-base), border-color var(--thp-transition-base);
}

.variation-card-thumb:hover {
    transform: none;
    border-color: color-mix(in srgb, var(--thp-color-brand) 30%, rgba(110, 136, 164, 0.14));
    box-shadow: 0 0.375rem 0.75rem rgba(18, 38, 63, 0.06);
}

.variation-card-thumb img {
    display: block;
    width: 100%;
    height: 4.75rem;
    object-fit: contain;
}

.variation-card-coverage {
    font-size: var(--thp-font-size-xs);
    line-height: 1.3;
    font-weight: var(--thp-font-weight-medium);
    color: var(--thp-color-muted);
}

.variation-selected-card {
    --thp-selected-card-stage-min-height: 24rem;
    --thp-selected-card-direct-stage-min-height: 24rem;
    --thp-selected-card-image-max-height: 24rem;
    --thp-selected-card-direct-image-max-height: 24rem;
    display: grid;
    grid-template-rows: minmax(var(--thp-selected-card-stage-min-height), 1fr) auto;
    position: relative;
    min-height: var(--thp-selected-card-stage-min-height);
    border: var(--thp-border-width) solid var(--thp-color-soft-border);
    border-radius: calc(var(--thp-button-radius) + 0.125rem);
    background: var(--thp-color-surface);
    overflow: hidden;
}

.variation-selected-card-empty {
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--thp-selected-card-stage-min-height);
    padding: var(--thp-space-lg);
    color: var(--thp-color-muted);
    font-size: var(--thp-font-size-sm);
    text-align: center;
}

.variation-selected-card-media {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: var(--thp-selected-card-stage-min-height);
    padding: var(--thp-space-md);
    background: var(--thp-color-white);
    cursor: zoom-in;
    opacity: 1;
    translate: 0 0;
    scale: 1;
    transform-origin: center;
    transition:
        opacity 760ms ease,
        scale 1040ms cubic-bezier(0.22, 1, 0.36, 1),
        translate 1040ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, scale, translate;
}

.variation-selected-card-media.is-entering {
    opacity: 0;
    translate: 0.75rem 0.5rem;
    scale: 0.88;
}

.variation-selected-card-media.is-active {
    opacity: 1;
    translate: 0 0;
    scale: 1;
}

.variation-selected-card-media.is-leaving {
    opacity: 0;
    translate: -0.75rem -0.5rem;
    scale: 1.16;
    pointer-events: none;
}

.variation-selected-card.is-zooming-out .variation-selected-card-media.is-entering {
    translate: -0.75rem -0.5rem;
    scale: 1.16;
}

.variation-selected-card.is-zooming-out .variation-selected-card-media.is-leaving {
    translate: 0.75rem 0.5rem;
    scale: 0.88;
}

.variation-selected-card-media img {
    width: 100%;
    height: 100%;
    max-height: var(--thp-selected-card-image-max-height);
    object-fit: contain;
}

.variation-selected-card-content {
    position: relative;
    z-index: 2;
    display: none;
    gap: 0.28rem;
    padding: var(--thp-space-md);
    border-top: var(--thp-border-width) solid var(--thp-color-soft-border);
    background: var(--thp-color-white);
}

@media (prefers-reduced-motion: reduce) {
    .variation-selected-card-media {
        transition: none;
        will-change: auto;
    }

    .variation-selected-card-media.is-entering,
    .variation-selected-card-media.is-active {
        opacity: 1;
        translate: 0 0;
        scale: 1;
    }

    .variation-selected-card-media.is-leaving {
        opacity: 0;
        translate: 0 0;
        scale: 1;
    }
}

.variation-selected-card-title {
    margin: 0;
    font-size: var(--thp-font-size-base-lg);
    line-height: 1.2;
    color: var(--thp-color-text);
}

.variation-selected-card-subtitle,
.variation-selected-card-coverage {
    margin: 0;
    color: var(--thp-color-muted);
    font-size: var(--thp-font-size-sm);
    line-height: 1.35;
}

.variation-selected-card-price,
.variation-selected-card-price .price,
.variation-selected-card-price .woocommerce-Price-amount,
.variation-selected-card-price .woocommerce-Price-currencySymbol {
    color: var(--thp-color-text) !important;
    font-size: var(--thp-font-size-base-lg);
    font-weight: var(--thp-font-weight-semibold);
}

.variation-heading {
    margin: var(--thp-space-sm) 0 var(--thp-space-xs);
    font-size: var(--thp-font-size-md);
    font-weight: var(--thp-font-weight-bold);
    color: var(--thp-color-heading-dark);
}

.single-product .elementor-widget-heading:has(+ .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-woocommerce-product-add-to-cart),
.single-product .elementor-widget-heading:has(+ .elementor-widget-text-editor + .elementor-widget-woocommerce-product-add-to-cart),
.single-product .elementor-widget-text-editor:has(+ .elementor-widget-woocommerce-product-add-to-cart),
.single-product .variation-heading,
.single-product .variation-subheading {
    text-align: center;
}

.elementor-widget:not(:last-child) {
    margin-block-end: 0;
}

.variations.has-cards .label {
    display: none;
}

.variations.has-heading .label {
    display: none;
}

.single-product form.cart.thp-country-license-form .country-license-wrap {
    position: relative;
    display: grid;
    gap: var(--thp-space-lg-xl);
    width: 100%;
    padding: clamp(var(--thp-space-lg), 2.2vw, var(--thp-space-xl-md));
    border: var(--thp-border-width-md) solid var(--thp-color-soft-border);
    border-bottom: 0;
    border-radius: var(--thp-radius-card) var(--thp-radius-card) 0 0;
    background: var(--thp-variation-overlay-bg);
    box-sizing: border-box;
}

.single-product form.cart.thp-country-license-form .country-license-wrap::before {
    content: '';
    position: absolute;
    inset: var(--thp-space-md);
    z-index: 0;
    border: var(--thp-border-width-md) solid var(--thp-color-brand);
    border-top-width: 0.34rem;
    border-bottom: 0;
    border-radius: calc(var(--thp-button-radius) + 0.125rem) calc(var(--thp-button-radius) + 0.125rem) 0 0;
    background: var(--thp-color-white);
    pointer-events: none;
}

.single-product form.cart.thp-country-license-form .country-license-wrap>* {
    position: relative;
    z-index: 1;
}

.single-product form.cart.thp-country-license-form .variations {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    margin: 0;
    padding: var(--thp-space-lg-xl) var(--thp-space-lg-xl) 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.single-product form.cart.thp-country-license-form .variations:has(.variation-search.vs-open) {
    z-index: 60;
}

.single-product form.cart.thp-country-license-form .variations tbody,
.single-product form.cart.thp-country-license-form .variations tr,
.single-product form.cart.thp-country-license-form .variations td.value {
    display: block;
    width: 100%;
}

.single-product form.cart.thp-country-license-form .variation-heading {
    margin-top: 0;
}

.single-product form.cart.thp-country-license-form .variation-subheading {
    margin-right: auto;
    margin-left: auto;
    color: var(--thp-color-muted);
}

.single-product form.cart.thp-country-license-form .variation-search {
    width: min(100%, 64rem);
    margin: var(--thp-space-xl) auto 0;
}

.single-product form.cart.thp-country-license-form .variation-search input[type='search'] {
    min-height: 3.75rem;
    box-shadow: var(--thp-shadow-sm);
}

.single-product form.cart.thp-country-license-form .single_variation_wrap {
    padding: 0 var(--thp-space-lg-xl) var(--thp-space-lg-xl);
}

.single-product form.cart.thp-country-license-form .thp-product-sticky-total {
    margin-top: 0;
}

@media (max-width: 47.9375rem) {
    .single-product form.cart.thp-country-license-form .country-license-wrap {
        gap: var(--thp-space-md);
        padding: var(--thp-space-sm);
    }

    .single-product form.cart.thp-country-license-form .country-license-wrap::before {
        inset: var(--thp-space-xs);
    }

    .single-product form.cart.thp-country-license-form .variations {
        padding: var(--thp-space-lg) var(--thp-space-md) 0;
    }

    .single-product form.cart.thp-country-license-form .single_variation_wrap {
        padding: 0 var(--thp-space-md) var(--thp-space-lg);
    }
}

.variation-search {
    position: relative;
    margin: var(--thp-space-sm-lg) 0 var(--thp-space-sm-xs);
}

.variation-search.vs-open {
    z-index: 70;
}

.variation-search input[type='search'] {
    width: 100%;
    padding: var(--thp-space-sm-lg) 3.25rem var(--thp-space-sm-lg) var(--thp-space-2xl-alt);
    border-radius: var(--thp-radius-lg);
    border: var(--thp-border-width-lg) solid var(--thp-color-search-border);
    font-size: var(--thp-font-size-base-lg);
    background: var(--thp-color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7a99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") no-repeat var(--thp-space-md) center;
    transition: border-color var(--thp-transition-sm), box-shadow var(--thp-transition-sm);
    box-sizing: border-box;
}

.single-product form.cart .variation-search .variation-search__clear {
    appearance: none;
    position: absolute;
    top: 50%;
    right: var(--thp-space-md);
    z-index: 2;
    display: inline-grid;
    width: 1.75rem;
    min-width: 1.75rem;
    max-width: 1.75rem;
    height: 1.75rem;
    min-height: 1.75rem;
    max-height: 1.75rem;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    place-items: center;
    color: var(--thp-color-muted) !important;
    background: transparent !important;
    box-shadow: none !important;
    font-family: inherit;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    translate: 0 -50%;
    transition: color var(--thp-transition-fast), background-color var(--thp-transition-fast);
}

.single-product form.cart .variation-search .variation-search__clear:hover,
.single-product form.cart .variation-search .variation-search__clear:focus-visible {
    color: var(--thp-color-search-accent) !important;
    background: var(--thp-color-search-bg) !important;
    transform: none;
}

.single-product form.cart .variation-search .variation-search__clear:focus-visible {
    outline: 0.125rem solid var(--thp-color-search-accent);
    outline-offset: 0.125rem;
}

.variation-search input[type='search']:placeholder-shown + .variation-search__clear {
    display: none;
}

.variation-search input[type='search']::-webkit-search-cancel-button {
    display: none;
}

.variation-search input[type='search']:focus {
    border-color: var(--thp-color-search-accent);
    outline: none;
    box-shadow: 0 0 0 0.1875rem rgba(11, 122, 203, 0.12);
}

.variation-search.vs-open input[type='search'] {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: var(--thp-color-search-open-border);
    box-shadow: none;
}

.vs-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--thp-color-white);
    border: var(--thp-border-width-lg) solid var(--thp-color-search-accent);
    border-top: var(--thp-border-width-md) solid var(--thp-color-search-dropdown-border);
    border-radius: 0 0 var(--thp-radius-lg) var(--thp-radius-lg);
    max-height: var(--thp-size-wapo-max-height);
    overflow-y: auto;
    z-index: 80;
    box-shadow: var(--thp-shadow-search);
}

.variation-search.vs-open .vs-dropdown {
    display: block;
}

.vs-option {
    min-height: 3rem;
    padding: var(--thp-space-md) var(--thp-space-lg);
    cursor: pointer;
    font-size: var(--thp-font-size-md);
    line-height: 1.35;
    color: var(--thp-color-search-text);
    border-bottom: var(--thp-border-width-md) solid var(--thp-color-search-divider);
    transition: background var(--thp-transition-fast), color var(--thp-transition-fast);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--thp-space-lg);
}

.vs-option-name {
    font-weight: var(--thp-font-weight-medium);
}

.vs-option-price {
    flex: 0 0 auto;
    color: var(--thp-color-search-accent);
    font-weight: var(--thp-font-weight-semibold);
}

.vs-option:last-child {
    border-bottom: none;
}

.vs-option:hover {
    background: var(--thp-color-search-bg);
    color: var(--thp-color-search-accent);
}

.vs-option--selected {
    color: var(--thp-color-search-accent);
    font-weight: var(--thp-font-weight-semibold);
    background: var(--thp-color-search-selected-bg);
}

.vs-option--empty {
    color: var(--thp-color-search-empty);
    cursor: default;
    font-style: italic;
}

#yith-wapo-container {
    position: relative;
    z-index: 40;
    display: grid;
    gap: var(--thp-space-md);
    margin-top: var(--thp-space-md);
    padding: 0;
    background: var(--thp-color-white);
    border-radius: 0;
}

#yith-wapo-container .yith-wapo-addon,
#yith-wapo-container .yith-wapo-option,
#yith-wapo-container .yith-wapo-addon-label {
    position: relative;
}

#yith-wapo-container.thp-wapo-is-updating {
    pointer-events: none;
    cursor: progress;
}

#yith-wapo-container.thp-wapo-is-updating * {
    pointer-events: none;
}

.single-product form.cart.variations_form .woocommerce-variation-add-to-cart {
    display: grid !important;
    grid-template-columns: minmax(5.5rem, auto) minmax(0, 1fr);
    gap: var(--thp-space-md);
    align-items: end;
}

.single-product form.cart.variations_form.thp-global-region-selected .woocommerce-variation-add-to-cart {
    padding: 1rem 0;
}

.single-product form.cart.variations_form .woocommerce-variation-add-to-cart>#yith-wapo-container {
    grid-column: 1 / -1;
}

.single-product form.cart.variations_form .woocommerce-variation-add-to-cart>#yith-wapo-container:not(:has(.yith-wapo-block, .yith-wapo-addon, .wapo-radio-group, #wapo-total-price-table)) {
    display: none;
}

.single-product form.cart.variations_form .woocommerce-variation-add-to-cart>.quantity {
    float: none;
    margin: 0;
    min-width: 5.5rem;
}

.single-product form.cart.variations_form .woocommerce-variation-add-to-cart>.quantity .qty {
    width: 100%;
    min-height: 3.5rem;
    border-radius: var(--thp-button-radius);
    border: var(--thp-border-width-md) solid var(--thp-color-search-border);
    background: var(--thp-color-white);
}

.single-product form.cart.variations_form .woocommerce-variation-add-to-cart>.single_add_to_cart_button.button.alt {
    float: none;
    display: inline-flex;
    align-items: center;
    width: 100%;
    min-height: 3.5rem;
    justify-content: center;
}

.single-product form.cart.variations_form.thp-country-license-form .woocommerce-variation-add-to-cart>.quantity,
.single-product form.cart.variations_form.thp-country-license-form .woocommerce-variation-add-to-cart>.single_add_to_cart_button.button.alt {
    display: none !important;
}

.thp-product-sticky-total {
    position: sticky;
    bottom: 0;
    z-index: 90;
    width: calc(100% + 2 * var(--thp-variation-overlay-padding));
    margin-left: calc(-1 * var(--thp-variation-overlay-padding));
    padding: var(--thp-space-md) 0;
    border-top: var(--thp-border-width-md) solid rgba(255, 255, 255, 0.12);
    border-radius: 0 0 var(--thp-radius-card) var(--thp-radius-card);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 42%),
        var(--thp-product-sticky-total-bg);
    color: var(--thp-color-white);
    box-shadow: 0 -0.75rem 1.75rem rgba(18, 38, 63, 0.22);
    box-sizing: border-box;
}

.thp-product-sticky-total>.thp-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--thp-space-2xl);
    width: 100%;
    padding: 0 var(--thp-space-2xl);
    box-sizing: border-box;
}

.thp-product-sticky-total__clear {
    appearance: none;
    display: none;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    min-height: 2.35rem;
    margin: 0 auto 0 0;
    padding: var(--thp-space-xs) var(--thp-space-md-lg);
    border: var(--thp-border-width-md) solid rgba(255, 255, 255, 0.34);
    border-radius: var(--thp-button-radius);
    background: rgba(255, 255, 255, 0.08);
    color: var(--thp-color-white);
    font-family: inherit;
    font-size: var(--thp-font-size-sm);
    font-weight: var(--thp-font-weight-semibold);
    line-height: var(--thp-line-height-tight);
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
    transition: border-color var(--thp-transition-base), background-color var(--thp-transition-base), color var(--thp-transition-base), transform var(--thp-transition-base);
}

.thp-product-sticky-total__clear[style*="visibility: visible"] {
    display: inline-flex;
}

.thp-product-sticky-total__clear:hover,
.thp-product-sticky-total__clear:focus-visible {
    border-color: rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.16);
    color: var(--thp-color-white);
    transform: translateY(-0.0625rem);
}

.thp-product-sticky-total__clear:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.125rem rgba(255, 255, 255, 0.2);
}

.thp-product-sticky-total__summary {
    display: grid;
    gap: var(--thp-space-2xs);
    justify-items: end;
    line-height: 1.2;
    padding: 0.15rem 0;
}

.thp-product-sticky-total__amount {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--thp-space-xs);
    color: var(--thp-color-white);
    font-size: var(--thp-font-size-xl);
    font-weight: var(--thp-font-weight-extrabold);
    text-shadow: 0 0.08rem 0.35rem rgba(0, 0, 0, 0.16);
}

.thp-product-sticky-total.is-loading-total [data-thp-sticky-total-amount] {
    color: rgba(255, 255, 255, 0.9);
    background: transparent !important;
    animation: thp-sticky-total-pulse 850ms ease-in-out infinite alternate;
}

.thp-product-sticky-total.is-loading-total [data-thp-sticky-total-amount]::after {
    content: none;
}

@keyframes thp-sticky-total-pulse {
    from {
        opacity: 0.42;
        transform: scale(0.99);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.thp-product-sticky-total__options {
    color: rgba(255, 255, 255, 0.84);
    font-size: var(--thp-font-size-xs);
}

.single-product .single_add_to_cart_button.button.alt.thp-product-sticky-total__button {
    min-width: 10rem;
    min-height: 2.7rem;
    padding: var(--thp-space-sm-lg) var(--thp-space-xl);
    background: var(--thp-color-white) !important;
    color: var(--thp-color-brand) !important;
    text-transform: none;
    letter-spacing: 0;
    font-size: var(--thp-font-size-base-lg);
    border-radius: var(--thp-button-radius);
    box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.14);
    transition: transform var(--thp-transition-base), box-shadow var(--thp-transition-base), background-color var(--thp-transition-base), color var(--thp-transition-base);
}

.single-product .single_add_to_cart_button.button.alt.thp-product-sticky-total__button:hover:not(.disabled):not(:disabled) {
    background: var(--thp-color-surface) !important;
    color: var(--thp-color-brand-hover) !important;
    box-shadow: 0 0.5rem 1.2rem rgba(0, 0, 0, 0.18);
    transform: translateY(-0.0625rem);
}

.single-product .single_add_to_cart_button.button.alt.thp-product-sticky-total__button.disabled,
.single-product .single_add_to_cart_button.button.alt.thp-product-sticky-total__button:disabled,
.single-product .single_add_to_cart_button.button.alt.thp-product-sticky-total__button.wc-variation-selection-needed {
    background: rgba(255, 255, 255, 0.48) !important;
    color: rgba(21, 38, 69, 0.74) !important;
}

@media (max-width: 47.9375rem) {
    .variation-cards-wrap {
        --thp-variation-overlay-padding: var(--thp-space-md);
        --thp-variation-overlay-bridge-offset: var(--thp-space-sm);
        --thp-variation-overlay-bridge-height: var(--thp-space-2xl);
        --thp-variation-group-gap: var(--thp-space-md);
        --thp-product-steps-inline-padding: var(--thp-space-md);
        overflow-anchor: none;
    }

    .variation-group-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .variation-group-item {
        display: grid;
        gap: var(--thp-space-md);
    }

    .single-product form.variations_form .variation-cards-wrap .variation-group-card {
        grid-template-columns: minmax(0, 1fr) 4.75rem;
        order: initial;
        min-height: 7rem;
        padding: 0.8rem var(--thp-space-md) 0.88rem;
    }

    .single-product form.variations_form .variation-cards-wrap .variation-group-card[data-group-mode="expand"].is-active::before,
    .single-product form.variations_form .variation-cards-wrap .variation-group-card[data-group-mode="direct"].is-active::before {
        border-bottom: var(--thp-border-width-md) solid var(--thp-color-soft-border);
        border-radius: calc(var(--thp-button-radius) + var(--thp-variation-overlay-padding)) calc(var(--thp-button-radius) + var(--thp-variation-overlay-padding)) 0 0;
    }

    .single-product form.variations_form .variation-cards-wrap .variation-group-card[data-group-mode="expand"].is-active::after,
    .single-product form.variations_form .variation-cards-wrap .variation-group-card[data-group-mode="direct"].is-active::after {
        content: none;
    }

    .variation-group-card-content {
        min-height: 0;
    }

    .variation-group-card-action {
        left: 0;
        right: 0;
        bottom: 0;
        min-width: 0;
        padding: 0 0.5rem 0.13rem;
    }

    .variation-group-card-header {
        gap: 0.375rem 0.5rem;
    }

    .variation-group-card-media {
        width: 4.75rem;
        height: 3.5rem;
    }

    .variation-group-card-title {
        min-height: 0;
    }

    .variation-group-panel {
        order: initial;
        grid-column: auto;
        margin-top: 0.625rem;
        padding: var(--thp-space-md);
    }

    .variation-group-panel.is-active::before {
        inset: calc(-1 * var(--thp-variation-overlay-padding)) 0 0;
        border-bottom: 0;
        border-radius: 0;
    }

    .variation-selection-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .variation-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--thp-space-sm);
    }

    .variation-card {
        padding: var(--thp-space-sm-lg) var(--thp-space-md);
    }

    .variation-selected-card {
        --thp-selected-card-stage-min-height: 11rem;
    }

    .variation-group-panel.is-direct .variation-selected-card {
        --thp-selected-card-stage-min-height: 14rem;
    }

    .yith-wapo-addon-type-select .wapo-radio-group {
        grid-template-columns: minmax(0, 1fr);
    }

    .pp-buttons-stack-mobile.pp-buttons-halign-center .pp-buttons-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .single-product form.cart.variations_form .woocommerce-variation-add-to-cart {
        grid-template-columns: minmax(0, 1fr);
    }

    .single-product form.cart.variations_form .woocommerce-variation-add-to-cart>.single_add_to_cart_button.button.alt {
        width: 100%;
    }

    .thp-product-sticky-total {
        padding: var(--thp-space-md) 0;
        width: 100%;
        margin-left: 0;
    }

    .thp-product-sticky-total>.thp-container {
        align-items: stretch;
        flex-direction: column;
        gap: var(--thp-space-sm-lg);
        padding: 0 var(--thp-space-md);
    }

    .thp-product-sticky-total__clear {
        align-self: flex-start;
        margin: 0;
    }

    .thp-product-sticky-total__summary {
        justify-items: center;
        text-align: center;
    }

    .single-product .single_add_to_cart_button.button.alt.thp-product-sticky-total__button {
        margin: 0 !important;
        width: 100%;
    }
}

#yith-wapo-container .yith-wapo-block {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.wapo-select-hidden {
    display: none !important;
}

.wapo-radio-group {
    display: grid;
    gap: var(--thp-space-sm);
}

.yith-wapo-addon-type-select .wapo-radio-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wapo-card {
    position: relative;
    display: grid;
    grid-template-columns: var(--thp-size-checkbox) minmax(0, 1fr);
    gap: var(--thp-space-xs) var(--thp-space-md);
    align-items: center;
    padding: var(--thp-space-sm-lg) var(--thp-space-md);
    border: var(--thp-border-width) solid var(--thp-color-border);
    border-radius: var(--thp-button-radius);
    background: var(--thp-color-surface);
    box-shadow: none;
    transition: border-color var(--thp-transition-md), background-color var(--thp-transition-md);
    cursor: pointer;
}

.wapo-card::before {
    content: '';
    width: var(--thp-size-checkbox);
    height: var(--thp-size-checkbox);
    margin-top: var(--thp-space-2xs);
    border: var(--thp-border-width-lg) solid var(--thp-color-border);
    border-radius: 50%;
    background: var(--thp-color-white);
    grid-column: 1;
    grid-row: 1;
    transition: border-color var(--thp-transition-md), background-color var(--thp-transition-md);
}

.wapo-card:hover {
    border-color: var(--thp-color-brand);
}

.wapo-card input[type='radio'] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.wapo-card.is-selected,
.wapo-card:has(input[type='radio']:checked) {
    border-color: var(--thp-color-brand);
    background: var(--thp-color-panel);
}

.wapo-card.is-selected::before,
.wapo-card:has(input[type='radio']:checked)::before {
    border-color: var(--thp-color-brand);
    background: radial-gradient(circle, var(--thp-color-brand) 0 0.25rem, var(--thp-color-white) 0.25rem);
}

.wapo-card .wapo-card-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    grid-column: 2;
    grid-row: 1;
}

.wapo-card .wapo-card-header {
    display: flex;
    align-items: center;
    gap: var(--thp-space-sm);
    flex-wrap: wrap;
}

.wapo-card .wapo-card-title {
    font-size: var(--thp-font-size-base);
    font-weight: var(--thp-font-weight-medium);
    line-height: 1.4;
    color: var(--thp-color-text);
}

.wapo-card .wapo-card-price {
    display: inline-flex;
    align-items: center;
    /* margin-left: auto; */
    white-space: nowrap;
    padding: var(--thp-space-2xs) var(--thp-space-sm);
    border-radius: var(--thp-radius-full);
    background: var(--thp-color-brand-soft);
    color: var(--thp-color-brand) !important;
    font-size: var(--thp-font-size-xs);
    font-weight: var(--thp-font-weight-medium);
    line-height: 1.4;
    flex-shrink: 0;
}

.wapo-card .wapo-card-price *,
.yith-wapo-addon-label .option-price * {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit;
}

.wapo-card .wapo-card-subtitle,
.wapo-card .wapo-card-desc {
    display: block;
    margin: var(--thp-space-xs) 0 0;
    font-size: var(--thp-font-size-sm);
    line-height: 1.4;
    font-weight: var(--thp-font-weight-normal);
    color: var(--thp-color-muted);
}

.wapo-card .wapo-card-subtitle {
    margin-top: var(--thp-space-xs);
}

.wapo-card .wapo-card-subtitle--surcharge {
    display: inline-block;
    align-self: flex-start;
    margin-top: var(--thp-space-sm-xs);
    padding: var(--thp-space-2xs) var(--thp-space-sm);
    border-radius: var(--thp-radius-full);
    background: var(--thp-color-surcharge-bg);
    color: var(--thp-color-surcharge-text);
    font-size: var(--thp-font-size-xs);
    font-weight: var(--thp-font-weight-medium);
    line-height: 1.4;
}

.wapo-card .wapo-card-desc {
    overflow: visible;
}

.wapo-card .wapo-card-desc--surcharge {
    display: inline-block;
    align-self: flex-start;
    margin-top: var(--thp-space-sm-xs);
    padding: var(--thp-space-2xs) var(--thp-space-sm);
    border-radius: var(--thp-radius-full);
    background: var(--thp-color-surcharge-bg);
    color: var(--thp-color-surcharge-text);
    font-size: var(--thp-font-size-xs);
    font-weight: var(--thp-font-weight-medium);
    line-height: 1.4;
}

.yith-wapo-addon .addon-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--thp-space-md);
}

/* Hide the header entirely when the title span is empty and there is no image or required marker */
.yith-wapo-addon .addon-header:not(:has(.title-image)):not(:has(.required)):has(.wapo-addon-title > span:first-child:empty) {
    display: none;
}

.yith-wapo-addon .wapo-addon-title {
    margin: 0;
    font-size: var(--thp-font-size-md);
    font-weight: var(--thp-font-weight-bold);
    letter-spacing: 0.01em;
    color: var(--thp-color-text);
}

.yith-wapo-addon .required {
    color: var(--thp-color-brand);
    margin-left: var(--thp-space-sm-xs);
}

.yith-wapo-addon .options-container .options {
    width: 100% !important;
}

.yith-wapo-addon .options-container .options.per-row-1 {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--thp-space-sm) !important;
    grid-template-columns: none !important;
}

.yith-wapo-addon-type-checkbox .yith-wapo-option {
    padding: var(--thp-space-sm-lg) var(--thp-space-md);
    border: var(--thp-border-width) solid var(--thp-color-border);
    border-radius: var(--thp-button-radius);
    background: var(--thp-color-surface);
    transition: border-color var(--thp-transition-md), background-color var(--thp-transition-md);
}

.yith-wapo-addon-type-checkbox .yith-wapo-option:has(input[type='checkbox']:checked) {
    border-color: var(--thp-color-brand);
    background: var(--thp-color-panel);
}

.checkbox-button-container {
    display: block;
}

.checkbox-button-container .label {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--thp-space-md);
    flex-wrap: wrap;
}

.checkbox-button-container .label::before {
    content: '';
    width: var(--thp-size-checkbox);
    height: var(--thp-size-checkbox);
    border: var(--thp-border-width-lg) solid var(--thp-color-border);
    border-radius: var(--thp-radius-sm);
    background: var(--thp-color-white);
    grid-column: 1;
    grid-row: 1;
    transition: border-color var(--thp-transition-md), background-color var(--thp-transition-md);
}

.checkbox-button-container .label:has(input[type='checkbox']:checked)::before {
    border-color: var(--thp-color-brand);
    background: var(--thp-color-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5 6.5 11.5 12.5 4.5' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 0.75rem 0.75rem;
}

.checkbox-button-container input[type='checkbox'] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    /* pointer-events: none; */
}

.checkbox-button-container .option-container {
    grid-column: 2;
    min-width: 0;
}

.checkbox-button-container .input-number.quantity {
    grid-column: 3;
    margin: 0;
}

.yith-wapo-addon-label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--thp-space-sm-xs) var(--thp-space-sm);
    font-size: var(--thp-font-size-base);
    font-weight: var(--thp-font-weight-medium);
    line-height: 1.4;
    color: var(--thp-color-text);
}

.yith-wapo-option .label {
    display: flex;
    align-items: center;
    gap: var(--thp-space-md);
    flex-wrap: wrap;
}

.yith-wapo-addon-label .option-price {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: var(--thp-space-2xs) var(--thp-space-sm);
    border-radius: var(--thp-radius-full);
    background: var(--thp-color-brand-soft);
    color: var(--thp-color-brand) !important;
    font-size: var(--thp-font-size-xs);
    font-weight: var(--thp-font-weight-medium);
    line-height: 1.4;
}

.yith-wapo-option .label .option-price,
.yith-wapo-option .label small.option-price {
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
}

.yith-wapo-option .tooltip {
    z-index: 120;
    background: var(--thp-color-brand);
    color: var(--thp-color-white);
}

.yith-wapo-block .yith-wapo-addon .yith-wapo-option .yith-wapo-addon-label .tooltip {
    z-index: 120;
}

.quantity-addon .input-number.quantity {
    display: flex;
    flex: 0 0 auto;
    align-items: stretch;
    overflow: hidden;
    border: var(--thp-border-width) solid var(--thp-color-border);
    border-radius: var(--thp-button-radius);
    background: var(--thp-color-white);
}

.quantity-addon .input-number.quantity .thp-stepper-btn {
    width: 2rem;
    min-width: 2rem;
    height: 2rem;
    padding: 0;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: var(--thp-color-surface) !important;
    color: var(--thp-color-brand) !important;
    font-size: var(--thp-font-size-xl);
    font-weight: var(--thp-font-weight-normal);
    line-height: 1;
    cursor: pointer;
    box-shadow: none !important;
    text-shadow: none !important;
    transition: background-color var(--thp-transition-md), color var(--thp-transition-md);
}

.quantity-addon .input-number.quantity .thp-stepper-btn:hover,
.quantity-addon .input-number.quantity .thp-stepper-btn:focus-visible {
    background: var(--thp-color-brand-soft) !important;
    color: var(--thp-color-brand) !important;
    outline: none;
}

.quantity-addon .input-number.quantity .thp-stepper-minus {
    border-right: 0.03125rem solid var(--thp-color-border) !important;
}

.quantity-addon .input-number.quantity .thp-stepper-plus {
    border-left: 0.03125rem solid var(--thp-color-border) !important;
}

.quantity-addon .input-number.quantity input[type='number'] {
    /* width: 40px !important;
    min-width: 40px;
    max-width: 40px; */
    height: auto ! important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: var(--thp-color-white);
    color: var(--thp-color-text);
    text-align: center;
    font-size: var(--thp-font-size-base);
    font-weight: var(--thp-font-weight-medium);
    box-shadow: none;
    appearance: textfield;
    -moz-appearance: textfield;
}

.quantity-addon .input-number.quantity input[type='number']::-webkit-outer-spin-button,
.quantity-addon .input-number.quantity input[type='number']::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.quantity-addon .input-number.quantity input[type='number']:focus {
    outline: none;
}

@media (max-width: 47.9375rem) {
    .yith-wapo-addon-type-select .wapo-radio-group {
        grid-template-columns: minmax(0, 1fr);
    }
}

#wapo-total-price-table {
    display: none;
    margin-top: var(--thp-space-sm-lg);
    border-collapse: collapse;
    background: var(--thp-color-white);
    border-radius: var(--thp-radius-lg);
    overflow: hidden;
    box-shadow: var(--thp-shadow-wapo);
    border: var(--thp-border-width) solid var(--thp-color-border);
    margin: 0;
}

#wapo-total-price-table table {
    width: 100%;
    margin: 0;
}

#wapo-total-price-table tr,
#wapo-total-price-table th,
#wapo-total-price-table td {
    border: 0;
}

#wapo-total-price-table tr:not(:last-child) {
    border-bottom: var(--thp-border-width-md) solid var(--thp-color-soft-border);
}

#wapo-total-price-table th {
    border-right: var(--thp-border-width-md) solid var(--thp-color-soft-border);
}

#wapo-total-price-table th,
#wapo-total-price-table td {
    padding: var(--thp-space-md) var(--thp-space-md-lg);
    font-size: var(--thp-font-size-base-lg);
    width: 50%;
}

#wapo-total-price-table th {
    background: var(--thp-color-surface);
    font-weight: var(--thp-font-weight-bold);
    color: var(--thp-color-heading-dark);
}

.single-product .e-atc-qty-button-holder {
    display: none !important;
    margin-top: var(--thp-space-lg-xl) !important;
    justify-content: center;
    text-align: center;
}

.single-product a.added_to_cart {
    display: none;
}

.single-product .single_add_to_cart_button.button.alt {
    background-color: var(--thp-button-bg) !important;
    color: var(--thp-color-white) !important;
    border: none;
    border-radius: var(--thp-button-radius);
    padding: var(--thp-space-md-lg) var(--thp-space-md-xl);
    text-transform: uppercase;
    font-weight: var(--thp-font-weight-extrabold);
    letter-spacing: 0.04em;
    transition: transform var(--thp-transition-sm), box-shadow var(--thp-transition-sm), opacity var(--thp-transition-sm);
    margin: 0;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

.single-product .single_add_to_cart_button.button.alt:hover:not(.disabled):not(:disabled) {
    background-color: var(--thp-button-bg-hover) !important;
    transform: translateY(-0.0625rem);
    box-shadow: var(--thp-shadow-add-to-cart) color-mix(in srgb, var(--thp-button-bg) 30%, transparent);
}

.single-product .woocommerce-variation.single_variation {
    display: none ! important;
}

.single-product .single_add_to_cart_button.button.alt.disabled,
.single-product .single_add_to_cart_button.button.alt:disabled,
.single-product .single_add_to_cart_button.button.alt:disabled[disabled],
.single-product .single_add_to_cart_button.button.alt.wc-variation-selection-needed {
    background-color: var(--thp-button-disabled-bg) !important;
    color: var(--thp-button-disabled-text) !important;
    opacity: 1;
    cursor: not-allowed;
    box-shadow: none;
}

.single-product .single_add_to_cart_button.button.alt.thp-is-adding,
.single-product .single_add_to_cart_button.button.alt.thp-was-added {
    position: relative;
    padding-right: 1rem;
    opacity: 0.86;
}

.single-product .single_add_to_cart_button.button.alt.thp-is-adding::after {
    content: '';
    display: inline-block;
    width: var(--thp-size-spinner);
    height: var(--thp-size-spinner);
    margin-left: var(--thp-space-sm-lg);
    border: var(--thp-border-width-xl) solid rgba(255, 255, 255, 0.55);
    border-top-color: var(--thp-color-white);
    border-radius: 50%;
    animation: thp-button-spin 700ms linear infinite;
    vertical-align: -0.125rem;
}

@keyframes thp-button-spin {
    to {
        transform: rotate(360deg);
    }
}

.variations .reset_variations:not(.thp-product-sticky-total__clear) {
    display: none;
    align-items: center;
    margin-top: var(--thp-space-lg);
    padding: 0.1rem 0.475rem;
    border: 0.0625rem solid var(--thp-color-border);
    border-radius: var(--thp-radius-md);
    background: var(--thp-color-white);
    color: var(--thp-color-muted);
    font-size: var(--thp-font-size-sm);
    font-weight: var(--thp-font-weight-medium);
    text-decoration: none;
    box-shadow: 0 0.125rem 0.375rem rgba(18, 38, 63, 0.04);
    transition: border-color var(--thp-transition-base), color var(--thp-transition-base), background-color var(--thp-transition-base), box-shadow var(--thp-transition-base), transform var(--thp-transition-base);
}

.variations .reset_variations:not(.thp-product-sticky-total__clear)[style*="visibility: visible"] {
    display: inline-flex;
}

.variations .reset_variations:not(.thp-product-sticky-total__clear):hover {
    border-color: var(--thp-reset-hover-border);
    color: var(--thp-reset-hover-color);
    background: var(--thp-reset-hover-background);
    box-shadow: 0 0.375rem 0.875rem rgba(155, 68, 86, 0.12);
    transform: translateY(-0.0625rem);
}

.variations .reset_variations:not(.thp-product-sticky-total__clear):focus-visible {
    outline: none;
    border-color: var(--thp-reset-hover-border);
    color: var(--thp-reset-hover-color);
    background: var(--thp-reset-hover-background);
    box-shadow: 0 0 0 0.125rem rgba(155, 68, 86, 0.14);
}

.thp-ajax-add-to-cart-notices,
.single-product .woocommerce-notices-wrapper {
    position: fixed;
    top: 1rem;
    left: 50%;
    width: min(34rem, calc(100% - 2rem));
    transform: translateX(-50%);
    text-align: left;
    z-index: 9999;
    margin: 0;
    pointer-events: none;
}

.thp-ajax-add-to-cart-notices>*,
.single-product .woocommerce-notices-wrapper>* {
    pointer-events: auto;
}

.thp-ajax-add-to-cart-notices.thp-notice-is-visible .woocommerce-error,
.single-product .woocommerce-notices-wrapper.thp-notice-is-visible .woocommerce-error,
.thp-ajax-add-to-cart-notices.thp-notice-is-visible .woocommerce-message,
.single-product .woocommerce-notices-wrapper.thp-notice-is-visible .woocommerce-message,
.thp-ajax-add-to-cart-notices.thp-notice-is-visible .woocommerce-info,
.single-product .woocommerce-notices-wrapper.thp-notice-is-visible .woocommerce-info {
    animation: thpNoticeFadeIn 0.22s ease-out;
}

.thp-ajax-add-to-cart-notices .woocommerce-error,
.single-product .woocommerce-notices-wrapper .woocommerce-error,
.thp-ajax-add-to-cart-notices .woocommerce-message,
.single-product .woocommerce-notices-wrapper .woocommerce-message,
.thp-ajax-add-to-cart-notices .woocommerce-info,
.single-product .woocommerce-notices-wrapper .woocommerce-info {
    position: relative;
    margin: 0;
    padding: 0.95rem 1rem 1rem 1rem;
    border: 0.0625rem solid #efc7cf;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.98);
    color: var(--thp-color-text);
    box-shadow: 0 1rem 2.25rem rgba(18, 38, 63, 0.14);
    list-style: none;
    overflow: hidden;
}

.thp-ajax-add-to-cart-notices .woocommerce-error,
.single-product .woocommerce-notices-wrapper .woocommerce-error {
    padding-left: 1rem !important;
}

.thp-ajax-add-to-cart-notices .woocommerce-message,
.single-product .woocommerce-notices-wrapper .woocommerce-message,
.thp-ajax-add-to-cart-notices .woocommerce-info,
.single-product .woocommerce-notices-wrapper .woocommerce-info {
    border-color: color-mix(in srgb, var(--thp-color-brand) 20%, white);
}

.thp-ajax-add-to-cart-notices .woocommerce-error::before,
.single-product .woocommerce-notices-wrapper .woocommerce-error::before,
.thp-ajax-add-to-cart-notices .woocommerce-message::before,
.single-product .woocommerce-notices-wrapper .woocommerce-message::before,
.thp-ajax-add-to-cart-notices .woocommerce-info::before,
.single-product .woocommerce-notices-wrapper .woocommerce-info::before {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: auto !important;
    height: auto !important;
    float: none !important;
    display: block;
    margin-bottom: 0.375rem;
    padding: 0;
    background: none;
    line-height: 1.2;
    font-size: var(--thp-font-size-xs);
    font-weight: var(--thp-font-weight-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.thp-ajax-add-to-cart-notices .woocommerce-error::before,
.single-product .woocommerce-notices-wrapper .woocommerce-error::before {
    content: 'Action needed';
    color: #9B4456;
}

.thp-ajax-add-to-cart-notices .woocommerce-message::before,
.single-product .woocommerce-notices-wrapper .woocommerce-message::before {
    content: 'Done';
    color: var(--thp-color-brand);
}

.thp-ajax-add-to-cart-notices .woocommerce-info::before,
.single-product .woocommerce-notices-wrapper .woocommerce-info::before {
    content: 'Info';
    color: var(--thp-color-brand);
}

.thp-ajax-add-to-cart-notices .woocommerce-message::after,
.single-product .woocommerce-notices-wrapper .woocommerce-message::after,
.thp-ajax-add-to-cart-notices .woocommerce-info::after,
.single-product .woocommerce-notices-wrapper .woocommerce-info::after {
    background: color-mix(in srgb, var(--thp-color-brand) 22%, white);
}

.thp-ajax-add-to-cart-notices .woocommerce-error::after,
.single-product .woocommerce-notices-wrapper .woocommerce-error::after,
.thp-ajax-add-to-cart-notices .woocommerce-message::after,
.single-product .woocommerce-notices-wrapper .woocommerce-message::after,
.thp-ajax-add-to-cart-notices .woocommerce-info::after,
.single-product .woocommerce-notices-wrapper .woocommerce-info::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 0.1875rem;
    background: color-mix(in srgb, #9B4456 22%, white);
    transform-origin: left center;
}

.thp-ajax-add-to-cart-notices.thp-notice-autoclose .woocommerce-error::after,
.single-product .woocommerce-notices-wrapper.thp-notice-autoclose .woocommerce-error::after,
.thp-ajax-add-to-cart-notices.thp-notice-autoclose .woocommerce-message::after,
.single-product .woocommerce-notices-wrapper.thp-notice-autoclose .woocommerce-message::after,
.thp-ajax-add-to-cart-notices.thp-notice-autoclose .woocommerce-info::after,
.single-product .woocommerce-notices-wrapper.thp-notice-autoclose .woocommerce-info::after {
    animation: thpNoticeTimer 5.6s linear forwards;
}

.thp-ajax-add-to-cart-notices .woocommerce-error li,
.single-product .woocommerce-notices-wrapper .woocommerce-error li,
.thp-ajax-add-to-cart-notices .woocommerce-message li,
.single-product .woocommerce-notices-wrapper .woocommerce-message li,
.thp-ajax-add-to-cart-notices .woocommerce-info li,
.single-product .woocommerce-notices-wrapper .woocommerce-info li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.thp-ajax-add-to-cart-notices .woocommerce-error,
.single-product .woocommerce-notices-wrapper .woocommerce-error,
.thp-ajax-add-to-cart-notices .woocommerce-message,
.single-product .woocommerce-notices-wrapper .woocommerce-message,
.thp-ajax-add-to-cart-notices .woocommerce-info,
.single-product .woocommerce-notices-wrapper .woocommerce-info,
.thp-ajax-add-to-cart-notices .woocommerce-error li,
.single-product .woocommerce-notices-wrapper .woocommerce-error li,
.thp-ajax-add-to-cart-notices .woocommerce-message li,
.single-product .woocommerce-notices-wrapper .woocommerce-message li,
.thp-ajax-add-to-cart-notices .woocommerce-info li,
.single-product .woocommerce-notices-wrapper .woocommerce-info li {
    font-size: var(--thp-font-size-md);
    line-height: 1.35;
}

.thp-ajax-add-to-cart-notices .woocommerce-error a,
.single-product .woocommerce-notices-wrapper .woocommerce-error a,
.thp-ajax-add-to-cart-notices .woocommerce-message a,
.single-product .woocommerce-notices-wrapper .woocommerce-message a,
.thp-ajax-add-to-cart-notices .woocommerce-info a,
.single-product .woocommerce-notices-wrapper .woocommerce-info a {
    color: inherit;
    font-weight: var(--thp-font-weight-semibold);
}

[data-variation-region-cards="true"].thp-field-error,
.variation-search.thp-field-error,
.wapo-radio-group.thp-field-error,
#yith-wapo-container .yith-wapo-addon.thp-field-error,
#yith-wapo-container .yith-wapo-block.thp-field-error {
    position: relative;
}

[data-variation-region-cards="true"].thp-field-error {
    padding: 0.75rem;
    border-radius: calc(var(--thp-button-radius) + 0.25rem);
    background: #fff8f9;
    box-shadow: 0 0 0 0.125rem rgba(155, 68, 86, 0.14);
}

.variation-search.thp-field-error input[type='search'] {
    border-color: #d58a99;
    background: #fff8f9;
    box-shadow: 0 0 0 0.1875rem rgba(155, 68, 86, 0.12);
}

.wapo-radio-group.thp-field-error {
    padding: 0.75rem;
    border-radius: calc(var(--thp-button-radius) + 0.25rem);
    background: #fff8f9;
    box-shadow: 0 0 0 0.125rem rgba(155, 68, 86, 0.14);
}

.wapo-radio-group.thp-field-error .wapo-card {
    border-color: #d58a99;
    background: rgba(255, 255, 255, 0.92);
}

#yith-wapo-container .yith-wapo-addon.thp-field-error,
#yith-wapo-container .yith-wapo-block.thp-field-error {
    border-color: #d58a99;
    background: #fff8f9;
    box-shadow: 0 0 0 0.1875rem rgba(155, 68, 86, 0.12);
}

#yith-wapo-container .yith-wapo-addon.thp-field-error .wapo-addon-title,
#yith-wapo-container .yith-wapo-block.thp-field-error .wapo-addon-title {
    color: #8E3A51;
}

.thp-field-error-hint {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.375rem 0.675rem;
    border-radius: var(--thp-radius-full);
    background: rgba(155, 68, 86, 0.1);
    color: #8E3A51;
    font-size: var(--thp-font-size-xs);
    font-weight: var(--thp-font-weight-semibold);
    line-height: 1.2;
}

.wapo-radio-group.thp-field-error>.thp-field-error-hint {
    grid-column: 1 / -1;
    justify-self: start;
    margin-bottom: 0;
}

@keyframes thpNoticeFadeIn {
    from {
        opacity: 0;
        transform: translateY(-0.5rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes thpNoticeTimer {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}

#yith-wapo-container .yith-wapo-block .yith-wapo-addon.yith-wapo-addon-type-select.required-min {
    padding: var(--thp-space-sm);
}

[data-variation-region-cards="true"]>.thp-field-error-hint {
    grid-column: 1 / -1;
}

#yith-wapo-container .yith-wapo-addon.thp-field-error select.yith-wapo-option-value {
    border-color: #d58a99 !important;
    background: #fff8f9;
}
