/* Catalog finish. Keep Alan's native forms, links, wishlist and view switching.
   The form owns the single rounded surface: Alan otherwise gives it a square
   border outside the rounded .as-product. Original image files are untouched. */
[data-eb-theme="1"] #products_grid .oe_product_cart {margin-bottom: 24px;}
[data-eb-theme="1"] #products_grid .oe_product_cart > form {
    --eb-card-radius: 24px;
    position: relative;
    isolation: isolate;
    height: 100%;
    min-height: 100%;
    border: 1px solid rgba(240, 222, 179, .27);
    border-radius: var(--eb-card-radius);
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .015) 48%), #1b1e23;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -1px 0 rgba(225, 184, 101, .08), 0 14px 32px rgba(0, 0, 0, .23);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
[data-eb-theme="1"] #products_grid .oe_product_cart .as-product {
    height: 100%;
    margin: 0;
    border: 0;
    border-radius: inherit;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
}
[data-eb-theme="1"] #products_grid .oe_product_cart .asp-inner {
    height: 100%;
    min-height: 100%;
    border: 0;
    border-radius: inherit;
    background: transparent;
}
[data-eb-theme="1"] #products_grid .oe_product_cart:not(.oe_list) .asp-inner {
    display: flex;
    flex-direction: column;
}
[data-eb-theme="1"] #products_grid .oe_product_cart .as-product .pro-img {
    flex-shrink: 0;
    overflow: hidden;
    background: #171b20;
    border-radius: 0;
}
[data-eb-theme="1"] #products_grid .oe_product_cart .as-product .pro-img img {
    display: block;
    /* An SDR photographic grade inspired by the approved HDR cover. */
    filter: brightness(1.065) contrast(1.075) saturate(1.14);
}
[data-eb-theme="1"] #products_grid .oe_product_cart .as-product .pro-info {
    flex-grow: 1;
    padding: 22px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, .09);
    background: radial-gradient(ellipse at 0 0, rgba(229, 193, 119, .07), transparent 75%);
    color: #eee9dd;
}
[data-eb-theme="1"] #products_grid .oe_product_cart .as-product .pro-info h3 {
    margin-bottom: 12px;
    line-height: 1.5;
}
[data-eb-theme="1"] #products_grid .oe_product_cart .as-product .pro-info h3 a {
    display: block;
    color: #fff7e8;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}
[data-eb-theme="1"] #products_grid .oe_product_cart .as-product .product_price {
    color: #f5d894;
    font-size: 18px;
    line-height: 1.5;
}
[data-eb-theme="1"] #products_grid .oe_product_cart .as-product .product_price b {
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}
[data-eb-theme="1"] #products_grid .oe_product_cart .as-product .prod_rating i {color: #b5ac98;}
[data-eb-theme="1"] #products_grid .oe_product_cart .as-product .pro-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 14px;
}
[data-eb-theme="1"] #products_grid .oe_product_cart .as-product .product-tag {
    max-width: 100%;
    margin: 0;
    padding: 5px 10px;
    border: 1px solid rgba(224, 190, 121, .28);
    border-radius: 999px;
    background: rgba(220, 184, 108, .09);
    color: #efdbb0;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: .035em;
    white-space: normal;
}
[data-eb-theme="1"] #products_grid .oe_product_cart .as-product .product-tag::after {content: none;}
[data-eb-theme="1"] #products_grid .oe_product_cart .as-product .o_add_wishlist {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    line-height: 40px;
    border: 1px solid rgba(255, 242, 207, .4);
    background: rgba(15, 20, 26, .68);
    color: #ffe4a3;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .17), 0 4px 15px rgba(0, 0, 0, .16);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
[data-eb-theme="1"] #products_grid .oe_product_cart .as-product .o_add_wishlist.disabled {opacity: .6;}
[data-eb-theme="1"] #products_grid .oe_product_cart .as-product .pro-action {
    background: rgba(19, 24, 31, .74);
    border: 0;
    border-top: 1px solid rgba(239, 215, 166, .24);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
[data-eb-theme="1"] #products_grid .oe_product_cart .as-product .pro-action .btn {
    border-radius: 12px !important;
    border: 1px solid rgba(239, 215, 166, .3);
    background: rgba(255, 255, 255, .07);
    color: #ffe4a3;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}
[data-eb-theme="1"] #products_grid .oe_product_cart.oe_list .as-product .pro-action {
    background: transparent;
    border: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
[data-eb-theme="1"] #products_grid .oe_product_cart > form:focus-within {
    border-color: #e7c985;
    box-shadow: 0 0 0 2px rgba(231, 201, 133, .24), 0 14px 32px rgba(0, 0, 0, .24);
}
[data-eb-theme="1"] #products_grid .oe_product_cart .as-product a:focus-visible {
    outline: 2px solid #f7d894;
    outline-offset: -3px;
}
[data-eb-theme="1"] #products_grid .oe_product_cart.oe_list .pro-info {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, .1);
}
@supports ((backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px))) {
    [data-eb-theme="1"] #products_grid .oe_product_cart > form {
        background: linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .025) 48%), rgba(24, 29, 35, .72);
        -webkit-backdrop-filter: blur(16px) saturate(125%);
        backdrop-filter: blur(16px) saturate(125%);
    }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    [data-eb-theme="1"] #products_grid .oe_product_cart > form:hover {
        transform: translateY(-4px);
        border-color: rgba(247, 213, 145, .64);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 18px 38px rgba(0, 0, 0, .3), 0 0 22px rgba(221, 182, 96, .08);
    }
}
@media (max-width: 575px) {
    [data-eb-theme="1"] #products_grid .oe_product_cart .as-product .pro-info {padding: 20px 18px;}
    [data-eb-theme="1"] #products_grid .oe_product_cart.oe_list .asp-inner {display: block;}
    [data-eb-theme="1"] #products_grid .oe_product_cart.oe_list .asp-inner .pro-img,
    [data-eb-theme="1"] #products_grid .oe_product_cart.oe_list .asp-inner .pro-info {max-width: 100%;}
    [data-eb-theme="1"] #products_grid .oe_product_cart.oe_list .pro-info {border-left: 0; border-top: 1px solid rgba(255, 255, 255, .09);}
}
@media (prefers-reduced-transparency: reduce) {
    [data-eb-theme="1"] #products_grid .oe_product_cart > form {background: #20252b; -webkit-backdrop-filter: none; backdrop-filter: none;}
    [data-eb-theme="1"] #products_grid .oe_product_cart .as-product .o_add_wishlist {background: #171d24; -webkit-backdrop-filter: none; backdrop-filter: none;}
}
@media (forced-colors: active) {
    [data-eb-theme="1"] #products_grid .oe_product_cart > form {border-color: CanvasText; background: Canvas; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;}
    [data-eb-theme="1"] #products_grid .oe_product_cart .as-product .pro-img img {filter: none;}
    [data-eb-theme="1"] #products_grid .oe_product_cart .as-product .pro-info,
    [data-eb-theme="1"] #products_grid .oe_product_cart .as-product .pro-info h3 a,
    [data-eb-theme="1"] #products_grid .oe_product_cart .as-product .product_price,
    [data-eb-theme="1"] #products_grid .oe_product_cart .as-product .product-tag {background: Canvas; color: CanvasText;}
}
