.loyalty-page {
    width: min(100% - 96px, 1344px);
    margin-inline: auto;
    padding-block: 24px 72px;
    display: grid;
    gap: clamp(48px, 5vw, 72px);
    color: var(--df-deep, #072521);
    --loyalty-green: rgb(42 91 85 / 12%);
    --loyalty-line: rgb(7 37 33 / 12%);
    --loyalty-cream: rgb(244 237 229 / 12%);
}

.loyalty-page :is(h1, h2, h3, p, ol, dl, dd, fieldset) { margin: 0; }
.loyalty-page h2 { font-size: 32px; line-height: 1.25; font-weight: 400; }
.loyalty-page h3 { font-size: 24px; line-height: 32px; font-weight: 500; }
.loyalty-page p { font-size: 16px; line-height: 24px; }
.loyalty-page .loyalty-mobile { display: none; }
.loyalty-crumbs { display: flex; gap: 8px; font-size: 13px; margin-bottom: 24px; }
.loyalty-crumbs a, .loyalty-login { color: inherit; }
.loyalty-login { font-size: 13px; }
.loyalty-hero-grid {
    position: relative;
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 24px;
    min-height: clamp(430px, 39vw, 560px);
    padding: clamp(28px, 3.35vw, 48px);
    padding-right: calc(50% + clamp(48px, 5vw, 72px));
}
.loyalty-hero-grid::before {
    content: "";
    position: absolute;
    inset: 0 calc(50% + 24px) 0 0;
    z-index: -1;
    border: 1px solid var(--loyalty-line);
    border-radius: 34px;
    background: var(--loyalty-cream);
}
.loyalty-hero-grid h1 { font-size: clamp(36px, 3.9vw, 56px); line-height: 1.21; font-weight: 600; }
.loyalty-page .loyalty-kicker { font-size: 12px; line-height: 16px; text-transform: uppercase; }
.loyalty-hero-photo {
    position: absolute;
    inset: 0 0 0 auto;
    width: calc(50% - 24px);
    height: 100%;
    object-fit: cover;
    border-radius: 36px;
}
.loyalty-page .loyalty-button { width: min(100%, 248px); }
.loyalty-highlights, .loyalty-how ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.loyalty-highlights > div, .loyalty-notice, .loyalty-join, .loyalty-level-card { background: var(--loyalty-green); }
.loyalty-highlights > div { padding: 24px; border-radius: 30px; display: grid; align-content: start; gap: 8px; }
.loyalty-highlights strong { font-size: 32px; line-height: 40px; font-weight: 400; }
.loyalty-levels, .loyalty-how, .loyalty-faq { display: grid; gap: 24px; }
.loyalty-table { border: 1px solid rgb(42 91 85 / 20%); border-radius: 30px; overflow: hidden; background: var(--loyalty-cream); }
.loyalty-table table { width: 100%; border-collapse: collapse; text-align: left; }
.loyalty-table thead { background: var(--loyalty-green); }
.loyalty-table :is(th, td) { padding: 24px 16px; }
.loyalty-table th { font-weight: 400; }
.loyalty-table thead th:not(:first-child) { font-size: 24px; font-weight: 500; }
.loyalty-table tbody tr + tr { border-top: 1px solid var(--loyalty-line); }
.loyalty-table tbody tr:not(:first-child) td { font-size: 32px; line-height: 40px; }
.loyalty-page .loyalty-start-note { font-size: 13px; line-height: 18px; }
.loyalty-page .loyalty-notice { padding: 24px; border-radius: 30px; text-align: center; font-size: 24px; line-height: 32px; font-weight: 500; }
.loyalty-how ol { padding: 0; list-style: none; }
.loyalty-how li { display: grid; align-content: start; gap: 16px; padding: 24px; min-height: 228px; border: 1px solid var(--loyalty-line); border-radius: 30px; background: var(--loyalty-cream); }
.loyalty-step-number { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--loyalty-green); font-size: 13px; }
.loyalty-faq .delivery-accordion { display: grid; gap: 8px; }
.loyalty-faq .delivery-item { border: 1px solid var(--loyalty-line); border-radius: 26px; background: var(--loyalty-cream); }
.loyalty-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; padding: 24px; cursor: pointer; }
.loyalty-faq summary::-webkit-details-marker { display: none; }
.loyalty-faq .delivery-indicator img { display: block; width: 16px; height: 16px; }
.loyalty-faq .delivery-item[open] .delivery-indicator img:first-child,
.loyalty-faq .delivery-item:not([open]) .delivery-indicator img:last-child { display: none; }
.loyalty-faq .delivery-answer { padding: 0 24px 24px; }
.loyalty-join { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 220px; padding: 48px; border-radius: 34px; }
.loyalty-join > div { display: grid; gap: 16px; }
.loyalty-join .loyalty-button { flex-shrink: 0; }
.loyalty-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 767px) {
    .loyalty-page { width: calc(100% - 32px); padding-block: 24px; gap: 48px; }
    .loyalty-page .loyalty-desktop { display: none; }
    .loyalty-page .loyalty-mobile { display: revert; }
    .loyalty-page h2 { font-size: 24px; line-height: 36px; }
    .loyalty-page h3 { font-size: 20px; line-height: 28px; }
    .loyalty-hero-grid { min-height: 0; padding: 0; gap: 16px; }
    .loyalty-hero-grid::before { display: none; }
    .loyalty-hero-grid h1 { font-size: 28px; line-height: 36px; font-weight: 400; }
    .loyalty-page .loyalty-kicker { font-size: 13px; line-height: 18px; text-transform: none; }
    .loyalty-hero-photo { position: static; width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: 14px; }
    .loyalty-page .loyalty-button { width: 100%; min-height: 52px; }
    .loyalty-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
    .loyalty-highlights > div { padding: 16px; border-radius: 14px; }
    .loyalty-highlights strong { font-size: 28px; line-height: 36px; }
    .loyalty-highlights > div p { font-size: 13px; line-height: 18px; }
    .loyalty-highlights > p { grid-column: 1 / -1; }
    .loyalty-page .loyalty-notice { padding: 16px; border-radius: 14px; font-size: 16px; line-height: 24px; }
    .loyalty-levels { gap: 16px; }
    .loyalty-page .loyalty-picker { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px 4px; min-width: 0; padding: 0; border: 0; }
    .loyalty-picker label { display: grid; place-items: center; min-height: 44px; border: 1px solid transparent; border-radius: 14px; cursor: pointer; }
    .loyalty-picker label:first-of-type { font-size: 13px; }
    .loyalty-picker input:checked + label { border-color: var(--loyalty-line); background: var(--loyalty-green); }
    .loyalty-picker input:focus-visible + label { outline: 2px solid currentColor; outline-offset: 2px; }
    .loyalty-level-card { display: none; grid-column: 1 / -1; grid-row: 2; padding: 16px; border-radius: 14px; gap: 16px; }
    .loyalty-picker input:checked + label + .loyalty-level-card { display: grid; }
    .loyalty-level-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .loyalty-level-card dt { font-size: 13px; line-height: 18px; }
    .loyalty-level-card dd { font-size: 28px; line-height: 36px; }
    .loyalty-how ol { grid-template-columns: 1fr; }
    .loyalty-how li { min-height: 0; border: 0; background: none; padding: 0; gap: 8px; }
    .loyalty-step-number { display: block; width: auto; height: auto; background: none; }
    .loyalty-faq .delivery-item { border-radius: 14px; }
    .loyalty-faq summary { min-height: 52px; padding: 16px; }
    .loyalty-faq .delivery-answer { padding: 0 16px 16px; }
    .loyalty-join { flex-direction: column; align-items: stretch; gap: 16px; min-height: 0; padding: 16px; border-radius: 14px; }
}
