/*==================================
        PRODUCT DETAILS
==================================*/

.product-details {

    padding: 25px 0 50px;
    background: #fafafa;

}

.breadcrumb-area {

    margin-bottom: 16px;

    padding: 4px 0;

    background: none;

    font-size: 14px;

}

.breadcrumb-area a {

    color: #2E7D32;

    text-decoration: none;

}

.breadcrumb-area span {

    margin: 0 8px;

}

.breadcrumb-area .active {

    color: #555;

}

/*==================================
        PRODUCT GALLERY
==================================*/

.product-gallery {

    background: #fff;

    border-radius: 18px;

    padding: 16px;

    text-align: center;

    max-width: 480px;

    margin: auto;

    box-shadow: 0 4px 15px rgba(0, 0, 0, .04);

}

.main-image {

    width: 100%;

    max-width: 360px;

    height: 320px;

    margin: auto;

    overflow: hidden;

    border-radius: 14px;

}

.main-image img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    transition: transform .4s;
}

.main-image img:hover {

    transform: scale(1.12);

}

.thumbnail-images {

    display: flex;

    justify-content: center;

    gap: 8px;

    margin-top: 12px;

    flex-wrap: wrap;

}

.thumb {

    width: 62px;

    height: 62px;

    object-fit: cover;

    border: 2px solid #e8e8e8;

    border-radius: 10px;

    cursor: pointer;

    transition: .3s;

    padding: 3px;

    background: #fff;

}

.thumb:hover {

    border-color: #2E7D32;

    transform: translateY(-2px);

}

.thumb.active {

    border-color: #2E7D32;

    box-shadow: 0 4px 14px rgba(46, 125, 50, .15);

}

/*==================================
        PRODUCT INFO
==================================*/

.product-info {

    padding-left: 20px;

}

.category {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 6px;

}

.category span:first-child {

    color: #2E7D32;

    font-weight: 600;

    font-size: 14px;

}

.category .unit {

    color: #666;

    font-size: 13.5px;

    font-weight: 500;

}

.product-info h1 {

    font-size: 28px;

    margin: 4px 0 8px;

    font-weight: 700;

    color: #222;

    line-height: 1.3;

}

.rating {

    display: flex;

    align-items: center;

    gap: 6px;

    color: #FFC107;

    font-size: 15px;

    margin-bottom: 8px;

}

.rating span {

    color: #777;

    font-size: 13.5px;

}

.price {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin: 10px 0 12px;

}

.new-price {

    font-size: 28px;

    font-weight: 700;

    color: #1B5E20;

}

.old-price {

    font-size: 16px;

    color: #999;

    text-decoration: line-through;

}

.discount {

    position: static;

    background: #2E7D32;

    color: #fff;

    padding: 4px 10px;

    border-radius: 16px;

    font-size: 12px;

    font-weight: 600;

}

.short-description {

    margin: 10px 0 12px;

    color: #555;

    font-size: 14px;

    line-height: 24px;

}

.stock {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: #F1F8E9;

    color: #2E7D32;

    padding: 6px 14px;

    border-radius: 10px;

    font-size: 13.5px;

    font-weight: 600;

    margin: 6px 0 12px;

}

.stock i {

    font-size: 16px;

    color: #2E7D32;

}

.stock-text {

    color: #2E7D32;

    font-weight: 700;

}

.stock-count {

    color: #666;

    font-size: 13px;

    font-weight: 500;

}

.out-stock {

    color: #E53935;

    font-weight: 700;

}

@media(max-width:991px) {

    .product-info {

        padding-left: 0;

        margin-top: 24px;

    }

    .product-info h1 {

        font-size: 24px;

    }

    .new-price {

        font-size: 26px;

    }

}

.weight-selector {

    margin: 14px 0;

}

.weight-selector h5 {

    font-size: 14.5px;

    font-weight: 600;

    margin-bottom: 8px;

    color: #333;

}

.weight-options {

    display: flex;

    gap: 10px;

    flex-wrap: wrap;

}

.weight-options button {

    border: 1.5px solid #ddd;

    background: #fff;

    padding: 7px 18px;

    border-radius: 10px;

    font-weight: 600;

    font-size: 13.5px;

    transition: .3s;

}

.weight-options button:hover {

    border-color: #2E7D32;

}

.weight-options .active {

    background: #2E7D32;

    color: #fff;

    border-color: #2E7D32;

}

.weight-options .pack-out-of-stock {
    opacity: 0.7;
    border-style: dashed;
    color: #777;
}

.weight-options .pack-out-of-stock.active {
    background: #d32f2f;
    border-color: #d32f2f;
    color: #fff;
    opacity: 1;
}

/*==================================
        QUANTITY
==================================*/

.quantity-wrapper {

    margin: 14px 0;

}

.quantity-wrapper h5 {

    font-size: 14.5px;

    font-weight: 600;

    margin-bottom: 8px;

    color: #333;

}

.quantity-box {

    display: flex;

    align-items: center;

    width: 120px;

    height: 38px;

    border: 1px solid #ddd;

    border-radius: 8px;

    overflow: hidden;

}

.quantity-box button {

    width: 38px;

    height: 38px;

    border: none;

    background: #2E7D32;

    color: #fff;

    font-size: 16px;

    display: flex;

    align-items: center;

    justify-content: center;

}

.quantity-box button:hover {

    background: #1B5E20;

}

.quantity-box input {

    width: 44px;

    text-align: center;

    border: none;

    font-weight: 600;

    font-size: 14px;

}

/*==================================
        BUTTONS
==================================*/

.product-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
}

.add-cart {
    flex: 1;
    height: 48px;
    border: none;
    border-radius: 12px;
    background: #2E7D32;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    transition: all .3s ease;
    box-shadow: 0 4px 14px rgba(46, 125, 50, .20);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.add-cart:hover {
    background: #1B5E20;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, .30);
}

.buy-now {
    flex: 1;
    height: 48px;
    border: none;
    border-radius: 12px;
    background: #FFD54F;
    color: #2e4a1a;
    font-size: 15px;
    font-weight: 700;
    transition: all .3s ease;
    box-shadow: 0 4px 14px rgba(255, 193, 7, .25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.buy-now:hover {
    background: #FFC107;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, .35);
}

.wishlist-btn {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    color: #555;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .05);
    transition: all .3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
}

.wishlist-btn:hover {
    background: #ffebee;
    color: #e53935;
    border-color: #ef9a9a;
    transform: translateY(-2px);
}

.add-cart i,
.buy-now i {
    font-size: 15px;
    margin-right: 0;
}

@media (max-width: 768px) {
    .product-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr 48px;
        gap: 10px;
        align-items: stretch;
        margin: 16px 0;
    }

    .add-cart,
    .buy-now {
        height: 46px;
        font-size: 14px;
        padding: 0 10px;
        border-radius: 10px;
        white-space: nowrap;
    }

    .wishlist-btn {
        width: 48px;
        height: 46px;
        border-radius: 10px;
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .product-buttons {
        grid-template-columns: 1fr 1fr 44px;
        gap: 8px;
        margin: 14px 0;
    }

    .add-cart,
    .buy-now {
        height: 44px;
        font-size: 13px;
        padding: 0 6px;
        border-radius: 10px;
        gap: 5px;
    }

    .add-cart i,
    .buy-now i {
        font-size: 13px;
        margin-right: 0;
    }

    .wishlist-btn {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        font-size: 16px;
    }
}

@media (max-width: 360px) {
    .product-buttons {
        grid-template-columns: 1fr 1fr 40px;
        gap: 6px;
    }

    .add-cart,
    .buy-now {
        height: 42px;
        font-size: 12px;
        padding: 0 4px;
    }

    .wishlist-btn {
        width: 40px;
        height: 42px;
        font-size: 15px;
    }
}

/*==================================
      DELIVERY BOX
==================================*/

.delivery-box {

    margin-top: 14px;

    background: #fff;

    border: 1px solid #ececec;

    border-radius: 14px;

    padding: 16px 18px;

    box-shadow: 0 4px 14px rgba(0, 0, 0, .04);

    transition: .35s;

}

.delivery-box:hover {

    transform: translateY(-3px);

    box-shadow: 0 10px 24px rgba(46, 125, 50, .08);

}

.delivery-box h5 {

    font-size: 15px;

    font-weight: 700;

    color: #222;

    margin-bottom: 10px;

}

.delivery-input {

    display: flex;

    gap: 8px;

}

.delivery-input input {

    flex: 1;

    height: 44px;

    border: 1px solid #ddd;

    border-radius: 10px;

    padding: 0 14px;

    font-size: 13.5px;

    outline: none;

    transition: .3s;

}

.delivery-input input:focus {

    border-color: #2E7D32;

    box-shadow: 0 0 0 3px rgba(46, 125, 50, .10);

}

.delivery-input button {

    border: none;

    background: #2E7D32;

    color: #fff;

    padding: 0 20px;

    border-radius: 10px;

    font-weight: 600;

    font-size: 13.5px;

    transition: .3s;

}

.delivery-input button:hover {

    background: #1B5E20;

}

.delivery-time {

    display: flex;

    align-items: center;

    gap: 12px;

    background: #F8FFF6;

    border: 1px solid #DCEFD6;

    border-radius: 12px;

    padding: 10px 14px;

    margin: 12px 0;

}

.delivery-time i {

    width: 38px;

    height: 38px;

    background: #2E7D32;

    color: #fff;

    border-radius: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 16px;

    flex-shrink: 0;

}

.delivery-time strong {

    display: block;

    color: #222;

    font-size: 14.5px;

}

.delivery-time p {

    margin: 1px 0 0;

    color: #666;

    font-size: 12.5px;

}

/*==================================
      PRODUCT FEATURES (LEFT COLUMN)
==================================*/

.product-features {
    max-width: 480px;
    margin: 16px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #e2f0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .03);
    transition: all .3s ease;
}

.feature:hover {
    transform: translateY(-2px);
    border-color: #2E7D32;
    box-shadow: 0 8px 20px rgba(46, 125, 50, .12);
}

.feature i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E8F5E9;
    color: #2E7D32;
    font-size: 15px;
    flex-shrink: 0;
}

.feature span {
    font-size: 13px;
    font-weight: 600;
    color: #234d20;
    line-height: 1.25;
}

@media(max-width:420px) {
    .product-features {
        grid-template-columns: 1fr;
    }
}


.trust-badges {

    display: flex;

    justify-content: space-between;

    margin-top: 35px;

    gap: 15px;

    flex-wrap: wrap;

}

.trust-badges div {

    flex: 1;

    background: #fff;

    border-radius: 15px;

    padding: 18px;

    text-align: center;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .06);

    transition: .3s;

}

.trust-badges div:hover {

    transform: translateY(-5px);

}

.trust-badges i {

    display: block;

    font-size: 28px;

    color: #2E7D32;

    margin-bottom: 10px;

}

/*==================================
        PRODUCT TABS
==================================*/

.product-tabs-section {

    padding: 80px 0;

    background: #fff;

}

.product-tabs {

    justify-content: center;

}

.product-tabs .nav-link {

    margin: 10px;

    padding: 14px 28px;

    border-radius: 40px;

    background: #F5F5F5;

    color: #333;

    font-weight: 600;

    transition: .3s;

}

.product-tabs .nav-link.active {

    background: #2E7D32;

    color: #fff;

}

.tab-content {

    background: #fff;

    padding: 35px;

    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);

}

.table {

    margin-bottom: 0;

}

.review-card {

    padding: 25px;

    margin-bottom: 20px;

    border-radius: 15px;

    background: #F8FFF8;

    transition: .3s;

}

.review-card:hover {

    transform: translateY(-6px);

}

.review-card span {

    color: #FFC107;

}

/*==================================================
   MASTER UNIFIED PRODUCT CARD (SOULFRESH DESIGN SYSTEM)
   Used consistently across Home, Shop, Related, 
   Wishlist, Cart Recommendations, and Search Results
==================================================*/

/*==================================================
   RELATED PRODUCTS HORIZONTAL SWIPEABLE SLIDER
==================================================*/

.related-products {
    background: #fafdf9;
    padding: 45px 0 60px;
    position: relative;
}

.related-products .section-title {
    margin-bottom: 24px;
}

.related-slider-container {
    position: relative;
    width: 100%;
}

.related-track-wrapper {
    display: block;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 6px 2px 16px;
}

.related-track-wrapper::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.related-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 16px;
    width: max-content;
    min-width: 100%;
}

.related-product-item {
    display: flex;
    flex-direction: column;
    flex: 0 0 260px;
    width: 260px;
    max-width: 280px;
    min-width: 230px;
}

@media (min-width: 992px) {
    .related-track {
        gap: 20px;
    }

    .related-product-item {
        flex: 0 0 calc((100% - 60px) / 4);
        width: calc((100% - 60px) / 4);
        max-width: 280px;
        min-width: 240px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .related-track {
        gap: 14px;
    }

    .related-product-item {
        flex: 0 0 calc((100% - 28px) / 3);
        width: calc((100% - 28px) / 3);
        max-width: 240px;
        min-width: 200px;
    }
}

@media (max-width: 767.98px) {
    .related-products {
        padding: 24px 0 35px;
    }

    .related-products .section-title {
        margin-bottom: 16px;
    }

    .related-products .section-title h2 {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .related-products .section-title p {
        font-size: 12px;
        margin-bottom: 0;
    }

    .related-track-wrapper {
        padding: 4px 1px 12px;
        scroll-snap-type: x mandatory;
    }

    .related-track {
        gap: 10px;
    }

    .related-product-item {
        flex: 0 0 calc(46.5% - 4px);
        width: calc(46.5% - 4px);
        min-width: 135px;
        max-width: 185px;
        scroll-snap-align: start;
    }

    .related-slider-arrow {
        display: none !important;
    }
}

@media (max-width: 360px) {
    .related-track {
        gap: 8px;
    }

    .related-product-item {
        flex: 0 0 calc(46% - 4px);
        width: calc(46% - 4px);
        min-width: 128px;
        max-width: 155px;
    }
}

/* Related Products Slider Navigation Arrows */
.related-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #c8e6c9;
    color: #1b5e20;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
}

.related-slider-arrow:hover {
    background: #1b5e20;
    color: #ffffff;
    border-color: #1b5e20;
    box-shadow: 0 6px 16px rgba(27, 94, 32, 0.25);
}

.related-prev {
    left: -16px;
}

.related-next {
    right: -16px;
}

/*==========================================
        BLINKIT-STYLE RESPONSIVE PRODUCT GRID
==========================================*/

.blinkit-product-grid {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 16px;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

/* 6 Products Per Row on Large Desktop (>= 1200px) */
@media (min-width: 1200px) {
    .blinkit-product-grid > .col-product,
    .blinkit-product-grid > [class*="col-xl-2"],
    .blinkit-product-grid > [class*="col-lg-"],
    .col-product {
        flex: 0 0 16.666667% !important;
        max-width: 16.666667% !important;
        width: 16.666667% !important;
    }
}

/* 4 Products Per Row on Laptop / Tablet Landscape (992px to 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .blinkit-product-grid > .col-product,
    .blinkit-product-grid > [class*="col-xl-"],
    .blinkit-product-grid > [class*="col-lg-"],
    .col-product {
        flex: 0 0 25% !important;
        max-width: 25% !important;
        width: 25% !important;
    }
}

/* 3 Products Per Row on Tablet Portrait (768px to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .blinkit-product-grid > .col-product,
    .blinkit-product-grid > [class*="col-"],
    .col-product {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        width: 33.333333% !important;
    }
}

/* 2 Products Per Row on Mobile (< 768px) */
@media (max-width: 767.98px) {
    .blinkit-product-grid {
        --bs-gutter-x: 8px !important;
        --bs-gutter-y: 10px !important;
    }

    .blinkit-product-grid > .col-product,
    .blinkit-product-grid > [class*="col-"],
    .col-product {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
}

/*==========================================
        COMPACT BLINKIT-STYLE PRODUCT CARD
==========================================*/

.shop-product-card,
.product-card {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(46, 125, 50, 0.12);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100%;
}

.shop-product-card:hover,
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(46, 125, 50, 0.12);
    border-color: rgba(46, 125, 50, 0.28);
}

/* Discount Badge */
.shop-product-card .discount,
.product-card .discount,
.discount {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #2e7d32;
    color: #ffffff;
    padding: 2.5px 7px;
    border-radius: 6px;
    font-size: 10.5px;
    font-weight: 700;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(46, 125, 50, 0.25);
    line-height: 1.2;
    letter-spacing: 0.2px;
}

/* Out of Stock Badge */
.shop-product-card .out-of-stock-badge,
.product-card .out-of-stock-badge,
.out-of-stock-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #d32f2f;
    color: #ffffff;
    padding: 2.5px 7px;
    border-radius: 6px;
    font-size: 9.5px;
    font-weight: 700;
    z-index: 6;
    box-shadow: 0 2px 5px rgba(211, 47, 47, 0.25);
    line-height: 1.2;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

/* Floating Action Icons */
.shop-product-card .product-icons,
.product-card .product-icons,
.product-icons {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 5;
    transition: all 0.2s ease;
}

.shop-product-card .product-icons a,
.product-card .product-icons a,
.product-icons a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2E7D32;
    font-size: 11.5px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(46, 125, 50, 0.14);
    transition: all 0.2s ease;
}

.shop-product-card .product-icons a:hover,
.product-card .product-icons a:hover,
.product-icons a:hover {
    background: #2E7D32;
    color: #ffffff;
    border-color: #2E7D32;
    transform: scale(1.08);
}

.shop-product-card .product-icons a.wishlist-remove:hover,
.product-card .product-icons a.wishlist-remove:hover {
    background: #e53935;
    color: #ffffff;
    border-color: #e53935;
}

/* Product Image Container */
.shop-product-card .product-image,
.product-card .product-image,
.product-image {
    position: relative;
    background: #fafdfa;
    padding: 2px;
    height: 160px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(46, 125, 50, 0.06);
}

.shop-product-card .product-image a,
.product-card .product-image a,
.product-image a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.shop-product-card .product-image img,
.product-card .product-image img,
.product-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.25s ease;
}

.shop-product-card:hover .product-image img,
.product-card:hover .product-image img,
.product-image:hover img {
    transform: scale(1.05);
}

/* Product Content & Typography */
.shop-product-card .product-content,
.product-card .product-content,
.product-content {
    padding: 5px 8px 7px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
    background: #ffffff;
}

.shop-product-card .category,
.product-card .category,
.product-content .category {
    display: block;
    color: #637865;
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 1px;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-product-card h5,
.product-card h4,
.product-card h5,
.product-content h4,
.product-content h5 {
    font-size: 12.5px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 1px 0;
    line-height: 1.2;
    height: 29px;
    min-height: 29px;
    max-height: 29px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.shop-product-card h5 a,
.product-card h4 a,
.product-card h5 a,
.product-content h4 a,
.product-content h5 a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.18s ease;
}

.shop-product-card h5 a:hover,
.product-card h4 a:hover,
.product-card h5 a:hover,
.product-content h4 a:hover,
.product-content h5 a:hover {
    color: #2E7D32;
}

/* Product Unit / Weight / Quantity */
.shop-product-card .product-unit,
.product-card .product-unit,
.product-content .product-unit,
.clean-product-unit,
.product-unit {
    display: block !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #556b57 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 3px 0 !important;
    line-height: 1.2 !important;
    height: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Pack Dropdown on Cards with multi-packs */
.card-pack-wrapper {
    margin: 0 0 4px 0;
    height: 21px;
    width: 100%;
}

.card-pack-select {
    width: 100%;
    height: 21px;
    padding: 1px 5px;
    font-size: 10.5px;
    font-weight: 600;
    color: #2E7D32;
    background-color: #f1f8f1;
    border: 1px solid rgba(46, 125, 50, 0.22);
    border-radius: 6px;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.2;
}

.card-pack-select:focus {
    border-color: #2E7D32;
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.12);
    background-color: #ffffff;
}

/* Rating */
.shop-product-card .rating,
.product-card .rating,
.product-content .rating {
    color: #FFB300;
    margin: 0 0 3px 0;
    font-size: 9.5px;
    letter-spacing: 1px;
    line-height: 1;
}

/* Card Footer Row: Price on left, ADD button on right */
.card-footer-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    margin-top: auto !important;
    padding-top: 2px !important;
    width: 100% !important;
}

.card-footer-row .price,
.shop-product-card .price,
.product-card .price,
.product-content .price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    min-width: 0;
    margin-bottom: 0;
    line-height: 1.1;
}

.shop-product-card .new-price,
.product-card .new-price,
.product-content .new-price {
    color: #1B5E20;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

.shop-product-card .old-price,
.product-card .old-price,
.product-content .old-price {
    color: #8c9b8e;
    text-decoration: line-through;
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1.1;
    margin-top: 1px;
    white-space: nowrap;
}

/* Action Button (ADD / Out) */
.card-footer-row .card-action {
    flex-shrink: 0;
    margin-left: auto;
}

.card-footer-row form,
.card-action form {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex;
}

.shop-product-card .cart-btn,
.product-card .cart-btn,
.product-content .cart-btn {
    height: 26px;
    padding: 0 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    border: 1.5px solid #2E7D32;
    background: #ffffff;
    color: #2E7D32;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(46, 125, 50, 0.08);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    outline: none;
}

.shop-product-card .cart-btn i,
.product-card .cart-btn i,
.product-content .cart-btn i {
    font-size: 10px;
    margin: 0;
}

.shop-product-card .cart-btn:hover:not(:disabled),
.product-card .cart-btn:hover:not(:disabled),
.product-content .cart-btn:hover:not(:disabled) {
    background: #2E7D32;
    color: #ffffff;
    border-color: #2E7D32;
    box-shadow: 0 3px 8px rgba(46, 125, 50, 0.22);
}

.shop-product-card .cart-btn:disabled,
.product-card .cart-btn:disabled,
.shop-product-card .cart-btn.disabled,
.product-card .cart-btn.disabled,
.product-content .cart-btn:disabled,
.product-content .cart-btn.disabled {
    background: #f4f6f4 !important;
    color: #9aa59b !important;
    border: 1px solid #dbe2dc !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
    padding: 0 8px;
}

/* Responsive Product Card Grid Styles */
@media (max-width: 991px) {
    .shop-product-card .product-image,
    .product-card .product-image,
    .product-image {
        height: 162px;
        padding: 2px;
    }
}

@media (max-width: 768px) {
    .product-details {
        padding: 15px 0 35px;
    }

    .product-tabs-section {
        padding: 45px 0;
    }

    .product-tabs {
        flex-wrap: wrap;
        gap: 6px;
    }

    .product-tabs .nav-link {
        margin: 3px;
        padding: 8px 16px;
        font-size: 13px;
    }

    .tab-content {
        padding: 20px 14px;
        border-radius: 15px;
    }

    .review-card {
        padding: 16px 14px;
    }

    .shop-product-card,
    .product-card {
        border-radius: 12px;
    }

    .shop-product-card .discount,
    .product-card .discount,
    .discount,
    .shop-product-card .out-of-stock-badge,
    .product-card .out-of-stock-badge,
    .out-of-stock-badge {
        top: 6px;
        left: 6px;
        font-size: 9px;
        padding: 2px 5px;
        border-radius: 5px;
    }

    .shop-product-card .product-icons,
    .product-card .product-icons,
    .product-icons {
        right: 6px;
        top: 6px;
        gap: 3px;
    }

    .shop-product-card .product-icons a,
    .product-card .product-icons a,
    .product-icons a {
        width: 25px;
        height: 25px;
        font-size: 10.5px;
        color: #2E7D32 !important;
        background: #ffffff !important;
        border: 1px solid rgba(46, 125, 50, 0.16) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    }

    .shop-product-card .product-image,
    .product-card .product-image,
    .product-image {
        height: 148px;
        padding: 2px;
        background: #fafdfa;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .shop-product-card .product-content,
    .product-card .product-content,
    .product-content {
        padding: 4px 6px 6px;
    }

    .shop-product-card .category,
    .product-card .category,
    .product-content .category {
        font-size: 9px;
        margin-bottom: 1px;
    }

    .shop-product-card .product-unit,
    .product-card .product-unit,
    .product-content .product-unit,
    .clean-product-unit,
    .product-unit {
        font-size: 10px !important;
        height: 13px !important;
        margin-bottom: 2px !important;
    }

    .card-pack-wrapper {
        height: 19px;
        margin-bottom: 3px;
    }

    .card-pack-select {
        height: 19px;
        font-size: 10px;
        padding: 0 3px;
    }

    .shop-product-card h5,
    .product-card h4,
    .product-card h5,
    .product-content h4,
    .product-content h5 {
        font-size: 11.5px;
        height: 26px;
        min-height: 26px;
        max-height: 26px;
        margin-bottom: 1px;
        line-height: 1.2;
    }

    .shop-product-card .rating,
    .product-card .rating,
    .product-content .rating {
        font-size: 8.5px;
        margin-bottom: 1px;
    }

    .shop-product-card .new-price,
    .product-card .new-price,
    .product-content .new-price {
        font-size: 13px;
    }

    .shop-product-card .old-price,
    .product-card .old-price,
    .product-content .old-price {
        font-size: 9.5px;
    }

    .shop-product-card .cart-btn,
    .product-card .cart-btn,
    .product-content .cart-btn {
        height: 24px;
        padding: 0 7px;
        font-size: 10px;
        border-radius: 5px;
        gap: 2px;
    }
}

@media (max-width: 480px) {
    .main-image {
        height: 250px;
    }

    .thumb {
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 360px) {
    .shop-product-card .product-image,
    .product-card .product-image,
    .product-image {
        height: 132px;
        padding: 2px;
    }

    .shop-product-card .product-content,
    .product-card .product-content,
    .product-content {
        padding: 3px 5px 5px;
    }

    .shop-product-card h5,
    .product-card h4,
    .product-card h5,
    .product-content h4,
    .product-content h5 {
        font-size: 10.5px;
        height: 24px;
        min-height: 24px;
        max-height: 24px;
    }

    .shop-product-card .new-price,
    .product-card .new-price,
    .product-content .new-price {
        font-size: 12px;
    }

    .shop-product-card .cart-btn,
    .product-card .cart-btn,
    .product-content .cart-btn {
        height: 23px;
        padding: 0 5px;
        font-size: 9px;
        gap: 2px;
    }

    .shop-product-card .product-icons a,
    .product-card .product-icons a,
    .product-icons a {
        width: 22px;
        height: 22px;
        font-size: 9.5px;
    }
}