:root {
    --ink: #2b2118;
    --red: #9b2226;
    --green: #1b4332;
    --paper: #f6f0e6;
    --card: #fffaf3;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Poppins, sans-serif;
    line-height: 1.5;
}

.site-header, .site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
}

.site-header {
    background: var(--green);
    color: white;
}

.logo, .site-header a {
    color: white;
    text-decoration: none;
}

.logo {
    font-family: "Mountains of Christmas", cursive;
    font-size: 1.8rem;
}

.site-header nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.region { position: relative; }

.region-btn {
    display: flex;
    align-items: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    padding: 0.28rem 0.55rem;
    cursor: pointer;
}

.region-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.45rem);
    background: white;
    color: var(--ink);
    min-width: 230px;
    border-radius: 14px;
    padding: 0.35rem;
    box-shadow: 0 12px 30px rgba(43, 33, 24, 0.16);
    z-index: 20;
}

.region-menu[hidden] { display: none; }

.region-menu a {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    color: var(--ink);
    text-decoration: none;
    padding: 0.45rem 0.55rem;
    border-radius: 10px;
}

.region-menu a small {
    display: block;
    color: #6d5c4d;
    font-size: 0.75rem;
}

.region-menu a.is-active,
.region-menu a:hover { background: #f6f0e6; }

.region-globe { font-size: 1.1rem; line-height: 1; }

.button, button.button {
    display: inline-block;
    background: var(--red);
    color: white;
    text-decoration: none;
    border: 0;
    border-radius: 999px;
    padding: 0.65rem 1.1rem;
    font: 600 0.95rem Poppins, sans-serif;
    cursor: pointer;
}

.site-header .button {
    background: white;
    color: var(--green);
}

main {
    width: min(980px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0 3rem;
}

h1, h2 {
    font-family: "Mountains of Christmas", cursive;
    line-height: 1.1;
}

.lede {
    font-size: 1.05rem;
    max-width: 40rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.card, .panel {
    background: var(--card);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 8px 24px rgba(43, 33, 24, 0.06);
}

.price {
    font-size: 2rem;
    margin: 0.4rem 0;
}

.card ul {
    padding-left: 1.1rem;
}

.alert {
    background: #fde8e8;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

input[type="text"], input[type="email"], input[type="password"], select, textarea {
    width: 100%;
    border: 1px solid #e4d8c8;
    background: white;
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    font: 400 1rem Poppins, sans-serif;
    margin-bottom: 0.9rem;
}

.repeat {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.choice {
    display: block;
    border: 1px solid #e4d8c8;
    border-radius: 12px;
    padding: 0.8rem;
    margin-bottom: 0.6rem;
    background: white;
}

.choice input { margin-right: 0.4rem; }

.site-footer {
    color: #6d5c4d;
    justify-content: center;
}

.hint {
    color: #6d5c4d;
    font-size: 0.9rem;
}

.notice {
    background: #e7f5ee;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
}

.letter {
    white-space: pre-wrap;
    font: 400 1rem Poppins, sans-serif;
    background: var(--card);
    border-radius: 16px;
    padding: 1.25rem;
}

.gift-row {
    border-top: 1px solid #eadfce;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
}

.gift-row:first-child {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}

.check {
    font-weight: 400;
}

.thumb {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin-bottom: 0.5rem;
}

.photo-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.elf-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.2rem 0 0.8rem;
}

.elf-filters button {
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    border: 2px solid #ead8c4;
    background: #fff;
    cursor: pointer;
}

.elf-filters button.on {
    border-color: var(--red, #b4234a);
    background: #fff6f4;
}

.elf-picks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.elf-pick {
    display: grid;
    gap: 0.35rem;
    padding: 0.55rem;
    border: 2px solid transparent;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
}

.elf-pick:has(input:checked) {
    border-color: var(--red);
}

.elf-pick input { justify-self: start; }

.elf-pick video {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    background: #111;
}

.elf-pick strong { font-family: "Mountains of Christmas", cursive; font-size: 1.4rem; }

.elf-pick span { font-size: 0.85rem; font-weight: 400; }

.elf-pick input:disabled + video { opacity: 0.45; }

.elf-pick[hidden] { display: none !important; }

@media (max-width: 800px) {
    .elf-picks { grid-template-columns: 1fr; }
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
}

.home-film {
    width: min(280px, 70vw);
    border-radius: 1.2rem;
    display: block;
    background: #f6efe4;
}

.home-block {
    margin-top: 2.5rem;
}

.steps {
    padding-left: 1.2rem;
}

.steps li {
    margin: 0.4rem 0;
}

@media (max-width: 800px) {
    .home-hero {
        grid-template-columns: 1fr;
    }
}
