.topbar {
    min-height: 74px;
}

.menu-toggle {
    display: block;
}

.site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(23, 49, 34, 0.08);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.site-nav.is-open {
    display: flex;
}

.hero,
.page-hero {
    padding-top: 2.5rem;
}

.page-hero.compact {
    padding-bottom: 0.1rem;
}

.hero-copy h1,
.page-hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.35rem, 9.2vw, 3.25rem);
    line-height: 0.97;
    letter-spacing: -0.04em;
    text-wrap: balance;
    margin-bottom: 0.35rem;
}

.page-hero p {
    max-width: 30ch;
    font-size: 0.98rem;
    margin: 0;
}

.section-heading {
    align-items: start;
    flex-direction: column;
}

.thumb-button {
    width: 72px;
    height: 72px;
}

.catalog-carousel-head {
    align-items: center;
}

.carousel-controls {
    display: none;
}

.catalog-carousel-count {
    font-size: 0.95rem;
}

.catalog-filter-strip {
    position: sticky;
    top: 74px;
    z-index: 12;
    margin: -0.80rem -1rem 1rem;
    padding: 0.2rem 1rem 0.18rem;
    backdrop-filter: blur(12px);
    background: linear-gradient(180deg, rgba(247, 251, 244, 0.96) 0%, rgba(247, 251, 244, 0.88) 100%);
}

.catalog-filter-summary {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.85rem;
}

.filter-launcher {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 58px;
    padding: 0.65rem 1.1rem;
}

.catalog-filter-current {
    min-width: 104px;
    min-height: 58px;
    padding-top: 0;
}

.filter-launcher-icon {
    flex: 0 0 28px;
    align-self: center;
}

.filter-launcher-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    transform: none;
}

.page-hero .container {
    display: grid;
    gap: 0.35rem;
}

.catalog-carousel-shell {
    gap: 0.75rem;
}

.catalog-carousel-head {
    padding-inline: 0.1rem;
}

.catalog-carousel-head p {
    margin: 0;
}

.catalog-carousel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    overflow: visible;
    padding: 0;
}

.featured-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.featured-card-body {
    padding: 0.85rem;
}

.featured-card-body h3 {
    font-size: 1.05rem;
}

.featured-card-footer {
    align-items: start;
    flex-direction: column;
}

.product-card-media {
    padding: 0.45rem;
}

.product-card-media img {
    max-width: 100%;
    max-height: 100%;
}

.product-card-body h3 {
    min-height: auto;
    font-size: 1.85rem;
}

.product-card-body>p:not(.eyebrow) {
    min-height: auto;
    -webkit-line-clamp: 2;
}

.product-card {
    border-radius: 26px;
}

.product-card-body {
    padding: 1.15rem 1.15rem 1.25rem;
    gap: 0.7rem;
}

.product-card-actions {
    gap: 0.75rem;
    justify-content: flex-start;
}

.reference,
.price-tag {
    font-size: 0.95rem;
}

.text-link {
    width: 100%;
    padding-top: 0.15rem;
}

.catalog-carousel .product-card .eyebrow {
    font-size: 0.72rem;
}

.catalog-carousel .product-card-media {
    aspect-ratio: 1 / 1;
}

.catalog-carousel .product-card-media img {
    max-width: 94%;
    max-height: 94%;
}

.product-summary h1 {
    max-width: none;
}

.product-meta-grid {
    grid-template-columns: 1fr;
}

.product-gallery-main {
    min-height: 420px;
    padding: 0.75rem;
}

.product-gallery-main img {
    max-width: 100%;
    max-height: 100%;
}

.filter-modal-panel {
    width: calc(100% - 1rem);
    margin-top: 1rem;
    padding: 1rem;
    max-height: calc(100vh - 1.5rem);
    border-radius: 26px 26px 22px 22px;
}

.filter-modal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.filter-option {
    min-height: 54px;
    padding: 0.7rem 0.75rem;
    gap: 0.6rem;
    font-size: 0.82rem;
}

.filter-option-icon {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.site-header .container {
    position: relative;
    z-index: 1001;
}

@media (max-width: 767px) {

    body:not(.admin-body) .site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0;
        right: 0;
        height: 70px;
    }

    body:not(.admin-body) .topbar {
        min-height: 70px;
        height: 70px;
    }

    body:not(.admin-body) .site-nav {
        position: fixed;
        top: 78px;
        left: 0.75rem;
        right: 0.75rem;
    }
}
