/* PDP purchase controls: one compact, consistent hierarchy. */
body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-strength > span {
    font-size: 12px !important;
    font-weight: 780 !important;
    letter-spacing: -.01em !important;
}

body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-msds-action {
    border-color: rgba(0, 66, 236, .22) !important;
    background: #f4f8ff !important;
    color: #1755c8 !important;
    font-size: 11px !important;
    font-weight: 760 !important;
}

body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-msds-action:hover {
    border-color: rgba(0, 66, 236, .38) !important;
    background: #edf4ff !important;
    color: #003dcc !important;
}

body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-facts > button {
    min-width: 0 !important;
    border-right: 1px solid var(--adria-v2-rule) !important;
    background: transparent !important;
    color: #233954 !important;
    cursor: pointer !important;
    font-size: 8.5px !important;
    font-weight: 680 !important;
}

body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-facts > button:last-child {
    border-right: 0 !important;
}

body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-facts > button:hover {
    background: #f5f8fd !important;
    color: #003dcc !important;
}

body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-facts > button svg {
    color: #075cf0 !important;
}

body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payments {
    grid-template-columns: auto minmax(0, 1fr) !important;
    column-gap: 12px !important;
    min-height: 38px !important;
}

html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payments > small {
    display: block !important;
    grid-column: 1 / -1 !important;
    justify-self: end !important;
    margin: 0 !important;
    font-size: 9px !important;
    line-height: 1.35 !important;
}

html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payments .adria-v2-payments__marks {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-template-columns: none !important;
    grid-auto-columns: minmax(0, 1fr) !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
}

html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payments .adria-v2-payments__marks .adria-v2-payment-mark {
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 16px !important;
    min-height: 15px !important;
    max-height: 16px !important;
    padding: 0 !important;
    place-items: center !important;
    flex: none !important;
}

html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payments .adria-v2-payments__marks .adria-v2-payment-mark img {
    max-width: 34px !important;
    height: auto !important;
    max-height: 16px !important;
}

html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payments .adria-v2-payment-mark--visa img { width: 34px !important; }
html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payments .adria-v2-payment-mark--mastercard img { width: 21px !important; }
html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payments .adria-v2-payment-mark--applepay img { width: 32px !important; }
html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payments .adria-v2-payment-mark--googlepay img { width: 30px !important; }
html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payments .adria-v2-payment-mark--klarna img { width: 32px !important; }
html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payments .adria-v2-payment-mark--ideal img { width: 18px !important; }
html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payments .adria-v2-payment-mark--bancontact img { width: 31px !important; }

body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payment-mark--mastercard img,
body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payment-mark--ideal img {
    max-width: 26px !important;
}

body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payment-mark--visa img,
body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payment-mark--applepay img,
body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payment-mark--googlepay img,
body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payment-mark--klarna img,
body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payment-mark--bancontact img {
    max-width: 32px !important;
}

body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-specification-groups {
    align-items: stretch !important;
}

body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-specification-groups > section {
    display: flex !important;
    min-width: 0 !important;
    flex-direction: column !important;
}

body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-specification-groups .adria-v2-specifications {
    flex: 1 1 auto !important;
}

/* Cart drawer: important thresholds and accepted methods stay visible without visual bulk. */
html body.adria-site .adria-cart-drawer .adria-shipping-milestones__labels strong {
    color: #087f5b !important;
    font-weight: 760 !important;
}

html body.adria-site .adria-cart-drawer[data-polished] .adria-cart-payment-strip {
    flex-wrap: nowrap !important;
    gap: 9px !important;
}

html body.adria-site .adria-cart-drawer[data-polished] .adria-cart-payment-strip__logo {
    width: 25px !important;
    min-width: 0 !important;
    max-width: 25px !important;
    height: 15px !important;
    flex: 0 0 25px !important;
}

html body.adria-site .adria-cart-drawer[data-polished] .adria-cart-payment-strip__logo img {
    max-width: 25px !important;
    max-height: 14px !important;
}

html body.adria-site .adria-cart-drawer[data-polished] .adria-cart-payment-strip__logo img[src*="bitcoin.svg"] {
    width: 13px !important;
    height: 13px !important;
}

@media (min-width: 1120px) {
    body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-packs__rail {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 7px !important;
        width: 100% !important;
        max-width: none !important;
        justify-content: stretch !important;
        justify-items: stretch !important;
        overflow: visible !important;
    }

    html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-buy .adria-v2-packs .adria-v2-packs__rail .adria-v2-pack {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 66px !important;
        flex: none !important;
    }

    html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-info #overview .adria-v2-overview-copy .adria-v2-overview-copy__paragraph {
        font-size: 15px !important;
        line-height: 1.62 !important;
    }
}

@media (max-width: 1119px) {
    body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-packs__rail {
        gap: 7px !important;
    }

    html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-buy .adria-v2-packs .adria-v2-packs__rail .adria-v2-pack {
        width: 98px !important;
        min-width: 98px !important;
        max-width: 98px !important;
        flex-basis: 98px !important;
    }
}

@media (min-width: 900px) {
    html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-info #overview .adria-v2-overview-copy .adria-v2-overview-copy__paragraph {
        font-size: 15px !important;
        line-height: 1.62 !important;
    }
}

@media (max-width: 599px) {
    body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-strength,
    body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-strength > span {
        min-height: 36px !important;
    }

    body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-strength > span {
        padding-block: 5px !important;
        font-size: 12px !important;
    }

    body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-msds-action {
        min-height: 28px !important;
        padding: 5px 8px !important;
        font-size: 10.5px !important;
    }

    body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-facts > button {
        min-height: 43px !important;
        border-bottom: 1px solid var(--adria-v2-rule) !important;
        font-size: 8.25px !important;
    }

    body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-facts > button:nth-child(2n) {
        border-right: 0 !important;
    }

    body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-facts > button:nth-last-child(-n + 2) {
        border-bottom: 0 !important;
    }

    body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payments {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 4px !important;
        min-height: 0 !important;
        padding: 8px 2px 2px !important;
    }

    body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payments__intro {
        grid-column: 1 !important;
    }

    html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payments .adria-v2-payments__marks {
        grid-column: 1 !important;
        width: 100% !important;
        min-height: 16px !important;
        grid-template-columns: none !important;
        justify-content: space-between !important;
        gap: 5px !important;
    }

    html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payments .adria-v2-payments__marks .adria-v2-payment-mark {
        height: 13px !important;
        min-height: 12px !important;
        max-height: 13px !important;
    }

    html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payments .adria-v2-payments__marks .adria-v2-payment-mark img {
        max-width: 28px !important;
        max-height: 12px !important;
    }

    html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payments .adria-v2-payment-mark--visa img { width: 28px !important; }
    html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payments .adria-v2-payment-mark--mastercard img { width: 16px !important; }
    html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payments .adria-v2-payment-mark--applepay img { width: 26px !important; }
    html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payments .adria-v2-payment-mark--googlepay img { width: 24px !important; }
    html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payments .adria-v2-payment-mark--klarna img { width: 26px !important; }
    html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payments .adria-v2-payment-mark--ideal img { width: 14px !important; }
    html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payments .adria-v2-payment-mark--bancontact img { width: 25px !important; }

    body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payment-mark--mastercard img,
    body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-payment-mark--ideal img {
        max-width: 22px !important;
    }

    html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-info #overview .adria-v2-overview-copy .adria-v2-overview-copy__paragraph {
        font-size: 13.5px !important;
        line-height: 1.55 !important;
    }

    body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-specification-groups > section {
        display: block !important;
    }

    html body.adria-site .adria-cart-drawer[data-polished] .adria-cart-payment-strip {
        gap: 6px !important;
    }

    html body.adria-site .adria-cart-drawer[data-polished] .adria-cart-payment-strip__logo {
        width: 22px !important;
        max-width: 22px !important;
        height: 13px !important;
        flex-basis: 22px !important;
    }

    html body.adria-site .adria-cart-drawer[data-polished] .adria-cart-payment-strip__logo img {
        max-width: 22px !important;
        max-height: 12px !important;
    }
}

@media (max-width: 359px) {
    html body.adria-site.single-product.adria-storefront-v2-pdp #main .adria-v2-opening .adria-v2-actions {
        grid-template-columns: 66px minmax(0, 1fr) !important;
        gap: 6px !important;
    }

    html body.adria-site.single-product.adria-storefront-v2-pdp #main .adria-v2-opening .adria-v2-add-button {
        font-size: 11.5px !important;
        gap: 3px !important;
        padding-inline: 8px !important;
    }

    html body.adria-site.single-product.adria-storefront-v2-pdp #main [data-adria-v2-add-label] {
        white-space: nowrap !important;
    }

    html body.adria-site.single-product.adria-storefront-v2-pdp .adria-v2-opening .adria-v2-purchase-overview .adria-v2-choice-row {
        grid-template-columns: minmax(0, 1fr) 96px !important;
        gap: 4px !important;
    }

    html body.adria-site.single-product.adria-storefront-v2-pdp #main .adria-v2-opening .adria-v2-purchase-overview .adria-v2-strengths__options {
        gap: 4px !important;
    }

    html body.adria-site.single-product.adria-storefront-v2-pdp #main .adria-v2-opening .adria-v2-purchase-overview .adria-v2-strength:not(.adria-v2-strength--long) {
        width: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
    }

    html body.adria-site.single-product.adria-storefront-v2-pdp #main .adria-v2-opening .adria-v2-purchase-overview .adria-v2-strength:not(.adria-v2-strength--long) > span {
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        padding-inline: 2px !important;
        font-size: 11.5px !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        white-space: nowrap !important;
    }
}
/* Payment-row revision: all eligible marks on one line; captions on desktop only. */
body.adria-site.single-product.adria-storefront-v2-pdp #main .adria-v2-payments {
    display: grid !important;
    grid-template-columns: max-content minmax(0, 1fr) max-content !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 36px !important;
    padding: 6px 0 0 !important;
}

body.adria-site.single-product.adria-storefront-v2-pdp #main .adria-v2-payments__intro,
body.adria-site.single-product.adria-storefront-v2-pdp #main .adria-v2-payments > small {
    display: block !important;
    grid-column: auto !important;
    white-space: nowrap !important;
    margin: 0 !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
}

body.adria-site.single-product.adria-storefront-v2-pdp #main .adria-v2-payments__marks {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-column: auto !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 24px !important;
}

body.adria-site.single-product.adria-storefront-v2-pdp #main .adria-v2-payment-mark {
    --payment-width: 44;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: var(--payment-width) 1 0% !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
}

body.adria-site.single-product.adria-storefront-v2-pdp #main .adria-v2-payment-mark--mastercard { --payment-width: 29; }
body.adria-site.single-product.adria-storefront-v2-pdp #main .adria-v2-payment-mark--ideal { --payment-width: 24; }
body.adria-site.single-product.adria-storefront-v2-pdp #main .adria-v2-payment-mark--bancontact { --payment-width: 37; }

body.adria-site.single-product.adria-storefront-v2-pdp #main .adria-v2-payment-mark img {
    display: block !important;
    width: 100% !important;
    max-width: calc(var(--payment-width) * 1px) !important;
    height: auto !important;
    max-height: 22px !important;
    object-fit: contain !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@media (max-width: 767px) {
    body.adria-site.single-product.adria-storefront-v2-pdp #main .adria-v2-payments {
        display: block !important;
        min-height: 0 !important;
        padding: 10px 0 0 !important;
    }

    body.adria-site.single-product.adria-storefront-v2-pdp #main .adria-v2-payments__intro,
    body.adria-site.single-product.adria-storefront-v2-pdp #main .adria-v2-payments > small {
        display: none !important;
    }

    body.adria-site.single-product.adria-storefront-v2-pdp #main .adria-v2-payments__marks {
        gap: clamp(4px, 1.25vw, 8px) !important;
    }

    body.adria-site.single-product.adria-storefront-v2-pdp #main .adria-v2-payment-mark img {
        max-width: calc(var(--payment-width) * 1.25px) !important;
        max-height: 24px !important;
    }
}
