/**
 * Haller Lend – Shop „Regal“ (Child-Theme 1.5.8)
 * Wird nur auf den Shop-Seiten geladen: Produktliste, Produktseite, Warenkorb.
 * Alle Regeln hängen an body.hlc-regal – die übrige Website bleibt unverändert.
 *
 * Farben: dunkles Grün als Bühne, Sonnengelb als einzige Signalfarbe
 * (Kaufen in der Bühne, Ersparnis, Fortschritt, „Zur Kasse“), helles Grün als ruhige Fläche.
 */

.hlc-regal {
    --rg-ink: #10231A;
    --rg-forest: #0F3D22;
    --rg-forest-2: #17522F;
    --rg-board: #2D8B4E;
    --rg-leaf: #EAF3EA;
    --rg-sun: #F4C534;
    --rg-sun-2: #E6B622;
    --rg-muted: #4B5A50;
    --rg-on-dark: #D5E7D8;
    --rg-line: #DCE6DC;
    --rg-line-2: #C3D9C6;
}

/* ─── Knöpfe ─── */
.hlc-regal #main-content .btn-primary {
    background: var(--rg-forest);
    box-shadow: none;
}

.hlc-regal #main-content .btn-primary:hover {
    background: var(--rg-forest-2);
    box-shadow: 0 8px 18px -8px rgba(15, 61, 34, 0.55);
}

.hlc-regal #main-content .btn-add-cart.added {
    background: var(--rg-board);
}

.hlc-regal .hlc-btn-sun {
    background: var(--rg-sun);
    color: var(--rg-ink);
    font-weight: 700;
    box-shadow: none;
}

.hlc-regal .hlc-btn-sun:hover {
    background: var(--rg-sun-2);
    transform: translateY(-1px);
}

.hlc-regal .hlc-btn-sun:focus-visible {
    outline: 3px solid var(--rg-ink);
    outline-offset: 2px;
}

/* ═══ Produktliste ═══ */

/* Saison-Bühne */
.hlc-stage {
    background: var(--rg-forest);
    color: #fff;
    padding: 1.25rem 0 1.5rem;
}

.hlc-stage-grid {
    --rg-img: 108px;
    display: grid;
    gap: 1.125rem;
}

.hlc-stage-eyebrow {
    margin: 0 0 0.75rem;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rg-on-dark);
}

.hlc-stage-tag {
    display: inline-flex;
    align-items: center;
    min-height: 1.625rem;
    padding: 0 0.75rem;
    border-radius: 999px;
    background: var(--rg-sun);
    color: var(--rg-ink);
    font-size: 0.75rem;
    font-weight: 700;
}

.hlc-stage-title {
    margin: 0.75rem 0 0;
    max-width: 12em;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.13;
    color: #fff;
    text-wrap: balance;
}

.hlc-stage-claim {
    margin: 0.5rem 0 0;
    max-width: 32em;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--rg-on-dark);
}

.hlc-stage-items {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Regalbrett unter den Produkten */
.hlc-stage-items::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: var(--rg-img);
    height: 8px;
    border-radius: 4px;
    background: var(--rg-board);
    box-shadow: 0 12px 18px rgba(0, 0, 0, 0.35);
}

.hlc-stage-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 0.375rem;
    min-width: 0;
    text-align: center;
}

.hlc-stage-img {
    flex: 0 0 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: var(--rg-img);
}

.hlc-stage-img img {
    display: block;
    width: var(--rg-img);
    height: var(--rg-img);
    object-fit: contain;
    object-position: center bottom;
    transition: transform 0.3s ease;
}

.hlc-stage-img:hover img {
    transform: translateY(-4px);
}

.hlc-stage-item.is-photo .hlc-stage-img img {
    width: calc(var(--rg-img) - 12px);
    height: calc(var(--rg-img) - 12px);
    margin-bottom: 4px;
    border-radius: 12px;
    background: #fff;
}

.hlc-stage-name {
    flex: 0 0 100%;
    margin-top: 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.hlc-stage-name:hover,
.hlc-stage-name:focus-visible {
    text-decoration: underline;
    color: #fff;
}

.hlc-stage-price {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--rg-sun);
    white-space: nowrap;
}

.hlc-stage .hlc-stage-add {
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    margin-top: 0.125rem;
    padding: 0;
    gap: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 0;
    line-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.hlc-stage .hlc-stage-add:hover,
.hlc-stage .hlc-stage-add.added {
    background: var(--rg-sun);
    border-color: var(--rg-sun);
    color: var(--rg-ink);
}

.hlc-stage .hlc-stage-add:focus-visible,
.hlc-stage-name:focus-visible,
.hlc-stage-img:focus-visible {
    outline: 3px solid var(--rg-sun);
    outline-offset: 2px;
}

.hlc-stage-actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.hlc-regal .hlc-stage-all {
    width: 100%;
    min-height: 52px;
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
}

.hlc-regal .hlc-stage-all.added {
    background: #fff;
}

.hlc-stage-note {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--rg-on-dark);
    text-align: center;
}

@media (min-width: 768px) {
    .hlc-stage {
        padding: 2.25rem 0 2.5rem;
    }

    .hlc-stage-grid {
        --rg-img: 150px;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        grid-template-areas:
            "text shelf"
            "actions shelf";
        column-gap: 2.5rem;
        row-gap: 1.5rem;
        align-items: start;
    }

    .hlc-stage-text {
        grid-area: text;
        align-self: end;
    }

    .hlc-stage-shelf {
        grid-area: shelf;
        align-self: center;
    }

    .hlc-stage-actions {
        grid-area: actions;
        align-items: flex-start;
    }

    .hlc-stage-title {
        font-size: 2.5rem;
    }

    .hlc-stage-claim {
        font-size: 1rem;
    }

    .hlc-stage-items {
        gap: 1rem;
    }

    .hlc-stage-name {
        font-size: 0.9375rem;
    }

    .hlc-stage-price {
        font-size: 1rem;
    }

    .hlc-regal .hlc-stage-all {
        width: auto;
        padding: 0.75rem 2rem;
    }

    .hlc-stage-note {
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .hlc-stage {
        padding: 3rem 0 3.25rem;
    }

    .hlc-stage-grid {
        --rg-img: 190px;
        column-gap: 4rem;
    }

    .hlc-stage-title {
        font-size: 3.125rem;
    }
}

/* Kopf der Liste: flach, damit die Produkte früher kommen */
.hlc-regal .shop-hero {
    padding: 1rem 0 0.25rem;
    background: #fff;
}

.hlc-regal .shop-hero-content,
.hlc-regal .shop-hero .container > * {
    max-width: none;
}

.hlc-shop-head-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hlc-shop-eyebrow {
    display: block;
    margin-bottom: 0.125rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}

.hlc-regal .shop-hero-title {
    margin: 0;
    font-size: 1.75rem;
    line-height: 1.15;
    color: var(--rg-ink);
}

.hlc-regal .hlc-brand-tabs {
    margin: 0;
    align-self: flex-start;
}

.hlc-regal .hlc-brand-tab.is-active,
.hlc-regal .hlc-brand-tab.is-active:hover {
    background: var(--rg-forest);
}

.hlc-regal .shop-hero-description {
    display: none;
    margin: 0.75rem 0 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--rg-muted);
}

.hlc-shop-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--rg-muted);
}

.hlc-shop-benefits li {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.hlc-shop-benefits svg {
    flex-shrink: 0;
    color: var(--primary);
}

.hlc-shop-head--stage .hlc-shop-benefits {
    display: none;
}

@media (max-width: 639px) {
    .hlc-regal .hlc-brand-tabs {
        align-self: stretch;
        margin-bottom: 0;
    }

    .hlc-shop-benefits li:nth-child(3) {
        display: none;
    }
}

@media (min-width: 768px) {
    .hlc-regal .shop-hero {
        padding: 1.75rem 0 0.5rem;
    }

    .hlc-shop-head-row {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 2rem;
    }

    .hlc-regal .shop-hero-title {
        font-size: 2.25rem;
    }

    .hlc-regal .hlc-brand-tabs {
        align-self: auto;
        flex-shrink: 0;
    }

    .hlc-regal .shop-hero-description {
        display: block;
    }

    .hlc-regal .hlc-shop-hero-search .shop-hero-description {
        display: none;
    }

    .hlc-shop-benefits {
        font-size: 0.8125rem;
    }
}

/* Suche, Kategorien, Sortierung */
.hlc-regal .shop-filter {
    padding: 0.75rem 0 0.875rem;
    border-bottom: 1px solid var(--rg-line);
}

.hlc-regal .hlc-shop-search {
    margin: 0 0 0.75rem;
}

.hlc-regal .filter-wrapper {
    display: block;
}

.hlc-regal .filter-categories {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.5rem;
    max-height: none;
    margin: 0 !important;
    overflow: visible;
}

.hlc-regal .filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.5rem;
    background: var(--rg-leaf);
    color: var(--rg-ink);
}

.hlc-regal .filter-btn:hover {
    background: var(--rg-line-2);
    color: var(--rg-ink);
}

.hlc-regal .filter-btn.active {
    background: var(--rg-forest);
    color: #fff;
}

.hlc-regal .filter-btn:focus-visible {
    outline: 2px solid var(--rg-forest);
    outline-offset: 2px;
}

.hlc-filter-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.hlc-filter-ico svg {
    width: 18px;
    height: 18px;
}

.hlc-regal .hlc-subcats {
    justify-content: flex-start;
    max-width: none;
    margin: 0.75rem 0 0;
}

.hlc-regal .hlc-filter-results {
    margin-top: 0.75rem;
    text-align: left;
}

@media (max-width: 767px) {
    /* Kategorien als Leiste zum Wischen statt hinter „Filter anzeigen“ */
    .hlc-regal .filter-categories {
        flex-wrap: nowrap;
        margin: 0 -1rem !important;
        padding: 0 1rem 0.25rem;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .hlc-regal .filter-categories::-webkit-scrollbar {
        display: none;
    }

    .hlc-regal .filter-btn {
        flex: 0 0 auto;
        min-height: 2.75rem;
    }
}

@media (max-width: 639px) {
    .hlc-regal .hlc-subcats {
        margin: 0.5rem -1rem 0;
    }

    .hlc-regal .hlc-filter-results {
        flex-direction: row;
        align-items: center;
    }

    .hlc-regal .hlc-sort label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }
}

/* Produktkarten */
.hlc-regal .shop-products {
    padding: 1.25rem 0 3rem;
}

@media (min-width: 768px) {
    .hlc-regal .shop-products {
        padding: 2rem 0 4rem;
    }
}

.hlc-regal .shop-product-card {
    border: 1px solid var(--rg-line);
    box-shadow: none;
}

.hlc-regal .shop-product-card:hover {
    border-color: var(--rg-line-2);
    box-shadow: 0 14px 26px -16px rgba(15, 61, 34, 0.5);
    transform: translateY(-2px);
}

.hlc-regal .shop-product-image {
    background: var(--rg-leaf);
}

/* Die Produktfotos haben weißen Hintergrund – so stehen sie frei auf der grünen Fläche. */
.hlc-regal .shop-product-image img {
    mix-blend-mode: multiply;
}

.hlc-regal .shop-product-card .stock-badge.in-stock {
    background: #fff;
    color: var(--rg-forest);
}

.hlc-regal .shop-product-name {
    color: var(--rg-ink);
}

.hlc-regal .shop-product-footer {
    border-top: 0;
    padding-top: 0;
}

.hlc-regal .price-amount {
    color: var(--rg-ink);
}

.hlc-card-saving {
    display: inline-block;
    margin: 0.375rem 0 0;
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    background: var(--rg-sun);
    color: var(--rg-ink);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.45;
}

.hlc-regal .info-banner-icon,
.hlc-regal .step-number {
    color: var(--rg-forest);
}

/* ═══ Produktseite ═══ */
.hlc-regal-produkt .product-detail-section {
    padding-top: 1rem;
}

.hlc-regal-produkt .product-detail-grid {
    grid-template-areas:
        "image"
        "head"
        "buy"
        "body";
}

.hlc-regal-produkt .product-left-column {
    grid-area: image;
}

.hlc-product-head {
    grid-area: head;
    min-width: 0;
}

.hlc-regal-produkt .product-sidebar-container {
    grid-area: buy;
    margin-top: 0;
    background: #fff;
    border-color: var(--rg-line);
}

.hlc-regal-produkt .product-info-container {
    grid-area: body;
}

.hlc-regal-produkt .product-image-container {
    padding: 1.5rem;
    background: var(--rg-leaf);
}

.hlc-regal-produkt .product-image {
    mix-blend-mode: multiply;
}

.hlc-product-head .product-title {
    margin-top: 0.5rem;
    color: var(--rg-ink);
}

.hlc-product-head .product-subtitle {
    margin-bottom: 0.75rem;
}

.hlc-product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hlc-product-badges li {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    background: var(--rg-leaf);
    color: var(--rg-forest);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
}

.hlc-product-badges svg {
    flex-shrink: 0;
}

/* Kaufbereich */
.hlc-regal-produkt .hlc-size-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hlc-regal-produkt .hlc-size-option {
    min-height: 4.25rem;
    border-width: 2px;
    border-color: var(--rg-line);
}

.hlc-regal-produkt .hlc-size-option:hover {
    border-color: var(--rg-board);
}

.hlc-regal-produkt .hlc-size-option.is-current {
    border-color: var(--rg-forest);
    background: var(--rg-leaf);
    color: var(--rg-ink);
}

.hlc-regal-produkt .hlc-size-option.is-current .hlc-size-price {
    color: var(--rg-ink);
}

.hlc-size-save {
    align-self: flex-start;
    margin-top: 0.25rem;
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    background: var(--rg-sun);
    color: var(--rg-ink);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.45;
    white-space: nowrap;
}

.hlc-size-note {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--rg-muted);
}

.hlc-regal-produkt .product-price-box {
    display: flex;
    margin-bottom: 1rem;
    padding: 0;
    background: transparent;
}

.hlc-regal-produkt .product-price-main {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2rem;
    line-height: 1.15;
    color: var(--rg-ink);
}

.hlc-regal-produkt .product-stock.in-stock {
    color: var(--rg-forest);
}

.hlc-regal-produkt .product-actions {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.hlc-regal-produkt .product-hint {
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 0.875rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    text-align: left;
    color: var(--rg-muted);
}

.hlc-regal-produkt .product-hint svg {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: var(--rg-forest);
}

.hlc-product-advisory {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1rem 0 0;
    padding: 0.75rem 0.875rem;
    border-radius: 0.75rem;
    background: var(--rg-leaf);
    color: var(--rg-forest);
    font-size: 0.8125rem;
    line-height: 1.4;
}

.hlc-product-advisory svg {
    flex-shrink: 0;
    margin-top: 0.15rem;
}

@media (max-width: 767px) {
    /* Am Handy ohne doppelten Rahmen, damit Name und Kaufbereich höher stehen */
    .hlc-regal-produkt .product-detail-wrapper {
        background: transparent;
        border-radius: 0;
        box-shadow: none;
    }

    .hlc-regal-produkt .product-detail-grid {
        gap: 1rem;
        padding: 0;
    }

    .hlc-regal-produkt .product-image-container {
        padding: 1rem;
    }

    .hlc-regal-produkt .product-image {
        height: clamp(160px, 50vw, 210px);
    }

    .hlc-regal-produkt .product-sidebar-container {
        padding: 1rem;
    }

    .hlc-regal-produkt .product-info-container {
        margin-top: 0.5rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hlc-regal-produkt .product-detail-grid {
        grid-template-areas:
            "image head"
            "image buy"
            "image body";
        grid-template-rows: auto auto 1fr;
    }
}

@media (min-width: 1024px) {
    .hlc-regal-produkt .product-detail-grid {
        grid-template-areas:
            "image head buy"
            "image body buy";
        grid-template-rows: auto 1fr;
        row-gap: 1.25rem !important;
    }
}

/* Vorschläge */
.hlc-regal-produkt .related-products.section {
    padding: 3rem 0 4rem;
}

.hlc-regal-produkt .related-products .section-header {
    margin-bottom: 2rem;
}

/* Kaufbalken (Produktseite) und „Zur Kasse“ (Warenkorb) am unteren Rand */
.hlc-buybar,
.hlc-paybar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.625rem 1rem calc(0.625rem + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid var(--rg-line-2);
    box-shadow: 0 -6px 16px rgba(16, 35, 26, 0.1);
}

.hlc-buybar[hidden],
.hlc-paybar[hidden] {
    display: none;
}

.hlc-buybar-info,
.hlc-paybar-sum {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hlc-buybar-name,
.hlc-paybar-label {
    overflow: hidden;
    font-size: 0.8125rem;
    line-height: 1.35;
    color: var(--rg-muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hlc-buybar-price,
.hlc-paybar-total {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--rg-ink);
}

.hlc-regal .hlc-buybar .btn,
.hlc-regal .hlc-paybar .btn {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 0.75rem 1.375rem;
    font-size: 0.9375rem;
    white-space: nowrap;
}

.hlc-regal .hlc-buybar .btn-add-cart .btn-text {
    display: inline;
}

@media (max-width: 1023px) {
    body.hlc-has-bar {
        padding-bottom: 4.5rem;
    }

    body.hlc-has-bar .cart-notification {
        bottom: 5.25rem;
    }
}

@media (min-width: 1024px) {
    .hlc-buybar,
    .hlc-paybar {
        display: none;
    }
}

/* ═══ Warenkorb ═══ */
.hlc-regal-warenkorb .cart-page.section {
    padding: 1.5rem 0 3rem;
}

.hlc-regal-warenkorb .cart-page .section-header {
    max-width: none;
    margin: 0 0 1rem;
    text-align: left;
}

.hlc-regal-warenkorb .cart-page .section-label {
    margin-bottom: 0.25rem;
}

.hlc-regal-warenkorb .cart-page .section-label::before,
.hlc-regal-warenkorb .cart-page .section-label::after {
    display: none;
}

.hlc-regal-warenkorb .cart-page .section-title {
    margin-bottom: 0;
    font-size: 1.75rem;
    color: var(--rg-ink);
}

.hlc-regal-warenkorb .cart-page .section-description {
    display: none;
    margin-top: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .hlc-regal-warenkorb .cart-page.section {
        padding: 2.5rem 0 5rem;
    }

    .hlc-regal-warenkorb .cart-page .section-header {
        margin-bottom: 1.5rem;
    }

    .hlc-regal-warenkorb .cart-page .section-title {
        font-size: 2.25rem;
    }

    .hlc-regal-warenkorb .cart-page .section-description {
        display: block;
    }
}

.hlc-freebar {
    margin: 0 0 1rem;
    padding: 0.875rem 1rem;
    border-radius: 1rem;
    background: var(--rg-forest);
    color: #fff;
}

.hlc-freebar-msg {
    margin: 0 0 0.625rem;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
}

.hlc-freebar-track {
    height: 10px;
    border-radius: 5px;
    background: #2A5A3C;
    overflow: hidden;
}

.hlc-freebar-fill {
    width: 4%;
    height: 100%;
    border-radius: 5px;
    background: var(--rg-sun);
    transition: width 0.4s ease;
}

.hlc-freebar-note {
    margin: 0.625rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--rg-on-dark);
}

@media (min-width: 768px) {
    .hlc-freebar {
        padding: 1.125rem 1.5rem;
    }

    .hlc-freebar-msg {
        font-size: 1.0625rem;
    }
}

.hlc-cart-main {
    min-width: 0;
}

.hlc-regal-warenkorb .cart-item {
    border: 1px solid var(--rg-line);
    box-shadow: none;
}

.hlc-regal-warenkorb .cart-item-image {
    background: var(--rg-leaf);
}

.hlc-regal-warenkorb .cart-item-image img {
    mix-blend-mode: multiply;
}

.hlc-regal-warenkorb .cart-item-name {
    color: var(--rg-ink);
}

.hlc-cart-more {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    min-height: 44px;
    margin-top: 0.5rem;
    color: var(--rg-forest);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}

.hlc-cart-more:hover {
    text-decoration: underline;
}

.hlc-regal-warenkorb .cart-summary {
    border: 1px solid var(--rg-line);
    box-shadow: none;
}

.hlc-regal-warenkorb .hlc-cart-info {
    border-color: var(--rg-line);
}

@media (prefers-reduced-motion: reduce) {
    .hlc-stage-img img,
    .hlc-freebar-fill,
    .hlc-regal .shop-product-card,
    .hlc-regal .hlc-btn-sun {
        transition: none;
    }

    .hlc-stage-img:hover img,
    .hlc-regal .shop-product-card:hover,
    .hlc-regal .hlc-btn-sun:hover {
        transform: none;
    }
}

/* 1.5.12: Reiter „Übersicht“ (zur Shop-Startseite) – am Handy nur das Symbol */
@media (max-width: 479px) {
    .hlc-regal .hlc-brand-tab--start {
        flex: 0 0 auto;
        padding-left: 0.875rem;
        padding-right: 0.875rem;
    }

    .hlc-regal .hlc-brand-tab--start span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }
}


/* ─── 1.5.26: Vorschläge „Passt dazu“ im Warenkorb ─── */
.hlc-tips {
    margin: 1.25rem 0 0.5rem;
    padding: 1rem;
    border: 1px solid var(--rg-line);
    border-radius: 1rem;
    background: #fff;
}

.hlc-tips-title {
    margin: 0 0 0.25rem;
    font-size: 1.125rem;
    line-height: 1.3;
    color: var(--rg-ink);
}

.hlc-tips-note {
    margin: 0 0 0.5rem;
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--rg-ink);
}

.hlc-tips-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hlc-tip {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--rg-line);
}

.hlc-tip:first-child {
    border-top: 0;
}

.hlc-tip-img {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 0.5rem;
    background: var(--rg-leaf);
    overflow: hidden;
}

.hlc-tip-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hlc-tip-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.hlc-tip-name {
    color: var(--rg-ink);
    font-weight: 700;
    font-size: 0.9375rem;
    line-height: 1.3;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.hlc-tip-name:hover {
    text-decoration: underline;
}

.hlc-tip-info {
    font-size: 0.8125rem;
    line-height: 1.35;
    color: #4A5A50;
}

.hlc-tip-price {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--rg-forest);
}

.hlc-tip-free {
    align-self: flex-start;
    margin-top: 0.125rem;
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    background: var(--rg-sun);
    color: #1F2A22;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.4;
}

.hlc-tip-add {
    min-height: 44px;
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    white-space: nowrap;
}

@media (max-width: 379px) {
    .hlc-tip {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .hlc-tip-img {
        width: 48px;
        height: 48px;
    }

    .hlc-tip-add {
        grid-column: 1 / -1;
        width: 100%;
    }
}


/* ─── 1.5.27: Filter der Produktliste (Eigenschaften, Preis, „Für“) ─── */
.hlc-filter {
    margin: 0.75rem 0 0;
    border: 1px solid var(--rg-line);
    border-radius: 0.875rem;
    background: #fff;
}

.hlc-filter > summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0 1rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--rg-ink);
    list-style: none;
}

.hlc-filter > summary::-webkit-details-marker {
    display: none;
}

.hlc-filter > summary::after {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    margin-left: auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.hlc-filter[open] > summary::after {
    transform: rotate(225deg);
}

.hlc-filter-n {
    min-width: 1.375rem;
    height: 1.375rem;
    padding: 0 0.375rem;
    border-radius: 999px;
    background: var(--rg-forest);
    color: #fff;
    font-size: 0.75rem;
    line-height: 1.375rem;
    text-align: center;
}

.hlc-filter-body {
    padding: 0.25rem 1rem 0.875rem;
}

.hlc-filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0;
}

.hlc-filter-title {
    flex: 0 0 100%;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--rg-muted);
}

.hlc-chip {
    min-height: 40px;
    padding: 0.375rem 0.875rem;
    border: 1px solid var(--rg-line-2);
    border-radius: 999px;
    background: #fff;
    color: var(--rg-ink);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}

.hlc-chip:hover {
    border-color: var(--rg-forest);
}

.hlc-chip.is-on {
    border-color: var(--rg-forest);
    background: var(--rg-forest);
    color: #fff;
}

.hlc-chip:focus-visible,
.hlc-filter-clear:focus-visible,
.hlc-filter > summary:focus-visible {
    outline: 3px solid var(--rg-sun);
    outline-offset: 2px;
}

.hlc-filter-clear {
    margin-top: 0.375rem;
    padding: 0.5rem 0;
    border: 0;
    background: none;
    color: var(--rg-forest);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.hlc-filter-leer {
    margin: 0.875rem 0 0;
    font-size: 0.9375rem;
    color: var(--rg-ink);
}

.shop-product-card.hlc-f-out {
    display: none !important;
}

@media (min-width: 768px) {
    .hlc-filter-row {
        flex-wrap: wrap;
    }

    .hlc-filter-title {
        flex: 0 0 7.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hlc-filter > summary::after {
        transition: none;
    }
}


/* ═══ 1.6.2: eine Leiste „Bereich – Kategorie“ für den ganzen Shop (Abnahme 26.11.2026) ═══ */
.hlc-leiste {
    min-width: 0;
    margin: 0;
    padding: 0.625rem;
    border: 1px solid var(--rg-line);
    border-radius: 18px;
    background: #fff;
    color: var(--rg-ink);
}

.hlc-leiste-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.hlc-leiste-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 46px;
    padding: 0.375rem 0.5rem;
    border-radius: 12px;
    background: var(--rg-leaf);
    color: var(--rg-ink);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.hlc-leiste-tab svg { flex-shrink: 0; }
.hlc-leiste-tab:hover { background: var(--rg-line-2); color: var(--rg-ink); }
.hlc-leiste-tab.is-active,
.hlc-leiste-tab.is-active:hover { background: var(--rg-forest); color: #fff; }
.hlc-leiste-tab:focus-visible,
.hlc-kat:focus-visible { outline: 3px solid var(--rg-board); outline-offset: 2px; }

.hlc-leiste-kats {
    position: relative;
    display: flex;
    gap: 0.5rem;
    margin-top: 0.625rem;
    padding: 2px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.hlc-leiste-kats[hidden] { display: none; }
.hlc-leiste-kats::-webkit-scrollbar { display: none; }

.hlc-kat {
    flex: 0 0 104px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.3rem;
    min-height: 84px;
    padding: 0.625rem 0.25rem 0.5rem;
    border: 1px solid var(--rg-line);
    border-radius: 12px;
    background: #fff;
    color: var(--rg-ink);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    scroll-snap-align: start;
    hyphens: manual;
    overflow-wrap: normal;
}

.hlc-kat-ico { display: inline-flex; color: var(--rg-board); }
.hlc-kat-ico svg { width: 24px; height: 24px; }
.hlc-kat:hover { border-color: var(--rg-board); color: var(--rg-forest); }
.hlc-kat.is-active,
.hlc-kat.is-active:hover {
    border-color: var(--rg-forest);
    box-shadow: inset 0 0 0 1px var(--rg-forest);
    background: var(--rg-leaf);
    color: var(--rg-forest);
    font-weight: 700;
}
.hlc-kat.is-active .hlc-kat-ico { color: var(--rg-forest); }

@media (min-width: 900px) {
    .hlc-leiste { padding: 0.75rem; }
    .hlc-leiste-tabs { grid-template-columns: repeat(2, minmax(0, 240px)); }
    .hlc-kat { flex: 1 0 96px; max-width: 150px; font-size: 0.8125rem; }
}

/* Platz der Leiste: Produktliste, Shop-Startseite, Bereichs-Startseiten */
.hlc-regal .shop-filter .hlc-leiste { margin-bottom: 0.875rem; }
.hlc-start-leiste { min-width: 0; }
.hlc-area-intro .hlc-leiste { margin-top: 1rem; }

@media (min-width: 1024px) {
    /* Am Computer steht die Leiste ganz oben, damit die Kategorien ohne Scrollen sichtbar sind. */
    .hlc-start-hero.has-stage .hlc-start-hero-grid > .hlc-start-leiste { grid-column: 1 / -1; grid-row: 1; }
    .hlc-start-hero.has-stage .hlc-start-hero-grid > .hlc-start-intro { grid-column: 1; grid-row: 2; }
    .hlc-start-hero.has-stage .hlc-start-hero-grid > .hlc-start-stage { grid-column: 2; grid-row: 2; }
    .hlc-start-hero:not(.has-stage) .hlc-start-hero-grid > .hlc-start-leiste { order: -1; }
    .hlc-start .hlc-start-hero { padding-top: 1.5rem; }
}

/* Produktliste: ein Knopf „Filter“, Zahl der Produkte, Sortierung */
.hlc-regal .hlc-werkzeug {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}

.hlc-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0 1rem;
    border: 1.5px solid var(--rg-forest);
    border-radius: 999px;
    background: #fff;
    color: var(--rg-forest);
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
}

.hlc-filter-btn[hidden] { display: none; }
.hlc-filter-btn:hover,
.hlc-filter-btn[aria-expanded="true"] { background: var(--rg-leaf); }
.hlc-filter-btn:focus-visible { outline: 3px solid var(--rg-board); outline-offset: 2px; }
.hlc-werkzeug-zahl { flex: 1 1 auto; }
.hlc-regal .hlc-werkzeug .hlc-sort { margin-left: auto; }

@media (max-width: 599px) {
    .hlc-werkzeug-zahl { order: 3; flex: 1 1 100%; }
    .hlc-regal .hlc-werkzeug .hlc-sort label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

/* Gesetzte Filter als Marken */
.hlc-fchips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hlc-fchip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    min-height: 36px;
    margin-top: 0.625rem;
    padding: 0 0.75rem;
    border: 0;
    border-radius: 999px;
    background: var(--rg-leaf);
    color: var(--rg-ink);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.hlc-fchip:hover { background: var(--rg-line-2); color: var(--rg-ink); }
.hlc-fchip:focus-visible { outline: 3px solid var(--rg-board); outline-offset: 2px; }

/* Filter-Feld (war bis 1.6.1 ein aufklappbares Element mit eigener Überschrift) */
.hlc-filter-panel[hidden] { display: none; }
.hlc-filter-panel .hlc-filter-body { padding: 0.5rem 1rem 0.875rem; }
a.hlc-chip { display: inline-flex; align-items: center; text-decoration: none; }

/* 1.6.3: Reiter am Handy – „Nahrungsergänzung“ muss ganz in den Knopf passen */
@media (max-width: 479px) {
    .hlc-leiste-tab { gap: 0.3rem; padding: 0.375rem 0.25rem; font-size: 0.8125rem; }
    .hlc-leiste-tab svg { width: 15px; height: 15px; }
}
@media (max-width: 359px) {
    .hlc-leiste-tab svg { display: none; }
}


/* ==========================================================================
   1.6.4 – Zahlarten-Zeile (Abnahme Punkt 9)
   ========================================================================== */
.hlc-zahlarten {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: .5rem;
    margin: .5rem 0 0;
    font-size: .8125rem;
    line-height: 1.45;
    text-align: left;
    color: var(--rg-muted, #4b5a50);
}
.hlc-zahlarten svg { flex: 0 0 auto; margin-top: .15rem; color: var(--rg-forest, #1B6B35); }
.hlc-zahlarten--korb { margin-top: .875rem; }
.hlc-zahlarten-band {
    border-top: 1px solid rgba(27, 107, 53, .12);
    background: #f6faf7;
    padding: 1rem 0;
}
.hlc-zahlarten-band .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .5rem 1.25rem;
}
.hlc-zahlarten-band .hlc-zahlarten { margin: 0; }
.hlc-zahlarten-link { font-size: .8125rem; font-weight: 600; color: var(--rg-forest, #1B6B35); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
    .hlc-zahlarten-band .container { justify-content: flex-start; }
}
