.zf-part-card,
.zf-cart-product {
    --zf-ink: #13243a;
    --zf-muted: #526276;
    --zf-blue: #154eb5;
    font-family: Manrope, system-ui, sans-serif;
}

.zf-part-card {
    --zf-line: #dce4ef;
    --zf-surface: #f3f6fb;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--zf-line);
    border-radius: .95rem;
    background: #fff;
    box-shadow: 0 3px 12px rgb(19 36 58 / 5%);
}

.zf-part-card:hover { border-color: #a9bee3; }

.zf-part-card-image {
    display: grid;
    place-items: center;
    min-width: 0;
    border-bottom: 1px solid var(--zf-line);
    padding: clamp(.45rem, 1.4vw, .9rem);
    background: #f4f7fb;
}

.zf-part-card-image img {
    display: block;
    width: min(100%, 12.5rem);
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: .45rem;
}

.zf-part-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
    min-width: 0;
    padding: clamp(.65rem, 1.6vw, 1.1rem);
}

.zf-part-card-brand {
    margin: 0;
    color: var(--zf-muted);
    font-size: .78rem;
    font-weight: 550;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.zf-part-card-title {
    margin: 0;
    font-size: clamp(.95rem, 1.5vw, 1.12rem);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.zf-part-card-title a { color: var(--zf-ink); text-decoration: none; }
.zf-part-card-title a:hover { color: var(--zf-blue); text-decoration: underline; }
.zf-part-card-article { color: var(--zf-muted); font-size: .8rem; overflow-wrap: anywhere; }
.zf-part-card-article span { font-weight: 600; }

.zf-part-card-offer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .45rem;
    width: 100%;
    margin-top: auto;
    padding-top: .6rem;
}

.zf-part-card-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .2rem .45rem;
}

.zf-part-card-price strong { color: var(--zf-ink); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 800; line-height: 1.2; }
.zf-part-card-price del { color: var(--zf-muted); font-size: .82rem; }

.zf-part-card-price .zf-part-card-old-price {
    color: #455a76;
    font-size: 1rem;
    font-weight: 700;
    text-decoration-thickness: 2px;
}

.zf-part-card-discount {
    padding: .2rem .45rem;
    border-radius: .375rem;
    background: #ffe9e5;
    color: #a53022;
    font-size: .8rem;
    font-weight: 750;
    line-height: 1.25;
    white-space: nowrap;
}

.zf-part-card-stock {
    margin: 0;
    padding: .2rem .48rem;
    border-radius: .35rem;
    background: #fff1d9;
    color: #704200;
    font-size: .78rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.zf-part-card-stock-available { background: #e6f5ed; color: #16634b; }

.zf-part-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    width: 100%;
    margin-top: .5rem;
    padding-top: .65rem;
    border-top: 1px solid var(--zf-line);
}

.zf-part-card-actions form { margin: 0; }

.zf-part-card-actions :is(a, button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    min-height: 2.4rem;
    border: 1px solid var(--zf-line);
    border-radius: .5rem;
    background: #fff;
    color: var(--zf-blue);
    font-size: .83rem;
    font-weight: 650;
    text-decoration: none;
}

.zf-part-card-actions .zf-part-card-link {
    flex: 1;
    padding: .3rem .45rem;
    background: var(--zf-surface);
}

.zf-part-card-actions :is(button, .zf-wishlist-remove) { width: 2.4rem; padding: 0; }
.zf-part-card-link i { font-size: .82em; }

.zf-part-card-actions :is(a, button):hover {
    border-color: #a9bee3;
    background: #edf4ff;
}

.zf-part-card-actions .zf-wishlist-remove:hover { color: #a12626; }
.zf-part-card-actions .zf-wishlist-remove[aria-disabled="true"] { opacity: .5; }

.zf-part-card-media { position: relative; }
.zf-part-card-media[data-zf-gallery] .zf-part-card-image { touch-action: pan-y pinch-zoom; padding-bottom: 1.3rem; }
.zf-part-gallery-controls > button {
    position: absolute;
    top: calc(50% - 1rem);
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid var(--zf-line);
    border-radius: .5rem;
    background: #fff;
    color: var(--zf-blue);
    font-size: .7rem;
}
.zf-part-gallery-prev { inset-inline-start: .5rem; }
.zf-part-gallery-next { inset-inline-end: .5rem; }
.zf-part-gallery-controls > button:hover { background: #edf3fd; }
.zf-part-gallery-controls button:focus-visible { outline: 2px solid var(--zf-blue); outline-offset: 1px; }
.zf-part-gallery-dots {
    position: absolute;
    inset-inline: 2.75rem;
    bottom: .15rem;
    display: flex;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
    pointer-events: none;
}
.zf-part-gallery-dots button {
    display: grid;
    flex: 0 0 1rem;
    place-items: center;
    height: 1.05rem;
    padding: 0;
    border: 0;
    background: transparent;
    pointer-events: auto;
}
.zf-part-gallery-dots button::after {
    content: "";
    width: .38rem;
    height: .38rem;
    border-radius: 50%;
    background: #a0b4d0;
}
.zf-part-gallery-dots button[aria-current]::after { background: var(--zf-blue); }
