/* Covers Elementor's native mini-cart and Element Pack's replacement template. */
body.rpf-commerce-ui :is(.elementor-menu-cart__main,.widget_shopping_cart_content) {
	font-family:"RPF Vazirmatn",Tahoma,sans-serif!important;
	font-size:14px!important;
	line-height:1.8!important;
	color:#183746;
	box-sizing:border-box;
}
body.rpf-commerce-ui .elementor-menu-cart__main { padding:24px!important;max-width:100vw!important;background:#fff!important; }
body.rpf-commerce-ui .widget_shopping_cart_content * { box-sizing:border-box; }
body.rpf-commerce-ui .widget_shopping_cart_content :is(.bdt-mini-cart-product-item,.elementor-menu-cart__product) {
	display:grid!important;
	grid-template-columns:72px minmax(0,1fr) 28px!important;
	gap:12px!important;
	align-items:center!important;
	padding:16px 0!important;
	border:0!important;
	border-bottom:1px solid #e6ebef!important;
	min-width:0;
}
body.rpf-commerce-ui .widget_shopping_cart_content :is(.bdt-mini-cart-product-thumbnail,.elementor-menu-cart__product-image) { grid-column:1!important;grid-row:1 / span 2!important;min-width:0; }
body.rpf-commerce-ui .widget_shopping_cart_content :is(.bdt-mini-cart-product-thumbnail,.elementor-menu-cart__product-image) img {
	display:block!important;
	width:72px!important;
	height:72px!important;
	object-fit:contain;
	border-radius:8px;
	background:#f8fafb;
}
body.rpf-commerce-ui .widget_shopping_cart_content .bdt-mini-cart-product-item>.bdt-margin-small-left { margin:0!important;min-width:0;grid-column:2;grid-row:1 / span 2; }
body.rpf-commerce-ui .widget_shopping_cart_content :is(.bdt-mini-cart-product-name,.elementor-menu-cart__product-name) { grid-column:2!important;min-width:0;line-height:1.8!important;font-size:14px!important; }
body.rpf-commerce-ui .widget_shopping_cart_content :is(.bdt-mini-cart-product-name,.elementor-menu-cart__product-name) a { color:#183746!important;font-weight:600!important;text-decoration:none!important;overflow-wrap:break-word; }
body.rpf-commerce-ui .widget_shopping_cart_content :is(.bdt-mini-cart-product-price,.elementor-menu-cart__product-price) { grid-column:2!important;font-size:13px!important;color:#637585!important; }
body.rpf-commerce-ui .widget_shopping_cart_content :is(.bdt-mini-cart-product-remove,.elementor-menu-cart__product-remove) { grid-column:3!important;grid-row:1 / span 2!important;position:static!important; }
body.rpf-commerce-ui .widget_shopping_cart_content :is(.bdt-mini-cart-product-remove,.elementor-menu-cart__product-remove) a { display:flex;align-items:center;justify-content:center;width:28px;height:32px;color:#637585!important; }
body.rpf-commerce-ui .widget_shopping_cart_content .woocommerce-Price-amount { white-space:nowrap!important;font-size:14px!important;font-variant-numeric:tabular-nums; }
body.rpf-commerce-ui .widget_shopping_cart_content :is(.bdt-mini-cart-subtotal,.elementor-menu-cart__subtotal,.woocommerce-mini-cart__total) {
	display:flex!important;
	justify-content:space-between!important;
	align-items:center!important;
	gap:12px!important;
	padding:18px 0!important;
	margin:0!important;
	border:0!important;
}
body.rpf-commerce-ui .widget_shopping_cart_content :is(.bdt-mini-cart-footer-buttons,.elementor-menu-cart__footer-buttons,.woocommerce-mini-cart__buttons) {
	display:grid!important;
	grid-template-columns:repeat(2,minmax(0,1fr))!important;
	gap:10px!important;
	margin:0!important;
}
body.rpf-commerce-ui .widget_shopping_cart_content :is(.bdt-mini-cart-footer-buttons,.elementor-menu-cart__footer-buttons,.woocommerce-mini-cart__buttons)>a {
	display:flex!important;
	align-items:center!important;
	justify-content:center!important;
	width:100%!important;
	min-height:46px!important;
	padding:10px 8px!important;
	margin:0!important;
	border:1px solid #dce3e8!important;
	border-radius:8px!important;
	box-shadow:none!important;
	background:#fff!important;
	color:#183746!important;
	font-family:inherit!important;
	font-size:13px!important;
	font-weight:600!important;
	line-height:1.7!important;
	text-decoration:none!important;
	text-align:center!important;
}
body.rpf-commerce-ui .widget_shopping_cart_content :is(.bdt-mini-cart-footer-buttons,.elementor-menu-cart__footer-buttons,.woocommerce-mini-cart__buttons)>:is(.bdt-button-checkout,.elementor-button--checkout,.checkout) { background:#183746!important;border-color:#183746!important;color:#fff!important; }
/* Element Pack may color the nested span independently of its link. */
body.rpf-commerce-ui .widget_shopping_cart_content :is(.bdt-mini-cart-footer-buttons,.elementor-menu-cart__footer-buttons,.woocommerce-mini-cart__buttons)>a :is(span,i,svg) { color:inherit!important;-webkit-text-fill-color:currentColor!important; }
body.rpf-commerce-ui .elementor-menu-cart__main .widget_shopping_cart_content :is(.bdt-mini-cart-footer-buttons,.elementor-menu-cart__footer-buttons,.woocommerce-mini-cart__buttons)>:is(.bdt-button-checkout,.elementor-button--checkout,.checkout) :is(span,i,svg) { color:#fff!important;-webkit-text-fill-color:#fff!important; }
body.rpf-commerce-ui .widget_shopping_cart_content :is(.bdt-mini-cart-footer-buttons,.elementor-menu-cart__footer-buttons,.woocommerce-mini-cart__buttons)>a { opacity:1!important;text-shadow:none!important;-webkit-text-fill-color:currentColor!important; }
body.rpf-commerce-ui .widget_shopping_cart_content :is(.bdt-mini-cart-footer-buttons,.elementor-menu-cart__footer-buttons,.woocommerce-mini-cart__buttons)>a:hover { background:#f3f6f8!important;color:#183746!important; }
body.rpf-commerce-ui .widget_shopping_cart_content :is(.bdt-mini-cart-footer-buttons,.elementor-menu-cart__footer-buttons,.woocommerce-mini-cart__buttons)>:is(.bdt-button-checkout,.elementor-button--checkout,.checkout):is(:hover,:focus,:active) { background:#102c3a!important;border-color:#102c3a!important;color:#fff!important; }
body.rpf-commerce-ui .widget_shopping_cart_content a:focus-visible { outline:2px solid #b97a51;outline-offset:3px; }
@media(max-width:480px) {
	body.rpf-commerce-ui .elementor-menu-cart__main { padding:18px!important; }
	body.rpf-commerce-ui .widget_shopping_cart_content :is(.bdt-mini-cart-product-item,.elementor-menu-cart__product) { grid-template-columns:60px minmax(0,1fr) 26px!important;gap:10px!important; }
	body.rpf-commerce-ui .widget_shopping_cart_content :is(.bdt-mini-cart-product-thumbnail,.elementor-menu-cart__product-image) img { width:60px!important;height:60px!important; }
}
