/*
Theme Name: Flatsome Child
Template: flatsome
Version: 1.3
*/
/* ===== تحسين صفحة الـ Checkout - Pro Style ===== */
.woocommerce-checkout {
    background: #faf8f5;
    padding: 20px 0;
}

.woocommerce-billing-fields h3,
#order_review_heading {
    font-size: 22px;
    font-weight: 700;
    color: #2c1810;
    border-bottom: 3px solid #6f4e37;
    padding-bottom: 12px;
    margin-bottom: 25px;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout textarea,
.woocommerce-checkout select {
    border: 2px solid #e0d5c8 !important;
    border-radius: 8px !important;
    padding: 12px 15px !important;
    font-size: 15px !important;
    transition: all 0.3s ease;
    background: #fff;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus {
    border-color: #6f4e37 !important;
    box-shadow: 0 0 0 3px rgba(111, 78, 55, 0.15) !important;
    outline: none;
}

#order_review {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.shop_table.woocommerce-checkout-review-order-table {
    border: none;
}

.shop_table.woocommerce-checkout-review-order-table th,
.shop_table.woocommerce-checkout-review-order-table td {
    padding: 15px 0;
    border-bottom: 1px solid #f0ebe4;
}

.order-total .woocommerce-Price-amount {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #6f4e37 !important;
}

#place_order {
    background: linear-gradient(135deg, #6f4e37, #4a3223) !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    padding: 18px 40px !important;
    border-radius: 10px !important;
    border: none !important;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(111, 78, 55, 0.35);
}

#place_order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(111, 78, 55, 0.45);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
}

.trust-badges span {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 768px) {
    #order_review {
        margin-top: 20px;
    }
    #place_order {
        font-size: 16px !important;
        padding: 15px !important;
    }
}@media (max-width: 480px) {
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}



/* Hide the customer account item site-wide — account creation is not offered. */
#header .account-item,
.header-wrapper .account-item {
  display: none !important;
}


/* Orino premium header mini cart */
.header li.cart-item.has-dropdown .nav-dropdown {
  width: 360px !important;
  min-width: 360px;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(116, 81, 58, 0.16);
  border-radius: 22px;
  background: #fffdf9;
  box-shadow: 0 24px 60px rgba(47, 33, 27, 0.2);
}

.header li.cart-item.has-dropdown
  .nav-dropdown
  > li.html.widget_shopping_cart,
.header li.cart-item.has-dropdown
  .nav-dropdown
  .widget_shopping_cart_content {
  width: 100%;
  padding: 0;
}

.header li.cart-item.has-dropdown
  .nav-dropdown
  ul.woocommerce-mini-cart {
  margin: 0;
  padding: 22px 22px 8px;
}

.header li.cart-item.has-dropdown
  .nav-dropdown
  .woocommerce-mini-cart-item {
  min-height: 106px;
  margin: 0;
  padding: 12px 38px 20px 92px;
  border-bottom: 1px solid rgba(116, 81, 58, 0.14);
}

.header li.cart-item.has-dropdown
  .nav-dropdown
  .woocommerce-mini-cart-item
  > a:not(.remove) {
  margin: 0 0 8px;
  color: #2f211b;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.header li.cart-item.has-dropdown
  .nav-dropdown
  .woocommerce-mini-cart-item
  img {
  top: 12px;
  left: 0;
  width: 76px;
  height: 76px;
  margin: 0;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(47, 33, 27, 0.16);
}

.header li.cart-item.has-dropdown
  .nav-dropdown
  a[href*="/product/250g-robusta/"]
  img {
  content: url("/wp-content/uploads/2026/07/WhatsApp-Image-2026-07-13-at-22.06.50-510x510.jpeg");
}

.header li.cart-item.has-dropdown
  .nav-dropdown
  .remove_from_cart_button {
  top: 10px;
  right: 0;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(116, 81, 58, 0.28);
  background: #fffaf3;
  color: #8a6955;
  font-size: 17px;
  line-height: 25px;
  transition: 0.2s ease;
}

.header li.cart-item.has-dropdown
  .nav-dropdown
  .remove_from_cart_button:hover {
  border-color: #74513a;
  background: #74513a;
  color: #fff;
}

.header li.cart-item.has-dropdown
  .nav-dropdown
  .ux-mini-cart-qty {
  width: auto;
  margin: 0;
  color: #77685e;
  font-size: 14px;
  line-height: 1.4;
}

.header li.cart-item.has-dropdown
  .nav-dropdown
  .ux-mini-cart-qty
  .amount {
  color: #74513a;
  font-weight: 700;
}

.header li.cart-item.has-dropdown
  .nav-dropdown
  .ux-mini-cart-footer {
  padding: 18px 22px 22px;
  border-top: 1px solid rgba(116, 81, 58, 0.12);
  background: #f8f0e6;
}

.header li.cart-item.has-dropdown
  .nav-dropdown
  .woocommerce-mini-cart__total {
  justify-content: space-between;
  min-height: 0;
  margin: 0;
  padding: 0 0 16px;
  color: #2f211b;
  font-size: 15px;
}

.header li.cart-item.has-dropdown
  .nav-dropdown
  .woocommerce-mini-cart__total
  strong {
  color: #77685e;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header li.cart-item.has-dropdown
  .nav-dropdown
  .woocommerce-mini-cart__total
  .amount {
  color: #2f211b;
  font-size: 17px;
  font-weight: 800;
}

.header li.cart-item.has-dropdown
  .nav-dropdown
  .woocommerce-mini-cart__buttons {
  display: grid;
  width: 100%;
  height: auto;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
}

.header li.cart-item.has-dropdown
  .nav-dropdown
  .woocommerce-mini-cart__buttons
  .button {
  width: auto;
  height: 48px;
  margin: 0 !important;
  padding: 0 14px;
  border: 1px solid #74513a;
  border-radius: 999px;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 46px;
  letter-spacing: 0.01em;
  text-transform: none;
}

.header li.cart-item.has-dropdown
  .nav-dropdown
  .woocommerce-mini-cart__buttons
  .button:not(.checkout) {
  background: transparent;
  color: #74513a;
}

.header li.cart-item.has-dropdown
  .nav-dropdown
  .woocommerce-mini-cart__buttons
  .checkout {
  background: #74513a;
  color: #fff;
}

.header li.cart-item.has-dropdown
  .nav-dropdown
  .woocommerce-mini-cart__buttons
  .button:hover {
  border-color: #2f211b;
  background: #2f211b;
  color: #fff;
}


/* Keep the premium mini cart accessible from keyboard focus. */
@media (min-width: 850px) {
  .header li.cart-item.has-dropdown:focus-within > .nav-dropdown {
    right: 0;
    left: auto !important;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
}
