.product-small .image-tools .tooltipstered::before,
.product-small .image-tools .tooltipstered::after,
.tooltipster-base {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

a.added_to_cart {
    display: none !important;
}

.custom-mobile-loop-add-to-cart {
    display: none;
}

.product-small .box-text .add-to-cart-button {
    display: none !important;
}

.woocommerce .shop-page-title.category-page-title,
.woocommerce .shop-page-title.category-page-title.page-title,
.woocommerce .category-page-title .page-title-bg,
.woocommerce .category-page-title .title-bg,
.woocommerce .category-page-title .title-overlay {
    background: #eefaf6 !important;
    background-color: #eefaf6 !important;
    background-image: none !important;
    color: #000000 !important;
    box-shadow: none !important;
}

.woocommerce .category-page-title .page-title-bg,
.woocommerce .category-page-title .title-bg,
.woocommerce .category-page-title .title-overlay {
    opacity: 0 !important;
}

.woocommerce .category-page-title .page-title-inner {
    min-height: 110px !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    width: 100% !important;
    max-width: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.woocommerce .category-page-title .page-title-inner > .flex-col {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    text-align: center !important;
}

.woocommerce .category-page-title .page-title-inner > .flex-col:first-child:not(.flex-grow) {
    display: none !important;
}

.woocommerce .category-page-title .page-title-inner > .flex-right,
.woocommerce .category-page-title .page-title-inner > .form-flat {
    display: none !important;
}

.woocommerce .category-page-title .flex-grow,
.woocommerce .category-page-title .flex-center {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.woocommerce .category-page-title .woocommerce-breadcrumb,
.woocommerce .category-page-title .breadcrumbs,
.woocommerce .category-page-title .custom-shop-breadcrumb {
    order: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #8d9994 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-transform: none !important;
}

.woocommerce .category-page-title .woocommerce-breadcrumb a,
.woocommerce .category-page-title .breadcrumbs a {
    color: #081712 !important;
    font-weight: 400 !important;
    text-transform: none !important;
}

.woocommerce .category-page-title .woocommerce-breadcrumb span,
.woocommerce .category-page-title .breadcrumbs span {
    color: #8d9994 !important;
    font-weight: 400 !important;
    text-transform: none !important;
}

.woocommerce .category-page-title .custom-breadcrumb-delimiter {
    display: inline-block !important;
    margin: 0 6px !important;
    color: #081712 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
}

.woocommerce .category-page-title .woocommerce-breadcrumb .current,
.woocommerce .category-page-title .breadcrumbs .current,
.woocommerce .category-page-title .woocommerce-breadcrumb span:last-child,
.woocommerce .category-page-title .breadcrumbs span:last-child {
    color: #000000 !important;
}

.woocommerce .category-page-title .shop-page-title,
.woocommerce .category-page-title h1 {
    order: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #000000 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-transform: none !important;
}

@media (min-width: 850px) {
    .woocommerce .category-page-title .page-title-inner.container {
        position: relative !important;
        left: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    .woocommerce .category-page-title .page-title-inner.container > .flex-grow,
    .woocommerce .category-page-title .page-title-inner.container > .flex-center {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        flex-basis: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
}

@media (max-width: 849px) {
    .woocommerce .category-page-title .page-title-inner {
        min-height: 96px !important;
        padding-top: 14px !important;
        padding-bottom: 14px !important;
    }

    .woocommerce .category-page-title .flex-grow,
    .woocommerce .category-page-title .flex-center {
        gap: 6px !important;
    }
}

.custom-archive-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    margin: 18px 0 34px;
}

.custom-archive-filters,
.custom-archive-sort {
    display: flex;
    align-items: center;
    gap: 14px;
}

.custom-archive-filter,
.custom-archive-sort-select {
    display: inline-flex;
    margin: 0;
    position: relative;
}

.custom-archive-dropdown {
    position: relative;
    margin: 0;
}

.custom-archive-dropdown-trigger {
    height: 40px;
    min-width: 0;
    margin: 0;
    padding: 0 16px;
    border: 1px solid #d8d8d8;
    border-radius: 5px;
    background-color: #ffffff;
    color: #000000;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    box-shadow: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: capitalize;
    list-style: none;
    user-select: none;
}

.custom-archive-dropdown-trigger::-webkit-details-marker {
    display: none;
}

.custom-archive-sort-select .custom-archive-dropdown-trigger {
    min-width: 140px;
}

.custom-archive-icon {
    flex: 0 0 auto;
    width: 14px;
    height: 8px;
}

.custom-archive-icon-up {
    display: none;
}

.custom-archive-dropdown[open] .custom-archive-icon-up {
    display: block;
}

.custom-archive-dropdown[open] .custom-archive-icon-down {
    display: none;
}

.custom-archive-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 50;
    min-width: 100%;
    padding: 4px 0;
    border: 1px solid #d8d8d8;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.custom-archive-checkbox-menu {
    min-width: 170px;
    padding: 8px 0;
}

.custom-archive-checkbox-option {
    min-height: 36px;
    margin: 0;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000000;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
}

.custom-archive-checkbox-option:hover {
    background: #f4f4f4;
}

.custom-archive-checkbox-option input {
    width: 15px;
    height: 15px;
    margin: 0;
    flex: 0 0 auto;
    accent-color: #111111;
}

.custom-archive-price-menu {
    min-width: 330px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.custom-archive-price-menu input {
    width: 118px;
    height: 54px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    background: #ffffff;
    color: #000000;
    font-size: 18px;
    font-weight: 400;
    box-shadow: none;
}

.custom-archive-price-menu input::placeholder {
    color: #9aa0a6;
}

.custom-archive-price-menu span {
    color: #777777;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}

.custom-archive-dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: #000000;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap;
}

.custom-archive-dropdown-menu a:hover,
.custom-archive-dropdown-menu a.is-active {
    background: #f4f4f4;
    color: #000000;
}

.custom-archive-product-count {
    color: #555555;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
}

.woocommerce-pagination,
.woocommerce nav.woocommerce-pagination {
    width: 100% !important;
    clear: both !important;
    margin: 42px 0 10px !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
}

.woocommerce-pagination ul.page-numbers,
.woocommerce nav.woocommerce-pagination ul.page-numbers,
ul.page-numbers.nav-pagination {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 13px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    list-style: none !important;
}

.woocommerce-pagination ul.page-numbers li,
.woocommerce nav.woocommerce-pagination ul.page-numbers li,
ul.page-numbers.nav-pagination li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.woocommerce-pagination .page-numbers,
.woocommerce nav.woocommerce-pagination .page-numbers,
ul.page-numbers.nav-pagination .page-number {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

.woocommerce-pagination .page-numbers.current,
.woocommerce nav.woocommerce-pagination .page-numbers.current,
ul.page-numbers.nav-pagination .page-number.current {
    border-color: #7f8c8d !important;
    color: #6b6b6b !important;
}

.woocommerce-pagination .page-numbers:hover,
.woocommerce nav.woocommerce-pagination .page-numbers:hover,
ul.page-numbers.nav-pagination .page-number:hover {
    border-color: #7f8c8d !important;
    background: #ffffff !important;
    color: #000000 !important;
}

.woocommerce-pagination .page-numbers.prev,
.woocommerce-pagination .page-numbers.next,
.woocommerce nav.woocommerce-pagination .page-numbers.prev,
.woocommerce nav.woocommerce-pagination .page-numbers.next {
    color: #777777 !important;
    font-size: 0 !important;
}

.woocommerce-pagination .page-numbers.prev::before,
.woocommerce nav.woocommerce-pagination .page-numbers.prev::before {
    content: "";
    width: 10px;
    height: 10px;
    border-left: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: rotate(45deg);
}

.woocommerce-pagination .page-numbers.next::before,
.woocommerce nav.woocommerce-pagination .page-numbers.next::before {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 3px solid currentColor;
    border-top: 3px solid currentColor;
    transform: rotate(45deg);
}

.product-small .price {
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    margin-top: 6px !important;
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    line-height: 1.1 !important;
    overflow: hidden !important;
}

.product-small .price br {
    display: none !important;
}

.product-small .price .custom-sale-price {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1.1 !important;
}

.product-small .price .custom-regular-price,
.product-small .price del {
    display: inline-flex !important;
    align-items: center !important;
    margin: 6px 0 0 !important;
    line-height: 1.1 !important;
}

.product-small .price .custom-sale-price + .custom-regular-price,
.product-small .price .custom-sale-price + del {
    margin: 6px 0 0 !important;
}

@media (min-width: 769px) {
    .product-small .box-image {
        position: relative;
        overflow: hidden;
    }

    .product-small .image-tools.grid-tools {
        top: auto !important;
        right: 0 !important;
        bottom: 12px !important;
        left: 0 !important;
        width: 100% !important;
        padding: 0 13px !important;
        opacity: 0;
        visibility: hidden;
        transform: none !important;
        transition: opacity 0.2s ease, visibility 0.2s ease;
        box-sizing: border-box !important;
    }

    .product-small .box-image:hover .image-tools.grid-tools,
    .product-small .image-fade_in_back:hover .image-tools.grid-tools {
        opacity: 1;
        visibility: visible;
    }

    .product-small .add-to-cart-grid {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .product-small .add-to-cart-grid.loading,
    .product-small .add-to-cart-grid.added {
        opacity: 1 !important;
    }

    .product-small .image-tools .cart-icon {
        position: static !important;
        inset: auto !important;
        margin: 0 !important;
        width: 100% !important;
        height: 42px !important;
        box-sizing: border-box !important;
        border-radius: 6px !important;
        background: #27c48f !important;
        color: #ffffff !important;
        border: none !important;
        box-shadow: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0 !important;
        transform-origin: center center !important;
        transition: transform 0.18s ease, background-color 0.18s ease !important;
        will-change: transform;
    }

    .product-small .image-tools .cart-icon strong {
        display: none !important;
    }

    .product-small .image-tools .cart-icon::before,
    .product-small .image-tools .cart-icon:hover::before,
    .product-small:hover .image-tools .cart-icon::before {
        content: "ADD TO CART" !important;
        display: inline-block !important;
        opacity: 1 !important;
        visibility: visible !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        line-height: 1 !important;
        letter-spacing: 0 !important;
    }

    .product-small .add-to-cart-grid:hover .cart-icon,
    .product-small .image-tools .cart-icon:hover {
        background: #27c48f !important;
        color: #ffffff !important;
        font-size: 0 !important;
        transform: scale(1.05) !important;
    }
}

@media (max-width: 768px) {
    .custom-archive-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        margin: 14px 0 24px;
    }

    .custom-archive-filters {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .custom-archive-sort {
        justify-content: space-between;
        gap: 10px;
    }

    .custom-archive-dropdown,
    .custom-archive-dropdown-trigger {
        width: 100%;
    }

    .custom-archive-dropdown-trigger {
        min-width: 0;
        height: 40px;
        padding: 0 16px;
        font-size: 14px;
    }

    .custom-archive-sort-select {
        flex: 1;
    }

    .custom-archive-sort-select .custom-archive-dropdown-trigger {
        min-width: 0;
    }

    .custom-archive-product-count {
        font-size: 14px;
    }

    .custom-archive-dropdown-menu {
        max-width: calc(100vw - 32px);
    }

    .custom-archive-price-menu {
        min-width: min(374px, calc(100vw - 32px));
        padding: 16px;
        gap: 10px;
    }

    .custom-archive-price-menu input {
        width: 112px;
        height: 50px;
        font-size: 15px;
    }

    .custom-archive-price-menu span {
        font-size: 15px;
    }

    .woocommerce-pagination ul.page-numbers,
    .woocommerce nav.woocommerce-pagination ul.page-numbers,
    ul.page-numbers.nav-pagination {
        gap: 8px !important;
    }

    .woocommerce-pagination .page-numbers,
    .woocommerce nav.woocommerce-pagination .page-numbers,
    ul.page-numbers.nav-pagination .page-number {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        font-size: 14px !important;
    }

    .product-small .image-tools.grid-tools {
        display: none !important;
    }

    .custom-mobile-loop-add-to-cart {
        display: block;
        width: 100%;
        margin-top: 8px;
    }

    .custom-mobile-loop-add-to-cart .button,
    .custom-mobile-loop-add-to-cart a.button {
        width: 100% !important;
        height: 42px !important;
        min-height: 42px !important;
        margin: 0 !important;
        padding: 0 12px !important;
        border-radius: 6px !important;
        background: #27c48f !important;
        color: #ffffff !important;
        border: 0 !important;
        box-shadow: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        letter-spacing: 0.4px !important;
        text-transform: uppercase !important;
        transition: transform 0.2s ease !important;
    }

    .custom-mobile-loop-add-to-cart .button:hover,
    .custom-mobile-loop-add-to-cart a.button:hover {
        background: #27c48f !important;
        color: #ffffff !important;
        transform: scale(1.03) !important;
    }
}
