.my-form {
  display: flex;
  flex-direction: column;
  font-family: 'Cairo', sans-serif;
		width: 100%;
    padding: 7px 8px !important;
    margin-bottom: 1rem;  
	max-width: 100%;
		border-radius: 6px;
}

.form-title {
    font-size: 1.2rem;
	border-radius: 6px;
	padding: 8px;
    text-align: center;
}

/* استبدل gap بتطبيق هامش سفلي لجميع العناصر الفرعية */
.my-form > * {
  margin-bottom: 10px;
}

/* إزالة الهامش السفلي من العنصر الأخير */
.my-form > *:last-child {
  margin-bottom: 0;
}

.my-form .input-row {
  display: flex;
  justify-content: space-between;
}

/* استبدل gap بتطبيق هامش يميني لجميع عناصر الصف */
.my-form .input-row > * {
  margin-right: 8px;
}

/* إزالة الهامش اليميني من العنصر الأخير في الصف */
.my-form .input-row > *:last-child {
  margin-right: 0;
}


input[name="name"],
input[name="phone"] {
  width: 100%;
	box-sizing: border-box;
}

input[name="phone"] {
  direction: ltr;
  text-align: right;
}


.my-form .input-row.city-address-row {
  display: flex;
  justify-content: space-between;

}

.my-form .input-row.city-address-row > .city-dropdown-wrapper,
.my-form .input-row.city-address-row > select[name="address"] {
  flex: 1;
  min-width: 0; /* ضروري لتجنب مشاكل overflow */
}

/* تنسيقات إضافية */
.my-form .input-row.city-address-row > select[name="address"] {
  height: 50px;
  border: 2px solid #818a91;
  border-radius: 8px;
  padding: 8px;
  box-sizing: border-box;
}


.my-form .button-container {
  display: flex;
  justify-content: center;

}

.my-form .shipping-container {
  width: 100%;
  font-size: 15px;
	color: #000000;

}

.my-form .shipping-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#delivery-cost-value {
  font-weight: bold;
	font-size: 17px;
  color: green;
}


.total-price-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
	font-size: 12px;

}

#total-price-input {
min-height: 42px;
 border: 1px solid #4CAF50;
	font-size:18px;
	font-weight: bold;
	color: #4CAF50;
	

}


.my-form .form-controls {
  display: flex;
			margin-top:5px;
	margin-bottom: 15px;

}

input[name="quantity"] {
  width: 15%;
  margin-right: 10px;
  border: 2px solid #818a91;
  color: #373a3c;
	margin-left:5px;
  border-radius: 5px;
  font-size: 18px;
	height: 58px;
}

input[type="submit"] {
  width: 85%;
	  background-color: #63B791;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
	height: 58px;
}
.my-form input[type="submit"]:hover {
  background-color: #000000;
  color:  #FFFFFF;
}



.my-form input[type="text"],
.my-form input[type="tel"],
.my-form input[type='number'],
.my-form select {
  background-color: #FEFEFE;
  border: 2px solid #818a91;
	text-align: center !important;
  color: #373a3c;
  border-radius: 5px;
  font-size: 15px;
	border-width: 2px 2px 2px 2px;
    font-weight: 600;
    line-height: 32px;
	min-height: 52px; 
}






.button-option.glow label {
  border: 2px solid;
  animation: borderFlash 1s infinite alternate;
}



.button-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.button-option {
  width: 100%;
  margin: 0 2px 2px 0;
}

.button-option input[type="radio"] {
  display: none;
}

.button-option label {
  background-color: #dddddd;
  border-radius: 4px;
  color: #121010;
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  padding: 14px 3px 14px 3px;
  position: relative;
  text-align: center;
  transition: all 0.3s ease;
  width: 100%;
  margin: 2px 0 2px 0;


}

.button-option label:hover {
  cursor: pointer;
  background-color: #f39c12;
}

.button-option input[type="radio"]:checked + label {
  background-color: #e67e22;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	color: #FFFFFF;
 
}


  .discount-container {
    display: flex;
    align-items: center;
    font-family: 'Cairo', sans-serif;
  }
  .discount-icon {
    width: 41px;
    height: 24px;
    margin-right: 4px;
    padding: 3px;
  }
 





.hidden {
    display: none;
}

.custom-checkbox-label {
    font-size: 16px;
    color: #333;
}

.my-field-class, .custom-order-notes {
   width: 75%;
    height: 42px;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    background-color: #f9f9f9;
    resize: none;
}
.my-field-class textarea {
    resize: none; 
    height: 40px; 
    min-height: 40px;
    overflow: auto;
    width: 100%; 
    border-radius: 5px; 
    border: 1px solid #ddd; 
    padding: 10px; 
    box-sizing: border-box; 
    max-width: 100%;
}

.my-field-class textarea:focus {
    border-color: #5b9dd9; /* Border color on focus */
    box-shadow: 0 0 2px rgba(30, 140, 190, .8); /* Box shadow on focus */
}

/* Override styles for the container */
.my-field-class {
    padding: 0;
    margin: 0;
    max-width: 100%; /* Prevent the container from exceeding its parent */
}





div.quantity input[type="button"] {

    height: 58px;

}

div.quantity input[type="number"] {

    height: 58px;

}




.custom-alert {
  background-color: #d90202;
  width: 100%;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
	margin-bottom: -12px;
}

.custom-alert-text {
  margin: 0;
  padding: 20px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  animation: color-change 3s infinite; /* هنا يتم تطبيق تأثير color-change على النص */
}


  @keyframes color-change {
    0% {
      color: #000;
    }
    50% {
      color: #ffcd00;
    }
    100% {
      color: #fff;
    }
  }
  .custom-alert {
    background-color: #d90202;
    width: 100%;
    height: 35px;
	margin-bottom: -9px;
		
    display: flex;
				border-radius: 5px;
    justify-content: center;
    align-items: center;
  }
  .custom-alert p {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    animation: color-change 2s infinite;
  }







 
input[type='email'], input[type='date'], input[type='search'], input[type='number'], input[type='text'], input[type='tel'], input[type='url'], input[type='password'], textarea, select {

    text-align: center;
	  background-color: #FEFEFE;
  border: 2px solid #818a91;
  color: #373a3c;
  border-radius: 5px;
  font-size: 15px;
	border-width: 2px 2px 2px 2px;
    font-weight: 600;
    line-height: 32px;
	min-height: 52px;
  
}

/*v1 promo*/
.progress-container {
  width: 100%;
  height: 8px;
  background: #ddd;
  position: fixed;
  top: 0;
  z-index: 9999;
}

.progress-bar {
  height: 8px;
  background: #4CAF50;
  width: 0%;
}

.scroll-btn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 9999;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #0d6efd;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
  transition: opacity 0.2s ease-in-out;
}

.scroll-btn:hover {
  opacity: 0.8;
}


.summary-inner>.price {
    margin-bottom: 25px;
    font-size: 155%;
}




@keyframes borderFlash {
  0%, 100% {
    border-color: rgba(0, 0, 0, 0.1);
  }
  50% {
    border-color: rgba(0, 0, 0, 1);
  }
}

/* v1 promo */

/* إضافة التنسيقات المخصصة للشاشات الصغيرة جدًا */
@media screen and (max-width: 320px) {
}



/* إضافة التنسيقات المخصصة للشاشات الصغيرة جدًا */
@media screen and (max-width: 480px) {

	 .my-form input[type="text"],
.my-form input[type="tel"],
.my-form select {
  font-size: 14px;
	 
}
	
	.button-option label {

  font-size: 12px;

}
	
	.custom-alert p {

    font-size: 15px;
;
  }
	

}


@media screen and (min-width: 481px) and (max-width: 767px) {
    /* التنسيق المحدد للشاشات المتوسطة هنا */

}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    /* التنسيق المحدد للشاشات المتوسطة هنا */
}

@media screen and (min-width: 1024px) {
    /* التنسيق المحدد للشاشات الكبيرة هنا */
}




/* تطبيق RTL على صفحة الشكر */

.woocommerce-order-details__title, .woocommerce-column__title,
.woocommerce-order-received .woocommerce-thankyou-order-received,
.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details {
  direction: rtl;
	  text-align: center;
}

