/* ================================================
   ELEGANT PRODUCTS SHOWCASE STYLES
   ================================================ */

/* Products Section */
.products-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #F5F3EB 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F09161' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* Header */
.products-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.products-title {
    font-family: Arial, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #F09161;
    margin: 0 0 16px 0;
    position: relative;
}



.products-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Products Container */
.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* Product Card */
.product-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 84, 94, 0.06);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 1px solid rgba(245, 243, 235, 0.8);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 84, 94, 0.12);
    border-color: rgba(181, 185, 129, 0.3);
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Image Container */
.product-image-container {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(45deg, #F5F3EB, #ffffff);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-image {
    transform: scale(1.1) rotate(2deg);
}

/* Discount Badge */
.discount-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Product Overlay */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 84, 94, 0.8), rgba(181, 185, 129, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-details-btn {
    background: white;
    color: #00545E;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.product-card:hover .view-details-btn {
    transform: translateY(0);
}

/* Product Content */
.product-content {
    padding: 28px;
}

.product-header {
    margin-bottom: 16px;
}

.product-title {
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    color: #00313B;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.product-badge {
    background: rgba(181, 185, 129, 0.1);
    color: #B7B981;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Product Description */
.product-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-description p {
    margin: 0 0 8px 0;
}

.product-description p:last-child {
    margin-bottom: 0;
}





.product-description ul,
.product-description ol {
    margin: 0;
    padding-left: 16px;
}

.product-description li {
    margin-bottom: 4px;
}

/* Product Meta */
.product-meta {
    margin-bottom: 24px;
}

.product-details {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.detail-item {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 243, 235, 0.7);
    padding: 6px 12px;
    border-radius: 16px;
}

/* Product Footer */
.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(245, 243, 235, 0.8);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.current-price {
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #B7B981;
}

.original-price {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

.add-to-cart-btn {
    background: linear-gradient(135deg, #00545E, #00313B);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #00313B, #001A1E);
    transform: scale(1.05);
}

/* No Products State */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 40px;
    color: #666;
}

.no-products-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.no-products h3 {
    font-family: Arial, sans-serif;
    font-size: 24px;
    color: #00313B;
    margin-bottom: 12px;
}

.no-products p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

/* Icons (CSS-only icons for better performance) */
.icon-eye::before { content: "👁"; }
.icon-package::before { content: "📦"; }
.icon-weight::before { content: "⚖️"; }
.icon-cart::before { content: "🛒"; }

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 1024px) {
    .products-container {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 30px;
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .products-section {
        padding: 60px 0;
    }
    
    .products-header {
        margin-bottom: 40px;
    }
    
    .products-title {
        font-size: 36px;
        margin-bottom: 12px;
    }
    
    .products-subtitle {
        font-size: 16px;
    }
    
    .products-container {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }
    
    .product-card {
        border-radius: 16px;
    }
    
    .product-content {
        padding: 24px;
    }
    
    .product-title {
        font-size: 18px;
    }
    
    .product-description {
        font-size: 13px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .product-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .current-price {
        font-size: 18px;
    }
    
    .add-to-cart-btn {
        justify-content: center;
        width: 100%;
        padding: 12px 20px;
    }
    
    .detail-item {
        font-size: 11px;
    }
    
    .no-products {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .products-section {
        padding: 50px 0;
    }
    
    .products-title {
        font-size: 28px;
    }
    
    .products-subtitle {
        font-size: 14px;
        padding: 0 20px;
    }
    
    .products-container {
        padding: 0 15px;
    }
    
    .product-content {
        padding: 20px;
    }
    
    .product-title {
        font-size: 16px;
    }
    
    .current-price {
        font-size: 16px;
    }
    
    .add-to-cart-btn {
        font-size: 12px;
        padding: 10px 16px;
    }
    
    .discount-badge {
        top: 12px;
        right: 12px;
        padding: 6px 10px;
        font-size: 11px;
    }
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .products-title {
        font-size: 36px;
        line-height: 52px;
        margin: 40px 0 30px 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 380px;
        padding: 0 20px;
    }
    
    .product-card {
        padding: 25px 20px;
        border-radius: 12px;
    }
    
    .product-card img {
        width: 220px;
        height: 220px;
        margin-bottom: 20px;
    }
    
    .product-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .product-desc {
        font-size: 1rem;
        max-width: 250px;
        margin-bottom: 15px;
    }
    
    .product-price .current-price {
        font-size: 1.2rem;
    }
    
    .view-details {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .products-title {
        font-size: 32px;
        line-height: 46px;
    }
    
    .products-grid {
        max-width: 320px;
        gap: 25px;
    }
    
    .product-card {
        padding: 20px 15px;
    }
    
    .product-card img {
        width: 180px;
        height: 180px;
    }
    
    .product-title {
        font-size: 1.2rem;
    }
    
    .product-desc {
        font-size: 0.95rem;
        max-width: 220px;
    }
}
