/* Product price and a clear two-row purchase hierarchy. */
.single-product .elementor-widget-wd_single_product_price { width:100%; }
.single-product .elementor-widget-wd_single_product_price .price { display:flex; flex-wrap:wrap; align-items:baseline; gap:10px 16px; margin:0; font-size:32px!important; font-weight:700; line-height:1.3; color:#36596c!important; }
.single-product .elementor-widget-wd_single_product_price .price ins { order:-1; text-decoration:none; color:#36596c!important; }
.single-product .elementor-widget-wd_single_product_price .price del { font-size:20px; font-weight:400; color:#8a969b; opacity:1; }
.dnm-product-saving { display:flex; align-items:center; gap:5px; margin-top:10px; font-size:14px; color:#36596c; }
.dnm-product-saving strong { font-weight:700; }
.single-product .elementor-widget-wd_single_product_add_to_cart form.cart:not(.variations_form), .single-product .elementor-widget-wd_single_product_add_to_cart .woocommerce-variation-add-to-cart { display:flex!important; flex-wrap:wrap!important; gap:12px!important; align-items:stretch!important; }
.single-product .elementor-widget-wd_single_product_add_to_cart form.cart .quantity { order:0; flex:0 0 116px; display:flex; margin:0!important; height:52px; }
.single-product .elementor-widget-wd_single_product_add_to_cart form.cart .quantity input { height:52px!important; min-width:0; }
.single-product .elementor-widget-wd_single_product_add_to_cart form.cart .quantity input.qty { width:42px; border-radius:0!important; padding:0; }
.single-product .elementor-widget-wd_single_product_add_to_cart form.cart .quantity input.plus, .single-product .elementor-widget-wd_single_product_add_to_cart form.cart .quantity input.minus { width:37px; padding:0; }
.single-product .elementor-widget-wd_single_product_add_to_cart form.cart .single_add_to_cart_button { order:1; flex:1 1 calc(100% - 128px); min-width:0; margin:0!important; min-height:52px; box-shadow:none!important; }
.single-product .elementor-widget-wd_single_product_add_to_cart form.cart .wd-buy-now-btn { order:2; flex:0 0 100%; width:100%; margin:0!important; min-height:52px; border:1px solid #36596c!important; background:#fff!important; color:#36596c!important; box-shadow:none!important; }
.single-product .elementor-widget-wd_single_product_add_to_cart form.cart .wd-buy-now-btn:hover, .single-product .elementor-widget-wd_single_product_add_to_cart form.cart .wd-buy-now-btn:focus-visible { background:#36596c!important; color:#fff!important; transform:none; }
.dnm-trust-carousel { margin-top:8px; padding:14px 0; border-top:1px solid #e3e9ec; border-bottom:1px solid #e3e9ec; width:100%; }
.dnm-trust-carousel .info-box-wrapper { height:100%; }
.dnm-trust-carousel .wd-info-box { padding:8px 4px!important; margin:0!important; text-align:center; display:flex; flex-direction:column; align-items:center; }
.dnm-trust-carousel .box-icon-wrapper { margin:0 0 8px!important; }
.dnm-trust-carousel .info-box-icon { width:56px!important; height:56px!important; }
.dnm-trust-carousel .info-box-icon img { width:56px!important; height:56px!important; }
.dnm-trust-carousel .info-box-title { margin:0 0 4px; font-size:13px!important; line-height:1.5; font-weight:700; color:#263f4d; }
.dnm-trust-carousel .info-box-content { font-size:11px; line-height:1.6; color:#74838c; }
.dnm-trust-carousel .info-box-content p { margin:0; }
.dnm-trust-carousel .info-box-subtitle, .dnm-trust-carousel .info-btn-wrapper { display:none; }
/* A visible spinner for every commerce action, including custom loop cards. */
.dnm-loading, .add_to_cart_button.loading, .single_add_to_cart_button.loading { position:relative!important; pointer-events:none; color:transparent!important; text-shadow:none!important; }
.dnm-loading > *, .wd-product .wd-add-btn > a.loading > * { opacity:0!important; }
.dnm-loading::after, .wd-product .wd-add-btn > a.loading::after, .single_add_to_cart_button.loading::after { content:''!important; display:block!important; position:absolute!important; top:50%!important; left:50%!important; width:20px!important; height:20px!important; margin:-10px 0 0 -10px!important; border:2px solid rgba(255,255,255,.35)!important; border-top-color:#fff!important; border-radius:50%!important; background:none!important; animation:dnm-spin .65s linear infinite!important; transform:none; }
.single-product .wd-buy-now-btn.dnm-loading::after { border-color:#cbd7dc!important; border-top-color:#36596c!important; }
.single-product .wd-buy-now-btn.dnm-loading:hover::after { border-color:rgba(255,255,255,.35)!important; border-top-color:#fff!important; }
@keyframes dnm-spin { to { transform:rotate(360deg); } }
@media(max-width:767px) { .single-product .elementor-widget-wd_single_product_price .price { font-size:28px!important; } .single-product .elementor-widget-wd_single_product_price .price del { font-size:18px; } .dnm-trust-carousel .info-box-title { font-size:14px!important; } }
@media(prefers-reduced-motion:reduce) { .dnm-loading::after { animation-duration:1.5s!important; } }

.dnm-trust-carousel .info-svg-wrapper { width:56px!important; height:56px!important; }
.dnm-trust-carousel .info-svg-wrapper img { min-height:0!important; max-height:56px!important; object-fit:contain!important; }

/* Keep the fixed purchase bar compact; the two-row layout belongs to the product panel. */
.single-product .wd-sticky-btn form.cart { display:flex; flex-wrap:nowrap; align-items:center; gap:8px; margin:0; }
.single-product .wd-sticky-btn .quantity { margin:0; flex-shrink:0; }
.single-product .wd-sticky-btn .single_add_to_cart_button, .single-product .wd-sticky-btn .wd-buy-now-btn { flex:0 0 auto; width:auto; white-space:nowrap; margin:0; min-height:42px; padding:10px 18px; box-shadow:none!important; }
.single-product .wd-sticky-btn .wd-buy-now-btn { border:1px solid #36596c!important; background:#fff!important; color:#36596c!important; }
.single-product .wd-sticky-btn .wd-buy-now-btn:hover { background:#36596c!important; color:#fff!important; }
.single-product .wd-sticky-btn-info { min-width:0; }
.single-product .wd-sticky-btn .wd-entities-title { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
@media (max-width:768px) { .single-product .wd-sticky-btn .single_add_to_cart_button { flex:1 1 auto; width:100%; } }

/* A quiet brand saving label and a unified quantity control. */
.dnm-product-saving { display:inline-flex; width:fit-content; gap:5px; padding:6px 12px; border:1px solid #d7e2e7; border-radius:8px; background:#edf3f5; color:#36596c; font-size:13px; line-height:1.5; font-weight:500; }
.dnm-product-saving::before { content:'↓'; margin-inline-end:3px; font-size:15px; font-weight:700; }
.dnm-product-saving strong { font-weight:800; }
.single-product .elementor-widget-wd_single_product_add_to_cart form.cart .quantity,
.single-product .wd-sticky-btn form.cart .quantity { overflow:hidden; gap:0; border:1px solid #d5dfe4; border-radius:12px; background:#fff; box-shadow:none; }
.single-product .elementor-widget-wd_single_product_add_to_cart form.cart .quantity input,
.single-product .wd-sticky-btn form.cart .quantity input { margin:0!important; border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; color:#36596c!important; }
.single-product .elementor-widget-wd_single_product_add_to_cart form.cart .quantity input.plus,
.single-product .elementor-widget-wd_single_product_add_to_cart form.cart .quantity input.minus,
.single-product .wd-sticky-btn form.cart .quantity input.plus,
.single-product .wd-sticky-btn form.cart .quantity input.minus { font-size:20px!important; font-weight:500!important; line-height:1; transition:background-color .15s ease; }
.single-product .elementor-widget-wd_single_product_add_to_cart form.cart .quantity input.qty,
.single-product .wd-sticky-btn form.cart .quantity input.qty { border-inline:1px solid #e5ebee!important; font-size:16px; font-weight:600; }
.single-product .elementor-widget-wd_single_product_add_to_cart form.cart .quantity input.plus:hover,
.single-product .elementor-widget-wd_single_product_add_to_cart form.cart .quantity input.minus:hover,
.single-product .wd-sticky-btn form.cart .quantity input.plus:hover,
.single-product .wd-sticky-btn form.cart .quantity input.minus:hover { background:#edf3f5!important; }
.single-product form.cart .quantity input:focus-visible { outline:2px solid #36596c; outline-offset:-3px; }

/* High-contrast sale percentage badge across product galleries and grids. */
.product-labels .product-label.onsale, .onsale { background:#36596c!important; color:#fff!important; border:1px solid #36596c!important; box-shadow:none!important; }

/* Complementary products use the dishesnmore palette. */
.single-product .cuw-fbt-products{border-color:#dce5e9!important;box-shadow:none;border-radius:20px;background:#fff!important}
.single-product .cuw-fbt-products .cuw-template-title{color:#263f4d!important;font-size:clamp(22px,2vw,28px)}
.single-product .cuw-fbt-products .cuw-product-row{background:#f5f8f8;border-color:#e0e7e9}
.single-product .cuw-fbt-products .cuw-product-title,.single-product .cuw-fbt-products .cuw-product-title a{color:#263f4d}
.single-product .cuw-fbt-products .cuw-product-price{color:#36596c}
.single-product .cuw-fbt-products .cuw-product-checkbox{accent-color:#36596c;width:22px;height:22px;cursor:pointer}
.single-product .cuw-fbt-products .cuw-buy-section{background:#edf3f5;color:#263f4d}
.single-product .cuw-fbt-products .cuw-total-price,.single-product .cuw-fbt-products .cuw-total-price ins{color:#36596c}
.single-product .cuw-fbt-products .cuw-template-cta-button{background:#36596c!important;border:1px solid #36596c;color:#fff!important;min-width:0}
.single-product .cuw-fbt-products .cuw-template-cta-button:hover{background:#263f4d!important}
.single-product .cuw-fbt-products .cuw-product-title{overflow-wrap:anywhere}
.single-product .cuw-fbt-products .cuw-actions>div:last-child{width: min(100%,280px)}
@media(max-width:767px){
.single-product .cuw-fbt-products{padding:16px!important}
.single-product .cuw-fbt-products .cuw-product-wrapper>div:nth-child(2)>div:first-child{flex-direction:row;text-align:start;gap:10px;padding-inline-start:30px}
.single-product .cuw-fbt-products .cuw-product-image{width:76px!important;height:76px!important;flex:0 0 76px;padding:0}
.single-product .cuw-fbt-products .cuw-product-title{min-height:0;font-size:13px;margin:0!important}
.single-product .cuw-fbt-products .cuw-product-price{align-self:flex-end;font-size:16px}
.single-product .cuw-fbt-products .cuw-actions{flex-direction:column;align-items:stretch;gap:12px}
.single-product .cuw-fbt-products .cuw-actions>div:last-child,.single-product .cuw-fbt-products .cuw-template-cta-button{width:100%;max-width:none!important}
}

/* Header count stays legible for single and multiple digits. */
.whb-general-header .wd-header-cart .wd-tools-count{display:flex!important;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 5px;border:2px solid #fff;border-radius:999px;background:#76919c;color:#fff;font-size:11px;font-weight:700;line-height:1;box-shadow:0 2px 5px #263f4d20;top:-6px}
/* One connected control for cart, drawer and checkout quantities. */
:is(.cart-widget-side,.woocommerce-cart-form,.woocommerce-checkout,.widget_shopping_cart) div.quantity{display:inline-flex;align-items:stretch;gap:0;overflow:hidden;width:114px;height:40px;border:1px solid #d5dfe4;border-radius:10px;background:#fff;box-shadow:none;margin-inline:0}
:is(.cart-widget-side,.woocommerce-cart-form,.woocommerce-checkout,.widget_shopping_cart) div.quantity input{height:38px!important;min-height:38px!important;min-width:0;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#36596c!important;box-shadow:none!important;padding:0!important}
:is(.cart-widget-side,.woocommerce-cart-form,.woocommerce-checkout,.widget_shopping_cart) div.quantity :is(input.plus,input.minus){width:36px!important;flex:0 0 36px;font-size:20px!important;font-weight:500!important;cursor:pointer}
:is(.cart-widget-side,.woocommerce-cart-form,.woocommerce-checkout,.widget_shopping_cart) div.quantity input.qty{width:40px!important;flex:1;border-inline:1px solid #e5ebee!important;font-size:15px;font-weight:600;text-align:center;appearance:textfield}
:is(.cart-widget-side,.woocommerce-cart-form,.woocommerce-checkout,.widget_shopping_cart) div.quantity input.qty::-webkit-inner-spin-button{appearance:none}
:is(.cart-widget-side,.woocommerce-cart-form,.woocommerce-checkout,.widget_shopping_cart) div.quantity :is(input.plus,input.minus):hover{background:#edf3f5!important}
:is(.cart-widget-side,.woocommerce-cart-form,.woocommerce-checkout,.widget_shopping_cart) div.quantity input:focus-visible{outline:2px solid #36596c;outline-offset:-3px}

/* Checkout rows: stable image, details and remove columns at every width. */
.woocommerce-checkout-review-order-table .wd-checkout-prod{
 display:grid!important;grid-template-columns:64px minmax(0,1fr) 24px;grid-template-areas:"image details remove";gap:12px;align-items:start;width:100%;padding:18px 0!important;text-align:start!important;
}
.woocommerce-checkout-review-order-table .wd-checkout-prod-img{grid-area:image;width:64px!important;min-width:0!important;margin:0!important;float:none!important}
.woocommerce-checkout-review-order-table .wd-checkout-prod-img img{display:block;width:64px!important;height:64px!important;object-fit:cover;border-radius:12px}
.woocommerce-checkout-review-order-table .wd-checkout-remove-btn-wrapp{grid-area:remove;margin:0!important;align-self:start}
.woocommerce-checkout-review-order-table .wd-checkout-remove-btn{display:grid;place-items:center;width:24px;height:24px;color:#76919c;border-radius:50%;background:#f0f4f5}
.woocommerce-checkout-review-order-table .wd-checkout-prod-cont{grid-area:details;display:flex!important;flex-direction:column;align-items:stretch;gap:10px;min-width:0;width:100%;text-align:start!important;margin:0!important}
.woocommerce-checkout-review-order-table .wd-checkout-prod-title{display:flex!important;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;width:100%;margin:0!important}
.woocommerce-checkout-review-order-table .cart-product-label-link,.woocommerce-checkout-review-order-table .cart-product-label{display:block!important;width:100%;margin:0!important;float:none!important;font-size:14px;font-weight:600;line-height:1.5;color:#263f4d;overflow-wrap:anywhere;text-align:start}
.woocommerce-checkout-review-order-table .wd-checkout-prod-title div.quantity{flex:none!important;width:114px!important;height:38px!important;margin:0!important;float:none!important;border-radius:9px}
.woocommerce-checkout-review-order-table .wd-checkout-prod-title div.quantity input{height:36px!important;min-height:36px!important}
.woocommerce-checkout-review-order-table .wd-checkout-prod-total{display:block!important;width:100%;padding:0!important;margin:0!important;text-align:start!important;font-size:15px;font-weight:700;color:#36596c;white-space:nowrap}
.woocommerce-checkout-review-order-table .wd-checkout-prod-total .amount{color:#36596c}
@media(max-width:380px){.woocommerce-checkout-review-order-table .wd-checkout-prod{grid-template-columns:52px minmax(0,1fr) 22px;gap:8px}.woocommerce-checkout-review-order-table .wd-checkout-prod-img,.woocommerce-checkout-review-order-table .wd-checkout-prod-img img{width:52px!important;height:52px!important}}
/* Keep purchase feedback readable and in the original button footprint. */
.add_to_cart_button.dnm-loading, .single_add_to_cart_button.dnm-loading { color:#fff!important; }
.add_to_cart_button.dnm-loading > *, .single_add_to_cart_button.dnm-loading > * { opacity:1!important; }
.add_to_cart_button.dnm-loading::after, .single_add_to_cart_button.dnm-loading::after { display:none!important; }
.dnm-cart-toast { pointer-events:auto; flex-wrap:wrap; justify-content:center; }
.dnm-cart-toast a, .dnm-cart-toast button { color:#263f4d; background:#fff; border:0; border-radius:6px; padding:6px 12px; min-height:36px; font-size:13px; }
.whb-general-header .wd-cart-number { background:#fff!important; color:#263f4d!important; border:1px solid #263f4d; min-width:24px; height:24px; line-height:22px; font-weight:800; font-size:13px; }
.whb-general-header .wd-cart-number span { display:none; }
.dnm-price-instead { font-size:12px; font-weight:400; }
.price .dnm-product-saving, .elhout-product-card__price .dnm-product-saving { display:block; font-size:12px; padding:0; margin-top:4px; background:none; border:0; }
.price .dnm-product-saving::before, .elhout-product-card__price .dnm-product-saving::before { display:none; }
.woocommerce-ordering select { min-width:210px; border:1px solid #76919c; border-radius:8px; }

.woocommerce-ordering::before { content:'ترتيب المنتجات'; display:block; font-size:12px; font-weight:600; color:#263f4d; margin-bottom:5px; }
.dnm-cart-benefits { padding:16px; margin:12px 0; border:1px solid #dce4e7; border-radius:12px; background:#eef2f3; color:#263f4d; }
.dnm-cart-benefits p { margin:0 0 8px; }
.dnm-cart-benefits progress { width:100%; height:8px; accent-color:#36596c; }
.dnm-cart-benefits small { display:block; margin-top:6px; font-size:11px; }
/* Product cards and their purchase controls stay still throughout feedback. */
body .wd-product, body .wd-product:hover, body .product-grid-item:hover,
.elhout-product-card:hover, .elhout-product-card__button:hover,
.wd-product .wd-add-btn > a, .wd-product .wd-add-btn > a:hover,
.wd-product .wd-add-btn > a:active { transform:none!important; }

/* Fill the header wishlist heart while its native count is greater than zero. */
.wd-header-wishlist.dnm-wishlist-has-items .wd-tools-icon::before {
 content:''!important;
 display:block;
 width:30px;
 height:30px;
 background:#263f4d;
 -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-9-5.7-9-12a5 5 0 0 1 9-3 5 5 0 0 1 9 3c0 6.3-9 12-9 12Z'/%3E%3C/svg%3E") center/contain no-repeat;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-9-5.7-9-12a5 5 0 0 1 9-3 5 5 0 0 1 9 3c0 6.3-9 12-9 12Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Product-detail savings sit in their own badge below the price. */
.single-product .elementor-widget-wd_single_product_price .price,
.single-product .summary > .price { display:block; }
.single-product .elementor-widget-wd_single_product_price .dnm-product-saving,
.single-product .summary > .price .dnm-product-saving {
 display:flex;
 align-items:center;
 width:fit-content;
 gap:6px;
 margin-top:14px;
 padding:9px 14px;
 border:1px solid #d7e2e7;
 border-radius:12px;
 background:#edf3f5;
 color:#36596c;
 font-size:15px;
 line-height:1.5;
 font-weight:500;
}
.single-product .elementor-widget-wd_single_product_price .dnm-product-saving::before,
.single-product .summary > .price .dnm-product-saving::before {
 display:inline;
 content:'↓';
 margin-inline-end:3px;
 font-size:20px;
 font-weight:500;
}

/* White cart icon background with a distinct, readable quantity. */
.whb-general-header .wd-header-cart .wd-tools-icon {
 background:#fff!important;
 color:#263f4d!important;
 border:1px solid #d7e2e7;
}
.whb-general-header .wd-header-cart .wd-cart-number {
 background:#fff!important;
 color:#a74325!important;
 border:1px solid #e6c6bc;
 font-weight:800;
}

.whb-general-header .wd-header-cart .wd-cart-number { background:#36596C!important; color:#fff!important; border-color:#fff; }
.dnm-wishlist-popup { position:fixed; z-index:10000; width:360px; max-width:calc(100vw - 24px); padding:16px; border:1px solid #d7e2e7; border-radius:16px; background:#fff; color:#263f4d; box-shadow:0 12px 36px #263f4d24; direction:rtl; }
.dnm-wishlist-popup[hidden] { display:none; }
.dnm-wishlist-popup__head { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.dnm-wishlist-popup__head button { background:transparent; border:0; font-size:26px; color:#263f4d; padding:0 8px; }
.dnm-wishlist-popup__items { max-height:min(380px,50vh); overflow:auto; }
.dnm-wishlist-popup__item { display:flex; gap:12px; padding:12px 0; border-bottom:1px solid #edf3f5; color:#263f4d; }
.dnm-wishlist-popup__item img { width:64px; height:64px; object-fit:cover; border-radius:8px; }
.dnm-wishlist-popup__item strong { display:block; font-size:13px; line-height:1.5; }
.dnm-wishlist-popup__item .price { display:block; margin-top:4px; font-size:12px; }
.dnm-wishlist-popup__page { display:block; margin-top:14px; padding:10px; border-radius:8px; background:#36596c; color:#fff; text-align:center; font-weight:700; }
.dnm-wishlist-popup__page:hover { background:#263f4d; color:#fff; }

.dnm-wishlist-popup__item > span { flex:1; min-width:0; }
.dnm-wishlist-popup__item .dnm-product-saving { display:block; width:auto; padding:0; margin-top:4px; border:0; background:none; font-size:12px; }
.dnm-wishlist-popup__item .dnm-product-saving strong { display:inline; font-size:inherit; }
.dnm-wishlist-popup__item .dnm-product-saving::before { display:none; }

/* Product preview confirmation: desktop card and responsive mobile layout. */
.dnm-cart-toast.dnm-cart-toast--product {
 display:grid; grid-template-columns:minmax(0,1fr) 148px; align-items:stretch; gap:22px;
 width:560px; max-width:calc(100vw - 32px); padding:28px 24px 24px;
 inset-block-start:max(24px,env(safe-area-inset-top)); direction:inherit;
 border:1px solid #dce4e7; border-radius:20px; background:#fff; color:#263f4d;
 box-shadow:0 18px 60px rgba(38,63,77,.2); pointer-events:auto;
 max-height:calc(100dvh - 48px); overflow:auto; overscroll-behavior:contain;
}
body.admin-bar .dnm-cart-toast.dnm-cart-toast--product { inset-block-start:56px; }
.dnm-cart-toast.dnm-cart-toast--product[hidden] { display:none; }
.dnm-cart-toast--product .dnm-cart-toast__details { min-width:0; align-self:center; }
.dnm-cart-toast--product .dnm-cart-toast__title { display:flex; align-items:center; gap:10px; margin:0 0 12px; font-size:17px; line-height:1.5; }
.dnm-cart-toast--product .dnm-cart-toast__title strong { color:inherit; }
.dnm-cart-toast--product .dnm-cart-toast__title svg { width:32px; height:32px; flex:0 0 32px; }
.dnm-cart-toast--product .dnm-cart-toast__name { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; margin:0 0 8px; font-size:14px; line-height:1.65; color:#36596c; }
.dnm-cart-toast--product .dnm-cart-toast__price { margin:0 0 18px; font-size:17px; font-weight:700; line-height:1.5; color:#263f4d; }
.dnm-cart-toast--product .dnm-cart-toast__image { width:148px; height:100%; min-height:160px; max-height:220px; object-fit:cover; border-radius:12px; align-self:stretch; }
.dnm-cart-toast--product .dnm-cart-toast__actions { display:flex; flex-wrap:wrap; gap:8px; }
.dnm-cart-toast.dnm-cart-toast--product .dnm-cart-toast__actions > * { display:inline-flex; align-items:center; justify-content:center; flex:1 1 auto; min-height:44px; margin:0; padding:9px 13px; border:1px solid #bdcacf; border-radius:9px; font-size:13px; font-weight:600; line-height:1.4; text-decoration:none; text-align:center; }
.dnm-cart-toast.dnm-cart-toast--product .dnm-cart-toast__checkout { background:#263f4d; color:#fff; border-color:#263f4d; }
.dnm-cart-toast.dnm-cart-toast--product .dnm-cart-toast__checkout:hover { background:#36596c; }
.dnm-cart-toast.dnm-cart-toast--product .dnm-cart-toast__continue { background:#fff; color:#263f4d; }
.dnm-cart-toast.dnm-cart-toast--product .dnm-cart-toast__continue:hover { background:#eef2f3; }
.dnm-cart-toast.dnm-cart-toast--product .dnm-cart-toast__close { position:absolute; inset-block-start:3px; inset-inline-end:3px; display:grid; place-items:center; width:44px; height:44px; min-height:44px; margin:0; padding:0; border:0; border-radius:50%; background:transparent; color:#36596c; font-size:25px; line-height:1; }
.dnm-cart-toast--product :is(a,button):focus-visible { outline:2px solid #36596c; outline-offset:3px; }
.dnm-cart-toast.dnm-cart-toast--no-image { grid-template-columns:minmax(0,1fr); }
@media(max-width:600px) {
 .dnm-cart-toast.dnm-cart-toast--product { grid-template-columns:minmax(0,1fr) 84px; gap:14px; padding:32px 16px 18px; border-radius:16px; inset-block-start:max(12px,env(safe-area-inset-top)); }
 body.admin-bar .dnm-cart-toast.dnm-cart-toast--product { inset-block-start:58px; }
 .dnm-cart-toast--product .dnm-cart-toast__image { width:84px; min-height:110px; max-height:160px; }
 .dnm-cart-toast--product .dnm-cart-toast__title { font-size:15px; gap:7px; }
 .dnm-cart-toast--product .dnm-cart-toast__title svg { width:27px; height:27px; flex-basis:27px; }
 .dnm-cart-toast--product .dnm-cart-toast__name { font-size:12px; }
 .dnm-cart-toast--product .dnm-cart-toast__actions { flex-direction:column; }
 .dnm-cart-toast.dnm-cart-toast--no-image { grid-template-columns:minmax(0,1fr); }
}

/* Keep current and previous card prices close together. */
html body :is(.elhout-product-card, .product-grid-item, .wd-product, ul.products li.product) :is(.elhout-product-card__price, .price):has(> del):has(> ins) { grid-template-columns:max-content max-content!important; justify-content:start!important; column-gap:8px!important; }

/* Product card pricing, savings and rating alignment. */
html body .elhout-product-card .elhout-product-card__meta {
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 align-items:start;
 gap:8px 12px;
 min-height:0;
 margin-top:10px;
}
html body .elhout-product-card.elhout-product-card .elhout-product-card__meta .elhout-product-card__price {
 width:auto!important;
 min-width:0;
 direction:inherit!important;
 text-align:start!important;
 justify-content:start!important;
 align-items:baseline;
 row-gap:4px!important;
}
html body .elhout-product-card .elhout-product-card__meta .dnm-product-saving {
 direction:inherit;
 text-align:start;
 font-size:12px;
 line-height:1.6;
}
html body .elhout-product-card .elhout-product-card__rating {
 display:inline-flex;
 align-items:center;
 gap:3px;
 padding-block:3px;
 line-height:1.5;
 white-space:nowrap;
}
html body .elhout-product-card .elhout-product-card__button {
 margin-top:12px;
}
@media(max-width:380px) {
 html body .elhout-product-card .elhout-product-card__meta { gap:6px; }
}

/* Give narrow cards a separate rating line to avoid long-price overlap. */
@media(max-width:600px) {
 html body .elhout-product-card .elhout-product-card__meta { grid-template-columns:minmax(0,1fr); gap:4px; }
 html body .elhout-product-card .elhout-product-card__rating { justify-self:end; padding-block:0; }
}

/* Arabic cards: right-aligned prices with number followed by currency. */
html[dir="rtl"] body :is(.elhout-product-card, .product-grid-item, .wd-product, ul.products li.product) :is(.elhout-product-card__price, .price) {
 direction:rtl!important;
 text-align:right!important;
 justify-content:start!important;
}
html[dir="rtl"] body :is(.elhout-product-card, .product-grid-item, .wd-product, ul.products li.product) :is(.elhout-product-card__price, .price) .woocommerce-Price-amount {
 display:inline-block;
 direction:ltr!important;
 unicode-bidi:isolate;
 white-space:nowrap;
}
html[dir="rtl"] body :is(.elhout-product-card, .product-grid-item, .wd-product, ul.products li.product) :is(.elhout-product-card__price, .price) > .dnm-product-saving {
 direction:rtl!important;
 text-align:right!important;
}
