/* Size Guide Page Styles */
.size-guide-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding-top: 120px; /* Add padding to account for fixed header */
}

/* Override any header animations for this page */
body.size-guide-page header {
    transform: translateY(0) !important;
    opacity: 1 !important;
    background-color: #000 !important;
    transition: none !important;
}

.page-header {
    background: linear-gradient(135deg, #03c6fb 0%, #0099cc 100%);
    color: #fff;
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.15"/><circle cx="20" cy="60" r="0.5" fill="white" opacity="0.15"/><circle cx="80" cy="40" r="0.5" fill="white" opacity="0.15"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 1rem;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.sizing-intro {
    background: #fff;
    border-radius: 16px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid #03c6fb;
}

.sizing-intro h2 {
    color: #03c6fb;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.sizing-intro p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #333;
}

.fit-note {
    background: linear-gradient(135deg, #e8f4fd 0%, #d4eafc 100%);
    border: 2px solid #03c6fb;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.disclaimer-note {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.disclaimer-note h3 {
    color: #856404;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.disclaimer-note p {
    color: #856404;
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
}

.fit-note h3 {
    color: #03c6fb;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.size-section {
    background: #fff;
    border-radius: 16px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-left: 6px solid #03c6fb;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: #333;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

.size-chart {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.size-chart th {
    background: linear-gradient(135deg, #03c6fb 0%, #0099cc 100%);
    color: #fff;
    font-weight: 600;
    padding: 1.5rem 1rem;
    text-align: center;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.size-chart td {
    padding: 1.25rem 1rem;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
    color: #333;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.size-chart tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.size-chart tbody tr:hover {
    background: #e8f4fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 198, 251, 0.2);
}

.size-chart tbody tr:last-child td {
    border-bottom: none;
}

.examples-box {
    background: #f8f9fa;
    border-left: 4px solid #03c6fb;
    border-radius: 0 8px 8px 0;
    padding: 2rem;
    margin: 2rem 0;
}

.examples-box h4 {
    color: #03c6fb;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.examples-box p {
    margin-bottom: 0.5rem;
    color: #333;
    line-height: 1.6;
}

.dual-table-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

.table-group h4 {
    color: #03c6fb;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.size-chart.compact {
    margin: 0;
}

.fit-preferences {
    background: #e8f4fd;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.fit-preferences p {
    margin-bottom: 0.5rem;
    color: #333;
}

.measurement-guide {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.measurement-guide h4 {
    color: #03c6fb;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.measurement-guidelines {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
}

.guideline-group h5 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.guideline-group p {
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.95rem;
}

.quick-reference {
    background: linear-gradient(135deg, #03c6fb 0%, #0099cc 100%);
    color: #fff;
    border-radius: 16px;
    padding: 3rem;
    margin: 4rem 0;
    text-align: center;
}

.quick-reference h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.reference-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.reference-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.reference-card p {
    margin: 0;
    line-height: 1.6;
    opacity: 0.95;
}

.care-section {
    background: #fff;
    border-radius: 16px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.care-section h2 {
    color: #333;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.care-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.care-item {
    text-align: center;
    padding: 2rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.care-item:hover {
    border-color: #03c6fb;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(3, 198, 251, 0.2);
}

.care-item h4 {
    color: #03c6fb;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.cta-section {
    background: #fff;
    border-radius: 16px;
    padding: 3rem;
    margin: 3rem 0;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.cta-section h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-btn {
    background: linear-gradient(135deg, #03c6fb 0%, #0099cc 100%);
    color: #fff;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(3, 198, 251, 0.3);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(3, 198, 251, 0.4);
    text-decoration: none;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .sizing-intro,
    .size-section,
    .care-section,
    .cta-section {
        padding: 2rem;
        margin: 2rem 0;
    }
    
    .dual-table-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .measurement-guidelines {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .size-chart th,
    .size-chart td {
        padding: 1rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
}