/* Kleyl recommendation blocks: product page "Upgrade Your Choice" (upsell) + "You May Also Like" (related),
   cart "Complete the Look" (cross-sell). Added 2026-11-23. Loaded from design/head/includes. */
:root {
    --kr-ink: #1a1a1a; --kr-muted: #6b6b6b; --kr-line: #e6e2dc; --kr-accent: #8b6b3d;
    --kr-brand: #774a2b; --kr-photo: #f6f3ef;
    --kr-serif: "Libre Caslon Text", "Playfair Display", Georgia, "Times New Roman", serif;
}

/* ---------- 1. Layout: the main column is a flex box; let the carousels take the full row ---------- */
body.catalog-product-view .column.main > .widgetplus.upsell,
body.catalog-product-view .column.main > .widgetplus.related {
    flex: 0 0 100%; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box;
    margin: 56px 0 0; padding: 44px 0 0; border-top: 1px solid var(--kr-line);
}
body.catalog-product-view .widgetplus.upsell .category-products,
body.catalog-product-view .widgetplus.related .category-products { position: relative; }
body.checkout-cart-index .lhs-cart-crosssell { margin: 56px 0 24px; padding: 44px 0 0; border-top: 1px solid var(--kr-line); }
body.checkout-cart-index .lhs-cart-crosssell > .container { position: relative; }

/* ---------- 2. Headings: small eyebrow + serif title ---------- */
body .widgetplus.upsell .main-heading,
body .widgetplus.related .main-heading,
body .lhs-cart-crosssell .main-heading,
body .lhs-cart-crosssell .block-title { margin: 0 0 26px; padding: 0 120px 0 0; text-align: left; border: 0; }
body .widgetplus.upsell .main-heading .heading-title,
body .widgetplus.related .main-heading .heading-title,
body .lhs-cart-crosssell .heading-title { margin: 0; padding: 0; text-align: left; line-height: 1.15; border: 0; }
body .widgetplus.upsell .main-heading .heading-title::before,
body .widgetplus.upsell .main-heading .heading-title::after,
body .widgetplus.related .main-heading .heading-title::before,
body .widgetplus.related .main-heading .heading-title::after,
body .lhs-cart-crosssell .heading-title::before,
body .lhs-cart-crosssell .heading-title::after { display: none !important; }
body .widgetplus.upsell .main-heading .heading-title > span,
body .widgetplus.related .main-heading .heading-title > span,
body .lhs-cart-crosssell .heading-title > span { display: block; font-size: 0 !important; line-height: 0; padding: 0; background: none; }
body .widgetplus.upsell .main-heading .heading-title > span::before,
body .widgetplus.related .main-heading .heading-title > span::before,
body .lhs-cart-crosssell .heading-title > span::before {
    display: block; margin: 0 0 10px;
    font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1.3;
    letter-spacing: .14em; text-transform: uppercase; color: var(--kr-accent);
}
body .widgetplus.upsell .main-heading .heading-title > span::after,
body .widgetplus.related .main-heading .heading-title > span::after,
body .lhs-cart-crosssell .heading-title > span::after {
    display: block;
    font-family: var(--kr-serif); font-size: 30px; font-weight: 400; line-height: 1.2;
    letter-spacing: 0; text-transform: none; color: var(--kr-ink);
}
body .widgetplus.upsell .main-heading .heading-title > span::before { content: "Premium alternatives"; }
body .widgetplus.upsell .main-heading .heading-title > span::after { content: "Upgrade Your Choice"; }
body .widgetplus.related .main-heading .heading-title > span::before { content: "Handpicked for you"; }
body .widgetplus.related .main-heading .heading-title > span::after { content: "You May Also Like"; }
body .lhs-cart-crosssell .heading-title > span::before { content: "Pairs well with your order"; }
body .lhs-cart-crosssell .heading-title > span::after { content: "Complete the Look"; }
body:lang(ar) .widgetplus.upsell .main-heading .heading-title > span::before { content: "بدائل فاخرة"; letter-spacing: 0; }
body:lang(ar) .widgetplus.upsell .main-heading .heading-title > span::after { content: "ارتقِ باختيارك"; }
body:lang(ar) .widgetplus.related .main-heading .heading-title > span::before { content: "مختارة لك"; letter-spacing: 0; }
body:lang(ar) .widgetplus.related .main-heading .heading-title > span::after { content: "قد يعجبك أيضاً"; }
body:lang(ar) .lhs-cart-crosssell .heading-title > span::before { content: "يتناسب مع طلبك"; letter-spacing: 0; }
body:lang(ar) .lhs-cart-crosssell .heading-title > span::after { content: "أكمل الإطلالة"; }
[dir="rtl"] body .widgetplus.upsell .main-heading, [dir="rtl"] body .widgetplus.related .main-heading,
[dir="rtl"] body .lhs-cart-crosssell .main-heading, [dir="rtl"] body .lhs-cart-crosssell .block-title { padding: 0 0 0 120px; text-align: right; }
[dir="rtl"] body .widgetplus .main-heading .heading-title, [dir="rtl"] body .lhs-cart-crosssell .heading-title { text-align: right; }

/* ---------- 3. Product cards ---------- */
body .widgetplus.upsell .product-item,
body .widgetplus.related .product-item { height: 100%; padding: 0; }
body .widgetplus.upsell .owl-stage,
body .widgetplus.related .owl-stage { display: flex; padding: 6px 0 14px; }
body .widgetplus.upsell .owl-item,
body .widgetplus.related .owl-item { display: flex; }
body .widgetplus.upsell .product-item-info,
body .widgetplus.related .product-item-info,
body .lhs-cart-crosssell .product-item-info {
    position: relative; display: flex; flex-direction: column; width: 100%; height: 100%;
    margin: 0; padding: 0; background: #fff; box-sizing: border-box;
    border: 1px solid var(--kr-line); border-radius: 14px; overflow: hidden; box-shadow: none;
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
body .widgetplus.upsell .product-item-info:hover,
body .widgetplus.related .product-item-info:hover,
body .lhs-cart-crosssell .product-item-info:hover {
    transform: translateY(-3px); border-color: #d9d2c7; box-shadow: 0 14px 30px rgba(26, 26, 26, .08);
}
/* photo */
body .widgetplus.upsell .product-show,
body .widgetplus.related .product-show,
body .lhs-cart-crosssell .product-show { position: relative; margin: 0; background: var(--kr-photo); }
body .widgetplus.upsell .product-item-photo,
body .widgetplus.related .product-item-photo,
body .lhs-cart-crosssell .product-item-photo { display: block; padding: 16px; }
body .widgetplus.upsell .product-image-container,
body .widgetplus.related .product-image-container,
body .lhs-cart-crosssell .product-image-container { display: block; width: 100% !important; max-width: 100%; }
body .widgetplus.upsell .product-image-wrapper,
body .widgetplus.related .product-image-wrapper,
body .lhs-cart-crosssell .product-image-wrapper { display: block; height: 0; padding-bottom: 100% !important; background: transparent; overflow: hidden; }
body .widgetplus.upsell .product-image-wrapper img,
body .widgetplus.related .product-image-wrapper img,
body .lhs-cart-crosssell .product-image-wrapper img {
    position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none;
    object-fit: contain; mix-blend-mode: multiply; transition: transform .45s ease;
}
body .widgetplus.upsell .product-image-wrapper picture,
body .widgetplus.related .product-image-wrapper picture,
body .lhs-cart-crosssell .product-image-wrapper picture { position: absolute; inset: 0; width: 100%; height: 100%; }
body .widgetplus.upsell .product-item-info:hover .product-image-wrapper img,
body .widgetplus.related .product-item-info:hover .product-image-wrapper img,
body .lhs-cart-crosssell .product-item-info:hover .product-image-wrapper img { transform: scale(1.04); }
/* hover/second image layers some themes add */
body .widgetplus.upsell .product-show .hover-photo,
body .widgetplus.related .product-show .hover-photo { display: none !important; }
/* sale badge */
body .widgetplus.upsell .discount-percent,
body .widgetplus.related .discount-percent,
body .lhs-cart-crosssell .discount-percent {
    position: absolute; top: 12px; left: 12px; z-index: 2; right: auto;
    padding: 4px 10px; border-radius: 999px; background: var(--kr-brand); color: #fff;
    font-size: 11px; font-weight: 700; line-height: 1.4; letter-spacing: .02em;
}
/* wishlist: small round button top-right */
body .widgetplus.upsell .btn-wishlist,
body .widgetplus.related .btn-wishlist,
body .lhs-cart-crosssell .btn-wishlist { position: absolute; top: 10px; right: 10px; z-index: 3; width: auto; padding: 0; flex: none; }
body .widgetplus.upsell .btn-wishlist .action.towishlist,
body .widgetplus.related .btn-wishlist .action.towishlist,
body .lhs-cart-crosssell .btn-wishlist .action.towishlist {
    display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: 0; padding: 0;
    border: 0; border-radius: 50%; background: #fff; color: var(--kr-ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); font-size: 15px;
}
body .widgetplus.upsell .btn-wishlist .action.towishlist:hover,
body .widgetplus.related .btn-wishlist .action.towishlist:hover,
body .lhs-cart-crosssell .btn-wishlist .action.towishlist:hover { color: var(--kr-brand); }
/* details */
body .widgetplus.upsell .product-item-details,
body .widgetplus.related .product-item-details,
body .lhs-cart-crosssell .product-item-details {
    display: flex; flex-direction: column; flex: 1 1 auto; gap: 8px; margin: 0; padding: 14px 16px 16px; text-align: left;
}
body .widgetplus.upsell .swatches-list,
body .widgetplus.related .swatches-list,
body .widgetplus.upsell .product-reviews-summary .reviews-actions,
body .widgetplus.related .product-reviews-summary .reviews-actions { display: none !important; }
body .widgetplus.upsell .product-reviews-summary,
body .widgetplus.related .product-reviews-summary { order: 3; margin: 0; }
body .widgetplus.upsell .product-item-name,
body .widgetplus.related .product-item-name,
body .lhs-cart-crosssell .product-item-name { order: 1; margin: 0; min-height: 2.8em; font-size: 15px; font-weight: 500; line-height: 1.4; text-transform: none; }
body .widgetplus.upsell .product-item-name a,
body .widgetplus.related .product-item-name a,
body .lhs-cart-crosssell .product-item-name a {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    color: var(--kr-ink); text-decoration: none; white-space: normal;
}
body .widgetplus.upsell .product-item-name a:hover,
body .widgetplus.related .product-item-name a:hover,
body .lhs-cart-crosssell .product-item-name a:hover { color: var(--kr-brand); }
body .widgetplus.upsell .price-wrap,
body .widgetplus.related .price-wrap { order: 2; margin: 0; }
body .widgetplus.upsell .price-box,
body .widgetplus.related .price-box,
body .lhs-cart-crosssell .price-box { order: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0; }
body .widgetplus.upsell .price-box .price,
body .widgetplus.related .price-box .price,
body .lhs-cart-crosssell .price-box .price { font-size: 16px; font-weight: 700; color: var(--kr-ink); }
body .widgetplus.upsell .price-box .old-price .price,
body .widgetplus.related .price-box .old-price .price,
body .lhs-cart-crosssell .price-box .old-price .price { font-size: 13px; font-weight: 400; color: var(--kr-muted); text-decoration: line-through; }
body .widgetplus.upsell .price-box .special-price .price,
body .widgetplus.related .price-box .special-price .price,
body .lhs-cart-crosssell .price-box .special-price .price { color: var(--kr-brand); }
body .widgetplus.upsell .special-price .price-label,
body .widgetplus.related .special-price .price-label,
body .lhs-cart-crosssell .special-price .price-label,
body .widgetplus.upsell .old-price .price-label,
body .widgetplus.related .old-price .price-label,
body .lhs-cart-crosssell .old-price .price-label { display: none; }
body .widgetplus.upsell .normal-price .price-label,
body .widgetplus.related .normal-price .price-label { margin-right: 4px; font-size: 12px; font-weight: 400; color: var(--kr-muted); }

/* add to cart: product page (button sits in .product-btn under the photo) */
body .widgetplus.upsell .product-btn,
body .widgetplus.related .product-btn {
    position: absolute; left: 12px; right: 12px; bottom: 12px; top: auto; z-index: 3;
    margin: 0; padding: 0; background: none; opacity: 0; visibility: visible;
    transform: translateY(8px); transition: opacity .25s ease, transform .25s ease;
}
body .widgetplus.upsell .product-item-info:hover .product-btn,
body .widgetplus.related .product-item-info:hover .product-btn,
body .widgetplus.upsell .product-item-info:focus-within .product-btn,
body .widgetplus.related .product-item-info:focus-within .product-btn { opacity: 1; transform: none; }
body .widgetplus.upsell .product-btn .row,
body .widgetplus.related .product-btn .row { margin: 0; }
body .widgetplus.upsell .product-btn .col,
body .widgetplus.related .product-btn .col { padding: 0; }
body .widgetplus.upsell .product-btn .action.tocart,
body .widgetplus.related .product-btn .action.tocart,
body .lhs-cart-crosssell .action.tocart {
    display: block; width: 100%; height: auto; min-height: 0; margin: 0; padding: 11px 16px;
    border: 0; border-radius: 999px; background: var(--kr-ink); color: #fff; box-shadow: none;
    font-size: 13px; font-weight: 600; line-height: 1.2; letter-spacing: .04em; text-transform: uppercase; text-align: center;
    transition: background .2s ease;
}
body .widgetplus.upsell .product-btn .action.tocart:hover,
body .widgetplus.related .product-btn .action.tocart:hover,
body .lhs-cart-crosssell .action.tocart:hover { background: var(--kr-brand); color: #fff; }
@media (hover: none) {
    body .widgetplus.upsell .product-btn,
    body .widgetplus.related .product-btn { opacity: 1; transform: none; }
}
/* cart cross-sell button sits under the price (moved there by cart/header.phtml) */
body .lhs-cart-crosssell .lhs-crosssell-tocart { order: 3; margin-top: auto; padding-top: 6px; }
body .lhs-cart-crosssell .product-btn .row { display: none; }

/* ---------- 4. Carousel arrows (owl on product page, scroll row in cart) ---------- */
body .widgetplus.upsell .owl-nav,
body .widgetplus.related .owl-nav {
    position: absolute; top: -66px; right: 0; left: auto; display: flex !important; gap: 8px; margin: 0; transform: none;
}
body .widgetplus.upsell .owl-nav.disabled,
body .widgetplus.related .owl-nav.disabled { display: none !important; }
body .widgetplus.upsell .owl-nav button.owl-prev,
body .widgetplus.upsell .owl-nav button.owl-next,
body .widgetplus.related .owl-nav button.owl-prev,
body .widgetplus.related .owl-nav button.owl-next,
body .kr-nav button {
    position: static; display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; margin: 0; padding: 0; opacity: 1; transform: none;
    border: 1px solid var(--kr-line) !important; border-radius: 50%; background: #fff !important;
    color: var(--kr-ink) !important; font-size: 15px; line-height: 1; cursor: pointer; box-shadow: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
body .widgetplus.upsell .owl-nav button:hover,
body .widgetplus.related .owl-nav button:hover,
body .kr-nav button:hover:not(:disabled) { background: var(--kr-ink) !important; border-color: var(--kr-ink) !important; color: #fff !important; }
body .widgetplus.upsell .owl-nav button.disabled,
body .widgetplus.related .owl-nav button.disabled,
body .kr-nav button:disabled { opacity: .35; cursor: default; }
body .widgetplus.upsell .owl-dots,
body .widgetplus.related .owl-dots { display: none !important; }
[dir="rtl"] body .widgetplus.upsell .owl-nav, [dir="rtl"] body .widgetplus.related .owl-nav { right: auto; left: 0; }

/* cart cross-sell: grid -> horizontal snap carousel */
body .lhs-cart-crosssell .products-grid { margin: 0; }
body .lhs-cart-crosssell .products-grid .product-items {
    display: flex !important; flex-wrap: nowrap; gap: 20px; margin: 0 !important; padding: 6px 2px 18px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    scrollbar-width: none; list-style: none;
}
body .lhs-cart-crosssell .products-grid .product-items::-webkit-scrollbar { display: none; }
body .lhs-cart-crosssell .products-grid .product-items > .product-item {
    flex: 0 0 calc((100% - 60px) / 4); width: auto; max-width: none; margin: 0 !important; padding: 0 !important; scroll-snap-align: start;
}
body .kr-nav { position: absolute; top: 0; right: 15px; display: flex; gap: 8px; z-index: 2; }
[dir="rtl"] body .kr-nav { right: auto; left: 15px; }
body .kr-nav[hidden] { display: none; }

/* ---------- 5. Responsive ---------- */
@media (max-width: 991px) {
    body .lhs-cart-crosssell .products-grid .product-items > .product-item { flex-basis: calc((100% - 40px) / 3); }
}
@media (max-width: 767px) {
    body.catalog-product-view .column.main > .widgetplus.upsell,
    body.catalog-product-view .column.main > .widgetplus.related,
    body.checkout-cart-index .lhs-cart-crosssell { margin-top: 40px; padding-top: 32px; }
    body .widgetplus.upsell .main-heading .heading-title > span::after,
    body .widgetplus.related .main-heading .heading-title > span::after,
    body .lhs-cart-crosssell .heading-title > span::after { font-size: 24px; }
    body .widgetplus.upsell .main-heading, body .widgetplus.related .main-heading,
    body .lhs-cart-crosssell .main-heading, body .lhs-cart-crosssell .block-title { padding-right: 96px; margin-bottom: 20px; }
    body .widgetplus.upsell .owl-nav, body .widgetplus.related .owl-nav { top: -58px; }
    body .widgetplus.upsell .owl-nav button.owl-prev, body .widgetplus.upsell .owl-nav button.owl-next,
    body .widgetplus.related .owl-nav button.owl-prev, body .widgetplus.related .owl-nav button.owl-next,
    body .kr-nav button { width: 38px; height: 38px; }
    body .widgetplus.upsell .product-item-details, body .widgetplus.related .product-item-details,
    body .lhs-cart-crosssell .product-item-details { padding: 12px 12px 14px; }
    body .widgetplus.upsell .product-item-name, body .widgetplus.related .product-item-name,
    body .lhs-cart-crosssell .product-item-name { font-size: 14px; }
    body .lhs-cart-crosssell .products-grid .product-items { gap: 14px; }
    body .lhs-cart-crosssell .products-grid .product-items > .product-item { flex-basis: 62%; }
    body .lhs-cart-crosssell .action.tocart, body .widgetplus .product-btn .action.tocart { padding: 10px 12px; font-size: 12px; }
}

/* ---------- 6. Overrides of older site-wide rules ---------- */
/* identity transform on the wrapper isolates the photo; without it the white photo background blends into the beige panel */
body .widgetplus.upsell .product-image-wrapper,
body .widgetplus.related .product-image-wrapper,
body .lhs-cart-crosssell .product-image-wrapper { transform: none !important; }
body .widgetplus.upsell .product-item-name a,
body .widgetplus.related .product-item-name a,
body .lhs-cart-crosssell .product-item-name a { text-transform: none !important; font-weight: 500; letter-spacing: 0; }
body .widgetplus.upsell .product-btn .action.tocart,
body .widgetplus.related .product-btn .action.tocart,
body .lhs-cart-crosssell .action.tocart,
body .widgetplus.upsell .product-btn .action.tocart span,
body .widgetplus.related .product-btn .action.tocart span,
body .lhs-cart-crosssell .action.tocart span { color: #fff !important; }
body .widgetplus.upsell .product-show,
body .widgetplus.related .product-show,
body .lhs-cart-crosssell .product-show { background: #fff; border-bottom: 1px solid var(--kr-line); }
body .widgetplus.upsell .product-btn .action.tocart,
body .widgetplus.related .product-btn .action.tocart,
body .lhs-cart-crosssell .action.tocart { width: 100% !important; border-radius: 999px !important; background: var(--kr-ink) !important; }
body .widgetplus.upsell .product-btn .action.tocart:hover,
body .widgetplus.related .product-btn .action.tocart:hover,
body .lhs-cart-crosssell .action.tocart:hover { background: var(--kr-brand) !important; }
body .lhs-cart-crosssell .lhs-crosssell-tocart form { width: 100%; margin: 0; }
body .lhs-cart-crosssell .products-grid .product-items > .product-item { display: flex; }
body .lhs-cart-crosssell .lhs-crosssell-tocart { width: 100%; margin-top: auto !important; }
body .lhs-cart-crosssell .product-item-details > .price-box { margin-bottom: 6px; }
body .widgetplus.upsell .product-item-info,
body .widgetplus.related .product-item-info,
body .lhs-cart-crosssell .product-item-info { display: flex !important; flex-direction: column !important; }
body .widgetplus.upsell .product-item-details,
body .widgetplus.related .product-item-details,
body .lhs-cart-crosssell .product-item-details { flex: 1 1 auto !important; align-items: stretch; }
body .lhs-cart-crosssell .lhs-crosssell-tocart,
body .lhs-cart-crosssell .lhs-crosssell-tocart form { width: 100% !important; max-width: none; align-self: stretch; }
body .lhs-cart-crosssell .product-item-inner:empty { display: none; }
body .widgetplus.upsell .owl-item > .product-item,
body .widgetplus.related .owl-item > .product-item { flex: 1 1 auto; width: 100%; min-width: 0; display: flex; }
body .widgetplus.upsell .owl-item > .product-item,
body .widgetplus.related .owl-item > .product-item { max-width: none !important; width: 100% !important; float: none !important; display: flex !important; margin: 0 !important; }
body .widgetplus.upsell .product-item-name,
body .widgetplus.related .product-item-name,
body .lhs-cart-crosssell .product-item-name { height: auto !important; max-height: none !important; overflow: visible !important; min-height: 2.8em; line-height: 1.4 !important; }
body .widgetplus.upsell .product-item-name a,
body .widgetplus.related .product-item-name a,
body .lhs-cart-crosssell .product-item-name a { line-height: 1.4 !important; max-height: 2.8em; height: auto !important; }
body .widgetplus.upsell .product-btn .row,
body .widgetplus.related .product-btn .row { display: block !important; width: 100%; margin: 0 !important; }
body .widgetplus.upsell .product-btn .row > .col,
body .widgetplus.related .product-btn .row > .col { width: 100%; max-width: 100%; padding: 0 !important; margin: 0 !important; }
body .widgetplus.upsell .product-btn form,
body .widgetplus.related .product-btn form { width: 100%; margin: 0; }
body .widgetplus.upsell .btn-wishlist .action.towishlist,
body .widgetplus.related .btn-wishlist .action.towishlist,
body .lhs-cart-crosssell .btn-wishlist .action.towishlist { border-radius: 50% !important; }
body .widgetplus.upsell .product-show .product-btn,
body .widgetplus.related .product-show .product-btn { width: auto !important; left: 12px !important; right: 12px !important; }
body .widgetplus.upsell .product-show .product-btn .row > .col,
body .widgetplus.related .product-show .product-btn .row > .col { padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; flex: none; }
@media (max-width: 767px), (hover: none) {
    body .widgetplus.upsell .product-show .product-btn .row,
    body .widgetplus.related .product-show .product-btn .row { display: none !important; }
    body .widgetplus.upsell .product-show .product-btn,
    body .widgetplus.related .product-show .product-btn { opacity: 1; transform: none; }
}
@media (max-width: 767px) {
    body .lhs-cart-crosssell .action.tocart { white-space: nowrap; }
}

/* ---------- 7. Arabic store (no dir attribute on <html>; lang="ar") ---------- */
html[lang^="ar"] body .widgetplus.upsell .main-heading,
html[lang^="ar"] body .widgetplus.related .main-heading,
html[lang^="ar"] body .lhs-cart-crosssell .main-heading,
html[lang^="ar"] body .lhs-cart-crosssell .block-title { padding: 0 0 0 120px; text-align: right; }
html[lang^="ar"] body .widgetplus .main-heading .heading-title,
html[lang^="ar"] body .lhs-cart-crosssell .heading-title { text-align: right; }
html[lang^="ar"] body .widgetplus.upsell .owl-nav,
html[lang^="ar"] body .widgetplus.related .owl-nav { right: auto; left: 0; }
html[lang^="ar"] body .kr-nav { right: auto; left: 15px; }
html[lang^="ar"] body .widgetplus.upsell .product-item-details,
html[lang^="ar"] body .widgetplus.related .product-item-details,
html[lang^="ar"] body .lhs-cart-crosssell .product-item-details { text-align: right; }
html[lang^="ar"] body .widgetplus.upsell .discount-percent,
html[lang^="ar"] body .widgetplus.related .discount-percent,
html[lang^="ar"] body .lhs-cart-crosssell .discount-percent { left: auto; right: 12px; }
html[lang^="ar"] body .widgetplus.upsell .btn-wishlist,
html[lang^="ar"] body .widgetplus.related .btn-wishlist,
html[lang^="ar"] body .lhs-cart-crosssell .btn-wishlist { right: auto; left: 10px; }
html[lang^="ar"] body .widgetplus .main-heading .heading-title > span::after,
html[lang^="ar"] body .lhs-cart-crosssell .heading-title > span::after { font-family: inherit; font-weight: 600; }
@media (max-width: 767px) {
    html[lang^="ar"] body .widgetplus.upsell .main-heading, html[lang^="ar"] body .widgetplus.related .main-heading,
    html[lang^="ar"] body .lhs-cart-crosssell .main-heading, html[lang^="ar"] body .lhs-cart-crosssell .block-title { padding: 0 0 0 96px; }
}

/* ---------- 8. Equal name height so prices line up (2026-11-24) ----------
   The link inside the name has its own font size; reserve exactly two of its lines. */
body .widgetplus.upsell .product-item-name,
body .widgetplus.related .product-item-name,
body .lhs-cart-crosssell .product-item-name { min-height: 0 !important; height: auto !important; }
body .widgetplus.upsell .product-item-name a,
body .widgetplus.related .product-item-name a,
body .lhs-cart-crosssell .product-item-name a {
    line-height: 1.4 !important; height: 2.8em !important; max-height: 2.8em !important;
    display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
