

        .card-grid{
                font-family: "Work Sans", sans-serif;
                font-weight: 400;
        }
        .line-clamp-2 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            min-height: 1rem;
            line-height: 0.95rem;
            font-size: 0.9rem;
        }
        .mycenter {
            margin: 0 auto;
            width: 100% !important;
            margin-left: 10px;
        }
        .ps-layout {
            margin: 0 auto;
            width: 100% !important;
            margin-left: 10px;
        }
        .image-container {
            position: relative;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        .image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            transition: transform 0.5s ease;
        }
        .group:hover .image-container img {
            transform: scale(1.05);
        }

        /* MAIN ACTION BUTTON STYLES */
        .action-button {
            transition: all 0.3s ease;
            color: #e0bb7f;
            padding: 1px; /* Minimal padding */
            text-align: center;
            font-weight: bold;
            font-size: 0.75rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            width: 100%;
        }

        .action-button:hover {

            transform: translateY(-1px);
        }

        .action-button i {
            font-size: 1.2rem !important; /* Consistent icon size */
            width: 18px !important;
            height: 18px !important;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1 !important;
        }

        .card-grid {
            display: grid;
            gap: 0.75rem;
            padding: 0;
            width: 100%;
            box-sizing: border-box;
        }

        /* Fixed title container height */
        .title-container {
            min-height: 1.75rem;
            display: flex;
            align-items: flex-start;
            margin-bottom: 0.2rem;
        }

        /* Fixed price container */
        .price-container {
            min-height: 1.25rem;
            display: flex;
            align-items: center;
            margin-bottom: 0.15rem;
        }

        /* Footer section (divider + actions) */
        .footer-section {
            margin-top: auto; /* Push to bottom */
            display: flex;
            flex-direction: column;
        }

        /* Divider section */
        .divider-section {
            margin: 0;
            padding: 0;
        }

        /* Action buttons container */
        .actions-container {
            min-height: 20px; /* Consistent minimal height */
            display: flex;
            align-items: center;
            justify-content: space-evenly; /* Evenly spaced icons */
            margin: 0;
            padding: 0;
            gap: 0.2rem; /* Minimal gap */
        }

        /* RESPONSIVE MEDIA QUERIES */
        @media (max-width: 479px) {
            .card-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 0.4rem;
                width: 100% !important;
            }
            .action-button {
                padding-top: 7px;
                min-height: 18px;
                margin-bottom: 2px;

            }
            .action-button i {
                font-size: 2rem !important;
                width: 16px !important;
                height: 16px !important;
            }
            .title-container {
                min-height: 1.5rem;
            }
            .line-clamp-2 {
                min-height: 1.5rem;
                line-height: 0.85rem;
                font-size: 0.8rem;
            }
            .actions-container {
                min-height: 18px;
                gap: 0.15rem;
            }
        }

        @media (min-width: 480px) and (max-width: 639px) {
            .card-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 0.6rem;
                width: 100% !important;
            }
            .action-button {
                padding: 1px;
                min-height: 20px;
            }
            .action-button i {
                font-size: 1.2rem !important;
                width: 18px !important;
                height: 18px !important;
            }
            .actions-container {
                min-height: 20px;
                gap: 0.2rem;
            }
        }

        @media (min-width: 640px) and (max-width: 767px) {
            .card-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 0.8rem;
                width: 100% !important;
            }
            .action-button {
                padding: 2px;
                min-height: 24px;
            }
            .action-button i {
                font-size: 1.4rem !important;
                width: 20px !important;
                height: 20px !important;
            }
            .actions-container {
                min-height: 24px;
                gap: 0.25rem;
            }
        }

        @media (min-width: 768px) and (max-width: 1023px) {
            .card-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
                gap: 1rem;
                width: 100% !important;
            }
            .action-button {
                padding: 2px;
                min-height: 28px;
            }
            .action-button i {
                font-size: 1.6rem !important;
                width: 24px !important;
                height: 24px !important;
            }
            .actions-container {
                min-height: 28px;
                gap: 0.3rem;
            }
        }

        @media (min-width: 1024px) {
            .card-grid {
                grid-template-columns: repeat(4, minmax(0, 1fr));
                gap: 1.25rem;
                width: 100% !important;
            }
            .action-button {
                padding: 3px;
                min-height: 32px;
                margin-bottom: 1px;
            }
            .action-button i {
                font-size: 1.8rem !important;
                width: 28px !important;
                height: 28px !important;
            }
            .actions-container {
                min-height: 32px;
                gap: 0.35rem;
            }
        }

        /* CARD CONTENT PADDING ADJUSTMENTS */
        .card-content {
            padding: 0.4rem;
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        /* TITLE FONT SIZES FOR DIFFERENT SCREENS */
        .product-title {
            font-size: 0.9rem;
            font-weight: 600;
        }

        /* INDIVIDUAL ICON STYLES */
        .fa-heart,
        .fa-envelope,
        .fa-shopping-bag,
        .fa-arrow-right-arrow-left,
        .fa-exchange {
            font-size: inherit !important;
            width: inherit !important;
            height: inherit !important;
        }

        /* WISHLIST AND CART SPECIFIC STYLES */
        .wishlist i,
        .add-to-cart-link i,
        .add-to-cart-btn1 i,
        .make-offer i {
            color: #e0bb7f !important;
        }

        /* RESPONSIVE TITLE SIZES */
        @media (min-width: 640px) {
            .product-title {
                font-size: 0.95rem;
            }
            .line-clamp-2 {
                font-size: 0.95rem;
                line-height: 1.05rem;
            }
        }

        @media (min-width: 768px) {
            .product-title {
                font-size: 1rem;
            }
            .line-clamp-2 {
                font-size: 1rem;
                line-height: 1.15rem;
            }
        }

        @media (min-width: 1024px) {
            .product-title {
                font-size: 1.1rem;
            }
            .line-clamp-2 {
                font-size: 1.1rem;
                line-height: 1.25rem;
            }
        }


                .card-content {
    display: flex;
    flex-direction: column;
    height: 100%; /* make sure card stretches full */
}

.price-container {
    margin-top: auto; /* pushes price down */
}
        .product-title {
      font-size: clamp(1.2rem, 4vw, 2rem) !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;
}
