/* Products Section Styles */

.products-section {
    padding: 3rem 0;
}

/* Category Tabs */
.category-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.category-tabs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.category-tab {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
    font-size: 0.95rem;
}

.category-tab:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.category-tab.active {
    background: var(--primary-gold);
    color: var(--text-primary);
    border-color: var(--primary-gold);
}

/* Products Grid */
.products-grid-container {
    width: 100%;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.product-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: 0 6px 18px rgba(15, 15, 15, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15, 15, 15, 0.12);
}

.product-card .card-media {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.product-card .card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card .card-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.product-card .card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

[data-theme="dark"] .product-card .card-title {
    color: var(--primary-white);
}

@media (max-width: 768px) {
    .category-tabs {
        gap: 0.75rem;
    }

    .category-tab {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1rem;
    }

    .product-card .card-media {
        height: 150px;
    }

    .product-card .card-body {
        padding: 1rem;
    }
}
/* PDF Download Icon */
.product-pdf-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;
}

.pdf-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background-color: #d4af37;
    border-radius: 50%;
    color: white;
    font-size: 28px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.pdf-download-btn:hover {
    background-color: #c9a227;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.pdf-download-btn:active {
    transform: scale(0.95);
}

/* PDF Catalog Button */
.pdf-catalog-container {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.pdf-catalog-btn {
    width: auto;
    height: auto;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    gap: 0.75rem;
}

.pdf-catalog-btn i {
    font-size: 24px;
}

.pdf-catalog-btn span {
    white-space: nowrap;
}

.pdf-catalog-btn:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .pdf-catalog-btn {
        padding: 1rem 2rem;
        font-size: 14px;
    }
    
    .pdf-catalog-btn i {
        font-size: 20px;
    }
}