/*
Theme Name:   CRAFTRIA
Theme URI:    https://taraboot.com/
Description:  Child theme for craftria
Author:       ترابط
Author URI:   https://taraboot.com/
Template:     astra
Version:      1.0.0
*/
@import url("../astra/style.css");

 /*contact form */
 .custom-contact-form {
  background: #000;
  color: #fff;
  padding: 40px;
  border-radius: 10px;
}
.label-form {
  margin-bottom: -19px !important;
   font-size: 18px !important;
  font-weight: 500;
  font-style: Medium;
}
.custom-contact-form label {
  display: block;
  font-size: 14px;
  color: #ccc;
}
.custom-contact-form .form-row {
  display: flex;
  gap: 50px;
}
.custom-contact-form .form-group.half {
  width: 50%;
}
.custom-contact-form input[type="text"],
.custom-contact-form input[type="email"],
.custom-contact-form input[type="tel"],
.custom-contact-form textarea {
  width: 100%;
  height: 56px;
  background: #1a1a1a;
  border: none;
  border-radius: 6px;
  padding: 12px 14px;
  color: #fff;
  font-size: 15px;
  border: 1px solid rgba(38, 38, 38, 1)
}
.custom-contact-form input::placeholder,
.custom-contact-form textarea::placeholder {
  color: #777;
}
.custom-contact-form textarea {
  height: 160px;
  resize: none;
}
.custom-contact-form .checkbox {
  width: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  font-size: 18px !important;
  font-weight: 500;
  font-style: Medium;
}
.custom-contact-form input[type="checkbox"] {
 background: rgba(26, 26, 26, 1);
  width: 28px;
  height: 28px;
  border: 1px solid rgba(38, 38, 38, 1)
}
.custom-contact-form .form-group.submit {
  width: 50%;
  text-align: right;
 
}
.custom-contact-form input[type="submit"] {
  background: #fff;
  color: #000;
  border: none;
  padding: 10px 30px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 600;
     font-size: 18px !important;
  font-weight: 500;
}
.custom-contact-form input[type="submit"]:hover {
  background: #f4f4f4;
}
.group-submit{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.wpcf7-list-item{
  margin: 0 0 0 0em;
}
span.wpcf7-form-control-wrap{
  display: inline !important;
}
span.wpcf7-spinner {
    display: none;
}
 /*accordion*/
.e-n-accordion-item {
    border-bottom: 1px solid rgba(105, 111, 121, 1);
}
summary.e-n-accordion-item-title {
    height: 64px;
    margin-top: 16px;
    margin-bottom: 16px;
}
/*account*/
.ast-page-builder-template .site-content > .ast-container
 {  max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
}
/*noies-woocomerce*/
.woocommerce-notices-wrapper {
    display: none;
}
/*curency*/
.yay-currency-custom-select__trigger{
      background: #191919 !important;
      color: #FAFAFA !important;
          border: 1px solid #00000033 !important;
              height: 58px !important;
              border-radius: 12px !important;
    padding: 8px 16px !important;
}
.yay-currency-custom-arrow .yay-currency-arrow-icon {
    fill: #fff !important; 
}
.buttom-hero  {
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
}



.btn-red:hover {
    background: #a11919;
    color: white;
    border: 1px solid #a11919;
}
.btn-gray:hover {
    background: white !important;
    color: black !important;
}



.um-field-label label {
    color: rgba(105, 111, 121, 1) !important;
}



.um-form .um-field-area input.um-form-field {
    border: 1px solid;
    border-image-source: linear-gradient(90deg, #8692A6 0%, #343840 100%);
    border-image-slice: 1;
    background: rgba(40, 42, 47, 1) !important;
    width: 100% !important;
    max-width: 445px !important;
    border-radius: 8px !important;
    height: 56px !important;
    color: #fff !important;
}

.um-form .um-field-area input.um-form-field::placeholder {
    color: #fff8f8 !important;
}
.um-form .um-field-area input.um-form-field:focus {
    color: #fff !important; 
    outline: none;
}




img#paymob-logo {
    display: none !important;
}









input#um-submit-btn {
  width: 100% !important;
  max-width: 445px;
height: 56px !important;
border-radius: 8px !important;
background: rgba(255, 255, 255, 1) !important;
color: rgba(0, 0, 0, 1) !important;
font-size: 16px !important;


}

.plan-card a.button:hover {
    background: white !important;
    color: black !important;
      border: 1px solid #ffffff;
}

.ai-popup-edit {
    position: absolute;
    top: 25px;
    right: 50px; 
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #191919; 
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
    user-select: none;
}

.ai-popup-edit:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.25);
}


.save-btn:hover{
    background: #ebeaea;
    color: #000;
        border: 1px solid rgb(255 255 255);

}

.cancel-btn:hover{
        background: #ebeaea;
    color: #000;
        border: 1px solid rgb(255 255 255);
}


select.wmc-nav.wmc-select-currency-js{
        background: #191919;
    color: #ffff;
    width: 246px;
    height: 64px;
    box-shadow: none;
    border-radius: 12px;
        padding: 12px;
        text-align: center;
}


input#adminbar-search{
        display: none !important ;
}













html[lang="ar"] .ai-msg.ai-bot {
    text-align: right  !important  ;
    direction: rtl  !important ;
    margin-right: auto  !important ;
}


html[lang="ar"] div#ai-chat-intro{
       text-align: right  !important  ;
    direction: rtl  !important ; 
    
}



html[lang="ar"] .elementor-icon-box-wrapper {
    text-align: right !important;
	    direction: ltr !important;
}



html[lang="ar"] .wpcf7-response-output {
    text-align: center;
}



html[lang="ar"] .ai-popup-edit {
right: auto;
left: 30px;
}




.custom-payment-methods li.wc_payment_method:hover{
        border-color: #2d2d2d !important;
}
.custom-payment-methods li.wc_payment_method{
        background: #191919 !important;
        border: 1px solid #353535 !important;
}



.custom-payment-methods label:before{
        border: 2px solid #ffffff !important;
}

.text-inherit{
        color: rgb(255 255 255) !important;
}

html[lang="ar"] .custom-contact-form,
html[lang="ar"] .custom-contact-form .form-row,
html[lang="ar"] .custom-contact-form input,
html[lang="ar"] .custom-contact-form textarea,
html[lang="ar"] .custom-contact-form select,
html[lang="ar"] .custom-contact-form label {
    direction: rtl;
    text-align: right;
}




html[lang="ar"] .form-group.submit{
    text-align: end;
}


html[lang="ar"] a#buttom-contact {
    direction: ltr;
}


button#place_order {
    background: white !important;
}



















/* ======================================
   Responsive Social Plans Tables
   ====================================== */
@media screen and (max-width: 768px) {

    .social-plans-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .social-plans-table table {
        width: max-content; /* الجدول يحتفظ بعرضه الكامل */
        min-width: 100%;
        border-collapse: collapse;
        font-size: 14px; /* حجم نص مناسب لمحتوى الجدول */
    }

    .social-plans-table th,
    .social-plans-table td {
        padding: 8px 6px !important;
        text-align: center; /* بقية الأعمدة في المنتصف */
        vertical-align: middle;
        font-size: 14px; /* نص داخل الخلايا أصغر */
    }

    /* العمود الأول Features على اليسار */
    .social-plans-table th:first-child,
    .social-plans-table td:first-child {
        text-align: left;
    }

    /* ضبط حجم العنوان */
    .social-plans-table h2,
    .social-plans-title {
        font-size: 18px !important; /* عنوان أصغر على الجوال */
        text-align: center;
        margin-bottom: 10px;
    }

    /* تمرير الجدول فقط إذا محتواه أكبر من الشاشة */
    .social-plans-table {
        -ms-overflow-style: auto;
        scrollbar-width: thin;
    }
}




@media (max-width: 768px) {


.blog-month-grid{
        grid-template-columns: repeat(1, 1fr) !important;
}

}


@media (max-width: 768px) {

.custom-contact-form {
padding:0px;
}
.custom-contact-form .form-row{
      gap: 15px;
}


}



@media (max-width: 768px) {
    .custom-checkout-container {
        padding: 10px; /* تخفيف البادينج للجوال */
        flex-direction: column; /* تأكيد الاتجاه عمودي */
    }
}


@media (max-width: 1024px) {
  .profile-wrapper {
    width: 100%;
    padding: 10px;
  }

  .profile-container {
    flex-direction: column;
    min-height: auto;
    align-items: center;
    gap: 16px;
  }

  .profile-sidebar {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    padding: 10px;
    border-radius: 12px;
  }

  .profile-sidebar .profile-user {
    display: none; 
  }

  .profile-menu ul {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }

  .profile-menu ul li a {
    width: auto;
    padding: 10px 12px;
  }

  .profile-main {
    width: 100% !important;
    border-radius: 0px;
    padding: 0px !important;
  }

  .card-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-left {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }

  .support-btn {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
  }

  #help-popup {
    width: 90%;
    height: auto;
    padding: 16px;
  }

  #profile-content {
    margin-top: 0.5rem;
  }
}

@media (max-width: 600px) {
  .profile-sidebar ul {
    flex-direction: column;
  }

  .profile-menu ul li a {
    font-size: 12px;
    padding: 8px 10px;
  }

  .btn-primary, .btn-link {
    font-size: 13px;
    padding: 6px 10px;
  }
}
@media (max-width: 768px) {
  .ai-grid {
    grid-template-columns: repeat(auto-fill, minmax(345px, 1fr)) !important;

  }
  .ai-explan{
    display: none !important;
  }
    .field-row { 
        flex-direction: column; 
        gap: 16px;
        margin-bottom: 30px;
    }

    .field-col {
        width: 100%; 
    }

    .edit-btn, .save-btn, .cancel-btn {
        width: 100%; 
        margin-bottom: 10px;
    }

    .save-cancel {
        text-align: center;
        margin-top: 15px;
    }

    input {
        height: 50px !important;
        font-size: 16px !important;
    }

    label {
        font-size: 16px;
    }
    
    

.woocommerce-js div.product {
    width: 100%;

}

#ai-chat-input input {
      width: 85% !important;
    margin: 0px;
    padding: 0px;
}
.input-wrapper {
    padding: 0px 0px 0px 13px;
}



    
}













