/*
=================================================================
  HUDA ELEMENTOR ADDONS - ELEMENTOR PAGE STYLES
=================================================================
*/
.page-template .elementor {
    flex: 1;
}

/* =================================================================
   STICKY HEADER STYLES
*================================================= */

/* The spacer stays in the document flow and prevents the jerk */
.huda-header-spacer {
    width: 100%;
    position: relative;
    display: block;
    z-index: 9999;
}

/* Base Header */
.hea-header {
    width: 100%;
    z-index: 9999;
    transition: all 0.3s ease;
}

/* Sticky Active State (No colors, just structure) */
.hea-header.huda-sticky-active {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    /* Standard shadow to see it */
}

/* Fix for Elementor widths when header is fixed */
.hea-header.huda-sticky-active .elementor-section,
.hea-header.huda-sticky-active .elementor-container {
    width: 100% !important;
    max-width: 100% !important;
}

/* Fix for Logo sizing when fixed */
.hea-header.huda-sticky-active img {
    height: auto !important;
    max-width: 100% !important;
    display: inline-block !important;
}

/* =================================================================
  BASE MENU STYLES
================================================================= */
.hea-menu {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.hea-menu a {
    text-decoration: none;
    display: block;
}

.hea-menu li.menu-item-has-children>a {
    position: relative;
}

.hea-menu .sub-menu li:last-child{
    border-bottom: 0 !important;
}

.hea-menu-hover .menu-item .menu-link-wrapper {
    gap: 6px;
}

.hea-menu-hover .menu-item.menu-item-has-children a {
    position: relative;
    z-index: 99999;
}

/* =================================================================
  ACCORDION MENU STYLES (CLICK MODE)
================================================================= */
.hea-menu-accordion {
    flex-direction: column !important;
    width: 100%;
}

.hea-menu-accordion .hea-menu .sub-menu .menu-item {
    border-bottom: 1px solid #f0f0f0;
}

.hea-menu-accordion .menu-item .menu-link-wrapper .dropdown-arrow.arrow-open {
    transform: rotate(180deg);
    transition: all 0.3s ease;
}

.hea-menu-accordion .menu-item {
    position: relative;
}

.hea-menu-accordion .menu-item .sub-menu .menu-link-wrapper .dropdown-arrow.arrow-open {
    transform: rotate(180deg);
    transition: all 0.3s ease;
}

.hea-menu-accordion .sub-menu.submenu-open {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    pointer-events: auto !important;
    max-height: max-content !important;
}

.hea-menu-accordion .sub-menu {
    list-style: none;
    padding-left: 0;
    margin: 0;
    background-color: #f7f7f7;
    max-height: 0;
    transition: max-height 0.4s ease-in-out;
    position: absolute;
    box-shadow: none;
    visibility: hidden;
    opacity: 0;
    transform: none;
    margin-left: 0;
    z-index: 999;
}

.hea-menu-accordion .sub-menu.submenu-open {
    max-height: 1000px;
}

.hea-menu-accordion .sub-menu .sub-menu {
    top: -10px;
    left: 100%;
    margin-top: -40px;
    padding-left: 14px;
}

/* =================================================================
  HOVER MENU STYLES (DESKTOP MODE)
================================================================= */
@media (min-width: 1024px) {
    .hea-menu-hover {
        display: flex;
        flex-direction: row;
    }

    .hea-menu-hover li.menu-item-has-children {
        position: relative;
    }

    .hea-menu-hover .menu-item>.menu-link-wrapper:hover>span.dropdown-arrow svg {
        transform: rotate(180deg);
        transition: all 0.3s ease;
    }

    .hea-menu-hover .sub-menu .menu-item>.menu-link-wrapper:hover>span.dropdown-arrow svg {
        transform: rotate(-90deg);
        transition: all 0.3s ease;
    }

    .hea-menu-hover .sub-menu.menu-hover {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translate(0) !important;
        pointer-events: auto !important;
    }

    .hea-menu-hover .sub-menu {
        background-color: #ffffff;
        border-radius: 0px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
        width: 240px;
        margin-left: 0px;
        position: absolute;
        top: 100%;
        left: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px);
        transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
        pointer-events: none;
        z-index: 999;
        max-height: none;
    }

    .hea-menu-hover>li.menu-item-has-children>.sub-menu {
        margin-top: 20px;
    }

    .hea-menu-hover li.menu-item-has-children>.sub-menu::before {
        content: '';
        position: absolute;
        left: 0;
        width: 100%;
        bottom: 100%;
        height: 20px;
        background-color: transparent;
    }

    .hea-menu-hover .sub-menu .sub-menu {
        top: -10px;
        left: 100%;
        visibility: hidden;
        opacity: 0;
        margin-top: -40px;
    }

    .hea-menu-hover .sub-menu .menu-item a {
        color: #555;
    }

    .hea-menu-accordion .sub-menu.submenu-open {
        position: absolute !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        pointer-events: auto !important;
        max-height: max-content !important;
    }
}

/* =================================================================
  BASE STYLES (Scoped to Mega Menu Widget)
================================================================= */
.huda-mega-menu-widget .hea-mega-menu {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.huda-mega-menu-widget .hea-mega-menu a {
    text-decoration: none;
    display: block;
}

.huda-mega-menu-widget .hea-mega-menu {
    display: flex;
    align-items: center;
}

.huda-mega-menu-widget .hea-mega-menu li.menu-item-has-children {
    position: relative;
}

.huda-mega-menu-widget .hea-mega-menu li.menu-item-has-children>.menu-link-wrapper>a {
    flex-grow: 1;
}

.huda-mega-menu-widget .hea-mega-menu .dropdown-arrow {
    cursor: pointer;
    padding: 0 5px;
}

.huda-mega-menu-widget .hea-mega-menu-hover .menu-item .menu-link-wrapper {
    gap: 6px;
}

.hea-mega-menu .sub-mega-menu .sub-mega-menu {
    position: static !important;
}

.hea-mega-menu .sub-mega-menu li:last-child {
    border-bottom: 0 !important;
}

.hea-mega-menu li.menu-item-has-mega-menu .sub-mega-menu li:last-child{
    border-bottom: inherit !important;
}


/* =================================================================
  ACCORDION STYLES (Offcanvas, Mobile, and *inside* Mega Panel)
================================================================= */
.huda-mega-menu-widget .hea-mega-menu-accordion {
    flex-direction: column !important;
    width: 100%;
}

.huda-mega-menu-widget .hea-mega-menu-accordion .menu-item .menu-link-wrapper .dropdown-arrow {
    transition: all 0.3s ease;
}

.huda-mega-menu-widget .hea-mega-menu-accordion .menu-item .menu-link-wrapper .dropdown-arrow.mega-arrow-open {
    transform: rotate(180deg);
}

.huda-mega-menu-widget .hea-mega-menu-accordion .sub-mega-menu {
    list-style: none;
    padding-left: 0;
    margin: 0;
    background-color: #f7f7f7;
    max-height: 0;
    transition: max-height 0.4s ease-in-out;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: none;
    visibility: hidden;
    opacity: 0;
    transform: none;
    margin-left: 0;
    overflow: hidden;
    z-index: 999;
}

.huda-mega-menu-widget .hea-mega-menu-accordion .sub-mega-menu.sub-mega-menu-open {
    visibility: visible;
    opacity: 1;
    max-height: max-content;
}

.huda-mega-menu-widget .hea-mega-menu-accordion .sub-mega-menu .sub-mega-menu {
    display: none;
    height: 0;
    padding-left: 14px;
}

.huda-mega-menu-widget .hea-mega-menu-accordion .sub-mega-menu .sub-mega-menu.sub-mega-menu-open {
    display: block;
    height: auto;
}

.huda-mega-menu-widget .hea-mega-menu-hover>.hea-mega-menu>li>.sub-mega-menu::before,
.huda-mega-menu-widget .hea-mega-menu-hover>.hea-mega-menu>li.menu-item-has-mega-menu>.sub-mega-menu::before,
.hea-mega-menu .sub-mega-menu::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 40px;
    background: transparent;
}


/* =================================================================
  MEGA MENU HOVER STYLES (Desktop Only - Main Menu Bar)
================================================================= */
@media (min-width: 1024px) {
    .huda-mega-menu-widget .hea-mega-menu-hover {
        display: flex;
        flex-direction: row;
    }

    .huda-mega-menu-widget .hea-mega-menu-hover>.hea-mega-menu>li.menu-item-has-children {
        position: relative;
    }

    .huda-mega-menu-widget .hea-mega-menu-hover>.hea-mega-menu>li.menu-item>.menu-link-wrapper:hover>span.dropdown-arrow svg {
        transform: rotate(180deg);
        transition: all 0.3s ease;
    }

    .huda-mega-menu-widget .hea-mega-menu-hover>.hea-mega-menu>li>.sub-mega-menu .menu-item>.menu-link-wrapper:hover>span.dropdown-arrow svg {
        transform: rotate(-90deg);
        transition: all 0.3s ease;
    }

    .huda-mega-menu-widget .hea-mega-menu-hover>.hea-mega-menu>li>.sub-mega-menu.sub-mega-menu-hover {
        opacity: 1;
        visibility: visible;
        transform: translateX(0) translateY(0);
        pointer-events: auto;
    }

    .huda-mega-menu-widget .hea-mega-menu-hover>.hea-mega-menu>li>.sub-mega-menu {
        background-color: #ffffff;
        border-radius: 0px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
        width: 240px;
        margin-left: 0px;
        position: absolute;
        top: 100%;
        left: 0;
        transform: translateX(0) translateY(14px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        pointer-events: none;
        z-index: 999;
        max-height: none;
        overflow: visible;
    }

    .huda-mega-menu-widget .hea-mega-menu-accordion li.menu-item-has-mega-menu>.sub-mega-menu {
        transform: translateX(0%);
    }

    .huda-mega-menu-widget .hea-mega-menu-hover>.hea-mega-menu>li.menu-item-has-mega-menu>.sub-mega-menu,
    .huda-mega-menu-widget .hea-mega-menu-accordion li.menu-item-has-mega-menu>.sub-mega-menu.sub-mega-menu-open {
        position: absolute;
        top: 100%;
        left: 0%;
        transform: translateX(-50%);
        width: 900px;
        max-width: 90vw;
        border-radius: 10px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
        padding: 30px 40px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px;
        z-index: 99;
        transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    }

    .huda-mega-menu-widget .hea-mega-menu-hover>.hea-mega-menu>li.menu-item-has-mega-menu:hover>.sub-mega-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }

    .huda-mega-menu-widget .hea-mega-menu-hover>.hea-mega-menu>li.menu-item-has-mega-menu>.sub-mega-menu {
        transform: translateX(-50%) translateY(14px);
    }


    .hidden-when-template {
        display: none !important;
    }

    .huda-mega-menu-widget .hea-mega-menu-hover>.hea-mega-menu>li.menu-item-has-mega-menu>.sub-mega-menu>li {
        list-style: none;
        padding: 5px 0;
        margin: 0;
    }

    .huda-mega-menu-widget .hea-mega-menu-hover>.hea-mega-menu>li.menu-item-has-mega-menu>.sub-mega-menu a {
        display: block;
        color: #222;
        font-size: 15px;
        font-weight: 500;
        text-decoration: none;
        transition: color 0.25s ease;
    }

    .huda-mega-menu-widget .hea-mega-menu-hover>.hea-mega-menu>li.menu-item-has-mega-menu>.sub-mega-menu a:hover {
        color: var(--huda-accent-color, #0073e6);
    }

    .huda-mega-menu-widget .hea-mega-menu-hover>.hea-mega-menu>li.menu-item-has-mega-menu>.sub-mega-menu>li.menu-item-has-children>a {
        font-weight: 600;
        margin-bottom: 5px;
    }

    .huda-mega-menu-widget .hea-mega-menu-hover>.hea-mega-menu>li.menu-item-has-mega-menu>.sub-mega-menu ul {
        margin-top: 5px;
        padding-left: 0;
    }

    .huda-mega-menu-widget .hea-mega-menu-hover .sub-mega-menu .sub-mega-menu {
        width: max-content;
        display: none;
        transform: translateY(15px);
        transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
        height: 0;
        position: static;
        top: 0;
        left: 10px;
        margin-top: 0;
    }

    .huda-mega-menu-widget .hea-mega-menu-hover .sub-mega-menu .sub-mega-menu.sub-mega-menu-open {
        height: auto;
        display: block;
        transform: translateY(10px);
        pointer-events: auto;
    }

    .huda-mega-menu-widget .hea-mega-menu-hover>.hea-mega-menu>li.menu-item-has-mega-menu>.sub-mega-menu::before {
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
    }
}


/* =================================================================
  STYLES for Menus *inside* the Mega Menu Panel
================================================================= */

/* This targets any .huda-mega-menu-nav widget you drop *inside* your Elementor template */
.huda-mega-menu-widget .hea-elementor-mega-menu .huda-mega-menu-nav {
    flex-direction: column !important;
    width: 100% !important;
    background: transparent !important;
}

.huda-mega-menu-widget .hea-elementor-mega-menu .hea-mega-menu {
    width: 100%;
}

.huda-mega-menu-widget .hea-elementor-mega-menu .hea-mega-menu>.menu-item {
    border-bottom: 1px solid #eee;
}

.huda-mega-menu-widget .hea-elementor-mega-menu .hea-mega-menu>.menu-item:last-child {
    border-bottom: none;
}

.huda-mega-menu-widget .hea-elementor-mega-menu .hea-mega-menu .menu-item a {
    padding: 10px 0;
    color: #333;
}

/*
 * This menu is inside the panel, so it uses ACCORDION styles.
 * We just need to override the background color.
 * The .hea-mega-menu-accordion .sub-mega-menu rule from line 63
 * is already correctly applied (now that it's position: static).
*/
.huda-mega-menu-widget .hea-elementor-mega-menu .hea-mega-menu-accordion .sub-mega-menu {
    padding-left: 15px;
    /* Indent the sub-menu */
    background-color: transparent;
    /* No grey bg */
    border-top: 1px dotted #eee;

    /* Just in case, ensure it's static */
    position: static !important;
}

/* Remove borders from items inside the accordion dropdown */
.huda-mega-menu-widget .hea-elementor-mega-menu .hea-mega-menu-accordion .sub-mega-menu .menu-item {
    border-bottom: none;
    border-top: none;
}

/* Style for the nested links (e.g., 'Link One', 'Another Link') */
.huda-mega-menu-widget .hea-elementor-mega-menu .hea-mega-menu-accordion .sub-mega-menu .menu-item a {
    padding: 8px 0;
    font-size: 0.9em;
    color: #0000ee;
    /* Default blue link color */
}

/* Style for the link wrapper inside the panel */
.huda-mega-menu-widget .hea-elementor-mega-menu .menu-link-wrapper {
    align-items: center;
}


.hea-mega-menu-offcanvas .hea-mega-menu-hover .sub-mega-menu,
.hea-mega-menu-offcanvas .hea-mega-menu-accordion .sub-mega-menu.sub-mega-menu-open {
    position: static !important;
    transform: none !important;
    width: 100% !important;
}

.hea-mega-menu-offcanvas .huda-mega-menu-nav>.hea-mega-menu {
    align-items: normal;
    flex-direction: column !important;
}

.btn-toggle-menu {
    display: flex;
    align-items: center;
    justify-content: center;
}

ul {
    list-style-type: none !important;
}

.hea-advanced-heading-wrapper {
    text-align: center;
}

.hea-advanced-heading-wrapper .hea-advanced-heading span {
    padding: 0 4px;
    color: #5081FF;
}

.hea-advanced-heading-icon {
    display: inline-block;
    line-height: 56px;
    background-color: #5081FF;
    text-align: center;
}


span.widget-branding {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 12px;
    text-transform: uppercase;
}

/* 
    LENIS SMO0TH SCROLL     
*/
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

#huda-back-to-top {
    position: fixed;
    width: 58px;
    height: 58px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    bottom: 20px;
    transition: opacity 0.3s;
    z-index: 1000;
    border: unset;
}

.bottom-right {
    right: 20px;
}

.bottom-left {
    left: 20px;
}

.progress-circle {
    position: absolute;
    width: 50px;
    height: 50px;
    transform: rotate(-90deg);
}

.progress-circle circle {
    transition: stroke-dashoffset 0.3s linear;
    stroke-linecap: round;
}

/* 
   Stagger Menu     
*/

.stagger-hover .nav-link {
    display: block;
    overflow: hidden;
    height: 20px;
    /*text-transform: capitalize;*/
    /*transform: translateY(-80%) scale(1);*/
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
}

.stagger-hover .nav-link:hover .letter,
.stagger-hover .nav-link.play .letter {
    transform: translateY(-100%);
}

.stagger-hover .nav-link .block:last-child {
    color: pink;
}

.stagger-hover .nav-link .letter {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}


.letter:nth-child(1) {
    transition-delay: 0s;
}

.letter:nth-child(2) {
    transition-delay: 0.03s;
}

.letter:nth-child(3) {
    transition-delay: 0.06s;
}

.letter:nth-child(4) {
    transition-delay: 0.09s;
}

.letter:nth-child(5) {
    transition-delay: 0.12s;
}

.letter:nth-child(6) {
    transition-delay: 0.15s;
}

.letter:nth-child(7) {
    transition-delay: 0.18s;
}

.letter:nth-child(8) {
    transition-delay: 0.21s;
}

.letter:nth-child(9) {
    transition-delay: 0.24s;
}

.letter:nth-child(10) {
    transition-delay: 0.27s;
}

.letter:nth-child(11) {
    transition-delay: 0.3s;
}

.letter:nth-child(12) {
    transition-delay: 0.33s;
}

.letter:nth-child(13) {
    transition-delay: 0.36s;
}

.hea-menu-layout-column .hea-menu {
    display: grid !important;
    flex-direction: column;
}

.hea-menu-layout-row .hea-menu {
    display: flex !important;
    flex-direction: row;
}

.hea-menu .dropdown-menu {
    text-align: left;
}

.hea-responsive-menu ul li a.nav-link {
    padding: inherit;
}

.hea-responsive-menu .dropdown-menu {
    position: relative !important;
}

.hea-logo-widget {
    max-width: 100%;
}

.hea-logo-widget img {
    max-width: 90px;
}

.hea-menu .dropdown-menu .nav-link {
    height: 100% !important;
}

/* 
    Creative Heading     
*/

.hea-creative-heading {
    position: relative;
}

.hea-creative-heading-icon-left {
    order: -1;
    /* Ensure the icon appears on the left */
}

.hea-creative-heading-icon-right {
    order: 1;
    /* Ensure the icon appears on the right */
}

.hea-heading {
    line-height: normal;
}

.hea-icon img,
.hea-icon svg,
.hea-icon i {
    width: 24px;
    height: 24px;
    display: inline-block;
}

.hea-creative-heading-icon-left {
    position: absolute;
}

/* Slick Slider */

button.next-prev-button,
.remote-arrows {
    width: 48px;
    height: 48px;
    padding: 0 !important;
    text-align: center;
    background-color: white;
    border-radius: 0;
}

.remote-arrows {
    border-radius: 50px;
}

.slick-track {
    display: inline-flex;
}

.arrow-prev {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 99;
}

.arrow-next {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(22%, -50%);
    z-index: 99;
}

ul.slick-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    margin-top: 1em;
}

.slick-dots li button {
    width: 8px;
    height: 8px;
    background-color: #F5F8FF;
    padding: 0 !important;
}

li.slick-active button {
    width: 16px;
    background-color: #040E23;
}

.slick-dots li button {
    content: '';
}

.slick-slider {
    min-height: 300px;
    /* Adjust based on your slider height */
}

/* 
    Advanced Carousel Styles 
*/
.advancedCarousel.arrow-prev {
    position: absolute;
    top: 38%;
    left: 0;
    transform: translate(-40%, 0);
}

.advancedCarousel.arrow-next {
    position: absolute;
    top: 40%;
    right: 0;
    transform: translate(0, -40%);
}

/* 
    Team Carousel Styles
*/
.arrow-prev,
.arrow-next {
    width: 56px;
    height: 56px;
    margin-top: 32px;
    margin-left: 12px;
    border-color: #E1E0E7;
    border-radius: 50px !important;

}

#teamSlider .slide-item {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}


#teamSlider .slide-image img {
    width: 100%;
    height: 460px;
    max-height: 100%;
    object-fit: cover;
}

.team-carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    color: white;
    padding: 32px;
}

.team-carousel-content h3 {
    margin: 0;
    font-size: 24px;
}

.team-carousel-content p {
    margin: 5px 0 0;
    font-size: 16px;
}

.slick-dots li button {
    text-indent: -9999px;
    overflow: hidden;
    white-space: nowrap;
}

.slick-dots li button:before {
    content: '';
}

#testimonialSlider .testimonial-item.slick-current.slick-active {
    background-color: rgba(255, 255, 255, 0.3);
}

/* 
    Offcanvas Styles
*/

/* When the mega menu's off-canvas is open (.show), force it to the very top layer of the page. */
/*
 * ===================================================================
 *   Definitive Z-Index Fix for All Elementor Header Off-Canvas
 * ===================================================================
*/

/*
 * ===================================================================
 *   Universal Z-Index Fix for All Off-Canvas Widgets
 * ===================================================================
*/

.hea-header .offcanvas {
    z-index: 9999 !important;
}

.offcanvas {
    transition: transform 0.5s ease-in-out, visibility 0.5s ease-in-out !important;
}

.offcanvas-start {
    transform: translateX(-100%) !important;
}

.offcanvas.show {
    transform: translateX(0) !important;
}

.offcanvas-backdrop {
    transition: opacity 0.5s ease-in-out !important;
}

.btn-offcanvas-toggle-wrapper .toggle-button {
    color: #fff;
    background-color: #007aff;
    border-color: #007aff;
    text-align: center;
    border-radius: 6px;
}

.btn-offcanvas-toggle-wrapper .toggle-button i {
    color: #fff;
}

.btn-offcanvas-toggle-wrapper .toggle-button svg {
    color: #fff;
}

.offcanvas.offcanvas-start,
.offcanvas.offcanvas-end {
    border-left: 0 !important;
}

.offcanvas.offcanvas-end {
    right: 0 !important;
}

.offcanvass-icon-close,
.offCanvas-close-icon {
    cursor: pointer;
    text-align: center;
    z-index: 999;
}

.offcanvass-icon-close i,
.offcanvass-icon-close svg,
.offCanvas-close-icon i,
.offCanvas-close-icon svg {
    transition: transform 0.3s ease;
}

.offcanvass-icon-close:hover i,
.offcanvass-icon-close:hover svg,
.offCanvas-close-icon:hover i,
.offCanvas-close-icon:hover svg {
    transform: rotate(180deg);
}

/* 
*
Swiper Slider 
*
*/
.swiper-container {
    width: 100%;
    height: auto;
}

.swiper-button-next,
.swiper-button-prev {
    width: 30px;
    height: 30px;
    border: 1px solid #000;
}

.swiper-button-next:after,
.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
    font-size: 18px;
}

.slider-content {
    padding-top: 1em;
}

/* 
    Swiper Parallax
*/
.parallaxSwiper .swiper-wrapper {
    width: 100%;
    height: 100vh;
}

.parallaxSwiper .swiper-wrapper .swiper-slide {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-attachment: fixed;
}

.parallax-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 130%;
    height: 100%;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.slide-content {
    position: relative;
    z-index: 2;
}

.parallaxSwiper .swiper-wrapper .swiper-slide img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 50%;
}

.swiper-pagination.swiper-parallax-pagination {
    display: flex;
    align-items: center;
    bottom: 2em;
}

.swiper-pagination.swiper-parallax-pagination.swiper-pagination-vertical {
    display: inherit;
}

.autoplay-progress {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 10;
    width: 100%;
    height: 100%;
    stroke-width: 4px;
    fillup: none;
    stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
}

.autoplay-progress span {
    position: relative;
    font-size: 14px;
    color: #ffffff;
    z-index: 20;
}

.slide-content {
    text-align: center;
}

a.hea-slider-button {
    display: inline-flex;
    align-items: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: #000000;
    opacity: 0.5;
}

.parallaxSwiper .slide-content>* {
    opacity: 0;
    transform: translateY(40px);
    /* Move down by 40px */
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.parallaxSwiper .swiper-slide-active .slide-content>* {
    opacity: 1;
    transform: translateY(0);
    /* Return to original position */
}

.parallaxSwiper .swiper-slide-active .hea-slider-subtitle {
    transition-delay: 0.3s;
}

.parallaxSwiper .swiper-slide-active .title {
    transition-delay: 0.5s;
}

.parallaxSwiper .swiper-slide-active .hea-slider-paragraph {
    transition-delay: 0.7s;
}

.parallaxSwiper .swiper-slide-active .hea-slider-button {
    transition-delay: 0.9s;
}


/* 
    INFOBOX STYLE
*/
.infobox {
    border: 1px solid #E1E0E7;
    padding: 32px 24px;
}

.infobox .icon {
    width: 56px;
    height: 56px;
    text-align: center;
    border-radius: 12px;
    background: #5081FF;
}

.infobox .icon i {
    font-size: 32px;
    color: #fff;
    line-height: 56px;
}

.infobox .infobox-title {
    font-size: 24px;
    font-weight: 700;
    align-self: center;
}

.infobox p.infobox-decription {
    font-size: 16px;
    font-weight: 500;
    color: #4E5666;
    margin: 1em 0;
}

.button-read-more {
    border: unset;
    background-color: transparent;
}

.hea-slider-heading a:hover {
    color: inherit;
}

/* 
    Testimonials Carousel Styles
*/

.slick-track {
    display: flex !important;
}

#testimonialSlider .testimonial-item {
    padding: 32px;
    border-radius: 16px;
    background-color: #FFFFFF;
}

#testimonialSlider img {
    max-width: 72px;
    height: 72px;
    border-radius: 50px;
    display: inline-block;
}

#testimonialSlider .slide-content {
    padding: 32px;
    text-align: center;
    border-radius: 16px;
    background-color: #F5F8FF;
}

h3.testimonial-name {
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
    text-transform: uppercase;
}

.testimonial-description {
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
}

.testimonial-designation {
    font-size: 14px;
    font-weight: 500;
    line-height: 22.4px;
}

.testimonial-rating {
    font-size: 16px;
}

.filluped-star {
    color: #FFD700;
    /* Gold color for selected stars */
}

.empty-star {
    color: #ccc;
    /* Light gray for unselected stars */
}

#advancedCarousel img {
    width: 100%;
}

/* Initially hide lazy-loaded images */
.slick-slide img {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Once loaded, fade them in smoothly */
.slick-slide.slick-active img,
.slick-slide img.slick-loaded {
    opacity: 1;
}

/* Add a smooth loading placeholder (instead of a spinner) */
.slick-slide .lazyload-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f6f7f8 25%, #edeef1 50%, #f6f7f8 75%);
    background-size: 400% 100%;
    animation: loadingPlaceholder 1.5s infinite linear;
    border-radius: 4px;
    /* Optional: Rounded corners */
}

/* Skeleton loading animation */
@keyframes loadingPlaceholder {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

/* 
POSTGRID STYLE
*/

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
}

.post-item {
    margin: 5px;
    /* padding: 20px; */
    border: 1px solid rgb(199, 199, 199);
}

.postgrid-title h2 {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.postgrid-description p {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 400;
    color: #4E5666;
}

.hea-post-meta-date {
    align-self: flex-end;
}

.hea-post-meta-author {
    color: blue;
}

.hea-post-meta-categories {
    font-size: 16px;
    font-weight: 500;
    color: #4E5666;
}

.hea-post-meta {
    margin-bottom: 10px;
}

.hea-post-meta i {
    margin-right: 3px;
}

.hea-post-meta {
    width: 100%;
    display: flex;
    gap: 16px;
}

.hea-post-wrapper-content {
    display: flex;
    flex-direction: column;
    align-items: start;
}

/* Masonry container */
.hea-post-grid.masonry {
    column-count: 3;
    column-gap: 20px;
}

/* Masonry items */
.hea-post-grid.masonry .style8-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    break-inside: avoid;
}

/* Responsive */
@media (max-width: 991px) {
    .hea-post-grid.masonry {
        column-count: 2;
    }
}

@media (max-width: 575px) {
    .hea-post-grid.masonry {
        column-count: 1;
    }
}

.blur-up {
    -webkit-filter: blur(5px);
    filter: blur(5px);
    transition: filter 400ms, -webkit-filter 400ms;
}

.blur-up.lazyloaded {
    -webkit-filter: blur(0);
    filter: blur(0);
}

.hea-post-item[data-gsap-anim] {
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
}


#huda-contact-form .form-check .form-check-input,
#huda-contact-form .form-check .checkbox {
    float: left !important;
}

#huda-contact-form .huda-terms-label p {
    margin-bottom: 0 !important;
}

/* 
    SOCIAL SHARE STYLE
*/
.hea-social-share-widget {
    font-family: Arial, sans-serif;
}

.hea-social-share-widget .hea-social-icons {
    display: flex;
    gap: 10px;
}

.hea-social-share-widget .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.hea-social-share-widget .icon:hover {
    background-color: #f0f0f0;
    color: #000;
}

.hea-social-share-widget .icon i {
    font-size: 18px;
}

.hea-social-share-widget.horizontal .hea-social-icons {
    flex-direction: row;
}

.hea-social-share-widget.vertical .hea-social-icons {
    flex-direction: column;
}

/* 
POSTGRID STYLE
*/
.single figure.wp-block-image {
    margin: 1em 0 !important;
}

.post-grid-wrapper .style2-item .category-meta {
    top: 14px;
    left: 14px;
    text-align: center;
}

/* Style 4 */

.style4-item .hea-post-title {
    position: relative;
    margin-bottom: 0 !important;
}

.style4-item .hea-post-title a {
    color: #000;
}

.style4-item .post-content-wrapper {
    bottom: 18px;
}

.style4-item .hea-post-content {
    color: #000000;
    background: #ffffff;
    width: 94%;
    margin: 0 auto;
    padding-top: 10px;
}

.style4-item .hea-post-meta-wrapper {
    bottom: 14px;
    left: 30px;
}

.style4-item .hea-post-thumbnail {
    position: relative;
}

.style4-item .hea-post-thumbnail::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%);
}

/* Style 5 */

.post-grid-wrapper .style5-item .category-meta {
    top: 14px;
    left: 14px;
    text-align: center;
}

.style5-item .hea-post-content-wrapper {
    bottom: 24px;
    left: 14px;
}

.style5-item .hea-post-title a {
    color: white;
}

.style5-item .post-meta-wrapper {
    color: white;
}

.style5-item .hea-post-thumbnail {
    position: relative;
}

.style5-item .hea-post-thumbnail::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%);
}

/* Style 6 */

.style6-item .hea-post-wrapper {
    flex-direction: row-reverse;
}

p.hea-post-description {
    font-size: 14px;
    font-weight: 400;
    color: #4E5666;
    margin-bottom: 12px;
}

.hea-post-meta {
    align-items: center;
}

.hea-post-meta-date {
    align-self: flex-end;
}

.hea-post-meta-author {
    color: blue;
}

.hea-post-meta-categories {
    font-size: 16px;
    font-weight: 500;
    color: #4E5666;
}

.hea-post-wrapper {
    align-items: center;
}

.hea-post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-right: 12px;
}

.hea-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hea-post-meta i {
    margin-right: 3px;
}

.hea-post-meta {
    width: 100%;
    display: flex;
    gap: 16px;
}

.hea-post-meta {
    width: 100%;
    display: flex;
    gap: 16px;
}

.hea-post-meta img.avatar {
    width: 100%;
    height: auto;
    max-width: 24px;
}

.hea-post-meta i {
    margin-right: 5px;
}

/* Post Grid Style 7 */

.style7-item .hea-post-item {
    display: flex;
    flex-direction: row !important;
    justify-content: space-between;
}


/* Post Grid Style 10 */
.style10-item .hea-post-item {
    display: flex;
    justify-content: space-between;
}

.style10-item article.hea-post-item .hea-post-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.style10-item:nth-child(odd) {
    border-right: 1px solid #f2f2f2;
    padding: 12px 0;
}

.style10-item:nth-child(even) {
    padding: 12px;
    padding: 12px;
}

.style10-item {
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
}

/*
    POST PAGINATION
*/

nav.hea-pagination .page-item {
    text-align: center;
}

/* Smart Heading Style */

.hea-advanced-heading-wrapper-inner,
.hea-advanced-creative-wrapper-inner {
    width: 100%;
    max-width: 600px;
    display: inline-block;
}

/* Post Grid Style */

button.learn-more-button {
    background: transparent;
    border: unset;
}

/* Price Style */

.price-tag {
    width: 100%;
    display: flex;
}

.pricing-period {
    display: flex;
    align-items: end;
}

/* Hea Comments Form Style */

.comment-author.vcard img {
    border-radius: 24px;
}

.comment-form-author {
    margin-top: 12px;
}

.comment-form-author,
.comment-form-email,
.comment-form-url,
.comment-form-comment,
.comment-form-cookies-consent {
    margin-top: 12px;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
    margin-top: 8px;
}

.comment-form-cookies-consent input[type="checkbox" i] {
    width: 20px;
}

.comment-list{
    list-style: none !important;
}

.hea-meta {
    margin-left: 6px;
    align-items: center;
}

/* Post Carousel */

.hea-post-item {
    padding: 12px;
}

.post-thumbnail {
    width: 100%;
    overflow: hidden;
    margin-bottom: 14px;
}

.post-thumbnail img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.post-meta-wrapper {
    display: flex;
    justify-content: space-between;
}

.post-author-date {
    display: flex;
    gap: 1em;
}

/* Info List Style */

.info-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.list-item {
    width: 100%;
    display: flex;
    gap: 8px;
    align-items: center;
}

.list-icon i {
    display: flex;
    text-align: center;
    justify-content: center;
}


/* form style */
#huda-contact-form {
    align-items: center;
}

form#huda-contact-form .input-group {
    gap: 12px;
    align-items: center !important;
}

/* Container for the fields */
.input-group.layout-inside {
    /* Change 'background' to 'background-color' so we don't kill the arrow image */
    background-color: transparent !important;

    /* Restore padding-right so the arrow has room to show up */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 25px !important;
    /* This creates space for the arrow */

    border: none !important;
    font-weight: 700;
    font-size: 16px;
    color: #1a2b48;
    height: auto !important;
    box-shadow: none !important;

    /* Ensure the browser's default arrow or Bootstrap's arrow is allowed */
    appearance: auto !important;
    -webkit-appearance: auto !important;

    /* If using Bootstrap 5, it uses a background-image chevron. 
       This ensures the background image stays centered on the right */

}

.input-group.layout-inside .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%231a2b48' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-position: right center !important;
    background-repeat: no-repeat !important;
    background-size: 16px 12px !important;
}

/* The Circle Icon */
.input-group.layout-inside .input-group-icon {
    width: 45px;
    height: 45px;
    border: 1px solid #1a2b48;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #1a2b48;
}

/* Stacking the Label and Input */
.field-stack-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Inside Label Styling */
.form-label-inside {
    font-size: 13px;
    color: #7a7a7a;
    margin: 0;
    line-height: 1.2;
}

/* Input/Select styling for the "Inside" look */
.layout-inside .form-control,
.layout-inside .form-select {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    font-weight: 700;
    font-size: 16px;
    color: #1a2b48;
    height: auto;
    box-shadow: none !important;
}

/* Ensure the arrow in select fields works */
.layout-inside .form-select {
    padding-right: 20px !important;
}

/* Single Post Meta Style */

.hea-meta {
    width: 100%;
    display: flex;
    gap: 16px;
}

.hea-meta i {
    margin-right: 6px;
}

.hea-meta img.avatar {
    border-radius: 3.125em;
}

/* 
    IMAGE ACCORDION
*/

/* vertical style */
.hea-image-accordion.layout-vertical {
    width: 580px;
    height: 580px;
    transform: rotate(-90deg);
    transform-origin: center;
}

.hea-image-accordion.layout-vertical {
    flex-direction: row;
    transform: rotate(-90deg);
}

.hea-image-accordion.layout-vertical .accordion-button,
.hea-image-accordion.layout-horizontal .accordion-button {
    height: 200px;
    font-size: 40px;
    color: #fff;
    background: #1D2124;
}

.hea-image-accordion.layout-vertical .accordion-collapse,
.hea-image-accordion.layout-horizontal .accordion-collapse {
    height: 500px;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.hea-image-accordion.layout-vertical .accordion-body {
    width: 80%;
    position: absolute;
    bottom: 34%;
    left: 60%;
    transform: translateX(-100%) rotate(90deg);
    display: flex;
    flex-direction: column;
}

.hea-image-accordion .accordion-button::after {
    display: none;
}

/* TEXT MARQUEE STYLE */
.hea-text-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.hea-text-marquee {
    display: flex;
    align-items: center;
    /* Important: fit-content ensures the width is calculated by the items */
    width: max-content;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.hea-text-marquee .hea-marquee-item {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
    gap: 12px;
}

.hea-pause-on-hover:hover .hea-text-marquee {
    animation-play-state: paused;
}

/* 
   SEAMLESS ANIMATION LOGIC:
   We move -50% because the PHP will generate the items TWICE.
   So moving -50% means moving exactly the length of one original set.
*/
@keyframes marquee-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* 
    SIMPLE BUTTON STYLE
*/

/* Base button wrapper styling */
.simple-button-wrapper .simple-button,
.simple-button-wrapper a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.simple-button-wrapper a.simple-button {
    color: inherit;
    text-decoration: none;
}

.creative-button {
    text-align: center;
}

/* --- Lift Effect --- */
.hover-effect-lift .simple-button:hover,
.creative-button-wrapper.style1.hover-effect-lift .creative-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* --- Gradient Slide --- */
.hover-effect-gradient .simple-button::before,
.creative-button-wrapper.style1.hover-effect-gradient .creative-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, var(--hover-gradient-color-1, #5081FF), var(--hover-gradient-color-2, #6AB3FF));
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: 0;
}

.hover-effect-gradient .simple-button:hover::before,
.creative-button-wrapper.style1.hover-effect-gradient .creative-button:hover::before {
    transform: translateX(0);
}

.hover-effect-gradient .simple-button>*,
.creative-button-wrapper.style1.hover-effect-gradient .creative-button>* {
    position: relative;
    z-index: 1;
}

/* --- Border Reveal --- */
.hover-effect-border .simple-button::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid;
    color: currentColor;
    border-radius: 50px;
    transform: scale(0.85);
    opacity: 0;
    transition: all 0.3s ease;
}

.hover-effect-border .simple-button:hover::after {
    transform: scale(1);
    opacity: 1;
}

/* --- Underline Slide --- */
.hover-effect-underline .simple-button {
    position: relative;
    overflow: hidden;
}

.hover-effect-underline .simple-button::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.hover-effect-underline .simple-button:hover::after {
    width: 100%;
}

/* --- fillup Effect --- */
.hover-effect-fillup .simple-button,
.creative-button-wrapper.style1.hover-effect-fillup .creative-button {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hover-effect-fillup .simple-button::before,
.creative-button-wrapper.style1.hover-effect-fillup .creative-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: currentColor;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    z-index: 0;
}

.hover-effect-fillup .simple-button:hover::before,
.creative-button-wrapper.style1.hover-effect-fillup .creative-button:hover::before {
    transform: translateY(0);
}

.hover-effect-fillup .simple-button>*,
.creative-button-wrapper.style1.hover-effect-fillup .creative-button>* {
    position: relative;
    z-index: 1;
    color: currentColor;
    /* text contrast */
}

/* --- Fill Down (Top → Bottom) --- */
.hover-effect-fillbottom .simple-button,
.creative-button-wrapper.style1.hover-effect-fillbottom .creative-button {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hover-effect-fillbottom .simple-button::before,
.creative-button-wrapper.style1.hover-effect-fillbottom .creative-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: currentColor;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    z-index: 0;
}

.hover-effect-fillbottom .simple-button:hover::before,
.creative-button-wrapper.style1.hover-effect-fillbottom .creative-button:hover::before {
    transform: translateY(0);
}

.hover-effect-fillbottom .simple-button>*,
.creative-button-wrapper.style1.hover-effect-fillbottom .creative-button>* {
    transform: translateX(0);
}

.hover-effect-fillleft .simple-button>*,
.creative-button-wrapper.style1.hover-effect-fillleft .creative-button>* {
    position: relative;
    z-index: 1;
    color: currentColor;
}

/* --- Fill Right → Left --- */
.hover-effect-fillright .simple-button,
.creative-button-wrapper.style1.hover-effect-fillright .creative-button {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hover-effect-fillright .simple-button::before,
.creative-button-wrapper.style1.hover-effect-fillright .creative-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: currentColor;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 0;
}

.hover-effect-fillright .simple-button:hover::before,
.creative-button-wrapper.style1.hover-effect-fillright .creative-button:hover::before {
    transform: translateX(0);
}

.hover-effect-fillright .simple-button>*,
.creative-button-wrapper.style1.hover-effect-fillright .creative-button>* {
    position: relative;
    z-index: 1;
    color: currentColor;
}

/* --- Fill Left → Right --- */
.hover-effect-fillleft .simple-button,
.creative-button-wrapper.style1.hover-effect-fillleft .creative-button {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hover-effect-fillleft .simple-button::before,
.creative-button-wrapper.style1.hover-effect-fillleft .creative-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: currentColor;
    /* inherits text color */
    transform: translateX(-100%);
    /* start hidden from the left */
    transition: transform 0.4s ease;
    z-index: 0;
}

.hover-effect-fillleft .simple-button:hover::before,
.creative-button-wrapper.style1.hover-effect-fillleft .creative-button:hover::before {
    transform: translateX(0);
    /* slide in to fill */
}

.hover-effect-fillleft .simple-button>*,
.creative-button-wrapper.style1.hover-effect-fillleft .creative-button>* {
    position: relative;
    z-index: 1;
    color: currentColor;
}

/* --- Glow Effect --- */
.hover-effect-glow .simple-button:hover,
.creative-button-wrapper.style1.hover-effect-glow .creative-button:hover {
    box-shadow: 0 0 10px rgba(80, 129, 255, 0.6),
        0 0 20px rgba(80, 129, 255, 0.4);
}

/* --- Tilt Effect --- */
.hover-effect-tilt .simple-button,
.creative-button-wrapper.style1.hover-effect-tilt .creative-button,
.creative-button-wrapper.style2.hover-effect-tilt .creative-button {
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
}

.hover-effect-tilt .simple-button:hover,
.creative-button-wrapper.style1.hover-effect-tilt .creative-button:hover,
.creative-button-wrapper.style2.hover-effect-tilt .creative-button:hover {
    transform: rotateX(8deg) rotateY(8deg) !important;
}

/* --- Ripple Effect --- */
.hover-effect-ripple .simple-button,
.creative-button-wrapper.style1.hover-effect-ripple .creative-button {
    position: relative;
    overflow: hidden;
}

.hover-effect-ripple .simple-button::after,
.creative-button-wrapper.style1.hover-effect-ripple .creative-button::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    background: rgba(80, 129, 255, 0.4);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.hover-effect-ripple .simple-button:hover::after,
.creative-button-wrapper.style1.hover-effect-ripple .creative-button:hover::after {
    transform: translate(-50%, -50%) scale(6);
    opacity: 1;
}

/* 
   CREATIVE BUTTON STYLE
*/
/* Base button wrapper styling */
.creative-button-wrapper .creative-button,
.creative-button-wrapper a {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 1px solid #D1D4DC;
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.creative-button-wrapper.style2 .creative-button {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: none;
    background-color: transparent !important;
}

.creative-button-wrapper.style2 .creative-button .creative-button-text {
    position: relative;
    z-index: 2;
    font-weight: bold;
    color: #000;
}

.creative-button-wrapper.style2 .creative-button .creative-scribble {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.creative-button-wrapper.style2 .creative-button .creative-scribble svg {
    width: 100% !important;
    height: 100%;
}

.creative-button-wrapper.style2 .creative-button .creative-scribble svg path {
    fill: white;
}

.huda-circular-text.huda-rotate {
    display: inline-block;
    animation: huda-circle-rotate linear infinite;
}

@keyframes huda-circle-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* Glow */
.huda-circular-text.glow:hover {
    filter: drop-shadow(0 0 14px rgba(80, 129, 255, 0.75)) !important;
    transition: filter 0.4s ease-in-out !important;
}

/* Zoom Out */
.huda-circular-text.zoom-out:hover {
    transform: scale(0.9) !important;
    transition: transform 0.4s ease-in-out !important;
}

/* 
   INSTAGRAM WIDGET STYLE
*/
.huda-instagram-feed {
    display: flex;
}

.huda-instagram-item {
    position: relative;
    overflow: hidden;
}

.huda-instagram-item img {
    width: 264px;
    height: 280px !important;
    max-height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.huda-instagram-item:hover img {
    transform: scale(1.1);
}

/* Overlay */
.huda-instagram-item .huda-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.huda-instagram-item:hover .huda-overlay {
    opacity: 1;
}

/* Instagram icon */
.huda-instagram-item .huda-overlay i {
    color: #fff;
    font-size: 32px;
}



/* 
   AJAX SEARCH STYLE
*/
.hea-search-form-wrapper #datafetch,
.hea-search-wrapper {
    max-width: 100%;
    position: relative;
}

.hea-search-form-wrapper #datafetch h3 {
    position: absolute;
    padding: 18px;
    background-color: #fff;
    width: 100%;
}

.hea-search-form-wrapper .input-wrapper {
    position: relative;
}

.hea-search-form-wrapper #spinner,
.hea-ajax-search-spinner {
    position: absolute;
    top: 50%;
    right: 1em;
    transform: translateY(-50%);
}

.hea-search-form-wrapper {
    width: 60%;
    margin: 0 auto;
}

.hea-search-form-wrapper .search-wrapper {
    width: 100%;
    padding: 14px;
    overflow-y: auto;
    background: #f2f2f2;
    height: 400px;
    position: absolute;
    z-index: 999;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.hea-search-form-wrapper .search-wrapper .article {
    height: auto !important;
}

.hea-search-form-wrapper .search-wrapper .article a img {
    margin-bottom: 0 !important;
}

.hea-search-form-wrapper article.search {
    display: flex;
    align-items: start;
    flex-direction: row;
    border-bottom: 1px solid #d5d8dc;
    background: transparent;
    padding-bottom: 16px;
    margin-bottom: 16px;
    gap: 8px;
}

.hea-search-form-wrapper article.search a.post-thumbnail,
.hea-search-form-wrapper article.search .woo-product-image {
    width: 20%;
}

.hea-search-form-wrapper article.search a.post-thumbnail img {
    max-width: 140px;
    max-height: 140px;
}

.hea-search-form-wrapper article.search .post-content {
    width: 80%;
}

/* 
   POST IMAGE WIDGET STYLE
*/
.single-post-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
    z-index: 99;
}

/* 
    FOOTER STYLE
*/
footer.hea-footer {
    clear: both;
    display: block;
}

footer#huda-theme-builder-footer .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* 
    WOOCOMMERCE STYLE
*/
.hea-product-card {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    background: #fff;
    text-align: left;
    position: relative;
    margin-bottom: 1em;
}

.hea-product-card .product-image-wrapper .product-image img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    object-fit: cover;
}

.hea-product-card .hea-product-details {
    width: auto;
    z-index: 99;
    left: 0;
    bottom: 0;
}

.product-image-wrapper {
    position: relative;
}

.hea-woo-product-inner {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hea-wishlist-btn,
.hea-qv-btn {
    width: 34px;
    height: 34px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 18px;
    border-radius: 50px !important;
    padding: 0 !important;
    color: #ffffff !important;
}

.hea-qv-btn svg,
.hea-wishlist-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.hea-product-card .hea-qv-btn i {
    font-size: 20px;
    color: #0c1e4c;
}

.qv-socials .qv-icon {
    width: 34px;
    height: 34px;
    border-radius: 50px !important;
    border: 1px solid;
    border-color: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
}

mark,
ins {
    background-color: transparent !important;
}

.hea-woo-product-meta {
    display: flex;
    gap: 6px;
}

/* Loading State: Hide Text/Icon, Show Spinner */
.hea-button.loading .hea-btn-content,
.hea-button.added {
    display: none !important;
}

.hea-button.loading .hea-btn-spinner {
    display: inline-flex !important;
}

.hea-product-card .hea-product-details h3 {
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.hea-product-card .product-details .price {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

.hea-product-card .product-details .hea-price,
.hea-product-card .product-details .price {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hea-product-card .product-details .hea-price del,
.hea-product-card .product-details .price del {
    order: 2;
}

.hea-product-card .product-details .hea-price ins,
.hea-product-card .product-details .price ins {
    order: 1;
}

.hea-product-excerpt {
    margin-bottom: 10px;
}

.hea-product-card .btn-primary {
    background: #5081FF;
    border: none;
    padding: 10px 15px;
    color: #fff;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 12px;
}

.hea-product-card .btn-primary:hover {
    background: #3a6ed9;
}

.badge {
    display: inline-block;
    padding: 5px 10px;
    font-size: 12px;
    color: #fff;
    background: #ff6f61;
    margin: 5px;
    border-radius: 3px;
    text-transform: uppercase;
}

.badge.badge-sale {
    background: #ff3f3f;
}

.badge.badge-featured {
    background: #5081ff;
}

.badge.round {
    border-radius: 50%;
    padding: 8px;
}

.product-image {
    position: relative;
}

/* Swatches Style */
/* 1. HIDE THE DEFAULT SELECT BOX */
.hea-swatch-controller select {
    display: none !important;
    visibility: hidden !important;
}

/* 2. LAYOUT */
.hea-swatches-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    margin-top: 5px;
}

/* 3. SWATCH ITEMS */
.hea-swatch {
    cursor: pointer;
    border: 1px solid #ddd;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    position: relative;
}

/* Hover & Selected */
.hea-swatch:hover {
    border-color: #999;
}

.hea-swatch.selected {
    border-color: #000;
    /* box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000; */
}

/* Color Shape */
.hea-swatch.type-color {
    border-radius: 50%;
}

/* Image Shape */
.hea-swatch.type-image {
    width: 40px;
    height: 40px;
    padding: 2px;
    border-radius: 4px;
}

.hea-swatch.type-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Label Shape */
.hea-swatch.type-label {
    width: auto;
    padding: 0 10px;
    min-width: 35px;
    font-size: 13px;
}

.hea-swatch.type-label.selected {
    background: #000;
    color: #fff;
}

form.cart{
    align-items: flex-start !important;
}

form.variations_form {
    flex-direction: column;
    align-items: start;
    gap: 0 !important;
    white-space: nowrap;
}

form.variations_form table.variations tr td.value {
    border: 0;
}

form.variations_form .woocommerce-variation-add-to-cart.variations_button {
    display: flex;
    align-items: center;
    gap: 1em;
}

form.variations_form .hea-add-to-cart-widget form.cart input[type=number] {
    margin-right: 0 !important;
}

.hea-add-to-cart-widget form.variations_form table tr {
    display: flex;
    flex-direction: column;
}

form.variations_form select {
    padding: 4px 12px;
}

form.variations_form table {
    margin-bottom: 0;
}

/* Smooth transition for price updates */
.hea-dynamic-price {
    transition: opacity 0.2s ease-in-out;
    display: inline-block;
    /* Ensures transform/opacity works correctly */
    will-change: opacity;
}

/* Optional: Style the new price slightly differently if needed */
.hea-dynamic-price del {
    opacity: 0.6;
}

.hea-dynamic-price ins {
    text-decoration: none;
    font-weight: 700;
}

.hea-add-to-cart-widget .woocommerce-variation-price {
    display: none !important;
}

.hea-product-swatches {
    width: 96%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 10px;
    border-radius: 4px;
}

.hea-product-swatches>div,
.hea-product-swatches .swatch-wrapper {
    display: inline-flex;
    flex-wrap: wrap;
    width: auto;
    max-width: 100%;
    gap: 4px;
    align-items: center;
    cursor: pointer;
}

.swatch {
    width: 24px;
    height: 24px;
    border: 1px solid #ddd;
    border-radius: 50%;
    transition: border-color 0.3s ease;
    display: block;
}

.swatch-type-label {
    padding: 0 10px;
    border: 1px solid #f2f2f2;
}

.swatch:hover {
    border-color: #333;
}

.text-swatch .swatch-text {
    display: inline-block;
    padding: 5px 10px;
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    color: #333;
    text-transform: capitalize;
}

.text-swatch .swatch-text:hover {
    background: #eee;
}

.swatch-type-color.active,
.swatch-type-label.active,
.swatch-type-image.active {
    border: 1px solid #ff3b30;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

.swatch-type-label.active {
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.hea-product-price-rating {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.hea-cart-button {
    display: flex;
    justify-content: center;
}

.hea-cart-button .hea-button.ajax_add_to_cart.add_to_cart_button {
    display: flex;
    align-items: center;
}

.hea-woocommerce-checkout .checkout.woocommerce-checkout .woocommerce-checkout-review-order table {
    width: 100%;
    margin-bottom: 20px;
}

.hea-woocommerce-checkout .woocommerce {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: block;
}

.woocommerce-form-coupon-toggle {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.woocommerce-form-coupon-toggle .woocommerce-info a {
    color: #5081FF;
    text-decoration: underline;
}

.woocommerce-form-coupon {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.woocommerce-form-coupon input.input-text {
    flex: 2;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.woocommerce-form-coupon button.button {
    flex: 1;
    background-color: #5081FF;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}

.woocommerce-form-coupon button.button:hover {
    background-color: #3060CC;
}

#customer_details {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

#customer_details .col-1,
#customer_details .col-2 {
    flex: 1;
    min-width: 300px;
}

.woocommerce-billing-fields__field-wrapper p.form-row {
    margin-bottom: 15px;
}

.woocommerce-billing-fields__field-wrapper label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.woocommerce-billing-fields__field-wrapper input.input-text,
.woocommerce-billing-fields__field-wrapper textarea,
.woocommerce-billing-fields__field-wrapper select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    margin-bottom: 10px;
}

.woocommerce-billing-fields__field-wrapper input.input-text:focus,
.woocommerce-billing-fields__field-wrapper select:focus {
    border-color: #5081FF;
    box-shadow: 0 0 5px rgba(80, 129, 255, 0.5);
    outline: none;
}

.woocommerce-checkout-review-order {
    margin-top: 20px;
}

.woocommerce-checkout-review-order table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.woocommerce-checkout-review-order table th,
.woocommerce-checkout-review-order table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.woocommerce-checkout-review-order table th {
    background-color: #f8f8f8;
    font-weight: bold;
}

.woocommerce-checkout-review-order .order-total th,
.woocommerce-checkout-review-order .order-total td {
    font-size: 18px;
    font-weight: bold;
}

.woocommerce-checkout-payment .woocommerce-info {
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
}

.woo-product-filter-widget {
    margin: 20px 0;
}

.woo-product-filter-widget form input,
.woo-product-filter-widget form select {
    display: block;
    margin-bottom: 10px;
    padding: 8px;
    width: 100%;
}

#filtered-products {
    margin-top: 20px;
}

.woo-product-filter-widget {
    margin: 20px 0;
}

.woo-product-filter-widget .filter-section {
    margin-bottom: 15px;
}

.woo-product-filter-widget form input,
.woo-product-filter-widget form select {
    display: block;
    width: 100%;
    max-width: 300px;
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.woo-product-filter-widget button {
    margin-right: 10px;
    padding: 10px 20px;
    background-color: #ff5722;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.woo-product-filter-widget button:hover {
    background-color: #e64a19;
}

.product-grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.product-item {
    flex: 1 1 calc(33.333% - 20px);
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.hea-woo-tabs .woocommerce-tabs .panel h2,
.hea-woo-tabs .woocommerce-tabs .panel p {
    margin-bottom: 12px !important;
}

.hea-woo-tabs .woocommerce-tabs ol li.review .comment_container {
    width: 100%;
}

.hea-woo-tabs .woocommerce-tabs ol li.review .comment_container img.avatar {
    width: 48px;
    height: 48px;
}

/* 
* MINI CART STYLE
* 
*/

.hea-site-header-cart .cart-contents .bag-icon {
    position: relative;
}

.hea-site-header-cart .cart-contents .cart-badge {
    position: absolute;
    bottom: 0;
    right: 14px;
    color: #FFF;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    ;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e93315;
}

.hea-hea-site-header-cart {
    width: 30px;
    position: relative;
}

.hea-hea-site-header-cart .mini-cart-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.hea-hea-site-header-cart .mini-cart-content h4.woo-mini-cart-title {
    margin-bottom: 6px;
}

.hea-hea-site-header-cart:hover .mini-cart-content {
    display: block;
}

.hea-site-header-cart {
    position: relative;
    display: inline-flex;
}

.hea-site-header-cart .mini-cart-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    color: #000;
    width: 300px;
    height: max-content;
    padding: 14px;
    z-index: 1000;
    display: none;
    border: 1px solid #ccc;
}

.hea-site-header-cart:hover .mini-cart-content {
    display: block;
}

.mini-cart-flex-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mini-cart-content ul.cart_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mini-cart-content .cart_list li {
    display: flex;
    justify-content: flex-start;
    margin: 12px 0;
    gap: 1em;
}

.mini-cart-remove-wrapper {
    margin-left: auto;
}

.hea-site-header-cart .mini-cart-content .woocommerce-mini-cart-item.mini_cart_item a {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mini-cart-content .cart_list li {
    width: 100%;
    display: flex;
    position: relative;
}


.hea-site-header-cart .woocommerce-mini-cart-item.mini_cart_item .quantity {
    margin-bottom: 8px;
}

.hea-site-header-cart .woocommerce-mini-cart-item.mini_cart_item a img {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    object-fit: cover;

}

.hea-site-header-cart .mini-cart-content .woocommerce-mini-cart__buttons.buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.hea-site-header-cart .mini-cart-content .woocommerce-mini-cart__buttons.buttons a.button,
.button.wc-forward,
.button.checkout.wc-forward {
    text-align: center;
}

.hea-site-header-cart .mini-cart-content .title-divider {
    border: none;
    height: 1px;
    opacity: 100%;
    margin-bottom: 8px;
    background-color: #000;
}

.custom-cart-button,
.custom-checkout-button {
    background: #040E23;
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    display: inline-block;
    text-align: center;
}

.hea-mini-cart .woocommerce-mini-cart-item.mini_cart_item a {
    display: flex;
    align-items: center;
}

.hea-mini-cart .custom-qty-pill {
    width: 100px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: solid;
    border-width: 1px;
    border-color: #f2f2f2;
    padding: 0 6px;
}

.hea-mini-cart .custom-qty-pill .qty-btn.minus,
.hea-mini-cart .custom-qty-pill .qty-btn.plus {
    padding: 0;
    border: 0;
    font-size: 34px;
    font-family: 'Padauk', sans-serif;
    color: #040E23 !important;
    background-color: transparent !important;
}

.hea-mini-cart .mini-cart-bottom-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hea-mini-cart .mini-cart-remove-wrapper {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    background-color: #f2f2f2;
}

.woocommerce-mini-cart__empty-message {
    font-size: 20px;
    padding: 14px 0;
    text-align: center;
}

.hea-mini-cart .mini-cart-empty-button .button.wc-forward:hover {
    background-color: #000;
    color: #fff;
}

p.woocommerce-mini-cart__total.total {
    display: none;
}

.cart-offcanvas-footer p.woocommerce-mini-cart__total.total {
    display: flex !important;
    justify-content: space-between;
}

/* 
Mini Cart Offcanvas Styles 
*/
.cart-offcanvas .custom-cart-button,
.cart-offcanvas .custom-checkout-button {
    width: 100%;
}

.cart-offcanvas .offcanvas-body .woocommerce-mini-cart__total.total {
    display: none !important;
}

.cart-offcanvas .offcanvas-body.mini-cart-content {
    padding: 0 !important;
    overflow-x: hidden !important;
}

.cart-offcanvas .offcanvas-body.mini-cart-content .variation {
    display: none;
}

.cart-offcanvas .offcanvas-body.mini-cart-content .cart_list li {
    flex-direction: row;
    align-items: center;
}

.cart-offcanvas .offcanvas-body.mini-cart-content .woocommerce-mini-cart-item.mini_cart_item a {
    gap: 1em;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    flex-wrap: wrap;
}

.huda-mini-cart-item-layout {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    align-items: flex-start;
    margin-top: 1em;
    gap: 1em;
}

.huda-qty-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
}

.huda-qty-wrapper .huda-line-price {
    font-size: 16px;
}

.huda-qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 50px;
    padding: 4px 12px;
    width: fit-content;
    gap: 15px;
}

.huda-qty-control button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 0 !important;
    margin: 0 !important;
    background-color: transparent !important;
    border-width: 0 !important;
    line-height: 0;
    color: #000 !important;
}

.huda-qty-control button svg stroke {
    color: currentColor !important;
}

.huda-mini-cart-empty {
    height: 74vh;
}

.huda-qty-control button:hover {
    color: currentColor !important;
}

.huda-qty-number {
    font-size: 16px;
    min-width: 20px;
    text-align: center;
}

.huda-item-remove {
    width: 34px;
    height: 34px;
    background-color: #f2f2f2;
    border-radius: 50px;
    cursor: pointer;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto !important;
}

.huda-item-remove a.remove_from_cart_button svg {
    display: flex;
    align-items: center;
    justify-content: center;
}

.huda-item-remove svg stroke {
    color: currentColor !important;
}

.woocommerce-mini-cart__buttons.buttons .button.custom-cart-button,
.cart-offcanvas .woocommerce-mini-cart__buttons.buttons .button.custom-checkout-button {
    border: 1px solid #2a2115;
}

.woocommerce-mini-cart .remove_from_cart_button svg.size-6 {
    width: 20px;
    height: 20px;
    color: currentColor;
}

.cart-offcanvas .woo-mini-cart-title {
    border-bottom: 0 !important;
}

.cart-offcanvas .cart-offcanvas-footer .woocommerce-mini-cart__total.total {
    display: flex;
    justify-content: space-between;
}

.cart-offcanvas .cart-offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border: 1px;
    border-style: solid;
    border-width: 0px 0px 1px 0px;
    border-color: #f2f2f2;
}

.cart-offcanvas .cart-offcanvas-header button.cart-offcanvas-btn-close {
    background-color: transparent;
    border: none;
}

.cart-offcanvas .cart-offcanvas-header button.cart-offcanvas-btn-close svg {
    width: 16px;
    height: 16px;
}

.cart-offcanvas .woocommerce-mini-cart-item.mini_cart_item a {
    margin-bottom: 0 !important;
}

/**
* My Account Page Styles
*/
.hea-woocommerce-my-account .woocommerce.tabs-position-top {
    flex-direction: column;
}

.hea-woocommerce-my-account .woocommerce.tabs-position-top nav.woocommerce-MyAccount-navigation ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
    gap: 2em;
}

.hea-woocommerce-my-account .woocommerce.tabs-position-top nav.woocommerce-MyAccount-navigation {
    width: 100%;
}

.hea-woocommerce-my-account .woocommerce.tabs-position-top nav.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout {
    padding: 0;
    border: unset;
    background: unset;
    margin: 0 !important;

}

.hea-woocommerce-my-account .woocommerce.tabs-position-top nav.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #000;
}

.hea-woocommerce-my-account .woocommerce.tabs-position-top nav.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout::before {
    display: none;
}

.tabs-position-left {
    display: flex;
}

.tabs-position-left .woocommerce-MyAccount-navigation {
    flex: 0 0 25%;
    margin-right: 20px;
}

.tabs-position-left .woocommerce-MyAccount-content {
    flex: 1;
}

.tabs-position-right {
    display: flex;
}

.tabs-position-right .woocommerce-MyAccount-navigation {
    order: 2;
    flex: 0 0 25%;
    margin-left: 20px;
}

.tabs-position-right .woocommerce-MyAccount-content {
    flex: 1;
}

.tabs-position-top .woocommerce-MyAccount-navigation {
    margin-bottom: 20px;
}

.tabs-position-bottom {
    display: flex;
    flex-direction: column;
}

.tabs-position-bottom .woocommerce-MyAccount-navigation {
    order: 2;
    margin-top: 20px;
}

.hea-woocommerce-my-account tbody,
td,
tfoot,
th,
thead,
tr {
    padding-bottom: 4px;
}

.hea-woocommerce-my-account .show-password-input {
    display: none;
}

/* Woo Cart Styles */
.woocommerce-cart-container .woocommerce-cart-form {
    border: 1px solid #00000059;
}

.woocommerce-cart-container .woocommerce-cart-form .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents thead {
    height: 50px;
    background-color: red;
    color: white;
}

.woocommerce-cart-container .woocommerce-cart-form .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents thead th {
    padding: 0px 20px;
}

.woocommerce-cart-container .woocommerce-cart-form .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tbody td {
    padding: 20px;
}

.woocommerce-cart-container .cart-coupon .coupon {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.192);
    flex-wrap: wrap;
}

.woocommerce-cart-container .cart-coupon .coupon .coupon-details {
    width: 100%;
    display: flex;
    gap: 20px;
}

.woocommerce-cart-container .cart-coupon .coupon .coupon-details label {
    display: none;
}

.woocommerce-cart-container .cart-coupon .coupon .coupon-details input {
    width: 262px;
    height: 55px;
}

.woocommerce-cart-container .cart-coupon .coupon .coupon-details button {
    border: 1px solid #E1E0E7;
    text-align: center !important;
}

.woocommerce-cart-container .cart-coupon .coupon .cart-actions {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.woocommerce-cart-container .cart_totals {
    background-color: #f2eded;
    width: 46%;
    margin: 30px 0px;
    padding: 24px 20px;
}

.woocommerce-cart-container .cart_totals .wc-proceed-to-checkout {
    margin: 18px 0px;
}

.woocommerce-cart-container .cart_totals .wc-proceed-to-checkout a {
    color: white;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    #customer_details {
        flex-direction: column;
    }
}

/* Product Grid Style 2 Styles */
.product-style2-item {
    position: relative;
}

.product-style2-item .hea-cart-button {
    width: 94%;
    bottom: -20px;
    /* Start slightly below */
    left: 50%;
    display: flex;
    visibility: hidden;
    transform: translate(-50%, 0);
    /* Initially off the bottom */
    opacity: 0;
    position: absolute;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, bottom 0.3s ease-in-out;
}

.product-style2-item .product-image:hover .hea-cart-button {
    visibility: visible;
    bottom: 14px;
    opacity: 1;
    transform: translate(-50%, 0);
    /* Move to the correct position smoothly */
}

.product-style2-item .hea-woo-product-inner {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, bottom 0.3s ease-in-out;
}

.product-style2-item .product-image:hover .hea-woo-product-inner {
    visibility: visible;
    opacity: 1;
}

.product-style2-item .hea-product-swatches {
    position: static;
    transform: translate(0);
}

/* Product Grid Style 3 Styles */
.product-style3-item .hea-cart-button {
    width: 100%;
    margin-top: 12px;
    margin-bottom: 12px;
}

.product-style3-item .hea-product-swatches {
    position: static;
    transform: translate(0);
}

/* Product Grid Style 4 Styles */

.product-style4-item .hea-product-rating {
    top: 14px;
    right: 18px;
}

.product-style4-item .product-rating-stars {
    display: flex;
    gap: 6px;
}

.product-style4-item .rating-wrapper {
    gap: 6px;
}

.product-style4-item .post-content-wrapper {
    bottom: 16px;
}


.product-style4-item .hea-woo-product-inner {
    left: 50%;
    bottom: 1em;
    top: inherit;
    flex-direction: row;
    transform: translateX(-50%);
    justify-content: center;
}

.product-style4-item .hea-product-swatches {
    position: static;
    transform: translate(0);
}

.product-style5-item .hea-product-swatches {
    position: static;
    transform: translate(0);
}

/* Product Image/Gallery Style */
.hea-woo-product-gallery.woocommerce-product-gallery {
    width: 100%;
    max-width: 100%;
}

.hea-woo-product-gallery.woocommerce-product-gallery .woocommerce-product-gallery__wrapper img {
    width: 100%;
}

.hea-woo-product-gallery .woocommerce-product-gallery__trigger {
    position: absolute;
    z-index: 99;
    top: 1em;
    left: 1em;
}

.hea-woo-product-gallery ol {
    list-style-type: none;
}

.hea-woo-product-gallery ol.flex-control-nav.flex-control-thumbs {
    display: flex;
    align-items: center;
    margin-top: 14px;
    gap: 1em;
}

.woocommerce-product-gallery .flex-viewport {
    margin-bottom: 10px;
}

.elementor-editor-active .woocommerce-product-gallery {
    opacity: 1 !important;
}

.product-style6-item .hea-product-card {
    width: 100%;
    border-radius: 12px;
    background: #ffffff;
    padding: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.product-style6-item .hea-cart-button {
    border-radius: 8px;
    padding: 12px 16px;
}

.hea-atc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    line-height: 1;
    position: relative;
}

.hea-atc-button.button {
    margin: 0;
}

.hea-atc-button.loading {
    opacity: 0.7;
    cursor: wait;
}

.hea-atc-icon-left,
.hea-atc-icon-right {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.hea-atc-button svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.hea-atc-original-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hea-atc-wrapper+.added_to_cart {
    display: none !important;
}

.hea-atc-wrapper .hea-atc-view-cart-text {
    display: block;
}

.hea-atc-wrapper .added_to_cart {
    display: none;
}

.hea-unique-wishlist-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    line-height: 1;
    width: auto !important;
    max-width: 100%;
    height: auto;
    white-space: nowrap;
    box-sizing: border-box;
    border: 1px solid transparent;
}

.hea-unique-wishlist-btn .hea-icon svg,
.hea-unique-wishlist-btn .hea-icon i {
    width: 1em;
    height: 1em;
    font-size: 1em;
    fill: currentColor;
    color: currentColor;
    display: block;
}

.hea-loader {
    display: none;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-left-color: currentColor;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    animation: spin 1s linear infinite;
    margin: 0 5px;
}

.hea-unique-wishlist-btn.loading .hea-loader {
    display: inline-block;
}

.hea-unique-wishlist-btn.loading .hea-icon {
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hea-success-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.hea-unique-wishlist-wrap.show-tooltip .hea-success-tooltip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hea-success-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent;
}

.hea-view-link {
    margin-left: 5px;
    text-decoration: underline;
}

/* 
    WOO GALLERY STYLE
*/
.hea-gallery-thumbs .swiper-slide {
    width: auto !important;
}

/* 
    WOO REVIEWS STYLES
*/
.hea-reviews-container {
    width: 100%;
}

.hea-reviews-header h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

.hea-reviews-summary {
    margin-bottom: 30px;
}

.hea-summary-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.hea-big-rating {
    font-size: 20px;
    font-weight: 700;
}

.hea-summary-stars i {
    font-size: 18px;
    margin-right: 2px;
}

.hea-summary-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

.hea-dist-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.hea-bar-label {
    width: 80px;
    font-size: 14px;
    color: #333;
    flex-shrink: 0;
}

.hea-bar-track {
    flex-grow: 1;
    margin: 0 15px;
}

.hea-bar-bg {
    width: 100%;
    background: #f1f1f1;
    border-radius: 4px;
    overflow: hidden;
}

.hea-bar-fill {
    height: 8px;
    background: #f5c518;
    border-radius: 4px;
}

.hea-bar-percent {
    width: 40px;
    text-align: right;
    font-size: 13px;
    color: #555;
    flex-shrink: 0;
}

.hea-review-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.hea-review-item:last-child {
    border-bottom: none;
}

.hea-review-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.hea-review-avatar {
    margin-right: 15px;
    flex-shrink: 0;
}

.hea-review-avatar img {
    border-radius: 50%;
    object-fit: cover;
}

.hea-review-meta {
    flex-grow: 1;
}

.hea-review-author {
    display: block;
    font-weight: 700;
    font-size: 15px;
    color: #000;
    margin-bottom: 2px;
}

.hea-review-stars {
    font-size: 12px;
    color: #f5c518;
}

.hea-review-date-wrap {
    margin-left: auto;
}

.hea-review-date {
    font-size: 12px;
    color: #999;
    font-style: italic;
}

.hea-review-content {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.hea-reviews-footer {
    margin-top: 20px;
}

.hea-reviews-btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
}

.hea-no-reviews-msg {
    margin-bottom: 20px;
    color: #555;
}

.hea-review-form-wrapper {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.hea-review-form-wrapper h3 {
    margin-top: 0;
    font-size: 18px;
}

.star-rating {
    font-family: 'WooCommerce';
    margin-bottom: 5px;
}

/* =========================================
   REVIEW FORM CONTAINER & INPUTS
   ========================================= */
.hea-review-form-wrapper .comment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hea-review-form-wrapper label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.woocommerce-verification-required {
    color: #E16162;
    font-weight: 600;
    background: #fff5f5;
    padding: 15px;
    border-left: 4px solid #E16162;
}

.hea-review-form-wrapper input[type="text"],
.hea-review-form-wrapper input[type="email"],
.hea-review-form-wrapper textarea {
    width: 100%;
    border: 1px solid #ccc;
    /* Default border */
    padding: 10px;
    box-sizing: border-box;
    border-radius: 0;
}

/* =========================================
   STAR RATING FIX (Hide "S" text, Show Icons)
   ========================================= */
.hea-review-form-wrapper select#rating {
    display: none !important;
}

.hea-review-form-wrapper p.stars {
    display: flex;
    gap: 5px;
    margin-bottom: 0;
    line-height: 1;
}

.hea-review-form-wrapper p.stars a {
    position: relative;
    height: 24px;
    width: 24px;
    display: inline-block;
    text-decoration: none;
    box-shadow: none !important;
    outline: none !important;

    color: transparent !important;
    text-indent: -9999px;
    overflow: hidden;
}

.hea-review-form-wrapper p.stars a::before {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 1em;
    height: 1em;
    line-height: 1;
    content: "\f18c" !important;
    font-family: "remixicon";
    font-size: 24px;
    text-indent: 0;
    color: #e0e0e0;
    visibility: visible;
    transition: color 0.2s ease;
    opacity: 100% !important;
}

/* =========================================
   STAR HOVER & ACTIVE STATES
   ========================================= */
.hea-review-form-wrapper p.stars:hover a::before {
    color: #f5c518;
}

.hea-review-form-wrapper p.stars:hover a:hover~a::before {
    color: #e0e0e0;

}

.hea-review-form-wrapper p.stars.selected a.active::before,
.hea-review-form-wrapper p.stars.selected a.active~a::before {
    color: #f5c518 !important;
}

.hea-review-form-wrapper p.stars.selected a.active~a::before {
    color: #e0e0e0 !important;
}

/* =========================================
   SUBMIT BUTTON
   ========================================= */
.hea-review-form-wrapper .submit {
    width: 100%;
    cursor: pointer;
    padding: 12px 24px;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    /* Background/Text colors are handled by Elementor controls, 
       but you can set defaults here if needed */
}

.hea-review-form-wrapper .submit:hover {
    opacity: 0.9;
}

/* =========================================
    THUMB STYLES
   ========================================= */
.hea-gallery-thumbs {
    box-sizing: border-box;
    position: relative;
}

.hea-gallery-thumbs .swiper-slide {
    opacity: 0.4;
    transition: opacity 0.3s;
    cursor: pointer;
}

.hea-gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

.hea-gallery-thumbs .thumb-arrow {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: #333;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hea-gallery-thumbs .thumb-arrow::after {
    font-size: 10px !important;
    font-weight: bold;
    transform: rotate(90deg);
}

/* =========================================
   MODE A: VERTICAL (Sidebar)
   ========================================= */
.hea-gallery-thumbs.hea-vertical-mode {
    height: 400px;
    padding-bottom: 140px;
    box-sizing: border-box;
}

.hea-gallery-thumbs.hea-vertical-mode .swiper-slide {
    height: 100%;
    width: 100% !important;
    overflow: hidden;
}

.hea-gallery-thumbs.hea-vertical-mode .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hea-gallery-thumbs.hea-vertical-mode .thumb-arrow {
    left: 50% !important;
    position: absolute;
    z-index: 10;
}

.hea-gallery-thumbs.hea-vertical-mode .swiper-button-prev,
.hea-gallery-thumbs .thumb-arrow {
    top: 4px;
    left: 50% !important;
    transform: translateX(-50%);
}

.hea-gallery-thumbs.hea-vertical-mode .swiper-button-next {
    bottom: 5px;
    top: auto;
    right: auto;
}

/* =========================================
   MODE B: HORIZONTAL (Bottom)
   ========================================= */
.hea-gallery-thumbs:not(.hea-vertical-mode) {
    padding-left: 30px;
    padding-right: 30px;
}

.hea-gallery-thumbs:not(.hea-vertical-mode) .thumb-arrow {
    top: 50% !important;
    margin-top: -10px;
}

.hea-gallery-thumbs:not(.hea-vertical-mode) .swiper-button-prev {
    left: 0;
}

.hea-gallery-thumbs:not(.hea-vertical-mode) .swiper-button-next {
    right: 0;
}

.hea-gallery-thumbs .swiper-button-lock {
    display: none !important;
}

.hea-gallery-thumbs.swiper-locked {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 
    WOO CAROUSEL STYLE
*/
.huda-woo-carousel.overflow-visible {
    overflow: visible;
}

.huda-woo-carousel.overflow-hidden {
    overflow: hidden;
}

.huda-woo-carousel .swiper-slide {
    overflow: visible !important;
}

.hea-carousel-product-item .add_to_cart_button {
    display: block;
    text-align: center;
}

.hea-carousel-product-item .added_to_cart {
    display: none;
}

 .hea-carousel-product-item .add_to_cart_button {
    border: 1px solid #2a2115;
 }

/* Add to Cart Style */
.hea-add-to-cart-widget button.single_add_to_cart_button {
    width: max-content;
}

.hea-add-to-cart-widget form.cart input[type=number] {
    width: 80px;
    float: left;
    margin-right: 1em;
    padding: 9.5px;
}

.hea-add-to-cart-widget button.reset_variations {
    margin-top: 1em;
    border: unset;
    background: unset;
    color: #000;
    padding: unset;
}

.hea-add-to-cart-widget .woocommerce-variation-price {
    margin-bottom: 10px;
}

.hea-add-to-cart-widget .reset_variations,
.reset_variations {
    padding: 4px 8px;
    border: 1px solid #f2f2f2;
}

/* Variations Style */
.variation-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.variation-buttons .variation-btn {
    padding: 12px 20px;
    border: 1px solid #000;
    background: #000;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.variation-buttons .variation-btn:hover {
    background: #444;
}

.variation-buttons .variation-btn.active {
    background: #5081ff;
    border-color: #5081ff;
    color: #fff;
}

table.variations tr td.value {
    display: block;
}

table.variations tr td.value {
    border: 1px solid #ccc;
}

#payment_method_bacs,
#payment_method_cod {
    visibility: hidden;
}

#payment_method_bacs~label,
#payment_method_cod~label,
.hea-woocommerce-checkout #payment_method_cheque~label,
.hea-woocommerce-checkout .wc_payment_method #payment_method_stripe~label {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.274);
    padding-bottom: 10px;
}

.hea-woocommerce-checkout #payment_method_bacs:checked~label,
.hea-woocommerce-checkout #payment_method_cod:checked~label,
.hea-woocommerce-checkout #payment_method_cheque:checked~label,
.hea-woocommerce-checkout .wc_payment_method #payment_method_stripe:checked~label {
    color: red;
    border-color: red;
}

.hea-woocommerce-checkout input[type='radio'] {
    visibility: hidden;
}

.hea-woocommerce-checkout .woocommerce-form-coupon-toggle .checkout_coupon.woocommerce-form-coupon {
    align-items: center;
    justify-content: space-between;
}

.hea-woocommerce-checkout .woocommerce-form-coupon-toggle .checkout_coupon.woocommerce-form-coupon p {
    width: 55%;
}

.hea-woocommerce-checkout .woocommerce-form-coupon-toggle .checkout_coupon.woocommerce-form-coupon p.form-row.form-row-first,
input {
    width: 100%;
}

.hea-woocommerce-checkout .woocommerce-form-coupon-toggle .checkout_coupon.woocommerce-form-coupon p.form-row.form-row-last {
    width: 12% !important;
}

.hea-woocommerce-checkout .woocommerce-form-coupon-toggle .checkout_coupon.woocommerce-form-coupon p.form-row.form-row-last button {
    width: 130px;
}

.woocommerce-cart-container .cart_totals .wc-proceed-to-checkout a.checkout-button {
    display: block;
}

.woocommerce-additional-fields {
    margin-top: 1em;
}


/* .hea-woocommerce-checkout .woocommerce-form-coupon-toggle .checkout_coupon.woocommerce-form-coupon p.form-row.form-row-last{
    float: left;
} */

.custom-cursor {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

}

.custom-cursor-text {
    font-size: 14px;
    /* Slightly larger for readability */
    color: #fff;
    font-weight: 500;
    display: inline-block;
    margin-left: 5px;
    pointer-events: none;
    text-align: center;
}

.custom-cursor-icon {
    font-size: 18px;
    /* Slightly larger for better visibility */
    color: #fff;
    display: inline-block;
    pointer-events: none;
    margin-right: 5px;
    /* Adds spacing between icon and text */
}

.custom-cursor-hover {
    transform: scale(1.2);
    /* Slight enlargement on hover */
    transition: transform 0.2s ease;
    /* Smooth hover effect */
}

/* Animations */
.custom-cursor.animate {
    animation: cursor-pulse 1.5s infinite ease-in-out;
    /* Example animation */
}

@keyframes cursor-pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hea-posts-tabs .hea-post-image {
    position: relative;
    overflow: hidden;
}

.hea-posts-tabs .hea-post-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease-in-out;
}

.hea-posts-tabs .hea-post-image:hover::before {
    background: rgba(0, 0, 0, 0.5);
}

.hea-posts-tabs .hea-post-button {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 0);
    opacity: 0;
    transition: top 0.43s ease-in-out, opacity 0.3s ease-in-out;
}

.hea-posts-tabs .hea-post-image:hover .hea-post-button {
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
}

/* Fullscreen iframe styling */
.heaWidgetAreaModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
}

/* Dynamic Modal*/
.dynamic-modal-toggle-button svg,
.hea-dynamic-modal .modal-close-icon svg {
    width: 14px;
    height: 14px;
    cursor: pointer;
    text-align: center;
    fill: #fff;
}

.dynamic-modal-toggle-button i,
.hea-dynamic-modal .modal-close-icon i {
    font-size: 14px;
    color: #fff;
}

.hea-dynamic-modal .modal-close-icon svg {
    fill: #000;
}

.heaWidgetAreaModal iframe {
    height: 100%;
}

#smooth-wrapper {
    position: relative;
    overflow: hidden;
}

#smooth-content {
    position: relative;
}


.huda-animated-heading {
    display: inline-block;
    perspective: 400px;
    transform-origin: center bottom;
    will-change: transform, opacity;
    opacity: 1;
}

.huda-animated-heading .word {
    display: inline-block;
    overflow: hidden;
    padding: 0 2px;
    white-space: nowrap;
}

.huda-animated-heading .letter {
    display: inline-block;
    transform-origin: center;
    opacity: 1;
}

/* 
    MODAL STYLE
*/

.modal-body {
    position: relative;
    min-height: 100px;
}

/* Hide edit button by default */
.hea-offcanvas.offcanvas-start,
.hea-offcanvas.offcanvas-end {
    height: 100vh;
    overflow: hidden;
}

.hea-responsive-offcanvas .offcanvas-body,
.hea-offcanvas .offcanvas-body {
    overflow-x: hidden;
}

.hea-offcanvas .hea-menu-accordion .sub-menu.submenu-open {
    position: static !important;
}

.hea-dynamic-modal .modal-content {
    position: relative;
}

.hea-dynamic-modal .modal-content span.modal-close-icon {
    position: absolute;
    top: 6px;
    right: 10px;
    z-index: 9999;
}

.hea-dynamic-modal .modal-content .huda-create-template {
    margin-top: 16px;
}

.elementor-editor-active .hea-dynamic-modal .modal-dialog:hover .modal-content {
    border: 1px solid var(--e-p-border-widget) !important;
}

.edit-content-btn,
.offcanvass-edit-content-btn {
    display: none;
    position: absolute;
    bottom: 0;
    right: 0;
    top: auto;
    background-color: var(--e-p-border-widget) !important;
    color: var(--e-p-border-widget-invert) !important;
    border: 1px solid var(--e-p-border-widget-invert) !important;
    padding: 8px;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    z-index: 99999;
    border-radius: 0;
}

/* Show edit button on hover */
.elementor-editor-active .modal-body:hover .edit-content-btn,
.elementor-editor-active .offcanvas-body:hover .offcanvass-edit-content-btn {
    display: flex;
    align-items: center;
    gap: 5px;
}

.edit-content-btn i {
    font-size: 12px;
}

/* Remove hover effect since it should match Elementor's native behavior */
.edit-content-btn:hover {
    background-color: var(--e-p-border-widget) !important;
}

/* Widget Area Modal Styles */
.elementor-widget-area-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
}

/* Prevent body scroll when modal is open */
body.elementor-widget-area-modal-open {
    overflow: hidden !important;
    padding-right: 17px;
    /* Prevent layout shift when scrollbar disappears */
}

.elementor-widget-area-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    pointer-events: all;
    /* Ensure overlay catches all clicks */
}

.elementor-widget-area-modal-container {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    margin: 50px;
    background-color: #fff;
    border-radius: 3px;
    overflow: hidden;
    pointer-events: all;
    /* Ensure modal content is clickable */
}

.elementor-widget-area-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background-color: #fff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.elementor-widget-area-modal-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #495157;
}

.elementor-widget-area-modal-title i {
    font-size: 18px;
    color: #495157;
}

.elementor-widget-area-modal-close {
    padding: 0;
    border: none;
    background: none;
    color: #495157;
    cursor: pointer;
    font-size: 20px;
}

.elementor-widget-area-modal-content {
    flex-grow: 1;
    position: relative;
}

.elementor-widget-area-modal-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 
    PRELOADER STYLE
*/
.hea-preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000;
    display: flex !important;
    /* Ensure it appears */
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

/* Ensure preloader fully disappears */
.hea-preloader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    display: none !important;
}

/* Loader Layout 1 */
.loader-1 {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: #FF3D00;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Loader Layout 2 */
.loader-2 {
    width: 48px;
    height: 48px;
    margin: auto;
    position: relative;
}

.loader-2:before {
    content: '';
    width: 48px;
    height: 5px;
    background: #000;
    opacity: 0.25;
    position: absolute;
    top: 60px;
    left: 0;
    border-radius: 50%;
    animation: shadow 0.5s linear infinite;
}

.loader-2:after {
    content: '';
    width: 100%;
    height: 100%;
    background: #fff;
    animation: bxSpin 0.5s linear infinite;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 4px;
}

@keyframes bxSpin {
    17% {
        border-bottom-right-radius: 3px;
    }

    25% {
        transform: translateY(9px) rotate(22.5deg);
    }

    50% {
        transform: translateY(18px) scale(1, .9) rotate(45deg);
        border-bottom-right-radius: 40px;
    }

    75% {
        transform: translateY(9px) rotate(67.5deg);
    }

    100% {
        transform: translateY(0) rotate(90deg);
    }
}

@keyframes shadow {

    0%,
    100% {
        transform: scale(1, 1);
    }

    50% {
        transform: scale(1.2, 1);
    }
}

/* Loader Layout 3 */
.loader-3 {
    position: relative;
    width: 108px;
    display: flex;
    justify-content: space-between;
}

.loader-3::after,
.loader-3::before {
    content: '';
    display: inline-block;
    width: 48px;
    height: 48px;
    background-color: #FFF;
    background-image: radial-gradient(circle 14px, #0d161b 100%, transparent 0);
    background-repeat: no-repeat;
    border-radius: 50%;
    animation: eyeMove 10s infinite, blink 10s infinite;
}

@keyframes eyeMove {

    0%,
    10% {
        background-position: 0px 0px
    }

    13%,
    40% {
        background-position: -15px 0px
    }

    43%,
    70% {
        background-position: 15px 0px
    }

    73%,
    90% {
        background-position: 0px 15px
    }

    93%,
    100% {
        background-position: 0px 0px
    }
}

@keyframes blink {

    0%,
    10%,
    12%,
    20%,
    22%,
    40%,
    42%,
    60%,
    62%,
    70%,
    72%,
    90%,
    92%,
    98%,
    100% {
        height: 48px
    }

    11%,
    21%,
    41%,
    61%,
    71%,
    91%,
    99% {
        height: 18px
    }
}

/* Loader Layout 4 */
.loader-4 {
    width: 82px;
    height: 18px;
    position: relative;
}

.loader-4::before,
.loader-4::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translate(-50%, 10%);
    top: 0;
    background: #FF3D00;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    animation: jump 0.5s ease-in infinite alternate;
}

.loader-4::after {
    background: #0000;
    color: #fff;
    top: 100%;
    box-shadow: 32px -20px, -32px -20px;
    animation: split 0.5s ease-out infinite alternate;
}

@keyframes split {
    0% {
        box-shadow: 8px -20px, -8px -20px
    }

    100% {
        box-shadow: 32px -20px, -32px -20px
    }
}

@keyframes jump {
    0% {
        transform: translate(-50%, -150%)
    }

    100% {
        transform: translate(-50%, 10%)
    }
}

/* Loader Layout 4 */
.loader-5 {
    width: 8px;
    height: 40px;
    border-radius: 4px;
    display: block;
    margin: 20px auto;
    position: relative;
    background: currentColor;
    color: #FFF;
    box-sizing: border-box;
    animation: animloader 0.3s 0.3s linear infinite alternate;
}

.loader-5::after,
.loader-5::before {
    content: '';
    width: 8px;
    height: 40px;
    border-radius: 4px;
    background: currentColor;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    box-sizing: border-box;
    animation: animloader 0.3s 0.45s linear infinite alternate;
}

.loader-5::before {
    left: -20px;
    animation-delay: 0s;
}

@keyframes animloader {
    0% {
        height: 48px
    }

    100% {
        height: 4px
    }
}

/* Loader Layout 6 */
.loader-6 {
    display: block;
    position: relative;
    height: 32px;
    width: 200px;
    background: #fff;
    border: 2px solid #fff;
    color: #FF3D00;
    overflow: hidden;
}

.loader-6::before {
    content: '';
    background: #FF3D00;
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    animation: loading 10s linear infinite;
}

.loader-6:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 24px;
    line-height: 32px;
    color: rgb(0, 255, 255);
    mix-blend-mode: difference;
    animation: percentage 10s linear infinite;
}

@keyframes loading {
    0% {
        width: 0
    }

    100% {
        width: 100%
    }
}

@keyframes percentage {
    0% {
        content: "0%"
    }

    5% {
        content: "5%"
    }

    10% {
        content: "10%"
    }

    20% {
        content: "20%"
    }

    30% {
        content: "30%"
    }

    40% {
        content: "40%"
    }

    50% {
        content: "50%"
    }

    60% {
        content: "60%"
    }

    70% {
        content: "70%"
    }

    80% {
        content: "80%"
    }

    90% {
        content: "90%"
    }

    95% {
        content: "95%"
    }

    96% {
        content: "96%"
    }

    97% {
        content: "97%"
    }

    98% {
        content: "98%"
    }

    99% {
        content: "99%"
    }

    100% {
        content: "100%"
    }

}

.gallery {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-item {
    width: 100%;
}

@media (max-width: 576px) {
    .gallery {
        grid-template-columns: repeat(1, 1fr);
    }

    .hea-search-form-wrapper article.search {
        flex-wrap: wrap;
    }

    .hea-search-form-wrapper article.search a.post-thumbnail,
    .hea-search-form-wrapper article.search .woo-product-image {
        width: 100%;
    }

    .hea-search-form-wrapper article.search .post-content {
        width: 100%;
    }
}

.alert {
    margin-top: 1em;
}

/* 
    AUTHOR BOX STYLE
*/

.author-box-content {
    width: 100%;
    display: inline-block;
}

.author-box-social svg {
    width: 24px;
    height: 24px;
}

.author-box-archive-button-wrapper {
    display: flex;
}

/* 
    GALLERY STYLE
*/

.hea-gallery-grid {
    width: 100%;
    column-count: 2;
    gap: 12px;
}

.hea-gallery-item {
    width: 100%;
    display: inline-block;
    break-inside: avoid;
}

/* Blur-up effect: start blurred, then clear when loaded */
.hea-gallery-item img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
}

.hea-gallery-item img.loaded {
    filter: blur(0);
    opacity: 1;
}

/* Hover zoom only when image is loaded */
.hea-gallery-item:hover img {
    transform: scale(1.05);
}

/* Overlay inside link */
.hea-gallery-item a {
    position: relative;
    overflow: hidden;
    display: block;
}

.hea-gallery-item a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    /* don’t block clicks */
}

.hea-gallery-item a:hover::after {
    opacity: 1;
}

/* Responsive Columns */
@media (max-width: 992px) {
    .hea-gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .hea-gallery-grid {
        column-count: 1;
    }
}


/* =================================================================
  WOOCOMMERECE WIDGETS STYLES
================================================================= */

.hea-go-to-shop-btn {
    margin-bottom: 1em;
    display: block;
    width: 180px;
    margin: 0 auto;
}

.hea-recent-products {
    padding-top: 2em;
    margin-top: 2em;
    border-top: 1px solid #f2f2f2;
}

.hea-recent-products .woocommerce .products {
    width: 100%;
}

.wc-block-checkout-empty .wp-block-button__link {
    width: 240px;
    height: auto;
    text-align: center;
    margin: 1em auto;
}

.wc-block-checkout-empty .wc-block-checkout-empty__title {
    font-size: 28px;
    font-weight: 500;
}

.wc-block-checkout-empty .wc-block-checkout-empty__description {
    font-size: 18px;
    display: block;
    margin: .25em auto;
    width: 50%;
}

.hea-desc-inner {
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    position: relative;
}

.hea-desc-inner.collapsed::after {
    /* Optional: Fade effect at bottom */
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8));
    pointer-events: none;
}

.hea-read-more-btn {
    display: inline-block;
    cursor: pointer;
    margin-top: 10px;
    text-decoration: underline;
}

/***
*  AJAX SEARCH 
***/


.hea-popup-trigger {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.hea-popup-trigger:hover {
    transform: scale(1.1);
}

.hea-ajax-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 130px;
    /* Per user request */
    background: #ffffff;
    z-index: 99999;
    display: flex;
    align-items: center;
    /* Center Vertically */
    justify-content: center;
    /* Center Horizontally */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 0 20px;
}

.hea-ajax-search-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .15);
    z-index: 9999;
    display: none;
}

.hea-ajax-search-modal-overlay.active {
    display: block;
}

.hea-ajax-search-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hea-modal-close {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #333;
    z-index: 100001;
}

.hea-search-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    z-index: 100;
    margin: 0 auto;
}

.hea-inline-wrapper .hea-search-container {
    max-width: 100%;
}

.hea-search-form {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #f2f2f2;
    border-radius: 0px;
    padding: 0 5px 0 20px;
    height: 50px;
    transition: all 0.3s;
}

.hea-input-icon {
    margin-right: 10px;
    font-size: 20px;
    color: #0c1e4c;
}

.hea-search-input {
    border: none !important;
    background: transparent;
    flex-grow: 1;
    height: 100%;
    font-size: 16px;
    outline: none;
    color: #333;
}

.hea-clear-btn {
    cursor: pointer;
    color: #999;
    font-size: 18px;
    padding: 0 10px;
    display: flex;
    align-items: center;
}

.hea-clear-btn:hover {
    color: #d00;
}

.hea-cat-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border-left: 1px solid #eee;
    padding-left: 8px;
    height: 30px;
    max-width: 150px;
}

.hea-cat-select {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    color: #555;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 20px;
    width: 100%;
}

.hea-cat-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    pointer-events: none;
    color: #555;
}

.hea-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #eee;
    border-top: 2px solid #0c1e4c;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
    flex-shrink: 0;
}

/* --- Absolute Results Wrapper --- */
.hea-search-results-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-radius: 0px;
    margin-top: 10px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 99;

    /* Ensure it fits in modal if content is long */
    max-height: 300px;
    /* 400px modal - 50px input - padding */
    overflow-y: auto;
}

.hea-search-results-wrapper.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.hea-results-inner {
    padding: 30px;
}

/* --- Auto-Adjust Layout (Flexbox) --- */
.hea-results-grid {
    display: flex;
    /* Flex allows automatic resizing */
    flex-wrap: wrap;
    /* Allows the 'Recent' section to wrap to the bottom */
    gap: 30px;
}

.hea-col-blogs,
.hea-col-products {
    flex: 1;
    /* KEY: Takes 50% if both exist, expands to 100% if one is hidden */
    min-width: 280px;
    /* Prevents columns from getting too narrow on small screens */
    display: none;
    /* Hidden by default, toggled via JS */
}

.hea-col-recent {
    flex: 0 0 100%;
    /* Forces 'Recently Viewed' to always be full width */
    width: 100%;
    padding-top: 0;
}

/* Mobile: Stack everything vertically */
@media (max-width: 768px) {

    .hea-col-blogs,
    .hea-col-products {
        flex: 0 0 100%;
        /* Force 100% width on mobile */
        min-width: 100%;
    }
}

.hea-col-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 15px;
    font-weight: 700;
}

/* Recent Items */
.hea-recent-grid {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hea-recent-item-card {
    width: 80px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hea-recent-item-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
}

.hea-recent-item-card span {
    font-size: 14px;
    line-height: 1.2;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* List Items */
.hea-result-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #f9f9f9;
}

.hea-result-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.hea-result-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.hea-result-info h5 {
    margin: 0 0 3px;
    font-size: 14px;
    line-height: 1.3;
}

.hea-result-info h5 a {
    text-decoration: none;
    color: #333;
}

.hea-result-info span {
    font-size: 12px;
    color: #888;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.d-none {
    display: none !important;
}

@media (max-width: 500px) {
    .hea-cat-wrapper {
        display: none;
    }
}

@media (max-width: 768px) {
    .hea-results-grid {
        grid-template-columns: 1fr;
        grid-template-areas: "blogs" "products" "recent";
    }
}


/*
* BLOCK STYLES
*/
.wp-block-list {
    padding-left: 16px;
}

/*
    WISHLIST BUTTON STYLE
*/
/* Button Styles */
.hea-wishlist-btn {
    width: 34px;
    height: 34px;
    border-radius: 50px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: transparent;
    border: none;
    position: relative;
    transition: all 0.3s ease;
}

/* Icon Styles */
.hea-wishlist-btn .hea-icon {
    font-size: 22px;
    color: #ccc;
    /* Default Grey */
    transition: color 0.3s ease;
}

/* Active State (Added to Wishlist) */
.hea-wishlist-btn.active .hea-icon {
    color: #ff3b30;
    /* Red Heart */
}

/* LOADER - Hidden by default */
.hea-loader {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid #e1e1e1;
    border-top: 2px solid #333;
    border-radius: 50%;
    animation: hea-spin 0.8s linear infinite;
    position: absolute;
}

/* Loading State: Hide Icon, Show Loader */
.hea-wishlist-btn.hea-loading .dashicons {
    opacity: 0;
}

.hea-wishlist-btn.hea-loading .hea-loader {
    display: block;
}

@keyframes hea-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --- Counter Styles --- */
.hea-global-count {
    font-weight: bold;
    display: inline-block;
    transition: color 0.2s;
}

/* Animation when count updates */
.hea-pulse {
    animation: hea-bump 0.3s ease-in-out;
    color: #e01b24;
    /* Highlight color during update */
}

@keyframes hea-bump {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

/* --- Wishlist Page Removal Animation Support --- */
/* (Handled inline in JS, but this ensures smooth defaults) */
#hea-wishlist-wrapper .product,
#hea-wishlist-wrapper .e-loop-item {
    transition: all 0.5s ease;
}

/* ... Keep your existing Button/Loader styles ... */

/* --- Header Wishlist Link Wrapper --- */
.hea-header-wishlist-link {
    position: relative;
    display: inline-block;
    text-decoration: none;
    margin-right: 15px;
    /* Spacing from Cart icon */
}

/* The Heart Icon */
.hea-header-wishlist-link .hea-header-icon {
    font-size: 24px;
    /* Matches typical header icon size */
    color: #333;
    /* Dark Grey/Black like your screenshot */
    line-height: 1;
    vertical-align: middle;
    transition: color 0.3s;
}

.hea-header-wishlist-link:hover .hea-header-icon {
    color: #000;
}

/* The Notification Badge (Matches your '2' image) */
.hea-header-badge {
    position: absolute;
    top: -4px;
    right: -10px;
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    line-height: 18px;
    border-radius: 50%;
    /* Circle */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #040E23;
    /* Brand Red */
}

/* Hide badge if count is 0 (Optional - remove if you always want to see '0') */
.hea-header-badge:empty,
.hea-header-badge:contains('0') {
    /* Note: :contains isn't standard CSS, handled mostly by visibility logic or JS */
    /* opacity: 0; */
}


/* --- Positioning the Heart on the Product Grid (Step 2 fix) --- */
/* This positions the injected heart over the product image (top right) */
ul.products li.product .hea-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensure the product item has relative positioning so absolute works */
ul.products li.product {
    position: relative;
}

.hea-product-rating .product-rating-stars {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* --- Special Styling for Wishlist Page Remove Button --- */

/* 1. Reset Position for standard grid (Ensure it sits top-right) */
#hea-wishlist-wrapper ul.products li.product {
    position: relative;
}

/* 2. Style the Remove Button (Trash Icon) */
.hea-remove-btn {
    width: 30px;
    height: 30px;
    background-color: #ffffff;
    border: 1px solid #eee;
    color: #777;
    /* Grey by default */
    border-radius: 50%;
    /* Circle */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* 3. Hover Effect (Red Trash Can) */
.hea-remove-btn:hover {
    background-color: #e01b24;
    /* Red Background */
    color: #fff;
    /* White Icon */
    border-color: #e01b24;
    transform: scale(1.1);
}

/* 4. Adjust Icon Size */
.hea-remove-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* --- Tooltip Styles --- */
.hea-success-tooltip {
    position: absolute;
    bottom: 120%;
    /* Above the wrapper */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    /* Start slightly lower for animation */

    background-color: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 999;

    /* Hiding State */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* Prevent clicking when hidden */
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    line-height: 1.4;
}

/* Arrow */
.hea-success-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

/* Link Style */
.hea-success-tooltip a {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
    margin-left: 5px;
}

.hea-success-tooltip a:hover {
    color: #ffcccc;
}

/* SHOW State (Added via JS) */
.hea-success-tooltip.show-tooltip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    /* Enable clicking */
    transform: translateX(-50%) translateY(0);
    /* Move up into place */
}

/* --- Container --- */
.hea-wishlist-rows-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Space between rows */
}

/* --- The Row Item --- */
.hea-wishlist-row-item {
    display: flex;
    align-items: center;
    /* Vertically Center */
    background: #fff;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    position: relative;
    /* For Remove Button positioning */
    transition: box-shadow 0.3s ease;
}

.hea-wishlist-row-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* --- 1. Image (Left) --- */
.hea-row-image {
    width: 100px;
    /* Fixed width for standard look */
    flex-shrink: 0;
    margin-right: 20px;
}

.hea-row-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

/* --- 2. Content (Middle) --- */
.hea-row-content {
    flex-grow: 1;
    /* Takes up remaining space */
    padding-right: 20px;
}

.hea-row-title {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 600;
}

.hea-row-title a {
    text-decoration: none;
    color: #333;
}

.hea-row-price {
    color: #111;
    font-weight: bold;
    margin-bottom: 5px;
}

.hea-row-meta {
    font-size: 12px;
    color: #777;
}

/* --- 3. Actions (Right) --- */
.hea-row-actions {
    flex-shrink: 0;
}

.hea-row-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
}

.hea-row-btn:hover {
    background: #333;
    color: #fff;
}

/* --- 4. Remove Icon (Positioning) --- */
.hea-row-remove {
    margin-left: 20px;
}

/* Ensure the button from shortcode looks right here */
.hea-row-remove .hea-wishlist-btn {
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.hea-row-remove .hea-wishlist-btn:hover {
    background: #e01b24;
    border-color: #e01b24;
    color: #fff;
}

/*
    WISHLIST ROW STYLE END
*/
.hea-qv-modal .qv-actions p {
    margin-bottom: 0;
}

.hea-qv-modal form.cart {
    align-items: center;
}

/*
    Braedcrumbs Styles
*/
.hea-breadcrumbs-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.hea-back-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1;
}

.hea-back-btn i,
.hea-back-btn svg {
    /* Ensure both FontAwesome/Remix and SVGs align correctly */
    display: inline-block;
    line-height: 1;
    width: auto;
    height: auto;
}

.hea-breadcrumbs-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.hea-breadcrumbs-nav a {
    text-decoration: none;
    transition: color 0.3s;
}

.hea-sep-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.hea-sep-icon {
    color: #999999;
    font-size: 14px;
    margin: 0 7px;
}

.hea-sep-icon i,
.hea-sep-icon svg {
    line-height: inherit;
}

/* Wrapper */
.image-parallax-widget .huda-hero-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    overflow: hidden;
    background-color: transparent;
    margin: 0;
    padding: 0;
}

/* Alignment Logic */
.image-parallax-widget .huda-hero-wrapper.align-left .huda-hero-content-container {
    justify-content: flex-start;
    text-align: left;
}

.image-parallax-widget .huda-hero-wrapper.align-center .huda-hero-content-container {
    justify-content: center;
    text-align: center;
}

.image-parallax-widget .huda-hero-wrapper.align-right .huda-hero-content-container {
    justify-content: flex-end;
    text-align: right;
}

/* Expanding Background Container */
.image-parallax-widget .huda-hero-bg-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Height 100% ensures no static gaps */
    height: 100%;
    overflow: hidden;
    z-index: 0;
    border-radius: 0px;
    will-change: width, height;
}

/* Internal Parallax Layer - FIXED GAP ISSUE */
.image-parallax-widget .huda-hero-parallax-layer {
    width: 100%;
    /* Increased height to allow movement without gaps */
    height: 130%;
    position: absolute;
    /* Move up to create a buffer for the downward animation */
    top: -15%;
    left: 0;
    will-change: transform;
}

.image-parallax-widget .huda-hero-parallax-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Content Container */
.image-parallax-widget .huda-hero-content-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

/* Alignment Specifics */
.image-parallax-widget .align-left .huda-hero-center {
    text-align: left;
    align-items: flex-start;
}

.image-parallax-widget .align-center .huda-hero-center {
    text-align: center;
    align-items: center;
}

.image-parallax-widget .align-right .huda-hero-center {
    text-align: right;
    align-items: flex-end;
}

/* Center Text Block */
.image-parallax-widget .huda-hero-center {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    z-index: 3;
}

.image-parallax-widget .huda-hero-title {
    color: #fff;
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
    text-transform: uppercase;
    font-weight: 700;
}

.image-parallax-widget .huda-hero-desc {
    color: #f0f0f0;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Button */
.image-parallax-widget .huda-hero-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    color: #000;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: center;
    transition: all 0.3s ease;
}

.image-parallax-widget .align-left .huda-hero-btn {
    align-self: flex-start;
}

.image-parallax-widget .align-right .huda-hero-btn {
    align-self: flex-end;
}

/* Social Icons */
.image-parallax-widget .huda-hero-socials {
    position: absolute;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.image-parallax-widget .huda-social-icon {
    color: #fff;
    font-size: 20px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-parallax-widget .huda-hero-socials .huda-social-icon svg {
    width: 20px;
    height: 20px;
}

.image-parallax-widget .huda-social-icon:hover {
    color: rgba(255, 255, 255, 0.7);
    transform: translateX(5px);
}

/* Scroll Indicator */
.image-parallax-widget .huda-scroll-indicator {
    position: absolute;
    bottom: 6%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    cursor: pointer;
}

.image-parallax-widget .mouse-icon {
    width: 26px;
    height: 42px;
    border: 2px solid #fff;
    border-radius: 15px;
    display: block;
    position: relative;
}

.image-parallax-widget .mouse-icon::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    animation: hudaScrollAni 2s infinite;
}

@keyframes hudaScrollAni {
    0% {
        top: 5px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .image-parallax-widget .huda-hero-bg-container {
        width: 100% !important;
        height: 100% !important;
        top: 0;
        left: 0;
        transform: none;
    }

    .image-parallax-widget .huda-hero-title {
        font-size: 2.5rem;
    }

    .image-parallax-widget .huda-hero-socials {
        display: none;
    }

    .image-parallax-widget .huda-hero-wrapper {
        min-height: 500px;
    }
}

/* =========================================
   RESPONSIVE (Mobile)
   Stacks items vertically on screens smaller than 768px
   ========================================= */
@media (max-width: 767px) {
    .hea-wishlist-row-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    /* Stack Image */
    .hea-row-image {
        width: 100%;
        max-width: 150px;
        /* Limit image size on mobile */
        margin-bottom: 14px;
        margin-right: 0px !important;
    }

    /* Stack Content */
    .hea-row-content {
        width: 100%;
        padding-right: 0;
        margin-bottom: 15px;
    }

    /* Stack Button */
    .hea-row-actions {
        width: 100%;
    }

    .hea-row-btn {
        width: 100%;
        /* Full width button on mobile */
        display: block;
        text-align: center;
    }

    /* Position Remove Button Absolute Top-Right on Mobile */
    .hea-row-remove {
        position: absolute;
        top: 10px;
        right: 10px;
        margin: 0;
    }
}

/* 
    RESPONSIVE STYLE
*/
/* Tablet */
@media (max-width: 1024px) {
    .hea-image-accordion.layout-vertical {
        width: 100%;
        height: 100%;
        transform: rotate(0deg);
    }

    .hea-image-accordion.layout-vertical .accordion-button {
        height: 100%;
    }

    .hea-image-accordion.layout-vertical .accordion-body {
        width: 100%;
        position: static;
        transform: inherit;
    }

    .hea-image-accordion.layout-vertical .accordion-collapse {
        height: 300px;
    }
}

@media screen and (max-width: 991px) {
    .style10-item:nth-child(odd) {
        border-right: 1px solid transparent;
        padding: 12px;
    }
}

/* Mobile */
@media screen and (max-width: 999px) {
    .arrow-prev {
        left: 1.2em !important;
    }
}

@media screen and (max-width: 768px) {
    .hea-woocommerce-my-account .tabs-position-right {
        flex-direction: column;
    }

    .woocommerce-page .hea-woocommerce-my-account .woocommerce {
        gap: 0;
    }

    .woocommerce-page .hea-woocommerce-my-account .woocommerce nav.woocommerce-MyAccount-navigation {
        padding: 0;
    }

    .woocommerce-cart-container .cart-coupon .coupon {
        display: block;
    }

    .woocommerce-cart-container .cart_totals {
        width: 100%;
    }

    .cart-coupon .coupon .coupon-details button,
    .woocommerce-cart-container .cart-coupon .coupon .cart-actions button {
        width: 100% !important;
        margin-top: 10px;
        text-align: center;
    }

    .cart-coupon .coupon .coupon-details button {
        margin: 0;
    }

    table.shop_table_responsive tr td::before {
        display: none;
    }


    .single-post h2.wp-block-heading,
    .wp-block-heading {
        font-size: 22px !important;
    }
}

@media screen and (max-width: 576px) {

    .cart-coupon .coupon .coupon-details button {
        margin-top: 10px;
    }

    .woocommerce-cart-container .cart-coupon .coupon .coupon-details {
        display: block;
    }

    .woocommerce-cart-container .cart-coupon .coupon .coupon-details input {
        width: 100%;
    }

    .slick-slider .slick-track .slide-item {
        margin: 0;
    }

    .arrow-prev {
        top: 40% !important;
        left: 1.2em !important;
        transform: inherit !important;
    }

    .arrow-next {
        top: 40% !important;
        right: 1.2em !important;
        transform: inherit !important;
    }

    .hea-meta {
        flex-wrap: wrap;
    }

    .huda-instagram-feed {
        flex-wrap: wrap;
        justify-content: center;
    }

    .huda-instagram-item img {
        width: 180px;
        height: 240px !important;
    }

    .wc-block-checkout-empty .wc-block-checkout-empty__description {
        width: 100%;
    }
}

/* =================================================================
   CATEGORY WIDGET STYLES
================================================================= */

/* --- Wrapper & Grid --- */
.huda-cat-wrapper {
    width: 100%;
}

.huda-cat-grid {
    display: flex;
    flex-wrap: wrap;
    /* alignment and gap are injected by Elementor controls */
}

/* --- Column --- */
/* Width is injected by Elementor 'columns' control via calc(100%/N) selector */
.huda-cat-col {
    box-sizing: border-box;
}

/* --- Item (the clickable link) --- */
/* FIX: Do NOT hardcode align-items or text-align here.
   Elementor's alignment control injects these as inline styles. */
.huda-cat-item {
    display: flex;
    flex-direction: column;
    /* default center — Elementor will override per user choice */
    align-items: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
    height: 100%;
}

/* --- Text alignment helper: mirrors flex-start/flex-end to text-align --- */
.huda-cat-item[style*="flex-start"] {
    text-align: left;
}

.huda-cat-item[style*="flex-end"] {
    text-align: right;
}

.huda-cat-item[style*="center"] {
    text-align: center;
}

/* --- Media Container (image or icon) --- */
.huda-cat-media {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background-color: #f7f7f7;
    margin-bottom: 15px;
    /* default size — overridden by Elementor control */
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

/* --- Style 1: Image --- */
.huda-cat-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.huda-cat-item:hover .huda-cat-media img {
    transform: scale(1.1);
}

/* --- Style 2: Icon --- */
/* FIX: Set pointer-events on the span wrapper from Icons_Manager */
.huda-cat-media>span {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.huda-cat-media i {
    font-size: 40px;
    color: #555;
    line-height: 1;
    transition: all 0.3s ease;
}

/* FIX: SVGs rendered by Icons_Manager have hardcoded width/height HTML attributes.
   Force them to obey our container. The icon_size Elementor control further overrides these with !important. */
.huda-cat-media svg {
    width: 40px !important;
    height: 40px !important;
    display: block;
    transition: all 0.3s ease;
    fill: #555;
}

/* --- Title --- */
.huda-cat-title {
    margin: 0 0 2px;
    font-size: 16px;
    font-weight: 600;
    color: #111;
    transition: color 0.3s ease;
}

/* --- Count --- */
.huda-cat-count {
    font-size: 13px;
    color: #888;
}

/* =================================================================
   CATEGORY WIDGET — CAROUSEL (Swiper)
================================================================= */

/* FIX: overflow must be hidden on the main container (the viewport).
   Standard swiper behavior requires this for navigation to work. */
.huda-cat-swiper.swiper {
    overflow: hidden;
    /* This padding creates space INSIDE the hidden-overflow container
       for the pagination dots to sit without overlapping slides. */
    padding-bottom: 35px;
}

.huda-cat-swiper .swiper-wrapper {
    /* The wrapper is the track — it must NOT have overflow: hidden
       or it will clip the sliding items incorrectly. */
    display: flex;
}

.huda-cat-swiper .swiper-slide {
    height: 100%;
    /* Ensure slides don't collapse or expand weirdly */
    flex-shrink: 0;
}

/* Pagination sits in the reserved padding-bottom area of the .swiper container */
.huda-cat-swiper .swiper-pagination {
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.huda-cat-swiper .swiper-button-next,
.huda-cat-swiper .swiper-button-prev {
    color: #333;
    transition: all 0.3s ease;
}

.huda-cat-swiper .swiper-button-next::after,
.huda-cat-swiper .swiper-button-prev::after {
    font-size: 18px;
}