/* ONE TV – cart page */
body.oh-cart .elementor-widget-wd_products,
body.oh-cart .elementor-widget-wd_title,
body.oh-cart .cart_totals > .cart-totals-inner > h2,
body.oh-cart table.shop_table.cart thead { display: none !important; }
body.oh-cart .wd-page-title { padding-top: 14px !important; padding-bottom: 14px !important; }

/* Items as compact cards */
body.oh-cart table.shop_table.cart,
body.oh-cart table.shop_table.cart tbody { display: block !important; border: 0 !important; margin: 0 !important; background: none !important; }
body.oh-cart table.shop_table.cart tr.cart_item { display: grid !important; grid-template-columns: 64px minmax(0, 1fr) auto 30px; grid-template-areas: "img name sub x"; align-items: center; gap: 10px; background: #1b1a22; border: 1px solid #2a2833 !important; border-radius: 16px; padding: 10px !important; margin: 0 0 10px !important; }
body.oh-cart table.shop_table.cart tr.cart_item > td { display: block !important; padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important; text-align: right !important; width: auto !important; }
body.oh-cart table.shop_table.cart tr.cart_item > td::before { display: none !important; }
body.oh-cart td.product-thumbnail { grid-area: img; }
body.oh-cart td.product-thumbnail img { width: 64px !important; height: 64px !important; object-fit: cover; border-radius: 12px; margin: 0 !important; max-width: none !important; }
body.oh-cart td.product-name { grid-area: name; min-width: 0; }
body.oh-cart td.product-name > a { display: block; color: #fff !important; font-weight: 800; font-size: 14px; line-height: 1.5; text-decoration: none !important; }
body.oh-cart td.product-name .variation { display: flex !important; flex-wrap: wrap; gap: 4px; margin: 4px 0 0 !important; padding: 0 !important; list-style: none !important; font-size: 11.5px; color: #b9b5c8; }
body.oh-cart td.product-name .variation li, body.oh-cart td.product-name .variation p { margin: 0 !important; display: inline; }
body.oh-cart td.product-name .variation li { background: #16151b; border: 1px solid #2e2c38; border-radius: 999px; padding: 2px 8px; }
body.oh-cart td.product-subtotal { grid-area: sub; white-space: nowrap; }
body.oh-cart td.product-subtotal .amount { color: #4ade80 !important; font-weight: 900; font-size: 15.5px; }
body.oh-cart td.product-remove { grid-area: x; }
body.oh-cart td.product-remove a.remove { display: grid !important; place-items: center; width: 30px !important; height: 30px !important; border-radius: 9px; background: #2a1414 !important; color: #fca5a5 !important; font-size: 18px !important; border: 1px solid #5b2a2a; }
body.oh-cart table.shop_table.cart tr.cart_item > td.product-price,
body.oh-cart table.shop_table.cart tr.cart_item > td.product-quantity { display: none !important; }
body.oh-cart table.shop_table.cart tr.cart_item > td.product-thumbnail { width: 64px !important; overflow: hidden; }
body.oh-cart td.product-remove a.remove::before, body.oh-cart td.product-remove a.remove::after { display: none !important; }

/* Coupon: hidden behind a small link */
body.oh-cart tr.wd-cart-action-row, body.oh-cart tr.wd-cart-action-row > td { display: block !important; padding: 0 !important; border: 0 !important; background: none !important; }
body.oh-cart .cart-actions { display: block !important; padding: 0 !important; }
body.oh-cart .oh-coupon-link { background: none; border: 0; padding: 4px 2px; color: #b9a8ff; font-weight: 700; font-size: 13.5px; cursor: pointer; }
body.oh-cart .coupon { display: none !important; gap: 8px; margin: 6px 0 4px !important; }
body.oh-cart .oh-coupon-open .coupon { display: flex !important; }
body.oh-cart .coupon input.input-text { flex: 1; min-height: 42px; border-radius: 12px !important; background: #16151b !important; border: 1px solid #2e2c38 !important; color: #fff !important; }
body.oh-cart .coupon button { min-height: 42px; border-radius: 12px !important; background: #6d4eec !important; color: #fff !important; padding: 0 16px !important; }

/* «قد يعجبك أيضاً» */
.oh-more { margin: 18px 0 6px; }
.oh-more__h { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.oh-more__row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; scroll-snap-type: x proximity; }
.oh-more__row::-webkit-scrollbar { display: none; }
.oh-more .oh-pc { flex: none; width: 140px; height: auto; scroll-snap-align: start; }

/* Totals */
body.oh-cart .cart_totals { background: #1b1a22 !important; border: 1px solid #2a2833 !important; border-radius: 16px !important; padding: 12px 14px !important; }
body.oh-cart .cart_totals table.shop_table { margin: 0 !important; border: 0 !important; }
body.oh-cart .cart_totals table.shop_table th, body.oh-cart .cart_totals table.shop_table td { border: 0 !important; padding: 6px 0 !important; background: none !important; }
body.oh-cart .cart_totals .order-total .amount { color: #4ade80 !important; font-size: 19px !important; font-weight: 900 !important; }
body.oh-cart .checkout-button { min-height: 52px !important; border-radius: 14px !important; background: #22c55e !important; color: #052e16 !important; font-size: 16px !important; font-weight: 900 !important; display: flex !important; align-items: center; justify-content: center; }

/* Sticky bar (phones) */
#oh-cartbar { display: none; }
@media (max-width: 767px) {
	#oh-cartbar { position: fixed; left: 0; right: 0; z-index: 9990; display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #18171e; border-top: 1px solid #2a2833; box-shadow: 0 -6px 18px rgba(0, 0, 0, .35); direction: rtl; }
	#oh-cartbar .oh-cb__t { flex: none; line-height: 1.25; color: #b9b5c8; font-size: 11px; }
	#oh-cartbar .oh-cb__t b { display: block; font-size: 17px; font-weight: 900; color: #4ade80; }
	#oh-cartbar a { flex: 1; min-height: 46px; border-radius: 14px; background: #22c55e; color: #052e16 !important; font-size: 15px; font-weight: 900; display: flex; align-items: center; justify-content: center; text-decoration: none !important; box-shadow: 0 4px 14px rgba(34, 197, 94, .3); }
	body.oh-cart.oh-has-cartbar { padding-bottom: 72px; }
	body.oh-cart.oh-has-cartbar .wc-proceed-to-checkout { display: none !important; }
}
