/* Public cards only. Product pages, forms and administrative grids keep their layout. */
body.site-body:not(.is-admin-area) .product-card--brief {
    position: relative;
    isolation: isolate;
    transform: none;
}
body.site-body:not(.is-admin-area) .product-card--brief .product-card-media {
    aspect-ratio: 3 / 2 !important;
    max-height: 160px;
    padding: .45rem !important;
}
body.site-body:not(.is-admin-area) .product-card--brief .product-card__content {
    gap: .3rem !important;
    padding: .65rem !important;
}
body.site-body:not(.is-admin-area) .product-card--brief .product-card__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-family: 'Manrope', sans-serif;
    font-size: .8rem !important;
    font-weight: 600;
    line-height: 1.35 !important;
    min-height: 2.7em;
    margin: 0 !important;
}
body.site-body:not(.is-admin-area) .product-card--brief .product-card__price {
    align-items: baseline;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .3rem .5rem;
    margin: .1rem 0 !important;
}
body.site-body:not(.is-admin-area) .product-card--brief .product-card__shipping-badge {
    align-items: center;
    align-self: flex-start;
    background: #edf8f2;
    border: 1px solid #d2eadd;
    border-radius: 5px;
    color: #166044;
    display: inline-flex;
    flex: 0 0 auto;
    gap: .3rem;
    font-size: .65rem;
    font-weight: 700;
    line-height: 1.3;
    max-width: 100%;
    padding: .2rem .4rem;
    width: fit-content;
}
body.site-body:not(.is-admin-area) .product-card--brief .product-card__shipping-badge svg {
    flex: 0 0 14px;
}
body.site-body:not(.is-admin-area) .product-card--brief .price-main {
    font-size: 1.1rem !important;
    line-height: 1.25;
}
body.site-body:not(.is-admin-area) .product-card--brief .price-old { font-size: .72rem; }
body.site-body:not(.is-admin-area) .product-card--brief .product-card__footer {
    gap: .5rem;
    padding-top: .1rem;
    margin-top: auto;
}
body.site-body:not(.is-admin-area) .product-card--brief .product-card__footer > .btn {
    flex: 1;
    min-width: 0;
    min-height: 44px !important;
    padding: .55rem .6rem;
    font-size: .8rem;
}
body.site-body:not(.is-admin-area) .product-card--brief .product-card__details { flex: 0 0 auto; }
body.site-body:not(.is-admin-area) .product-card--brief .product-card__details-trigger {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: .4rem;
    list-style: none;
    min-height: 44px;
    padding: .45rem .1rem;
    font-size: .74rem;
    font-weight: 700;
    color: var(--kp-text, #f5fbfb);
    cursor: pointer;
    touch-action: manipulation;
}
.product-card__details-trigger::-webkit-details-marker { display: none; }
.product-card__details[open] .product-card__details-trigger > span { transform: rotate(45deg); }
body.site-body:not(.is-admin-area) .product-card--brief.product-card--digital .product-card__details-panel { max-height: calc(100% - 160px); }
body.site-body:not(.is-admin-area) .product-card--brief .product-card__details-panel {
    position: absolute;
    inset: .5rem .5rem auto;
    z-index: 4;
    display: grid;
    gap: .5rem;
    max-height: calc(100% - 75px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    padding: .85rem;
    border: 1px solid var(--kp-border-strong, #436366);
    border-radius: 12px;
    background: var(--kp-surface-solid, #10292c);
    color: var(--kp-text, #f5fbfb);
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
}
body.site-body:not(.is-admin-area) .product-card--brief .product-card__preview-category {
    color: var(--kp-accent-soft, #a5f0f2);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}
body.site-body:not(.is-admin-area) .product-card--brief .product-card__preview-name { font-size: .8rem; line-height: 1.45; }
body.site-body:not(.is-admin-area) .product-card--brief .product-card__preview-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin: 0;
    color: var(--kp-muted, #b9d6d7);
    font-size: .75rem;
    line-height: 1.55;
}
body.site-body:not(.is-admin-area) .product-card--brief .product-card__preview-shipping { font-size: .75rem; margin: 0; }
body.site-body:not(.is-admin-area) .product-card--brief .payment-installments { margin: 0; }
body.site-body:not(.is-admin-area) .product-card--brief .product-card__details-panel .payment-installments:not([hidden]) { display: grid !important; }
body.site-body:not(.is-admin-area) .product-card--brief .product-card__details-panel .product-stock-status { display: block !important; }
body.site-body:not(.is-admin-area) .product-card--brief .payment-installments__head { gap: .35rem; }
body.site-body:not(.is-admin-area) .product-card--brief :is(.product-card__details-trigger, .product-card__details-panel, a):focus-visible {
    outline: 2px solid var(--kp-accent, #0abab8);
    outline-offset: 2px;
}
@media (max-width: 575px) {
    body.site-body:not(.is-admin-area) .product-card--brief .product-card__details-panel { max-height: calc(100% - 120px); }
    body.site-body:not(.is-admin-area) .catalog-digital-brief .catalog-grid-group > [class*="col-"] { flex-basis: 100% !important; max-width: 100% !important; width: 100% !important; }
    body.site-body:not(.is-admin-area) .product-card--brief .product-card__content { padding: .6rem !important; }
    body.site-body:not(.is-admin-area) .product-card--brief .product-card__title { font-size: .8rem !important; }
    body.site-body:not(.is-admin-area) .product-card--brief .product-card__footer { flex-direction: column; align-items: stretch; gap: 0; }
    body.site-body:not(.is-admin-area) .product-card--brief .product-card__details-trigger { justify-content: center; min-height: 36px; }
}
