/* Products Page Styles */
.products-page {
    padding: 60px 0;
    min-height: 70vh;
    background-color: var(--light-gray);
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-title {
    font-size: 42px;
    color: var(--primary-teal);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-subtitle {
    font-size: 18px;
    color: var(--medium-gray);
}

.admin-link-container {
    text-align: left;
    margin-bottom: 30px;
}

.admin-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--gold);
    color: var(--dark-teal);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.admin-link:hover {
    background-color: var(--light-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.admin-instructions {
    background-color: #e3f2fd;
    border: 2px solid var(--primary-teal);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    text-align: right;
}

.admin-instructions p {
    margin: 0;
    color: var(--primary-teal);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-instructions i {
    color: var(--primary-teal);
    font-size: 18px;
}

/* Filter Section */
.products-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.filter-btn {
    padding: 10px 25px;
    background-color: var(--light-gray);
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-btn:hover {
    background-color: var(--primary-teal);
    color: var(--white);
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: var(--primary-teal);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(26, 95, 122, 0.3);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.product-card {
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.product-image {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
    background: transparent;
    margin-bottom: 20px;
}

.product-image::before {
    display: none;
}

.product-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
    border-radius: 10px;
}

.product-image .placeholder {
    font-size: 60px;
    color: rgba(26, 95, 122, 0.3);
    position: relative;
    z-index: 1;
    background: white;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.product-info {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: transparent;
    align-items: center;
    text-align: center;
    width: 100%;
}

.product-category {
    display: none;
}

.product-name {
    font-size: 26px;
    color: #1a5f7a;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
}

.product-description {
    display: none;
}

.product-specs {
    display: none;
}

.product-specs li {
    padding: 5px 0;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.product-specs li i {
    color: #ffd700;
    font-size: 12px;
}

.product-price {
    font-size: 24px;
    color: #1a5f7a;
    font-weight: 600;
    margin-bottom: 0;
    text-align: center;
}

.product-actions {
    display: none;
}

.btn-contact {
    flex: 1;
    padding: 14px 20px;
    background-color: #1a5f7a;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-contact:hover {
    background-color: #154a5f;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.btn-contact i {
    font-size: 18px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--medium-gray);
}

.empty-state i {
    font-size: 80px;
    color: var(--light-teal);
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 20px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 10px 20px;
    background-color: var(--white);
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    min-width: 45px;
    text-align: center;
}

.pagination-btn:hover:not(:disabled) {
    background-color: var(--primary-teal);
    color: var(--white);
    transform: translateY(-2px);
}

.pagination-btn.active {
    background-color: var(--primary-teal);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(26, 95, 122, 0.3);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    color: var(--medium-gray);
    font-size: 16px;
    margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .products-filter {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
    }

    .page-title {
        font-size: 32px;
    }

    .product-card {
        margin-bottom: 15px;
    }

    .product-name {
        font-size: 20px;
    }

    .product-price {
        font-size: 20px;
    }

    .pagination-btn {
        padding: 8px 15px;
        font-size: 14px;
        min-width: 40px;
    }
}

@media (max-width: 480px) {
    .products-page {
        padding: 30px 0;
    }

    .page-title {
        font-size: 28px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-image {
        height: auto;
    }

    .product-name {
        font-size: 18px;
    }

    .product-price {
        font-size: 18px;
    }

    .pagination {
        gap: 5px;
    }

    .pagination-btn {
        padding: 8px 12px;
        font-size: 12px;
        min-width: 35px;
    }

    .pagination-info {
        font-size: 14px;
        margin: 0 5px;
    }
}

