/* -------------------------------------------------------------
 * WP Sections Slider Stylesheet
 * ------------------------------------------------------------- */

:root {
    --wp-sections-dot-color: rgba(255, 255, 255, 0.45);
    --wp-sections-dot-active-color: #ffffff;
    --wp-sections-arrow-color: #ffffff;
    --wp-sections-arrow-bg: rgba(0,0,0,0.3);
}

/* Slider Main Container */
.wp-sections-slider-container {
    position: relative;
    width: 100%;
    height: var(--slider-height, 500px);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    background-color: #1a1a1a;
}

/* Slides Wrapper (The strip containing all slides side-by-side) */
.wp-sections-slides-wrapper {
    display: flex;
    width: 300%; /* 3 slides = 300% */
    height: 100%;
    transition: transform 0.65s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    will-change: transform;
}

/* Individual Slide */
.wp-sections-slide {
    position: relative;
    width: 33.333333%; /* 1/3 of the 300% wrapper */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Hide scaled background bounds */
}

/* Background image/color/gradient container with smooth long zoom-out effect */
.wp-sections-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transform: scale(1.15); /* Start zoomed-in */
    transition: transform 6.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
    will-change: transform;
}

/* Zoom out smoothly when slide is active */
.wp-sections-slide.active .wp-sections-slide-bg {
    transform: scale(1);
}

/* Dark glassmorphic overlay for better text contrast */
.wp-sections-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 1;
}

/* Slide Content Container */
.wp-sections-slide-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    text-align: center;
}

/* Text Theme Colors */
.wp-sections-text-light,
.wp-sections-slider-container .wp-sections-text-light .wp-sections-title,
.wp-sections-slider-container .wp-sections-text-light .wp-sections-subtitle {
    color: #ffffff !important;
}
.wp-sections-text-dark,
.wp-sections-slider-container .wp-sections-text-dark .wp-sections-title,
.wp-sections-slider-container .wp-sections-text-dark .wp-sections-subtitle {
    color: #1f2937 !important;
}
.wp-sections-text-dark .wp-sections-slide-overlay {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.75) 100%);
}

/* Responsive typography */
.wp-sections-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.025em;
    opacity: 0; /* Hidden initially, shown via active classes */
}

.wp-sections-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0; /* Hidden initially, shown via active classes */
}

@media (max-width: 1024px) {
    .wp-sections-slider-container {
        height: min(420px, var(--slider-height)) !important;
    }
    .wp-sections-slide-content {
        padding: 1.5rem !important;
    }
    .wp-sections-title {
        font-size: 2.25rem !important;
        margin-bottom: 1rem !important;
    }
    .wp-sections-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 1.5rem !important;
    }
    .wp-sections-btn {
        font-size: 0.9rem !important;
        padding: 0.75rem 1.75rem !important;
    }
}

@media (max-width: 768px) {
    .wp-sections-slider-container {
        height: min(340px, var(--slider-height)) !important;
    }
    .wp-sections-slide-content {
        padding: 1rem !important;
    }
    .wp-sections-title {
        font-size: 1.65rem !important;
        margin-bottom: 0.75rem !important;
    }
    .wp-sections-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 1.25rem !important;
    }
    .wp-sections-btn {
        font-size: 0.8rem !important;
        padding: 0.6rem 1.35rem !important;
    }
}

@media (max-width: 480px) {
    .wp-sections-slider-container {
        height: min(280px, var(--slider-height)) !important;
    }
    .wp-sections-slide-content {
        padding: 0.75rem !important;
    }
    .wp-sections-title {
        font-size: 1.25rem !important;
        margin-bottom: 0.5rem !important;
    }
    .wp-sections-subtitle {
        font-size: 0.85rem !important;
        margin-bottom: 0.85rem !important;
    }
    .wp-sections-btn {
        font-size: 0.75rem !important;
        padding: 0.45rem 1.1rem !important;
    }
}

/* Call-to-Action Buttons */
.wp-sections-cta {
    opacity: 0;
}

.wp-sections-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: 6px;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    cursor: pointer;
}

.wp-sections-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    opacity: 0.95;
}

.wp-sections-btn:active {
    transform: translateY(0);
}

.btn-pill {
    border-radius: 9999px;
}

.btn-outline {
    background-color: transparent !important;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* -------------------------------------------------------------
 * Text Animation Timings & Delays
 * ------------------------------------------------------------- */

/* Delays */
.delay-1 { animation-delay: 0.15s !important; }
.delay-2 { animation-delay: 0.35s !important; }
.delay-3 { animation-delay: 0.6s !important; }

/* Apply animation classes when the parent slide has the .active class */
.wp-sections-slide.active .anim-fadeInUp {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.wp-sections-slide.active .anim-slideInLeft {
    animation: slideInLeft 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.wp-sections-slide.active .anim-zoomIn {
    animation: zoomIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.wp-sections-slide.active .anim-fadeIn {
    animation: fadeIn 0.8s ease forwards;
}

.wp-sections-slide.active .anim-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* -------------------------------------------------------------
 * Slider Navigation Controls
 * ------------------------------------------------------------- */

/* Navigation Arrows */
.wp-sections-arrow {
    all: unset !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    background: var(--wp-sections-arrow-bg) !important;
    color: var(--wp-sections-arrow-color) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    opacity: 0.6 !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
    box-sizing: border-box !important;
}

.wp-sections-arrow:hover {
    opacity: 1 !important;
    background: rgba(0,0,0,0.5) !important;
    transform: translateY(-50%) scale(1.08) !important;
}

.wp-sections-arrow svg {
    width: 24px !important;
    height: 24px !important;
    display: block !important;
    margin: auto !important;
}

.prev-arrow {
    left: 1.5rem !important;
}

.next-arrow {
    right: 1.5rem !important;
}

@media (max-width: 640px) {
    .wp-sections-arrow {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
    }
    .prev-arrow { left: 0.5rem !important; }
    .next-arrow { right: 0.5rem !important; }
}

/* -------------------------------------------------------------
 * Animated Dot Pagination
 * ------------------------------------------------------------- */

.wp-sections-pagination {
    position: absolute !important;
    bottom: 1.5rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.65rem !important;
    padding: 0.4rem 0.8rem !important;
    margin: 0 !important;
    border-radius: 30px !important;
    background-color: rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    list-style: none !important;
    text-indent: 0 !important;
    box-sizing: border-box !important;
}

.wp-sections-pagination button.wp-sections-dot {
    all: unset !important;
    display: block !important;
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    max-width: 10px !important;
    min-height: 10px !important;
    max-height: 10px !important;
    border-radius: 50% !important;
    background-color: var(--wp-sections-dot-color) !important;
    background-image: none !important;
    opacity: 0.5 !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
}

.wp-sections-pagination button.wp-sections-dot:hover {
    opacity: 0.8 !important;
}

/* Active animated dot states based on customizable settings */

/* Expanding Bar Dot Animation */
.wp-sections-pagination.style-expand button.wp-sections-dot.active {
    width: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
    border-radius: 6px !important;
    background-color: var(--wp-sections-dot-active-color) !important;
    opacity: 1 !important;
}

/* Bouncing Active Dot Animation */
.wp-sections-pagination.style-bounce button.wp-sections-dot.active {
    background-color: var(--wp-sections-dot-active-color) !important;
    opacity: 1 !important;
    animation: wpSectionsBounce 0.6s ease infinite alternate !important;
}

@keyframes wpSectionsBounce {
    0% { transform: translateY(0) !important; }
    100% { transform: translateY(-4px) !important; }
}

/* Glowing Active Dot Animation */
.wp-sections-pagination.style-glow button.wp-sections-dot.active {
    background-color: var(--wp-sections-dot-active-color) !important;
    opacity: 1 !important;
    box-shadow: 0 0 10px var(--wp-sections-dot-active-color), 0 0 4px var(--wp-sections-dot-active-color) !important;
    transform: scale(1.25) !important;
}

/* Simple Scale Scaling Animation */
.wp-sections-pagination.style-minimal button.wp-sections-dot.active {
    background-color: var(--wp-sections-dot-active-color) !important;
    opacity: 1 !important;
    transform: scale(1.35) !important;
}

/* -------------------------------------------------------------
 * WooCommerce Product Categories Carousel Styles (Horizontal Carousel)
 * ------------------------------------------------------------- */
.wp-sections-categories-section {
    padding: 1.5rem 0 !important;
    margin: 1rem auto !important;
    width: 100% !important;
    max-width: 100% !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.wp-sections-categories-title {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    margin: 0 0 0.5rem 0 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.2 !important;
}

.wp-sections-categories-subtitle {
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    margin: 0 0 1.25rem 0 !important;
    opacity: 0.8 !important;
    line-height: 1.5 !important;
}

/* Outer layout for positioning navigation buttons */
.wp-sections-categories-carousel-outer {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Category arrow navigation styling */
.wp-sections-cat-nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: none !important; /* Hidden on mobile by default */
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 10 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
}

@media (min-width: 1024px) {
    .wp-sections-cat-nav {
        display: flex !important;
    }
    
    .wp-sections-categories-carousel-outer:hover .wp-sections-cat-nav {
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

.wp-sections-cat-nav:hover {
    background: #f8fafc !important;
    color: #0f172a !important;
    transform: translateY(-50%) scale(1.08) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
}

.wp-sections-cat-nav-prev {
    left: 8px !important;
}

.wp-sections-cat-nav-next {
    right: 8px !important;
}

.wp-sections-categories-carousel-wrapper {
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0.75rem 0 !important;
    box-sizing: border-box !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.wp-sections-categories-carousel-wrapper::-webkit-scrollbar {
    display: none !important;
}

.wp-sections-categories-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 1.25rem !important;
    box-sizing: border-box !important;
}

@media (max-width: 640px) {
    .wp-sections-categories-list {
        gap: 0.75rem !important;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .wp-sections-categories-list {
        gap: 1rem !important;
    }
}

.wp-sections-category-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    gap: 0.5rem !important;
    flex-shrink: 0 !important;
    transition: transform 0.3s ease !important;
    scroll-snap-align: center !important;
    box-sizing: border-box !important;
    width: calc((100% - 6.25rem) / 6) !important;
}

/* Responsive columns: exactly 4 items on mobile, more as screen grows */

/* Mobile (max-width: 640px) -> Show exactly 4 items */
@media (max-width: 640px) {
    .wp-sections-category-card {
        width: calc((100% - 2.25rem) / 4) !important;
    }
}

/* Tablet (min-width: 641px) and (max-width: 1024px) -> Show exactly 4 items */
@media (min-width: 641px) and (max-width: 1024px) {
    .wp-sections-category-card {
        width: calc((100% - 3rem) / 4) !important;
    }
}

/* Desktop (min-width: 1025px) -> Show exactly 6 items */
@media (min-width: 1025px) {
    .wp-sections-category-card {
        width: calc((100% - 6.25rem) / 6) !important;
    }
}

.wp-sections-category-image-wrapper {
    width: 100% !important;
    max-width: 110px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: none !important;
    background-color: #f4f4f4 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (max-width: 640px) {
    .wp-sections-category-image-wrapper {
        max-width: 70px !important;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .wp-sections-category-image-wrapper {
        max-width: 90px !important;
    }
}

.wp-sections-category-image {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    min-height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important; /* Image occupies full circle space */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-sizing: border-box !important;
}

.wp-sections-category-label {
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    margin: 4px 0 0 0 !important;
    text-align: center !important;
    color: inherit !important;
    display: block !important;
    width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    box-sizing: border-box !important;
    transition: color 0.3s ease !important;
}

@media (max-width: 640px) {
    .wp-sections-category-label {
        font-size: 11px !important;
    }
}

/* Category Icon layouts and styling */
.wp-sections-category-icon-badge {
    position: absolute !important;
    bottom: 2px !important;
    right: 2px !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    padding: 3px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1) !important;
    z-index: 2 !important;
    box-sizing: border-box !important;
}

@media (min-width: 641px) {
    .wp-sections-category-icon-badge {
        width: 32px !important;
        height: 32px !important;
        padding: 4px !important;
        bottom: 4px !important;
        right: 4px !important;
    }
}

.wp-sections-category-icon-only-container {
    padding: 15px !important;
    background-color: #f8fafc !important;
}

.wp-sections-category-icon-only-image {
    object-fit: contain !important;
    width: 100% !important;
    height: 100% !important;
}

/* Hover effects */
.wp-sections-category-card.wp-sections-cat-hover-zoom:hover {
    transform: translateY(-4px) !important;
}
.wp-sections-category-card.wp-sections-cat-hover-zoom:hover .wp-sections-category-image {
    transform: scale(1.08) !important;
}

.wp-sections-category-card.wp-sections-cat-hover-glow:hover {
    transform: translateY(-4px) !important;
}
.wp-sections-category-card.wp-sections-cat-hover-glow:hover .wp-sections-category-image-wrapper {
    box-shadow: 0 0 15px rgba(216, 58, 30, 0.25) !important;
}

.wp-sections-category-card.wp-sections-cat-hover-border:hover {
    transform: translateY(-4px) !important;
}
.wp-sections-category-card.wp-sections-cat-hover-border:hover .wp-sections-category-image-wrapper {
    border: 2px solid #d83a1e !important;
}

/* -------------------------------------------------------------
 * WooCommerce Product Brands Carousel Styles
 * ------------------------------------------------------------- */
.wp-sections-brands-section {
    margin: 2.5rem 0 1.25rem 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.wp-sections-brands-title {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    margin: 0 0 0.5rem 0 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.2 !important;
}

.wp-sections-brands-subtitle {
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    margin: 0 0 1.25rem 0 !important;
    opacity: 0.8 !important;
    line-height: 1.5 !important;
}

.wp-sections-brands-carousel-outer {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.wp-sections-brand-nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 10 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
}

@media (min-width: 1024px) {
    .wp-sections-brand-nav {
        display: flex !important;
    }
    
    .wp-sections-brands-carousel-outer:hover .wp-sections-brand-nav {
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

.wp-sections-brand-nav:hover {
    background: #f8fafc !important;
    color: #0f172a !important;
    transform: translateY(-50%) scale(1.08) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
}

.wp-sections-brand-nav-prev {
    left: 8px !important;
}

.wp-sections-brand-nav-next {
    right: 8px !important;
}

.wp-sections-brands-carousel-wrapper {
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0.75rem 0 !important;
    box-sizing: border-box !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.wp-sections-brands-carousel-wrapper::-webkit-scrollbar {
    display: none !important;
}

.wp-sections-brands-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 1.25rem !important;
    box-sizing: border-box !important;
}

@media (max-width: 640px) {
    .wp-sections-brands-list {
        gap: 0.75rem !important;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .wp-sections-brands-list {
        gap: 1rem !important;
    }
}

.wp-sections-brand-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: transform 0.3s ease !important;
    scroll-snap-align: center !important;
    box-sizing: border-box !important;
    width: calc((100% - 6.25rem) / 6) !important;
}

@media (max-width: 640px) {
    .wp-sections-brand-card {
        width: calc((100% - 2.25rem) / 4) !important;
    }
    .wp-sections-brand-card.wp-sections-brand-shape-rectangular {
        width: calc((100% - 0.75rem) / 2) !important;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .wp-sections-brand-card {
        width: calc((100% - 3rem) / 4) !important;
    }
    .wp-sections-brand-card.wp-sections-brand-shape-rectangular {
        width: calc((100% - 2rem) / 3) !important;
    }
}

@media (min-width: 1025px) {
    .wp-sections-brand-card {
        width: calc((100% - 6.25rem) / 6) !important;
    }
}

.wp-sections-brand-image-wrapper {
    width: 100% !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #f8fafc !important;
    border: 1px solid #f1f5f9 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

/* Shape: Rectangular */
.wp-sections-brand-shape-rectangular .wp-sections-brand-image-wrapper {
    max-width: 180px !important;
    aspect-ratio: 2.5 / 1 !important;
    border-radius: 12px !important;
    padding: 6px !important;
}
@media (max-width: 640px) {
    .wp-sections-brand-shape-rectangular .wp-sections-brand-image-wrapper {
        max-width: 140px !important;
        padding: 4px !important;
    }
}
@media (min-width: 641px) and (max-width: 1024px) {
    .wp-sections-brand-shape-rectangular .wp-sections-brand-image-wrapper {
        max-width: 160px !important;
        padding: 5px !important;
    }
}

/* Shape: Square */
.wp-sections-brand-shape-square .wp-sections-brand-image-wrapper {
    max-width: 110px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 12px !important;
    padding: 12px !important;
}
@media (max-width: 640px) {
    .wp-sections-brand-shape-square .wp-sections-brand-image-wrapper {
        max-width: 70px !important;
        padding: 8px !important;
    }
}
@media (min-width: 641px) and (max-width: 1024px) {
    .wp-sections-brand-shape-square .wp-sections-brand-image-wrapper {
        max-width: 90px !important;
        padding: 10px !important;
    }
}

/* Shape: Circular */
.wp-sections-brand-shape-circular .wp-sections-brand-image-wrapper {
    max-width: 110px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 9999px !important;
    padding: 12px !important;
}
@media (max-width: 640px) {
    .wp-sections-brand-shape-circular .wp-sections-brand-image-wrapper {
        max-width: 70px !important;
        padding: 8px !important;
    }
}
@media (min-width: 641px) and (max-width: 1024px) {
    .wp-sections-brand-shape-circular .wp-sections-brand-image-wrapper {
        max-width: 90px !important;
        padding: 10px !important;
    }
}

/* Shape: Squircle */
.wp-sections-brand-shape-squircle .wp-sections-brand-image-wrapper {
    max-width: 110px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 24px 8px 24px 8px !important; /* Premium organic leaf shape */
    padding: 12px !important;
}
@media (max-width: 640px) {
    .wp-sections-brand-shape-squircle .wp-sections-brand-image-wrapper {
        max-width: 70px !important;
        border-radius: 16px 6px 16px 6px !important;
        padding: 8px !important;
    }
}
@media (min-width: 641px) and (max-width: 1024px) {
    .wp-sections-brand-shape-squircle .wp-sections-brand-image-wrapper {
        max-width: 90px !important;
        border-radius: 20px 7px 20px 7px !important;
        padding: 10px !important;
    }
}

.wp-sections-brand-image {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important; /* Maintain original branding proportions perfectly */
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-sizing: border-box !important;
}

/* Hover effects for brands */
.wp-sections-brand-card.wp-sections-brand-hover-zoom:hover {
    transform: translateY(-4px) !important;
}
.wp-sections-brand-card.wp-sections-brand-hover-zoom:hover .wp-sections-brand-image {
    transform: scale(1.08) !important;
}

.wp-sections-brand-card.wp-sections-brand-hover-glow:hover {
    transform: translateY(-4px) !important;
}
.wp-sections-brand-card.wp-sections-brand-hover-glow:hover .wp-sections-brand-image-wrapper {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    border-color: #cbd5e1 !important;
}

.wp-sections-brand-card.wp-sections-brand-hover-border:hover {
    transform: translateY(-4px) !important;
}
.wp-sections-brand-card.wp-sections-brand-hover-border:hover .wp-sections-brand-image-wrapper {
    border: 2px solid #1e293b !important;
}

/* -------------------------------------------------------------
 * Advanced WooCommerce Banner Styles
 * ------------------------------------------------------------- */
.wp-sections-adv-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
    padding: 1rem;
    box-sizing: border-box;
}

.wp-sections-adv-image-container {
    position: relative !important;
    width: 120px !important;
    height: 120px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3) !important;
    margin-bottom: 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

@media (min-width: 480px) {
    .wp-sections-adv-image-container {
        width: 170px !important;
        height: 170px !important;
        margin-bottom: 1rem !important;
    }
}

@media (min-width: 768px) {
    .wp-sections-adv-image-container {
        width: 240px !important;
        height: 240px !important;
        margin-bottom: 1.25rem !important;
    }
}

.wp-sections-adv-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.wp-sections-adv-image-container:hover .wp-sections-adv-image {
    transform: scale(1.06) !important;
}

.wp-sections-adv-price {
    position: absolute !important;
    bottom: 8px !important;
    right: 8px !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2) !important;
}

/* -------------------------------------------------------------
 * WP Sections Header Stylesheet
 * ------------------------------------------------------------- */
/* Hide default theme headers when our custom header is enabled */
body.has-wp-sections-header header:not(.wp-sections-header),
body.has-wp-sections-header .site-header:not(.wp-sections-header),
body.has-wp-sections-header #site-header:not(.wp-sections-header),
body.has-wp-sections-header #masthead:not(.wp-sections-header),
body.has-wp-sections-header .masthead:not(.wp-sections-header),
body.has-wp-sections-header .site-header-wrapper:not(.wp-sections-header),
body.has-wp-sections-header .main-header-bar:not(.wp-sections-header),
body.has-wp-sections-header .elementor-location-header:not(.wp-sections-header),
body.has-wp-sections-header .header-wrap:not(.wp-sections-header),
body.has-wp-sections-header #header:not(.wp-sections-header),
body.has-wp-sections-header .theme-header:not(.wp-sections-header) {
    display: none !important;
}

/* Make our header fixed at the top of the viewport when global body class is active */
body.has-wp-sections-header .wp-sections-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    display: block !important;
}

/* Offset body for fixed header */
body.has-wp-sections-header {
    padding-top: 70px !important;
}
@media (max-width: 767px) {
    body.has-wp-sections-header {
        padding-top: 60px !important;
    }
}

/* Handle WordPress admin bar offset */
.admin-bar.has-wp-sections-header .wp-sections-header {
    top: 32px !important;
}
@media (max-width: 782px) {
    .admin-bar.has-wp-sections-header .wp-sections-header {
        top: 46px !important;
    }
}

.wp-sections-header {
    display: block !important;
    background-color: #ffffff !important;
    border-bottom: 1px solid #e5e7eb !important;
    width: 100% !important;
    z-index: 100 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}
.wp-sections-mobile-dropdown {
    display: none !important;
}
.wp-sections-header-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
    position: relative !important;
}
.wp-sections-header-mobile {
    display: none !important;
}
.wp-sections-header-desktop {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 70px !important;
}
.wp-sections-header-logo-container {
    flex-shrink: 0 !important;
}
.wp-sections-header-logo {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    text-decoration: none !important;
    letter-spacing: -0.025em !important;
    transition: opacity 0.2s !important;
}
.wp-sections-header-logo:hover {
    opacity: 0.8 !important;
}
.wp-sections-header-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.wp-sections-header-nav-list {
    display: flex !important;
    gap: 24px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.wp-sections-header-nav-link {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}
.wp-sections-header-nav-link:hover {
    color: #4f46e5 !important;
}
.wp-sections-header-actions-desktop {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}
.wp-sections-header-icon-link {
    color: #4b5563 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px !important;
    border-radius: 50% !important;
    transition: all 0.2s !important;
    text-decoration: none !important;
}
.wp-sections-header-icon-link:hover {
    background-color: #f3f4f6 !important;
    color: #111827 !important;
}
.wp-sections-cart-icon-container {
    position: relative !important;
}
.wp-sections-cart-badge {
    position: absolute !important;
    top: -2px !important;
    right: -2px !important;
    background-color: #ef4444 !important;
    color: #ffffff !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    height: 15px !important;
    min-width: 15px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 4px !important;
    border: 1px solid #ffffff !important;
}

/* Mobile responsive layout */
@media (max-width: 767px) {
    .wp-sections-header-desktop {
        display: none !important;
    }
    .wp-sections-header-mobile {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 60px !important;
    }
    .wp-sections-header-actions-mobile {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
    .wp-sections-header-menu-toggle {
        background: none !important;
        border: none !important;
        color: #4b5563 !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 6px !important;
        border-radius: 4px !important;
        transition: background-color 0.2s !important;
    }
    .wp-sections-header-menu-toggle:hover {
        background-color: #f3f4f6 !important;
    }
    .wp-sections-mobile-dropdown {
        display: none !important;
        position: absolute !important;
        top: 60px !important;
        left: 0 !important;
        right: 0 !important;
        background-color: #ffffff !important;
        border-bottom: 1px solid #e5e7eb !important;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
        z-index: 999999 !important;
        padding: 16px 20px !important;
    }
    .wp-sections-mobile-dropdown.active {
        display: block !important;
    }
    .wp-sections-mobile-nav-list {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    .wp-sections-mobile-nav-link {
        display: block !important;
        padding: 10px 12px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        color: #374151 !important;
        text-decoration: none !important;
        border-radius: 6px !important;
        transition: background-color 0.2s !important;
    }
    .wp-sections-mobile-nav-link:hover {
        background-color: #f3f4f6 !important;
        color: #4f46e5 !important;
    }
    .wp-sections-mobile-nav-divider {
        height: 1px !important;
        background-color: #e5e7eb !important;
        margin: 4px 0 !important;
    }
    .wp-sections-mobile-nav-secondary {
        display: flex !important;
        align-items: center !important;
        color: #4b5563 !important;
    }
}
