/* Bookland — uniform product cover presentation across desktop/mobile search,
   mini cart / side cart, cart page and quick checkout.
   Does not change layouts, thumbnail sources, AJAX or calculations. */

/* Header mini cart and slide-out cart (desktop + mobile) */
.ronixa-header-mini-cart-item img.cart-item-image,
.ronixa-header-mini-cart-item .cart-item-image,
.ronixa-side-cart .ronixa-header-mini-cart-item img,
.bookland-mini-cart-info + img.cart-item-image {
  border-radius: 8px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}
/* Restore original compact dimensions; the previous trial used 78 x 105. */
.ronixa-header-mini-cart-item img.cart-item-image {
  width: 62px !important;
  height: 82px !important;
}

/* AJAX search: header desktop dropdown, mobile search sheet, other search layouts */
img.bookland-live-thumb,
img.bookland-mobile-result-thumb,
.bookland-result-image img,
.ronixa-mobile-nav-01.mobile-nav img.bookland-mobile-result-thumb,
.ronixa-mobile-nav-01.mobile-nav .bookland-result-image img {
  border-radius: 8px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

/* Full cart page (desktop table + mobile product rows) */
#checkout-cart .cart-product-table tbody td:first-child img,
#checkout-cart .cart-product-table .cart-image-col img,
#checkout-cart .cart-product-table img[src*="cache/"],
#checkout-cart .cart-product-image img {
  border-radius: 8px !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* One-page checkout: preserve existing width / height / responsive layout */
#d_quickcheckout.bookland-ronixa-checkout .qc-cart .qc-image img,
#d_quickcheckout .qc-cart .qc-image img,
#d_quickcheckout .qc-cart .qc-image a img {
  border-radius: 8px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

/* 2026-11-01: rounded product-cover clipping across all cart/search views. */
.ronixa-header-mini-cart-item > span:first-child > a,
.ronixa-header-mini-cart-item > span:first-child > a > img,
.ronixa-header-mini-cart-item img.cart-item-image,
.ronixa-header-shopping-cart-content img.cart-item-image,
#checkout-cart .cart-product-table tbody td:first-child a,
#checkout-cart .cart-product-table tbody td:first-child img,
#d_quickcheckout .qc-cart .qc-image a,
#d_quickcheckout .qc-cart .qc-image img,
.bookland-result-image img,
.bookland-result-image a,
img.bookland-live-thumb,
img.bookland-mobile-result-thumb {
  border-radius:8px!important;
}
.ronixa-header-mini-cart-item img.cart-item-image,
#checkout-cart .cart-product-table tbody td:first-child img,
#d_quickcheckout .qc-cart .qc-image img,
img.bookland-live-thumb,
img.bookland-mobile-result-thumb {
  object-fit:contain!important;
  object-position:center!important;
}
/* Clip the actual image element, not the whole product card. */
.ronixa-header-mini-cart-item > span:first-child > a,
.bookland-result-image a {
  display:inline-block;
  overflow:hidden;
  vertical-align:top;
}

/* BOOKLAND COVER STYLE V4: same rounded visual treatment in cart, checkout, all search views. */
.ronixa-header-mini-cart-item img.cart-item-image{width:74px!important;height:100px!important;max-width:74px!important;border-radius:8px!important;object-fit:contain!important;object-position:center!important;}
.ronixa-header-mini-cart-item > span:first-child > a{width:74px!important;height:100px!important;display:block!important;overflow:hidden!important;border-radius:8px!important;}
#checkout-cart .cart-product-table img,#checkout-cart .cart-product-image img,#d_quickcheckout .qc-cart .qc-image img,.bookland-result-image img,img.bookland-live-thumb,img.bookland-mobile-result-thumb{border-radius:8px!important;object-fit:contain!important;object-position:center!important;}
