/*
 * El Naggar Checkout Pro — Revolution Slider navigation rail repair
 * Exact live target: Slider Revolution 6.7.58 / #rev_slider_4_1.
 * Goal: arrows remain INSIDE the El Naggar framed area, but OUTSIDE the image.
 */

.elementor-element-d03cc7c.xblue1x.fcp-rs-outer-enhanced,
.elementor-element-2130969.elementor-widget-slider_revolution.fcp-rs-outer-enhanced{
  --fcp-rs-rail: 64px;
  --fcp-rs-arrow: 42px;
  --fcp-rs-radius: 18px;
}

/* The RS wrapper becomes the positioning shell for our external controls. */
#rev_slider_4_1_wrapper.fcp-rs-shell{
  position: relative !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  padding-left: var(--fcp-rs-rail) !important;
  padding-right: var(--fcp-rs-rail) !important;
}

/*
 * Reserve side rails by keeping the image/module away from both edges.
 * This also neutralizes the existing page rule that uses max-width:80%,
 * margin-left:12% and transform:scale(.9), which makes navigation unstable.
 */
#rev_slider_4_1_wrapper.fcp-rs-shell > #rev_slider_4_1.fcp-rs-stage{
  position: relative !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  transform: none !important;
  box-sizing: border-box !important;
  border-radius: var(--fcp-rs-radius) !important;
  overflow: hidden !important;
}

/* Native Revolution arrows stay alive for JS but cannot cover the image. */
#rev_slider_4_1.fcp-rs-stage > rs-arrow.fcp-rs-native-arrow{
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* New jQuery proxy controls live in the reserved blue rails. */
#rev_slider_4_1_wrapper.fcp-rs-shell > button.fcp-rs-arrow{
  -webkit-appearance: none !important;
  appearance: none !important;
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: var(--fcp-rs-arrow) !important;
  height: var(--fcp-rs-arrow) !important;
  min-width: var(--fcp-rs-arrow) !important;
  min-height: var(--fcp-rs-arrow) !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 2px solid rgba(255,255,255,.94) !important;
  border-radius: 999px !important;
  background: #171717 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.18) !important;
  z-index: 1000 !important;
  cursor: pointer !important;
  opacity: 1 !important;
  visibility: visible !important;
  line-height: 1 !important;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease !important;
}

#rev_slider_4_1_wrapper.fcp-rs-shell > button.fcp-rs-prev{
  left: calc((var(--fcp-rs-rail) - var(--fcp-rs-arrow)) / 2) !important;
  right: auto !important;
}

#rev_slider_4_1_wrapper.fcp-rs-shell > button.fcp-rs-next{
  right: calc((var(--fcp-rs-rail) - var(--fcp-rs-arrow)) / 2) !important;
  left: auto !important;
}

#rev_slider_4_1_wrapper.fcp-rs-shell > button.fcp-rs-arrow:hover,
#rev_slider_4_1_wrapper.fcp-rs-shell > button.fcp-rs-arrow:focus-visible{
  background: #C9152A !important;
  border-color: #EE2E3F !important;
  box-shadow: 0 8px 24px rgba(201,21,42,.32) !important;
  transform: translateY(-50%) scale(1.07) !important;
  outline: none !important;
}

#rev_slider_4_1_wrapper.fcp-rs-shell > button.fcp-rs-arrow svg{
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  overflow: visible !important;
}

/* Keep the outer El Naggar frame visually clean. */
.elementor-element-d03cc7c.xblue1x.fcp-rs-outer-enhanced{
  overflow: hidden !important;
}

@media (max-width: 1024px){
  .elementor-element-d03cc7c.xblue1x.fcp-rs-outer-enhanced,
  .elementor-element-2130969.elementor-widget-slider_revolution.fcp-rs-outer-enhanced{
    --fcp-rs-rail: 54px;
    --fcp-rs-arrow: 38px;
  }
}

@media (max-width: 767px){
  .elementor-element-d03cc7c.xblue1x.fcp-rs-outer-enhanced,
  .elementor-element-2130969.elementor-widget-slider_revolution.fcp-rs-outer-enhanced{
    --fcp-rs-rail: 44px;
    --fcp-rs-arrow: 34px;
    --fcp-rs-radius: 14px;
  }

  #rev_slider_4_1_wrapper.fcp-rs-shell > button.fcp-rs-arrow svg{
    width: 17px !important;
    height: 17px !important;
  }
}


/* =========================================================
 * ELNAGGAR WooCommerce cart / mini-cart skin
 * Loaded through the same site-ui asset; no cart templates are replaced.
 * ========================================================= */
body.woocommerce-cart{--fcp-primary:#C9152A;--fcp-navy:#171717;--fcp-accent:#EE2E3F;--fcp-cart-bg:#F7F5F3;background:var(--fcp-cart-bg)!important;}
body.woocommerce-cart .woocommerce{max-width:1240px;margin:0 auto;padding:34px 22px 70px;font-family:Cairo,"Noto Sans Arabic",Montserrat,Arial,sans-serif;}
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals .cart_totals{background:#fff;border:1px solid #eadfdf;border-radius:16px;box-shadow:0 16px 44px rgba(53,24,27,.07);overflow:hidden;}
body.woocommerce-cart table.shop_table{margin:0!important;border:0!important;border-collapse:separate!important;border-spacing:0!important;background:#fff!important;}
body.woocommerce-cart table.shop_table th{padding:16px 14px!important;background:#171717!important;color:#fff!important;border:0!important;font-size:12px!important;font-weight:800!important;letter-spacing:.04em!important;text-transform:uppercase!important;}
body.woocommerce-cart table.shop_table td{padding:18px 14px!important;border-width:0 0 1px!important;border-color:#eee5e3!important;vertical-align:middle!important;color:#443a3a!important;}
body.woocommerce-cart table.shop_table .product-name a{color:#171717!important;font-weight:750!important;text-decoration:none!important;}
body.woocommerce-cart table.shop_table .product-thumbnail img{width:76px!important;height:88px!important;object-fit:cover!important;border-radius:10px!important;background:#f6f3f1!important;}
body.woocommerce-cart .quantity .qty{min-height:42px!important;border:1px solid #ddcfcc!important;border-radius:9px!important;background:#fff!important;color:#171717!important;}
body.woocommerce-cart .coupon{display:flex!important;gap:9px!important;align-items:center!important;}
body.woocommerce-cart .coupon .input-text{min-height:44px!important;border:1px solid #ddcfcc!important;border-radius:9px!important;padding:0 13px!important;}
body.woocommerce-cart button.button,body.woocommerce-cart a.button,body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{min-height:44px!important;border:0!important;border-radius:10px!important;background:#171717!important;color:#fff!important;font-weight:800!important;text-transform:none!important;box-shadow:none!important;}
body.woocommerce-cart button.button:hover,body.woocommerce-cart a.button:hover{background:#C9152A!important;color:#fff!important;}
body.woocommerce-cart .cart-collaterals{margin-top:24px!important;}
body.woocommerce-cart .cart-collaterals .cart_totals{padding:24px!important;}
body.woocommerce-cart .cart-collaterals .cart_totals h2{margin:0 0 18px!important;color:#171717!important;font-size:22px!important;}
body.woocommerce-cart .cart_totals .order-total th,body.woocommerce-cart .cart_totals .order-total td{color:#C9152A!important;font-size:18px!important;font-weight:900!important;}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{display:flex!important;align-items:center!important;justify-content:center!important;background:linear-gradient(135deg,#C9152A,#EE2E3F)!important;min-height:54px!important;font-size:15px!important;}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{filter:saturate(1.06)!important;transform:translateY(-1px)!important;}

/* WooCommerce Blocks cart */
body.woocommerce-cart .wc-block-cart{gap:24px!important;}
body.woocommerce-cart .wc-block-components-sidebar,body.woocommerce-cart .wc-block-cart-items{background:#fff;border:1px solid #eadfdf;border-radius:16px;padding:20px;box-shadow:0 16px 44px rgba(53,24,27,.06);}
body.woocommerce-cart .wc-block-components-button:not(.is-link){border-radius:10px!important;background:linear-gradient(135deg,#C9152A,#EE2E3F)!important;color:#fff!important;font-weight:800!important;}

/* Side cart / mini cart - selectors cover classic WooCommerce and common theme drawers. */
.widget_shopping_cart,.woocommerce-mini-cart, .cart-widget-side, .wd-side-hidden.wd-opened .widget_shopping_cart{font-family:Cairo,"Noto Sans Arabic",Montserrat,Arial,sans-serif;}
.widget_shopping_cart .woocommerce-mini-cart-item,.woocommerce-mini-cart .woocommerce-mini-cart-item{border-bottom:1px solid #eee5e3!important;padding-top:13px!important;padding-bottom:13px!important;}
.widget_shopping_cart .woocommerce-mini-cart-item a:not(.remove),.woocommerce-mini-cart .woocommerce-mini-cart-item a:not(.remove){color:#171717!important;font-weight:700!important;}
.widget_shopping_cart .woocommerce-mini-cart__total,.woocommerce-mini-cart .woocommerce-mini-cart__total{border-top:0!important;color:#171717!important;font-weight:800!important;}
.widget_shopping_cart .buttons a,.woocommerce-mini-cart .buttons a{border-radius:9px!important;background:#171717!important;color:#fff!important;font-weight:800!important;}
.widget_shopping_cart .buttons a.checkout,.woocommerce-mini-cart .buttons a.checkout{background:#C9152A!important;}

@media(max-width:767px){
 body.woocommerce-cart .woocommerce{padding:20px 14px 44px;}
 body.woocommerce-cart .woocommerce-cart-form,body.woocommerce-cart .cart-collaterals .cart_totals{border-radius:13px;}
 body.woocommerce-cart table.shop_table .product-thumbnail img{width:58px!important;height:68px!important;}
 body.woocommerce-cart .coupon{align-items:stretch!important;flex-direction:column!important;}
}
