/* v0.2.60: scoped overrides of the site's later height:auto !important rule. */
body .wpcu-product.rococo-card-aligned,
body ul.products li.product.rococo-card-aligned {
    --rococo-card-title-size: 14px;
    --rococo-card-price-size: 15px;
}
body .wpcu-product.rococo-card-aligned .wpcu-product__details,
body ul.products li.product.rococo-card-aligned .astra-shop-summary-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    min-width: 0 !important;
    padding-top: 0 !important;
}
body .rococo-card-aligned .rococo-card-badge-slot {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
}
body .rococo-card-aligned .rococo-card-badge-slot .rococo-sale-pill {
    margin: 0 !important;
}
body .wpcu-product.rococo-card-aligned .wpcu-product__details .wpcu-product__title,
body ul.products li.product.rococo-card-aligned .woocommerce-loop-product__title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3;
    box-sizing: border-box !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 4.5em !important;
    min-height: 4.5em !important;
    max-height: 4.5em !important;
    font-size: var(--rococo-card-title-size) !important;
    line-height: 1.5 !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    white-space: normal !important;
    overflow: hidden !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    text-overflow: ellipsis !important;
    text-align: center !important;
}
body .rococo-card-aligned .wpcu-product__title a,
body .rococo-card-aligned .ast-loop-product__link {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
    line-height: inherit !important;
}
body .rococo-card-aligned .wpcu-product__title a { display: inline !important; }
body .wpcu-product.rococo-card-aligned .wpcu-product__details .wpcu-product__price,
body ul.products li.product.rococo-card-aligned .astra-shop-summary-wrap > .rococo-card-price {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 1.3em !important;
    min-height: 1.3em !important;
    flex: 0 0 auto !important;
    font-size: var(--rococo-card-price-size) !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    white-space: nowrap !important;
}
body .rococo-card-aligned .rococo-card-price .price {
    font-size: inherit !important;
    line-height: inherit !important;
    margin: 0 !important;
}
body .rococo-card-aligned .wpcu-product__price del,
body .rococo-card-aligned .wpcu-product__price ins,
body .rococo-card-aligned .rococo-card-price del,
body .rococo-card-aligned .rococo-card-price ins {
    display: inline-block !important;
    vertical-align: top !important;
    font-size: inherit !important;
    line-height: 1.3 !important;
    height: 1.3em !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Screen reader explanations must not become visible price rows. */
body .rococo-card-aligned .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}
body .wpcu-product.rococo-card-aligned .wpcu-product__img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 0 !important;
}
body .wpcu-product.rococo-card-aligned .wpcu-product__img > a {
    display: block;
    aspect-ratio: 1 / 1;
}
body .wpcu-product.rococo-card-aligned .wpcu-product__img img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1;
    object-fit: contain !important;
    margin: 0 !important;
}
@media (max-width: 767px) {
    body .wpcu-product.rococo-card-aligned,
    body ul.products li.product.rococo-card-aligned {
        --rococo-card-title-size: 13px;
        --rococo-card-price-size: 14px;
    }
    body .rococo-card-aligned .rococo-card-badge-slot {
        flex-basis: 32px !important;
        height: 32px !important;
    }
}
/* Carousel price wrappers were inline-flex; stack original/current prices. */
body .rococo-card-aligned .wpcu-product__price .wpcu-product__price__sale,
body .rococo-card-aligned .wpcu-product__price .wpcu-product__price__regular {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}
body .rococo-card-aligned .wpcu-product__price *,
body .rococo-card-aligned .rococo-card-price * {
    font-size: inherit !important;
    line-height: inherit !important;
}
body .wpcu-product.rococo-card-aligned .wpcu-product__details,
body ul.products li.product.rococo-card-aligned .astra-shop-summary-wrap {
    margin-top: 0 !important;
}
body ul.products li.product.rococo-card-aligned .astra-shop-thumbnail-wrap,
body ul.products li.product.rococo-card-aligned .astra-shop-thumbnail-wrap img {
    margin-bottom: 0 !important;
}

/* Keep original and current prices on one shared baseline. */
body .rococo-card-aligned .wpcu-product__price del,
body .rococo-card-aligned .rococo-card-price del { margin-right: .35em !important; }
/* v0.2.61: reference typography, independent of Elementor heading fonts. */
body .wpcu-product.rococo-card-aligned .wpcu-product__title,
body .wpcu-product.rococo-card-aligned .wpcu-product__title a,
body ul.products li.product.rococo-card-aligned .woocommerce-loop-product__title,
body .wpcu-product.rococo-card-aligned .wpcu-product__price,
body ul.products li.product.rococo-card-aligned .rococo-card-price {
    font-family: Baskerville, "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif !important;
    font-weight: 600 !important;
    font-style: normal !important;
    color: #222 !important;
    letter-spacing: .025em !important;
}
body .rococo-card-aligned .wpcu-product__price *,
body .rococo-card-aligned .rococo-card-price * {
    font-family: inherit !important;
    font-weight: 600 !important;
    font-style: normal !important;
}
body .rococo-card-aligned .wpcu-product__price ins,
body .rococo-card-aligned .wpcu-product__price ins *,
body .rococo-card-aligned .rococo-card-price ins,
body .rococo-card-aligned .rococo-card-price ins * {
    color: #222 !important;
    background: transparent !important;
    text-decoration: none !important;
}
body .rococo-card-aligned .wpcu-product__price del,
body .rococo-card-aligned .rococo-card-price del {
    color: #666 !important;
    opacity: 1 !important;
}
body .rococo-card-aligned .wpcu-product__price del *,
body .rococo-card-aligned .rococo-card-price del * { color: inherit !important; }
body .rococo-card-aligned .wpcu-product__price *,
body .rococo-card-aligned .rococo-card-price * { color: inherit !important; }

/* v0.2.62: room for Mincho descenders; avoid nested inline-block baselines. */
body .wpcu-product.rococo-card-aligned .wpcu-product__details .wpcu-product__price,
body ul.products li.product.rococo-card-aligned .astra-shop-summary-wrap > .rococo-card-price {
    height: 1.9em !important;
    min-height: 1.9em !important;
    line-height: 1.6 !important;
    padding-bottom: .3em !important;
    overflow: visible !important;
}
body .rococo-card-aligned .wpcu-product__price del,
body .rococo-card-aligned .wpcu-product__price ins,
body .rococo-card-aligned .rococo-card-price del,
body .rococo-card-aligned .rococo-card-price ins {
    display: inline !important;
    height: auto !important;
    line-height: inherit !important;
    vertical-align: baseline !important;
}
body .rococo-card-aligned .wpcu-product__price .amount,
body .rococo-card-aligned .wpcu-product__price bdi,
body .rococo-card-aligned .rococo-card-price .amount,
body .rococo-card-aligned .rococo-card-price bdi { display: inline !important; }
body .wpcu-product.rococo-card-aligned .wpcu-product__content {
    padding-bottom: 8px !important;
}
body .rococo-card-aligned .rococo-card-badge-slot .rococo-sale-pill { font-weight: 600 !important; }

/* v0.2.63: WANTED lives on a dark red background. */
body .rococo-wanted-carousel .wpcu-product.rococo-card-aligned .wpcu-product__title,
body .rococo-wanted-carousel .wpcu-product.rococo-card-aligned .wpcu-product__title a {
    color: #fff !important;
}
body .rococo-wanted-carousel .wpcu-product.rococo-card-aligned .wpcu-product__price,
body .rococo-wanted-carousel .wpcu-product.rococo-card-aligned .wpcu-product__price *,
body .rococo-wanted-carousel .rococo-card-aligned .rococo-wanted-price-label {
    color: #e6c76a !important;
}

/* v0.2.64: suppress stock labels only inside the WANTED archive list. */
body.tax-product_cat.term-wanted ul.products li.product .rococo-sold-out,
body.tax-product_cat.term-wanted ul.products li.product .rococo-soldout-price-label,
body.tax-product_cat.term-wanted ul.products li.product .ast-shop-product-out-of-stock,
body.tax-product_cat.term-wanted ul.products li.product .stock.out-of-stock {
    display: none !important;
}
