.hero--home {
    position: relative;
    min-height: clamp(520px, 68vh, 720px);
    display: flex;
    align-items: center;
    color: #fff;
    background-image: linear-gradient(135deg, rgba(162, 85, 163, 0.92), rgba(64, 37, 104, 0.78)), var(--hero-image, linear-gradient(135deg, rgba(162, 85, 163, 0.92), rgba(64, 37, 104, 0.78)));
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero--home::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(226, 251, 227, 0.24), transparent 52%);
    mix-blend-mode: screen;
}

.hero--home .shell {
    position: relative;
}

.hero-content {
    position: relative;
    width: 100%;
    max-width: min(100%, 540px);
    display: grid;
    gap: 1.5rem;
    padding: clamp(2rem, 4vw, 3.5rem) 0;
    z-index: 1;
}

.hero-logo {
    max-width: min(100%, 300px);
    justify-self: start;
    margin: 0;
    line-height: 0;
    font-size: 0;
}

.hero-logo img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.15));
}

.hero-intro {
    display: grid;
    gap: 1.5rem;
}

.hero-kicker {
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(226, 251, 227, 0.9);
    margin: 0;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 3vw + 1rem, 3.5rem);
    margin: 0;
    color: #fff;
}

.hero-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-actions .button.is-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.hero-actions .button.is-ghost:hover,
.hero-actions .button.is-ghost:focus {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.hero-highlights {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
}

.hero-highlights li {
    background: rgba(226, 251, 227, 0.18);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

@media (max-width: 720px) {
    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-logo {
        justify-self: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-highlights {
        justify-content: center;
    }
}

@media (min-width: 960px) {
    .hero-content {
        max-width: min(100%, 1040px);
        grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
        column-gap: clamp(2rem, 5vw, 4rem);
        align-items: stretch;
        grid-auto-rows: minmax(0, 1fr);
    }

    .hero-intro {
        align-self: stretch;
        min-height: 100%;
        align-content: end;
    }

    .hero-content > *:not(.hero-market-highlight) {
        grid-column: 1;
    }

    .hero-market-highlight {
        margin-top: 0;
        grid-column: 2;
        grid-row: 1 / -1;
        align-self: start;
    }

    .hero-logo {
        justify-self: start;
    }
}

.hero-market-highlight {
    display: grid;
    gap: 1.2rem;
    max-width: min(100%, 420px);
    margin-top: 2rem;
    justify-items: center;
}

.hero-content > .hero-market-highlight {
    justify-self: start;
}

.hero-market-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.market-card--hero {
    z-index: 1;
    max-width: 360px;
    width: 100%;
    padding: 1.4rem 1.6rem;
    gap: 1.2rem;
}

.market-card--hero .market-card__top {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.market-card--hero .market-card__date {
    padding: 0.6rem 1rem;
}

.market-card--hero .market-card__date-day {
    font-size: clamp(1.9rem, 3.8vw, 2.3rem);
}

.market-card__body--hero {
    gap: 0.9rem;
    justify-items: center;
    text-align: center;
}

.market-card__hero-location {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-primary);
}

.market-card__description--hero {
    color: var(--color-text);
    line-height: 1.6;
    text-align: center;
}

.market-card__description--hero p:last-child {
    margin-bottom: 0;
}

.market-card__footer--hero {
    padding-right: 0;
    margin-top: 0.5rem;
    justify-content: center;
    width: 100%;
}

.market-card__hero-button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 auto;
}

@media (max-width: 720px) {
    .hero-content > .hero-market-highlight {
        justify-self: center;
    }

    .hero-market-title {
        text-align: center;
    }

    .market-card--hero {
        padding: 1.2rem 1.4rem;
    }

    .market-card--hero .market-card__top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.about-preview {
    padding: 4rem 0 1rem;
}

.about-card {
    display: grid;
    gap: 2.5rem;
    align-items: center;
    grid-template-columns: repeat( auto-fit, minmax(260px, 1fr));
}

.about-card__text p:last-child {
    margin-bottom: 0;
}

.about-card__media {
    justify-self: center;
}

.about-card__media img {
    width: clamp(200px, 32vw, 320px);
    border-radius: 26px;
    box-shadow: var(--shadow-soft);
    object-fit: cover;
}

.home-gallery {
    padding: 3rem 0;
}

.home-gallery .slideshow {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-floating);
    aspect-ratio: 16 / 9;
    background: #1f112a;
}

@supports not (aspect-ratio: 1) {
    .home-gallery .slideshow {
        padding-top: 56.25%;
    }
}

.home-gallery .slideshow img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.1s ease;
}

.home-gallery .slideshow:not(.is-ready) img:first-of-type {
    opacity: 1;
}

.home-gallery .slideshow img.active {
    opacity: 1;
}

.feature-section {
    padding: 3rem 0;
}

.feature-grid {
    display: grid;
    gap: 1.8rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-card {
    background: linear-gradient(180deg, rgba(226, 251, 227, 0.72) 0%, rgba(255, 255, 255, 0.92) 100%);
    border: 1px solid rgba(var(--color-primary-rgb), 0.14);
    border-radius: 22px;
    padding: 1.8rem;
    display: grid;
    gap: 1rem;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-floating);
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.feature-card__link {
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.feature-card__link::after {
    content: '→';
    font-size: 1rem;
    transition: transform var(--transition-base);
}

.feature-card__link:hover::after {
    transform: translateX(4px);
}

.home-search {
    padding: 3rem 0 4rem;
}

.home-search .section-surface {
    margin: 0 auto;
    text-align: center;
}

.shop-search-head {
    text-align: center;
    margin-bottom: 1.5rem;
}

.shop-search-head h2 {
    margin-bottom: 0.35rem;
}

.shop-search input {
    width: min(420px, 100%);
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(var(--color-primary-rgb), 0.22);
    background: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.shop-search input:focus {
    outline: none;
    border-color: rgba(var(--color-primary-rgb), 0.6);
    box-shadow: var(--shadow-focus);
}

.shop-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    justify-content: center;
}

@media (min-width: 1024px) {
    .home-search .shop-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .about-preview {
        padding-top: 3rem;
    }

    .shop-search-block {
        padding: 2rem 1.4rem;
    }
}
