body[data-public-page="home"] { --newsletter-edge: #c1b8b5; background: #fff; color: #494641; font-family: "Fredoka", "Segoe UI", sans-serif; }
body[data-public-page="home"] .home-hero[hidden] { display: none; }
body[data-public-page="home"] .site-header { background: #fff; border: 0; backdrop-filter: none; }
body[data-public-page="home"] .site-header a,
body[data-public-page="home"] .site-header button,
body[data-public-page="home"] .site-footer {
    font-family: "Fredoka", "Segoe UI", sans-serif;
}
body[data-public-page="home"] #homeReleaseSection { padding: 0; background: #81716c; overflow: hidden; }
body[data-public-page="home"] #homeReleaseSection > .wrap { width: 100%; max-width: none; }
body[data-public-page="home"] .home-release-carousel { border: 0; border-radius: 0; padding: 0; background: transparent; box-shadow: none; }
body[data-public-page="home"] .home-release-overlay { display: none; }
body[data-public-page="home"] .home-release-hero { display: block; width: 100%; max-width: none; min-height: 0; height: auto; padding: 0; }
body[data-public-page="home"] .home-release-art { width: 100%; max-width: none; height: auto; aspect-ratio: 3 / 1; margin: 0; border: 0; border-radius: 0; }
body[data-public-page="home"] .home-release-art img { object-fit: contain; }
body[data-public-page="home"] .home-release-slide-fill { display: none; }
body[data-public-page="home"] .home-release-carousel > .home-carousel-arrow.prev { left: 16px; }
body[data-public-page="home"] .home-release-carousel > .home-carousel-arrow.next { right: 16px; }
.home-collection { position: relative; padding: 24px 0 38px; background: #e8dcd6; }
.home-collection::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: repeating-linear-gradient(to right, #b4aaa4 0 24px, transparent 24px 38px);
    pointer-events: none;
}
.home-collection-tone-1 { background: #e1d6d2; }
.home-collection-tone-2 { background: #d2c7c2; }
.home-collection-tone-3 { background: #c5bcb7; }
.home-collection:last-child { background: var(--newsletter-edge); }
.home-collection-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 32px; }
.home-collection-card { min-width: 0; display: flex; flex-direction: column; text-align: center; }
.home-collection-link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.home-collection-cover { position: relative; width: 100%; aspect-ratio: 1 / 1; display: block; background: var(--cover-background, #fff); padding: 18px; }
.home-collection-cover img { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); min-height: 0; object-fit: contain; transition: transform .25s; }
.home-collection-link:hover img { transform: scale(1.035); }
.home-collection-card h3 { color: #423d3a; font: 700 16px/1.35 "Fredoka", "Segoe UI", sans-serif; min-height: 44px; margin: 14px 0 8px; }
.home-collection-description { font-size: 14px; line-height: 1.5; margin: 0 0 16px; }
.home-collection-price { margin: auto 0 10px; padding-top: 12px; color: #a65765; font-size: 17px; font-weight: 700; }
.home-collection-benefit {
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 1px 0 7px;
    color: #536b2c;
    font: 700 14px/1.2 "Fredoka", "Segoe UI", sans-serif;
    letter-spacing: .1px;
}
.home-collection-benefit::before {
    content: "✦";
    color: #839a4d;
    font-size: 11px;
}
.home-collection-card button { align-self: center; border: 1px solid #ad8475; border-radius: 12px; background: transparent; color: #634b41; padding: 7px 22px; font: inherit; font-size: 13px; cursor: pointer; }
.home-collection-card button:hover { background: #fff8ee; }
.home-newsletter {
    position: relative;
    overflow: hidden;
    text-align: center;
    margin: 0;
    padding: clamp(54px, 5vw, 78px) 0 0;
    background: #fff;
}
.home-newsletter::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: clamp(12px, 1.3vw, 25px);
    background: url("/uploads/home-layout/top.png") top center / max(100%, 960px) auto no-repeat;
    pointer-events: none;
}
.home-newsletter-content { width: min(1180px, calc(100% - 32px)); }
.home-newsletter-script {
    margin: 0;
    color: #45413f;
    font-family: "Fredoka", "Segoe UI", sans-serif;
    font-size: clamp(22px, 2.6vw, 33px);
    font-weight: 500;
    line-height: 1.3;
    text-shadow: 2px 3px 0 #bca094;
    white-space: nowrap;
}
.home-newsletter h2 {
    margin: 10px 0 clamp(24px, 3vw, 36px);
    color: #45413f;
    font-size: clamp(20px, 2.3vw, 29px);
    font-weight: 500;
}
.home-newsletter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 14px;
    align-items: end;
    max-width: 850px;
    margin: 0 auto;
}
.home-newsletter-form label { display: grid; gap: 7px; text-align: left; color: #5f5955; font-size: 14px; }
.home-newsletter-form input {
    width: 100%;
    height: 48px;
    margin: 0;
    border: 1px solid #c8bfba;
    border-radius: 12px;
    background: #fffdf9;
    color: #45413f;
    padding: 0 20px;
    font: inherit;
}
.home-newsletter-form input:focus { outline: 3px solid rgba(142, 165, 82, .28); border-color: #7c983c; }
.home-newsletter-form button {
    height: 48px;
    margin: 0;
    border: 1px solid #7c983c;
    border-radius: 12px;
    background: #7c983c;
    color: #fff;
    padding: 0 26px;
    font: 600 15px "Fredoka", "Segoe UI", sans-serif;
    cursor: pointer;
}
.home-newsletter-form button:hover { background: #69832e; }
.home-newsletter-form button:disabled { cursor: wait; opacity: .7; }
.home-newsletter-result { min-height: 24px; margin: 14px 0 0; color: #5d7530; font-size: 14px; }
.home-newsletter-result[data-state="error"] { color: #a24646; }
body[data-public-page="home"] .site-footer {
    position: relative;
    margin-top: clamp(92px, 8vw, 122px);
    padding: 18px 0 27px;
}
body[data-public-page="home"] .site-footer-logo {
    margin-right: clamp(24px, 4vw, 60px);
}
body[data-public-page="home"] .site-footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: clamp(92px, 8vw, 122px);
    background-color: #fff;
    background-image:
        url("/uploads/home-layout/flores.png"),
        repeating-linear-gradient(to right, #b4aaa4 0 24px, transparent 24px 38px);
    background-position: right bottom, left calc(100% - 12px);
    background-size: auto 100%, 100% 3px;
    background-repeat: no-repeat;
    pointer-events: none;
}
.home-final-info {
    background: #fff;
}
.home-final-grid {
    width: min(980px, calc(100% - 48px));
    margin-left: max(24px, calc((100% - 1400px) / 2));
    padding-top: clamp(42px, 5vw, 70px);
    padding-bottom: 70px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 5vw, 72px);
}
.home-final-column { min-width: 0; }
.home-final-column h2 {
    margin: 0 0 16px;
    color: #7baa22;
    font-size: 17px;
    font-weight: 600;
}
.home-final-column .home-final-subtitle { margin-top: 30px; line-height: 1.25; }
.home-final-column > a {
    display: block;
    width: fit-content;
    margin: 0 0 13px;
    color: #77716a;
    font-size: 14px;
    text-decoration: none;
}
.home-final-column > a:hover { color: #63851a; text-decoration: underline; }
.home-social-links { display: flex; gap: 10px; margin: 0 0 18px; }
.home-social-links a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #79b317;
}
.home-social-links img { width: 22px; height: 22px; object-fit: contain; filter: brightness(0) invert(1); }
.home-payment-methods { display: flex; flex-wrap: wrap; gap: 8px; }
.home-payment-methods span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border: 1px solid #ded8d2;
    border-radius: 7px;
    background: #fff;
    color: #5e5854;
    padding: 4px 10px;
    font-size: 12px;
    box-shadow: 0 2px 7px rgba(82, 68, 58, .08);
}
@media (max-width: 700px) {
    .home-collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
    .home-collection-cover { padding: 12px; }
    .home-collection-cover img { inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); }
    body[data-public-page="home"] .home-release-art { aspect-ratio: 2 / 1; }
    body[data-public-page="home"] .home-release-carousel > .home-carousel-arrow { width: 56px; height: 56px; }
    body[data-public-page="home"] .home-release-carousel > .home-carousel-arrow.prev { left: 8px; }
    body[data-public-page="home"] .home-release-carousel > .home-carousel-arrow.next { right: 8px; }
    .home-newsletter { padding-top: 48px; }
    .home-newsletter-script { white-space: normal; }
    .home-newsletter-form { grid-template-columns: 1fr; }
    .home-newsletter-form button { width: 100%; }
    body[data-public-page="home"] .site-footer { margin-top: 92px; }
    body[data-public-page="home"] .site-footer-logo { margin-right: 18px; }
    body[data-public-page="home"] .site-footer::before {
        height: 92px;
        background-position: right bottom, left calc(100% - 10px);
    }
    .home-final-info {
        background: #fff;
    }
    .home-final-grid {
        width: min(calc(100% - 40px), 520px);
        margin: 0 auto;
        padding-top: 42px;
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .home-final-column .home-final-subtitle { margin-top: 22px; }
}

body[data-public-page="home"] .home-release-art.image-frame-banner {
    aspect-ratio: 3 / 1;
}

body[data-public-page="home"] .home-release-art.image-frame-wide-banner {
    aspect-ratio: 6 / 1;
}

body[data-public-page="home"] #homeReleaseSection .home-release-carousel-standard .home-release-carousel-track,
body[data-public-page="home"] #homeReleaseSection .home-release-carousel-standard .home-release-art {
    aspect-ratio: 3 / 1;
}

body[data-public-page="home"] #homeReleaseSection .home-release-carousel-wide .home-release-carousel-track,
body[data-public-page="home"] #homeReleaseSection .home-release-carousel-wide .home-release-art {
    aspect-ratio: 6 / 1;
}

body[data-public-page="home"] #homeReleaseSection .home-release-slide,
body[data-public-page="home"] #homeReleaseSection .home-release-hero,
body[data-public-page="home"] #homeReleaseSection .home-release-art {
    height: 100%;
    min-height: 0;
}

@media (max-width: 700px) {
    body[data-public-page="home"] #homeReleaseSection .home-release-carousel-mobile .home-release-carousel-track,
    body[data-public-page="home"] #homeReleaseSection .home-release-carousel-mobile .home-release-art {
        aspect-ratio: 1 / 1;
    }
}

body[data-public-page="home"] #homeReleaseSection .home-release-carousel-track,
body[data-public-page="home"] #homeReleaseSection .home-release-slide,
body[data-public-page="home"] #homeReleaseSection .home-release-hero,
body[data-public-page="home"] #homeReleaseSection .home-release-art,
body[data-public-page="home"] #homeReleaseSection .home-release-slide-link,
body[data-public-page="home"] #homeReleaseSection .home-release-slide-media,
body[data-public-page="home"] #homeReleaseSection img {
    border-radius: 0;
    border: 0;
}

body[data-public-page="home"] #homeReleaseSection .home-release-slide { width: 100%; }

/* Decorative flight over the flowers above the footer. */
body[data-public-page="home"] .site-footer::after {
    content: "";
    position: absolute;
    right: clamp(58px, 10vw, 150px);
    bottom: calc(100% + 46px);
    width: 40px;
    height: 30px;
    background: url("/images/assets/teens/butterfly-black.png") center / contain no-repeat;
    pointer-events: none;
    transform-origin: center;
    animation: home-butterfly-flight 9s ease-in-out infinite,
        home-butterfly-flight-wings .32s ease-in-out infinite;
}
@keyframes home-butterfly-flight {
    0%, 100% { transform: translate(0, 0) rotate(-8deg); }
    15% { transform: translate(-22px, -16px) rotate(-16deg); }
    32% { transform: translate(-48px, -5px) rotate(5deg); }
    50% { transform: translate(-30px, 12px) rotate(14deg); }
    68% { transform: translate(8px, -8px) rotate(-6deg); }
    85% { transform: translate(20px, -22px) rotate(-14deg); }
}
@keyframes home-butterfly-flight-wings {
    0%, 100% { scale: 1 1; }
    50% { scale: .48 1; }
}

@media (prefers-reduced-motion: reduce) {
    body[data-public-page="home"] .site-footer::after { animation: none; }
}
