.azooga-wrapper {
    margin: 40px 0;
    background: #f5f5f5;
}

/* Secondary PLP Image */
.azooga-image-and-btn {
    position: relative;
}

.azooga-product-image {
    position: relative;
    overflow: hidden;
}

.azooga-secondary-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.azooga-product-image.show-secondary .azooga-secondary-img {
    opacity: 1;
    pointer-events: auto;
}

.azooga-product-image.show-secondary .azooga-product-img {
    opacity: 0;
}

.azooga-product-img {
    transition: opacity 0.3s ease;
}

.azooga-verso-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
    background: #000;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.2s ease, color 0.2s ease;
}
button.azooga-verso-btn:focus {
    background: #000;
    border: 1px solid #000;
}

.azooga-verso-btn:hover {
    background: #333;
    color: #fff;
    border: 1px solid #000;
}

@media (max-width: 768px) {
    .azooga-verso-btn {
        padding: 10px;
        font-size: 12px;
        top: 8px;
        right: 8px;
        height: 10px;
        min-height: 30px;
        min-width: 65px;
        opacity: 0.8;
        line-height: 1px;
    }
}

/* Modele diferite label */
.azooga-modele-diferite {
    color: #000;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #333;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    pointer-events: none;
    line-height: 1.4;
}

/* Personalizabil badge – bottom left on product image in PLP */
.azooga-personalizabil {
    color: #000;
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #333;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    pointer-events: none;
    line-height: 1.4;
}

/* PDP slide label (fata / verso) */
.azooga-pdp-slide-label {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #333;
    border-radius: 4px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    pointer-events: none;
}
.ast-plain-container, .ast-page-builder-template {
    background: #f5f5f5;
}

.azooga-product-count {
    font-size: 13px;
    color: #000;
    padding: 10px;
    text-align: center;
    font-weight: 500;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.azooga-product-count-number {
    background: #800020;
    color: #fff;
    padding: 2px 10px;
    border-radius: 10px;
}

.azooga-tags-filter {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin-bottom: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.azooga-tags-filter::-webkit-scrollbar {
    display: none;
}

.azooga-tag-pill {
    background: #800020;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.azooga-tag-pill:hover {
    background: #600018;
    transform: translateY(-2px);
}

.azooga-tag-pill.active {
    background: #fff;
    color: #800020;
    padding-right: 40px;
    position: relative;
}

/* Special tags styling (Design Fix and Personalizabil) */
.azooga-tag-pill[style*="background-color: rgb(255, 215, 0)"] {
    background-color: #FFD700 !important;
    color: #800020 !important;
}

.azooga-tag-pill[style*="background-color: rgb(255, 215, 0)"]:hover {
    background-color: #FFC700 !important;
    color: #800020 !important;
}

.azooga-tag-pill[style*="background-color: rgb(255, 215, 0)"].active {
    background-color: #fff !important;
    color: #800020 !important;
}

.azooga-tag-pill .close-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #fff;
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
}

.azooga-tag-pill .close-icon:hover {
    background: #f0f0f0;
    transform: translateY(-50%) scale(1.1);
}

.azooga-subtags-wrapper {
    margin-top: 8px;
    margin-bottom: 24px;
    padding: 0 20px;
}

/* Inline subtags for non-special tags */
.azooga-tags-filter .azooga-subtags-wrapper.inline-subtags {
    display: contents !important;
    margin: 0 !important;
    padding: 0 !important;
}

.azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter {
    display: contents !important;
    padding: 0 !important;
}

.azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtag-pill {
    font-size: 10px !important;
    padding: 6px 14px !important;
    white-space: nowrap;
    flex-shrink: 0;
    opacity: 1 !important;
    animation: none !important;
}

.azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtag-pill.active {
    padding-right: 30px !important;
    opacity: 1 !important;
    animation: none !important;
}

/* Force opacity 1 for all inline subtags in all states */
.azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill,
.azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill:hover,
.azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill:focus,
.azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill:focus-visible,
.azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill:active,
.azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill.active,
.azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill:not(.active) {
    opacity: 1 !important;
    animation: none !important;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease !important;
    visibility: visible !important;
    display: inline-flex !important;
}

/* Additional catch-all for inline subtags to prevent any hiding */
.azooga-tags-filter .inline-subtags .azooga-subtag-pill {
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-flex !important;
}

/* Ultimate override - maximum specificity for inline subtags */
button.azooga-subtag-pill.azooga-subtag-pill.azooga-subtag-pill {
    opacity: 1 !important;
    visibility: visible !important;
}

.azooga-tags-filter .azooga-subtags-wrapper.inline-subtags button.azooga-subtag-pill {
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-flex !important;
}

button {
    box-shadow: none !important;
}

.azooga-subtags-filter {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 8px;
}

.azooga-subtags-filter::-webkit-scrollbar {
    display: none;
}

.azooga-subtag-pill {
    background: #800020;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    opacity: 1 !important;
}

.azooga-subtag-pill:hover {
    background: #600018;
    box-shadow: 0 3px 10px rgba(128, 0, 32, 0.3);
}

.azooga-subtag-pill:focus {
    outline: none;
    opacity: 1 !important;
    visibility: visible !important;
}

.azooga-subtag-pill:focus-visible {
    outline: none;
    opacity: 1 !important;
    visibility: visible !important;
}

.azooga-subtag-pill:not(.active):focus {
    background: #800020;
    opacity: 1 !important;
    visibility: visible !important;
}

.azooga-subtag-pill:not(.active) {
    opacity: 1 !important;
    visibility: visible !important;
}

.azooga-subtag-pill.active {
    background: #fff;
    color: #800020;
    padding-right: 36px;
    opacity: 1;
}

.azooga-subtag-pill .close-icon {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: #fff;
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
}

.azooga-subtag-pill .close-icon:hover {
    background: #f0f0f0;
    transform: translateY(-50%) scale(1.1);
}

.azooga-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    min-height: 400px;
}

.azooga-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    min-height: 400px;
}

.azooga-loader-image {
    width: 150px !important;
    max-width: 150px !important;
    height: auto !important;
    display: block;
    animation: azooga-pulse 1.5s ease-in-out infinite;
}

@keyframes azooga-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(0.95);
    }
}

.azooga-product-item {
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.4s ease;
}

.azooga-product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.azooga-product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.azooga-product-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f5f5f5;
}

.azooga-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Mobile-only: Optimize image rendering */
@media (max-width: 768px) {
    #yith-wcwl-form {
        float: none !important;
        width: 90% !important;
    }
    .woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-enabled {
        width: 94vw !important;
    }
    .azooga-product-image img.azooga-product-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    /* Global image optimization - prevent layout shift */
    img:not([width]):not([height]) {
        aspect-ratio: attr(width) / attr(height);
    }

    img[loading="lazy"] {
        content-visibility: auto;
    }

    /* WooCommerce product images optimization */
    .woocommerce-product-gallery__image img,
    .product-thumbnail img,
    .attachment-woocommerce_thumbnail {
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }
}

/* Homepage and banner images - force compression */
.pet-banner-large img,
.pet-banner-large video,
.wpil-slide img {
    image-rendering: auto;
    transform: translateZ(0);
    will-change: auto;
}

.azooga-product-item:hover .azooga-product-image img {
    transform: scale(1.25);
}

.azooga-product-details {
    padding: 20px;
}

.azooga-product-category {
    display: block;
    color: #999;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.azooga-product-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
    line-height: 1.4;
    color: #333;
    min-height: 50px;
}

.azooga-product-price {
    margin-bottom: 0;
}

.azooga-product-price del,
.azooga-product-price del .woocommerce-Price-amount,
.azooga-product-price del .amount,
.azooga-product-price del .amount bdi {
    color: #800020 !important;
    font-size: 16px;
    text-decoration: line-through;
}

.azooga-product-price ins,
.azooga-product-price ins .woocommerce-Price-amount,
.azooga-product-price ins .amount,
.azooga-product-price ins .amount bdi,
.azooga-product-price .woocommerce-Price-amount,
.azooga-product-price .amount {
    font-size: 24px !important;
    font-weight: 700;
    color: #333;
    text-decoration: none !important;
}

.azooga-product-actions {
    display: flex;
    gap: 0;
    padding: 0 10px 20px;
    align-items: stretch;
}

.azooga-product-button {
    flex: 1;
    background-color: #800020;
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.azooga-product-button:hover {
    background-color: #600018;
    transform: translateY(-2px);
}

/* YITH Wishlist button in PLP */
.azooga-product-actions .yith-wcwl-btn,
.azooga-product-actions .yith-add-to-wishlist-button-block {
    flex-shrink: 0;
    width: 48px;
}

.azooga-product-actions .yith-wcwl-btn a,
.azooga-product-actions .yith-wcwl-btn .add_to_wishlist {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    background-color: #800020 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 16px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}

.azooga-product-actions .yith-wcwl-btn a:hover,
.azooga-product-actions .yith-wcwl-btn .add_to_wishlist:hover {
    background-color: #600018 !important;
}

.azooga-product-actions .yith-wcwl-add-button a > span,
.azooga-product-actions .yith-wcwl-add-to-wishlist-button__label {
    display: none !important;
}

.azooga-load-more-wrapper {
    text-align: center;
    margin-top: 50px;
    padding-bottom: 40px;
}

.azooga-load-more-btn {
    background: #800020;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.azooga-load-more-btn:hover:not(:disabled) {
    background: #600018;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 0, 32, 0.3);
}

.azooga-load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


.azooga-loader-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    animation: azooga-pulse 1.5s ease-in-out infinite;
}


.wc-block-components-button:not(.is-link) .wc-block-components-button__text {
    color: #000 !important;
}

.yith-wcwl-share {
    display: none !important;
}

.menu-item-430 a {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    color: white !important;
    padding: 10px 20px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    animation: menu-item-gradient 6s ease infinite;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    box-shadow: 0 4px 15px rgba(238, 119, 82, 0.4);
}

.menu-item-430 a::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: menu-item-shimmer 2.5s ease-in-out infinite;
}

.menu-item-430 a:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(238, 119, 82, 0.6);
}

/* Gradient animation keyframes */
@keyframes menu-item-gradient {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Shimmer effect animation */
@keyframes menu-item-shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

body .wc-block-cart-item__wrap a.wc-block-components-product-name {
    color: #000 !important;
    justify-self: left !important;
}

@media (min-width: 769px) {
    .azooga-breed-message {
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 20px;
        padding-right: 20px;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 20% !important;
    }

    .azooga-tags-filter {
        justify-content: center;
        margin-top: -40px;
        transition: all 0.3s ease;
        align-items: center;
    }

    /* Constrain to max-width and align left when special parent is selected */
    .azooga-tags-filter:has(.azooga-tag-pill.special-parent) {
        justify-content: flex-start;
        padding-left: max(20px, calc((100vw - 1400px) / 2)) !important;
        padding-right: max(20px, calc((100vw - 1400px) / 2)) !important;
    }
    .azooga-wrapper {
        background: #f5f5f5;
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }

    .azooga-tags-filter {
        border-radius: 0;
    }

    /* Hide non-special tags on desktop when special tag is active (non-sticky) */
    .azooga-tags-filter .azooga-tag-pill.hidden {
        display: none !important;
        opacity: 0 !important;
        transform: scale(0.8) !important;
        max-width: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
        transition: all 0.3s ease !important;
    }

    /* Show tags with animation on desktop */
    .azooga-tags-filter .azooga-tag-pill:not(.hidden) {
        animation: fadeInDesktopNonSticky 0.3s ease-out;
        transition: all 0.3s ease;
        position: relative;
    }



    /* Keep other special tag visible */
    .azooga-tags-filter .azooga-tag-pill.other-special {
        order: 2;
        flex-shrink: 0;
    }

    /* Subtags inside desktop filter (special tags, non-sticky) */
    .azooga-tags-filter .azooga-subtags-wrapper.mobile-sticky-subtags {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
        order: 1;
        animation: slideInDesktopGeneral 0.3s ease-out;
    }

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

    .azooga-tags-filter .azooga-subtags-wrapper.mobile-sticky-subtags.closing {
        animation: slideOutDesktopGeneral 0.3s ease-in;
    }

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

    .azooga-tags-filter .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtags-filter {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        padding: 0 !important;
    }

    .azooga-tags-filter .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill {
        font-size: 11px !important;
        padding: 8px 16px !important;
        white-space: nowrap;
        flex-shrink: 0;
        opacity: 0;
        animation: fadeInSubtagDesktopGeneral 0.3s ease-out forwards;
    }

    .azooga-tags-filter .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill:nth-child(1) {
        animation-delay: 0.05s;
    }

    .azooga-tags-filter .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill:nth-child(2) {
        animation-delay: 0.1s;
    }

    .azooga-tags-filter .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill:nth-child(3) {
        animation-delay: 0.15s;
    }

    .azooga-tags-filter .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill:nth-child(4) {
        animation-delay: 0.2s;
    }

    .azooga-tags-filter .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill:nth-child(5) {
        animation-delay: 0.25s;
    }

    @keyframes fadeInSubtagDesktopGeneral {
        from {
            opacity: 0;
            transform: scale(0.8);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    .azooga-tags-filter .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill.active {
        padding-right: 34px !important;
        opacity: 1 !important;
        animation: none !important;
    }

    /* Inline subtags for non-special tags on desktop (non-sticky) */
    .azooga-tags-filter .azooga-subtags-wrapper.inline-subtags {
        display: contents !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter {
        display: contents !important;
        padding: 0 !important;
    }

    .azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtag-pill {
        font-size: 10px !important;
        padding: 6px 14px !important;
        white-space: nowrap;
        flex-shrink: 0;
        opacity: 1 !important;
        animation: none !important;
    }

    .azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtag-pill.active {
        padding-right: 30px !important;
        opacity: 1 !important;
        animation: none !important;
    }

    /* Force opacity 1 for all inline subtags in all states - desktop non-sticky */
    .azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill,
    .azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill:hover,
    .azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill:focus,
    .azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill:focus-visible,
    .azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill:active,
    .azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill.active,
    .azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill:not(.active) {
        opacity: 1 !important;
        animation: none !important;
        transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease !important;
        visibility: visible !important;
        display: inline-flex !important;
    }

    /* Additional desktop catch-all */
    .azooga-tags-filter .inline-subtags .azooga-subtag-pill {
        opacity: 1 !important;
        visibility: visible !important;
        display: inline-flex !important;
    }

    .azooga-products-grid,
    .azooga-load-more-wrapper {
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Sticky top on desktop */
    .azooga-tags-filter.sticky-top {
        position: fixed !important;
        top: 67px;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        margin: 0 !important;
        z-index: 9999 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        padding: 22px 15px !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 8px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        background: #f9f9f9;
        justify-content: center;
        transition: top 0.3s ease !important;
    }

    /* Constrain to max-width and align left when special parent is selected in sticky mode */
    .azooga-tags-filter.sticky-top:has(.azooga-tag-pill.special-parent) {
        justify-content: flex-start;
        padding-left: max(20px, calc((100vw - 1400px) / 2)) !important;
        padding-right: max(20px, calc((100vw - 1400px) / 2)) !important;
    }

    .azooga-tags-filter.sticky-top::-webkit-scrollbar {
        display: none !important;
    }

    .azooga-tags-filter.sticky-top .azooga-tag-pill {
        position: relative !important;
        transform: none !important;
    }

    /* Hide non-special tags on desktop sticky when special tag is active */
    .azooga-tags-filter.sticky-top .azooga-tag-pill.hidden {
        display: none !important;
        opacity: 0 !important;
        transform: scale(0.8) !important;
        max-width: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
        transition: all 0.3s ease !important;
    }

    /* Show tags with animation on desktop sticky */
    .azooga-tags-filter.sticky-top .azooga-tag-pill:not(.hidden) {
        animation: fadeInDesktopSticky 0.3s ease-out;
        transition: all 0.3s ease;
        position: relative;
    }

    @keyframes fadeInDesktopSticky {
        from {
            opacity: 0;
            transform: scale(0.8);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    /* Make active parent first in order on desktop sticky */
    .azooga-tags-filter.sticky-top .azooga-tag-pill.active.special-parent {
        order: -1;
        flex-shrink: 0;
        transform: none !important;
    }

    /* Keep other special tag visible on desktop sticky */
    .azooga-tags-filter.sticky-top .azooga-tag-pill.other-special {
        order: 2;
        flex-shrink: 0;
    }

    /* Subtags in desktop sticky - horizontal layout */
    .azooga-tags-filter.sticky-top .azooga-subtags-wrapper.mobile-sticky-subtags {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
        order: 1;
        animation: slideInDesktopStickySubtags 0.3s ease-out;
    }

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

    .azooga-tags-filter.sticky-top .azooga-subtags-wrapper.mobile-sticky-subtags.closing {
        animation: slideOutDesktopStickySubtags 0.3s ease-in;
    }

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

    .azooga-tags-filter.sticky-top .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtags-filter {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        padding: 0 !important;
    }

    .azooga-tags-filter.sticky-top .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill {
        font-size: 11px !important;
        padding: 8px 16px !important;
        white-space: nowrap;
        flex-shrink: 0;
        opacity: 0;
        animation: fadeInSubtagDesktopSticky 0.3s ease-out forwards;
    }

    .azooga-tags-filter.sticky-top .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill:nth-child(1) {
        animation-delay: 0.05s;
    }

    .azooga-tags-filter.sticky-top .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill:nth-child(2) {
        animation-delay: 0.1s;
    }

    .azooga-tags-filter.sticky-top .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill:nth-child(3) {
        animation-delay: 0.15s;
    }

    .azooga-tags-filter.sticky-top .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill:nth-child(4) {
        animation-delay: 0.2s;
    }

    .azooga-tags-filter.sticky-top .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill:nth-child(5) {
        animation-delay: 0.25s;
    }

    @keyframes fadeInSubtagDesktopSticky {
        from {
            opacity: 0;
            transform: scale(0.8);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    .azooga-tags-filter.sticky-top .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill.active {
        padding-right: 34px !important;
        opacity: 1 !important;
        animation: none !important;
    }

    /* Inline subtags for non-special tags on desktop (sticky) */
    .azooga-tags-filter.sticky-top .azooga-subtags-wrapper.inline-subtags {
        display: contents !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .azooga-tags-filter.sticky-top .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter {
        display: contents !important;
        padding: 0 !important;
    }

    .azooga-tags-filter.sticky-top .azooga-subtags-wrapper.inline-subtags .azooga-subtag-pill {
        font-size: 10px !important;
        padding: 6px 14px !important;
        white-space: nowrap;
        flex-shrink: 0;
        opacity: 1 !important;
        animation: none !important;
    }

    .azooga-tags-filter.sticky-top .azooga-subtags-wrapper.inline-subtags .azooga-subtag-pill.active {
        padding-right: 30px !important;
        opacity: 1 !important;
        animation: none !important;
    }

    /* Force opacity 1 for all inline subtags in all states - desktop sticky */
    .azooga-tags-filter.sticky-top .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill,
    .azooga-tags-filter.sticky-top .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill:hover,
    .azooga-tags-filter.sticky-top .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill:focus,
    .azooga-tags-filter.sticky-top .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill:focus-visible,
    .azooga-tags-filter.sticky-top .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill:active,
    .azooga-tags-filter.sticky-top .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill.active,
    .azooga-tags-filter.sticky-top .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill:not(.active) {
        opacity: 1 !important;
        animation: none !important;
        transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease !important;
        visibility: visible !important;
        display: inline-flex !important;
    }

    /* Additional desktop sticky catch-all */
    .azooga-tags-filter.sticky-top .inline-subtags .azooga-subtag-pill {
        opacity: 1 !important;
        visibility: visible !important;
        display: inline-flex !important;
    }

    /* Add padding to body when sticky to prevent content from being hidden */
    body.azooga-sticky-active {
        padding-top: 0 !important;
    }

    /* Keep close icon visible on mobile sticky */
    .azooga-tags-filter.sticky-bottom .azooga-tag-pill .close-icon {
        display: flex !important;
        position: absolute !important;
        right: 8px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 10 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        width: 20px !important;
        height: 20px !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .azooga-tags-filter.sticky-bottom .azooga-subtag-pill .close-icon {
        display: flex !important;
        position: absolute !important;
        right: 6px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 10 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        width: 18px !important;
        height: 18px !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

@media (max-width: 1024px) {
    .azooga-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    li.menu-item-430 a {
        justify-content: center;
    }
    .azooga-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .azooga-tags-filter {
        gap: 8px;
        padding: 15px 15px 15px 15px;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        align-items: center;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
        transition: all 0.3s ease;
    }

    .azooga-tags-filter::-webkit-scrollbar {
        display: none;
    }

    .azooga-tag-pill {
        padding: 10px 20px;
        font-size: 13px;
        white-space: nowrap;
        flex-shrink: 0;
        transform: none !important;
    }

    .azooga-tag-pill.active {
        padding-right: 38px;
    }

    /* Hide non-special tags on mobile when special tag is active (non-sticky) */
    .azooga-tags-filter .azooga-tag-pill.hidden {
        display: none !important;
        opacity: 0 !important;
        transform: scale(0.8) !important;
        max-width: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
        transition: all 0.3s ease !important;
    }

    /* Show tags with animation on mobile */
    .azooga-tags-filter .azooga-tag-pill:not(.hidden) {
        animation: fadeInMobile 0.3s ease-out;
        transition: all 0.3s ease;
        position: relative;
    }

    @keyframes fadeInMobile {
        from {
            opacity: 0;
            transform: scale(0.8);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    /* Keep other special tag visible */
    .azooga-tags-filter .azooga-tag-pill.other-special {
        order: 2;
        flex-shrink: 0;
    }

    .azooga-subtags-wrapper {
        padding: 0 15px;
        margin-top: 6px;
        margin-bottom: 20px;
    }

    /* Subtags inside mobile filter (special tags) */
    .azooga-tags-filter .azooga-subtags-wrapper.mobile-sticky-subtags {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
        order: 1;
        animation: slideInMobile 0.3s ease-out;
    }

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

    .azooga-tags-filter .azooga-subtags-wrapper.mobile-sticky-subtags.closing {
        animation: slideOutMobileSub 0.3s ease-in;
    }

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

    .azooga-tags-filter .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtags-filter {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        padding: 0 !important;
    }

    .azooga-tags-filter .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill {
        font-size: 11px !important;
        padding: 8px 16px !important;
        white-space: nowrap;
        flex-shrink: 0;
        opacity: 0;
        animation: fadeInSubtagMobileGen 0.3s ease-out forwards;
    }

    .azooga-tags-filter .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill:nth-child(1) {
        animation-delay: 0.05s;
    }

    .azooga-tags-filter .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill:nth-child(2) {
        animation-delay: 0.1s;
    }

    .azooga-tags-filter .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill:nth-child(3) {
        animation-delay: 0.15s;
    }

    .azooga-tags-filter .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill:nth-child(4) {
        animation-delay: 0.2s;
    }

    .azooga-tags-filter .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill:nth-child(5) {
        animation-delay: 0.25s;
    }

    @keyframes fadeInSubtagMobileGen {
        from {
            opacity: 0;
            transform: scale(0.8);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    .azooga-tags-filter .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill.active {
        padding-right: 34px !important;
        opacity: 1 !important;
        animation: none !important;
    }

    /* Inline subtags for non-special tags on mobile (non-sticky) */
    .azooga-tags-filter .azooga-subtags-wrapper.inline-subtags {
        display: contents !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter {
        display: contents !important;
        padding: 0 !important;
    }

    .azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtag-pill {
        font-size: 9px !important;
        padding: 6px 12px !important;
        white-space: nowrap;
        flex-shrink: 0;
        opacity: 1 !important;
        animation: none !important;
    }

    .azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtag-pill.active {
        padding-right: 28px !important;
        opacity: 1 !important;
        animation: none !important;
    }

    /* Force opacity 1 for all inline subtags in all states - mobile non-sticky */
    .azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill,
    .azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill:hover,
    .azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill:focus,
    .azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill:focus-visible,
    .azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill:active,
    .azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill.active,
    .azooga-tags-filter .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill:not(.active) {
        opacity: 1 !important;
        animation: none !important;
        transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease !important;
        visibility: visible !important;
        display: inline-flex !important;
    }

    /* Additional mobile catch-all */
    .azooga-tags-filter .inline-subtags .azooga-subtag-pill {
        opacity: 1 !important;
        visibility: visible !important;
        display: inline-flex !important;
    }

    .azooga-subtags-filter {
        gap: 8px;
    }

    .azooga-subtag-pill {
        padding: 8px 16px;
        font-size: 11px;
    }

    .azooga-subtag-pill.active {
        padding-right: 34px;
    }

    /* Sticky bottom on mobile */
    .azooga-tags-filter.sticky-bottom {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        margin: 0 !important;
        z-index: 999 !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        padding: 22px 15px !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 8px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    .azooga-tags-filter.sticky-bottom::-webkit-scrollbar {
        display: none !important;
    }

    .azooga-tags-filter.sticky-bottom .azooga-tag-pill {
        position: relative !important;
        transform: none !important;
    }

    .azooga-tags-filter.sticky-bottom .azooga-subtag-pill {
        position: relative !important;
    }

    /* Hide non-special tags on mobile when special tag is active */
    .azooga-tags-filter.sticky-bottom .azooga-tag-pill.hidden {
        display: none !important;
        opacity: 0 !important;
        transform: scale(0.8) !important;
        max-width: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
        transition: all 0.3s ease !important;
    }

    /* Show tags with animation on mobile */
    .azooga-tags-filter.sticky-bottom .azooga-tag-pill:not(.hidden) {
        animation: fadeInMobile 0.3s ease-out;
        transition: all 0.3s ease;
        position: relative;
    }

    @keyframes fadeInMobile {
        from {
            opacity: 0;
            transform: scale(0.8);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    /* Make active parent first in order on mobile sticky (same size as top filter) */
    .azooga-tags-filter.sticky-bottom .azooga-tag-pill.active.special-parent {
        order: -1;
        flex-shrink: 0;
        transform: none !important;
    }

    /* Keep close icon visible and properly positioned in mobile sticky (same as top) */
    .azooga-tags-filter.sticky-bottom .azooga-tag-pill.active {
        padding-right: 38px !important;
    }

    /* Subtags in mobile sticky - horizontal layout */
    .azooga-tags-filter.sticky-bottom .azooga-subtags-wrapper.mobile-sticky-subtags {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
        order: 1;
        animation: slideInMobile 0.3s ease-out;
    }

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

    .azooga-tags-filter.sticky-bottom .azooga-subtags-wrapper.mobile-sticky-subtags.closing {
        animation: slideOutMobile 0.3s ease-in;
    }

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

    .azooga-tags-filter.sticky-bottom .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtags-filter {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        padding: 0 !important;
    }

    .azooga-tags-filter.sticky-bottom .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill {
        font-size: 11px !important;
        padding: 8px 16px !important;
        white-space: nowrap;
        flex-shrink: 0;
        opacity: 0;
        animation: fadeInSubtagMobile 0.3s ease-out forwards;
    }

    .azooga-tags-filter.sticky-bottom .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill:nth-child(1) {
        animation-delay: 0.05s;
    }

    .azooga-tags-filter.sticky-bottom .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill:nth-child(2) {
        animation-delay: 0.1s;
    }

    .azooga-tags-filter.sticky-bottom .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill:nth-child(3) {
        animation-delay: 0.15s;
    }

    .azooga-tags-filter.sticky-bottom .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill:nth-child(4) {
        animation-delay: 0.2s;
    }

    .azooga-tags-filter.sticky-bottom .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill:nth-child(5) {
        animation-delay: 0.25s;
    }

    @keyframes fadeInSubtagMobile {
        from {
            opacity: 0;
            transform: scale(0.8);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    .azooga-tags-filter.sticky-bottom .azooga-subtags-wrapper.mobile-sticky-subtags .azooga-subtag-pill.active {
        padding-right: 34px !important;
        opacity: 1 !important;
        animation: none !important;
        border: 1px solid #800020;
    }

    /* Inline subtags for non-special tags on mobile (sticky) */
    .azooga-tags-filter.sticky-bottom .azooga-subtags-wrapper.inline-subtags {
        display: contents !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .azooga-tags-filter.sticky-bottom .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter {
        display: contents !important;
        padding: 0 !important;
    }

    .azooga-tags-filter.sticky-bottom .azooga-subtags-wrapper.inline-subtags .azooga-subtag-pill {
        font-size: 9px !important;
        padding: 6px 12px !important;
        white-space: nowrap;
        flex-shrink: 0;
        opacity: 1 !important;
        animation: none !important;
    }

    .azooga-tags-filter.sticky-bottom .azooga-subtags-wrapper.inline-subtags .azooga-subtag-pill.active {
        padding-right: 28px !important;
        opacity: 1 !important;
        animation: none !important;
    }

    /* Force opacity 1 for all inline subtags in all states - mobile sticky */
    .azooga-tags-filter.sticky-bottom .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill,
    .azooga-tags-filter.sticky-bottom .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill:hover,
    .azooga-tags-filter.sticky-bottom .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill:focus,
    .azooga-tags-filter.sticky-bottom .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill:focus-visible,
    .azooga-tags-filter.sticky-bottom .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill:active,
    .azooga-tags-filter.sticky-bottom .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill.active,
    .azooga-tags-filter.sticky-bottom .azooga-subtags-wrapper.inline-subtags .azooga-subtags-filter .azooga-subtag-pill:not(.active) {
        opacity: 1 !important;
        animation: none !important;
        transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease !important;
        visibility: visible !important;
        display: inline-flex !important;
    }

    /* Additional mobile sticky catch-all */
    .azooga-tags-filter.sticky-bottom .inline-subtags .azooga-subtag-pill {
        opacity: 1 !important;
        visibility: visible !important;
        display: inline-flex !important;
    }

    /* Keep other special tag visible */
    .azooga-tags-filter.sticky-bottom .azooga-tag-pill.other-special {
        order: 2;
        flex-shrink: 0;
    }

    /* Add padding to body when sticky to prevent content from being hidden */
    body.azooga-sticky-active {
        padding-bottom: 80px !important;
    }
}

/* Custom WooCommerce and Site Styles */

/* Product Swatches and Variations */
.wpil-swatch-price {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px !important;
    color: #666;
    white-space: nowrap;
    text-align: center;
    pointer-events: none;
    font-weight: 500;
}

.reset_variations {
    display: none !important;
}

.variations {
    border: none !important;
}

.wpil-swatch {
    overflow: visible;
    margin-bottom: 2rem;
    background-size: 100% !important;
    background-repeat: no-repeat;
    border-width: 2px !important;
}

.wpil-swatch-option-name {
    text-transform: uppercase !important;
    color: black !important;
}

.tagged_as {
    display: none !important;
}

/* Form Elements */
input[type="radio"]:checked,
input[type=reset],
input[type="checkbox"]:checked,
input[type="checkbox"]:hover:checked,
input[type="checkbox"]:focus:checked,
input[type=range]::-webkit-slider-thumb {
    border-color: #6b1430 !important;
    background-color: #6b1430 !important;
}

/* Cart Page */
.woocommerce-cart .entry-title {
    display: none !important;
}

.azooga-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.15s ease-out;
}

/* Product Cards */
.up-sells.products ul.products li .button,
.related.products ul.products li .button,
.up-sells.products ul.products li .ast-on-card-button.ast-select-options-trigger,
.related.products ul.products li .ast-on-card-button.ast-select-options-trigger {
    padding: 14px 16px !important;
    border-radius: 14px !important;
}

body .wp-block-woocommerce-filled-cart-block > h1,
.wp-block-woocommerce-filled-cart-block .wc-block-cart__main > h1,
.entry-title {
    display: block !important;
}

.up-sells.products h2,
.related.products h2 {
    font-size: 16px !important;
    min-height: 40px !important;
    text-transform: uppercase !important;
}

.up-sells.products ul.products li h2,
.related.products ul.products li h2,
.up-sells.products ul.products li .woocommerce-loop-product__title,
.related.products ul.products li .woocommerce-loop-product__title {
    min-height: 40px !important;
}

.product_title.entry-title {
    text-transform: uppercase;
    font-size: 17px;
}


/* Mini Cart */
.wpil-mini-cart-price {
    font-size: 14px !important;
    font-weight: 400 !important;
}

.wpil-mini-cart-title {
    text-transform: uppercase;
    font-size: 13px !important;
    padding-right: 10px !important;
    font-weight: 500 !important;
}

.wpil-mini-cart-total {
    font-weight: 400 !important;
}

/* Product Prices */
.azooga-product-price {
    height: 40px !important;
    align-content: center !important;
}

.azooga-product-price ins .amount bdi,
.azooga-product-price del .amount bdi {
    font-size: 14px !important;
    font-weight: 400 !important;
    display: inline-table;
}

.price del,
.price del span,
.price del bdi {
    color: #6b1430 !important;
    text-decoration-color: #6b1430 !important;
    text-decoration-thickness: 1px !important;
}

.price del {
    display: inline-block !important;
    vertical-align: middle !important;
    line-height: 1 !important;
    position: relative !important;
    top: -4px !important;
}

.woocommerce-js div.product p.price del,
.woocommerce-js div.product span.price del {
    opacity: 1 !important;
}

/* Product Images */
.woocommerce-js div.product div.images img {
    background: #fff;
    max-width: 580px;
    border-radius: 10px;
}

.wpil-product-description-wrapper h2 {
    display: none;
}

.woocommerce-js div.product .product_meta {
    border-top: none !important;
    order: 18;
    background: white;
    border-radius: 10px;
    padding: 10px 30px;
    max-width: 190px;
    text-align: center;
    font-weight: 700;
    justify-self: center;
}

.woocommerce-js div.product form.cart .button.single_add_to_cart_button {
    background: #6b1430 !important;
    color: white !important;
    border-color: #6b1430 !important;
}

body .wpil-slide canvas {
    max-width: 580px;
    max-height: 580px;
    border-radius: 10px;
}

/* Return Form Page */
body.page-id-858 {
    padding: 0 !important;
}

body.page-id-858 .woocommerce-js h2 {
    margin-bottom: 0 !important;
}

.formular-retur-container {
    margin: 0 auto !important;
}

.formular-retur-header h2 {
    color: white !important;
}

/* Pet Banner */
.pet-banner-large video {
    width: 119% !important;
    margin-left: -72px !important;
}
.pet-banner-large img {
    width: 119% !important;
}

/* Cart Block Components */
.wc-block-components-product-name,
.wc-block-components-product-name a {
    font-size: 15px !important;
}

.wc-block-cart__main .wc-block-components-product-badge {
    font-size: 8px !important;
    border: 1px solid #22c55e !important;
}

/* WooCommerce Messages */
.woocommerce-message,
.woocommerce-info {
    border-top-color: #6b1430 !important;
}

.woocommerce-MyAccount-content a,
.woocommerce-message::before,
.woocommerce-info::before {
    color: #6b1430 !important;
}

/* My Account Navigation */
body .woocommerce-MyAccount-navigation-link {
    border: none !important;
    margin-bottom: 9px;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: #6b1430 !important;
}

.wpil-cart-count {
    background: #6b1430 !important;
}

.wpil-track-order:hover,
.wpil-my-account:hover,
.wpil-cart-link:hover .wpil-cart-text {
    color: #6b1430 !important;
}

.woocommerce-MyAccount-navigation ul li a {
    color: #6b1430 !important;
    border: 1px solid black !important;
}

.wpil-dropdown-menu .menu-item-has-children > a::after {
    display: none !important;
}

body.woocommerce-cart .entry-title,
body.woocommerce-account .entry-title {
    display: none;
}

.wpil-remove-item {
    top: 19px !important;
    right: 6px !important;
    width: 24px !important;
    height: 24px !important;
}

.ast-on-card-button.ast-onsale-card {
    display: none;
}

.wpil-header.wpil-sticky .wpil-top-banner {
    display: block !important;
}

.wc-block-components-product-metadata__description {
    display: none !important;
}

button:hover,
button:focus {
    background-color: transparent;
}

.ast-single-post .entry-content a,
.ast-comment-content a:not(.ast-comment-edit-reply-wrap a),
.woocommerce-js .woocommerce-product-details__short-description a {
    text-decoration: none !important;
}

.wpil-product-description-wrapper {
    margin-top: 0 !important;
    border-top: 0 !important;
}

.azooga-product-title {
    font-size: 14px !important;
    font-weight: 300 !important;
    margin: 0 !important;
    text-transform: uppercase;
    min-height: 40px !important;
}

.wpil-box {
    align-items: flex-start;
    gap: 12px;
    border-radius: 8px;
    display: flex;
}

/* Desktop Styles (min-width: 1200px) */
@media (min-width: 1200px) {
    .wpil-layer-label {
        text-align: left !important;
    }

    body.single-product .wpil-product-description-wrapper {
        margin-top: 0 !important;
    }

    body.single-product div.product {
        margin-top: 2rem;
    }

    .ast-plain-container.ast-no-sidebar #primary {
        margin-top: 0 !important;
        margin-bottom: 60px;
    }

    .azooga-product-price ins,
    .azooga-product-price .amount {
        font-size: 14px !important;
        font-weight: 400;
    }
}

/* Tablet Styles (max-width: 1199px) */
@media (max-width: 1199px) {

    .wc-block-cart-item__wrap .wc-block-components-product-name {
        justify-self: center;
        text-transform: uppercase;
        font-size: 18px !important;
        font-weight: 300 !important;
    }

    .wc-block-cart__submit {
        padding: 0 15px;
    }

    .wpil-header {
        width: 100vw;
        align-self: center;
    }

    .azooga-tags-filter {
        margin-top: -40px !important;
        margin-bottom: 15px !important;
        padding: 22px 12px !important;
    }

    .product-template-default.single.single-product {
        padding: 0 15px !important;
    }

    .azooga-product-price ins,
    .azooga-product-price .amount {
        font-size: 14px !important;
        font-weight: 400;
    }

    .vc_column-inner,
    .ast-container,
    .ast-container-fluid {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .azooga-products-grid {
        padding: 0 15px !important;
        background: #f5f5f5;
    }

    .wpil-top-banner {
        font-size: 12px !important;
    }

    .wpil-logo img {
        height: 45px !important;
    }

    .wpil-gallery-thumbs {
        gap: 4px !important;
    }

    .wpil-swatch {
        width: 85px !important;
        height: 85px !important;
    }

    #wpil-canvas.wpil-sticky-canvas {
        padding: 0;
        border: none;
        top: 140px !important;
        height: 80vw !important;
    }

    .wpil-slide canvas {
        max-width: 460px;
        max-height: 460px;
    }
}

/* Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {
    .azooga-product-image img {
        scale: 1.2;
        transform-origin: center 30%;
    }

    .azooga-product-image img.no-mobile-zoom {
        scale: 1.3;
        transform-origin: center center;
    }

    .wpil-gallery-thumbs {
        justify-self: anchor-center;
    }

    body.single-product .product .summary .product_title,
    body.single-product .product .summary .price,
    .woocommerce-js div.product form.cart .variations th,
    .woocommerce-js div.product form.cart .reset_variations,
    .woocommerce-js div.product form.cart .variations td,
    .woocommerce-js div.product form.cart .variations th,
    .woocommerce-variation-price {
        text-align: center;
    }

    .wpil-variation-buttons {
        justify-content: center;
    }

    .woocommerce-js div.product form.cart .single_variation_wrap {
        justify-items: center;
    }
}

@media (max-width: 480px) {
    .azooga-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    body .azooga-product-title {
        font-size: 16px;
        min-height: 60px !important;
    }

    .azooga-product-price ins,
    .azooga-product-price .amount {
        font-size: 14px !important;
    }

    .azooga-tags-filter {
        gap: 8px;
        padding: 12px 12px 12px 12px;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
    }

    .azooga-tags-filter::-webkit-scrollbar {
        display: none;
    }

    .azooga-tag-pill {
        padding: 8px 16px;
        font-size: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .azooga-tag-pill.active {
        padding-right: 36px;
    }

    .azooga-subtags-wrapper {
        padding: 0 12px;
        margin-top: 5px;
        margin-bottom: 16px;
    }

    .azooga-subtags-filter {
        gap: 8px;
    }

    .azooga-subtag-pill {
        padding: 8px 14px;
        font-size: 10px;
    }

    .azooga-subtag-pill.active {
        padding-right: 32px;
    }

    .azooga-load-more-btn {
        padding: 14px 32px;
        font-size: 14px;
    }
}

.wc-block-grid .wc-block-grid__products .wc-block-grid__product .wp-block-button__link{
    background: #6b1430 !important;
}
.wc-block-grid .wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-title {
    color: #6b1430 !important;
    font-size: 15px !important;
    text-transform: uppercase;
}
body .wc-block-components-product-name, .wc-block-components-product-name a {
    font-weight: 300 !important;
    text-transform: uppercase !important;
}
.wc-block-cart-item__remove-link {
    color: #d63638 !important;
}

#ast-scroll-top {
    background-color: #6b1430 !important;
    border-radius: 10px;
}

.woocommerce-js div.product form.cart .variations label {
    font-weight: 600 !important;
    font-size: 14px !important;
}

.yes-js.js_active .ast-plain-container.ast-single-post #primary {
    margin: 0 !important;
    padding: 0 !important;
}

.ast-single-post .entry-content a, .ast-comment-content a:not(.ast-comment-edit-reply-wrap a), .woocommerce-js .woocommerce-product-details__short-description a {
    color: #fff !important;
}

.wishlist_table .product-name a {
    color: black !important;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 14px;
}
.wishlist_table .product-stock-status span.wishlist-in-stock {
    font-size: 14px !important;
}
.woocommerce table.wishlist_table thead th {
    text-align: left !important;
}
.woocommerce-js table.shop_table .woocommerce-Price-amount, .woocommerce-page table.shop_table .woocommerce-Price-amount {
    font-weight: 400;
    color: black;
    font-size: 14px;
}

.woocommerce-js #customer_details, .woocommerce-js .woocommerce table.shop_table {
    border: none;
}

.woocommerce table.shop_table.wishlist_table tr td {
    background: transparent !important;
    border: none !important;
}

.woocommerce .wishlist_table td.product-add-to-cart a {
    color: black !important;
}

.woocommerce-js a.remove:before {
    color: red !important;
    border: 1px solid red !important;
}
body.woocommerce #content table.wishlist_table.cart a.remove, body.woocommerce #content table.wishlist_table.cart a.remove:hover {
    color: red !important;
    border-color: red !important;
}

.woocommerce #content table.cart img, .woocommerce table.cart img, .woocommerce-page #content table.cart img, .woocommerce-page table.cart img {
    border-radius: 10px;
}

.yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--single.yith-wcwl-add-to-wishlist-button--anchor {
    margin-left: 10px !important;
    margin-top: 10px !important;
}

.woocommerce-breadcrumb {
    display: none !important;
}

.posted_in {
    display: none !important;
}

/* .single-product-category styles moved to custom-header.css (fixed next to scroll-to-top) */

.woocommerce-account .woocommerce-MyAccount-navigation-link a {
    color: black !important;
    font-weight: 100 !important;
}

body .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout a {
    color: red !important;
}

.woocommerce-account .woocommerce-MyAccount-content a {
    color: black !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 78% !important;
}

.wishlist-title.wishlist-title-with-form {
    display: none !important;
}

#yith-wcwl-form {
    float: right;
    width: 77%;
}

body .woocommerce-MyAccount-navigation-link {
    list-style: none !important;
    min-height: 50.4px;
}

body .woocommerce-MyAccount-navigation ul li a {
    border: 0 solid black !important;
    background: transparent !important;
}

body .woocommerce-MyAccount-navigation ul li a:hover {
    color: #6b1430 !important;
    background: transparent !important;
}

body .woocommerce-MyAccount-navigation ul li.is-active a {
    color: #6b1430 !important;
    background: transparent !important;
}



.up-sells.upsells.products .yith-wcwl-add-to-wishlist-button {
    display: none;
}

.up-sells.upsells.products .ast-article-single {
    background: #fff;
}

.up-sells.upsells.products .astra-shop-summary-wrap {
    padding: 0 5px;
}

body .up-sells.upsells.products .button.product_type_variable {
    border-radius: 20px !important;
    text-transform: uppercase;
    font-size: 12px !important;
    padding: 14px !important;
}
body .up-sells.products .woocommerce-loop-product__title, body .related.products .woocommerce-loop-product__title {
    font-size: 16px !important;
    font-weight: 400 !important;
}

/* =============================================
   Collections (Colectii) Image Strip
   ============================================= */

.azooga-collections-area {
    margin-bottom: 10px;
}

/* The scrollable strip of images – collapsed by default on all screen sizes */
.azooga-collections-strip {
    display: flex;
    flex-direction: row;
    gap: 10px;
    max-height: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    padding-top: 0;
    padding-bottom: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    transition: max-height 0.35s ease, padding-top 0.35s ease, padding-bottom 0.35s ease;
}

.azooga-collections-strip::-webkit-scrollbar {
    display: none;
}

/* Desktop expanded */
.azooga-collections-strip.is-expanded {
    max-height: 260px; /* 200px img + label + padding */
    overflow-x: scroll;
    padding-top: 10px;
    padding-bottom: 14px;
}

/* Nav wrapper added by JS – positions the arrows */
.azooga-col-nav {
    position: relative;
}

/* Arrow buttons */
.azooga-col-arr {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 70px;
    z-index: 5;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #000 !important;
    padding: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.azooga-col-arr.is-visible {
    pointer-events: auto;
    opacity: 1;
}

.azooga-col-arr-left {
    left: 0;
    background: linear-gradient(to right, rgba(245,245,245,1) 55%, rgba(245,245,245,0) 100%);
}

.azooga-col-arr-right {
    right: 0;
    background: linear-gradient(to left, rgba(245,245,245,1) 55%, rgba(245,245,245,0) 100%);
}

/* Custom scrollbar – hidden until strip is expanded (controlled by JS) */
.azooga-col-scrollbar {
    display: none;
    position: relative;
    height: 5px;
    background: #ddd;
    border-radius: 3px;
    margin: 5px 20px 10px;
    cursor: pointer;
}

.azooga-col-scrollbar-thumb {
    position: absolute;
    top: 0;
    height: 100%;
    background: #999;
    border-radius: 3px;
    cursor: grab;
    user-select: none;
    transition: background 0.15s ease;
}

.azooga-col-scrollbar-thumb:hover,
.azooga-col-scrollbar-thumb.is-dragging {
    background: #555;
    cursor: grabbing;
}

/* Grab cursor on desktop strip */
@media (min-width: 769px) {
    .azooga-collections-strip.is-expanded {
        cursor: grab;
    }
    .azooga-collections-strip.is-expanded.is-grabbing {
        cursor: grabbing;
        user-select: none;
    }
}

/* Hide arrows + custom scrollbar on mobile */
@media (max-width: 768px) {
    .azooga-col-arr,
    .azooga-col-scrollbar {
        display: none !important;
    }
}

/* Individual collection item */
.azooga-collection-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    width: 110px;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.azooga-collection-item:hover {
    opacity: 1;
}

.azooga-collection-img {
    width: 100px;
    height: 133px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

.azooga-collection-label {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    color: #333;
    text-align: center;
    width: 100%;
    word-break: break-word;
    line-height: 1.3;
}

/* Row containing the product count and the mobile toggle */
.azooga-count-and-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

/* Override default product-count margin when inside the toggle row */
.azooga-count-and-toggle .azooga-product-count {
    margin-bottom: 0;
    text-align: left;
}

/* Toggle button – visible on both desktop and mobile */
.azooga-collections-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 700 !important;
    color: #000 !important;
    cursor: pointer;
    padding: 5px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Arrow always defined so the transition works everywhere */
.azooga-collections-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-style: normal;
    font-size: 18px;
    line-height: 1;
    vertical-align: middle;
    margin-bottom: 10px;
}

.azooga-collections-toggle.is-expanded .azooga-collections-arrow {
    transform: rotate(180deg);
    margin-bottom: -10px;
}

/* ---- Mobile (≤768px) ---- */
@media (max-width: 768px) {
    /* Mobile expanded – smaller images so smaller max-height */
    .azooga-collections-strip.is-expanded {
        max-height: 200px; /* 133px img + label + padding */
    }

    .azooga-collection-item {
        opacity: 1;
        width: 100px;
    }

    .azooga-collection-img {
        width: 100px;
        height: 133px;
    }

    /* Count + toggle bar: wrap so count goes on its own row above */
    .azooga-count-and-toggle {
        flex-wrap: wrap;
        justify-content: center;
        padding: 4px 10px;
    }

    /* Count takes full width → pushed onto its own row */
    .azooga-count-and-toggle .azooga-product-count {
        width: 100%;
        text-align: center;
        padding: 5px 0 2px;
        margin-bottom: 0;
    }

    /* Buttons share width equally on the second row */
    .azooga-filter-toggle,
    .azooga-collections-toggle {
        flex: 1;
        justify-content: center;
        margin-left: 0;
    }

    .azooga-collections-toggle.is-expanded .azooga-collections-arrow {
        transform: rotate(180deg);
    }
}

.ast-shop-product-out-of-stock {
    display: none;
}

/* =============================================
   PDP Collection Badge
   ============================================= */

.azooga-collection-badge {
    position: fixed;
    right: 0;
    top: 70%;
    transform: translateY(-50%);
    z-index: 999;
    background: #fff;
    border-radius: 8px 0 0 8px;
    box-shadow: -3px 0 14px rgba(0, 0, 0, 0.12);
    padding: 12px 10px;
    text-align: center;
    max-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.azooga-collection-badge-text {
    font-size: 11px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    display: block;
}

.azooga-collection-badge-img {
    width: 90px;
    height: 120px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .azooga-collection-badge {
        top: 77% !important;
    }
    .azooga-collection-badge {
        max-width: 80px;
        padding: 8px 6px;
    }

    .azooga-collection-badge-text {
        font-size: 10px;
    }

    .azooga-collection-badge-img {
        width: 60px;
        height: 80px;
    }
}

/* =============================================
   Filter Strips (Tip design / Tip pet)
   ============================================= */

/* Space out the count-and-toggle row */
.azooga-count-and-toggle {
    gap: 20px;
}

/* Toggle button – same style as collections toggle */
.azooga-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 700 !important;
    color: #000 !important;
    cursor: pointer;
    padding: 5px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.azooga-filter-thumb {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin: 0 4px;
    vertical-align: middle;
}

.azooga-filter-thumb img {
    width: 55px;
    height: 80px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.azooga-filter-thumb-label {
    display: block;
    font-size: 10px;
    line-height: 1.2;
    margin-top: 3px;
    text-align: center;
    max-width: 55px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: inherit;
}

.azooga-filter-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-style: normal;
    font-size: 18px;
    line-height: 1;
    vertical-align: middle;
    margin-bottom: 10px;
}

.azooga-filter-toggle.is-expanded .azooga-filter-arrow {
    transform: rotate(180deg);
    margin-bottom: -10px;
}

/* The collapsible strip area */
.azooga-filter-strip-area {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding-top 0.35s ease, padding-bottom 0.35s ease;
    padding-top: 0;
    padding-bottom: 0;
}

.azooga-filter-strip-area.is-expanded {
    max-height: 280px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-top: 10px;
    padding-bottom: 14px;
}

/* Inner row of items */
.azooga-filter-strip-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.azooga-filter-strip-inner::-webkit-scrollbar {
    display: none;
}

/* Category filter item (Tip produs strip) */
.azooga-cat-filter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
    width: 110px;
    padding: 4px;
    opacity: 0.65;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.azooga-cat-filter-item:hover {
    background: none;
    opacity: 1;
}

.azooga-cat-filter-item.is-active {
    border-color: #800020;
    opacity: 1;
}

/* Individual filter item */
.azooga-filter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
    width: 110px;
    padding: 4px;
    opacity: 0.65;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.azooga-filter-item:hover {
    opacity: 1;
}

.azooga-filter-item.is-active {
    border-color: #800020;
    opacity: 1;
}

.azooga-filter-item.is-hidden {
    display: none;
}

.azooga-filter-item-img {
    width: 100px;
    height: 133px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

.azooga-filter-item-label {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    color: #333;
    text-align: center;
    width: 100%;
    word-break: break-word;
    line-height: 1.3;
}

.azooga-filter-item.is-active .azooga-filter-item-label {
    color: #800020;
    font-weight: 700;
}

@media (max-width: 768px) {
    .azooga-filter-strip-area.is-expanded {
        max-height: 200px;
    }

    .azooga-filter-strip-area[data-strip="design"].is-expanded {
        max-height: 65vw;
    }

    .azooga-filter-item {
        width: 90px;
    }

    .azooga-filter-item-img {
        width: 80px;
        height: 107px;
    }
}

/* =============================================
   Breed Strip (Rase Câini) – appears under pet strip when Caine is active
   ============================================= */

.azooga-breed-strip-area {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding-top 0.35s ease, padding-bottom 0.35s ease;
    padding-top: 0;
    padding-bottom: 0;
}

.azooga-breed-strip-area.is-expanded {
    max-height: 260px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-top: 10px;
    padding-bottom: 14px;
}

.azooga-breed-strip-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.azooga-breed-strip-inner::-webkit-scrollbar {
    display: none;
}

.azooga-breed-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
    width: 80px;
    padding: 4px;
    opacity: 0.65;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.azooga-breed-item:hover {
    opacity: 1;
}

.azooga-breed-item.is-active {
    border-color: #800020;
    opacity: 1;
}

.azooga-breed-item-img {
    width: 80px;
    height: 93px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

.azooga-breed-item-label {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    color: #333;
    text-align: center;
    width: 100%;
    word-break: break-word;
    line-height: 1.3;
}

.azooga-breed-item.is-active .azooga-breed-item-label {
    color: #800020;
    font-weight: 700;
}

@media (max-width: 768px) {
    .azooga-breed-strip-area.is-expanded {
        max-height: 200px;
        padding-left: 10px;
    }

    .azooga-breed-item {
        width: 120px;
    }

    .azooga-breed-item-img {
        width: 90px;
        height: 100px;
    }
}

/* =============================================
   Design strip overrides (only 2 items, rectangle)
   ============================================= */

/* Center the 2 items and prevent label wrapping */
.azooga-filter-strip-area[data-strip="design"] .azooga-filter-strip-inner {
    justify-content: center;
    gap: 24px;
}

.azooga-filter-strip-area[data-strip="design"] .azooga-filter-item-label {
    white-space: nowrap;
}

/* Desktop: fixed width */
.azooga-filter-strip-area[data-strip="design"] .azooga-filter-item {
    width: 160px;
    border-radius: 12px;
}

.azooga-filter-strip-area[data-strip="design"] .azooga-filter-item-img {
    width: 150px;
    height: 200px;
    border-radius: 10px;
}

/* Mobile: half screen each, centered, label on one line */
@media (max-width: 768px) {
    .azooga-filter-strip-area[data-strip="design"] .azooga-filter-strip-inner {
        gap: 16px;
        padding: 0 10px;
    }

    .azooga-filter-strip-area[data-strip="design"] .azooga-filter-item {
        width: calc(50vw - 20px);
        border-radius: 12px;
    }

    .azooga-filter-strip-area[data-strip="design"] .azooga-filter-item-img {
        width: 100%;
        height: calc(50vw - 20px);
        border-radius: 10px;
    }
}

/* =============================================
   (Legacy) Inline Filter – kept for reference only, not rendered
   ============================================= */

@media (min-width: 769px) {
    .wpil-desktop-price-breakdown span {
        background: #fff !important;
        padding: 6px 12px !important;
    }
    .woocommerce-page div.product div.summary {
        background: transparent;
        border-radius: 10px;
        padding: 15px;
    }

    /* Tip Pet dropdown panel – kept in case it's referenced */
    .azooga-tipet-panel {
        display: none;
        position: absolute;
        top: calc(100% + 5px);
        left: 0;
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 6px;
        padding: 6px;
        z-index: 300;
        min-width: 140px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.13);
    }

    .azooga-tipet-panel.is-open {
        display: block;
    }

    .azooga-tipet-option {
        display: block;
        width: 100%;
        text-align: left;
        background: none;
        border: none;
        padding: 7px 10px;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
        border-radius: 4px;
        color: #333;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        white-space: nowrap;
    }

    .azooga-tipet-option:hover {
        background: #f5f5f5;
        color: #000;
    }

    .azooga-tipet-option.active {
        background: #FFD700;
        color: #800020;
    }

    .azooga-tipet-option.is-hidden {
        display: none;
    }

}

/* ── Breed message ─────────────────────────────────────────── */

.azooga-breed-message {
    font-size: 15px;
    color: #333;
    margin-bottom: 16px;
    padding: 15px;
}

.azooga-breed-message .azooga-breed-name {
    color: #800020;
    font-weight: 700;
    font-style: normal;
}

/* =============================================
   Hide old tag filter – replaced by inline filter
   (placed last so it overrides all other rules incl. sticky states)
   ============================================= */
.azooga-tags-filter,
.azooga-tags-filter.sticky-top,
.azooga-tags-filter.sticky-bottom,
.azooga-subtags-wrapper {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* =============================================
   Filter + Collections overlay (all screen sizes)
   ============================================= */

/* Hide old toggle buttons everywhere */
.azooga-filter-toggle,
.azooga-collections-toggle {
    display: none !important;
}

/* ── Buttons ── */
.azooga-mobile-filter-btn,
.azooga-mobile-collections-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    border: none;
    border-radius: 20px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    margin: 2px 0;
}

.azooga-mobile-filter-btn {
    background: #800020 !important;
    color: #fff !important;
}
.azooga-mobile-filter-btn:hover,
.azooga-mobile-filter-btn:focus,
.azooga-mobile-filter-btn:active,
.azooga-mobile-filter-btn:focus-visible {
    background: #800020 !important;
    color: #fff !important;
    outline: none;
}

.azooga-mobile-collections-btn {
    background: #800020 !important;
    color: #FFD700 !important;
}
.azooga-mobile-collections-btn:hover,
.azooga-mobile-collections-btn:focus,
.azooga-mobile-collections-btn:active,
.azooga-mobile-collections-btn:focus-visible {
    background: #800020 !important;
    color: #FFD700 !important;
    outline: none;
}

/* ── Backdrops ── */
.azooga-mobile-filter-backdrop,
.azooga-mobile-collections-backdrop {
    display: block !important;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.azooga-mobile-filter-backdrop.is-open,
.azooga-mobile-collections-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* ── Overlay drawers ── */
.azooga-mobile-filter-overlay,
.azooga-mobile-collections-overlay {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overscroll-behavior: contain;
}
.azooga-mobile-filter-overlay {
    height: 65vh;
    background: #fff;
}
.azooga-mobile-collections-overlay {
    height: auto;
    max-height: 280px;
    background: #fff;
}
.azooga-mobile-filter-overlay.is-open,
.azooga-mobile-collections-overlay.is-open {
    transform: translateY(0);
}

/* Desktop: center overlay, near-full width */
@media (min-width: 769px) {
    .azooga-mobile-filter-overlay,
    .azooga-mobile-collections-overlay {
        width: calc(100% - 16px);
        max-width: 1600px;
        left: 50%;
        transform: translateX(-50%) translateY(100%);
        border-radius: 16px 16px 0 0;
    }
    .azooga-mobile-filter-overlay.is-open,
    .azooga-mobile-collections-overlay.is-open {
        transform: translateX(-50%) translateY(0);
    }
}

/* ── Overlay header ── */
.azooga-mobile-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}
.azooga-mobile-filter-title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000;
}
.azooga-mobile-filter-close {
    background: none !important;
    border: none;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #000 !important;
    padding: 4px 8px;
}
.azooga-mobile-filter-close:hover,
.azooga-mobile-filter-close:focus,
.azooga-mobile-filter-close:active {
    background: none !important;
    color: #000 !important;
    outline: none;
}

/* ── Filter overlay body + footer ── */
.azooga-mobile-filter-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px 16px;
    -webkit-overflow-scrolling: touch;
}
.azooga-mobile-filter-footer {
    flex-shrink: 0;
    padding: 12px 16px 20px;
    border-top: 1px solid #eee;
    background: #fff;
    display: flex;
    justify-content: center;
}
.azooga-mobile-filter-apply {
    display: inline-block;
    width: auto;
    background: #800020 !important;
    color: #fff !important;
    border: none;
    border-radius: 24px;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
}
.azooga-mobile-filter-apply:hover,
.azooga-mobile-filter-apply:focus,
.azooga-mobile-filter-apply:active {
    background: #800020 !important;
    color: #fff !important;
    outline: none;
}

/* ── Filter sections inside overlay ── */
.azooga-mobile-filter-section {
    margin-bottom: 28px;
}
.azooga-mobile-filter-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #888;
    margin-bottom: 12px;
}

/* Force filter strips always visible inside overlay */
.azooga-mobile-filter-overlay .azooga-filter-strip-area {
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    transition: none !important;
}
.azooga-mobile-filter-overlay .azooga-filter-strip-inner {
    flex-wrap: nowrap !important;
    gap: 12px !important;
    padding: 0 !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

/* Normal item sizes inside filter overlay */
.azooga-mobile-filter-overlay .azooga-filter-item {
    width: 90px;
}
.azooga-mobile-filter-overlay .azooga-filter-item-img {
    width: 80px;
    height: 107px;
}

/* Design strip inside filter overlay */
.azooga-mobile-filter-overlay .azooga-filter-strip-area[data-strip="design"] .azooga-filter-strip-inner {
    justify-content: flex-start !important;
    gap: 0 !important;
}
.azooga-mobile-filter-overlay .azooga-filter-strip-area[data-strip="design"] .azooga-filter-item {
    width: 200px;
    border-radius: 6px;
}
.azooga-mobile-filter-overlay .azooga-filter-strip-area[data-strip="design"] .azooga-filter-item-img {
    width: 100%;
    height: 100px;
    border-radius: 4px;
}
.azooga-mobile-filter-overlay .azooga-filter-strip-area[data-strip="design"] .azooga-filter-item-label {
    white-space: nowrap;
}

/* Breed strips inside filter overlay */
.azooga-mobile-filter-overlay .azooga-breed-strip-area.is-expanded {
    max-height: 600px !important;
    overflow: visible !important;
    padding: 0 !important;
}
.azooga-mobile-filter-overlay .azooga-breed-strip-inner {
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 12px 0 0 !important;
}

/* Body scroll lock */
body.azooga-overlay-open {
    overflow: hidden;
}

/* ── Collections overlay ── */
.azooga-mobile-collections-overlay .azooga-mobile-filter-header {
    border-bottom-color: #eee;
}
.azooga-mobile-collections-overlay .azooga-mobile-filter-title {
    color: #000;
}
.azooga-mobile-collections-close {
    background: none !important;
    border: none;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #000 !important;
    padding: 4px 8px;
}
.azooga-mobile-collections-close:hover,
.azooga-mobile-collections-close:focus,
.azooga-mobile-collections-close:active {
    background: none !important;
    color: #000 !important;
    outline: none;
}
.azooga-mobile-collections-body {
    flex: 1;
    overflow: visible;
    padding: 16px 16px 20px;
}
.azooga-mobile-collections-overlay .azooga-collections-strip {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    gap: 14px !important;
    max-height: none !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding: 0 !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.azooga-mobile-collections-overlay .azooga-collection-label {
    color: #333;
}

.azooga-filter-item-label {
    text-transform: uppercase;
}

