.home-page {
    padding-top: 64px;
}

.home-hero {
    overflow: hidden;
    padding: var(--space-xl) 0 96px;
    background: var(--color-surface);
}

.home-hero__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--space-lg);
    align-items: center;
}

.home-hero__content {
    grid-column: span 7;
    position: relative;
    z-index: 1;
}

.home-hero__content .body-large {
    max-width: 580px;
    margin: var(--space-md) 0 var(--space-lg);
}

.home-hero__media {
    grid-column: span 5;
    position: relative;
}

.home-hero__image-frame {
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--color-surface-high);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.home-hero__image-frame img,
.guide-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-hero__spotlight {
    position: absolute;
    bottom: calc(var(--space-base) * -1);
    left: calc(var(--space-base) * -1);
    padding: var(--space-md);
    background: var(--color-surface-lowest);
    border: var(--border-soft);
    box-shadow: var(--shadow-soft);
}

.home-hero__spotlight p {
    margin: 0 0 var(--space-xs);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-hero__spotlight strong {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
}

.home-categories,
.home-products,
.home-latest {
    padding: var(--space-xl) 0;
    background: var(--color-surface-lowest);
}

.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.text-link {
    border-bottom: 1px solid currentColor;
    padding-bottom: var(--space-xs);
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
}

.home-categories__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-md);
}

.category-card {
    display: flex;
    aspect-ratio: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-surface-low);
    transition: background 0.3s ease, color 0.3s ease;
}

.category-card:hover {
    background: var(--color-primary-container);
    color: var(--color-on-primary);
}

.category-card .material-symbols-outlined {
    font-size: 48px;
}

.category-card strong {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-align: center;
    text-transform: uppercase;
}

.home-guides {
    padding: var(--space-xl) 0;
    background: var(--color-surface-low);
}

.home-guides__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.guide-card {
    display: flex;
    overflow: hidden;
    background: var(--color-surface-lowest);
    border: var(--border-soft);
    border-radius: var(--radius-lg);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.guide-card__media {
    position: relative;
    width: 50%;
    min-height: 280px;
}

.home-guides .guide-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #fff;
}

.home-guides .guide-card__media img {
    object-fit: contain;
    object-position: center;
}

.guide-card__media span {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: var(--color-primary);
    color: var(--color-on-primary);
    padding: var(--space-xs) var(--space-sm);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.guide-card__body {
    display: flex;
    width: 50%;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-lg);
}

.guide-card__body p {
    margin: 0 0 var(--space-md);
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 1.6;
}

.guide-card__body p:first-child,
.guide-card__body footer {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.guide-card__body h3 {
    margin: 0 0 var(--space-md);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.guide-card__body footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    color: rgba(25, 28, 29, 0.6);
}

.section-heading-center {
    margin-bottom: var(--space-lg);
    text-align: center;
}

.product-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-md);
}

.product-card {
    display: flex;
    flex-direction: column;
    padding: var(--space-md);
    border: var(--border-soft);
    border-radius: var(--radius-lg);
}

.product-card__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 1;
    margin-bottom: var(--space-md);
    padding: 16px;
    background: #fff;
    border-radius: var(--radius-md);
}

.product-card__media img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: contain;
    object-position: center;
}

.product-card__media span {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-surface-highest);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.product-card h3 {
    margin: 0 0 var(--space-xs);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
}

.product-card__type {
    margin: 0 0 var(--space-sm);
    color: var(--color-text-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-card__notes {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.product-card__notes li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xs);
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.4;
}

.product-card__notes li:first-child {
    color: #15803d;
}

.product-card__notes .material-symbols-outlined {
    font-size: 18px;
}

.product-card__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-sm);
    margin-top: auto;
}

.product-card__actions a {
    padding: var(--space-sm);
    border: var(--border-soft);
    background: var(--color-surface-low);
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.product-card__actions a.affiliate-link {
    background: var(--color-primary);
    color: var(--color-on-primary);
}

.home-trust {
    padding: var(--space-xl) 0;
    background: var(--color-primary);
    color: var(--color-on-primary);
}

.home-trust__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-lg);
}

.home-trust .material-symbols-outlined {
    margin-bottom: var(--space-md);
    color: var(--color-primary-fixed);
    font-size: 32px;
}

.home-trust h3 {
    margin: 0 0 var(--space-sm);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
}

.home-trust p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.6;
}

.latest-review-grid {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.latest-review-feature {
    display: block;
    color: inherit;
    text-decoration: none;
}

.latest-review-feature__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    margin-bottom: var(--space-md);
    padding: 24px;
    background: #fff;
    border-radius: var(--radius-lg);
}

.latest-review-feature__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.latest-review-feature__media span {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.latest-review-feature__media i {
    width: 1px;
    height: 16px;
    background: var(--color-outline-soft);
}

.latest-review-feature h3 {
    margin: 0 0 var(--space-sm);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.latest-review-feature p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 1.6;
}

.latest-review-feature__category {
    margin: 0 0 var(--space-xs);
    color: var(--color-text-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.latest-review-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.latest-review-item {
    display: flex;
    gap: var(--space-md);
    color: inherit;
    text-decoration: none;
}

.latest-review-item img {
    width: 96px;
    height: 96px;
    flex: 0 0 96px;
    padding: 10px;
    background: #fff;
    border-radius: var(--radius-md);
    object-fit: contain;
    object-position: center;
}

.latest-review-item p {
    margin: 0 0 var(--space-xs);
    color: var(--color-text-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.latest-review-item h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.latest-review-item span {
    display: inline-block;
    margin-top: var(--space-xs);
    color: var(--color-text-muted);
    font-size: 12px;
    font-weight: 700;
}

.newsletter-panel {
    padding: var(--space-xl) 0;
    background: var(--color-surface-lowest);
    border-top: var(--border-soft);
    border-bottom: var(--border-soft);
}

.newsletter-panel__inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-panel p {
    margin: var(--space-md) 0 var(--space-lg);
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: var(--space-base);
}

.newsletter-form input {
    flex: 1 1 auto;
    min-width: 0;
    border: 1px solid var(--color-outline-soft);
    background: var(--color-surface-low);
    padding: var(--space-md);
}

.newsletter-form button {
    border: 0;
    background: var(--color-primary);
    color: var(--color-on-primary);
    padding: var(--space-md) var(--space-lg);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.newsletter-panel small {
    display: block;
    margin-top: var(--space-md);
    color: rgba(69, 70, 76, 0.7);
    font-size: 12px;
    font-style: italic;
    font-weight: 600;
}

@media (max-width: 900px) {
    .home-hero__grid,
    .latest-review-grid {
        grid-template-columns: 1fr;
    }

    .home-hero__content,
    .home-hero__media {
        grid-column: auto;
    }

    .home-categories__grid,
    .product-card-grid,
    .home-trust__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-guides__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .home-categories__grid,
    .product-card-grid,
    .home-trust__grid {
        grid-template-columns: 1fr;
    }

    .guide-card,
    .newsletter-form {
        flex-direction: column;
    }

    .guide-card__media,
    .guide-card__body {
        width: 100%;
    }

    .home-hero__spotlight {
        display: none;
    }
}
@media (max-width: 768px) {
    .home-hero {
        position: relative;
        min-height: calc(100svh - 64px);
        padding: 96px 0 88px;
        background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.56) 54%, rgba(0, 0, 0, 0.38) 100%), var(--home-hero-mobile-image);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }

    .home-hero__grid {
        min-height: calc(100svh - 248px);
        align-items: center;
    }

    .home-hero__content {
        color: #fff;
    }

    .home-hero__content .eyebrow,
    .home-hero__content .body-large {
        color: rgba(255, 255, 255, 0.86);
    }

    .home-hero__content .primary-button {
        background: #fff;
        color: #000;
        border: 1px solid #fff;
    }

    .home-hero__content .primary-button:hover {
        background: transparent;
        color: #fff;
        border-color: #fff;
    }

    .home-hero__content .secondary-button {
        color: #fff;
        border-color: rgba(255, 255, 255, 0.55);
    }

    .home-hero__content .secondary-button:hover {
        background: rgba(255, 255, 255, 0.14);
    }

    .home-hero__media {
        display: none;
    }
}
