:root {
    --background: #f3f5ef;
    --surface: rgba(255, 255, 255, 0.88);
    --surface-strong: #ffffff;
    --text: #1d261f;
    --muted: #667068;
    --green: #2f6b48;
    --green-dark: #214d35;
    --green-soft: #dfeadf;
    --border: rgba(35, 74, 49, 0.13);
    --shadow: 0 14px 40px rgba(30, 54, 37, 0.09);
    --radius-large: 26px;
    --radius-medium: 18px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--background);
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.5;
    background:
        radial-gradient(
            circle at top left,
            rgba(155, 196, 162, 0.28),
            transparent 38%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(226, 195, 136, 0.2),
            transparent 35%
        ),
        var(--background);
}

a {
    color: inherit;
}

.page {
    width: min(100% - 32px, 680px);
    margin: 0 auto;
    padding: 54px 0 34px;
}

.profile {
    text-align: center;
    margin-bottom: 38px;
}

.profile__image {
    display: block;
    width: 118px;
    height: 118px;
    margin: 0 auto 19px;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.profile__eyebrow {
    margin: 0 0 18px;
    color: var(--green);
    font-size: clamp(1rem, 3vw, 1.18rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.profile h1 {
    max-width: 590px;
    margin: 0 auto;
    color: var(--green-dark);
    font-size: clamp(2rem, 6.5vw, 2.9rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.profile__intro {
    max-width: 540px;
    margin: 20px auto 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
}

.section {
    margin-top: 34px;
}

.section__title {
    margin: 0 0 12px 4px;
    color: var(--green-dark);
    font-size: 1.08rem;
}

.section__note {
    margin: -3px 4px 14px;
    color: var(--muted);
    font-size: 0.78rem;
}

.link-card,
.partner-card {
    display: flex;
    width: 100%;
    margin: 12px 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    background: var(--surface);
    box-shadow: 0 8px 26px rgba(31, 59, 39, 0.06);
    text-decoration: none;
    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        border-color 160ms ease;
    backdrop-filter: blur(14px);
}

.link-card:hover,
.partner-card:hover {
    transform: translateY(-3px);
    border-color: rgba(47, 107, 72, 0.28);
    box-shadow: var(--shadow);
}

.link-card {
    align-items: center;
    min-height: 84px;
    padding: 17px 19px;
}

.link-card--primary {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(
        135deg,
        var(--green),
        var(--green-dark)
    );
}

.link-card__icon {
    display: grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    place-items: center;
    margin-right: 15px;
    border-radius: 14px;
    background: rgba(47, 107, 72, 0.11);
    font-size: 1.3rem;
}

.link-card--primary .link-card__icon {
    background: rgba(255, 255, 255, 0.14);
}

.link-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 3px;
}

.link-card__content small {
    color: var(--muted);
    font-size: 0.82rem;
}

.link-card--primary .link-card__content small {
    color: rgba(255, 255, 255, 0.76);
}

.link-card__arrow {
    margin-left: 14px;
    font-size: 1.3rem;
}

.partner-card {
    position: relative;
    flex-direction: column;
    padding: 22px;
    overflow: hidden;
}

.partner-card::after {
    position: absolute;
    top: -46px;
    right: -32px;
    width: 112px;
    height: 112px;
    content: "";
    border-radius: 50%;
    background: var(--green-soft);
    opacity: 0.65;
}

.partner-card__topline {
    display: flex;
    position: relative;
    z-index: 1;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.partner-card__topline strong {
    color: var(--green-dark);
    font-size: 1.13rem;
}

.partner-card__discount {
    flex-shrink: 0;
    padding: 8px 13px;
    color: var(--green-dark);
    border-radius: 999px;
    background: var(--green-soft);
    font-size: 0.88rem;
    font-weight: 800;
}

.partner-card__code {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.94rem;
}

.partner-card__button {
    margin-top: 19px;
    color: var(--green);
    font-size: 0.86rem;
    font-weight: 750;
}

.footer {
    margin-top: 48px;
    padding: 25px 10px;
    color: var(--muted);
    text-align: center;
    font-size: 0.79rem;
}

.footer p {
    margin: 0 0 8px;
}

.footer nav {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.legal-page {
    width: min(100% - 32px, 820px);
    margin: 0 auto;
    padding: 45px 0 70px;
}

.legal-card {
    padding: clamp(24px, 6vw, 44px);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
}

.legal-card h1,
.legal-card h2 {
    color: var(--green-dark);
}

.legal-card h1 {
    margin-top: 0;
}

.legal-card h2 {
    margin-top: 32px;
    font-size: 1.1rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--green);
    font-weight: 700;
    text-decoration: none;
}

.placeholder {
    padding: 18px;
    border: 1px dashed rgba(47, 107, 72, 0.35);
    border-radius: 14px;
    background: var(--green-soft);
}

@media (max-width: 520px) {
    .page {
        width: min(100% - 22px, 680px);
        padding-top: 38px;
    }

    .profile__image {
        width: 102px;
        height: 102px;
    }

    .partner-card__topline {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}

/* Recipe pages */

.recipe-page {
    width: min(100% - 32px, 820px);
    margin: 0 auto;
    padding: 36px 0 34px;
}

.recipe-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.recipe-nav .back-link {
    margin-bottom: 0;
}

.recipe-nav__brand {
    color: var(--green-dark);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}

.recipe {
    width: 100%;
}

.recipe-header {
    margin-bottom: 28px;
}

.recipe-header__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.recipe-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    color: var(--green-dark);
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--green-soft);
    font-size: 0.78rem;
    font-weight: 750;
}

.recipe-header h1 {
    max-width: 720px;
    margin: 0;
    color: var(--green-dark);
    font-size: clamp(2.2rem, 7vw, 3.7rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.recipe-header__description {
    max-width: 680px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 2.5vw, 1.12rem);
    line-height: 1.65;
}

.recipe-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 26px 0;
}

.recipe-meta__item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    background: var(--surface);
}

.recipe-meta__icon {
    font-size: 1.35rem;
}

.recipe-meta__item div {
    display: flex;
    flex-direction: column;
}

.recipe-meta__item small {
    color: var(--muted);
    font-size: 0.74rem;
}

.recipe-meta__item strong {
    color: var(--green-dark);
    font-size: 0.96rem;
}

.recipe-section {
    margin-top: 22px;
}

.recipe-intro {
    max-width: 700px;
    color: var(--text);
    font-size: 1.03rem;
    line-height: 1.7;
}

.recipe-card {
    padding: clamp(22px, 5vw, 32px);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    background: var(--surface-strong);
    box-shadow: 0 8px 28px rgba(31, 59, 39, 0.055);
}

.recipe-card h2 {
    margin: 0 0 18px;
    color: var(--green-dark);
    font-size: 1.25rem;
}

.recipe-card--tip {
    background: var(--green-soft);
}

.recipe-text {
    color: var(--text);
    line-height: 1.75;
    white-space: pre-line;
}

.recipe-text--lines {
    line-height: 1.9;
}

.recipe-cta {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 32px;
    padding: 22px;
    color: #ffffff;
    border-radius: var(--radius-large);
    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green-dark)
        );
    box-shadow: var(--shadow);
}

.recipe-cta__image {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
}

.recipe-cta strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.05rem;
}

.recipe-cta p {
    margin: 0 0 9px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.86rem;
}

.recipe-cta a {
    font-size: 0.84rem;
    font-weight: 750;
    text-decoration: none;
}

@media (max-width: 520px) {
    .recipe-page {
        width: min(100% - 22px, 820px);
        padding-top: 24px;
    }

    .recipe-nav {
        margin-bottom: 24px;
    }

    .recipe-nav__brand {
        font-size: 0.78rem;
    }

    .recipe-meta {
        grid-template-columns: 1fr;
    }

    .recipe-cta {
        align-items: flex-start;
    }

    .recipe-cta__image {
        flex-basis: 58px;
        width: 58px;
        height: 58px;
    }
}

/* Recipe overview */

.recipes-page {
    width: min(100% - 32px, 1040px);
    margin: 0 auto;
    padding: 36px 0 34px;
}

.recipes-header {
    max-width: 720px;
    margin: 42px 0 38px;
}

.recipes-header .profile__eyebrow {
    margin-bottom: 12px;
    text-align: left;
}

.recipes-header h1 {
    margin: 0;
    color: var(--green-dark);
    font-size: clamp(2.4rem, 7vw, 4.2rem);
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.recipes-header > p:last-child {
    max-width: 620px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.recipe-preview {
    display: flex;
    min-height: 250px;
    flex-direction: column;
    padding: clamp(22px, 4vw, 30px);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    background: var(--surface-strong);
    box-shadow: 0 8px 28px rgba(31, 59, 39, 0.055);
    text-decoration: none;
    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        border-color 160ms ease;
}

.recipe-preview:hover {
    transform: translateY(-3px);
    border-color: rgba(47, 107, 72, 0.28);
    box-shadow: var(--shadow);
}

.recipe-preview__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 22px;
}

.recipe-preview h2 {
    margin: 0;
    color: var(--green-dark);
    font-size: clamp(1.35rem, 3vw, 1.7rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.recipe-preview p {
    margin: 13px 0 22px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.recipe-preview__link {
    margin-top: auto;
    color: var(--green);
    font-size: 0.86rem;
    font-weight: 750;
}

@media (max-width: 680px) {
    .recipes-page {
        width: min(100% - 22px, 1040px);
        padding-top: 24px;
    }

    .recipes-header {
        margin: 32px 0 28px;
    }

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

    .recipe-preview {
        min-height: 0;
    }
}


/* Structured recipe ingredients */

.ingredient-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ingredient-item {
    margin: 0;
    padding: 0;
}

.ingredient-group {
    margin: 20px 0 8px;
    color: var(--green-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ingredient-item:first-child .ingredient-group {
    margin-top: 0;
}

.ingredient-row {
    display: grid;
    grid-template-columns: minmax(70px, 120px) 1fr;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
}

.ingredient-item:last-child .ingredient-row {
    border-bottom: 0;
}

.ingredient-amount {
    color: var(--green-dark);
    font-weight: 750;
}

.ingredient-name {
    color: var(--text);
}

.ingredient-name small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.78rem;
}

.recipe-steps {
    display: grid;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.recipe-step {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 15px;
    align-items: start;
}

.recipe-step__number {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border-radius: 50%;
    background: var(--green);
    font-size: 0.85rem;
    font-weight: 800;
}

.recipe-step__content h3 {
    margin: 1px 0 7px;
    color: var(--green-dark);
    font-size: 1rem;
}

.recipe-step__content p {
    margin: 0;
    color: var(--text);
    line-height: 1.7;
}

.recipe-step__duration {
    display: inline-block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.76rem;
}

@media (max-width: 520px) {
    .ingredient-row {
        grid-template-columns: minmax(64px, 88px) 1fr;
        gap: 10px;
    }

    .recipe-step {
        grid-template-columns: 36px 1fr;
        gap: 12px;
    }

    .recipe-step__number {
        width: 34px;
        height: 34px;
    }
}

/* Recipe filters */

.recipe-filters {
    margin: 1.75rem 0 2rem;
}

.recipe-filter-form {
    padding: 1.25rem;
    background: #ffffff;
    border-radius: 1.25rem;
    box-shadow: 0 8px 24px rgba(30, 55, 35, 0.08);
}

.recipe-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.recipe-filter {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.recipe-filter > span {
    font-size: 0.85rem;
    font-weight: 700;
}

.recipe-filter select {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(30, 55, 35, 0.16);
    border-radius: 0.8rem;
    background: #ffffff;
    color: inherit;
    font: inherit;
}

.recipe-filter-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.1rem;
}

.recipe-filter-button {
    border: 0;
    border-radius: 999px;
    padding: 0.75rem 1.15rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    background: #355f43;
    color: #ffffff;
}

.recipe-filter-button:hover {
    opacity: 0.9;
}

.recipe-filter-reset {
    color: #355f43;
    font-weight: 700;
    text-decoration: none;
}

.recipe-filter-reset:hover {
    text-decoration: underline;
}

@media (max-width: 520px) {
    .recipe-filter-grid {
        grid-template-columns: 1fr;
    }

    .recipe-filter-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .recipe-filter-button {
        width: 100%;
    }
}


/* =========================================================
   Recipe media
   ========================================================= */

.recipe-preview__image-wrap,
.recipe-preview__image-placeholder {
    width: calc(100% + 48px);
    margin: -24px -24px 20px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
}

.recipe-preview__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recipe-preview__image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef3ec;
}

.recipe-preview__image-placeholder span {
    font-size: 3rem;
}

.recipe-hero-media {
    margin: 0 0 32px;
}

.recipe-hero-media__image {
    display: block;
    width: 100%;
    max-height: 720px;
    object-fit: cover;
    border-radius: 20px;
}

.recipe-hero-media figcaption,
.recipe-gallery figcaption {
    margin-top: 8px;
    color: #667066;
    font-size: 0.9rem;
}

.recipe-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.recipe-gallery__item {
    margin: 0;
}

.recipe-gallery__item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
}

.recipe-reel-cta {
    margin: 32px 0;
    text-align: center;
}

.recipe-reel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 999px;
    background: #214d35;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 0.15s ease,
        opacity 0.15s ease;
}

.recipe-reel-button:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

@media (max-width: 640px) {
    .recipe-gallery {
        grid-template-columns: 1fr;
    }

    .recipe-preview__image-wrap,
    .recipe-preview__image-placeholder {
        width: calc(100% + 36px);
        margin: -18px -18px 18px;
    }
}


/* =========================================================
   Protected recipe image upload
   ========================================================= */

.upload-page {
    width: min(100% - 32px, 620px);
    margin: 0 auto;
    padding: 42px 0 60px;
}

.upload-card {
    padding: clamp(24px, 6vw, 42px);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
}

.upload-brand {
    display: inline-block;
    margin-bottom: 32px;
    color: var(--green-dark);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}

.upload-eyebrow {
    margin: 0 0 10px;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.upload-card h1 {
    margin: 0;
    color: var(--green-dark);
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.upload-intro {
    margin: 16px 0 28px;
    color: var(--muted);
    line-height: 1.65;
}

.upload-form {
    display: grid;
    gap: 20px;
}

.upload-file {
    display: flex;
    min-height: 110px;
    align-items: center;
    justify-content: center;
    padding: 22px;
    border: 2px dashed rgba(47, 107, 72, 0.28);
    border-radius: var(--radius-medium);
    background: var(--green-soft);
    cursor: pointer;
    text-align: center;
}

.upload-file > span {
    color: var(--green-dark);
    font-weight: 800;
}

.upload-file input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.upload-preview {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-medium);
    background: var(--green-soft);
}

.upload-preview[hidden] {
    display: none;
}

.upload-preview img {
    display: block;
    width: 100%;
    max-height: 620px;
    object-fit: cover;
}

.upload-field {
    display: grid;
    gap: 7px;
}

.upload-field > span {
    color: var(--green-dark);
    font-size: 0.86rem;
    font-weight: 750;
}

.upload-field small {
    color: var(--muted);
    font-weight: 500;
}

.upload-field input {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    background: #ffffff;
    font: inherit;
}

.upload-field input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(47, 107, 72, 0.1);
}

.upload-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 0.9rem;
    cursor: pointer;
}

.upload-checkbox input {
    width: 19px;
    height: 19px;
    accent-color: var(--green);
}

.upload-submit {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    color: #ffffff;
    border: 0;
    border-radius: 999px;
    background: var(--green-dark);
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.upload-submit:hover {
    opacity: 0.92;
}

.upload-note {
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.55;
    text-align: center;
}

.upload-success {
    text-align: center;
}

.upload-success__icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    margin: 0 auto 20px;
    color: #ffffff;
    border-radius: 50%;
    background: var(--green);
    font-size: 1.5rem;
    font-weight: 900;
}

.upload-success .upload-preview {
    margin: 26px 0;
}

@media (max-width: 520px) {
    .upload-page {
        width: min(100% - 22px, 620px);
        padding: 22px 0 40px;
    }

    .upload-card {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .upload-brand {
        margin-bottom: 26px;
    }

    .upload-file {
        min-height: 96px;
    }
}


/* =========================================================
   Global hamburger navigation
   ========================================================= */

.site-menu {
    position: relative;
    z-index: 50;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 26px;
}

.site-menu__details {
    position: relative;
}

.site-menu__button {
    display: grid;
    width: 46px;
    height: 46px;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--surface-strong);
    box-shadow: 0 6px 20px rgba(24, 55, 37, 0.07);
    cursor: pointer;
    list-style: none;
}

.site-menu__button::-webkit-details-marker {
    display: none;
}

.site-menu__button::marker {
    display: none;
    content: "";
}

.site-menu__button span {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 999px;
    background: var(--green-dark);
    transition:
        transform 0.18s ease,
        opacity 0.18s ease;
}

.site-menu__details[open] .site-menu__button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-menu__details[open] .site-menu__button span:nth-child(2) {
    opacity: 0;
}

.site-menu__details[open] .site-menu__button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-menu__panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    width: min(260px, calc(100vw - 44px));
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface-strong);
    box-shadow: 0 18px 45px rgba(24, 55, 37, 0.14);
}

.site-menu__panel a {
    padding: 11px 13px;
    color: var(--text);
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.site-menu__panel a:hover {
    color: var(--green-dark);
    background: var(--green-soft);
}

.site-menu__divider {
    height: 1px;
    margin: 7px 5px;
    background: var(--border);
}

@media (max-width: 520px) {
    .site-menu {
        margin-bottom: 20px;
    }

    .site-menu__button {
        width: 44px;
        height: 44px;
    }
}


/* =========================================================
   Advertising placeholders
   ========================================================= */

.ad-slot {
    margin: 28px 0;
}

.ad-slot__label {
    display: block;
    margin: 0 0 7px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ad-slot__placeholder {
    display: grid;
    min-height: 110px;
    place-items: center;
    padding: 18px;
    color: var(--muted);
    border: 1px dashed var(--border);
    border-radius: var(--radius-medium);
    background: rgba(255, 255, 255, 0.46);
    font-size: 0.78rem;
    text-align: center;
}

.ad-slot--wide .ad-slot__placeholder {
    min-height: 120px;
}

.ad-slot--recipe {
    margin: 34px 0;
}

@media (max-width: 520px) {
    .ad-slot {
        margin: 24px 0;
    }

    .ad-slot__placeholder,
    .ad-slot--wide .ad-slot__placeholder {
        min-height: 96px;
    }
}


/* Rabattcode copy controls */

.partner-card__code-row {
    display: flex;
    position: relative;
    z-index: 1;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 12px;
}

.partner-card__code-row .partner-card__code {
    margin-top: 0;
}

.partner-card__code strong {
    color: var(--green-dark);
    font-weight: 750;
}

.partner-card__copy {
    flex-shrink: 0;
    padding: 8px 12px;
    color: var(--green-dark);
    border: 1px solid rgba(47, 107, 72, 0.2);
    border-radius: 999px;
    background: var(--green-soft);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 750;
    cursor: pointer;
    transition:
        transform 160ms ease,
        background 160ms ease;
}

.partner-card__copy:hover {
    transform: translateY(-1px);
}

.partner-card__copy.is-copied {
    background: rgba(47, 107, 72, 0.18);
}

.partner-card__button {
    position: relative;
    z-index: 1;
    display: inline-block;
    align-self: flex-start;
    text-decoration: none;
}

.partner-card__button:hover {
    text-decoration: underline;
}

@media (max-width: 520px) {
    .partner-card__code-row {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px 12px;
    }
}
