:root {
    --color-bg: #f2f8f6;
    --color-header: #dcefe9;
    --color-text: #111827;
    --color-muted: #6b7280;
    --color-border: #e5e7eb;
    --color-primary: #0f766e;
    --space-page: 24px;
    --font-sans: Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    overflow-x: clip;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
}

main {
    flex: 1;
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: var(--space-page);
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-header);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 13px var(--space-page);
}

.site-logo {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    text-decoration: none;
}

.site-logo img {
    display: block;
    width: 220px;
    height: auto;
}

.site-footer__logo img {
    width: 150px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--color-muted);
    font-size: 14px;
}

.mobile-actions {
    display: none;
}

.site-nav a,
.site-nav button {
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: #ffffff;
}

.site-cart__icon {
    width: 18px;
    height: 18px;
}

.cart-count {
    position: absolute;
    top: -7px;
    right: -7px;
    display: grid;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    place-items: center;
    border: 2px solid var(--color-header);
    border-radius: 999px;
    background: var(--color-primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

.cart-count:empty {
    display: none;
}

.site-nav__form {
    margin: 0;
}

.language-menu {
    position: relative;
}

.language-menu summary {
    display: flex;
    width: auto;
    height: auto;
    padding: 0;
    align-items: center;
    gap: 5px;
    border: 0;
    background: transparent;
    color: var(--color-muted);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    list-style: none;
}

.language-menu summary::-webkit-details-marker {
    display: none;
}

.language-menu summary::after {
    width: 5px;
    height: 5px;
    margin-left: 0;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    content: "";
    transform: rotate(45deg) translateY(-2px);
}

.language-menu__panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 120;
    display: grid;
    width: 64px;
    margin: 0;
    padding: 3px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.language-menu__option {
    display: grid;
    min-height: 28px;
    padding: 0 6px;
    place-items: center;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--color-text);
    font: inherit;
    font-size: 14px;
    line-height: 1;
    text-align: center;
}

.language-menu button {
    cursor: pointer;
}

.language-menu button:hover {
    background: #eef7f5;
    color: var(--color-primary);
}

.language-menu__option--current {
    color: var(--color-primary);
    font-weight: 800;
}

.site-footer {
    border-top: 1px solid #c3d8d2;
    background: #d5e7e2;
}

.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 24px var(--space-page);
    color: var(--color-muted);
    font-size: 14px;
}

.site-footer__nav {
    display: flex;
    gap: 18px;
}

.site-footer__contact {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

.site-footer__nav a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.home-hero {
    position: relative;
    width: 100vw;
    aspect-ratio: 2103 / 748;
    margin-left: calc(50% - 50vw);
    margin-top: calc(-1 * var(--space-page));
    overflow: hidden;
    isolation: isolate;
    background-color: var(--color-bg);
    background-image:
        linear-gradient(90deg, rgba(242, 248, 246, 0.9) 0%, rgba(242, 248, 246, 0.78) 33%, rgba(242, 248, 246, 0.42) 58%, rgba(242, 248, 246, 0.05) 82%),
        url("/static/images/home-hero-peptides.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%, 100% auto;
}

.home-hero__content {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 88px 24px 0;
}

.home-hero__eyebrow {
    margin: 0 0 14px;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.home-hero h1 {
    max-width: 720px;
    margin: 0;
    font-size: 56px;
    line-height: 1.04;
}

.home-hero__text {
    max-width: 560px;
    margin: 22px 0 0;
    color: var(--color-muted);
    font-size: 18px;
    line-height: 1.65;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.home-hero__panel {
    display: none;
}

.trust-strip.home-hero__trust {
    position: absolute;
    z-index: 1;
    bottom: 24px;
    left: max(24px, calc(50% - 536px));
    width: min(560px, calc(100% - 48px));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: rgba(242, 248, 246, 0.88);
}

.home-hero__trust div {
    padding: 14px 16px;
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.home-hero__trust div:nth-child(2n) {
    border-right: 0;
}

.home-hero__trust div:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.button--primary {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #ffffff;
}

.button--secondary {
    background: #ffffff;
    color: var(--color-text);
}

.metric {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}

.metric:last-child {
    border-bottom: 0;
}

.metric strong {
    font-size: 28px;
}

.metric span {
    color: var(--color-muted);
    font-size: 14px;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
}

.trust-strip div {
    padding: 18px;
    border-right: 1px solid var(--color-border);
}

.trust-strip div:last-child {
    border-right: 0;
}

.trust-strip strong,
.trust-strip span {
    display: block;
}

.trust-strip span {
    margin-top: 6px;
    color: var(--color-muted);
    font-size: 14px;
}

.home-section {
    padding: 56px 0;
}

.section-heading p {
    margin: 0 0 8px;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0 0 24px;
    font-size: 32px;
}

.section-heading--row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.section-link {
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.product-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.home-empty {
    padding: 32px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #f8fafc;
}

.home-empty h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.home-empty p {
    margin: 0;
    color: var(--color-muted);
}

.product-card {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.product-card__image {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #eef7f5, #f8fafc);
    border-bottom: 1px solid var(--color-border);
}

.product-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image-placeholder {
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-card__category {
    margin: 16px 16px 6px;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
}

.product-card__title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 0 16px 18px;
}

.product-card__title > div {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}

.product-card__title h3 {
    margin: 0;
    font-size: 18px;
}

.product-card__title span {
    flex: 0 0 auto;
    color: var(--color-muted);
    font-size: 14px;
}

.product-card__price {
    display: block;
    flex: 0 0 auto;
    white-space: nowrap;
}

.site-nav a:hover,
.site-nav button:hover,
.site-footer__nav a:hover,
.section-link:hover {
    color: var(--color-primary);
}

.button:hover {
    transform: translateY(-1px);
}

.product-card:hover {
    border-color: #99d5cb;
}

.home-category-filters {
    margin-top: -8px;
}

.home-products__view-all--mobile {
    display: none;
}

.page-heading {
    padding: 24px 0 32px;
}

.page-heading p {
    margin: 0 0 8px;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.page-heading h1 {
    margin: 0;
    font-size: 44px;
    line-height: 1.08;
}

.page-heading .page-heading__text {
    max-width: 640px;
    margin: 2px 0 0;
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    text-transform: none;
}

.legal-page {
    max-width: 820px;
    margin: 0 auto;
    padding-bottom: 72px;
}

.legal-page__content {
    display: grid;
    gap: 24px;
}

.legal-page__content section {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.legal-page__content h2 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.25;
}

.legal-page__content p {
    margin: 0;
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.7;
}

.error-page {
    display: grid;
    justify-items: center;
    align-content: center;
    min-height: 560px;
    padding: 72px 24px 96px;
    text-align: center;
}

.error-page p {
    margin: 0 0 16px;
    color: var(--color-primary);
    font-size: 64px;
    font-weight: 800;
    line-height: 0.95;
}

.error-page h1 {
    margin: 0;
    font-size: 48px;
    line-height: 1.06;
}

.error-page span {
    max-width: 520px;
    margin: 20px 0 32px;
    color: var(--color-muted);
    font-size: 17px;
    line-height: 1.6;
}

.error-page a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid var(--color-primary);
    border-radius: 6px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

