/* ==========================================================================
   MegaPets 2.0 — Trust Center

   File path: wp-content/themes/megapets-child/components/trust-center/trust-center.css
   Responsibility: Own Trust Center layout, navigation and local proof styles.
   Provides: One responsive Trust Line, breeding, reviews and Facebook proof.
   Reads: Design System tokens and shared Trust Center icon masks.
   Saves meta fields: None.
   Consumed by: components/trust-center/trust-center.php.
   Connected files: trust-line.php, trust-center.js and reviews-preview.php.
   Dependencies: assets/css/design-system.css, style.css and shared SVG icons.
   External systems: None.
   Architecture: Component-local CSS; JavaScript only changes state classes.
   ========================================================================== */

.mp-trust-center,
.mp-trust-center * {
    box-sizing: border-box;
}

.mp-trust-center {
    /*
     * Local Trust Center layout settings.
     * Astra owns the page container and the actual catalog grid.
     */
    --mp-trust-columns: 4;
    --mp-trust-gap: 20px;
    --mp-reviews-scrollbar-thumb-color: rgb(199 154 87 / 30%);
    --mp-trust-line-icon-check-mask:
        url("../../assets/icons/mp-trust-icon-check.svg");
    --mp-trust-line-icon-close-mask:
        url("../../assets/icons/mp-trust-icon-close.svg");
    --mp-trust-line-icon-like-mask:
        url("../../assets/icons/mp-trust-icon-like.svg");
    --mp-trust-line-icon-slot-size: 19px;
    --mp-trust-line-trigger-height: 35px;
    --mp-trust-line-footer-height: 30px;
    --mp-trust-line-desktop-panel-height: 292px;
    --mp-trust-content-edge-space: 10px;

    width: 100%;
    max-width: none;
    margin: 0 0 var(--mp-trust-catalog-gap);
    padding: 0;
    color: var(--mp-color-grey);
    font-family: var(--mp-font-body);
}

/* ==========================================================================
   FACEBOOK PROOF
   ========================================================================== */

.mp-facebook-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
    margin: var(--mp-trust-proof-gap) 0 0;
}

.mp-facebook-proof__line {
    flex: 1 1 auto;
    height: var(--mp-decorative-line-height);
}

.mp-facebook-proof__line:first-child {
    background: var(--mp-decorative-title-line-left);
}

.mp-facebook-proof__line:last-child {
    background: var(--mp-decorative-title-line-right);
}

.mp-facebook-proof__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--mp-color-gold);
    text-decoration: none;
    background: transparent;
    outline: 0;
    border: 0;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    transition: color var(--mp-duration-fast) ease;
}

.mp-facebook-proof__link:visited {
    color: var(--mp-color-gold);
    background: transparent;
    text-decoration: none;
}

.mp-facebook-proof__link:hover,
.mp-facebook-proof__link:focus-visible,
.mp-facebook-proof__link:active {
    color: var(--mp-color-gold-dark);
    background: transparent;
    text-decoration: none;
}

.mp-facebook-proof__link:focus {
    outline: 0;
    box-shadow: none;
}

.mp-facebook-proof__link:focus-visible {
    outline: 1px solid var(--mp-color-border);
    outline-offset: 5px;
    border-radius: var(--mp-radius-pill);
}

.mp-facebook-proof__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: var(--mp-radius-pill);
    background: var(--mp-action-soft-background);
    color: var(--mp-color-cream);
}

.mp-facebook-proof__link:hover .mp-facebook-proof__icon,
.mp-facebook-proof__link:focus-visible .mp-facebook-proof__icon {
    background: var(--mp-action-soft-background-hover);
}

.mp-facebook-proof__link:active .mp-facebook-proof__icon {
    background: var(--mp-action-soft-background-active);
}

.mp-facebook-proof__icon svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.mp-facebook-proof__text {
    font-family: var(--mp-font-heading);
    font-size: 16px;
    line-height: 1.2;
    font-weight: var(--mp-font-weight-semibold);
    letter-spacing: .025em;
    text-align: center;
}

/* ==========================================================================
   TRUST LINE
   ========================================================================== */

.mp-trust-line {
    display: grid;
    grid-template-columns:
        repeat(var(--mp-trust-columns), minmax(0, 1fr));
    align-items: start;
    gap: var(--mp-trust-gap);
    width: 100%;
}

.mp-trust-line__item {
    container-name: mp-trust-item;
    container-type: inline-size;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border:
        var(--mp-border-width)
        solid
        var(--mp-color-border-subtle);
    border-radius: var(--mp-radius);
    background: var(--mp-color-surface);
    transition:
        border-color var(--mp-duration-fast) ease,
        box-shadow var(--mp-duration-normal) var(--mp-ease);
}

.mp-trust-line__item.is-open {
    border-color: var(--mp-color-border-interactive);
    box-shadow: var(--mp-shadow);
}

.mp-trust-line__trigger {
    -webkit-appearance: none;
    appearance: none;
    display: grid;
    grid-template-columns:
        var(--mp-trust-line-icon-slot-size)
        minmax(0, 1fr)
        var(--mp-trust-line-icon-slot-size);
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: var(--mp-trust-line-trigger-height);
    margin: 0;
    padding: 3px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    box-shadow: none;
    font: inherit;
    text-align: inherit;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.mp-trust-line__trigger:hover,
.mp-trust-line__trigger:active {
    border-color: transparent;
    background: transparent;
    color: inherit;
    box-shadow: none;
}

.mp-trust-line__trigger:focus {
    border-color: transparent;
    background: transparent;
    color: inherit;
    outline: 0;
    box-shadow: none;
}

.mp-trust-line__trigger:focus-visible {
    background: transparent;
    color: inherit;
    outline: 1px solid var(--mp-color-border-interactive);
    outline-offset: -2px;
    border-radius: var(--mp-radius);
}

.mp-trust-line__icon,
.mp-trust-line__spacer {
    width: var(--mp-trust-line-icon-slot-size);
    height: var(--mp-trust-line-icon-slot-size);
    justify-self: center;
}

.mp-trust-line__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    border: 1px solid var(--mp-color-border-subtle);
    border-radius: var(--mp-radius-pill);
    background: var(--mp-color-surface);
    color: var(--mp-color-gold);
}

.mp-trust-line__icon-glyph,
.mp-trust-line__close-icon {
    display: block;
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    background: currentColor;
    -webkit-mask-image: var(--mp-trust-line-icon-mask);
    mask-image: var(--mp-trust-line-icon-mask);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.mp-trust-line__icon--check {
    --mp-trust-line-icon-mask: var(--mp-trust-line-icon-check-mask);
}

.mp-trust-line__icon--check .mp-trust-line__icon-glyph {
    width: 13.5px;
    height: 13.5px;
    transform: translate(-1px, 1px);
}

.mp-trust-line__icon--like {
    --mp-trust-line-icon-mask: var(--mp-trust-line-icon-like-mask);
}

.mp-trust-line__icon--like .mp-trust-line__icon-glyph {
    width: 18px;
    height: 18px;
    transform: translate(.2px, 1.5px) rotate(4deg);
    transform-origin: 50% 50%;
}

.mp-trust-line__item.is-open .mp-trust-line__icon {
    border-color: var(--mp-color-gold-dark);
    background: var(--mp-color-gold-dark);
    color: var(--mp-color-surface);
}

.mp-trust-line__spacer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    opacity: 0;
    pointer-events: none;
}

.mp-trust-line__close-icon {
    --mp-trust-line-icon-mask: var(--mp-trust-line-icon-close-mask);
    width: 15.5px;
    height: 15.5px;
    transform: translateY(-.5px);
}

.mp-trust-line__item.is-open .mp-trust-line__spacer {
    color: var(--mp-color-gold);
    opacity: .9;
}

.mp-trust-line__title {
    color: var(--mp-color-gold);
    font-size: var(--mp-compact-heading-font-size);
    line-height: 1.35;
    font-weight: var(--mp-font-weight-semibold);
    letter-spacing: .03em;
    text-align: center;
    text-transform: uppercase;
    transition: color var(--mp-duration-fast) ease;
}

.mp-trust-line__item.is-open .mp-trust-line__title {
    color: var(--mp-color-gold-dark);
}

.mp-trust-line__content {
    position: relative;
    max-height: 0;
    overflow: hidden;
    padding: 0 16px;
    color: var(--mp-color-brown-chocolate);
    font-size: var(--mp-quote-font-size);
    line-height: 1.65;
    text-align: left;
    opacity: 0;
    cursor: pointer;
    transition:
        max-height .45s ease,
        padding .45s ease,
        opacity .25s ease;
}

.mp-trust-line__item:not(.is-open) > .mp-trust-line__content {
    visibility: hidden;
    pointer-events: none;
}

.mp-trust-line__item.is-open > .mp-trust-line__content {
    visibility: visible;
    pointer-events: auto;
}

.mp-trust-line__item.is-open .mp-trust-line__content {
    max-height: var(--mp-trust-line-desktop-panel-height);
    padding: 2px 16px 13px;
    opacity: 1;
}

.mp-trust-line__content--linked {
    padding-right: 0;
    padding-left: 0;
}

.mp-trust-line__item.is-open
.mp-trust-line__content--linked {
    padding: 0;
}

.mp-trust-line__copy {
    padding: 2px 16px 13px;
}

.mp-trust-line__item.is-open .mp-trust-line__content::before,
.mp-reviews-preview__review + .mp-reviews-preview__review::before {
    content: "";
    position: absolute;
    top: 0;
    right: 16px;
    left: 16px;
    height: var(--mp-standard-separator-line-thickness);
    background: var(--mp-standard-separator-line-color);
    pointer-events: none;
}

.mp-trust-line .mp-trust-line__content {
    height: 0;
    transition:
        height .45s var(--mp-ease),
        max-height .45s var(--mp-ease),
        padding .45s var(--mp-ease),
        opacity .25s ease;
}

@media (min-width: 545px) {

    .mp-trust-line
    .mp-trust-line__item.is-open
    > .mp-trust-line__content {
        height: var(--mp-trust-line-desktop-panel-height);
        max-height: var(--mp-trust-line-desktop-panel-height);
    }
}

.mp-trust-line.is-switching .mp-trust-line__item,
.mp-trust-line.is-switching .mp-trust-line__trigger,
.mp-trust-line.is-switching .mp-trust-line__content,
.mp-trust-line.is-switching .mp-trust-line__icon,
.mp-trust-line.is-switching .mp-trust-line__title,
.mp-trust-line.is-switching .mp-trust-line__spacer {
    transition: none;
}

.mp-trust-line .mp-trust-line__content--linked,
.mp-trust-line .mp-trust-line__content--reviews {
    display: flex;
    flex-direction: column;
}

.mp-trust-line .mp-trust-line__copy {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 0;
    padding-top: var(--mp-trust-content-edge-space);
    text-align: center;
}

.mp-trust-line .mp-trust-line__footer,
.mp-trust-line .mp-reviews-preview__footer {
    flex: 0 0 auto;
}

.mp-trust-line .mp-reviews-preview__scroll {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
}

/* Delivery and knowledge: text first, visual proof below. */

.mp-trust-line__knowledge {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
}

.mp-trust-line__content--breeding,
.mp-trust-line__content--delivery,
.mp-trust-line__content--knowledge {
    cursor: default;
}

.mp-trust-line__delivery,
.mp-trust-line__knowledge--has-media {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 4px;
    flex: 1 1 auto;
    min-height: 0;
    padding:
        var(--mp-trust-content-edge-space)
        12px
        var(--mp-trust-content-edge-space);
    overflow: hidden;
}

.mp-trust-line__delivery {
    justify-content: flex-start;
    gap: var(--mp-trust-content-edge-space);
}

.mp-trust-line__delivery .mp-trust-line__story-copy,
.mp-trust-line__knowledge--has-media
.mp-trust-line__story-copy {
    display: block;
    flex: 0 0 auto;
    min-height: auto;
    margin: 0;
    padding: 0 4px;
}

.mp-trust-line__delivery .mp-trust-line__delivery-media {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 0;
    width: min(100%, 320px);
    min-height: 0;
    max-height: none;
    margin: 0 auto;
}

.mp-trust-line
.mp-trust-line__delivery
.mp-trust-line__delivery-media {
    flex: 1 1 0;
}

.mp-trust-line__delivery-showcase-frame {
    position: relative;
    width: 100%;
    padding-top: 9px;
}

.mp-trust-line__delivery-showcase-frame
> .mp-delivery-countries-showcase {
    width: 100%;
}

.mp-trust-line__delivery-origin {
    position: absolute;
    z-index: 1;
    top: 9px;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    max-width: calc(100% - 32px);
    padding: 0 9px;
    background: var(--mp-color-surface);
    color: var(--mp-color-brown-chocolate);
    font-family: var(--mp-font-body);
    font-size: var(--mp-compact-heading-font-size);
    line-height: 1.15;
    font-weight: var(--mp-font-weight-semibold);
    letter-spacing: .055em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.mp-trust-line__delivery-origin-icon {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    color: var(--mp-color-gold-dark);
    stroke-width: 1.7;
}

.mp-trust-line__delivery-origin-text {
    display: block;
}

.mp-trust-line__knowledge--has-media
.mp-trust-line__story-media {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    width: min(100%, 180px);
    min-height: 0;
    max-height: 135px;
    margin: 0 auto;
}

.mp-trust-line__knowledge-media[hidden] {
    display: none !important;
}

.mp-trust-line__knowledge--has-media .mp-trust-line__knowledge-media {
    overflow: hidden;
    border-radius: var(--mp-radius-small);
    background: var(--mp-color-surface);
}

.mp-trust-line__knowledge--has-media {
    justify-content: space-between;
    gap: 0;
    padding:
        var(--mp-trust-content-edge-space)
        8px
        0;
}

.mp-trust-line .mp-trust-line__knowledge--has-media {
    justify-content: flex-start;
}

.mp-trust-line__knowledge--has-media .mp-trust-line__knowledge-media {
    flex: 0 0 auto;
    width: min(100%, 220px);
    max-height: none;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
}

.mp-trust-line__knowledge-media .mp-e-book-opening {
    --mp-e-book-opening-media-scale: 1.02;
}

/* ==========================================================================
   BREEDING REGISTRATION — COMPACT GRES CREDENTIAL
   ========================================================================== */

.mp-trust-line__breeding {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: var(--mp-trust-content-edge-space);
    min-height: 0;
    overflow: hidden;
    padding:
        var(--mp-trust-content-edge-space)
        12px
        6px;
}

.mp-trust-line__breeding .mp-trust-line__story-copy {
    display: block;
    flex: 0 0 auto;
    min-height: auto;
    margin: 0;
    padding: 0 4px;
    line-height: 1.5;
}

.mp-trust-line__breeding-registration {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    flex: 0 0 auto;
    width: min(100%, 320px);
    min-height: 62px;
    margin: auto;
    padding: 6px 12px;
    background: transparent;
    box-shadow: none;
}

.mp-trust-line__breeding-registration::before,
.mp-trust-line__breeding-registration::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    height: var(--mp-decorative-line-height);
    background: var(--mp-decorative-divider-line);
    pointer-events: none;
}

.mp-trust-line__breeding-registration::before {
    top: 0;
}

.mp-trust-line__breeding-registration::after {
    bottom: 0;
}

.mp-trust-line__breeding-registration-label {
    display: block;
    color: var(--mp-color-brown-chocolate);
    font-family: var(--mp-font-body);
    font-size: var(--mp-compact-heading-font-size);
    line-height: 1.2;
    font-weight: var(--mp-font-weight-semibold);
    letter-spacing: .055em;
    text-align: center;
    text-transform: uppercase;
}

.mp-trust-line__breeding-registration-name {
    display: block;
    color: var(--mp-color-grey);
    font-family: var(--mp-font-accent);
    font-size: 10.5px;
    line-height: 1.2;
    font-style: italic;
    text-align: center;
}

.mp-trust-line__breeding-registration-number {
    display: block;
    color: var(--mp-color-gold-dark);
    font-family: var(--mp-font-body);
    font-size: 11px;
    line-height: 1.15;
    font-weight: var(--mp-font-weight-semibold);
    letter-spacing: .06em;
    text-align: center;
    white-space: nowrap;
}

/* ==========================================================================
   REVIEWS PREVIEW
   ========================================================================== */

.mp-trust-line__title--reviews {
    white-space: nowrap;
}

.mp-trust-line__content--reviews {
    padding-right: 0;
    padding-left: 0;
    cursor: default;
}

.mp-trust-line__item--reviews.is-open
.mp-trust-line__content--reviews {
    max-height: var(--mp-trust-line-desktop-panel-height);
    padding: 0;
}

.mp-reviews-preview__scroll {
    --mp-scrollbar-thumb-color:
        var(--mp-reviews-scrollbar-thumb-color);
    --mp-scrollbar-thumb-hover-color:
        var(--mp-reviews-scrollbar-thumb-color);
    --mp-scrollbar-thumb-active-color:
        var(--mp-reviews-scrollbar-thumb-color);

    max-height: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0;
    text-align: left;
    scroll-behavior: smooth;
    scrollbar-gutter: stable both-edges;
    -webkit-overflow-scrolling: touch;
}

.mp-reviews-preview__review {
    position: relative;
    padding: 16px 12px;
}

.mp-reviews-preview__review:first-child {
    padding-top: var(--mp-trust-content-edge-space);
}

.mp-reviews-preview__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    margin: 9px 0 0;
    min-width: 0;
}

.mp-reviews-preview__identity {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    gap: 5px;
    min-width: 0;
    overflow: hidden;
}

.mp-reviews-preview__nickname {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    color: var(--mp-color-gold-dark);
    font-family: var(--mp-font-body);
    font-size: 9px;
    line-height: 1.3;
    font-weight: var(--mp-font-weight-semibold);
    letter-spacing: .05em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.mp-reviews-preview__country {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    gap: 4px;
    max-width: 52%;
    min-width: 0;
    padding: 2px 6px;
    border:
        var(--mp-border-width)
        solid
        var(--mp-color-border-subtle);
    border-radius: var(--mp-radius-pill);
    background: var(--mp-color-background-soft);
    color: var(--mp-color-grey);
    font-family: var(--mp-font-body);
    font-size: 8px;
    line-height: 1.25;
    letter-spacing: .015em;
}

.mp-reviews-preview__country-flag {
    flex: 0 0 auto;
    font-size: 10px;
    line-height: 1;
}

.mp-reviews-preview__country-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mp-reviews-preview__date {
    flex: 0 0 auto;
    margin: 0 0 0 auto;
    color: var(--mp-color-grey);
    font-family: var(--mp-font-body);
    font-size: 9px;
    line-height: 1.3;
    letter-spacing: .025em;
    text-align: right;
    white-space: nowrap;
    opacity: .72;
}

.mp-reviews-preview__empty {
    margin: 0;
    padding: 22px 16px;
    color: var(--mp-color-grey);
    font-family: var(--mp-font-accent);
    font-size: var(--mp-quote-font-size);
    line-height: 1.55;
    font-style: italic;
    text-align: center;
}

.mp-reviews-preview__quote {
    margin: 0;
    padding: 0;
    border: 0;
}

.mp-reviews-preview__quote p {
    margin: 0;
    color: var(--mp-color-grey);
    font-family: var(--mp-font-accent);
    font-size: var(--mp-quote-font-size);
    line-height: 1.55;
    font-style: italic;
}

.mp-reviews-preview__photos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: min(100%, 246px);
    margin: 9px 0 0;
}

.mp-reviews-preview__photos--1 {
    grid-template-columns: minmax(0, 132px);
}

.mp-reviews-preview__photo {
    position: relative;
    aspect-ratio: 4 / 3;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border:
        var(--mp-border-width)
        solid
        var(--mp-color-border-subtle);
    border-radius: var(--mp-radius-small);
    background: var(--mp-color-background-soft);
}

.mp-reviews-preview__photo-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mp-trust-line__footer,
.mp-reviews-preview__footer {
    padding: 0;
    border: 0;
    text-align: center;
}

.mp-trust-line__footer-link,
.mp-trust-line__footer-link:visited,
.mp-reviews-preview__footer-link,
.mp-reviews-preview__footer-link:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: var(--mp-trust-line-footer-height);
    padding: 7px 16px 8px;
    border: 0;
    border-radius: 0;
    background: var(--mp-action-quiet-background);
    color: var(--mp-action-quiet-color);
    box-shadow: none;
    font-family: var(--mp-font-body);
    font-size: 10.5px;
    line-height: 1.4;
    font-weight: var(--mp-font-weight-semibold);
    letter-spacing: .035em;
    text-align: center;
    text-decoration: none;
    transition: none;
}

.mp-trust-line__footer-arrow,
.mp-reviews-preview__footer-arrow {
    --mp-premium-arrow-standard-glyph-size: 24px;

    color: inherit;
    opacity: 1;
}

.mp-trust-line__footer-link:hover,
.mp-reviews-preview__footer-link:hover {
    background: var(--mp-action-quiet-background);
    color: var(--mp-action-quiet-color);
}

.mp-trust-line__footer-link:focus-visible,
.mp-reviews-preview__footer-link:focus-visible {
    background: var(--mp-action-quiet-background-hover);
    color: var(--mp-action-quiet-color);
}

.mp-trust-line__footer-link:active,
.mp-trust-line__footer-link.is-pressed,
.mp-reviews-preview__footer-link:active,
.mp-reviews-preview__footer-link.is-pressed {
    background: var(--mp-action-quiet-background-active);
    color: var(--mp-action-quiet-color-active);
}

.mp-trust-line__footer-link:focus,
.mp-reviews-preview__footer-link:focus {
    outline: 0;
}

.mp-trust-line__footer-link:focus-visible,
.mp-reviews-preview__footer-link:focus-visible {
    outline: 1px solid var(--mp-action-quiet-color);
    outline-offset: -3px;
}

@container mp-trust-item (max-width: 279px) {

    .mp-trust-line__content {
        --mp-trust-line-desktop-panel-height: 312px;
    }
}

@container mp-trust-item (min-width: 360px) {

    .mp-trust-line__content {
        --mp-trust-line-desktop-panel-height: 272px;
    }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (min-width: 1121px) {

    .mp-trust-line__knowledge--has-media
    .mp-trust-line__knowledge-media {
        width: min(100%, 230px);
    }

    .mp-trust-line__knowledge--has-media .mp-e-book-opening {
        --mp-e-book-opening-media-scale: 1.05;
    }

    .mp-facebook-proof__line {
        flex: 0 1 180px;
        max-width: 180px;
    }
}

@media (max-width: 1120px) and (min-width: 545px) {

    .mp-trust-center {
        --mp-trust-columns: 2;
    }
}

@media (max-width: 544px) {

    .mp-trust-center {
        --mp-trust-columns: 2;
        --mp-trust-mobile-panel-medium-height: 220px;
        --mp-trust-mobile-panel-delivery-height: 220px;
        --mp-trust-mobile-panel-large-height: 335px;
        --mp-trust-mobile-panel-knowledge-max-height: 420px;
    }

    .mp-facebook-proof {
        gap: 11px;
        margin-top: var(--mp-trust-proof-gap-mobile);
    }

    .mp-facebook-proof__text {
        font-size: 14px;
    }

    .mp-trust-line {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
        overflow: visible;
        padding-bottom: 0;
    }

    .mp-trust-line__item {
        display: contents;
    }

    .mp-trust-line__item:nth-child(1)
    > .mp-trust-line__trigger {
        grid-column: 1;
        grid-row: 1;
    }

    .mp-trust-line__item:nth-child(2)
    > .mp-trust-line__trigger {
        grid-column: 2;
        grid-row: 1;
    }

    .mp-trust-line__item:nth-child(3)
    > .mp-trust-line__trigger {
        grid-column: 1;
        grid-row: 2;
    }

    .mp-trust-line__item:nth-child(4)
    > .mp-trust-line__trigger {
        grid-column: 2;
        grid-row: 2;
    }

    .mp-trust-line__trigger {
        grid-template-columns:
            17px
            minmax(0, 1fr)
            17px;
        gap: 4px;
        min-height: 32px;
        padding: 2px 5px;
        border:
            var(--mp-border-width)
            solid
            var(--mp-color-border-subtle);
        border-radius: var(--mp-radius);
        background: var(--mp-color-surface);
        transition:
            border-color var(--mp-duration-fast) ease,
            box-shadow var(--mp-duration-normal) var(--mp-ease);
    }

    .mp-trust-line__item:not(.is-open)
    > .mp-trust-line__trigger:hover,
    .mp-trust-line__item:not(.is-open)
    > .mp-trust-line__trigger:focus,
    .mp-trust-line__item:not(.is-open)
    > .mp-trust-line__trigger:active {
        border-color: var(--mp-color-border-subtle);
        background: var(--mp-color-surface);
        color: inherit;
        box-shadow: none;
    }

    .mp-trust-line__item.is-open
    > .mp-trust-line__trigger {
        border-color: var(--mp-color-border-interactive);
        background: var(--mp-action-soft-background);
        color: var(--mp-color-cream);
        box-shadow: var(--mp-shadow);
    }

    .mp-trust-line__item.is-open
    > .mp-trust-line__trigger
    .mp-trust-line__icon {
        border-color: var(--mp-color-cream);
        background: transparent;
        color: var(--mp-color-cream);
    }

    .mp-trust-line__item.is-open
    > .mp-trust-line__trigger
    .mp-trust-line__title,
    .mp-trust-line__item.is-open
    > .mp-trust-line__trigger
    .mp-trust-line__spacer {
        color: var(--mp-color-cream);
    }

    .mp-trust-line__item.is-open
    > .mp-trust-line__trigger:focus-visible {
        outline-color: var(--mp-color-cream);
    }

    .mp-trust-line__title {
        font-size: 8.5px;
        line-height: 1.2;
        letter-spacing: .01em;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
        hyphens: auto;
        text-wrap: balance;
    }

    .mp-trust-line__icon {
        font-size: 9px;
        font-weight: var(--mp-font-weight-semibold);
    }

    .mp-trust-line__footer-link,
    .mp-trust-line__footer-link:visited,
    .mp-reviews-preview__footer-link,
    .mp-reviews-preview__footer-link:visited {
        background: var(--mp-action-soft-background);
        color: var(--mp-color-cream);
    }

    .mp-trust-line__footer-link:hover,
    .mp-reviews-preview__footer-link:hover {
        background: var(--mp-action-soft-background);
        color: var(--mp-color-cream);
    }

    .mp-trust-line__footer-link:focus-visible,
    .mp-reviews-preview__footer-link:focus-visible {
        background: var(--mp-action-soft-background-hover);
        color: var(--mp-color-cream);
    }

    .mp-trust-line__footer-link:active,
    .mp-trust-line__footer-link.is-pressed,
    .mp-reviews-preview__footer-link:active,
    .mp-reviews-preview__footer-link.is-pressed {
        background: var(--mp-action-soft-background-active);
        color: var(--mp-color-cream);
    }

    .mp-trust-line__footer-link:focus-visible,
    .mp-reviews-preview__footer-link:focus-visible {
        outline-color: var(--mp-color-cream);
    }

    .mp-trust-line__content {
        --mp-trust-mobile-panel-height:
            var(--mp-trust-mobile-panel-medium-height);

        grid-column: 1 / -1;
        grid-row: 3;
        height: 0;
        max-height: 0;
        width: 100%;
        margin-top: 0;
        padding: 0;
        border: 0;
        border-radius: var(--mp-radius);
        opacity: 0;
        transition:
            height var(--mp-duration-normal) var(--mp-ease),
            max-height var(--mp-duration-normal) var(--mp-ease),
            margin-top var(--mp-duration-normal) var(--mp-ease),
            opacity var(--mp-duration-fast) ease;
    }

    .mp-trust-line__content--breeding {
        --mp-trust-mobile-panel-height:
            var(--mp-trust-mobile-panel-medium-height);
    }

    .mp-trust-line__content--delivery {
        --mp-trust-mobile-panel-height:
            var(--mp-trust-mobile-panel-delivery-height);
    }

    .mp-trust-line__content--knowledge {
        --mp-trust-mobile-panel-height:
            var(--mp-trust-mobile-panel-knowledge-max-height);
    }

    .mp-trust-line__content--reviews {
        --mp-trust-mobile-panel-height:
            var(--mp-trust-mobile-panel-large-height);
    }

    .mp-trust-line__item.is-open
    > .mp-trust-line__content {
        height: var(--mp-trust-mobile-panel-height);
        max-height: var(--mp-trust-mobile-panel-height);
        margin-top: 5px;
        padding: 0;
        border:
            var(--mp-border-width)
            solid
            var(--mp-color-border-interactive);
        border-radius: var(--mp-radius);
        background: var(--mp-color-surface);
        box-shadow: var(--mp-shadow);
    }

    .mp-trust-line__item.is-open
    > .mp-trust-line__content--knowledge {
        height: auto;
    }

    .mp-reviews-preview__scroll {
        touch-action: pan-y;
    }

    .mp-trust-line__content .mp-trust-line__copy {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 auto;
        min-height: 0;
        padding-top: var(--mp-trust-content-edge-space);
    }

    .mp-trust-line__content
    .mp-trust-line__breeding
    .mp-trust-line__story-copy {
        display: block;
        flex: 0 0 auto;
        min-height: auto;
        padding: 0 4px;
    }

    .mp-trust-line__content .mp-trust-line__breeding {
        padding:
            var(--mp-trust-content-edge-space)
            8px
            6px;
    }

    .mp-trust-line__content
    .mp-trust-line__breeding-registration {
        width: min(100%, 300px);
        min-height: 58px;
        padding: 6px 10px;
    }

    .mp-trust-line__content
    .mp-trust-line__breeding-registration-name {
        font-size: 9.5px;
    }

    .mp-trust-line__content
    .mp-trust-line__delivery,
    .mp-trust-line__content
    .mp-trust-line__knowledge--has-media {
        gap: 0;
        padding:
            var(--mp-trust-content-edge-space)
            8px
            var(--mp-trust-content-edge-space);
    }

    .mp-trust-line__content
    .mp-trust-line__knowledge--has-media {
        justify-content: flex-start;
        padding-bottom: 0;
    }

    .mp-trust-line__content
    .mp-trust-line__delivery {
        justify-content: flex-start;
        gap: var(--mp-trust-content-edge-space);
    }

    .mp-trust-line__content
    .mp-trust-line__delivery
    .mp-trust-line__story-copy,
    .mp-trust-line__content
    .mp-trust-line__knowledge--has-media
    .mp-trust-line__story-copy {
        display: block;
        flex: 0 0 auto;
        min-height: auto;
        padding: 0 4px;
    }

    .mp-trust-line__content
    .mp-trust-line__delivery
    .mp-trust-line__story-media,
    .mp-trust-line__content
    .mp-trust-line__knowledge--has-media
    .mp-trust-line__story-media {
        width: min(100%, 300px);
        max-height: none;
    }

    .mp-trust-line__content
    .mp-trust-line__knowledge--has-media
    .mp-trust-line__knowledge-media {
        width: min(100%, 280px);
    }

    .mp-trust-line__content
    .mp-trust-line__delivery
    .mp-trust-line__delivery-media {
        width: min(100%, 300px);
    }

    .mp-trust-line__content .mp-trust-line__footer,
    .mp-trust-line__content .mp-reviews-preview__footer {
        flex: 0 0 auto;
    }

    .mp-trust-line__content .mp-reviews-preview__scroll {
        flex: 1 1 auto;
        min-height: 0;
        max-height: none;
        margin: var(--mp-radius) 0 4px;
    }
}

@media (max-width: 420px) {

    .mp-facebook-proof {
        gap: 8px;
    }

    .mp-facebook-proof__icon {
        flex-basis: 25px;
        width: 25px;
        height: 25px;
    }

    .mp-facebook-proof__text {
        font-size: 12.5px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .mp-trust-line__item,
    .mp-trust-line__trigger,
    .mp-trust-line__content,
    .mp-trust-line__icon,
    .mp-trust-line__title {
        transition: none;
    }

    .mp-reviews-preview__scroll {
        scroll-behavior: auto;
    }
}