.section-py {
    padding: 0rem 0 !important;
}

.section .title-box {
  
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    grid-gap: 40px;
}

.hero-title {
    margin-top: 70px !important;
    margin-bottom: 0px !important;
}

#landingHero {
    padding-bottom: 0px;
}
.see-more-item {
    /* padding: 5px; */
}

.see-more-item i {
    font-size: 25px;
    position: relative;
    top: 1px;
}

.product-idea {
    text-align: left !important;
}

@media (max-width: 767.98px) {
    .see-more-item .btn {
        padding: 0.1rem 0.5rem;
    }

    .title-box {
        font-size: 1.1rem !important;
    }

    
    .product-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        grid-gap: 10px;
    }

    #landingHero .img-fluid {
        height: unset !important;
    }

}

.popular-categories-section {
    /* padding: 2rem 0; */
}

.popular-categories-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.popular-categories-section .section-title span {
    font-weight: bold;
}
.popular-categories-section .section-title .highlight {
    color: #28c76f; /* A green color from the image */
}

.popular-categories-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* 60/40 split */
    gap: 20px;
    grid-template-areas:
        "tote   design design-2"
        "tshirt design design-2";
}

.category-card-tote   { grid-area: tote; }
.category-card-tshirt { grid-area: tshirt; }
.category-card-design { grid-area: design; }
.category-card-design-2 { grid-area: design-2; }

.category-card {
    border-radius: 10px;
    padding: 30px 0px 0px 0px;
    max-height: 550px;
    min-height: 225px;
    position: relative;
    overflow: visible;
    display: flex;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;

}
.category-card-design .category-image, .category-card-design-2 .category-image {
    position: absolute !important;
    bottom: 0;
}
.category-card-design .category-card-content, .category-card-design-2 .category-card-content{
    padding: unset !important;
}

.category-card-design .category-card-content img, .category-card-design-2 .category-card-content img {
    /* max-height: 250px !important; */
    bottom: 0 !important;
    object-fit: cover !important;
}

.category-card:hover .category-content {
    transform: translateY(-20px);
}

.category-content {
    padding-left: 20%;
    padding-top: 40px;
    transition: opacity .3s, transform .4s;

}

.category-card .category-content {
    z-index: 2;
}

.category-card .category-title {
    font-size: 24px;
    font-weight: 700;
    color: #435971;
    margin: 0;
}

.category-card-content {
    background-color: #eeebeb;
    width: 100%;
    height: 100%;
    padding: 20px;
    border-radius: 10px;
}

.category-card .category-items-count {
    font-size: 16px;
    color: #28c76f;
    font-weight: 500;
}

.category-card .category-image {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.category-card .category-image img {
    height: auto;
    transition: transform 0.4s ease;
}

.category-card:hover .category-image img {
    transform: translateX(20px);
}

/* Card type specific styles */
/* Type 1: Text top, image at bottom filling space */
.category-card.card-type-1 {
    flex-direction: column;
    justify-content: flex-start;
}
.category-card.card-type-1 .category-image {
    position: relative;
    align-self: center;
    margin-top: 15px;
    width: 100%;
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.category-card.card-type-1 .category-image img {
    max-width: 100%;
    height: calc(100% + 40px);
    object-fit: contain;
    border-radius: 10px;
}

.category-card .category-image-design {
    max-height: 400px;
    object-fit: cover !important;
    width: 100% !important;
}

/* Type 2: Text left, image on the right */
.category-card.card-type-2 {
    align-items: flex-start; /* Aligns content to top */
}

.popular-categories-section {
    background-color: #ffffff !important;
}

.category-card.card-type-2 .category-image {
    height: 100%;
    bottom: 0;
    right: 0;
    position: absolute;
}

.category-card.card-type-2 .category-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
}

#landingHero .mySwiper .dasher-line {
    position: absolute;
    bottom: -50px;
    z-index: 1
} 
.cz_sep_top {
    top: -2px;
    transform: rotateX(180deg);
}


@media (max-width: 767.98px) {
    .popular-categories-grid {
        grid-template-columns: 1fr !important;
        grid-template-areas: "tote" "tshirt" "design" "design-2";
    }

    .category-content {
        padding: 10px !important;
    }
    .category-card-design, .category-card-design-2 {
        position: relative !important;
        min-height: 120px !important;
    }

    .category-card-design .category-image, .category-card-design-2 .category-image {
        margin-top: 0px !important;
        position: absolute !important;
        width: 40% !important;

    }

    .category-card-design .category-image img, .category-card-design-2 .category-image img {
        height: 120px !important;
    }

    .category-card.card-type-2 .category-image img {
        height: 120px !important;
    }

    .category-card {
        min-height: 130px !important;
        max-height: 130px !important;
    }

    .category-card .category-card-content {
        padding: 5px !important;
    }
    .category-card-design .category-card-content, .category-card-design-2 .category-card-content {
        display: flex !important;
        grid-template-columns: 1fr !important;
    }

    .category-card-design .category-image img, .category-card-design-2 .category-image img, .category-card-design .category-card-content img, .category-card-design-2 .category-card-content img {
        max-height: 120px !important;
        object-fit: cover !important;
    }

    #landingHero .mySwiper .dasher-line {
        position: absolute;
        bottom: 0px;
        z-index: 1
    } 
}
