:root {
    --bg: #fff9f5;
    --surface: #ffffff;
    --ink: #2b1720;
    --muted: #765d67;
    --line: rgba(43, 23, 32, 0.12);
    --rose: #e83f7b;
    --pink: #ff74a8;
    --mint: #31b88f;
    --lemon: #ffd35a;
    --cocoa: #5b2f24;
    --shadow: 0 18px 45px rgba(88, 38, 62, 0.14);
    --display-font: "Fraunces", Georgia, serif;
    --body-font: "Manrope", Verdana, sans-serif;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 211, 90, 0.16), transparent 24%),
        radial-gradient(circle at 92% 4%, rgba(49, 184, 143, 0.14), transparent 22%),
        var(--bg);
    font-family: var(--body-font);
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 249, 245, 0.92);
    backdrop-filter: blur(16px);
}

.nav,
main,
footer {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.nav {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    font-size: 1.18rem;
    font-weight: 900;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--rose), var(--cocoa));
    box-shadow: 0 12px 24px rgba(232, 63, 123, 0.24);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 800;
}

.cart-trigger {
    border: 1px solid rgba(232, 63, 123, 0.22);
    border-radius: 999px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px 0 16px;
    color: var(--ink);
    background: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(88, 38, 62, 0.08);
}

.cart-trigger strong {
    min-width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: var(--rose);
}

.nav-links a:hover {
    color: var(--rose);
}

.btn {
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--rose), var(--pink));
    box-shadow: 0 16px 34px rgba(232, 63, 123, 0.23);
    font: inherit;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(232, 63, 123, 0.3);
}

.btn.ghost {
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: none;
}

.hero {
    min-height: 82vh;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 48px;
    align-items: center;
    padding: 76px 0 44px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 1px solid rgba(232, 63, 123, 0.18);
    border-radius: 999px;
    padding: 9px 13px;
    color: var(--rose);
    background: #fff;
    font-weight: 900;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 780px;
    margin: 24px 0;
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 0.91;
    letter-spacing: 0;
    font-family: var(--display-font);
    font-weight: 900;
}

h2,
h3 {
    font-family: var(--display-font);
    font-weight: 900;
}

.hero-copy p,
.section-title p,
.order-copy p,
.feature p,
.cake-card p {
    color: var(--muted);
    line-height: 1.75;
}

.hero-copy p {
    max-width: 680px;
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.trust-strip span,
.section-kicker,
.catalog-count {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 1px solid rgba(232, 63, 123, 0.16);
    border-radius: 999px;
    padding: 8px 11px;
    color: var(--cocoa);
    background: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-visual {
    min-height: 520px;
    position: relative;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(145deg, #ffffff, #fff0f6 54%, #eefcf7);
    box-shadow: var(--shadow);
    overflow: hidden;
    isolation: isolate;
}

.hero-visual::before,
.hero-visual::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.hero-visual::before {
    inset: -45%;
    z-index: 0;
    background:
        conic-gradient(from 0deg, rgba(232, 63, 123, 0.18), rgba(255, 211, 90, 0.2), rgba(49, 184, 143, 0.18), rgba(232, 63, 123, 0.18));
    animation: heroGlowSpin 24s linear infinite;
}

.hero-visual::after {
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 22% 28%, rgba(255, 255, 255, 0.72), transparent 16%),
        radial-gradient(circle at 80% 18%, rgba(255, 211, 90, 0.22), transparent 19%),
        radial-gradient(circle at 72% 78%, rgba(49, 184, 143, 0.2), transparent 22%);
    animation: heroLightDrift 8s ease-in-out infinite alternate;
}

.motion-orbits {
    position: absolute;
    inset: 46px;
    z-index: 1;
    opacity: 0.8;
    pointer-events: none;
}

.motion-orbits span {
    position: absolute;
    inset: 0;
    border: 1px dashed rgba(232, 63, 123, 0.22);
    border-radius: 45% 55% 48% 52%;
    animation: orbitSpin 22s linear infinite;
}

.motion-orbits span:nth-child(2) {
    inset: 42px;
    border-color: rgba(49, 184, 143, 0.24);
    border-radius: 58% 42% 52% 48%;
    animation-duration: 17s;
    animation-direction: reverse;
}

.motion-orbits span:nth-child(3) {
    inset: 86px;
    border-color: rgba(255, 211, 90, 0.34);
    animation-duration: 13s;
}

.sprinkle-field {
    position: absolute;
    inset: -50px 0 0;
    z-index: 3;
    pointer-events: none;
}

.sprinkle-field i {
    position: absolute;
    left: var(--x);
    top: -24px;
    width: 8px;
    height: 18px;
    border-radius: 999px;
    background: var(--color, var(--pink));
    opacity: 0;
    transform: rotate(var(--spin));
    animation: sprinkleFall var(--speed) linear infinite;
    animation-delay: var(--delay);
}

.cake-scene {
    --cake-scale: 1;
    position: relative;
    z-index: 2;
    width: min(420px, 86vw);
    height: 430px;
    transform: scale(var(--cake-scale));
    animation: cakeFloat 5.8s ease-in-out infinite;
    will-change: transform;
}

.cake-layer,
.cake-top,
.cake-plate {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.cake-top {
    top: 48px;
    width: 132px;
    height: 72px;
    border-radius: 50% 50% 42% 42%;
    background: #fff;
    border: 12px solid #ffe1eb;
    box-shadow: inset 0 -16px 0 rgba(255, 116, 168, 0.28);
}

.cake-top::before,
.cake-top::after {
    content: "";
    position: absolute;
    top: -34px;
    width: 18px;
    height: 46px;
    border-radius: 999px;
    background: linear-gradient(#fff, rgba(255, 255, 255, 0));
    opacity: 0.52;
    filter: blur(1px);
    animation: steamRise 3.2s ease-in-out infinite;
}

.cake-top::before {
    left: 24px;
}

.cake-top::after {
    right: 20px;
    animation-delay: -1.5s;
}

.cake-layer {
    border-radius: 8px;
    border: 3px solid rgba(91, 47, 36, 0.1);
    box-shadow: 0 22px 34px rgba(91, 47, 36, 0.16);
}

.layer-one {
    top: 112px;
    width: 220px;
    height: 92px;
    background: linear-gradient(#ffe5ee 0 45%, #ffc36b 45% 56%, #6d392d 56%);
}

.layer-two {
    top: 198px;
    width: 300px;
    height: 104px;
    background: linear-gradient(#fff7fb 0 44%, #72d8b4 44% 55%, #7d3f30 55%);
}

.layer-three {
    top: 294px;
    width: 370px;
    height: 108px;
    background: linear-gradient(#ffe4ef 0 43%, #ffd35a 43% 55%, #6b3528 55%);
}

.cake-plate {
    bottom: 2px;
    width: 410px;
    height: 26px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 16px 28px rgba(43, 23, 32, 0.14);
}

.spark {
    position: absolute;
    z-index: 4;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--lemon);
    box-shadow: 0 0 0 8px rgba(255, 211, 90, 0.18);
    animation: sparkPulse 2.6s ease-in-out infinite;
}

.s1 { left: 18px; top: 62px; }
.s2 { right: 24px; top: 128px; background: var(--mint); animation-delay: -0.8s; }
.s3 { left: 70px; bottom: 78px; background: var(--pink); animation-delay: -1.6s; }

.delivery-loop {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 26px;
    z-index: 4;
    height: 64px;
    border: 1px solid rgba(43, 23, 32, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 16px 34px rgba(43, 23, 32, 0.1);
    backdrop-filter: blur(10px);
}

.delivery-route {
    position: absolute;
    left: 28px;
    right: 28px;
    top: 31px;
    border-top: 2px dashed rgba(91, 47, 36, 0.22);
}

.delivery-van {
    position: absolute;
    left: 28px;
    top: 19px;
    width: 46px;
    height: 25px;
    border-radius: 8px 11px 7px 7px;
    background: linear-gradient(135deg, var(--rose), var(--cocoa));
    box-shadow: 0 8px 14px rgba(91, 47, 36, 0.18);
    animation: vanRoute 6s ease-in-out infinite;
}

.delivery-van::before,
.delivery-van::after {
    content: "";
    position: absolute;
    bottom: -5px;
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--cocoa);
}

.delivery-van::before {
    left: 7px;
}

.delivery-van::after {
    right: 7px;
}

.delivery-van span {
    position: absolute;
    right: 8px;
    top: 6px;
    width: 13px;
    height: 8px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.72);
}

.delivery-pin {
    position: absolute;
    top: 25px;
    width: 14px;
    height: 14px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 5px rgba(49, 184, 143, 0.14);
    animation: pinPulse 2.4s ease-in-out infinite;
}

.delivery-pin.start {
    left: 22px;
}

.delivery-pin.end {
    right: 22px;
    background: var(--rose);
    box-shadow: 0 0 0 5px rgba(232, 63, 123, 0.14);
    animation-delay: -1.2s;
}

.bakery-visual {
    background:
        radial-gradient(circle at 16% 18%, rgba(255, 211, 90, 0.24), transparent 18%),
        radial-gradient(circle at 86% 12%, rgba(49, 184, 143, 0.18), transparent 20%),
        linear-gradient(145deg, #fff8ef, #ffe9f1 48%, #eefcf7);
}

.bakery-visual::before {
    background:
        conic-gradient(from 90deg, rgba(255, 211, 90, 0.15), rgba(232, 63, 123, 0.2), rgba(49, 184, 143, 0.18), rgba(255, 211, 90, 0.15));
    animation-duration: 30s;
}

.bakery-shelves {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.bakery-shelves span {
    position: absolute;
    left: 54px;
    right: 54px;
    height: 12px;
    border-radius: 999px;
    background: rgba(91, 47, 36, 0.12);
    box-shadow: 0 12px 18px rgba(91, 47, 36, 0.08);
}

.bakery-shelves span:first-child {
    top: 92px;
}

.bakery-shelves span:last-child {
    bottom: 92px;
}

.bakery-cake {
    --cake-scale: 1;
    position: relative;
    z-index: 3;
    width: min(430px, 82vw);
    height: 430px;
    transform: scale(var(--cake-scale));
    animation: bakeryCakeFloat 5.6s ease-in-out infinite;
}

.bakery-cake span {
    position: absolute;
    display: block;
}

.cake-shadow {
    left: 50%;
    bottom: 34px;
    width: 360px;
    height: 38px;
    border-radius: 50%;
    background: rgba(91, 47, 36, 0.18);
    filter: blur(6px);
    transform: translateX(-50%);
}

.cake-stand {
    left: 50%;
    bottom: 48px;
    width: 390px;
    height: 48px;
    border-radius: 999px;
    background:
        linear-gradient(180deg, #ffffff, #f4f0e9);
    box-shadow: 0 16px 26px rgba(43, 23, 32, 0.14);
    transform: translateX(-50%);
}

.cake-stand::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 18px;
    width: 245px;
    height: 2px;
    border-radius: 999px;
    background: repeating-linear-gradient(90deg, rgba(91, 47, 36, 0.22) 0 12px, transparent 12px 20px);
    transform: translateX(-50%);
}

.cake-base,
.cake-middle,
.cake-topper {
    left: 50%;
    overflow: hidden;
    border: 3px solid rgba(91, 47, 36, 0.12);
    border-radius: 18px 18px 8px 8px;
    transform: translateX(-50%);
}

.cake-base {
    bottom: 92px;
    width: 340px;
    height: 118px;
    background:
        linear-gradient(#ffe5ef 0 34%, #f86f9d 34% 42%, #7a3928 42% 100%);
}

.cake-middle {
    bottom: 198px;
    width: 270px;
    height: 102px;
    background:
        linear-gradient(#fff7fb 0 38%, #72d8b4 38% 48%, #8b432d 48% 100%);
}

.cake-topper {
    bottom: 292px;
    width: 190px;
    height: 82px;
    background:
        linear-gradient(#ffe9f2 0 42%, #ffd35a 42% 52%, #733321 52% 100%);
}

.icing-drip {
    z-index: 4;
    top: 122px;
    width: 24px;
    border-radius: 0 0 999px 999px;
    background: #fff7fb;
    animation: icingDrip 3.2s ease-in-out infinite;
}

.d1 {
    left: 152px;
    height: 34px;
}

.d2 {
    left: 214px;
    height: 48px;
    animation-delay: -1s;
}

.d3 {
    right: 138px;
    height: 28px;
    animation-delay: -1.8s;
}

.frosting-ring {
    left: 50%;
    top: 38px;
    width: 172px;
    height: 46px;
    border: 16px solid #ffddeb;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 28px rgba(232, 63, 123, 0.16);
    transform: translateX(-50%);
    animation: frostingPulse 2.8s ease-in-out infinite;
}

.frosting-dot {
    z-index: 5;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--rose);
    box-shadow: 0 8px 16px rgba(232, 63, 123, 0.16);
    animation: frostingPop 2.6s ease-in-out infinite;
}

.dot-one {
    left: 132px;
    top: 210px;
}

.dot-two {
    left: 208px;
    top: 194px;
    background: var(--mint);
    animation-delay: -0.7s;
}

.dot-three {
    right: 126px;
    top: 218px;
    background: var(--lemon);
    animation-delay: -1.4s;
}

.candle {
    z-index: 5;
    top: 56px;
    width: 14px;
    height: 58px;
    border-radius: 999px;
    background:
        repeating-linear-gradient(45deg, #fff 0 7px, #ff74a8 7px 13px);
}

.candle::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -24px;
    width: 18px;
    height: 24px;
    border-radius: 70% 70% 55% 55%;
    background: radial-gradient(circle at 50% 68%, #fff6b0 0 24%, #ffd35a 25% 58%, #f97316 59% 100%);
    transform: translateX(-50%);
    animation: candleFlicker 0.9s ease-in-out infinite alternate;
}

.candle-one {
    left: 180px;
}

.candle-two {
    left: 208px;
}

.candle-two::before {
    animation-delay: -0.25s;
}

.candle-three {
    left: 236px;
}

.candle-three::before {
    animation-delay: -0.5s;
}

.cherry {
    z-index: 6;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #fff, #ff4d7d 22%, #c9184a 70%);
    animation: cherryBounce 2.4s ease-in-out infinite;
}

.cherry-one {
    left: 168px;
    top: 142px;
}

.cherry-two {
    right: 166px;
    top: 136px;
    animation-delay: -0.9s;
}

.piping-bag {
    position: absolute;
    right: 74px;
    top: 72px;
    z-index: 5;
    width: 118px;
    height: 58px;
    transform-origin: 18% 84%;
    animation: pipingSweep 4.4s ease-in-out infinite;
}

.piping-bag::before {
    content: "";
    position: absolute;
    inset: 0 22px 8px 0;
    border-radius: 55% 35% 48% 38%;
    background: linear-gradient(135deg, #fff, #ffe1eb 70%);
    border: 2px solid rgba(232, 63, 123, 0.18);
    box-shadow: 0 14px 28px rgba(88, 38, 62, 0.12);
}

.piping-bag::after {
    content: "";
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 38px;
    height: 18px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    background: #9b5a45;
}

.piping-bag span {
    position: absolute;
    right: -8px;
    bottom: -2px;
    width: 40px;
    height: 10px;
    border-radius: 999px;
    background: #ffddeb;
    transform: rotate(10deg);
    animation: icingSqueeze 1.4s ease-in-out infinite;
}

.bakery-treat {
    position: absolute;
    z-index: 2;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 34px rgba(88, 38, 62, 0.12);
    animation: treatFloat 5.4s ease-in-out infinite;
}

.bakery-treat::before,
.bakery-treat::after {
    content: "";
    position: absolute;
}

.bakery-treat::before {
    left: 14px;
    right: 14px;
    top: 22px;
    height: 26px;
    border-radius: 999px 999px 12px 12px;
    background: var(--pink);
}

.bakery-treat::after {
    left: 20px;
    bottom: 14px;
    width: 36px;
    height: 16px;
    border-radius: 0 0 12px 12px;
    background: #8b432d;
}

.bakery-treat span {
    position: absolute;
    left: 50%;
    top: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--lemon);
    transform: translateX(-50%);
}

.treat-one {
    left: 58px;
    top: 122px;
}

.treat-two {
    right: 56px;
    top: 184px;
    animation-delay: -1.6s;
}

.treat-two::before {
    background: var(--mint);
}

.treat-three {
    left: 86px;
    bottom: 122px;
    animation-delay: -2.8s;
}

.treat-three::before {
    background: var(--lemon);
}

.bakery-sprinkles {
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
}

.bakery-sprinkles i {
    position: absolute;
    left: var(--x);
    top: -18px;
    width: 9px;
    height: 20px;
    border-radius: 999px;
    background: var(--color);
    opacity: 0;
    animation: bakerySprinkleFall 3.8s linear infinite;
    animation-delay: var(--delay);
}

.stats-band {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    padding-block: 18px;
    border-block: 1px solid var(--line);
}

.stats-band span {
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    padding: 9px 13px;
    color: var(--cocoa);
    font-size: 0.82rem;
    font-weight: 950;
    text-transform: uppercase;
}

.section {
    padding: 52px 0;
}

.section-title {
    max-width: 720px;
    margin-bottom: 24px;
}

.catalog-title {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.section-kicker {
    margin-bottom: 12px;
    color: var(--rose);
}

.catalog-count {
    flex: 0 0 auto;
    margin-bottom: 8px;
    color: var(--mint);
    border-color: rgba(49, 184, 143, 0.22);
}

.section-title h2,
.order-copy h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
    letter-spacing: 0;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.filter-bar button {
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    color: var(--muted);
    background: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 850;
}

.filter-bar button span {
    min-width: 24px;
    min-height: 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: var(--rose);
    background: #fff0f6;
    font-size: 0.74rem;
}

.filter-bar button.active {
    color: #fff;
    border-color: var(--rose);
    background: var(--rose);
}

.filter-bar button.active span {
    color: var(--ink);
    background: #fff;
}

.cake-grid,
.features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cake-card,
.feature,
.order-form {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 14px 36px rgba(88, 38, 62, 0.08);
}

.cake-card {
    position: relative;
    display: flex;
    min-height: 280px;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    overflow: hidden;
    isolation: isolate;
    opacity: 0;
    transform: translateY(18px);
    animation: cardRise 0.62s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.cake-image {
    width: calc(100% + 36px);
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    margin: -12px -18px 4px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 116, 168, 0.18), rgba(49, 184, 143, 0.16)),
        #fff4f7;
}

.cake-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.42s ease, filter 0.42s ease;
}

.cake-image-empty span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--accent, var(--rose));
    font-size: 1.6rem;
    font-weight: 950;
}

.cake-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: var(--accent, var(--rose));
    z-index: 2;
}

.cake-card::after {
    content: "";
    position: absolute;
    inset: -35% auto auto -70%;
    z-index: 3;
    width: 42%;
    height: 170%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.56), transparent);
    opacity: 0;
    pointer-events: none;
    transform: rotate(24deg);
}

.cake-card .tag {
    width: fit-content;
    border-radius: 999px;
    padding: 7px 10px;
    color: var(--cocoa);
    background: #fff4dc;
    font-size: 0.78rem;
    font-weight: 950;
}

.cake-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.cake-card-meta > span:last-child {
    color: var(--rose);
    font-size: 0.86rem;
    font-weight: 950;
}

.cake-card h3 {
    margin-bottom: 0;
    font-size: 1.22rem;
}

.cake-card p {
    margin-bottom: auto;
    font-size: 0.95rem;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.cake-card footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    z-index: 4;
}

.price {
    color: var(--rose);
    font-weight: 950;
    font-size: 1.12rem;
    transition: transform 0.24s ease;
}

.mini-btn {
    border: 1px solid rgba(232, 63, 123, 0.22);
    border-radius: 999px;
    min-height: 36px;
    padding: 0 12px;
    color: var(--rose);
    background: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 900;
    transition: transform 0.24s ease, color 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.mini-btn.danger {
    color: #9f1d45;
    border-color: rgba(159, 29, 69, 0.24);
}

.cake-card:nth-child(2n) {
    animation-delay: 0.06s;
}

.cake-card:nth-child(3n) {
    animation-delay: 0.12s;
}

.cake-card:nth-child(4n) {
    animation-delay: 0.18s;
}

@media (hover: hover) {
    .cake-card:hover {
        border-color: color-mix(in srgb, var(--accent, var(--rose)) 52%, transparent);
        box-shadow: 0 26px 54px rgba(88, 38, 62, 0.18);
        transform: translateY(-10px) rotate(-0.45deg);
    }

    .cake-card:hover::after {
        animation: cardGlowSweep 0.85s ease forwards;
    }

    .cake-card:hover .cake-image img {
        filter: saturate(1.12) contrast(1.04);
        transform: scale(1.1) rotate(0.7deg);
    }

    .cake-card:hover .price {
        transform: translateY(-2px) scale(1.04);
    }

    .cake-card:hover .mini-btn {
        color: #fff;
        border-color: var(--accent, var(--rose));
        background: var(--accent, var(--rose));
        transform: translateY(-2px);
    }
}

.feature {
    padding: 22px;
    position: relative;
    overflow: hidden;
}

.feature::after {
    content: "";
    position: absolute;
    right: -28px;
    top: -28px;
    width: 94px;
    height: 94px;
    border-radius: 50%;
    background: rgba(232, 63, 123, 0.08);
    pointer-events: none;
}

.feature span {
    display: block;
    color: var(--rose);
    font-weight: 950;
    margin-bottom: 14px;
}

.feature h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

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

.testimonial-grid article {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 240, 246, 0.82));
    box-shadow: 0 14px 36px rgba(88, 38, 62, 0.08);
}

.testimonial-grid p {
    color: var(--ink);
    font-family: var(--display-font);
    font-size: 1.16rem;
    line-height: 1.35;
}

.testimonial-grid strong {
    color: var(--rose);
    font-size: 0.86rem;
    font-weight: 900;
    text-transform: uppercase;
}

.order-section {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 28px;
    align-items: start;
}

.order-copy {
    position: sticky;
    top: 96px;
}

.delivery-steps {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.delivery-steps span {
    display: flex;
    align-items: center;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 13px;
    color: var(--cocoa);
    background: #fff;
    font-weight: 900;
}

.delivery-note {
    border: 1px solid rgba(49, 184, 143, 0.24);
    border-radius: 8px;
    margin-top: 18px;
    padding: 16px;
    background: #effcf7;
}

.delivery-note strong {
    display: block;
    margin-bottom: 6px;
    color: #12664c;
    font-weight: 900;
}

.delivery-note p {
    margin: 0;
    color: #276b57;
    line-height: 1.6;
}

.order-form {
    padding: 24px;
}

.checkout-step {
    border: 1px solid rgba(43, 23, 32, 0.1);
    border-radius: 8px;
    margin-bottom: 18px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.72);
}

.checkout-step-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.checkout-step-title span {
    color: var(--rose);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.checkout-step-title h3 {
    margin-bottom: 0;
    font-size: 1.3rem;
}

.order-picker {
    display: grid;
    gap: 14px;
    border: 1px solid rgba(232, 63, 123, 0.16);
    border-radius: 8px;
    margin-bottom: 18px;
    padding: 16px;
    background: #fff8fb;
}

.order-picker label {
    margin-bottom: 0;
}

.cart-add-btn {
    width: 100%;
}

.cart-panel,
.payment-options {
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 18px;
    min-width: 0;
    padding: 16px;
    background: #fff;
}

.cart-header,
.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.cart-header {
    margin-bottom: 12px;
}

.cart-header h3 {
    margin-bottom: 0;
    font-size: 1.05rem;
}

.cart-header span {
    border-radius: 999px;
    padding: 6px 10px;
    color: var(--rose);
    background: #fff0f6;
    font-size: 0.82rem;
    font-weight: 950;
}

.cart-items {
    display: grid;
    gap: 10px;
}

.cart-empty {
    margin: 0;
    color: var(--muted);
    font-weight: 850;
}

.cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
    border: 1px solid rgba(43, 23, 32, 0.1);
    border-radius: 8px;
    padding: 12px;
    background: #fffdfb;
}

.cart-item strong,
.cart-item span {
    display: block;
}

.cart-item span {
    margin-top: 4px;
    color: var(--rose);
    font-size: 0.92rem;
    font-weight: 900;
}

.cart-item p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.cart-total {
    border-top: 1px solid var(--line);
    margin-top: 14px;
    padding-top: 14px;
    font-weight: 950;
}

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

label {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--ink);
    font-weight: 900;
}

label span {
    font-size: 0.9rem;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(43, 23, 32, 0.16);
    border-radius: 8px;
    background: #fffdfb;
    color: var(--ink);
    font: inherit;
    font-weight: 650;
    padding: 13px 14px;
    outline: none;
}

textarea {
    min-height: 112px;
    resize: vertical;
}

.payment-options {
    display: grid;
    gap: 12px;
    padding-top: 14px;
}

.payment-options legend {
    padding: 0 6px;
    color: var(--ink);
    font-weight: 950;
}

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

.payment-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    border: 1px solid rgba(43, 23, 32, 0.14);
    border-radius: 8px;
    margin-bottom: 0;
    padding: 14px;
    background: #fffdfb;
    cursor: pointer;
}

.payment-card input {
    width: auto;
    margin-top: 4px;
    accent-color: var(--rose);
}

.payment-card strong,
.payment-card small {
    display: block;
}

.payment-card small {
    margin-top: 4px;
    color: var(--muted);
    font-weight: 750;
    line-height: 1.45;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(232, 63, 123, 0.68);
    box-shadow: 0 0 0 4px rgba(232, 63, 123, 0.1);
}

.selected-cake {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: #fff;
}

.selected-cake.empty {
    display: block;
    color: var(--muted);
    font-weight: 850;
}

.selected-cake-media {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 116, 168, 0.18), rgba(49, 184, 143, 0.16)),
        #fff4f7;
}

.selected-cake-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.selected-cake-initial {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--rose);
    font-size: 1.35rem;
    font-weight: 950;
}

.selected-cake strong,
.selected-cake span {
    display: block;
}

.selected-cake strong {
    margin-bottom: 4px;
}

.selected-cake span {
    color: var(--rose);
    font-weight: 900;
}

.selected-cake p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.form-submit {
    width: 100%;
}

.notice,
.form-message {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: #fff;
    color: var(--muted);
    font-weight: 800;
}

.form-message {
    margin-bottom: 16px;
}

.form-message.success {
    border-color: rgba(49, 184, 143, 0.35);
    color: #12664c;
    background: #effcf7;
}

.form-message.error {
    border-color: rgba(232, 63, 123, 0.32);
    color: #a61f4e;
    background: #fff0f6;
}

body.modal-open,
body.drawer-open,
body.success-open {
    overflow: hidden;
}

.cake-modal,
.cart-drawer,
.success-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
}

.modal-backdrop,
.drawer-backdrop,
.success-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(43, 23, 32, 0.48);
    backdrop-filter: blur(8px);
}

.modal-card {
    position: relative;
    width: min(980px, calc(100% - 32px));
    max-height: min(760px, calc(100vh - 32px));
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    margin: 16px auto;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 14px;
    background: #fffdfb;
    box-shadow: 0 30px 90px rgba(43, 23, 32, 0.28);
    animation: modalIn 0.24s ease both;
}

.modal-close {
    border: 1px solid var(--line);
    border-radius: 999px;
    min-height: 36px;
    padding: 0 12px;
    color: var(--ink);
    background: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 900;
}

.modal-card > .modal-close {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 2;
}

.modal-image {
    min-height: 520px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(255, 116, 168, 0.2), rgba(49, 184, 143, 0.16)),
        #fff4f7;
}

.modal-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.modal-copy {
    padding: 36px;
}

.modal-copy .tag {
    width: fit-content;
    border-radius: 999px;
    padding: 7px 10px;
    color: var(--cocoa);
    background: #fff4dc;
    font-size: 0.78rem;
    font-weight: 950;
}

.modal-copy h2 {
    margin: 14px 0 12px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
}

.modal-copy p {
    color: var(--muted);
    line-height: 1.75;
}

.modal-price {
    display: block;
    margin-bottom: 18px;
    color: var(--rose);
    font-size: 1.35rem;
}

.drawer-panel {
    position: absolute;
    right: 0;
    top: 0;
    width: min(430px, 100%);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    overflow-y: auto;
    background: #fffdfb;
    box-shadow: -26px 0 80px rgba(43, 23, 32, 0.22);
    animation: drawerIn 0.24s ease both;
}

.drawer-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
}

.drawer-header h2 {
    margin-bottom: 0;
    font-size: 2rem;
}

.drawer-panel .cart-items {
    flex: 1;
}

.mini-cart-bar {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 70;
    width: min(520px, calc(100% - 32px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    transform: translateX(-50%);
    padding: 10px;
    border: 1px solid rgba(232, 63, 123, 0.18);
    border-radius: 999px;
    background: rgba(255, 253, 251, 0.92);
    box-shadow: 0 18px 54px rgba(43, 23, 32, 0.18);
    backdrop-filter: blur(16px);
    animation: miniCartIn 0.28s ease both;
}

.mini-cart-bar button,
.mini-cart-bar a {
    border: 0;
    border-radius: 999px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 16px;
    cursor: pointer;
    font: inherit;
    font-weight: 900;
    text-decoration: none;
}

.mini-cart-bar button {
    color: var(--ink);
    background: transparent;
}

.mini-cart-bar button strong {
    color: var(--rose);
}

.mini-cart-bar a {
    color: #fff;
    background: linear-gradient(135deg, var(--rose), var(--pink));
}

.success-card {
    position: relative;
    width: min(620px, calc(100% - 32px));
    margin: min(9vh, 70px) auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 18px;
    padding: 42px;
    text-align: center;
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 211, 90, 0.24), transparent 24%),
        radial-gradient(circle at 90% 18%, rgba(49, 184, 143, 0.22), transparent 25%),
        #fffdfb;
    box-shadow: 0 30px 90px rgba(43, 23, 32, 0.3);
    animation: successCardIn 0.34s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.success-check {
    position: relative;
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mint), #9af0d0);
    box-shadow: 0 18px 34px rgba(49, 184, 143, 0.24);
    animation: successPulse 1.8s ease-in-out infinite;
}

.success-check::before {
    content: "";
    width: 34px;
    height: 18px;
    border-left: 7px solid #fff;
    border-bottom: 7px solid #fff;
    transform: rotate(-45deg) translate(2px, -3px);
    animation: checkDraw 0.42s ease 0.18s both;
}

.success-card h2 {
    margin: 12px 0;
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 0.98;
}

.success-card p {
    max-width: 500px;
    margin: 0 auto 18px;
    color: var(--muted);
    line-height: 1.75;
}

.success-next {
    border: 1px solid rgba(49, 184, 143, 0.24);
    border-radius: 8px;
    margin: 22px 0;
    padding: 16px;
    background: #effcf7;
    text-align: left;
}

.success-next span,
.success-next strong {
    display: block;
}

.success-next span {
    margin-bottom: 5px;
    color: #12664c;
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.success-next strong {
    color: #276b57;
    line-height: 1.55;
}

.success-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.success-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.success-confetti span {
    position: absolute;
    left: var(--x);
    top: -18px;
    width: 10px;
    height: 20px;
    border-radius: 999px;
    background: var(--color);
    animation: successConfetti 2.7s linear infinite;
    animation-delay: var(--delay);
}

footer {
    padding: 32px 0 46px;
    color: var(--muted);
    text-align: center;
}

@keyframes heroGlowSpin {
    to {
        transform: rotate(1turn);
    }
}

@keyframes heroLightDrift {
    0% {
        transform: translate3d(-2%, -1%, 0) scale(1);
    }

    100% {
        transform: translate3d(2%, 2%, 0) scale(1.04);
    }
}

@keyframes orbitSpin {
    to {
        transform: rotate(1turn);
    }
}

@keyframes cakeFloat {
    0%,
    100% {
        transform: translateY(0) scale(var(--cake-scale));
    }

    50% {
        transform: translateY(-12px) scale(var(--cake-scale));
    }
}

@keyframes sparkPulse {
    0%,
    100% {
        opacity: 0.62;
        transform: scale(0.78);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
        box-shadow: 0 0 0 13px rgba(255, 211, 90, 0.14);
    }
}

@keyframes steamRise {
    0% {
        opacity: 0;
        transform: translateY(14px) scale(0.82);
    }

    45% {
        opacity: 0.58;
    }

    100% {
        opacity: 0;
        transform: translateY(-18px) scale(1.15);
    }
}

@keyframes sprinkleFall {
    0% {
        opacity: 0;
        transform: translate3d(0, -30px, 0) rotate(var(--spin));
    }

    12%,
    78% {
        opacity: 0.92;
    }

    100% {
        opacity: 0;
        transform: translate3d(18px, 620px, 0) rotate(calc(var(--spin) + 360deg));
    }
}

@keyframes vanRoute {
    0% {
        left: 28px;
        transform: translateY(3px) scaleX(1);
    }

    46% {
        left: calc(100% - 74px);
        transform: translateY(-4px) scaleX(1);
    }

    52% {
        left: calc(100% - 74px);
        transform: translateY(-4px) scaleX(-1);
    }

    98%,
    100% {
        left: 28px;
        transform: translateY(3px) scaleX(-1);
    }
}

@keyframes pinPulse {
    0%,
    100% {
        transform: scale(0.9);
    }

    50% {
        transform: scale(1.08);
    }
}

@keyframes bakeryCakeFloat {
    0%,
    100% {
        transform: translateY(0) scale(var(--cake-scale));
    }

    50% {
        transform: translateY(-10px) scale(var(--cake-scale));
    }
}

@keyframes icingDrip {
    0%,
    100% {
        transform: translateY(0) scaleY(0.86);
    }

    50% {
        transform: translateY(7px) scaleY(1.1);
    }
}

@keyframes frostingPulse {
    0%,
    100% {
        transform: translateX(-50%) scale(1);
    }

    50% {
        transform: translateX(-50%) scale(1.05);
    }
}

@keyframes frostingPop {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-5px) scale(1.12);
    }
}

@keyframes candleFlicker {
    0% {
        transform: translateX(-50%) rotate(-4deg) scale(0.92);
        filter: drop-shadow(0 0 6px rgba(255, 211, 90, 0.42));
    }

    100% {
        transform: translateX(-50%) rotate(5deg) scale(1.08);
        filter: drop-shadow(0 0 12px rgba(249, 115, 22, 0.38));
    }
}

@keyframes cherryBounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes pipingSweep {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(-16deg);
    }

    45% {
        transform: translate3d(-108px, 72px, 0) rotate(-35deg);
    }

    65% {
        transform: translate3d(-142px, 90px, 0) rotate(-24deg);
    }
}

@keyframes icingSqueeze {
    0%,
    100% {
        opacity: 0.25;
        transform: rotate(10deg) scaleX(0.72);
    }

    50% {
        opacity: 1;
        transform: rotate(10deg) scaleX(1.1);
    }
}

@keyframes treatFloat {
    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-12px) rotate(3deg);
    }
}

@keyframes bakerySprinkleFall {
    0% {
        opacity: 0;
        transform: translate3d(0, -24px, 0) rotate(0deg);
    }

    14%,
    76% {
        opacity: 0.92;
    }

    100% {
        opacity: 0;
        transform: translate3d(20px, 560px, 0) rotate(360deg);
    }
}

@keyframes cardRise {
    0% {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cardGlowSweep {
    0% {
        left: -70%;
        opacity: 0;
    }

    25% {
        opacity: 0.9;
    }

    100% {
        left: 130%;
        opacity: 0;
    }
}

@keyframes modalIn {
    0% {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes drawerIn {
    0% {
        opacity: 0;
        transform: translateX(42px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes miniCartIn {
    0% {
        opacity: 0;
        transform: translate(-50%, 20px) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
}

@keyframes successCardIn {
    0% {
        opacity: 0;
        transform: translateY(22px) scale(0.96);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes successPulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 18px 34px rgba(49, 184, 143, 0.24);
    }

    50% {
        transform: scale(1.06);
        box-shadow: 0 20px 46px rgba(49, 184, 143, 0.34);
    }
}

@keyframes checkDraw {
    0% {
        opacity: 0;
        transform: rotate(-45deg) translate(12px, -12px) scale(0.6);
    }

    100% {
        opacity: 1;
        transform: rotate(-45deg) translate(2px, -3px) scale(1);
    }
}

@keyframes successConfetti {
    0% {
        opacity: 0;
        transform: translate3d(0, -20px, 0) rotate(0deg);
    }

    12%,
    72% {
        opacity: 0.95;
    }

    100% {
        opacity: 0;
        transform: translate3d(22px, 460px, 0) rotate(420deg);
    }
}

@media (max-width: 920px) {
    .hero,
    .order-section {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 42px;
    }

    .hero-visual {
        min-height: 440px;
    }

    .cake-grid,
    .features,
    .testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .order-copy {
        position: static;
    }

    .modal-card {
        grid-template-columns: 1fr;
    }

    .modal-image {
        min-height: 320px;
    }
}

@media (max-width: 680px) {
    .nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }

    .nav-links {
        width: 100%;
        overflow-x: auto;
        gap: 16px;
        padding-bottom: 4px;
    }

    .cart-trigger {
        width: 100%;
        justify-content: space-between;
    }

    h1 {
        font-size: 3.15rem;
    }

    .hero-visual {
        min-height: 360px;
    }

    .cake-scene {
        --cake-scale: 0.78;
    }

    .cake-grid,
    .features,
    .testimonial-grid,
    .form-grid,
    .payment-grid,
    .cart-item,
    .selected-cake {
        grid-template-columns: 1fr;
    }

    .catalog-title,
    .checkout-step-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .modal-card {
        width: calc(100% - 18px);
        max-height: calc(100vh - 18px);
        margin: 9px auto;
    }

    .modal-copy,
    .drawer-panel,
    .success-card {
        padding: 18px;
    }

    .mini-cart-bar {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    .success-actions {
        display: grid;
    }

    .modal-image {
        min-height: 240px;
    }

    .selected-cake-media {
        max-width: 180px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}
