/*
 Theme Name:   Extra
 Description:  Extra Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/


.whb-header .whb-color-light:not(.whb-with-bg) {
    background-color: transparent !important;
}

.single-product .whb-overcontent:not(.whb-custom-header),
.single-product .wd-content-layout {
    padding-top: 0 !important;
    min-height: 0;
}

.course-video-wrapper,
.course-video-wrapper .video-container,
.course-video-wrapper .video-container iframe {
    width: 100% !important;
}


.whb-general-header {
    border-radius: 30px;
}

/* Visually hide billing country field using sr-only styles */
.sr-only,
#billing_country_field {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.og-expiration {
    display: flex;
    gap: 16px;
}

.color-title b {
    color: var(--wd-primary-color);
}

/* Text gradient and animated accent line for .line-title b */
.gradient-text .entry-title,
.elementor-counter-number-wrapper,
.gradient-text .elementor-heading-title,
.hero-title b,
.line-title b {
    position: relative;
    display: inline-block !important;
    background: linear-gradient(90deg, #F0AF48 0%, #F15A48 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.line-title b::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -30px;
    /* Positioned just below the text */
    width: 100%;
    max-width: 100%;
    height: 30px;
    /* Scales nicely with text size */
    background-image: url('assets/img/line.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center bottom;
    pointer-events: none;

    /* Gentle animation running one time (right to left) with a 1s delay */
    clip-path: inset(0 0 0 100%);
    animation: drawLine 1.2s cubic-bezier(0.25, 1, 0.5, 1) 1s forwards;
}

@keyframes drawLine {
    to {
        clip-path: inset(0 0 0 0);
    }
}

/* Left-to-right (reverse) animation override */
.line-title.reverse b::after,
.line-title b.reverse::after {
    clip-path: inset(0 100% 0 0);
}

/* Gradient border and gradient text with transparent fill */
.gradient-border-text,
.border-gradient-text {
    border: 2px solid;
    border-image-source: linear-gradient(90deg, #F0AF48 0%, #F15A48 100%);
    border-image-slice: 1;
    background: linear-gradient(90deg, #F0AF48 0%, #F15A48 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    display: inline-block;
}

.wd-tools-element:is(.wd-design-2, .wd-design-5) .wd-tools-count {
    background-color: #fff !important;
    color: var(--wd-primary-color) !important;
}

.single_add_to_cart_button {
    min-width: 270px;
    font-size: 30px;
    height: 55px;
    padding-bottom: 8px;
}

.course-rotation-table .single_add_to_cart_button {
    font-size: 16px;
    min-width: 115px;
    height: 27px;
    min-height: 27px;
}

.wd-sticky-btn-cart .single_add_to_cart_button {
    font-size: 20px;
    height: 48px;
    min-width: 170px;
}

.wd-sticky-btn-cart .custom-course-prices-wrapper .price-item .price-value .woocommerce-Price-currencySymbol {
    font-size: 16px;
}

.single_add_to_cart_button,
.gradient-bg .btn-color-primary {
    background: linear-gradient(90.54deg, #ECBD88 2.19%, #F15A48 55.93%, #F15A48 99.54%);
    position: relative;
    overflow: hidden;
}

.gradient-bg .btn-color-primary :is(.wd-btn-icon) {
    margin-bottom: -6px;

}

.gradient-bg .btn-color-primary :is(.wd-btn-icon) svg path {
    transition: all .25s ease;
}

.gradient-bg .btn-color-primary :is(.wd-btn-text, .wd-btn-icon) {
    z-index: 2;
}

.gradient-bg .btn-color-primary:after {
    border-radius: 30px;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    transition: none;
    background-color: #D5D5D5;
    pointer-events: none;
}

.gradient-bg .btn-color-primary:hover {
    box-shadow: none;
    color: #5D5D5D !important;
}

.btn-color-primary:hover svg path {
    stroke: #5D5D5D !important;
}

/* Class-driven JS Hover Transitions */
.gradient-bg .btn-color-primary.hover-in:after {
    transform: translateX(0%);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.gradient-bg .btn-color-primary.hover-out:after {
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}


footer.wd-footer {
    border-radius: 40px 40px 0 0;
}

.whb-general-header {
    transition: all cubic-bezier(0.25, 1, 0.5, 1) ease-in-out;
}

.whb-sticked .whb-general-header {
    border-radius: 0 0 30px 30px;
}


@media (max-width: 1024px) {
    .whb-general-header {
        border-radius: 0 0 30px 30px !important;
    }
}


.bx-shadow {
    box-shadow: 0px 4px 15.6px 4px #00000029;

}


/* ==========================================================================
   1. The Shared Clock (Apply the class "marquee-wrapper" to the parent row/container)
   ========================================================================== */
.marquee-wrapper {
    /* Creates one single master timeline for any marquee inside it */
    view-timeline-name: --shared-marquee-timeline;
    view-timeline-axis: block;
}

/* ==========================================================================
   2. Base Marquee Layout
   ========================================================================== */
.marquee {
    overflow: hidden !important;
    white-space: nowrap;
    width: 100%;
}

.marquee .elementor-heading-title {
    display: inline-block !important;
    width: max-content;
}

/* ==========================================================================
   Modern Browsers: Apply Scroll-Driven Animations
   ========================================================================== */
@supports (animation-timeline: --shared-marquee-timeline) {

    /* Row 1: Right-to-Left */
    .marquee .elementor-heading-title {
        /* Linked to the shared master timeline */
        animation: elementorMarqueeRightToLeft linear both;
        animation-timeline: --shared-marquee-timeline;
        /* Both rows start together at the bottom and finish together in the center */
        animation-range: entry 0% contain 50%;
    }

    /* Row 2: Left-to-Right (Reverse) */
    .marquee.reverse .elementor-heading-title {
        /* Overrides the animation to move Left-to-Right instead */
        animation: elementorMarqueeLeftToRight linear both;
        animation-timeline: --shared-marquee-timeline;
        animation-range: entry 0% contain 50%;
    }
}

/* ==========================================================================
   Fallback: Safe Default State for Unsupported Browsers
   ========================================================================== */
@supports not (animation-timeline: --shared-marquee-timeline) {
    .marquee .elementor-heading-title {
        /* Prevents the animation from running on a standard time loop */
        animation: none !important;
        /* Ensures text is visibly sitting in its natural, centered position */
        transform: none !important;
        opacity: 1 !important;
    }
}

/* ==========================================================================
   5. The Keyframes (Movement Definitions)
   ========================================================================== */
@keyframes elementorMarqueeRightToLeft {
    from {
        transform: translateX(40%);
        /* Pushed right initially */
    }

    to {
        transform: translateX(0%);
        /* Slides left into its resting position */
    }
}

@keyframes elementorMarqueeLeftToRight {
    from {
        transform: translateX(-60%);
        /* Pushed left initially */
    }

    to {
        transform: translateX(-20%);
        /* Slides right into its resting position */
    }
}

/* Gradient border with hollow outline text (transparent inside, colored outline) */
.gradient-border-text {
    border: 0 solid;
    border-image-source: linear-gradient(90deg, #F0AF48 0%, #F15A48 100%);
    border-image-slice: 1;
    color: transparent !important;
    -webkit-text-stroke: 1.5px #F15A48;
    text-fill-color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block;
}

.testimonial-inner .testimonial-avatar img {
    border-radius: 0;
}

.testimonial-inner .testimonial-content {
    display: flex;
    flex-direction: column;
    font-size: 20px;
    color: #000;
    line-height: 1.1;
}

.testimon-with-rating .testimonial-rating {
    order: 4;
}

.testimonial-inner .testimonial-content footer {
    margin-bottom: 20px;
}

.testimonial-inner .testimonial-content footer>span {
    color: #000;
    font-weight: bold;
}

.testimonial-content footer>span:before {
    display: none;
}

.testimon-style-boxed .testimonial .testimonial-inner {
    box-shadow: none;
    border: 1px solid var(--wd-primary-color);
    ;
}

.logo-slider .elementor-image-carousel .swiper-slide-image {
    padding: 20px 55px;
    box-shadow: 14px 24px 17px 0px #0000000D;
    background: #fff;

}

.logo-slider .swiper {
    overflow: visible;
}

.logo-slider .elementor-image-carousel.swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}

/* .logo-slider.elementor-widget-image-carousel .swiper-slide{padding: 40px;} */

@media (max-width: 1024px) {

    .testimonials .wd-carousel {
        padding: 0 30px;
    }

    .logo-slider .elementor-image-carousel .swiper-slide-image {
        padding: 20px;
    }

    .testimonial-inner .testimonial-content {
        font-size: 16px;
    }
}

.hp-icon-box {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: linear-gradient(277deg, rgba(255, 255, 255, 0.04) 0.48%, rgba(255, 255, 255, 0.36) 87.35%);
    box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);

    opacity: 0;
    will-change: transform, opacity;
}

.hp-icon-box:nth-of-type(1) {
    animation: hpReveal 1s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards,
        floatOne 6s ease-in-out infinite 1.2s;
}

/* 2nd Sibling Animation: Staggered entry + unique gentle float */
.hp-icon-box:nth-of-type(2) {
    animation: hpReveal 1s cubic-bezier(0.25, 1, 0.5, 1) 0.4s forwards,
        floatTwo 7s ease-in-out infinite 1.4s;
}

/* 3rd Sibling Animation: Staggered entry + unique gentle float */
.hp-icon-box:nth-of-type(3) {
    animation: hpReveal 1s cubic-bezier(0.25, 1, 0.5, 1) 0.6s forwards,
        floatThree 5.5s ease-in-out infinite 1.6s;
}

/* Reveal Keyframes (Fades in and slides up gently) */
@keyframes hpReveal {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating animation variations for each sibling */
@keyframes floatOne {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

@keyframes floatTwo {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-6px) rotate(-1.5deg);
    }
}

@keyframes floatThree {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(0.5deg);
    }
}

/* Hover effects for .hp-img-box container */
.text-round-box,
.hp-img-box {
    transition: background-color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.text-round-box:hover,
.hp-img-box:hover {
    background-color: var(--wd-primary-color) !important;
}

.hp-img-box .elementor-widget-image {
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.hp-img-box:hover .elementor-widget-image {
    transform: rotate(-10deg);
}

.hp-img-box.box-2 .elementor-widget-image {
    transform-origin: center center;
}

.hp-img-box.box-2:hover .elementor-widget-image {
    transform: rotate(-3.79deg);
}

.text-round-box .elementor-image-box-title,
.hp-img-box .elementor-widget-heading,
.hp-img-box .elementor-widget-heading .elementor-heading-title {
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s ease;
}

.hp-img-box:hover .elementor-widget-heading,
.hp-img-box:hover .elementor-widget-heading .elementor-heading-title {
    color: #fff !important;
    transform: translateY(10px);
}

.hp-img-box.box-2:hover .elementor-widget-heading,
.hp-img-box.box-2:hover .elementor-widget-heading .elementor-heading-title {
    color: #fff !important;
    transform: translateY(3px);
}

.text-round-box {
    aspect-ratio: 1/1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-round-box:hover .elementor-image-box-title {
    color: #fff;
}

/* Testimonial sliding background hover effect */
.testimonial .testimonial-inner {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: border-color 0.4s ease;
}

.testimonial .testimonial-inner::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 53.85%, rgba(241, 90, 72, 0.66) 100%);
    z-index: -1;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

.testimonial:hover .testimonial-inner::after {
    transform: translateY(0);
}

/* OTP Login UI Custom Styling */
.form-row-otp {
    display: none;
    text-align: right;
    direction: rtl;
}

.form-row-otp label {
    display: block;
    text-align: right;
    margin-bottom: 5px;
}

.form-row-otp #otp_code {
    text-align: center;
}

.form-row-otp .resend-container {
    font-size: 13px;
    margin-top: 8px;
    display: block;
    text-align: right;
}

.form-row-otp .resend-otp-btn {
    color: var(--wd-primary-color);
    font-weight: bold;
    text-decoration: none;
}

.otp-notice {
    margin-bottom: 15px;
    list-style: none;
    text-align: right;
    direction: rtl;
}

.resend-otp-btn.loading-state {
    pointer-events: none;
    opacity: 0.7;
}

html .login .button {
    border-radius: 30px;
}

.wpcf7 {
    direction: rtl;
}

html div.wpcf7 input[type="submit"] {
    height: 52px;
    display: inline-flex;
    align-items: center;
    border-radius: 14px;
    line-height: 1;
}

.submit-wrap {
    justify-content: flex-end;
}

.submit-inner {
    position: relative;
}


div.wpcf7 .wpcf7-spinner:before {
    left: 0% !important;
    top: 0% !important;
    border-left-color: #fff !important;
}

form.submitting .wpcf7-submit {
    color: transparent !important;
}

.wpcf7-not-valid-tip {
    font-size: 13px;
}

input.wpcf7-not-valid {
    border-color: #F00 !important;
}

div.wpcf7 .wpcf7-spinner {
    position: absolute !important;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 16px;
    height: 16px;
}

/* Custom Checkbox - CSS Only Round */
.wpcf7-checkbox .wpcf7-list-item,
.woocommerce-form__label-for-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin: 5px 0;
    vertical-align: middle;
}

.woocommerce-form__label-for-checkbox {
    gap: 0;
}

.wpcf7-checkbox input[type="checkbox"],
.woocommerce-form__label-for-checkbox input[type="checkbox"],
.input-radio {
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    margin: 0;
    width: 22px;
    height: 22px;
    border: 2px solid var(--wd-primary-color, #F15A48);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    flex-shrink: 0;
}

/* Hover style: light glow with primary color */
.wpcf7-checkbox input[type="checkbox"]:hover,
.woocommerce-form__label-for-checkbox input[type="checkbox"]:hover,
.input-radio:hover {
    box-shadow: 0 0 0 4px rgba(241, 90, 72, 0.15);
    /* woodmart primary color glow */
}

/* Checked state: smaller round inside also primary color */
.wpcf7-checkbox input[type="checkbox"]::before,
.woocommerce-form__label-for-checkbox input[type="checkbox"]::before,
.input-radio::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--wd-primary-color, #F15A48);
    transform: scale(0);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* bounce-in effect */
}

.wpcf7-checkbox input[type="checkbox"]:checked::before,
.woocommerce-form__label-for-checkbox input[type="checkbox"]:checked::before,
.input-radio:checked::before {
    transform: scale(1);
}

/* Focus indicator for accessibility */
.wpcf7-checkbox input[type="checkbox"]:focus-visible,
.woocommerce-form__label-for-checkbox input[type="checkbox"]:focus-visible,
.input-radio:focus-visible {
    outline: 2px solid var(--wd-primary-color, #F15A48);
    outline-offset: 2px;
}

/* Label styling to align nicely */
.wpcf7-checkbox .wpcf7-list-item-label,
.woocommerce-form__label-for-checkbox span,
.input-radio+label {
    font-size: 15px;
    color: #333;
    line-height: 1.4;
    user-select: none;
    cursor: pointer;
    vertical-align: middle;
    margin-right: 10px;
}

/* Horizontal scroll for main navigation on screens larger than 1024px */
@media (min-width: 1025px) {

    #menu-main-navigation {
        flex-wrap: nowrap;
        white-space: nowrap;

    }
}

.woocommerce-privacy-policy-text a {
    color: var(--wd-primary-color)
}

body.search-results .hide-search-section {
    display: none !important;
}

.products:not(.wd-img-width) .cat-design-alt img {
    height: 46px;
    object-fit: contain;
}

.wd-cat-wrap {
    height: 100%;
}

.wd-carousel-item .wd-cat-wrap {
    border-radius: 30px;
    box-shadow: 0 4px 5.8px 0 rgba(0, 0, 0, 0.18);
    height: 100%;
    max-width: 100px;
    margin: 0 auto;
    padding: 10px !important;
    background: #fff;
    position: relative;
    z-index: 1;
    overflow: hidden;
    /* Clips the background hover gradient to border radius */
    transition: box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Gradient overlay to transition opacity smoothly (since CSS can't transition background-image gradients directly) */
.wd-carousel-item .wd-cat-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient, linear-gradient(90deg, #F0AF48 0%, #F15A48 100%)) !important;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.wd-carousel-item .wd-cat .wd-entities-title {
    transition: color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.cat-design-mask-subcat:hover .wd-cat-thumb,
.category-grid-item:hover .wd-cat-image {
    transform: none !important;
}


.wd-carousel-item .wd-cat:hover .wd-entities-title {
    color: #fff;
}

.wd-carousel-item .wd-cat:hover .wd-cat-wrap::before,
.wd-carousel-item .wd-cat-wrap:hover::before {
    opacity: 1;
}

/* Active state - mirrors hover */
.wd-cat.active .wd-cat-wrap::before {
    opacity: 1;
}

.wd-carousel-item .wd-cat.active .wd-entities-title {
    color: #fff;
}

div.wd-cat-content {
    padding: 5px;
    min-height: 28px;
}

.wd-cat .wd-entities-title {
    line-height: 1;
    color: #000;
}

/* Latest Products in Category List */
.cat-latest-products {
    list-style: none;
    padding: 0;
    margin: 12px 0;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 5;
    /* Sit on top of standard .category-link absolute overlay */
}

.cat-latest-products li {
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

.cat-latest-products li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cat-latest-products li a {
    color: #000;
    display: block;
    text-align: center;
}

.cat-design-mask-subcat .wd-cat-inner {
    background-color: #F0F0F0;
    border-radius: 30px;
    padding: 35px 20px;
    height: 100%;
}

.cat-design-mask-subcat .wd-cat-inner img {
    height: 155px;
    object-fit: contain;
}

.cat-design-mask-subcat .wd-cat-inner .wd-entities-title {
    color: var(--wd-primary-color);
    font-size: 40px !important;
    text-align: center;
}

.cat-design-mask-subcat .wd-cat-inner .wd-cat-content {
    padding: 0;
    align-items: center;
    width: 100%;
}

.add-to-cart-loop,
.wd-btn-primary {
    border-radius: 30px;
    background: #F15A48;
    height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    padding: 0 20px;
    line-height: 1;
    max-width: 162px;
    width: 100%;
    margin: 0 auto;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid var(--wd-primary-color);

    &:hover {
        background-color: #fff;
        color: var(--wd-primary-color);
    }
}

div.wd-product.wd-hover-fw-button .add-to-cart-loop .wd-action-text {
    font-size: 20px;
    padding: 0;
    display: flex !important;
    align-items: center;
}

.add-to-cart-loop {
    height: 43px !important;
    width: 100% !important;
    max-width: 100% !important;
}

.wd-products {
    gap: 48px;
}

@media (max-width: 1024px) {
    .wd-products {
        gap: 10px;
    }

    div.wd-product.wd-hover-fw-button .add-to-cart-loop .wd-action-text,
    .add-to-cart-loop,
    .wd-btn-primary {
        font-size: 16px;
        height: 38px;
    }

    .cat-design-mask-subcat .wd-cat-inner .wd-entities-title {
        font-size: 24px !important;
    }

    .cat-design-mask-subcat .wd-cat-inner img {
        height: 100px;
    }

    .wd-el-page-heading {
        text-align: center;
    }
}


.wd-carousel-item {
    height: auto !important;
}

:is(.products-bordered-grid-ins, .wd-products-with-bg:not(.products-bordered-grid), .wd-products-with-shadow:not(.products-bordered-grid)) .wd-cat {
    height: 100%;
}

.wd-carousel-item .wd-cat-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-grid-item .wd-cat-thumb {
    border-radius: 0 !important;
}

.woocommerce-shop .archive-title-wrap {
    display: none !important;
}

.custom-price-title .price {
    font-size: 48px;
}

.custom-price-title .curr {
    font-size: 24px;
}

.align-left .btn-color-primary {
    text-align: start;
}

:is(.cart-info, .cart_item) ul.variation .item-variation-name {
    display: none;
}

/* Scalla Subscription Card Styling */
.scalla-subscription-card {
    border-radius: 30px;
    background: #fff;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    border: 1px solid var(--wd-primary-color);
    display: flex;
    flex-direction: column;
    height: auto !important;
    padding-bottom: 30px;
}

.scalla-subscription-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.scalla-subscription-top {
    padding: 45px 20px 10px;
}

.scalla-subscription-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--wd-primary-color);
    margin-bottom: 0;
    line-height: 1;
}

.scalla-subscription-image {
    margin-top: 25px;
}

.scalla-subscription-image img {
    max-width: 215px;
    height: auto;
    margin: 0 auto;
}

.scalla-subscription-desc {
    margin-top: 12px;
    background-color: #F0F0F0;
    padding: 12px 36px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: bold;
    color: var(--wd-primary-color);
}

.scalla-subscription-desc p {
    margin-bottom: 0;
}

.scalla-subscription-content {
    padding: 20px 20px 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.scalla-subscription-price-wrapper {
    margin-bottom: 20px;
}

.scalla-subscription-add-to-cart form.cart {
    display: flex;
    justify-content: center;
}

.scalla-subscription-add-to-cart .single_add_to_cart_button {
    font-size: 20px;
    height: 36px;
    width: auto;
    min-width: 155px
}

/* Custom Single Product Prices Layout */
.custom-course-prices-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    direction: rtl;
    text-align: right;
    flex-wrap: nowrap;
    background: transparent;
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.custom-course-prices-wrapper .price-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: transparent;
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.custom-course-prices-wrapper .price-item .price-value {
    color: #5D5D5D;
    font-weight: bold;
    line-height: 1;
    background: transparent;
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.custom-course-prices-wrapper .price-item .price-value .woocommerce-Price-amount {
    color: #5D5D5D;
    font-size: 48px;
    font-weight: bold;
}

.custom-course-prices-wrapper .price-item .price-value.subsidized {
    color: var(--wd-primary-color, #F15A48);
    font-weight: bold;
    line-height: 1;
    background: transparent;
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.custom-course-prices-wrapper .price-item .price-value.subsidized .woocommerce-Price-amount {
    color: var(--wd-primary-color, #F15A48);
    font-size: 48px;
    font-weight: bold;
}

.custom-course-prices-wrapper .price-item .price-value .woocommerce-Price-currencySymbol {
    font-size: 24px;
    font-weight: bold;
}

.custom-course-prices-wrapper .price-item .price-label {
    font-size: 24px;
    color: #000;
    font-weight: bold;
    line-height: 1.2;
    text-align: start;
    margin: 0;
}

.custom-course-prices-wrapper .price-separator {
    width: 1px;
    height: 30px;
    background-color: #000;
    border: none;
    margin: 0 30px;
    align-self: center;
}

.wd-sticky-btn-cart .custom-course-prices-wrapper .price-item .price-value.subsidized .woocommerce-Price-amount,
.wd-sticky-btn-cart .custom-course-prices-wrapper .price-item .price-value .woocommerce-Price-amount {
    font-size: 24px;
}

.wd-sticky-btn-cart .custom-course-prices-wrapper .price-separator {
    margin: 0 14px;
}

.wd-sticky-btn-cart .custom-course-prices-wrapper .price-item .price-label {
    font-size: 14px;
}

@media (max-width: 768px) {
    .custom-course-prices-wrapper .price-item .price-label {
        font-size: 16px;
    }

    .custom-course-prices-wrapper .price-item .price-value.subsidized,
    .custom-course-prices-wrapper .price-item .price-value.subsidized .woocommerce-Price-amount,
    .custom-course-prices-wrapper .price-item .price-value .woocommerce-Price-amount,
    .custom-course-prices-wrapper .price-item .price-value {
        font-size: 32px;
    }
}

/* Subscription Notice and Dorms Links */
.scalla-subscription-semester {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 0;
}

.subscription-notice-wrapper {
    display: flex;
    direction: rtl;
    margin-bottom: 22px;
}

.subscription-notice-wrapper .notice-text {
    flex: 1;
    text-align: right;
    padding-right: 10px;
}

.subscription-notice-wrapper .notice-text h4 {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 5px 0;
}

.subscription-notice-wrapper .notice-text .notice-desc {
    font-size: 12px;
    line-height: 1.2;
}

.subscription-notice-wrapper .notice-icon {
    flex-shrink: 0;
}

.subscription-notice-wrapper .notice-icon img {
    max-width: 100px;
    height: auto;
}

.subscription-dorms-link {
    display: flex;
    direction: rtl;
    align-items: center;
    background-color: #F0F0F0;
    border-radius: 30px;
    padding: 14px;
    text-decoration: none;
    margin-bottom: 12px;
    transition: transform 0.2s;
    max-width: 80%;
    width: 100%;
    margin: 0 auto;
}

.subscription-dorms-link:hover {
    transform: scale(1.02);
}

.subscription-dorms-link .dorms-icon {
    flex-shrink: 0;
    margin-left: 20px;
}

.subscription-dorms-link .dorms-icon img {
    max-width: 60px;
    height: auto;
}

.subscription-dorms-link .dorms-text {
    text-align: right;
    flex: 1;
}

.subscription-dorms-link .dorms-text .dorms-title {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 2px;
}

.subscription-dorms-link .dorms-text .dorms-subtitle {
    font-size: 14px;
    line-height: 1.2;
}

.subscription-dorms-link .dorms-text .dorms-subtitle span {
    color: var(--wd-primary-color, #F15A48);
    font-weight: bold;
}

.subscription-dorms-link .dorms-text .dorms-cta {
    font-weight: bold;
}

.scalla-subscription-add-to-cart {
    margin-top: 15px;
}

.scalla-subscription-price-wrapper {
    margin-top: 24px;
}

.scalla-subscription-price-wrapper .custom-course-prices-wrapper {
    justify-content: center;
}

.scalla-subscription-price-wrapper .custom-course-prices-wrapper .price-item .price-value {
    text-align: center;
}

.scalla-subscription-price-wrapper .custom-course-prices-wrapper .price-item .price-label {
    font-size: 18px;
    text-align: center;
}

.scalla-subscription-price-wrapper .custom-course-prices-wrapper .price-item {
    align-items: center;
}

.scalla-subscription-price-wrapper .custom-course-prices-wrapper .price-item .price-value .woocommerce-Price-amount {
    font-size: 36px;
}

.scalla-subscription-price-wrapper .custom-course-prices-wrapper .price-item .price-value .woocommerce-Price-currencySymbol {
    font-size: 18px;
}

.wd-product:has(.scalla-subscription-card) {
    display: flex;
    align-items: center;
}

/* Subscription Tag Styling */
.scalla-subscription-card {
    overflow: visible !important;
    position: relative;
    margin-top: 25px;
}

.scalla-subscription-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--wd-primary-color, #F15A48);
    color: #fff;
    padding: 6px 35px;
    border-radius: 30px;
    font-size: 24px;
    font-weight: bold;
    z-index: 10;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .scalla-subscription-image img {
        max-width: 120px;
    }

    .scalla-subscription-desc {
        font-size: 18px;
    }

    .subscription-dorms-link {
        max-width: 100%;
    }

    .scalla-subscription-tag {
        font-size: 16px;
    }

    .scalla-subscription-title {
        font-size: 24px;
    }

    .scalla-subscription-semester {
        font-size: 22px;
    }

    .subscription-dorms-link .dorms-text .dorms-title,
    .subscription-notice-wrapper .notice-text h4 {
        font-size: 16px;
    }
}

/* Toast Notice for Add to Cart on Single Product */
body:is(.single-product, .page-id-3853, .tax-product_cat) .woocommerce-notices-wrapper {
    position: relative;
    z-index: 99999;
}

body:is(.single-product, .page-id-3853, .tax-product_cat) .woocommerce-error.extra-toast-notice {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    left: auto !important;
    top: auto !important;
    z-index: 99999 !important;
    max-width: 90vw;
    background-color: #fef2f2 !important;
    color: #991b1b !important;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.12) !important;
    border: 1px solid #fca5a5 !important;
    padding: 20px 50px 20px 25px !important;
    margin: 0 !important;
    text-align: right;
    font-size: 16px;
    font-weight: 500;
    transform: translateY(100px);
    opacity: 0;
    animation: toastSlideUp 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}


@keyframes toastSlideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

body:is(.single-product, .page-id-3853) .woocommerce-error.extra-toast-notice.toast-removing {
    animation: toastSlideDown 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes toastSlideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(100px);
        opacity: 0;
    }
}

.testimon-style-boxed .testimonial .testimonial-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-inner .testimonial-content {
    flex: 1;
}

.testimon-with-rating .testimonial-rating {
    margin-top: auto;
}

.testimonial-rating .star-rating {
    color: var(--wd-primary-color);
}

.round-box {
    aspect-ratio: 1/1;
}

@media (min-width: 1042px) {
    .wd-cats .wd-carousel-wrap {
        justify-content: center;
    }
}

.woocommerce-cart .wd-page-wrapper,
.woocommerce-checkout .wd-page-wrapper {
    background-color: #F9FAFB;
}

.woocommerce-cart .wd-page-content,
.woocommerce-checkout .wd-page-content {
    background-color: transparent !important;
}

li.payment_method_officeguy> :is(label) {
    display: none !important;
}

.payment_methods .payment_box {
    padding: 0;
    margin: 0;
    box-shadow: none;
}

.woocommerce-billing-fields label,
.payment_box label {
    font-size: 14px;
    font-weight: 400;
}

body.error404 .wd-page-content {
    padding-top: 100px;
}

body.woocommerce-checkout:not(:has(li.wc_payment_method)) .payments-title {
    display: none !important;
}

/* Saved Payment Methods Custom Radio Styles */
.woocommerce-SavedPaymentMethods.wc-saved-payment-methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-SavedPaymentMethods.wc-saved-payment-methods li {
    list-style: none;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    gap: 10px;
}

.woocommerce-SavedPaymentMethods-tokenInput {
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    margin: 0 !important;
    width: 16px !important;
    height: 16px !important;
    border: 2px solid #000 !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    flex-shrink: 0;
}

.woocommerce-SavedPaymentMethods-tokenInput:hover {
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.15);
}

.woocommerce-SavedPaymentMethods-tokenInput::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #000;
    transform: scale(0);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.woocommerce-SavedPaymentMethods-tokenInput:checked::before {
    transform: scale(1);
}

.woocommerce-SavedPaymentMethods-tokenInput:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.woocommerce-SavedPaymentMethods.wc-saved-payment-methods label {
    font-size: 15px;
    color: #333;
    line-height: 1.4;
    user-select: none;
    cursor: pointer;
    margin: 0;
}

.wd-popup-wrap a {
    width: 100%;
}


.wd-sticky-btn-thumbnail {
    display: none;
}