/* =========================
   TOPBAR
========================= */

.catalog-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 22px;
}

.catalog-topbar__left,
.catalog-topbar__right {
    display: flex;
    align-items: center;
}

.catalog-topbar__ordering {
    margin: 0;
}

.catalog-topbar__select-wrap {
    position: relative;
    min-width: 220px;
}

.catalog-topbar__select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    height: 46px;
    padding: 0 42px 0 16px;
    border: 1px solid #d7e1eb;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
    color: #33485d;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(18, 52, 77, 0.06);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.catalog-topbar__select:hover {
    border-color: #9ecfe7;
    box-shadow: 0 8px 20px rgba(2, 141, 216, 0.08);
}

.catalog-topbar__select:focus {
    outline: none;
    border-color: #028dd8;
    box-shadow: 0 0 0 3px rgba(2, 141, 216, 0.12);
}

.catalog-topbar__select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M6 9l6 6 6-6' stroke='%23028dd8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
}

.catalog-topbar__right {
    gap: 8px;
}

.catalog-topbar__right .view-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent !important;
    color: #b8c3cf;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
}

.catalog-topbar__right .view-btn:hover {
    background: #f2f8fc !important;
    color: #028dd8;
    border-color: #d8e8f2;
}

.catalog-topbar__right .view-btn.is-active {
    background: #eef8fe !important;
    color: #028dd8;
    border-color: #cae6f5;
}

.catalog-topbar__right .view-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.view-icon {
    position: relative;
    display: inline-block;
}

.view-icon--grid::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(currentColor 0 0) left top / 6px 6px no-repeat,
        linear-gradient(currentColor 0 0) right top / 6px 6px no-repeat,
        linear-gradient(currentColor 0 0) left bottom / 6px 6px no-repeat,
        linear-gradient(currentColor 0 0) right bottom / 6px 6px no-repeat;
    border-radius: 2px;
}

.view-icon--list::before {
    content: "";
    position: absolute;
    inset: 2px 0;
    background:
        linear-gradient(currentColor 0 0) 0 0 / 100% 2px no-repeat,
        linear-gradient(currentColor 0 0) 0 50% / 100% 2px no-repeat,
        linear-gradient(currentColor 0 0) 0 100% / 100% 2px no-repeat;
}

/* =========================
   BASE
========================= */

.products-view-container ul.products {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.products-view-container li.product {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.products-view-container .product-card {
    width: 100%;
}

/* =========================
   GRID VIEW
========================= */

.products-view-container.grid-view ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 25px !important;
}

.products-view-container.grid-view .product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* =========================
   LIST VIEW
========================= */

.products-view-container.list-view ul.products {
    display: grid !important;
	grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.products-view-container.list-view .product-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
	padding: 0px;
    min-height: 240px;
    color: #1f2d3d;
    overflow: hidden;
    background: linear-gradient(
    180deg,
    rgba(253,223,223,.14) 0%,
    rgba(253,223,223,.06) 100%);
    border: 1px solid rgba(253, 223, 223, 0.18);
    border-radius: 14px;
}

.products-view-container.list-view .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    border-color: #dbe7f3;
}

.products-view-container.list-view .product-image-wrapper {
    height: 100%;
    min-height: 240px;
    border-radius: 0;
    background: #f6f8fb;
}

.products-view-container.list-view .product-image-wrapper::after {
    display: none;
}

.products-view-container.list-view .product-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-view-container.list-view .product-image-link img,
.products-view-container.list-view .product-image-link .attachment-woocommerce_thumbnail,
.products-view-container.list-view .product-image-link .attachment-woocommerce_single,
.products-view-container.list-view .product-image-link .wp-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.products-view-container.list-view .product-info {
    padding: 10px;
    color: #fff;
}

.products-view-container.list-view .product-title {
    min-height: 0;
    font-size: 20px;
    line-height: 1.35;
    color: #fff;
}

.products-view-container.list-view .product-title a {
    color: #fff;
}

.products-view-container.list-view .product-price {
    margin-top: auto;
    align-items: center;
}




.products-view-container.list-view .product-buttons {
    margin-top: 18px;
}

.products-view-container.list-view .cart-icon-button {
    width: 160px;
    height: 42px;
    background: #fddfdf;
    color: #111;
    border-color: #f5caca;
}

/* =========================
   PAGINATION
========================= */

.woocommerce-pagination {
    margin-top: 36px;
    width: 100%;
    text-align: center;
}

.woocommerce-pagination ul.page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 0;
}

.woocommerce-pagination li {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 0;
}

.woocommerce-pagination .page-numbers {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(253,223,223,.08);
    border: 1px solid rgba(253,223,223,.18);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0,0,0,.12);
    transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}

.woocommerce-pagination a.page-numbers:hover {
    background: #fddfdf;
    color: #111;
    border-color: #fddfdf;
    transform: translateY(-2px);
}

.woocommerce-pagination .page-numbers.current {
    background: #f77272;
    color: #fff;
    border-color: #f77272;
    box-shadow: 0 10px 24px rgba(247,114,114,.28);
}

.woocommerce-pagination .prev,
.woocommerce-pagination .next {
    min-width: 44px;
    padding: 0 14px;
    background: rgba(253,223,223,.14);
}

.woocommerce-pagination .dots {
    min-width: 24px;
    padding: 0;
    background: transparent;
    border-color: transparent;
    color: rgba(255,255,255,.55);
    box-shadow: none;
    cursor: default;
}

/* =========================
   TABLET
========================= */

@media (max-width: 991px) {
    .products-view-container.grid-view ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }

    .products-view-container.list-view .product-card {
        grid-template-columns: 210px minmax(0, 1fr);
        min-height: 210px;
    }

    .products-view-container.list-view .product-image-wrapper {
        min-height: 210px;
    }

    .products-view-container.list-view .product-info {
        padding: 18px;
    }

    .products-view-container.list-view .product-title {
        font-size: 17px;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {
	.products-view-container.list-view ul.products {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
    .catalog-topbar {
        gap: 12px;
        align-items: stretch;
    }

    .catalog-topbar__left {
        flex: 1 1 auto;
        min-width: 0;
    }

    .catalog-topbar__right {
        flex: 0 0 auto;
        gap: 6px;
    }

    .catalog-topbar__select-wrap {
        min-width: 160px;
        width: 100%;
    }

    .catalog-topbar__select {
        height: 42px;
        font-size: 14px;
        padding-left: 14px;
        padding-right: 38px;
    }

.products-view-container.list-view ul.products {
	grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}
    .products-view-container.list-view .product-card {
        display: flex;
        flex-direction: column;
        min-height: 0;
        border-radius: 14px;
    }

    .products-view-container.list-view .product-image-wrapper {
        height: 190px;
        min-height: 190px;
        border-right: 0;
    }

    .products-view-container.list-view .product-image-link {
        padding: 14px;
    }

    .products-view-container.list-view .product-info {
        padding: 14px;
    }

    .products-view-container.list-view .product-title {
        font-size: 15px;
    }

    .products-view-container.list-view .product-buttons {
        margin-top: 10px;
    }

    .products-view-container.list-view .cart-icon-button {
        width: 100%;
        height: 38px;
    }

.woocommerce-pagination {
    margin-top: 24px;
}

.woocommerce-pagination ul.page-numbers {
    gap: 6px;
}

.woocommerce-pagination .page-numbers {
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    border-radius: 10px;
    font-size: 13px;
}
.main-tax-con { 
flex-direction: column;
}
.main-tax-con {
gap: 0px;	
}
}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {
    .woocommerce-pagination ul.page-numbers {
        gap: 5px;
    }

    .woocommerce-pagination .page-numbers {
        min-width: 22px;
        height: 22px;
        padding: 0 5px;
        border-radius: 9px;
        font-size: 12px;
    }

    .woocommerce-pagination .prev,
    .woocommerce-pagination .next {
        width: 22px;
        height: 22px;
        min-width: auto;
        padding: 0 10px;
    }

    .woocommerce-pagination .dots {
        padding: 0;
        font-size: 12px;
    }
}