/* ===================================
   COMPACT & MOBILE-OPTIMIZED HOME PAGE
   Everything compressed for better mobile experience
   =================================== */

/* Hero Section - Much Smaller */
.hero-section {
    padding: 1rem 0 0rem 0 !important;
    margin-bottom: 0rem !important;
}

.hero-content {
    max-width: 100%;
    padding: 0 0.75rem;
}

/* Welcome Message - Smaller */
.hero-welcome {
    padding: 0.5rem 1.25rem !important;
    margin-bottom: 0.75rem !important;
}

.hero-welcome-text {
    font-size: 0.75rem !important;
    letter-spacing: 1px !important;
    gap: 0.35rem !important;
}

.hero-welcome-text i {
    font-size: 0.7rem !important;
}

/* Hero Title - Responsive */
.hero-title {
    font-size: 2rem !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.3 !important;
}

.hero-title i {
    font-size: 1.8rem !important;
    margin-right: 0.5rem !important;
}

.hero-subtitle {
    font-size: 1rem !important;
    margin-bottom: 1.25rem !important;
    line-height: 1.4 !important;
}

/* Large Screens - Hero Better */
@media (min-width: 1200px) {
    .hero-section {
        padding: 0rem 0 1.5rem 0 !important;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-title i {
        font-size: 2.2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.15rem !important;
    }
    
    .hero-welcome {
        padding: 0.6rem 1.5rem !important;
    }
    
    .hero-welcome-text {
        font-size: 0.85rem !important;
    }
    
    .trust-badge {
        padding: 0.5rem 1rem !important;
        font-size: 0.8rem !important;
    }
    
    .advanced-search-container {
        padding: 0.75rem !important;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .hero-search-input {
        padding: 0.75rem 1rem 0.75rem 2.75rem !important;
        font-size: 1rem !important;
    }
    
    .hero-search-btn {
        padding: 0.75rem 2rem !important;
        font-size: 1rem !important;
    }
}

/* Trust Badges - Compact */
.hero-trust-badges {
    margin-bottom: 0.75rem !important;
    gap: 0.5rem !important;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-badge {
    padding: 0.35rem 0.75rem !important;
    font-size: 0.7rem !important;
    border-radius: 12px !important;
}

.trust-badge i {
    font-size: 0.7rem !important;
    margin-right: 0.35rem !important;
}

/* Search Box - Compact */
.hero-search-box {
    max-width: 100%;
    margin-bottom: 0.75rem;
}

.advanced-search-container {
    padding: 0.5rem !important;
    gap: 0.5rem !important;
    border-radius: 12px !important;
}

.search-input-wrapper {
    flex: 1;
}

.search-icon {
    left: 0.75rem !important;
    font-size: 0.9rem !important;
}

.hero-search-input {
    padding: 0.6rem 0.75rem 0.6rem 2.25rem !important;
    font-size: 0.875rem !important;
    border-radius: 8px !important;
}

.hero-search-btn {
    padding: 0.6rem 1.25rem !important;
    font-size: 0.875rem !important;
    border-radius: 8px !important;
    white-space: nowrap;
}

.hero-search-btn i {
    font-size: 0.8rem !important;
    margin-right: 0.35rem !important;
}

/* Category Pills - Smaller */
.hero-categories {
    gap: 0.5rem !important;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-category-badge {
    padding: 0.4rem 0.9rem !important;
    font-size: 0.75rem !important;
    border-radius: 20px !important;
}

.hero-category-badge i {
    font-size: 0.7rem !important;
    margin-right: 0.35rem !important;
}

/* Product Grid - Responsive */
.products-grid-container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 1rem !important;
    padding: 1rem 0 !important;
}

/* Large Screens - Better Grid */
@media (min-width: 1200px) {
    .products-grid-container {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
        gap: 1.5rem !important;
        padding: 1.5rem 0 !important;
    }
    
    .product-image-wrapper {
        height: 300px !important;
        padding: 0.75rem !important;
    }
    
    .product-content {
        padding: 1rem !important;
    }
    
    .product-title {
        font-size: 1rem !important;
        min-height: 40px !important;
    }
    
    .current-price {
        font-size: 1.25rem !important;
    }
    
    .product-category {
        font-size: 0.75rem !important;
    }
    
    .btn-view-details,
    .btn-select-options {
        padding: 0.65rem 1rem !important;
        font-size: 0.85rem !important;
    }
    
    .btn-add-cart-quick {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
}

/* Medium Screens */
@media (min-width: 992px) and (max-width: 1199px) {
    .products-grid-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
        gap: 1rem !important;
    }
    
    .product-image-wrapper {
        height: 160px !important;
    }
}

/* Product Card - Cool Gradient Borders */
.product-card {
    border-radius: 12px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06) !important;
    border: 2px solid;
    border-image: linear-gradient(135deg, rgba(59, 157, 213, 0.3), rgba(123, 192, 67, 0.3)) 1 !important;
    background: white !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.product-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #3B9DD5, #7BC043, #3B9DD5);
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px) scale(1.01) !important;
    box-shadow: 0 6px 18px rgba(59, 157, 213, 0.25) !important;
    border-image: linear-gradient(135deg, #3B9DD5, #7BC043) 1 !important;
}

.product-card:hover::after {
    opacity: 0.1;
}

/* Mobile - Simpler border */
@media (max-width: 768px) {
    .product-card {
        border: 1.5px solid rgba(59, 157, 213, 0.25) !important;
        border-radius: 10px !important;
    }
    
    .product-card:hover {
        transform: none !important;
        border-color: rgba(59, 157, 213, 0.5) !important;
    }
}

/* Product Image - Responsive */
.product-image-wrapper {
    height: 300px !important;
    padding: 0.5rem !important;
}

.product-image {
    padding: 0.5rem !important;
}

/* Product Badges - Smaller */
.product-badges {
    top: 0.5rem !important;
    left: 0.5rem !important;
    gap: 0.35rem !important;
}

.product-badge {
    padding: 0.25rem 0.6rem !important;
    font-size: 0.65rem !important;
    border-radius: 12px !important;
    letter-spacing: 0.3px !important;
}

/* Product Content - Responsive */
.product-content {
    padding: 0.75rem !important;
}

.product-category {
    font-size: 0.65rem !important;
    margin-bottom: 0.25rem !important;
}

.product-title {
    font-size: 0.85rem !important;
    margin-bottom: 0.3rem !important;
    line-height: 1.3 !important;
    min-height: 32px !important;
}

/* Rating - Smaller */
.product-card-rating {
    gap: 0.25rem !important;
    margin-bottom: 0.35rem !important;
}

.product-card-stars {
    font-size: 0.7rem !important;
}

.product-card-rating-text {
    font-size: 0.65rem !important;
}

/* Price - Smaller */
.price-section {
    margin-bottom: 0.5rem !important;
}

.price-wrapper {
    gap: 0.5rem !important;
}

.current-price {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
}

.list-price {
    font-size: 0.8rem !important;
}

.discount-percent {
    font-size: 0.7rem !important;
    padding: 0.2rem 0.5rem !important;
}

/* Product Actions - Compact */
.product-actions {
    gap: 0.5rem !important;
    margin-top: 0.5rem !important;
}

.btn-view-details,
.btn-select-options {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.75rem !important;
    border-radius: 8px !important;
    flex: 1;
}

.btn-view-details i,
.btn-select-options i {
    font-size: 0.7rem !important;
    margin-right: 0.35rem !important;
}

.btn-add-cart-quick {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
}

/* Features Section - Compact */
.features-section {
    padding: 2rem 0 !important;
    margin-bottom: 1.5rem !important;
}

.feature-item {
    padding: 1rem !important;
    margin-bottom: 0.75rem !important;
}

.feature-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.2rem !important;
    margin-bottom: 0.5rem !important;
}

.feature-title {
    font-size: 0.875rem !important;
    margin-bottom: 0.35rem !important;
}

.feature-description {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
}

/* Statistics Section - Compact */
.stats-section {
    padding: 1.5rem 0 !important;
    margin-bottom: 1.5rem !important;
}

.stat-item {
    padding: 0.75rem !important;
    margin-bottom: 0.5rem !important;
}

.stat-number {
    font-size: 1.5rem !important;
    margin-bottom: 0.25rem !important;
}

.stat-label {
    font-size: 0.75rem !important;
}

/* Filter Section - Compact */
.filter-section {
    padding: 0.75rem !important;
    margin-bottom: 1rem !important;
    border-radius: 12px !important;
}

.filter-title {
    font-size: 0.875rem !important;
    margin-bottom: 0.75rem !important;
}

.filter-group {
    margin-bottom: 0.75rem !important;
}

.filter-label {
    font-size: 0.75rem !important;
    margin-bottom: 0.5rem !important;
}

.form-control,
.form-select {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.875rem !important;
    border-radius: 8px !important;
}

/* Price Range - Smaller */
.price-display {
    font-size: 0.8rem !important;
    margin: 0.5rem 0 !important;
}

/* Load More Button - Smaller */
#loadMoreBtn {
    padding: 0.6rem 1.5rem !important;
    font-size: 0.875rem !important;
    border-radius: 25px !important;
}

#loadMoreBtn i {
    font-size: 0.8rem !important;
    margin-right: 0.5rem !important;
}

/* ===================================
   MOBILE RESPONSIVE (Priority)
   =================================== */

@media (max-width: 768px) {
    /* Hero - Even Smaller on Mobile */
    .hero-section {
        padding: 0rem 0 1rem 0 !important;
        margin-bottom: 0rem !important;
    }

    .hero-title {
        font-size: 1.25rem !important;
    }

    .hero-subtitle {
        font-size: 0.8rem !important;
    }

    .hero-welcome {
        padding: 0.4rem 1rem !important;
    }

    .hero-welcome-text {
        font-size: 0.7rem !important;
    }

    /* Trust Badges - Stack on Mobile */
    .hero-trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.4rem !important;
    }

    .trust-badge {
        width: auto;
        padding: 0.3rem 0.6rem !important;
    }

    /* Search - Full Width on Mobile */
    .advanced-search-container {
        flex-direction: column;
        padding: 0.75rem !important;
    }

    .hero-search-input {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .hero-search-btn {
        width: 100%;
        padding: 0.65rem !important;
    }

    /* Categories - Smaller on Mobile */
    .hero-categories {
        gap: 0.4rem !important;
    }

    .hero-category-badge {
        padding: 0.35rem 0.75rem !important;
        font-size: 0.7rem !important;
    }

    /* Product Grid - 2 Columns on Mobile (FORCED) */
    .products-grid-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
        padding: 0.5rem 0 !important;
    }

    /* Product Card - Very Compact for Mobile */
    .product-image-wrapper {
        height: 90px !important;
        padding: 0.3rem !important;
    }

    .product-content {
        padding: 0.4rem !important;
    }

    .product-category {
        font-size: 0.6rem !important;
        margin-bottom: 0.2rem !important;
    }

    .product-title {
        font-size: 0.7rem !important;
        min-height: 20px !important;
        line-height: 1.2 !important;
        margin-bottom: 0.25rem !important;
    }

    /* Rating - Tiny on Mobile */
    .product-card-rating {
        gap: 0.2rem !important;
        margin-bottom: 0.25rem !important;
    }

    .product-card-stars {
        font-size: 0.65rem !important;
    }

    .product-card-rating-text {
        font-size: 0.6rem !important;
    }

    /* Price - Smaller on Mobile */
    .price-section {
        margin-bottom: 0.4rem !important;
    }

    .current-price {
        font-size: 0.85rem !important;
    }

    .list-price {
        font-size: 0.7rem !important;
    }

    .discount-percent {
        font-size: 0.65rem !important;
        padding: 0.15rem 0.4rem !important;
    }

    /* Product Actions - Compact Horizontal */
    .product-actions {
        gap: 0.3rem !important;
        margin-top: 0.4rem !important;
    }

    .btn-view-details,
    .btn-select-options {
        flex: 1;
        padding: 0.4rem 0.5rem !important;
        font-size: 0.65rem !important;
        border-radius: 6px !important;
    }

    .btn-view-details i,
    .btn-select-options i {
        font-size: 0.65rem !important;
        margin-right: 0.25rem !important;
    }

    .btn-add-cart-quick {
        width: 32px !important;
        height: 32px !important;
        padding: 0 !important;
        font-size: 0.8rem !important;
        border-radius: 6px !important;
        flex-shrink: 0;
    }

    /* Product Badges - Tiny on Mobile */
    .product-badges {
        top: 0.35rem !important;
        left: 0.35rem !important;
        gap: 0.25rem !important;
    }

    .product-badge {
        padding: 0.2rem 0.5rem !important;
        font-size: 0.6rem !important;
        border-radius: 10px !important;
    }

    /* Features - Stack on Mobile */
    .features-section {
        padding: 1.5rem 0 !important;
    }

    .feature-item {
        margin-bottom: 0.5rem !important;
    }

    /* Stats - 2 Columns on Mobile */
    .stats-section {
        padding: 1rem 0 !important;
    }

    .stat-item {
        padding: 0.6rem !important;
    }

    .stat-number {
        font-size: 1.25rem !important;
    }

    .stat-label {
        font-size: 0.7rem !important;
    }
}

@media (max-width: 576px) {
    /* Extra Small Mobile - FORCE 2 Columns Always */
    .products-grid-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.4rem !important;
        padding: 0.5rem 0 !important;
    }

    .product-card {
        max-width: 100% !important;
    }

    .product-image-wrapper {
        height: 80px !important;
        padding: 0.25rem !important;
    }

    .product-content {
        padding: 0.35rem !important;
    }

    .product-category {
        font-size: 0.55rem !important;
        margin-bottom: 0.15rem !important;
    }

    .product-title {
        font-size: 0.65rem !important;
        min-height: 16px !important;
        line-height: 1.15 !important;
        margin-bottom: 0.2rem !important;
    }

    .product-card-rating {
        margin-bottom: 0.2rem !important;
    }

    .product-card-stars {
        font-size: 0.6rem !important;
    }

    .product-card-rating-text {
        font-size: 0.55rem !important;
    }

    .price-section {
        margin-bottom: 0.35rem !important;
    }

    .current-price {
        font-size: 0.75rem !important;
        font-weight: 700 !important;
    }

    .list-price {
        font-size: 0.65rem !important;
    }

    .discount-percent {
        font-size: 0.6rem !important;
        padding: 0.1rem 0.35rem !important;
    }

    .product-actions {
        gap: 0.25rem !important;
        margin-top: 0.35rem !important;
    }

    .btn-view-details,
    .btn-select-options {
        padding: 0.35rem 0.4rem !important;
        font-size: 0.6rem !important;
        border-radius: 5px !important;
        line-height: 1.2 !important;
    }

    .btn-view-details i,
    .btn-select-options i {
        font-size: 0.6rem !important;
        margin-right: 0.2rem !important;
    }

    .btn-add-cart-quick {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.7rem !important;
        border-radius: 5px !important;
    }

    .product-badges {
        top: 0.3rem !important;
        left: 0.3rem !important;
    }

    .product-badge {
        padding: 0.15rem 0.4rem !important;
        font-size: 0.55rem !important;
    }

    .hero-title {
        font-size: 1.1rem !important;
    }

    .hero-subtitle {
        font-size: 0.75rem !important;
    }
}

/* Container Padding - Reduced */
.container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
}

@media (max-width: 768px) {
    .container {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}

/* Section Spacing - Reduced */
section {
    margin-bottom: 1.5rem !important;
}

@media (max-width: 768px) {
    section {
        margin-bottom: 1rem !important;
    }
}

/* ===================================
   SERVICES SECTION - COMPACT
   =================================== */

/* Services Section - Much Smaller */
.services-showcase-section {
    padding: 1.5rem 0 !important;
    margin-bottom: 1rem !important;
}

.services-header {
    margin-bottom: 1rem !important;
    gap: 0.75rem !important;
}

.services-title {
    font-size: 1.25rem !important;
    margin-bottom: 0.4rem !important;
}

.services-title i {
    font-size: 1.1rem !important;
    margin-right: 0.4rem !important;
}

.services-subtitle {
    font-size: 0.85rem !important;
}

.services-subtitle {
    font-size: 0.875rem !important;
    margin: 0 !important;
}

.view-all-services-btn {
    padding: 0.6rem 1.25rem !important;
    font-size: 0.875rem !important;
    border-radius: 8px !important;
}

.view-all-services-btn i {
    font-size: 0.8rem !important;
    margin-left: 0.5rem !important;
}

/* Services Grid - Compact */
.services-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 1rem !important;
}

/* Service Card - Much Smaller */
.service-card-home {
    border-radius: 10px !important;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.06) !important;
}

.service-card-home:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.15) !important;
}

/* Service Image - Smaller */
.service-card-image-wrapper {
    height: 120px !important;
}

/* Service Content - Compact */
.service-card-content {
    padding: 0.75rem !important;
}

.service-card-title {
    font-size: 0.9rem !important;
    margin-bottom: 0.4rem !important;
    line-height: 1.3 !important;
}

.service-card-description {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.6rem !important;
}

/* Service Pricing - Smaller */
.service-card-pricing {
    margin-bottom: 0.6rem !important;
}

.service-price-original {
    font-size: 0.85rem !important;
}

.service-price-final {
    font-size: 1.1rem !important;
}

/* Service Button - Smaller */
.service-card-btn {
    padding: 0.5rem 0.9rem !important;
    font-size: 0.8rem !important;
    border-radius: 6px !important;
}

.service-card-btn i {
    font-size: 0.75rem !important;
    margin-right: 0.4rem !important;
}

/* Service Badges - Smaller */
.service-offer-badge {
    padding: 0.35rem 0.75rem !important;
    font-size: 0.75rem !important;
    border-radius: 12px !important;
}

.service-type-badge-home {
    padding: 0.3rem 0.6rem !important;
    font-size: 0.7rem !important;
    border-radius: 8px !important;
}

.service-type-badge-home i {
    font-size: 0.7rem !important;
    margin-right: 0.35rem !important;
}

/* Large Screens - Services */
@media (min-width: 1200px) {
    .services-showcase-section {
        padding: 2.5rem 0 !important;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.5rem !important;
    }
    
    .service-card-image-wrapper {
        height: 160px !important;
    }
    
    .service-card-content {
        padding: 1rem !important;
    }
}

/* Medium Screens - Services */
@media (min-width: 768px) and (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem !important;
    }
}

/* Mobile - Services */
@media (max-width: 767px) {
    .services-showcase-section {
        padding: 1.5rem 0 !important;
    }
    
    .services-header {
        flex-direction: column;
        align-items: flex-start !important;
        margin-bottom: 1rem !important;
    }
    
    .services-title {
        font-size: 1.25rem !important;
    }
    
    .services-subtitle {
        font-size: 0.8rem !important;
    }
    
    .view-all-services-btn {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .service-card-image-wrapper {
        height: 130px !important;
    }
    
    .service-card-content {
        padding: 0.65rem !important;
    }
    
    .service-card-title {
        font-size: 0.85rem !important;
    }
    
    .service-card-description {
        font-size: 0.7rem !important;
    }
    
    .service-price-final {
        font-size: 0.85rem !important;
    }
    
    .service-card-btn {
        padding: 0.4rem 0.75rem !important;
        font-size: 0.75rem !important;
    }
}

/* ===================================
   MINIMIZE STOCK MESSAGES
   =================================== */

/* Out of Stock Badge - Minimized */
.badge-out-of-stock {
    padding: 0.2rem 0.5rem !important;
    font-size: 0.6rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    top: 0.4rem !important;
    right: 0.4rem !important;
    animation: none !important; /* Remove animation for minimal look */
}

/* Stock Alert - Minimized */
.stock-alert {
    padding: 0.3rem 0.6rem !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 0.7rem !important;
    gap: 0.3rem !important;
    animation: none !important; /* Remove animation */
}

.stock-alert i {
    font-size: 0.8rem !important;
    animation: none !important;
}

/* Low Stock / Only X Left Messages - Minimized */
.stock-warning,
.stock-info,
.only-left-message {
    font-size: 0.65rem !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 6px !important;
    margin-top: 0.3rem !important;
    display: inline-block !important;
}

/* Mobile - Even Smaller Stock Messages */
@media (max-width: 768px) {
    .badge-out-of-stock {
        padding: 0.15rem 0.4rem !important;
        font-size: 0.55rem !important;
        top: 0.3rem !important;
        right: 0.3rem !important;
    }
    
    .stock-alert {
        padding: 0.25rem 0.5rem !important;
        font-size: 0.65rem !important;
    }
    
    .stock-warning,
    .stock-info,
    .only-left-message {
        font-size: 0.6rem !important;
        padding: 0.2rem 0.4rem !important;
    }
}

/* ===================================
   MINIMIZE STOCK MESSAGES
   =================================== */

/* Out of Stock Badge - Minimized */
.badge-out-of-stock {
    padding: 0.2rem 0.5rem !important;
    font-size: 0.6rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    top: 0.4rem !important;
    right: 0.4rem !important;
    animation: none !important; /* Remove animation for minimal look */
}

/* Stock Alert - Minimized */
.stock-alert {
    padding: 0.3rem 0.6rem !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 0.7rem !important;
    gap: 0.3rem !important;
    animation: none !important; /* Remove animation */
}

.stock-alert i {
    font-size: 0.8rem !important;
    animation: none !important;
}

/* Low Stock / Only X Left Messages - Minimized */
.stock-warning,
.stock-info,
.only-left-message {
    font-size: 0.65rem !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 6px !important;
    margin-top: 0.3rem !important;
    display: inline-block !important;
}

/* Mobile - Even Smaller Stock Messages */
@media (max-width: 768px) {
    .badge-out-of-stock {
        padding: 0.15rem 0.4rem !important;
        font-size: 0.55rem !important;
        top: 0.3rem !important;
        right: 0.3rem !important;
    }
    
    .stock-alert {
        padding: 0.25rem 0.5rem !important;
        font-size: 0.65rem !important;
    }
    
    .stock-warning,
    .stock-info,
    .only-left-message {
        font-size: 0.6rem !important;
        padding: 0.2rem 0.4rem !important;
    }
}

/* ===================================
   FORCE 2 COLUMNS ON ALL MOBILE SIZES
   Override any conflicting styles
   =================================== */

/* Ensure 2 columns on all mobile breakpoints */
@media (max-width: 991px) {
    .products-grid-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Extra override for very small screens */
@media (max-width: 400px) {
    .products-grid-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.35rem !important;
    }
    
    .product-image-wrapper {
        height: 75px !important;
    }
    
    .product-content {
        padding: 0.3rem !important;
    }
    
    .product-title {
        font-size: 0.6rem !important;
        min-height: 14px !important;
    }
    
    .current-price {
        font-size: 0.7rem !important;
    }
    
    .btn-view-details,
    .btn-select-options {
        padding: 0.3rem 0.35rem !important;
        font-size: 0.55rem !important;
    }
    
    .btn-add-cart-quick {
        width: 26px !important;
        height: 26px !important;
        font-size: 0.65rem !important;
    }
}

