/*
Theme Name: leos
Author: Mohamed Shalata
Version: 4.1
Text Domain: leos
*/

@media (max-width: 800px) {
	.tow_button {
        margin-top: 1rem;
        flex-direction: column;
        gap: 1rem;
	}
  .card_pro  {  
      justify-content: space-evenly;
  }
  .card_pro a {
  	    font-size: 21px !important;
        height: 100px !important;
        width: auto;
        flex: 0 0 30%;
    	margin: 5px;
  }
  .info_bit h3 {
  	line-height: 1;
  }
  .tow_button div{
	max-width: 50%;
	width: 100%;
	font-size: 17px;
	}
  .checkout_form {
  	min-height: 20vh;
  }
.footer_site {
    height: auto;
      margin-bottom: 2rem;
  }
}

img.main-logo {
    max-width: 250px;
    max-height: 100px;
}

img.footer-logo {
    max-width: 250px;
    max-height: 70px;
}
section#first_block {
  padding-bottom: 1rem;
}

.tow_button a {
    max-width: 251px;
    width: 100%;
    height: 48px;
    flex-shrink: 0;
    background: #8e334f;
    color: #FFF;
  	text-align: center;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab.single-tab {
    border: none;
    font-size: 35px;
}

.active-tab, div#countdown-result div, .last_donate h2 {
  color: #8e334f;
}
.card_pro a:hover {
      background: #8e334f;
}

.checkout_form {
    min-height: 200px;
    height: auto;
    background: unset !important;
}

.tab-content {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #8e334f #e0e0e0; 
}

.tab-content::-webkit-scrollbar {
  width: 10px;
}

.tab-content::-webkit-scrollbar-track {
  background: #e0e0e0;
  border-radius: 5px;
}

.tab-content::-webkit-scrollbar-thumb {
  background-color: #8e334f;
  border-radius: 5px;
  border: 2px solid #e0e0e0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.tab-content::-webkit-scrollbar-thumb:hover {
  background-color: #7e2e47; 
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.mini-cart-container {
    background-color: #fff;
    border-radius: 15px;
    border: 1px solid #ddd;
    padding: 15px;
    max-width: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.mini-cart-container:hover {
    transform: translateY(-3px);
}

.mc-loading {
    text-align: center;
    padding: 20px;
    position: absolute;
}

.mini-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.mini-cart-title {
    font-size: 18px;
    margin: 0;
    color: #333;
}

.mini-cart-clear-all {
    background-color: #ff444485;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.3s, transform 0.2s;
}
.mini-cart-clear-all:hover {
    background-color: #e33a3a;
    transform: scale(1.015);
}

.woocommerce-mini-cart {
    list-style: none;
    margin: 0;
    padding: 0;
}
.woocommerce-mini-cart-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
    transition: background-color 0.3s;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    justify-content: space-between;
}
.woocommerce-mini-cart-item:hover {
    background-color: #f9f9f9;
}
.woocommerce-mini-cart-item:last-child {
    border-bottom: none;
}

.woocommerce-mini-cart-item a.remove {
    font-size: 16px;
    margin-right: 10px;
    color: #ff0000;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s;
    max-width: fit-content;
}
.woocommerce-mini-cart-item a.remove:hover {
    opacity: 0.7;
}

.mini-cart-item-title {
    font-size: 16px;
    color: #333;
    margin: 0 0 5px;
}
.mini-cart-item-quantity,
.mini-cart-item-price {
    font-size: 14px;
    color: #777;
    margin-top: 5px;
}

.mini-cart-sub-total-col {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
}
.woocommerce-mini-cart__total {
    font-size: 16px;
    font-weight: bold;
    text-align: right;
    margin: 0 0 10px;
}

.woocommerce-mini-cart__buttons .button,
.woocommerce-mini-cart__buttons .checkout {
    background-color: #8e334f;
    color: #fff;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 3px;
    transition: background-color 0.3s, box-shadow 0.3s;
}
.woocommerce-mini-cart__buttons .button:hover,
.woocommerce-mini-cart__buttons .checkout:hover {
    background-color: #0073a1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.woocommerce-mini-cart__empty-message {
    text-align: center;
    padding: 20px;
    font-size: 16px;
    color: #666;
}

@media (max-width: 480px) {
    .mini-cart-container {
        max-width: 100%;
        padding: 10px;
    }
    .mini-cart-title {
        font-size: 16px;
    }
    .woocommerce-mini-cart__buttons .button,
    .woocommerce-mini-cart__buttons .checkout {
        padding: 8px 12px;
        font-size: 14px;
    }
}
.checkout_form {
    background: #e9e9e952;
}

div#mini-cart-html {
    padding-block: 1rem;
}

.tab-content {
    max-height: 50vh;
    min-height: 50vh;
}

.title_home p {
    font-size: 1rem !important;
}

.last_donate .card_d {
  height: auto;
}
.last_donate .card_d .name {
      padding: 10px;
}

#billing_who_field span.select2.select2-container{
    width: 100%;
    min-width: 200px;
}

.translate-wrapper {
    top: 50%;
    transform: translateY(-50%);
}