/* Automatic media layout for Duft-Insider quick recommendation cards. */
.di-quick-card.diae-has-rec-image {
    position: relative;
    padding-right: 185px !important;
}

.di-quick-card.diae-has-rec-image .diae-rec-media {
    position: absolute !important;
    top: 50% !important;
    right: 26px !important;
    width: 135px !important;
    height: 170px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: translateY(-50%);
    pointer-events: none;
}

.di-quick-card.diae-has-rec-image .diae-rec-image {
    display: block !important;
    width: auto !important;
    max-width: 135px !important;
    height: auto !important;
    max-height: 170px !important;
    object-fit: contain !important;
}


.di-quick-card.diae-has-rec-image .di-quick-copy {
    font-size: 0.94em !important;
    line-height: 1.5 !important;
}

.di-quick-card.diae-has-rec-image h3 {
    font-size: 0.96em !important;
    line-height: 1.25 !important;
}

/* V4 Top Picks: the eyebrow carries the orientation; keep it compact but firmer. */
.di-money-page #empfehlungen .di-section-head > .di-eyebrow {
    color: #4c5d73 !important;
    font-weight: 800 !important;
}

@media (max-width: 760px) {
    .di-quick-card.diae-has-rec-image {
        padding-right: 145px !important;
    }

    .di-quick-card.diae-has-rec-image .diae-rec-media {
        right: 22px !important;
        width: 105px !important;
        height: 130px !important;
    }

    .di-quick-card.diae-has-rec-image .diae-rec-image {
        max-width: 105px !important;
        max-height: 130px !important;
    }
}

@media (max-width: 480px) {
    .di-quick-card.diae-has-rec-image {
        padding-right: 118px !important;
    }

    .di-quick-card.diae-has-rec-image .diae-rec-media {
        right: 16px !important;
        width: 82px !important;
        height: 105px !important;
    }

    .di-quick-card.diae-has-rec-image .diae-rec-image {
        max-width: 82px !important;
        max-height: 105px !important;
    }
}


/* 0.7.23: Product detail cards need a clear visual boundary from the page and from each other.
 * Keep this override intentionally narrow; the base money-page design remains editorial CSS. */
.di-money-page article.di-product-section {
    margin-bottom: 46px;
    border-color: #d7dee7;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

@media (max-width: 760px) {
    .di-money-page article.di-product-section {
        margin-bottom: 32px;
        box-shadow: 0 7px 20px rgba(15, 23, 42, 0.07);
    }
}


/* 0.9.2: A sample beside a bottle is a low-friction test option, not a competing
 * merchant CTA. Keep it deliberately quieter than the fullsize button. */
.diae-offers--detail .diae-sample-hint {
    display: block;
    margin: -1px 6px 9px;
    padding: 1px 0;
    text-align: right;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
}

.diae-offers--detail .diae-sample-hint strong {
    font-weight: 700;
    color: #475569;
}

.diae-offers--detail .diae-sample-hint:hover,
.diae-offers--detail .diae-sample-hint:focus-visible {
    color: #334155;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 760px) {
    .diae-offers--detail .diae-sample-hint {
        margin-right: 2px;
        margin-left: 2px;
        font-size: 11.5px;
    }
}


/* 0.9.6: Samples are reassurance, not a third merchant offer. Keep the link
 * beside the editorial buy-copy while fullsize offers remain in the CTA column. */
.di-money-page .di-buy-copy > .diae-sample-hint {
    display: inline-flex !important;
    flex: none !important;
    width: auto !important;
    max-width: 100%;
    align-self: flex-start;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    text-align: left !important;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
}

.di-money-page .di-buy-copy > .diae-sample-hint strong {
    font-weight: 700;
    color: #475569;
}

.di-money-page .di-buy-copy > .diae-sample-hint:hover,
.di-money-page .di-buy-copy > .diae-sample-hint:focus-visible {
    color: #334155;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Merchant names are data, not a hard-coded CSS lookup table. Older site CSS
 * adds merchant labels via ::after; suppress that pseudo label in detail boxes
 * and use the merchant name emitted by the engine itself. */
.diae-offer-merchant-label {
    display: none;
}

.di-money-page .di-buy-box .di-buy-actions .diae-offers--detail .diae-offer-button--merchant::after {
    content: none !important;
    display: none !important;
}

.di-money-page .di-buy-box .di-buy-actions .diae-offers--detail .diae-offer-button--merchant > .diae-offer-merchant-label {
    display: block !important;
    width: 100%;
    box-sizing: border-box;
    margin: 8px 0 0;
    padding: 0;
    color: #2f4157;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 760px) {
    .di-money-page .di-buy-copy > .diae-sample-hint {
        margin-top: 8px !important;
        font-size: 12px;
    }
}

/* 0.9.19: Fullsize offers expose the real sellable-unit size beside price.
 * Keep the price visually primary so adding ml does not demote the purchase signal. */
.diae-offer-button .diae-offer-meta {
    display: flex !important;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-top: 2px;
    font-size: 14px !important;
    line-height: 1.25;
    font-weight: 700;
}

.diae-offer-button .diae-offer-size {
    font-size: 13px;
    font-weight: 700;
    opacity: 0.9;
}

.diae-offer-button .diae-offer-price {
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
}

.diae-offer-button .diae-offer-meta-sep {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.72;
}

@media (max-width: 760px) {
    .diae-offer-button .diae-offer-meta {
        font-size: 13.5px !important;
    }

    .diae-offer-button .diae-offer-size {
        font-size: 12.5px;
    }

    .diae-offer-button .diae-offer-price {
        font-size: 15px !important;
    }
}


/* 0.9.19.5 / Phase 2A: Enterprise comparison system.
 * This is intentionally scoped to comparison-v6. The editorial Money cards,
 * Top Picks, Finder and Duftberater keep their current visual systems until
 * their own Phase-2 pass. */
.di-money-page .diae-comparison-v6 {
    --diae-enterprise-ink: #111827;
    --diae-enterprise-text: #344054;
    --diae-enterprise-muted: #667085;
    --diae-enterprise-line: #d9dee7;
    --diae-enterprise-soft-line: #e8ebf0;
    --diae-enterprise-soft: #f7f8fa;
    --diae-enterprise-hover: #fafbfc;
    --diae-enterprise-green: #176a3a;
    --diae-enterprise-green-bg: #e8f5ec;
}

.di-money-page .diae-comparison-v6 .diae-table-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid var(--diae-enterprise-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.045);
    -webkit-overflow-scrolling: touch;
}

.di-money-page .diae-comparison-v6 .diae-product-table {
    width: 100%;
    min-width: 880px;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #fff;
    color: var(--diae-enterprise-text);
    font-size: 13.5px;
    line-height: 1.42;
}

.di-money-page .diae-comparison-v6 .diae-table-caption {
    caption-side: top;
    padding: 0 0 10px;
    color: var(--diae-enterprise-muted);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;
    text-align: left;
}

.di-money-page .diae-comparison-v6 .diae-product-table th,
.di-money-page .diae-comparison-v6 .diae-product-table td {
    border: 0 !important;
}

.di-money-page .diae-comparison-v6 .diae-product-table thead th {
    padding: 13px 16px 12px;
    border-bottom: 1px solid var(--diae-enterprise-line) !important;
    background: var(--diae-enterprise-soft) !important;
    color: var(--diae-enterprise-muted) !important;
    font-size: 10.5px !important;
    line-height: 1.25;
    font-weight: 700 !important;
    letter-spacing: 0.065em;
    text-transform: uppercase;
    text-align: left;
    vertical-align: middle;
}

.di-money-page .diae-comparison-v6 .diae-product-table tbody td {
    padding: 18px 16px;
    border-bottom: 1px solid var(--diae-enterprise-soft-line) !important;
    background: #fff !important;
    color: var(--diae-enterprise-text);
    vertical-align: top;
}

.di-money-page .diae-comparison-v6 .diae-product-table tbody tr:last-child td {
    border-bottom: 0 !important;
}

.di-money-page .diae-comparison-v6 .diae-product-table tbody tr:hover td {
    background: var(--diae-enterprise-hover) !important;
}

.di-money-page .diae-comparison-v6 .diae-product-name-cell { width: 31%; }
.di-money-page .diae-comparison-v6 .diae-season-cell { width: 13%; }
.di-money-page .diae-comparison-v6 .diae-occasion-cell { width: 17%; }
.di-money-page .diae-comparison-v6 .diae-performance-cell { width: 16%; }
.di-money-page .diae-comparison-v6 .diae-buy-cell { width: 23%; min-width: 180px; }

.di-money-page .diae-comparison-v6 .diae-product-identity {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.di-money-page .diae-comparison-v6 .diae-product-brand {
    order: -1;
    display: block;
    margin: 0 !important;
    color: var(--diae-enterprise-muted) !important;
    font-size: 10.5px !important;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.di-money-page .diae-comparison-v6 .diae-product-name {
    display: block;
    margin: 0;
    color: var(--diae-enterprise-ink) !important;
    font-size: 15.5px;
    line-height: 1.25;
    font-weight: 750;
    letter-spacing: -0.015em;
}

.di-money-page .diae-comparison-v6 .diae-product-anchor {
    color: inherit !important;
    text-decoration: none !important;
}

.di-money-page .diae-comparison-v6 .diae-product-anchor:hover,
.di-money-page .diae-comparison-v6 .diae-product-anchor:focus-visible {
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.di-money-page .diae-comparison-v6 .diae-product-profile {
    margin-top: 3px;
    color: var(--diae-enterprise-text);
    font-size: 12.5px;
    line-height: 1.38;
}

.di-money-page .diae-comparison-v6 .diae-profile-main {
    display: block;
}

.di-money-page .diae-comparison-v6 .diae-profile-details {
    margin-top: 4px;
    color: var(--diae-enterprise-muted);
    font-size: 11.5px;
}

.di-money-page .diae-comparison-v6 .diae-profile-details summary {
    width: fit-content;
    cursor: pointer;
    color: var(--diae-enterprise-muted);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #c8ced8;
    text-underline-offset: 2px;
}

.di-money-page .diae-comparison-v6 .diae-profile-notes {
    display: block;
    margin-top: 4px;
    color: var(--diae-enterprise-muted);
    line-height: 1.4;
}

/* Compact factual text instead of a second visual chip system. */
.di-money-page .diae-comparison-v6 .diae-chips {
    display: flex !important;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 !important;
}

.di-money-page .diae-comparison-v6 .diae-chip {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--diae-enterprise-text) !important;
    font-size: 12.5px !important;
    line-height: 1.45;
    font-weight: 550;
    white-space: normal;
}

.di-money-page .diae-comparison-v6 .diae-chip + .diae-chip::before {
    content: " · ";
    color: #98a2b3;
    font-weight: 500;
}

.di-money-page .diae-comparison-v6 .diae-performance {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.di-money-page .diae-comparison-v6 .diae-performance-longevity {
    color: var(--diae-enterprise-ink);
    font-size: 13.5px;
    line-height: 1.3;
    font-weight: 750;
}

.di-money-page .diae-comparison-v6 .diae-performance-sillage {
    color: var(--diae-enterprise-muted);
    font-size: 12px;
    line-height: 1.35;
}

.di-money-page .diae-comparison-v6 .diae-comparison-offer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "head head"
        "size size"
        "button button";
    gap: 5px 8px;
    min-width: 0;
}

.di-money-page .diae-comparison-v6 .diae-comparison-offer-head {
    grid-area: head;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}

.di-money-page .diae-comparison-v6 .diae-comparison-merchant {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--diae-enterprise-ink);
    font-size: 12.5px;
    line-height: 1.3;
    font-weight: 700;
}

.di-money-page .diae-comparison-v6 .diae-comparison-best-price {
    display: inline-flex;
    align-items: center;
    padding: 3px 6px 2px;
    border-radius: 6px;
    background: var(--diae-enterprise-green-bg);
    color: var(--diae-enterprise-green);
    font-size: 9.5px;
    line-height: 1.25;
    font-weight: 750;
    white-space: nowrap;
}

.di-money-page .diae-comparison-v6 .diae-comparison-size {
    grid-area: size;
    color: var(--diae-enterprise-muted);
    font-size: 11.5px;
    line-height: 1.3;
    font-weight: 500;
}

.di-money-page .diae-comparison-v6 .diae-comparison-offer .diae-offer-button {
    grid-area: button;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 42px;
    margin: 2px 0 0 !important;
    padding: 9px 11px !important;
    box-sizing: border-box;
    border: 1px solid #cfd5df !important;
    border-radius: 10px !important;
    background: #f5f6f8 !important;
    color: var(--diae-enterprise-ink) !important;
    box-shadow: none !important;
    text-decoration: none !important;
    font-size: 12px !important;
    line-height: 1.2;
    font-weight: 650 !important;
}

.di-money-page .diae-comparison-v6 .diae-comparison-offer--best .diae-offer-button {
    border-color: #bfc7d2 !important;
    background: #eef1f5 !important;
}

.di-money-page .diae-comparison-v6 .diae-comparison-offer .diae-offer-button:hover,
.di-money-page .diae-comparison-v6 .diae-comparison-offer .diae-offer-button:focus-visible {
    border-color: #aeb7c4 !important;
    background: #e9edf2 !important;
    transform: none !important;
}

.di-money-page .diae-comparison-v6 .diae-comparison-offer .diae-offer-button small {
    margin: 0 !important;
    color: var(--diae-enterprise-ink) !important;
    font-size: 12.5px !important;
    line-height: 1.2;
    font-weight: 800 !important;
    white-space: nowrap;
}

.di-money-page .diae-comparison-v6 .diae-no-offer {
    color: var(--diae-enterprise-muted);
    font-size: 12px;
    line-height: 1.4;
}

/* Mobile is not a squeezed desktop table. It is the same compact information
 * system rendered as small editorial cards by the existing comparison JS. */
@media (max-width: 767px) {
    .di-money-page .diae-comparison-v6 .diae-mobile-card-list {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .di-money-page .diae-comparison-v6 .diae-mobile-card {
        overflow: hidden;
        padding: 16px;
        border: 1px solid var(--diae-enterprise-line);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 5px 16px rgba(15, 23, 42, 0.04);
    }

    .di-money-page .diae-comparison-v6 .diae-mobile-card-head {
        margin-bottom: 13px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--diae-enterprise-soft-line);
    }

    .di-money-page .diae-comparison-v6 .diae-mobile-facts {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 0;
        margin: 0;
        border: 1px solid var(--diae-enterprise-soft-line);
        border-radius: 10px;
        overflow: hidden;
        background: var(--diae-enterprise-soft);
    }

    .di-money-page .diae-comparison-v6 .diae-mobile-fact {
        min-width: 0;
        margin: 0 !important;
        padding: 10px 11px;
        border: 0 !important;
        background: transparent !important;
    }

    .di-money-page .diae-comparison-v6 .diae-mobile-fact:nth-child(2) {
        border-left: 1px solid var(--diae-enterprise-soft-line) !important;
    }

    .di-money-page .diae-comparison-v6 .diae-mobile-performance {
        grid-column: 1 / -1;
        border-top: 1px solid var(--diae-enterprise-soft-line) !important;
    }

    .di-money-page .diae-comparison-v6 .diae-mobile-fact dt {
        margin: 0 0 4px;
        color: var(--diae-enterprise-muted);
        font-size: 9.5px;
        line-height: 1.2;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .di-money-page .diae-comparison-v6 .diae-mobile-fact dd {
        margin: 0;
        color: var(--diae-enterprise-text);
        font-size: 12.5px;
        line-height: 1.4;
    }

    .di-money-page .diae-comparison-v6 .diae-mobile-card-action {
        margin-top: 13px;
        padding-top: 12px;
        border-top: 1px solid var(--diae-enterprise-soft-line);
    }

    .di-money-page .diae-comparison-v6 .diae-comparison-offer {
        gap: 5px 8px;
    }

    .di-money-page .diae-comparison-v6 .diae-comparison-offer .diae-offer-button {
        min-height: 44px;
        padding: 10px 12px !important;
        font-size: 12.5px !important;
    }

    .di-money-page .diae-comparison-v6 .diae-comparison-offer .diae-offer-button small {
        font-size: 13px !important;
    }
}

/* 0.9.19.10: Detail merchant rows use one link with a stretched hit area.
 * The visible CTA remains the semantic link, while its ::before pseudo-element
 * covers the entire offer row. This preserves /go/ tracking and avoids nested links. */
.di-money-page .diae-offers--detail > .di-ui-offer--standard {
    position: relative;
    cursor: pointer;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.di-money-page .diae-offers--detail > .di-ui-offer--standard .di-ui-offer__cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.di-money-page .diae-offers--detail > .di-ui-offer--standard .di-ui-offer__cta > * {
    position: relative;
    z-index: 2;
}

.di-money-page .diae-offers--detail > .di-ui-offer--standard:hover {
    border-color: #aeb8c6;
    background-color: #fbfcfd;
}

.di-money-page .diae-offers--detail > .di-ui-offer--standard:hover .di-ui-offer__cta {
    border-color: #aeb8c6;
    background-color: #fff;
}

.di-money-page .diae-offers--detail > .di-ui-offer--standard .di-ui-offer__cta:focus-visible {
    outline: none;
}

.di-money-page .diae-offers--detail > .di-ui-offer--standard .di-ui-offer__cta:focus-visible::before {
    outline: 2px solid #52677f;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .di-money-page .diae-offers--detail > .di-ui-offer--standard {
        transition: none;
    }
}


/* Verified-price alerts: compact by default, never displace the buybox. */
.diae-price-alert{margin:12px 0 16px;border:1px solid #d9e2e8;border-radius:12px;background:#f8fafb;color:#203347}
.diae-price-alert>summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;padding:12px 16px;font-size:14px;font-weight:750;list-style:none}
.diae-price-alert>summary::-webkit-details-marker{display:none}
.diae-price-alert>summary:focus-visible{outline:2px solid #276f91;outline-offset:3px}
.diae-price-alert>summary small{font-size:12px;font-weight:500;color:#60717f}
.diae-price-alert>summary::after{content:"+";font-size:18px;color:#4c6678}
.diae-price-alert[open]>summary::after{content:"−"}
.diae-price-alert-body{border-top:1px solid #e2e9ed;padding:14px 16px 16px}
.diae-price-alert-body>p{font-size:13px;line-height:1.5;margin:0 0 12px}
.diae-price-alert form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.diae-price-alert form>label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:650}
.diae-price-alert input:not([type=checkbox]),.diae-price-alert select{display:block;width:100%;min-width:0;box-sizing:border-box;border:1px solid #cbd6dd;border-radius:7px;background:#fff;color:#203347;font:inherit;font-size:14px;padding:10px}
.diae-price-alert form>label:nth-of-type(3){grid-column:1/-1}
.diae-price-alert :is(.diae-price-alert-consent,.diae-price-alert-marketing){grid-column:1/-1;display:flex;flex-direction:row;align-items:flex-start;gap:8px;font-weight:450;line-height:1.45}
.diae-price-alert :is(.diae-price-alert-consent,.diae-price-alert-marketing) input{width:16px;height:16px;margin-top:2px;flex:none}
.diae-price-alert-marketing em{font-style:normal;color:#70818b;font-size:11px}
.diae-price-alert-privacy,.diae-price-alert-status{grid-column:1/-1;margin:0!important;font-size:12px;line-height:1.45}
.diae-price-alert form>button{grid-column:1/-1;min-height:43px;border:0;border-radius:8px;background:#1b394f;color:#fff;padding:10px 14px;font-weight:750;cursor:pointer}
.diae-price-alert form>button:hover{background:#28536b}
.diae-price-alert form>button:disabled{opacity:.6;cursor:wait}
.diae-price-alert-status:not(:empty){padding:9px;border-radius:7px;background:#edf5f7}
.diae-alert-trap{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.diae-price-history{border-top:1px solid #dfe7ec;margin:12px 0;padding:10px 0}
.diae-price-history summary{cursor:pointer;font-size:13px;font-weight:650}
.diae-price-history svg{display:block;width:100%;height:auto;max-height:150px;margin-top:12px;color:#426b78}
.diae-price-history p{font-size:12px;color:#516574}
@media(max-width:540px){.diae-price-alert form{grid-template-columns:1fr}.diae-price-alert form>label:nth-of-type(3){grid-column:auto}.diae-price-alert-body{padding:12px}}
