/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,300;0,600;1,300;1,600&display=swap');

/* Products Page Styles */
.products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 30px; /* Standardized horizontal padding to match index page */
}

.products-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.products-header h1 {
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-size: 2.5rem;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.products-header p {
    color: #555;
    font-size: 1.2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.product-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: all 0.35s ease;
    background-color: #fff;
    border: 1px solid #f0f0f0;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-card:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #1a73e8, #34a853);
    transition: width 0.3s ease;
}

.product-card:hover:after {
    width: 100%;
}

.product-image {
    width: 100%;
    height: 260px;
    object-fit: contain;
    background-color: #f7f7f7;
    transition: transform 0.5s ease;
    padding: 1.5rem;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 1.8rem;
    border-top: 1px solid #f0f0f0;
}

.product-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    font-family: 'Noto Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #1a1a1a;
}

.product-tagline {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
    font-style: italic;
}

.product-description {
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
    color: #444;
    line-height: 1.6;
}

/* Comparison section styles */
.comparison-section {
    margin-top: 4rem;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.comparison-section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-section > p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #555;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #eaeaea;
}

.comparison-table th {
    background-color: #1a73e8;
    color: white;
    font-weight: 600;
    position: relative;
    padding-top: 110px; /* Space for the image */
}

.comparison-table th:first-child {
    background-color: #f9f9f9;
    color: #333;
    padding-top: 15px;
}

.comparison-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.comparison-table tbody tr:hover {
    background-color: #f1f1f1;
}

.comparison-table td:first-child {
    font-weight: 600;
    text-align: left;
    background-color: #f5f5f5;
}

.comparison-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    padding: 5px;
    border-radius: 5px;
}

.comparison-table th span {
    display: block;
    margin-top: 5px;
    font-size: 1.2rem;
}

.compare-cta {
    display: inline-block;
    background-color: #1a73e8;
    color: white;
    padding: 8px 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.compare-cta:hover {
    background-color: #1557b0;
    transform: translateY(-2px);
}

.cta-button {
    display: inline-block;
    background-color: #1a73e8;
    color: white;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(26, 115, 232, 0.2);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button:hover {
    background-color: #1557b0;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(26, 115, 232, 0.3);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(26, 115, 232, 0.2);
}

.auth-check {
    text-align: center;
    padding: 3rem;
    background-color: #f7f7f7;
    border-radius: 8px;
    margin: 2rem auto;
    max-width: 600px;
}

/* Page header styles removed - now using site-header from main.css */
/*
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.logo {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nav-link:hover {
    color: #1a73e8;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}
*/

.price-section {
    text-align: center;
    margin-top: 1.5rem;
}

.price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1a73e8;
    margin-bottom: 1rem;
}

.buy-button {
    display: inline-block;
    background-color: #1a73e8;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s ease;
    margin: 0 0.5rem;
}

.buy-button:hover {
    background-color: #1557b0;
}

.buy-button.vst {
    background-color: #34a853;
}

.buy-button.vst:hover {
    background-color: #2d8f47;
}

.shipping-info {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .products-container {
        padding: 1rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .products-header h1 {
        font-size: 2rem;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
}
