/* v699 – strict-reference acceptance layer.
   This file is deliberately loaded last on article pages.  It neutralises
   earlier experimental fixed-height and image-only card rules without
   changing any JTL markup or shop functionality. */
@media (min-width: 1200px) {
    html body:has(#product-offer) {
        --luna-reference-frame: min(1200px, calc(100% - 40px));
    }

    /* A long short description is real product content.  The right detail
       column and its parent must grow with it; only the gallery itself keeps
       the measured reference height. */
    html body:has(#product-offer) #product-offer.product-detail {
        grid-template-rows: auto !important;
        height: auto !important;
        min-height: 416px !important;
        max-height: none !important;
        align-items: start !important;
    }
    html body:has(#product-offer) #product-offer > .product-info {
        align-self: stretch !important;
        height: auto !important;
        min-height: 368px !important;
        max-height: none !important;
    }
    html body:has(#product-offer) #product-offer .product-info-inner {
        height: auto !important;
        min-height: 338px !important;
        max-height: none !important;
        grid-template-rows: auto auto auto !important;
        align-content: start !important;
    }

    /* Header: one centred, stable desktop frame.  The search field receives
       its own column; account, wishlist and cart retain NOVA's native markup. */
    html body:has(#product-offer) #header-top-bar > .container,
    html body:has(#product-offer) #header-top-bar > .container-fluid,
    html body:has(#product-offer) #jtl-nav-wrapper > .hide-navbar,
    html body:has(#product-offer) #jtl-nav-wrapper > [class*='menu-center-'],
    html body:has(#product-offer) #mainNavigation {
        box-sizing: border-box !important;
        width: var(--luna-reference-frame) !important;
        max-width: var(--luna-reference-frame) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    html body:has(#product-offer) #jtl-nav-wrapper > .hide-navbar {
        padding: 5px 0 !important;
        background: #fff !important;
    }
    html body:has(#product-offer) #jtl-nav-wrapper > .hide-navbar > .navbar {
        display: grid !important;
        grid-template-columns: 170px 480px minmax(0, 1fr) !important;
        gap: 42px !important;
        align-items: center !important;
        width: 100% !important;
        min-height: 58px !important;
        height: 58px !important;
        padding: 0 !important;
    }
    html body:has(#product-offer) #jtl-nav-wrapper .nav-logo-wrapper,
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper,
    html body:has(#product-offer) #jtl-nav-wrapper .nav-icons-wrapper {
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    html body:has(#product-offer) #jtl-nav-wrapper .luna-v562-golden-logo {
        width: 170px !important;
        max-width: 170px !important;
        max-height: 50px !important;
        object-fit: contain !important;
    }
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper,
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper form,
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper .search-wrapper,
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper #search,
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper .form-icon,
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper .input-group {
        display: flex !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper {
        justify-self: stretch !important;
        flex: none !important;
    }
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper .input-group {
        height: 34px !important;
        border: 1px solid #e5d9d4 !important;
        border-radius: 3px !important;
        overflow: hidden !important;
        background: #fff !important;
    }
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper .twitter-typeahead {
        display: block !important;
        flex: 1 1 auto !important;
        width: 1% !important;
        min-width: 0 !important;
    }
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper .form-control {
        flex: 1 1 auto !important;
        width: 1% !important;
        min-width: 0 !important;
        height: 32px !important;
        border: 0 !important;
        box-shadow: none !important;
    }
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper .tt-input,
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper .tt-hint {
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 32px !important;
    }
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper .input-group-append,
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper button {
        flex: 0 0 42px !important;
        width: 42px !important;
        height: 32px !important;
        border-radius: 0 !important;
    }
    html body:has(#product-offer) #jtl-nav-wrapper .nav-icons-wrapper {
        justify-self: end !important;
        align-self: center !important;
    }
    html body:has(#product-offer) #jtl-nav-wrapper #shop-nav {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: auto !important;
        min-width: 0 !important;
        height: auto !important;
        gap: 14px !important;
    }
    html body:has(#product-offer) #jtl-nav-wrapper #shop-nav > li,
    html body:has(#product-offer) #jtl-nav-wrapper #shop-nav .nav-link {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        transform: none !important;
    }
    html body:has(#product-offer) #jtl-nav-wrapper > [class*='menu-center-'],
    html body:has(#product-offer) #jtl-nav-wrapper > [class*='menu-center-'] > .navbar,
    html body:has(#product-offer) #mainNavigation {
        height: 34px !important;
        min-height: 34px !important;
        overflow: visible !important;
    }
    html body:has(#product-offer) #mainNavigation .nav-scrollbar-inner {
        align-items: stretch !important;
        min-height: 34px !important;
    }

    /* Lower area: content may define its own height.  Never hide a legal,
       editorial or product description merely to force matching card heights. */
    html body:has(#product-offer) #result-wrapper .luna-detail-lower-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr) minmax(0, 1.15fr) !important;
        align-items: start !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel,
    html body:has(#product-offer) #result-wrapper .luna-detail-related-panel {
        align-self: start !important;
        height: auto !important;
        min-height: 188px !important;
        max-height: none !important;
        overflow: visible !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel #tab-description,
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel .tab-content,
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel .desc,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .luna-safety-scroll {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    /* Product properties remain available, but no longer force the safety
       card into a long stack of oversized chips.  The native disclosure is
       keyboard-accessible and opens the complete unmodified table on demand. */
    html body:has(#product-offer) #result-wrapper .luna-product-attributes-disclosure {
        margin: 10px 0 0 !important;
        border-top: 1px solid rgba(218, 186, 128, .55) !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-product-attributes-disclosure > summary {
        display: list-item !important;
        padding: 9px 0 2px !important;
        color: #29252a !important;
        cursor: pointer !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1.25 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-product-attributes-disclosure:not([open]) .product-attributes {
        display: none !important;
    }

    /* Related products: four complete, compact cards with image, title and
       price; never the old six cropped image strips. */
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
        height: auto !important;
        padding-top: 8px !important;
        overflow: visible !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid > .product-wrapper-product,
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid > .product-wrapper-product:nth-child(n) {
        display: block !important;
        position: static !important;
        width: auto !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
        background: transparent !important;
        border-radius: 0 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid > .product-wrapper-product:nth-child(n+5) {
        display: none !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .product-wrapper-product > a {
        display: block !important;
        color: inherit !important;
        text-decoration: none !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .item-slider.productbox-image {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        height: 88px !important;
        min-height: 88px !important;
        margin: 0 0 5px !important;
        overflow: hidden !important;
        background: #f7f4f1 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .item-slider.productbox-image::before {
        display: none !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .item-slider.productbox-image > .inner,
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .item-slider.productbox-image picture {
        position: relative !important;
        inset: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
        overflow: hidden !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .item-slider.productbox-image img {
        position: static !important;
        inset: auto !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        margin: 0 !important;
        object-fit: contain !important;
        object-position: center !important;
        transform: none !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .item-slider-desc {
        display: -webkit-box !important;
        min-height: 2.5em !important;
        overflow: hidden !important;
        color: #29252a !important;
        font-size: 10px !important;
        line-height: 1.25 !important;
        text-align: left !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .item-slider-price,
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .price_wrapper,
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .productbox-price {
        display: block !important;
        margin: 2px 0 0 !important;
        color: #85002f !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        text-align: left !important;
    }
}

/* v708: long feature text remains in a real grid column.  Do not use
   absolute positioning here: it lets product data overlap purchase controls. */
@media (min-width: 1200px) {
    html body:has(#product-offer) #product-offer .product-info-inner {
        position: relative !important;
        display: grid !important;
        grid-template-columns: 416px minmax(0, 1fr) !important;
        grid-template-areas:
            'headline headline'
            'essential features'
            'offer features' !important;
        grid-template-rows: auto auto auto !important;
        gap: 0 18px !important;
        align-content: start !important;
        align-items: start !important;
        height: auto !important;
        min-height: 368px !important;
        padding: 0 !important;
        overflow: visible !important;
    }
    html body:has(#product-offer) #product-offer .product-headline {
        grid-area: headline !important;
        width: auto !important;
        margin: 0 0 6px !important;
    }
    html body:has(#product-offer) #product-offer .info-essential {
        grid-area: essential !important;
        width: auto !important;
        margin: 0 0 8px !important;
    }
    html body:has(#product-offer) #product-offer .luna-detail-features {
        grid-area: features !important;
        position: static !important;
        top: auto !important;
        right: auto !important;
        width: auto !important;
        margin: 0 !important;
        font-size: 11px !important;
        line-height: 1.16 !important;
    }
    html body:has(#product-offer) #product-offer .luna-detail-features li,
    html body:has(#product-offer) #product-offer .luna-detail-features strong {
        font-size: 11px !important;
        line-height: 1.16 !important;
    }
    html body:has(#product-offer) #product-offer .luna-detail-features li {
        margin: 0 0 2px !important;
    }
    html body:has(#product-offer) #product-offer .product-offer {
        grid-area: offer !important;
        width: 416px !important;
        max-width: 416px !important;
        margin: 0 !important;
    }
}

/* v706: purchase flow and thumbnail rail, measured against Artikel.png. */
@media (min-width: 1200px) {
    html body:has(#product-offer) #gallery_preview .slick-slide.slick-cloned,
    html body:has(#product-offer) #gallery_preview .slick-slide.luna-preview-duplicate,
    html body:has(#product-offer) #gallery_preview .square.square-image.luna-preview-duplicate {
        display: none !important;
    }
    html body:has(#product-offer) #product-offer .product-info-inner {
        grid-template-rows: auto max-content max-content !important;
        align-content: start !important;
    }
    html body:has(#product-offer) #product-offer .price_wrapper {
        margin-top: 0 !important;
    }
    html body:has(#product-offer) #product-offer .product-offer,
    html body:has(#product-offer) #product-offer #add-to-cart {
        margin-top: 4px !important;
    }
    html body:has(#product-offer) #product-offer #add-to-cart .basket-form-inline {
        width: 416px !important;
        height: 44px !important;
    }
    html body:has(#product-offer) #product-offer #add-to-cart #quantity-grp {
        height: 44px !important;
        min-height: 44px !important;
        border-radius: 4px !important;
        overflow: hidden !important;
    }
    html body:has(#product-offer) #product-offer #add-to-cart #quantity-grp .input-group-prepend,
    html body:has(#product-offer) #product-offer #add-to-cart #quantity-grp .input-group-append,
    html body:has(#product-offer) #product-offer #add-to-cart #quantity-grp button,
    html body:has(#product-offer) #product-offer #add-to-cart #quantity-grp input {
        height: 42px !important;
        min-height: 42px !important;
        border-radius: 0 !important;
    }
    html body:has(#product-offer) #product-offer #add-to-cart button[type='submit'] {
        height: 44px !important;
        min-height: 44px !important;
        border-radius: 4px !important;
    }
    html body:has(#product-offer) #product-offer .luna-detail-payment-badges {
        display: flex !important;
        align-items: center !important;
        gap: 9px !important;
        height: 27px !important;
        margin: 11px 0 0 !important;
        color: #172c61 !important;
        font-family: Arial, Helvetica, sans-serif !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
    }
    html body:has(#product-offer) #product-offer .luna-detail-payment-badges span {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 25px !important;
    }
    html body:has(#product-offer) #product-offer .luna-payment-paypal {
        color: #003087 !important;
        font-size: 13px !important;
        font-style: italic !important;
    }
    html body:has(#product-offer) #product-offer .luna-payment-visa {
        color: #1a3a76 !important;
        font-size: 11px !important;
    }
    html body:has(#product-offer) #product-offer .luna-payment-mastercard {
        position: relative !important;
        width: 31px !important;
    }
    html body:has(#product-offer) #product-offer .luna-payment-mastercard::before,
    html body:has(#product-offer) #product-offer .luna-payment-mastercard::after {
        content: '' !important;
        position: absolute !important;
        top: 5px !important;
        width: 16px !important;
        height: 16px !important;
        border-radius: 50% !important;
    }
    html body:has(#product-offer) #product-offer .luna-payment-mastercard::before {
        left: 2px !important;
        background: #eb3b2f !important;
    }
    html body:has(#product-offer) #product-offer .luna-payment-mastercard::after {
        right: 2px !important;
        background: #f4a51c !important;
        mix-blend-mode: multiply !important;
    }
    html body:has(#product-offer) #product-offer .luna-payment-klarna {
        padding: 0 7px !important;
        border-radius: 3px !important;
        background: #f7acd0 !important;
        color: #111 !important;
        font-size: 11px !important;
    }
    /* Attribute chips are not part of the reference information row. */
    html body:has(#product-offer) #result-wrapper .luna-product-attributes-disclosure {
        display: none !important;
    }
}

/* v704: the second row follows Artikel.png as an editorial information row,
   not NOVA's app-like cards and badges.  Description height remains natural
   because real editorial copy must never be truncated. */
@media (min-width: 1200px) {
    html body:has(#product-offer) #result-wrapper .luna-detail-lower-grid {
        grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr) minmax(0, 1.16fr) !important;
        gap: 8px !important;
        margin-top: 18px !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel,
    html body:has(#product-offer) #result-wrapper .luna-detail-related-panel {
        box-sizing: border-box !important;
        min-height: 188px !important;
        padding: 11px 16px 14px !important;
        border: 1px solid #e7d9cb !important;
        border-radius: 4px !important;
        background: #fff !important;
        box-shadow: none !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-description-heading,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .luna-safety-title,
    html body:has(#product-offer) #result-wrapper .luna-detail-related-panel .luna-related-heading,
    html body:has(#product-offer) #result-wrapper .luna-detail-related-panel .luna-related-heading > span:first-child {
        display: block !important;
        margin: 0 !important;
        padding: 0 0 8px !important;
        border-bottom: 1px solid #e7d9cb !important;
        color: #29252a !important;
        font-family: Georgia, 'Times New Roman', serif !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-description-heading::after,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .luna-safety-title::after,
    html body:has(#product-offer) #result-wrapper .luna-detail-related-panel .luna-related-heading > span:first-child::after {
        content: '' !important;
        display: block !important;
        width: 41px !important;
        height: 2px !important;
        margin: 8px 0 -10px !important;
        background: #d79a17 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel #tab-description {
        padding-top: 11px !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel .desc,
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel .desc p,
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel .desc li {
        color: #29252a !important;
        font-family: Georgia, 'Times New Roman', serif !important;
        font-size: 13px !important;
        line-height: 1.38 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel .desc strong,
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel .desc b {
        font-weight: 700 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .gpsr-compliance {
        gap: 12px !important;
        margin: 11px 0 0 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .product-manufacturer,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .product-manufacturer .small,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .gpsr-compliance,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .gpsr-compliance * {
        color: #29252a !important;
        font-family: Georgia, 'Times New Roman', serif !important;
        font-size: 12px !important;
        line-height: 1.32 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-product-attributes-disclosure {
        margin-top: 10px !important;
        border-top: 1px solid #e7d9cb !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-product-attributes-disclosure > summary {
        padding: 8px 0 2px !important;
        color: #29252a !important;
        font-family: Georgia, 'Times New Roman', serif !important;
        font-size: 13px !important;
        font-weight: 700 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-product-attributes-disclosure .luna-attributes-title {
        margin: 4px 0 8px !important;
        padding: 0 0 6px !important;
        border-bottom: 1px solid #e7d9cb !important;
        color: #29252a !important;
        font-family: Georgia, 'Times New Roman', serif !important;
        font-size: 16px !important;
        font-weight: 700 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-product-attributes-disclosure .product-attributes tbody {
        display: block !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-product-attributes-disclosure .product-attributes tr {
        display: table-row !important;
        min-height: 0 !important;
        background: transparent !important;
        border: 0 !important;
        border-bottom: 1px solid #eee6df !important;
        border-radius: 0 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-product-attributes-disclosure .product-attributes td {
        display: table-cell !important;
        min-height: 0 !important;
        padding: 6px 4px !important;
        color: #29252a !important;
        background: transparent !important;
        font-family: Georgia, 'Times New Roman', serif !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
        vertical-align: top !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-product-attributes-disclosure .product-attributes td:first-child {
        width: 42% !important;
        font-weight: 700 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-product-attributes-disclosure .product-attributes td:last-child {
        text-align: left !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-product-attributes-disclosure .product-attributes .badge {
        display: inline !important;
        min-width: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #29252a !important;
        font-family: Georgia, 'Times New Roman', serif !important;
        font-size: inherit !important;
        font-weight: 400 !important;
        line-height: inherit !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-detail-related-panel .luna-related-heading {
        position: relative !important;
        padding-right: 90px !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-detail-related-panel .luna-related-more {
        position: absolute !important;
        top: 3px !important;
        right: 0 !important;
        color: #5f5855 !important;
        font-family: Arial, Helvetica, sans-serif !important;
        font-size: 10px !important;
        font-weight: 400 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid {
        padding-top: 10px !important;
        gap: 7px !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .item-slider-desc,
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .item-slider-price,
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .price_wrapper,
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .productbox-price {
        font-family: Georgia, 'Times New Roman', serif !important;
    }
}

/* v703: Header and panel-title reference pass.  This deliberately follows all
   older NOVA/JTL overrides so desktop geometry remains in normal document
   flow instead of overlaying the breadcrumb or the product stage. */
@media (min-width: 1200px) {
    html body:has(#product-offer) #jtl-nav-wrapper {
        position: relative !important;
        z-index: 20 !important;
        height: 102px !important;
        min-height: 102px !important;
        overflow: visible !important;
    }
    html body:has(#product-offer) #jtl-nav-wrapper > .hide-navbar {
        position: relative !important;
        z-index: 2 !important;
        height: 68px !important;
        min-height: 68px !important;
        padding: 5px 0 !important;
        overflow: visible !important;
    }
    html body:has(#product-offer) #jtl-nav-wrapper > [class*='menu-center-'] {
        position: relative !important;
        z-index: 1 !important;
        display: block !important;
        height: 34px !important;
        min-height: 34px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        overflow: visible !important;
    }
    html body:has(#product-offer) #jtl-nav-wrapper > [class*='menu-center-'] > .navbar,
    html body:has(#product-offer) #mainNavigation,
    html body:has(#product-offer) #mainNavigation .nav-scrollbar-inner {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        height: 34px !important;
        min-height: 34px !important;
        margin-top: 0 !important;
    }
    html body:has(#product-offer) #content-wrapper,
    html body:has(#product-offer) #result-wrapper {
        clear: both !important;
    }

    /* Typeahead injects inline width and positioning.  Constrain both its
       visible input and hint to the single reference search field. */
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper #search,
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper #search .search-wrapper,
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper #search form,
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper #search .form-icon,
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper #search .input-group {
        display: flex !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 34px !important;
        min-height: 34px !important;
    }
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper #search .input-group {
        align-items: stretch !important;
        border: 1px solid #e5d9d4 !important;
        border-radius: 3px !important;
        overflow: hidden !important;
        background: #fff !important;
    }
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper #search .twitter-typeahead {
        position: relative !important;
        display: block !important;
        flex: 1 1 auto !important;
        width: 1% !important;
        min-width: 0 !important;
        height: 32px !important;
        min-height: 32px !important;
    }
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper #search #search-header,
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper #search .tt-hint {
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 32px !important;
        min-height: 32px !important;
        margin: 0 !important;
        padding: 0 14px !important;
        border: 0 !important;
        border-radius: 0 !important;
        line-height: 32px !important;
    }
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper #search #search-header {
        position: relative !important;
        z-index: 2 !important;
        background: transparent !important;
    }
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper #search .tt-hint {
        position: absolute !important;
        inset: 0 !important;
        z-index: 1 !important;
    }
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper #search .input-group-append,
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper #search .input-group-append > button {
        flex: 0 0 43px !important;
        width: 43px !important;
        min-width: 43px !important;
        height: 32px !important;
        min-height: 32px !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
    }
    html body:has(#product-offer) #jtl-nav-wrapper .main-search-wrapper #search .input-group-append > button {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #85002f !important;
        color: #fff !important;
    }

    /* The reference uses editorial serif panel headings, while the small
       action in the related-products header stays a compact UI label. */
    html body:has(#product-offer) #result-wrapper .luna-description-heading,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .luna-safety-title,
    html body:has(#product-offer) #result-wrapper .luna-detail-related-panel .luna-related-heading > span:first-child {
        font-family: Georgia, 'Times New Roman', serif !important;
        font-size: 19px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        letter-spacing: 0 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-detail-related-panel .luna-related-more {
        font-family: Arial, Helvetica, sans-serif !important;
        font-size: 10px !important;
        font-weight: 400 !important;
    }
}

/* Keep the second-row editorial hierarchy authoritative after the preceding
   header pass in this same final stylesheet. */
@media (min-width: 1200px) {
    html body:has(#product-offer) #result-wrapper .luna-description-heading,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .luna-safety-title,
    html body:has(#product-offer) #result-wrapper .luna-detail-related-panel .luna-related-heading > span:first-child {
        font-size: 18px !important;
    }
}

/* v705: exact Artikel.png stage and lower-row override.  NOVA's former
   1299px fallback has a more specific grid selector, so include its class
   here to keep the reference's three columns at every desktop width. */
@media (min-width: 1200px) {
    html body:has(#product-offer) #product-offer.product-detail,
    html body:has(#product-offer) #product-offer {
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-detail-lower-grid.luna-v555-reference-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr) minmax(0, 1.16fr) !important;
        gap: 8px !important;
        align-items: start !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin-top: 18px !important;
        overflow: visible !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-product-attributes-disclosure .luna-attributes-title {
        display: none !important;
    }
}

/* v707: independent left purchase flow beside the feature column.  The
   feature list must not determine the vertical position of price or cart. */
@media (min-width: 1200px) {
    html body:has(#product-offer) #product-offer .product-info-inner {
        position: relative !important;
        display: block !important;
        height: auto !important;
        min-height: 368px !important;
        padding: 0 !important;
        overflow: visible !important;
    }
    html body:has(#product-offer) #product-offer .product-headline {
        width: 100% !important;
        margin: 0 0 6px !important;
    }
    html body:has(#product-offer) #product-offer .info-essential {
        width: 282px !important;
        margin: 0 0 8px !important;
    }
    html body:has(#product-offer) #product-offer .luna-detail-features {
        position: absolute !important;
        top: 82px !important;
        right: 0 !important;
        width: 270px !important;
        margin: 0 !important;
    }
    html body:has(#product-offer) #product-offer .product-offer {
        width: 416px !important;
        max-width: 416px !important;
        margin: 0 !important;
    }
    html body:has(#product-offer) #product-offer .price_wrapper {
        margin: 0 !important;
    }
    html body:has(#product-offer) #product-offer #add-to-cart {
        margin-top: 5px !important;
    }
}

/* v708 cascade backstop: follows v707 and is therefore authoritative. */
@media (min-width: 1200px) {
    html body:has(#product-offer) #product-offer .product-info-inner {
        display: grid !important;
        grid-template-columns: 416px minmax(0, 1fr) !important;
        grid-template-areas: 'headline headline' 'essential features' 'offer features' !important;
        grid-template-rows: auto auto auto !important;
        gap: 0 18px !important;
        align-content: start !important;
        align-items: start !important;
    }
    html body:has(#product-offer) #product-offer .product-headline { grid-area: headline !important; }
    html body:has(#product-offer) #product-offer .info-essential { grid-area: essential !important; width: auto !important; }
    html body:has(#product-offer) #product-offer .luna-detail-features {
        grid-area: features !important;
        position: static !important;
        top: auto !important;
        right: auto !important;
        width: auto !important;
        font-size: 11px !important;
        line-height: 1.16 !important;
    }
    html body:has(#product-offer) #product-offer .luna-detail-features li,
    html body:has(#product-offer) #product-offer .luna-detail-features strong {
        font-size: 11px !important;
        line-height: 1.16 !important;
    }
    html body:has(#product-offer) #product-offer .luna-detail-features li { margin: 0 0 2px !important; }
    html body:has(#product-offer) #product-offer .product-offer { grid-area: offer !important; }
}

/* v709: compact reference metadata and a single visible attributes control. */
@media (min-width: 1200px) {
    html body:has(#product-offer) #product-offer .info-essential {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: baseline !important;
        column-gap: 10px !important;
        row-gap: 2px !important;
        width: 416px !important;
        margin: 0 0 9px !important;
        color: #403a37 !important;
        font-family: Arial, Helvetica, sans-serif !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
    }
    html body:has(#product-offer) #product-offer .info-essential > li {
        display: inline-flex !important;
        align-items: baseline !important;
        width: auto !important;
        margin: 0 !important;
        white-space: nowrap !important;
    }
    html body:has(#product-offer) #product-offer .info-essential > li:not(.product-manufacturer)::after {
        content: '|' !important;
        margin-left: 10px !important;
        color: #b7aaa2 !important;
        font-weight: 400 !important;
    }
    html body:has(#product-offer) #product-offer .info-essential > li:last-child::after {
        content: none !important;
    }
    html body:has(#product-offer) #product-offer .info-essential strong {
        margin-right: 3px !important;
        color: #403a37 !important;
        font-size: 12px !important;
        font-weight: 600 !important;
    }
    html body:has(#product-offer) #product-offer .info-essential .product-sku strong {
        font-size: 0 !important;
    }
    html body:has(#product-offer) #product-offer .info-essential .product-sku strong::after {
        content: 'Art.Nr.:' !important;
        font-size: 12px !important;
        font-weight: 600 !important;
    }
    html body:has(#product-offer) #product-offer .info-essential a,
    html body:has(#product-offer) #product-offer .info-essential span {
        color: #5b5654 !important;
        font-size: 12px !important;
        font-weight: 400 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-product-attributes-disclosure {
        display: block !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-product-attributes-disclosure > summary {
        display: list-item !important;
    }
}

/* v710: product metadata and price copied from the Artikel.png reference. */
@media (min-width: 1200px) {
    /* The manufacturer remains in the mandatory product-safety block below.
       GTIN is not used in this shop and neither datum belongs in the compact
       reference line beside the product title. */
    html body:has(#product-offer) #product-offer .info-essential > .product-ean,
    html body:has(#product-offer) #product-offer .info-essential > .product-manufacturer {
        display: none !important;
    }
    html body:has(#product-offer) #product-offer .info-essential > li::after {
        content: none !important;
    }
    html body:has(#product-offer) #product-offer .info-essential > .product-sku::after,
    html body:has(#product-offer) #product-offer .info-essential > .product-han::after {
        content: '|' !important;
        margin-left: 10px !important;
        color: #b7aaa2 !important;
        font-weight: 400 !important;
    }

    /* Reference price: burgundy Georgia, compact leading, and the price marker. */
    html body:has(#product-offer) #product-offer .price_wrapper .price {
        color: #85002f !important;
        font-family: Georgia, 'Times New Roman', serif !important;
        font-size: 30px !important;
        font-weight: 700 !important;
        line-height: 1.05 !important;
        letter-spacing: 0 !important;
    }
    html body:has(#product-offer) #product-offer .price_wrapper .price::after {
        content: ' *' !important;
        font-size: .82em !important;
        vertical-align: .08em !important;
    }

    /* NOVA's incidental Times fallback is not part of the reference.  UI and
       metadata use Open Sans; editorial headings and the price intentionally
       retain Georgia, matching the reference's serif hierarchy. */
    html body:has(#product-offer) #product-offer .info-essential,
    html body:has(#product-offer) #product-offer .info-essential *,
    html body:has(#product-offer) #product-offer .product-offer,
    html body:has(#product-offer) #product-offer .product-offer *,
    html body:has(#product-offer) #result-wrapper .luna-related-more {
        font-family: 'Open Sans', Arial, Helvetica, sans-serif !important;
    }
    html body:has(#product-offer) #product-offer .product-title,
    html body:has(#product-offer) #product-offer .price_wrapper .price,
    html body:has(#product-offer) #result-wrapper .luna-description-heading,
    html body:has(#product-offer) #result-wrapper .luna-safety-title,
    html body:has(#product-offer) #result-wrapper .luna-related-heading,
    html body:has(#product-offer) #result-wrapper .luna-related-heading * {
        font-family: Georgia, 'Times New Roman', serif !important;
    }
}

/* v711: give the reference purchase area room to breathe on desktop. */
@media (min-width: 1300px) {
    /* The parent NOVA frame is 1250px at this breakpoint.  The prior 1230px
       cap made only the detail page visibly tighter than the reference. */
    html body:has(#product-offer) #content > .container,
    html body:has(#product-offer) #content-wrapper > .breadcrumb-container,
    html body:has(#product-offer) #result-wrapper > .container,
    html body:has(#product-offer) #result-wrapper .luna-detail-lower-grid,
    html body:has(#product-offer) .breadcrumb-container {
        width: min(1250px, calc(100% - 40px)) !important;
        max-width: min(1250px, calc(100% - 40px)) !important;
    }

    /* Separate the metadata line from a multi-line title.  It remains in the
       normal purchase flow, so price and basket move down consistently. */
    html body:has(#product-offer) #product-offer .info-essential {
        margin-top: 14px !important;
        margin-bottom: 12px !important;
    }
}

/* v712: compact stage height and a deliberately ordered purchase flow. */
@media (min-width: 1200px) {
    /* The 416px minimum was taller than the 368px gallery and left a large,
       reference-inaccurate gap before the three editorial modules. */
    html body:has(#product-offer) #product-offer.product-detail {
        min-height: 368px !important;
    }
    html body:has(#product-offer) #product-offer > .product-info,
    html body:has(#product-offer) #product-offer .product-info-inner {
        min-height: 368px !important;
    }

    /* Keep the stock/question bar as one compact line, directly above price.
       The order is applied only to the row that actually contains stock data,
       never to variations or the basket form. */
    html body:has(#product-offer) #product-offer .product-offer > .row:has(.stock-information) {
        display: flex !important;
        flex-direction: column !important;
        width: 416px !important;
        margin: 0 !important;
    }
    html body:has(#product-offer) #product-offer .product-offer > .row:has(.stock-information) > [class*='col-']:has(.stock-information) {
        order: 1 !important;
        margin: 0 0 8px !important;
    }
    html body:has(#product-offer) #product-offer .product-offer > .row:has(.stock-information) > [class*='col-']:has(.price_wrapper) {
        order: 2 !important;
        padding-top: 0 !important;
    }

    /* The right characteristics column is intentionally airy rather than
       the dense NOVA fallback seen after a wider detail frame. */
    html body:has(#product-offer) #product-offer .luna-detail-features,
    html body:has(#product-offer) #product-offer .luna-detail-features li,
    html body:has(#product-offer) #product-offer .luna-detail-features strong {
        font-family: Georgia, 'Times New Roman', serif !important;
        font-size: 12px !important;
        line-height: 1.24 !important;
    }
    html body:has(#product-offer) #product-offer .luna-detail-features li {
        margin-bottom: 3px !important;
    }

    /* Match the reference's quieter lower editorial typography: serif copy
       with a smaller, consistent 12px measure; headings stay at 18px. */
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel .desc,
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel .desc p,
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel .desc li,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .gpsr-compliance,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .gpsr-compliance *,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .product-manufacturer,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .product-manufacturer .small {
        font-family: Georgia, 'Times New Roman', serif !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
    }
}

/* v713: breadcrumb-to-product breathing room and native purchase controls. */
@media (min-width: 1200px) {
    /* Artikel.png leaves a visible gap below the breadcrumb; the NOVA row had
       been pulled directly against it by an older desktop override. */
    html body:has(#product-offer) #product-offer.product-detail {
        margin-top: 20px !important;
    }

    /* The question container is moved by luna-v514-sex-toy-fit.js immediately
       after the basket form, before the payment badges. */
    html body:has(#product-offer) #add-to-cart > .question-on-item.luna-question-below-cart {
        display: block !important;
        width: 416px !important;
        margin: 9px 0 0 !important;
        padding: 0 !important;
        text-align: right !important;
    }
    html body:has(#product-offer) #add-to-cart > .question-on-item.luna-question-below-cart .question {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #5b5654 !important;
        font-family: 'Open Sans', Arial, Helvetica, sans-serif !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
    }

    /* Do not depend on an icon-font glyph for the quantity buttons. */
    html body:has(#product-offer) #add-to-cart #quantity-grp [data-count-down],
    html body:has(#product-offer) #add-to-cart #quantity-grp [data-count-up] {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        min-width: 42px !important;
        padding: 0 !important;
        color: #4b4542 !important;
        background: #fff !important;
        font-family: Arial, Helvetica, sans-serif !important;
        font-size: 0 !important;
        font-weight: 700 !important;
    }
    html body:has(#product-offer) #add-to-cart #quantity-grp [data-count-down]::before {
        content: '−' !important;
        font-size: 21px !important;
        line-height: 1 !important;
    }
    html body:has(#product-offer) #add-to-cart #quantity-grp [data-count-up]::before {
        content: '+' !important;
        font-size: 21px !important;
        line-height: 1 !important;
    }
    html body:has(#product-offer) #add-to-cart #quantity-grp [data-count-down] > *,
    html body:has(#product-offer) #add-to-cart #quantity-grp [data-count-up] > * {
        display: none !important;
    }
}

/* v714: lower editorial row typography, matched independently to Artikel.png. */
@media (min-width: 1200px) {
    /* Article titles retain the reference serif.  The actual reading copy and
       regulated information use NOVA's quieter Open Sans text face. */
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel .desc,
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel .desc p,
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel .desc li,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .gpsr-compliance,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .gpsr-compliance *,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .product-manufacturer,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .product-manufacturer .small,
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .item-slider-desc,
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .item-slider-price,
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .price_wrapper,
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .productbox-price {
        color: #403a37 !important;
        font-family: 'Open Sans', Arial, Helvetica, sans-serif !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        line-height: 1.42 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel .desc strong,
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel .desc b,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .gpsr-compliance strong,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .product-manufacturer strong {
        color: #29252a !important;
        font-weight: 700 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .item-slider-desc,
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .item-slider-price,
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .price_wrapper,
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .productbox-price {
        font-size: 10px !important;
        line-height: 1.2 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .item-slider-price,
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .price_wrapper,
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .productbox-price {
        color: #85002f !important;
        font-weight: 700 !important;
    }
}

/* v715: editorial short description and reference-style related cards. */
@media (min-width: 1200px) {
    /* Keep the short description as a calm benefits list, visually distinct
       from the technical metadata to its left. */
    html body:has(#product-offer) #product-offer .luna-detail-features {
        margin-top: 4px !important;
        color: #403a37 !important;
        font-family: Georgia, 'Times New Roman', serif !important;
        font-size: 12px !important;
        line-height: 1.24 !important;
    }
    html body:has(#product-offer) #product-offer .luna-detail-features li {
        margin: 0 0 5px !important;
        padding-left: 20px !important;
    }
    html body:has(#product-offer) #product-offer .luna-detail-features li::before {
        top: 1px !important;
        left: 0 !important;
        color: #85002f !important;
        font-size: 11px !important;
    }
    html body:has(#product-offer) #product-offer .luna-detail-features strong {
        color: #29252a !important;
        font-family: Georgia, 'Times New Roman', serif !important;
        font-size: inherit !important;
        font-weight: 700 !important;
    }

    /* The reference shows four individual white framed cards, each with an
       unobtrusive wishlist heart instead of NOVA's rounded grey strips. */
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid {
        gap: 7px !important;
        padding-top: 9px !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .product-wrapper-product > a {
        position: relative !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .product-wrapper-product > a::after {
        content: '♡' !important;
        position: absolute !important;
        z-index: 2 !important;
        top: 5px !important;
        right: 5px !important;
        color: #5d5855 !important;
        font-family: Arial, Helvetica, sans-serif !important;
        font-size: 19px !important;
        font-weight: 400 !important;
        line-height: 1 !important;
        pointer-events: none !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .item-slider.productbox-image {
        height: 92px !important;
        min-height: 92px !important;
        margin: 0 0 5px !important;
        padding: 2px !important;
        border: 1px solid #e5ddd6 !important;
        border-radius: 0 !important;
        background: #fff !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .item-slider.productbox-image > .inner,
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .item-slider.productbox-image picture {
        background: #fff !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .item-slider.productbox-image img {
        object-fit: cover !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .item-slider-desc {
        min-height: 2.65em !important;
        color: #403a37 !important;
        font-family: Georgia, 'Times New Roman', serif !important;
        font-size: 10px !important;
        font-weight: 400 !important;
        line-height: 1.3 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .item-slider-price,
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .price_wrapper,
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .productbox-price {
        color: #85002f !important;
        font-family: Georgia, 'Times New Roman', serif !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
    }
}

/* v716: source typography and a wider lower information frame. */
@media (min-width: 1300px) {
    /* The reference uses Georgia not only for the panel captions but also for
       its editorial copy.  Keep Open Sans confined to controls and metadata. */
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel .desc,
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel .desc p,
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel .desc li,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .gpsr-compliance,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .gpsr-compliance *,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .product-manufacturer,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .product-manufacturer .small {
        color: #29252a !important;
        font-family: Georgia, 'Times New Roman', serif !important;
        font-size: 13px !important;
        font-weight: 400 !important;
        line-height: 1.38 !important;
    }

    /* Only the three lower information fields grow; the accepted header,
       navigation and gallery frame retain their existing reference geometry. */
    html body:has(#product-offer) #result-wrapper .luna-detail-lower-grid {
        width: min(1280px, calc(100% - 40px)) !important;
        max-width: min(1280px, calc(100% - 40px)) !important;
        grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr) minmax(0, 1.16fr) !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel,
    html body:has(#product-offer) #result-wrapper .luna-detail-related-panel {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

/* v717: Artikel.png (1672 x 941). One explicit final rule set for the
   product editorial area; no changes to global header, navigation or gallery. */
@media (min-width: 1200px) {
    html body:has(#product-offer) #product-offer .product-info-inner {
        grid-template-rows: auto min-content 1fr !important;
        align-items: start !important;
    }
    html body:has(#product-offer) #product-offer .product-title {
        font-family: Georgia, 'Times New Roman', serif !important;
        font-size: 34px !important;
        font-weight: 700 !important;
        line-height: 1.1 !important;
        letter-spacing: -.7px !important;
        color: #171d21 !important;
    }
    html body:has(#product-offer) #product-offer .price_wrapper .price,
    html body:has(#product-offer) #product-offer .price_wrapper .price > span {
        font-family: Georgia, 'Times New Roman', serif !important;
        font-size: 32px !important;
        font-weight: 700 !important;
        line-height: 1.15 !important;
        color: #85002f !important;
    }
    html body:has(#product-offer) #product-offer .luna-detail-features,
    html body:has(#product-offer) #product-offer .luna-detail-features :is(p,li,span,strong,b) {
        font-family: Georgia, 'Times New Roman', serif !important;
        font-size: 14px !important;
        line-height: 1.35 !important;
        color: #393531 !important;
    }
    html body:has(#product-offer) #product-offer .luna-detail-features li {
        margin-bottom: 7px !important;
    }
    html body:has(#product-offer) #product-offer .info-essential > li.product-category::after {
        content: none !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-detail-lower-grid {
        width: min(1232px, calc(100% - 40px)) !important;
        max-width: min(1232px, calc(100% - 40px)) !important;
        grid-template-columns: minmax(0,397fr) minmax(0,381fr) minmax(0,439fr) !important;
        gap: 8px !important;
        align-items: stretch !important;
    }
    html body:has(#product-offer) #result-wrapper :is(.luna-detail-description-panel,.luna-safety-attributes-panel,.luna-detail-related-panel) {
        box-sizing: border-box !important;
        height: 188px !important;
        min-height: 188px !important;
        max-height: 188px !important;
        padding: 0 !important;
        border: 1px solid #ded8d2 !important;
        border-radius: 3px !important;
        background: #fdfbf9 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        scrollbar-width: thin;
    }
    html body:has(#product-offer) #result-wrapper .luna-description-heading,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .luna-safety-title,
    html body:has(#product-offer) #result-wrapper .luna-detail-related-panel .luna-related-heading {
        box-sizing: border-box !important;
        display: block !important;
        position: relative !important;
        height: 40px !important;
        min-height: 40px !important;
        margin: 0 !important;
        padding: 9px 15px 8px !important;
        border: 0 !important;
        border-bottom: 1px solid #ded8d2 !important;
        font: 700 19px/22px Georgia, 'Times New Roman', serif !important;
        background-image: none !important;
        text-align: left !important;
        color: #171d21 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-detail-related-panel .luna-related-heading > span:first-child {
        display: inline !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        font: inherit !important;
    }
    html body:has(#product-offer) #result-wrapper :is(.luna-description-heading,.luna-safety-title,.luna-related-heading)::before,
    html body:has(#product-offer) #result-wrapper :is(.luna-description-heading,.luna-safety-title,.luna-related-heading)::after,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .luna-safety-title::after,
    html body:has(#product-offer) #result-wrapper .luna-detail-related-panel .luna-related-heading > span:first-child::after {
        display: none !important;
        content: none !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel #tab-description {
        padding: 9px 15px 12px !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel .desc,
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel .desc :is(p,li,span,strong,b) {
        font-family: Georgia, 'Times New Roman', serif !important;
        font-size: 14px !important;
        line-height: 1.35 !important;
        color: #393531 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .gpsr-compliance {
        padding: 9px 15px 0 !important;
        margin: 0 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .gpsr-compliance,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .gpsr-compliance *,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .product-manufacturer,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel .product-manufacturer .small {
        font-family: Arial, Helvetica, sans-serif !important;
        font-size: 12px !important;
        line-height: 1.6 !important;
        color: #333 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-product-attributes-disclosure {
        margin: 8px 15px 12px !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid {
        box-sizing: border-box !important;
        min-height: 0 !important;
        grid-template-rows: max-content !important;
        grid-auto-rows: max-content !important;
        padding: 0 15px 5px !important;
        gap: 12px !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-detail-related-panel .luna-related-compact {
        min-height: 0 !important;
        height: auto !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .product-wrapper-product > a {
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .item-slider.productbox-image {
        box-sizing: border-box !important;
        height: 92px !important;
        min-height: 92px !important;
        border: 1px solid #ded8d2 !important;
        border-radius: 2px !important;
        margin: 0 0 5px !important;
        padding: 2px !important;
        background: #fff !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .item-slider.productbox-image img {
        object-fit: contain !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .item-slider-desc,
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .item-slider-desc span {
        font-family: Arial, Helvetica, sans-serif !important;
        font-size: 10px !important;
        font-weight: 400 !important;
        line-height: 1.25 !important;
        color: #252525 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid .item-slider-desc {
        min-height: 25px !important;
        height: 25px !important;
        margin: 0 !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-related-static-grid :is(.item-slider-price,.price_wrapper,.productbox-price,.price,.price span) {
        font-family: Arial, Helvetica, sans-serif !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        color: #85002f !important;
        margin: 2px 0 0 !important;
    }
}

/* v718: Keep the editorial lower row broad and the compact right-hand
   product summary subordinate to the title and price. */
@media (min-width: 1200px) {
    html body:has(#product-offer) #product-offer .luna-detail-features,
    html body:has(#product-offer) #product-offer .luna-detail-features :is(p, li, span, strong, b) {
        font-size: 12px !important;
        line-height: 1.24 !important;
    }
    html body:has(#product-offer) #product-offer .luna-detail-features li {
        margin-bottom: 4px !important;
    }

    html body:has(#product-offer) #result-wrapper .luna-detail-lower-grid {
        width: min(1280px, calc(100% - 40px)) !important;
        max-width: min(1280px, calc(100% - 40px)) !important;
    }
}

/* v719: Reference cards are compact when their content is compact.  Product
   data is not clipped merely to imitate that height on a longer real item. */
@media (min-width: 1200px) {
    html body:has(#product-offer) #result-wrapper .luna-detail-lower-grid {
        align-items: start !important;
    }
    html body:has(#product-offer) #result-wrapper .luna-detail-description-panel,
    html body:has(#product-offer) #result-wrapper .luna-safety-attributes-panel {
        height: auto !important;
        min-height: 188px !important;
        max-height: none !important;
        overflow: visible !important;
    }
}
