/* Products Section Styles extracted from style.css */
.products-section {
    padding: 20px 0;
}

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

.product-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.product-image-wrapper {
    padding-top: 100%;
    position: relative;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.product-info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 5px 0;
}

.product-description {
    font-size: 0.8rem;
    color: #4a5568;
    margin-bottom: 10px;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    gap: 8px;
}

.product-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a202c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60%;
}

.btn-add-to-cart,
.btn-buy-now {
    background: linear-gradient(135deg, #059669, #047857);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.2);
    white-space: nowrap;
}

.btn-add-to-cart:hover,
.btn-buy-now:hover {
    background: linear-gradient(135deg, #047857, #065f46);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(5, 150, 105, 0.3);
}

.botpey-watermark {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: #a0aec0;
}

.botpey-watermark .brand-name {
    font-weight: bold;
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .category-section {
        padding: 20px 0;
    }
    .products-section {
        padding: 15px 0;
    }
    .store-name {
        font-size: 1.2rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .product-description {
        display: none;
    }
    .product-info {
        padding: 10px;
    }
    .product-name {
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .category-section {
        padding: 15px 0;
    }
    .products-section {
        padding: 12px 0;
    }
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .product-name {
        font-size: 0.9rem;
    }
    .product-image {
        height: 140px;
    }
    .product-info {
        padding: 8px;
    }
    .product-price {
        font-size: 0.95rem;
        max-width: 55%;
    }
    .btn-add-to-cart,
    .btn-buy-now {
        padding: 3px 6px;
        font-size: 0.65rem;
    }
}
