.tp-product-slider-wrapper {
    padding: 40px 0;
}

.tp-slider-header {
    text-align: center;
    margin-bottom: 30px;
}

.tp-slider-header h2 {
    font-size: 32px;
    margin-bottom: 5px;
    color: var(--color);
}

.tp-slider-header p {
    color: #FF8B13;
    font-style: italic;
}

.tp-product-slide {
    padding: 10px;
}

.tp-product-card {
    background: #fff;
    border-radius: 8px;
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.tp-product-card:hover {
    /* box-shadow: 0 5px 10px rgba(0,0,0,0.15); */
}

.tp-product-card .added_to_cart.wc-forward {
    display: none;
}

.tp-hot-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff3366;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 1;
}

.tp-product-image {
    position: relative;
    /* padding-top: 100%; */
    overflow: hidden;
    width: 100%;
    /* padding: 2em 0; */
}

.tp-product-image img {
    /* position: absolute; */
    top: 0;
    left: 0;
    width: 100%;
    /* height: 100%; */
    object-fit: contain;
    display: block !important;
    border-radius: 1em;
}

.tp-product-actions {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: right 0.3s ease;
}




.tp-action-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    transform: translateX(20px);
}



/* Entry delays - when hovering */
.tp-product-card:hover .tp-action-btn:nth-child(1) {
    transition: all 0.3s ease 0s;
}

.tp-product-card:hover .tp-action-btn:nth-child(2) {
    transition: all 0.3s ease 0.1s;
}

.tp-product-card:hover .tp-action-btn:nth-child(3) {
    transition: all 0.3s ease 0.2s;
}

/* Exit delays - when mouse leaves */
.tp-action-btn:nth-child(1) {
    transition: all 0.3s ease 0.2s;
}

.tp-action-btn:nth-child(2) {
    transition: all 0.3s ease 0.1s;
}

.tp-action-btn:nth-child(3) {
    transition: all 0.3s ease 0s;
}

.tp-action-btn:hover {
    background: var(--color);
    color: #fff;
}

.tp-product-content {
    padding: 20px;
    text-align: center;
}

.tp-product-rating {
    margin-bottom: 10px;
    display: flex;
    gap: 2px;
    justify-content: center;
}

.tp-product-rating i {
    color: var(--color-2);
    font-size: 14px;
}

.tp-product-rating .far.fa-star {
    color: #ddd;
}

.tp-product-title {
    font-size: 16px;
    margin-bottom: 10px;
    min-height: 30px;
}


.tp-product-title a {
    color: var(--color);
    text-decoration: none;
}

.wc-block-components-product-price.has-small-font-size, 
.tp-product-price {
    font-size: 18px !important;
    color: var(--color-2);
    margin-bottom: 15px;
    display: flex;
    width: 80%;
    align-items: center;
    flex-direction: row-reverse;
    margin: 1em auto 0;
    justify-content: center;
    font-weight: 500;
}
.tp-product-price {
    font-size: 1.1em !important;
    color: var(--color-2);
    margin-bottom: 15px;
    display: flex;
    width: 80%;
    align-items: center;
    flex-direction: row-reverse;
    margin: 1em auto 0;
    justify-content: center;
    font-weight: 500;
}
.wc-block-components-product-price .woocommerce-Price-amount.amount,
.tp-product-price .woocommerce-Price-amount.amount{
    padding: 0 10px;
}

.wc-block-components-product-price del, 
.wc-block-components-product-price del span,
.tp-product-price del, 
.tp-product-price del span {
    color: #8b8b8b !important;
    font-weight: 200;
}

.woocommerce-Price-currencySymbol {
    font-size: 0.7em;
}
.wc-block-components-product-price ins,
.wc-block-components-product-price ins span,
.tp-product-price ins,
.tp-product-price ins span {
    color: var(--color-2) !important;
    text-decoration: none;
    font-weight: bold;
}
.tp-add-to-cart {
    /* position: absolute;
    bottom: -100px;
    right: 0;
    opacity: 0;
    overflow: hidden; */
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 1em 0;
    box-sizing: border-box;
    /* visibility: hidden; */
    -webkit-transition: all .3s ease 0s;
    transition: all .3s ease 0s;
    z-index: 99;
    opacity: 1;
}

.tp-product-card:hover .tp-add-to-cart {
    /* opacity: 1;
    visibility: visible;
    bottom: 10px; */
}

.tp-quantity-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    padding: 0px 15px;
    /* width: 100%; */
    height: 50px;
    border-radius: 50px;
    width: 130px;
}

.tp-qty-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    color: var(--color);
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.tp-qty-btn:hover {
    /* background: var(--color);
    color: #fff; */
}

.tp-qty-input {
    width: 50px;
    height: 30px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 14px;
    color: var(--color);
    -moz-appearance: textfield;
}

.tp-qty-input::-webkit-outer-spin-button,
.tp-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.tp-cart-btn {
    width: 100%;
    padding: 15px 0;
    background: var(--color);
    color: #fff;
    border: none;
    border-radius: 33px;
    cursor: pointer;
    transition: background 0.2sease;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    height: 50px;
    max-width: 190px;
}

.tp-cart-btn:hover {
    background: var(--color-2);
}

.tp-cart-btn.loading {
    opacity: 0.7;
    cursor: wait;
}

/* Slick slider customization */
.tp-product-slider {
    position: relative;
    padding: 0;
}

.tp-product-slider .slick-prev,
.tp-product-slider .slick-next {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tp-product-slider .slick-prev:hover,
.tp-product-slider .slick-next:hover {
    background: var(--color);
    color: #fff;
}

.tp-product-slider .slick-prev:hover:before,
.tp-product-slider .slick-next:hover:before {
    color: #fff;
}

.tp-product-slider .slick-prev:before,
.tp-product-slider .slick-next:before {
    color: var(--color);
    font-size: 20px;
    transition: color 0.3s ease;
}

.tp-product-slider .slick-prev {
    left: 0;
}

.tp-product-slider .slick-next {
    right: 0;
}

/* RTL support */
.rtl .tp-product-slider .slick-prev {
    right: 0;
    left: auto;
}

.rtl .tp-product-slider .slick-next {
    left: 0;
    right: auto;
}

/* ------------------------------------------------------------ */
/* Add this to tp-core-functions-public.css */

/* Quick View Styles */
.lity-content {
    background: #fff;
    border-radius: 8px;
    max-width: 1000px;
    margin: 0 auto;
}

/* .tp-quick-view-content {
    display: flex;
    padding: 30px;
    gap: 30px;
} */

.lity-content {
    padding: 0 0 30px 0;
}

.tp-quick-view-content {
    display: flex;
    padding: 30px;
    gap: 30px;
    max-height: 80vh !important;
    max-width: 80vw !important;
    background: #fff;
    overflow-y: auto;
    text-align: right;
    font-size: 1rem;
    direction: rtl; /* RTL support */
}

/* Custom Scrollbar */
.tp-quick-view-content::-webkit-scrollbar {
    width: 6px;
}

.tp-quick-view-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.tp-quick-view-content::-webkit-scrollbar-thumb {
    background: var(--color);
    border-radius: 3px;
}

.tp-quick-view-description .tp-description-excerpt,
.tp-quick-view-description .tp-description-full,
.tp-quick-view-description .tp-read-more{
    display: none;
}
.tp-quick-view-price del,
.price del{
    color: #ccc;
    padding: 0 10px;
    font-weight: 400;
}



@media (max-width: 768px) {
    .tp-quick-view-content {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
}

.tp-quick-view-images {
    flex: 1;
    max-width: 500px;
}

.tp-quick-view-main-image {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.tp-quick-view-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.tp-quick-view-gallery {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tp-gallery-item {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.tp-gallery-item:hover {
    border-color: var(--color);
}

.tp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tp-quick-view-details {
    flex: 1;
}

.tp-quick-view-title {
    font-size: 1.5em;
    color: var(--color);
}

.tp-quick-view-price {
    font-size: 1.5em;
    color: var(--color-2);
    font-weight: 500;
}

.tp-quick-view-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.tp-rating-count {
    color: #666;
    font-size: 14px;
}

.tp-quick-view-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}
.tp-description-excerpt.expanded{
    display: none;
}
.tp-quick-view-stock{
    display: none;
}

.tp-quick-view-stock {
    margin-bottom: 20px;
    font-weight: 500;
}

.tp-quick-view-stock.in-stock {
    color: #28a745;
}

.tp-quick-view-stock.out-of-stock {
    color: #dc3545;
}

.tp-quick-view-stock i {
    margin-right: 5px;
}

.tp-quick-view-add-to-cart {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tp-quick-view-meta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

.tp-quick-view-meta span {
    display: block;
    margin-bottom: 5px;
}

.tp-quick-view-meta a {
    color: var(--color);
    text-decoration: none;
}

.tp-quick-view-meta a:hover {
    color: #FF8B13;
}
/* ------------------------------------------------------------ */

.tp-discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #FF8B13;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.rtl .tp-discount-badge {
    left: auto;
    right: 10px;
}

/* ------------------------------------------------------ */
/* Add to tp-core-functions-public.css */

.tp-showcase-title {
    text-align: center;
    font-size: 32px;
    color: #222;
    margin-bottom: 40px;
}

.tp-categories-grid {
    display: grid;
    grid-template-columns: repeat(var(--columns, 4), 1fr);
    gap: 40px; /* Increased gap between elements */
    padding: 20px;
}

@media (max-width: 1024px) {
    .tp-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .tp-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .tp-categories-grid {
        grid-template-columns: 1fr;
    }
}

.tp-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    position: relative;
    padding-top: 60px;
    margin-top: 60px;
}

/* .tp-category-card {
    margin: 0 auto;
    max-width: calc(100% - 10px);
} */

.tp-category-content {
    width: 100%;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 80px 20px 30px; /* Adjusted top padding for smaller image */
    text-align: center;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}
.slick-slide:nth-child(1) .tp-category-content {
    background: #F3D7E6;
}
.slick-slide:nth-child(2) .tp-category-content {
    background: #D7E6F3;
}
.slick-slide:nth-child(3) .tp-category-content {
    background: #D9E6A7;
}
.slick-slide:nth-child(4) .tp-category-content {
    background: #F3E2D7;
}
.tp-category-card:hover .tp-category-content {
    transform: translateY(-5px);
}

.tp-category-image-wrapper {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px; /* Reduced image size */
    height: 120px; /* Reduced image size */
    z-index: 2;
}

.tp-category-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 1;
    background: #f5f5f5; /* Default background for no image */
}

.tp-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease; /* Smooth zoom transition */
}

.tp-category-card:hover .tp-category-image img {
    transform: scale(1.15); /* Zoom effect on hover */
}

.tp-category-border {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px dashed #222;
    border-radius: 50%;
    animation: none;
    transition: transform 0.3s ease;
}

@keyframes rotateBorder {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.tp-category-card:hover .tp-category-border {
    animation: rotateBorder 10s linear infinite;
}

.tp-category-title {
    font-size: 24px;
    color: #222;
    margin: 0 0 10px;
}

.tp-category-count {
    font-size: 14px;
    color: #666;
}

.tp-categories-showcase {
    padding: 40px 0;
    position: relative;
}

.tp-categories-slider {
    padding: 0 0; /* Increased space for arrows */
}

.tp-category-slide {
    padding: 0 1em; /* Added horizontal spacing between slides */
}

/* Slick arrow styles */
.tp-categories-slider .slick-prev,
.tp-categories-slider .slick-next {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.tp-categories-slider .slick-prev {
    left: 0;
}

.tp-categories-slider .slick-next {
    right: 0;
}

.tp-categories-slider .slick-prev:hover,
.tp-categories-slider .slick-next:hover {
    background: #222;
}

.tp-categories-slider .slick-prev:hover i,
.tp-categories-slider .slick-next:hover i {
    color: #fff;
}

.tp-categories-slider .slick-prev i,
.tp-categories-slider .slick-next i {
    color: #222;
    font-size: 20px;
    transition: color 0.3s ease;
}

/* RTL Support */
.rtl .tp-categories-slider .slick-prev {
    right: 0;
    left: auto;
}

.rtl .tp-categories-slider .slick-next {
    left: 0;
    right: auto;
}

/* RTL Support */
.rtl .tp-category-card {
    direction: rtl;
}

.rtl .tp-category-border {
    animation-direction: reverse;
}
/* ------------------------------------------------------ */
/* Add these slider-specific styles to the existing CSS */

.tp-categories-showcase {
    padding: 40px 0;
}









/* Dots styles */
.tp-categories-slider .slick-dots {
    bottom: -30px;
}

.tp-categories-slider .slick-dots li button:before {
    font-size: 10px;
    color: #222;
}
/* ------------------------------------------------------ */
/* Add to tp-core-functions-public.css */

.tp-posts-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.tp-post {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    /* box-shadow: 0 3px 15px rgba(0,0,0,0.05); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tp-post:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 5px 20px rgba(0,0,0,0.1); */
}

.tp-post-thumb {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.tp-post-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tp-post:hover .tp-post-thumb img {
    transform: scale(1.1);
}

.tp-post-content {
    padding: 25px 0;
}

.tp-post-title {
    margin: 0 0 15px;
    font-size: 20px;
    line-height: 1.4;
}

.tp-post-title a {
    color: var(--color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.tp-post-title a:hover {
    color: var(--color-4);
}

.tp-post-excerpt {
    color: #222;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 20px;
    text-align: right !important;
}

.tp-post-date {
    font-size: 14px;
    color: #888;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
}

.tp-post-date:before {
    content: '\f073';
    font-family: 'Font Awesome 5 Free';
    margin-right: 8px;
}

.tp-read-more {
    display: inline-flex;
    align-items: center;
    color: #000;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.tp-read-more:after {
    content: '\f061';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.tp-read-more:hover {
    color: var(--color-2);
}

.tp-read-more:hover:after {
    transform: translateX(5px);
}

/* RTL Support */
.rtl .tp-post-date:before {
    margin-right: 0;
    margin-left: 8px;
}

.rtl .tp-read-more:after {
    content: '\f060';
    margin-left: 0;
    margin-right: 8px;
}

.rtl .tp-read-more:hover:after {
    transform: translateX(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .tp-posts-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .tp-post-content {
        padding: 20px 0;
    }
    
    .tp-post-title {
        font-size: 18px;
    }
}

/* ------------------------------------------------------ */
/* animated-banner.css */
.shop-banner-container {
    width: 100%;
    margin: 0 auto;
    direction: rtl;
    background: #F8F9FA;
}

.shop-banner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.banner-images {
    position: relative;
    width: 60%;
    height: 500px;
}

.banner-main-image {
    width: auto;
    height: 400px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    border-radius: 50%;
}

.animated-image {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    z-index: 9;
    box-shadow: 0 0 5px #ccc;
    /* Remove opacity: 0 to make images visible by default */
}

.image-left {
    left: 10%;
    top: 30%;
    visibility: hidden; /* Use visibility instead of opacity */
}

.image-right {
    right: 10%;
    top: 30%;
    visibility: hidden;
}

.image-bottom {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    visibility: hidden;
}

/* When animation class is added, make visible */
.animated-image.animate__animated {
    visibility: visible;
}

.banner-content {
    width: 40%;
    text-align: right;
    padding-right: 40px;
}

.banner-content h2 {
    font-size: 3em;
    color: #1E2F4D;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.banner-content p {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.shop-now-button {
    display: inline-block;
    background-color: #F7941D;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.shop-now-button:hover {
    background-color: #e88710;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .shop-banner {
        flex-direction: column;
        padding: 20px;
    }
    
    .banner-images,
    .banner-content {
        width: 100%;
    }
    
    .banner-content {
        margin-top: 20px;
        text-align: center;
        padding-right: 0;
    }

    .banner-main-image {
        height: 300px;
    }
}


@media (min-width: 910px) {
    .tp-product-actions {
        right: -40px;
    }
    .tp-product-card:hover .tp-product-actions {
        right: 10px;
    }
    .tp-action-btn {
        opacity: 0;
    }
    /* Cascading animation for each button */
    .tp-product-card:hover .tp-action-btn {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ------------------------------------------------------ */

/* ------------------------------------------------------ */
.pet-categories-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.category-card {
    padding: 20px;
    border-radius: 15px;
    position: relative;
    min-height: 300px;
    overflow: hidden;
}

/* Color variations - cycles through colors for different categories */
.category-card:nth-child(4n+1) { background-color: #98B4C3; }
.category-card:nth-child(4n+2) { background-color: #E6D086; }
.category-card:nth-child(4n+3) { background-color: #98C3A4; }
.category-card:nth-child(4n+4) { background-color: #FFB5B5; }

.title-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.brush-stroke {
    position: absolute;
    top: -20px;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 100px;
    z-index: 1;
    opacity: 0.3;
}

.category-title {
    color: white;
    font-size: 24px;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.subcategories-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
}

.subcategories-list li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.subcategories-list li a:hover {
    transform: translateX(5px);
}

.category-image {
    position: absolute;
    bottom: -10px;
    left: 0px;
    width: 150px;
    height: 150px;
    background: white;
    border-top-right-radius: 100%;
    overflow: hidden;
}

.category-image img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: auto;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}
/* ------------------------------------------------------ */

/* ------------------------------------------------------ */

/* ------------------------------------------------------ */

/* ------------------------------------------------------ */