/* Quick Order Overlay Section */
.quick-order-overlay-section {
    margin: 0 90px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.quick-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 230px;
    display: block;
    text-decoration: none !important;
}

.quick-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.quick-card:hover img {
    transform: scale(1.08);
}

.quick-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
    color: #fff;
    z-index: 2;
}

.quick-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    max-width: 80%;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.quick-link-text {
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    opacity: 0.95;
}

.quick-link-text:hover {
    text-decoration: underline;
    opacity: 1;
}

/* Popular Categories Section Styles */
.popular-categories-section {
    margin: 20px 90px 30px 90px;
    /* Match banner side spacing */
}

.section-main-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: #232f3e;
    margin-bottom: 30px;
}

.popular-categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.popular-cat-card {
    background: #fff;
    padding: 20px 10px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
}

.popular-cat-card:hover {
    background: #fff;
    border-color: #84C44C;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px) scale(1.02);
}

.popular-cat-img {
    width: 90px;
    height: 90px;
    margin-right: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.popular-cat-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.popular-cat-card:hover .popular-cat-img img {
    transform: scale(1.1);
}

.popular-cat-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.popular-cat-name {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;
    color: #232f3e;
    margin: 0;
}

.popular-cat-count {
    color: #84C44C;
    font-size: 15px;
    font-weight: 600;
    margin-top: 6px;
    display: inline-block;
}

/* Shop Categories Section Styles */
.shop-categories-section {
    margin: 20px 90px 0px 90px;
}

.shop-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.shop-cat-column {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08); /* Equal shadow all sides */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shop-cat-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.12);
}

.shop-cat-header {
    background: #f8f9fa;
    padding: 18px 15px;
    font-size: 18px;
    font-weight: 700;
    color: #232f3e;
    min-height: 60px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.shop-cat-list {
    list-style: none;
    padding: 20px 15px;
    margin: 0;
    flex-grow: 1;
}

.shop-cat-list li {
    margin-bottom: 12px;
}

.shop-cat-list li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #444;
    font-size: 14px;
    transition: color 0.2s ease;
}

.shop-cat-list li a:hover {
    color: #84C44C;
}

.shop-cat-list li img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    margin-right: 12px;
    flex-shrink: 0;
}

.shop-cat-all-link {
    display: block; /* Make it block to cover full bottom width */
    padding: 12px 15px;
    background-color: #f8f9fa;
    color: #00AEEF;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
    border-top: 1px solid #eee;
    text-transform: uppercase;
}

.shop-cat-all-link:hover {
    background-color: #00AEEF;
    color: #fff;
    text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .popular-categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .shop-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .quick-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

    .shop-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .shop-categories-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-main-title,
    .section-sub-title {
        font-size: 20px;
    }
 .product-grid-mobile .col-lg-4.col-md-6 {
        width: 50%;
        flex: 0 0 50%;
    }
 .product-grid-mobile {
        --bs-gutter-x: 10px;
--bs-gutter-y: 10px;
  }
.product-solo-title{
font-size:18px;
  }
}

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

    .quick-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}