body.theme-birthday {
    --brand: #b81743;
    --brand-600: #971436;
    --birthday-cream: #fff8ef;
    --birthday-ink: #36132b;
    --birthday-pink: #ffd4e4;
    --birthday-yellow: #ffdb68;
    background: var(--birthday-cream);
}

.theme-birthday > header {
    background: var(--birthday-cream);
    border-bottom: 3px solid var(--brand);
}

.birthday-hero {
    overflow: hidden;
    color: var(--birthday-cream);
    background: radial-gradient(ellipse at 87% 0%, #dd3265, transparent 60%), #ab143e;
    border-bottom: 5px solid var(--birthday-yellow);
}

.birthday-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    align-items: center;
    gap: clamp(1.25rem, 5vw, 4.5rem);
    width: min(74rem, calc(100% - 3rem));
    margin-inline: auto;
    padding-block: clamp(2.2rem, 5vw, 4.75rem);
}

.birthday-copy h1,
.theme-birthday .menu-heading h2 {
    font-family: 'Lobster Two', Georgia, serif;
    font-weight: 700;
}

.birthday-copy h1 {
    font-size: clamp(2.4rem, 5.6vw, 5.25rem);
    line-height: 1.03;
    text-wrap: balance;
}

.birthday-copy h1 span {
    display: block;
    color: var(--birthday-yellow);
}

.birthday-copy p {
    max-width: 32rem;
    margin-block: 1rem 1.4rem;
    font-size: clamp(.95rem, 1.5vw, 1.125rem);
}

.birthday-menu-link {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    gap: .8em;
    border: 2px solid var(--birthday-ink);
    border-radius: .85rem;
    padding: .65rem 1.2rem;
    background: var(--birthday-yellow);
    color: var(--birthday-ink);
    box-shadow: 3px 3px 0 var(--birthday-ink);
    font-weight: 800;
}

.birthday-menu-link:hover { background: #ffebad; }

.birthday-menu-link:focus-visible {
    outline: 2px solid var(--birthday-cream);
    outline-offset: 5px;
}

.birthday-picture { position: relative; }

.birthday-picture img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 4px solid var(--birthday-cream);
    border-radius: 34% 30% 32% 25% / 32% 30% 31% 28%;
    box-shadow: 9px 11px 0 #7c1335;
}

.birthday-star {
    position: absolute;
    color: var(--birthday-yellow);
    line-height: 1;
    pointer-events: none;
    animation: birthday-sparkle .68s cubic-bezier(.2,.76,.3,1.26) both;
}

.birthday-star-large { top: -.3em; right: .05em; font-size: clamp(2rem, 7vw, 6rem); }
.birthday-star-small { bottom: 3%; left: -.1em; font-size: clamp(2rem, 4vw, 3.5rem); animation-delay: .16s; }

@keyframes birthday-sparkle {
    from { opacity: 0; transform: scale(.45) rotate(-22deg); }
    to { opacity: 1; transform: scale(1) rotate(0); }
}

.theme-birthday .menu-heading {
    background: var(--birthday-pink);
    border-color: #f1acc9;
}

.theme-birthday .menu-heading h2 {
    color: var(--birthday-ink);
    font-size: clamp(2.25rem, 5vw, 3.6rem);
    letter-spacing: 0;
}

.theme-birthday .menu-heading p { color: #62314c; }

.theme-birthday #tabs-rail button:not(.text-white) {
    background-color: #ffdfec;
    color: #6d1f46;
}

.theme-birthday #tabs-rail button:not(.text-white):hover { background-color: #f7bdd5; }

.theme-birthday #product-grid article.card {
    border: 1px solid #e9aac4;
    box-shadow: 0 4px 0 #f5c8da;
}

.theme-birthday #product-grid article.card:hover {
    border-color: var(--brand);
    box-shadow: 0 5px 0 #e9aac4;
}

.theme-birthday .scratch-banner,
.theme-birthday #scratch-announcement {
    border-color: #eea6ca;
    color: var(--birthday-ink);
    background: #fff0f6;
}

.theme-birthday .scratch-banner :is(h2, p),
.theme-birthday #scratch-announcement h2 { color: var(--birthday-ink); }

.theme-birthday > footer {
    border-top: 5px solid var(--birthday-yellow);
    background-color: #411634;
}

.theme-birthday #menu { scroll-margin-top: 4.5rem; }
.theme-birthday #hero-section { position: relative; }

@media (max-width: 767px) {
    .birthday-hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.65rem;
        width: min(31rem, calc(100% - 2.25rem));
        padding-block: 1.65rem 1.9rem;
    }
    .birthday-copy h1 { text-wrap: wrap; }
    .birthday-picture { width: min(100%, 420px); }
}

@media (prefers-reduced-motion: reduce) {
    .birthday-star,
    .theme-birthday .cart-anim-icon,
    .theme-birthday #open-cart:hover .cart-anim-icon,
    .theme-birthday #open-cart:active .cart-anim-icon { animation: none; }
    .theme-birthday #product-grid article.card,
    .theme-birthday #product-grid article.card img { transition: none; }
}
