/* CSS Variables for easy theme customization */
:root {
    --primary-color: #E02D2D;
    --secondary-color: #6c757d;
    --border-color: #dee2e6;
    --text-color-light: #ffffff;
    --text-color-dark: #495057;
    --background-light: #f8f9fa;
    --border-radius: 0.375rem;
    --pill-radius: 50px;
    --transition-speed: 0.2s;
}

.visually-hidden {
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.hidden {
    display: none !important;
}

.checkout-page-title {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 12px;
    font-weight: bold;
}

.woocommerce-checkout #payment {
    background-color: transparent;
    border-radius: 0px;
}

.woocommerce-checkout #payment div.payment_box {
    width: 100%;
    padding: 0;
    margin: 0;
    font-size: 1.2em;
    border-radius: 2px;
    line-height: 1.5;
    color: #858796;
    background-color: transparent;
}

.woocommerce-checkout #payment div.payment_box p {
    margin: 0;
}

.woocommerce-checkout #payment div.payment_box::before {
    display: none;
}

.checkout-total-amount-featured {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0.5rem 0 1rem 0;
}

.checkout-testimonial {
    max-width: 420px;
    margin: 10px auto;
    padding: 15px 20px;
    line-height: 1.9;
    color: var(--primary-color);
    text-align: right;
}

.checkout-testimonial .message {
    font-size: 17px;
    margin: 0;
    position: relative;
}

.checkout-testimonial .testimonial-message .quote-mark {
    display: inline-block;
    color: #000;
    font-size: 2rem;
    margin-left: 8px;
    vertical-align: middle;
    transform: rotate(180deg);
    line-height: 1;
    margin-top: -22px;
}

.checkout-testimonial .testimonial-author {
    margin-top: 15px;
    text-align: left;
    color: #444;
    font-size: 17px;
    font-weight: 500;
}



.woocommerce form .form-row {
    margin: 0 0 26px;
}

/* Style for the input fields and select dropdown */
.woocommerce form .form-row .input-text,
.select2-search__field,
.woocommerce form .form-row select,
.woocommerce form .form-row .select2-selection {
  /* direction: rtl; */
  /* width: 100%; */

  padding: 12px 15px;
  background-color: transparent; 
  border: 1px solid #8f8e8e; 
  border-radius: 8px;
  box-sizing: border-box; 
  font-size: 16px;
  color: #333;
}

/* Style for the placeholder text */
.woocommerce form .form-row .input-text::placeholder,
.woocommerce form .form-row select::placeholder,
.woocommerce form .form-row .select2-selection::placeholder {
  color: #a9a9a9;
  opacity: 1;
}

/* Style when the user clicks on the input (focus state) */
.woocommerce form .form-row .input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row .select2-selection:focus {
  outline: none;
  border-color: #6e6e6e;
}

.select2-selection__rendered { padding: 0 !important; }

.select2-container .select2-selection--single .select2-selection__arrow b {
    right: -10px;
}

.woocommerce table.shop_table {
    border: 0px;
}

.woocommerce table.shop_table td,
.woocommerce table.shop_table th  {
    border-bottom-color: #000 !important;
    border-radius: 0px !important;
    color: #333;
}

.checkout-button {
    display: inline-block;
    padding: 12px 20px;

    background-color: var(--primary-color);;
    color: #ffffff;

    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;

    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0px 3px 6px 0px rgb(0 0 0 / 67%);

    transition: all 0.3s ease;
}

.checkout-button:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* إذا كان الزر معطلاً */
.checkout-button:disabled {
    background-color: #cccccc;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.payment-methods-title {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 15px;
    text-align: center;
    margin-bottom: 0.5rem;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 33px;
    margin-bottom: 25px;
}

.payment-icons img {
    height: 28px;
}


.info-notice {
    font-size: 0.8rem;
    color: #999;
    line-height: 1.6;
    margin-bottom: 10px;
}

.info-notice i {
    margin-left: 8px;
    margin-top: 4px;
    color: #aaa;
}