.single-product form.cart {
  display: none !important;
}

/* ========================================================
   Apple Frosted Glass Variables 
   تأثير زجاج آبل (ضبابية عالية، تشبع لوني، إضاءة داخلية)
======================================================== */
:root {
  --apple-bg: rgba(255, 255, 255, 0.3); /* خلفية زجاجية شفافة */
  --apple-border: rgba(255, 255, 255, 0.5); /* حدود بيضاء شفافة للإضاءة */
  --apple-highlight: rgba(255, 255, 255, 0.7); /* إضاءة علوية (3D effect) */
  --apple-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), inset 0 1px 0 var(--apple-highlight);
  --apple-blur: blur(30px) saturate(180%); /* سر تأثير آبل (ضباب مع تشبع) */
  --apple-radius: 24px; /* زوايا ناعمة ودائرية جداً للفورم */
  --apple-radius-sm: 12px; /* زوايا أصغر للعناصر الداخلية */
  --apple-text: #1d1d1f; /* لون النص القياسي لآبل */
}

/* ======================================================== */

.wooecom_instant_order_form {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 20px; /* مسافة 20 بيكسل بين جميع العناصر */
  
  /* تأثير آبل الزجاجي للفورم الأساسي */
  background: var(--apple-bg);
  backdrop-filter: var(--apple-blur);
  -webkit-backdrop-filter: var(--apple-blur);
  border: 1px solid var(--apple-border);
  box-shadow: var(--apple-shadow);
  border-radius: var(--apple-radius);
  padding: 25px; 
  margin-bottom: -1px;
}

.wooecom_information_title {
  width: 100%;
  margin: 0;
  color: var(--apple-text);
  font-weight: 600;
}

/* 
   جعل الخانات (الاسم، الرقم، الولاية، البلدية) بجانب بعضها
   كل خانة تأخذ نصف العرض ناقص مسافة الفراغ (gap)
*/
.wooecom_instant_order_form>input,
.wooecom_instant_order_form>select {
  width: calc(50% - 10px) !important;
  flex: 0 0 calc(50% - 10px); /* يضمن عدم تمدد أو تقلص الخانة عن النصف */
}

/* الملاحظات أو العنوان يأخذ العرض كاملاً */
.wooecom_instant_order_form>textarea {
  width: 100% !important;
  flex: 0 0 100%;
}

.wooecom_instant_order_form>input,
.wooecom_instant_order_form>select,
.wooecom_instant_order_form>textarea {
  /* تأثير زجاجي ناعم جداً للحقول */
  background: rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  color: var(--apple-text) !important;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  outline: none !important;
  border-radius: var(--apple-radius-sm) !important;
  padding: 14px 12px !important;
  line-height: 1.5em !important;
  height: auto !important;
  transition: all 0.3s ease;
}

.wooecom_instant_order_form>input:focus,
.wooecom_instant_order_form>select:focus,
.wooecom_instant_order_form>textarea:focus {
  background: rgba(255, 255, 255, 0.6) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3), inset 0 1px 2px rgba(0,0,0,0.05) !important;
}

#apply_coupon {
  color: var(--apple-text) !important;
  background: rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: var(--apple-blur);
  -webkit-backdrop-filter: var(--apple-blur);
  border: 1px solid var(--apple-border) !important;
  box-shadow: var(--apple-shadow);
  transition: all .3s cubic-bezier(0.25, 0.8, 0.25, 1);
  width: calc(127% - 20px);
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  border-radius: var(--apple-radius-sm);
  padding: 18px;
  outline: none !important;
  position: relative;
  font-weight: 600;
}

#apply_coupon:hover {
  background: rgba(255, 255, 255, 0.5) !important;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12), inset 0 1px 0 var(--apple-highlight) !important;
}

.wooecom_checkout {
  width: calc(80% - 20px);
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  
  /* زر التأكيد بتأثير آبل */
  background: rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: var(--apple-blur);
  -webkit-backdrop-filter: var(--apple-blur);
  border: 1px solid var(--apple-border) !important;
  box-shadow: var(--apple-shadow);
  color: var(--apple-text) !important;
  
  border-radius: var(--apple-radius-sm);
  padding: 18px;
  outline: none !important;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  font-weight: 600;
}

.wooecom_checkout:hover {
  background: rgba(255, 255, 255, 0.6) !important;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12), inset 0 1px 0 var(--apple-highlight) !important;
}

.wooecom_checkout.loading {
  pointer-events: none !important;
}

.wooecom_quantity {
  width: 20%;
  display: flex;
  align-items: center;
}

.wooecom_quantity>input[type="number"] {
  width: 40px;
  padding: 5px;
  text-align: center;
  font-weight: 600;
  color: var(--apple-text);
  background: transparent !important;
  border: none !important;
  outline: none !important;
}

#wooecom_fixed_shipping_fe {
  display: none;
}

.wooecom_quantity input::-webkit-outer-spin-button,
.wooecom_quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.wooecom_quantity input[type="number"] {
  -moz-appearance: textfield;
}

.wooecom_plus,
.wooecom_minus {
  width: 30px;
  text-align: center;
  cursor: pointer;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  
  /* أزرار الكمية */
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid var(--apple-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  color: var(--apple-text);
  transition: all 0.3s ease;
}

.wooecom_plus {
  border-left: 1px solid var(--apple-border);
}

.wooecom_minus {
  border-right: 1px solid var(--apple-border);
}

.wooecom_plus:hover,
.wooecom_minus:hover {
  background: rgba(255, 255, 255, 0.5);
}

.wooecom_order_summary {
  width: 100%;
}

.wooecom_order_summary_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px) saturate(150%);
  -webkit-backdrop-filter: blur(15px) saturate(150%);
  border: 1px solid var(--apple-border);
  border-radius: var(--apple-radius-sm);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05), inset 0 1px 0 var(--apple-highlight);
  
  padding: 15px;
  margin-bottom: 10px;
  user-select: none;
  cursor: pointer;
  color: var(--apple-text);
}

.wooecom_order_summary_head>i {
  transform: rotate(0);
  transition: all 0.4s ease;
}

.wooecom_order_summary.active .wooecom_order_summary_head>i {
  transform: rotate(180deg);
}

.wooecom_price_table {
  display: none;
  position: relative;
}

.wooecom_price_table table {
  margin-bottom: 0px;
}

.wooecom_order_summary.active .wooecom_price_table {
  display: block;
}

.wooecom_price_table>table td:first-child {
  text-align: left;
}

.wooecom_price_table>table td:last-child {
  text-align: right;
}

.wooecom_price_table>table td {
  border: none;
  padding: 15px;
  color: var(--apple-text);
}

.wooecom_price_table>table {
  border-collapse: collapse;
  
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--apple-border);
  border-radius: var(--apple-radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  width: 100%;
}

.wooecom_price_table>table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.wooecom_btn_loader {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: none;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ========================================================
   الإطار الزجاجي الخاص بالخيارات (المقاسات / الألوان)
======================================================== */
.wooecom_variations {
  margin: 0;
  padding: 20px !important;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  color: var(--apple-text);
  
  /* خلفية وإطار زجاجي يجمع كل الخيارات */
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--apple-border);
  box-shadow: inset 0 1px 0 var(--apple-highlight), 0 8px 25px rgba(0,0,0,0.05);
  border-radius: var(--apple-radius-sm);
}

.wooecom_variations>li {
  display: flex;
  align-items: center;
  gap: 5px;
}

.wooecom_single_attr label input {
  display: none !important;
}

.wooecom_single_attr {
  margin: 10px 0 !important;
  display: flex;
  align-items: center;
  gap: 5px;
}

.wooecom_single_attr label span {
  display: inline-block !important;
  
  /* تصميم أزرار الخيارات */
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid var(--apple-border) !important;
  backdrop-filter: blur(5px);
  color: var(--apple-text) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
  
  padding: 6px 12px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  font-size: 13px !important;
  transition: all 0.3s ease;
}

.wooecom_single_attr label input:checked+span {
  background: rgba(255, 255, 255, 0.7) !important;
  color: var(--apple-text) !important;
  border-color: rgba(255,255,255,1) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1), inset 0 1px 0 #fff;
}

.wooecom_single_attr label {
  margin-bottom: 0px !important;
}

span.wooecom_attr_label {
  font-size: 15px !important;
  min-width: 50px !important;
  display: inline-block !important;
  color: var(--apple-text);
  font-weight: 500;
}

.wooecom_footer_icons {
  display: none;
  align-items: stretch;
  font-size: 18px;
  gap: 10px;
}

.wooecom_footer_icons a {
  display: inline-block;
  text-decoration: none !important;
}

.wooecom_footer_icons i {
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(5px);
  border: 1px solid var(--apple-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
  color: var(--apple-text);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s ease;
}

.wooecom_footer_icons i:hover {
    background: rgba(255, 255, 255, 0.5);
}

.wooecom_footer_icons i.fa-phone {
  font-size: 18px;
}

.wooecom_sticky_footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: var(--apple-blur);
  -webkit-backdrop-filter: var(--apple-blur);
  border-top: 1px solid var(--apple-border);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.05);
  
  z-index: 5000;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  display: none;
  margin-bottom: 0px !important;
}

.wooecom_buy_now {
  display: block;
  padding: 10px 35px;
  
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(15px);
  border: 1px solid var(--apple-border);
  color: var(--apple-text);
  box-shadow: var(--apple-shadow);
  
  border-radius: var(--apple-radius-sm);
  text-decoration: none !important;
  text-align: center;
  width: 250px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.wooecom_buy_now:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

span.wooecom_order_qty {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  border: 1px solid var(--apple-border);
  color: var(--apple-text);
  display: inline-block;
  padding: 3px 5px;
  border-radius: 5px;
  line-height: 1em;
  font-size: 10px;
  position: relative;
  left: -2px;
  font-weight: 600;
  top: -6px;
}

.wooecom_order_loader {
  width: 20px;
  height: 20px;
  border: 2.5px solid var(--apple-text);
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

.order_loader_container {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: var(--apple-radius);
}

ul.wooecom_shipping_methods {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--apple-text);
}

.wooecom_row_total_price>td {
  font-weight: bold !important;
  color: var(--apple-text) !important;
}

.wooecom_order_summary_title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold !important;
  text-transform: capitalize;
}

.wooecom_shipping_methods li label {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: flex-start;
}

span.wooecom_free_shipping {
  background: rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(4px);
  border: 1px solid var(--apple-border);
  color: var(--apple-text) !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  display: inline-block !important;
}

.wooecom_single_attr label input:checked+span.wooecom_color_palette {
  position: relative;
}

.wooecom_single_attr label input:checked+span.wooecom_color_palette::before {
  content: "";
  position: absolute;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  border-radius: 5px;
  border: 1px solid var(--apple-text);
  left: -3px;
  top: -3px;
}

.rtl .wooecom_shipping_methods li label {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
}

.rtl .wooecom_price_table>table td:first-child {
  text-align: right;
}

.rtl .wooecom_price_table>table td:last-child {
  text-align: left;
}

.rtl .wooecom_order_qty {
  left: 2px;
}

.rtl .wooecom_instant_order_form>input,
.rtl .wooecom_instant_order_form>select {
  text-align: right;
}

#wooecom_state {
  appearance: none !important;
  -moz-appearance: none !important;
  -webkit-appearance: none !important;
  -ms-progress-appearance: none !important;
  background: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%231d1d1f%22%2F%3E%3C%2Fsvg%3E") no-repeat right 10px top 55%;
}

.rtl #wooecom_state {
  background: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%231d1d1f%22%2F%3E%3C%2Fsvg%3E") no-repeat left 10px top 55%;
}

.wooecom_coupon_discount_row {
  display: none;
}

.toast-center-center {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.form-hide-for-desktop {
  display: none !important;
}

#coupon_code {
  height: 40px;
  width: 200px;
}

.custom-coupon-btn button {
  height: 40px;
  line-height: 0;
}
.disabled-btn {
    cursor: not-allowed !important;
    opacity: 0.7 !important;
}

.coupon-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.wooecom_disabled,
.ip_block,
.cookie_block {
  position: relative;
}

.wooecom_disabled::before,
.ip_block::before,
.cookie_block::before {
  content: "";
  left: 0;
  top: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  border-radius: var(--apple-radius);
  cursor: not-allowed;
  z-index: 1000;
}

.wooecom_notice {
  margin: 0;
  width: 100%;
  background: rgba(211, 92, 98, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  color: #fff;
  padding: 12px;
  position: relative;
  border-radius: 12px;
}

.wooecom_notice::before {
  content: "\f05a";
  font: var(--fa-font-solid);
  margin-right: 10px;
}

.wooecom_notice.hidden {
  display: none;
}

.variation_title {
  position: relative;
}

.variation_title input {
  display: none;
}

.variation_title input+label {
  position: relative;
  padding-left: 40px;
  cursor: pointer;
  font-weight: 400;
}

.variation_title input+label::before {
  content: "";
  width: 27px;
  height: 27px;
  position: absolute;
  border-radius: 50%;
  
  border: 1px solid var(--apple-border);
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
  
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.variation_title input+label::after {
  content: "";
  position: absolute;
  left: 7px;
  height: 13px;
  width: 13px;
  top: 50%;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.variation_title input+label:hover::after {
  opacity: 0.5;
}

.variation_title input:checked+label::after {
  opacity: 1;
  background: var(--apple-text);
}

.wooecom_hidden {
  display: none !important;
}

/* Modern UI Styles */

ul.wooecom_variations.modern_ui {
  display: flex;
  flex-direction: column;
}

.attribute_modern_ui {
  display: flex;
  align-items: center;
  gap: 10px;
}

.attribute_modern_ui>h4 {
  margin-right: 10px;
  font-size: 14px;
  color: var(--apple-text);
  font-weight: 500;
  line-height: 1.4em;
  min-width: 60px;
}

.attribute_inner>input {
  display: none;
}

.attribute_inner>label {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid var(--apple-border);
  color: var(--apple-text);
  font-size: 14px;
  border-radius: 8px;
  padding: 6px 14px;
  line-height: 1.4em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255,255,255,0.5);
  transition: all 0.3s ease;
  cursor: pointer;
}

.attribute_inner>label:hover {
  background: rgba(255, 255, 255, 0.4);
}

.attribute_inner>input:checked+label {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 2px var(--apple-text);
  border-color: #fff;
  font-weight: 600;
}

.attribute_inner.attr_color>label {
  border: 1px solid var(--apple-border);
  font-size: 0px;
  color: transparent;
  display: block;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%; 
}

.wooecom_variations.modern_ui .variation_selection {
  display: none;
}

/* RTL Styles */
.rtl .variation_title input+label {
  padding-left: 0px;
  padding-right: 40px;
}

.rtl .variation_title input+label::before {
  content: "";
  left: unset;
  right: 0;
}

.rtl .variation_title input+label::after {
  content: "";
  left: unset;
  right: 7px;
}

.rtl ul.wooecom_shipping_methods {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rtl ul.wooecom_shipping_methods li>label {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.rtl .wooecom_notice::before {
  margin-right: 0;
  margin-left: 10px;
}

.wooecom_placeholder {
  display: block;
  width: 100%;
}

@media (max-width: 767px) {
  .wooecom_footer_icons {
    display: flex;
    align-items: stretch;
    gap: 10px;
  }

  .wooecom_buy_now {
    width: calc(100% - 112px) !important;
  }

  .wooecom_checkout {
    width: calc(65% - 20px) !important;
  }

  /* على الهواتف الأفضل أن تأخذ الخانات عرض الشاشة كاملاً لتكون واضحة، 
     ولكن إذا كنت تريدها بجانب بعض حتى في الهاتف قم بمسح الـ 100% بالأسفل 
     واستبدلها بـ calc(50% - 10px) 
  */
  .wooecom_instant_order_form>input,
  .wooecom_instant_order_form>select {
    width: 100% !important;
    flex: 0 0 100%;
  }

  .wooecom_quantity {
    width: 35% !important;
  }
}

.wooecom_variations > li {
	flex-wrap: wrap !important;
	gap: 8px;
}

li.attribute_modern_ui .attribute_inner > label{
	line-height: 2.2em;
}