/* Core Colors */
:root {
    /* Main Colors */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #4f46e5;
    --accent: #f59e0b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text-dark: #1f2937;
    --text-body: #4b5563;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f3f4f6;
    --border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    line-height: 1.5;
    color: var(--text-body);
    background: var(--bg-light);
}

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

/* Navbar */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.25rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.logo-icon i {
    color: white;
    font-size: 1.5rem;
}

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

.nav-links a {
    color: var(--text-body);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Calculator */
.calculator {
    padding: 4rem 0;
}

.calculator-card {
    background: var(--bg-white);
    border-radius: 24px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.calculator-form {
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.breed-select {
    grid-column: 1 / -1;
}

select,
input[type="number"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: all 0.2s;
}

select:focus,
input[type="number"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.age-inputs {
    display: flex;
    gap: 1rem;
}

.input-wrapper {
    flex: 1;
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
    padding-right: 4rem; /* Make room for the label */
}

.input-wrapper span {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    background-color: var(--bg-white);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.input-wrapper:focus-within input {
    border-color: var(--primary);
}

.input-wrapper:focus-within span {
    color: var(--primary);
}

.radio-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.radio {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio input[type="radio"] {
    display: none;
}

.radio span {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    color: var(--text-body);
    font-weight: 500;
    transition: all 0.2s;
}

.radio input[type="radio"]:checked + span {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.calculate-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.calculate-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.calculate-btn:active {
    transform: translateY(0);
}

/* Results */
.results {
    border-top: 2px solid var(--border);
    padding-top: 2rem;
    margin-top: 2rem;
}

.results-header {
    text-align: center;
    margin-bottom: 2rem;
}

.results-header h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.breed-name {
    color: var(--primary);
    font-weight: 500;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.result-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.result-card .icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.result-card .icon i {
    color: white;
    font-size: 1.5rem;
}

.result-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.weight-value,
.calorie-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.weight-range {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.classification {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--success);
    color: white;
}

.classification.underweight {
    background: var(--warning);
}

.classification.overweight {
    background: var(--danger);
}

.note {
    display: block;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Exercise Recommendations */
.exercise-recommendations {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 1.5rem;
}

.exercise-recommendations h4 {
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.exercise-recommendations h4 i {
    color: var(--primary);
}

.exercise-list {
    list-style: none;
}

.exercise-list li {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-body);
}

.exercise-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--bg-light);
    margin-top: 4rem;
}

.footer-content {
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary);
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.footer-description {
    color: var(--bg-light);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-section h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--bg-light);
    opacity: 0.8;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    opacity: 1;
    transform: translateX(5px);
}

.newsletter-text {
    color: var(--bg-light);
    opacity: 0.8;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.newsletter-form .form-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 0.95rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom .container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom p {
    color: var(--bg-light);
    opacity: 0.7;
    font-size: 0.9rem;
}

.disclaimer {
    font-style: italic;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links a:hover {
        transform: none;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        padding: 1rem;
        box-shadow: var(--shadow);
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .calculator-card {
        padding: 1.5rem;
    }

    .radio-group {
        flex-direction: column;
    }

    .radio span {
        width: 100%;
        text-align: center;
    }

    .weight-value,
    .calorie-value {
        font-size: 1.5rem;
    }
}

.hidden {
    display: none;
}

/* Global Styles */
body {
    background-color: var(--bg-white);
    color: var(--text-body);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
}

p {
    color: var(--text-body);
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.logo-icon i {
    color: white;
    font-size: 1.5rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        padding: 1rem;
        box-shadow: var(--shadow);
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/paw-pattern.svg');
    background-repeat: repeat;
    opacity: 0.1;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

/* Calculator Form */
.calculator-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.calculator-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.calculator-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -100px;
    width: 200px;
    height: 200px;
    background-image: url('../images/dog-silhouette.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateY(-50%);
    opacity: 0.1;
    pointer-events: none;
}

.calculator-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

select, input, .form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    color: var(--text-body);
    background: var(--bg-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

select:focus, input:focus, .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(47, 28, 106, 0.1);
    outline: none;
}

.age-inputs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.age-input-group {
    position: relative;
}

.age-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* Button Styles */
.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Results Section */
.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.result-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.result-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.result-card p {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.result-card small {
    color: var(--text-light);
    display: block;
    margin-top: 0.5rem;
}

.weight-classification {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Exercise Recommendations */
.exercise-recommendations {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.exercise-recommendations h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.exercise-recommendations ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.exercise-recommendations li {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-body);
    position: relative;
}

.exercise-recommendations li:before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
}

.exercise-recommendations li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .calculator-card {
        padding: 1.5rem;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .calculator-wrapper::before {
        display: none;
    }
}

@media (max-width: 576px) {
    .age-inputs {
        grid-template-columns: 1fr;
    }

    .calculator-card {
        padding: 1rem;
    }

    .form-row {
        flex-direction: column;
    }

    .form-group {
        width: 100%;
        margin-right: 0;
    }
}

.hidden {
    display: none;
}

/* Product Recommendations */
.product-recommendations {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem auto;
    max-width: 1200px;
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    max-width: 320px;
}

.product-image {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.product-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.product-cta {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    margin-top: auto;
    transition: all 0.3s ease;
}

.product-cta:hover {
    background: var(--primary-dark);
}

.affiliate-disclaimer {
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
    font-style: italic;
    padding: 1rem;
    border-top: 1px solid var(--border);
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.product-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    z-index: 2;
    background: var(--bg-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-image-container {
    position: relative;
    padding-top: 75%;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.3s ease;
}

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

.product-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: var(--bg-white);
    position: relative;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.product-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.product-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.product-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.affiliate-disclaimer {
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
    font-style: italic;
    padding: 1rem;
    border-top: 1px solid var(--border);
}

.recommendations-section {
    margin-top: 2rem;
    padding: 2rem 1rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem auto;
    max-width: 1200px;
}

.product-card {
    padding: 1.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-icon {
    font-size: 2rem;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.product-description {
    color: var(--text-light);
    margin: 0.5rem 0 1.5rem;
    line-height: 1.6;
}

.product-cta {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        gap: 1rem;
    }

    .product-card {
        margin: 0 0.5rem;
    }

    .product-content {
        padding: 1rem;
    }

    .product-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .product-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .product-cta {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* SEO Article Section */
.article-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.seo-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.seo-content h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.seo-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.seo-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.seo-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-light);
}

.seo-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.cta-box {
    background: var(--primary-light);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
    text-align: center;
}

.cta-box h4 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.cta-box p {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .seo-content {
        padding: 1.5rem;
    }
    
    .seo-content h2 {
        font-size: 1.75rem;
    }
    
    .seo-content h3 {
        font-size: 1.25rem;
    }
}

.faq-section {
    margin-top: 2rem;
}

.faq-item {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.faq-item h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .faq-item {
        padding: 1.25rem;
    }
    
    .faq-item h4 {
        font-size: 1rem;
    }
    
    .faq-item p {
        font-size: 0.9rem;
    }
}

.calculator-methods {
    margin: 2rem 0;
}

.method-item {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary);
}

.method-item h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.method-item p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.method-item ul {
    margin: 0;
    padding-left: 1.5rem;
}

.method-item li {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.method-item:hover {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .method-item {
        padding: 1.25rem;
    }
    
    .method-item h4 {
        font-size: 1rem;
    }
    
    .method-item p, .method-item li {
        font-size: 0.9rem;
    }
}

.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ui-autocomplete .ui-menu-item {
    padding: 8px 12px;
    font-size: 14px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
}

.ui-autocomplete .ui-menu-item:hover,
.ui-autocomplete .ui-menu-item.ui-state-focus {
    background-color: #f8f9fa;
    color: #333;
}

.ui-helper-hidden-accessible {
    display: none;
}

/* Affiliate Disclaimer */
.affiliate-disclaimer {
    background-color: var(--bg-white);
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    margin-top: 2rem;
}

.disclaimer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.disclaimer-content h3 {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.disclaimer-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.disclaimer-content i {
    color: var(--primary);
}

@media (max-width: 768px) {
    .disclaimer-content {
        padding: 0 1rem;
    }
    
    .disclaimer-content h3 {
        font-size: 1.1rem;
    }
    
    .disclaimer-content p {
        font-size: 0.9rem;
    }
}

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

/* Method Cards */
.calculator-methods {
    margin: 2rem 0;
}

.method-item {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary);
}

.method-item h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.method-item p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.method-item ul {
    margin: 0;
    padding-left: 1.5rem;
}

.method-item li {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq-section {
    margin-top: 2rem;
}

.faq-item {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.faq-item h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Notice Banner */
.notice-banner {
    background-color: var(--secondary-light);
    border-bottom: none;
    padding: 0.75rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.notice-banner strong {
    color: var(--secondary-dark);
}

/* Important Notice Banner */
.important-notice {
    background-color: #fff3cd;
    border-bottom: 1px solid #ffeeba;
    padding: 1rem 0;
    margin-bottom: 0;
}

.important-notice h2 {
    color: #856404;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.important-notice p {
    color: #856404;
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .calculator-card {
        margin-top: -2rem;
        padding: 1.5rem;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .blog-card {
        margin-bottom: 1.5rem;
    }
}

/* Custom Select2 Styling */
.select2-container--default .select2-selection--single {
    height: 48px;
    padding: 0.5rem 1rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text-primary);
    line-height: 2;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
}

.select2-dropdown {
    border: 2px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--primary);
}

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

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Age Input Styling */
.age-inputs {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.age-input-group {
    flex: 1;
    position: relative;
}

.age-input-group input[type="number"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-body);
    background-color: var(--bg-white);
    transition: all 0.3s ease;
    padding-right: 4rem; /* Space for the label */
}

.age-input-group input[type="number"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(47, 28, 106, 0.1);
    outline: none;
}

.age-label {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 0.875rem;
    pointer-events: none;
}

/* Remove number input spinners */
.age-input-group input[type="number"]::-webkit-inner-spin-button,
.age-input-group input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.age-input-group input[type="number"] {
    -moz-appearance: textfield;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .age-inputs {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Results Section Styling */
.results-section {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

.results-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.results-content h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.result-label {
    color: var(--text-light);
    font-size: 0.875rem;
}

.result-value {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
}

.result-note {
    color: var(--text-light);
    font-size: 0.875rem;
    text-align: center;
    margin-top: 1.5rem;
    font-style: italic;
}

/* Animation for results */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-content {
    animation: slideIn 0.5s ease-out forwards;
}

/* Exercise Recommendations */
.exercise-recommendations {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.exercise-recommendations h4 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

.exercise-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.exercise-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.exercise-item:hover {
    transform: translateY(-2px);
}

.exercise-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.exercise-text {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .exercise-content {
        grid-template-columns: 1fr;
    }
    
    .exercise-item {
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
        text-align: left;
    }
    
    .exercise-icon {
        margin-bottom: 0;
    }
}

/* Product Recommendations */
.recommendations-section {
    margin-top: 2rem;
    padding: 2rem 1rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem auto;
    max-width: 1200px;
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    max-width: 320px;
}

.product-image {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.product-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.product-cta {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    margin-top: auto;
    transition: all 0.3s ease;
}

.product-cta:hover {
    background: var(--primary-dark);
}

.affiliate-disclaimer {
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
    font-style: italic;
    padding: 1rem;
    border-top: 1px solid var(--border);
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.product-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    z-index: 2;
    background: var(--bg-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-image-container {
    position: relative;
    padding-top: 75%;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.3s ease;
}

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

.product-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: var(--bg-white);
    position: relative;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.product-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.product-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.product-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.affiliate-disclaimer {
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
    font-style: italic;
    padding: 1rem;
    border-top: 1px solid var(--border);
}

.recommendations-section {
    margin-top: 2rem;
    padding: 2rem 1rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem auto;
    max-width: 1200px;
}

.product-card {
    padding: 1.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-icon {
    font-size: 2rem;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.product-description {
    color: var(--text-light);
    margin: 0.5rem 0 1.5rem;
    line-height: 1.6;
}

.product-cta {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        gap: 1rem;
    }

    .product-card {
        margin: 0 0.5rem;
    }

    .product-content {
        padding: 1rem;
    }

    .product-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .product-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .product-cta {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* SEO Article Section */
.article-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.seo-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.seo-content h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.seo-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.seo-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.seo-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-light);
}

.seo-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.cta-box {
    background: var(--primary-light);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
    text-align: center;
}

.cta-box h4 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.cta-box p {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .seo-content {
        padding: 1.5rem;
    }
    
    .seo-content h2 {
        font-size: 1.75rem;
    }
    
    .seo-content h3 {
        font-size: 1.25rem;
    }
}

.faq-section {
    margin-top: 2rem;
}

.faq-item {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.faq-item h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .faq-item {
        padding: 1.25rem;
    }
    
    .faq-item h4 {
        font-size: 1rem;
    }
    
    .faq-item p {
        font-size: 0.9rem;
    }
}

.calculator-methods {
    margin: 2rem 0;
}

.method-item {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary);
}

.method-item h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.method-item p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.method-item ul {
    margin: 0;
    padding-left: 1.5rem;
}

.method-item li {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.method-item:hover {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .method-item {
        padding: 1.25rem;
    }
    
    .method-item h4 {
        font-size: 1rem;
    }
    
    .method-item p, .method-item li {
        font-size: 0.9rem;
    }
}

.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ui-autocomplete .ui-menu-item {
    padding: 8px 12px;
    font-size: 14px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
}

.ui-autocomplete .ui-menu-item:hover,
.ui-autocomplete .ui-menu-item.ui-state-focus {
    background-color: #f8f9fa;
    color: #333;
}

.ui-helper-hidden-accessible {
    display: none;
}

/* Affiliate Disclosure Page */
.page-content {
    padding: 4rem 0;
    background: var(--bg-light);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.content-wrapper h1 {
    color: var(--text-dark);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.content-wrapper h1 i {
    color: var(--primary);
}

.disclosure-section {
    margin-bottom: 2.5rem;
}

.disclosure-section:last-child {
    margin-bottom: 0;
}

.disclosure-section h2 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.disclosure-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.disclosure-section ul {
    list-style-type: none;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.disclosure-section ul li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    position: relative;
}

.disclosure-section ul li:before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: -1.5rem;
    font-size: 1.2em;
}

.disclosure-section a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.disclosure-section a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .content-wrapper h1 {
        font-size: 2rem;
    }

    .disclosure-section h2 {
        font-size: 1.25rem;
    }

    .disclosure-section p,
    .disclosure-section ul li {
        font-size: 0.95rem;
    }
}

/* Amazon Disclosure */
.amazon-disclosure {
    display: none;
}

@media (max-width: 768px) {
    .amazon-disclosure {
        display: none;
    }
}

/* Amazon Notice on Affiliate Page */
.amazon-notice {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--primary);
}

.amazon-notice p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.6;
}

.amazon-notice i {
    color: var(--primary);
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .amazon-notice {
        padding: 1.25rem;
        margin-bottom: 2rem;
    }

    .amazon-notice p {
        font-size: 1rem;
    }

    .amazon-notice i {
        font-size: 1.25rem;
    }
}

/* Homepage Affiliate Disclaimer */
.affiliate-disclaimer {
    background-color: var(--bg-white);
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    margin-top: 2rem;
}

.affiliate-disclaimer .disclaimer-content {
    text-align: center;
}

.affiliate-disclaimer p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
}

.affiliate-disclaimer i {
    color: var(--primary);
    font-size: 1.2rem;
}

.affiliate-disclaimer a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.affiliate-disclaimer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .affiliate-disclaimer {
        padding: 0.75rem 1rem;
    }
    
    .affiliate-disclaimer p {
        font-size: 0.9rem;
    }
}
