/* Shared Storefront v3 WooCommerce product card. */
.pc-home-product {
    display: flex;
    position: relative;
    min-width: 0;
    flex-direction: column;
    border: 1px solid var(--pc-v3-line);
    border-radius: var(--pc-v3-radius);
    background: var(--pc-v3-sand-soft);
    box-shadow: var(--pc-v3-shadow);
}

.pc-home-product__media {
    display: block;
    overflow: hidden;
    border-radius: calc(var(--pc-v3-radius) - 1px) calc(var(--pc-v3-radius) - 1px) 0 0;
    background: var(--pc-v3-sand);
}

.pc-home-product__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.19;
    object-fit: cover;
    transition: transform 200ms ease;
}

.pc-home-product__media:hover img {
    transform: scale(1.03);
}

.pc-home-product__body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 8px;
}

.pc-home-product__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    max-width: 100%;
    padding: 4px 7px;
    border-radius: 50px;
    background: var(--pc-v3-amber);
    font-size: 10px;
    font-weight: 750;
    line-height: 1.16;
    overflow-wrap: anywhere;
}

.pc-home-product__badge .pc-v3-icon {
    width: 13px;
    height: 13px;
}

.pc-home-product h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 750;
    letter-spacing: -.015em;
    line-height: 1.23;
    overflow-wrap: anywhere;
}

.pc-home-product h3 a {
    color: inherit;
    text-decoration: none;
}

.pc-home-product h3 a:hover {
    color: var(--pc-v3-copper);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pc-home-product__rating {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    color: var(--pc-v3-muted);
    font-size: 11px;
    line-height: 1.2;
}

.pc-home-product__rating .pc-v3-icon {
    width: 14px;
    height: 14px;
    color: var(--pc-v3-copper);
}

.pc-home-product__price {
    position: relative;
    margin-block-start: auto;
    color: var(--pc-v3-ink);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.pc-home-product__price del {
    color: var(--pc-v3-muted);
    font-size: .9em;
    font-weight: 400;
}

.pc-home-product__price ins {
    color: var(--pc-v3-copper);
    text-decoration: none;
}

.pc-home-product__action {
    max-width: 100%;
}

.pc-home-product :is(a.pc-home-product__action, .pc-home-product__action a.button, .pc-home-product__action a:not(.added_to_cart)) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 44px;
    max-width: 100%;
    padding: 8px;
    border: 1px solid var(--pc-v3-line);
    border-radius: 9px;
    background: var(--pc-v3-amber);
    color: var(--pc-v3-ink);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.15;
    overflow-wrap: anywhere;
    text-align: center;
    text-decoration: none;
}

.pc-home-product :is(a.pc-home-product__action, .pc-home-product__action a.button, .pc-home-product__action a:not(.added_to_cart)):hover {
    border-color: var(--pc-v3-copper);
    background: #f4c688;
}

.pc-home-product__action .pc-v3-icon {
    width: 16px;
    height: 16px;
}
