/* ============================================================
   Kara Tejarat — brand palette normalisation
   Replaces WooCommerce's built-in violet (#720eec / #7f54b3) and
   the lavender-derived neutrals it generates, with the official
   brand palette:  cream #f5f0ea · deep green #445751 · copper #bf4d33
   Scope: global (all WooCommerce screens).
   ============================================================ */

:root {
  --woocommerce: #bf4d33;
  --wc-primary: #bf4d33;
  --wc-primary-text: #ffffff;
  --wc-secondary: #f5f0ea;
  --wc-secondary-text: #445751;
  --wc-highlight: #d9744f;
  --wc-highligh-text: #ffffff;
  --wc-content-bg: #ffffff;
  --wc-subtext: #6d7168;
}

/* ---------- store notice ---------- */
.woocommerce-store-notice,
p.demo_store { background-color: #bf4d33 !important; }
.woocommerce-store-notice a,
p.demo_store a { color: #ffffff !important; }

/* ---------- notices ---------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background-color: #f6f3ee !important;
  color: #3d4a45 !important;
}
.woocommerce-message,
.woocommerce-info { border-top-color: #445751 !important; }
.woocommerce-error { border-top-color: #bf4d33 !important; }
.woocommerce-message::before,
.woocommerce-info::before { color: #445751 !important; }
.woocommerce-error::before { color: #bf4d33 !important; }

/* ---------- tabs (product data tabs) ---------- */
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border-color: #ded6cc !important;
  background-color: #f3ede5 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before {
  border-color: #ded6cc !important;
  box-shadow: -2px 2px 0 #f3ede5 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  border-bottom-color: #ded6cc !important;
}

/* ---------- pagination ---------- */
.woocommerce nav.woocommerce-pagination ul,
.woocommerce nav.woocommerce-pagination ul li {
  border-color: #ded6cc !important;
}
.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background-color: #f3ede5 !important;
  color: #445751 !important;
}

/* ---------- reviews ---------- */
.woocommerce #reviews #comments ol.commentlist li img.avatar {
  background-color: #f3ede5 !important;
  border-color: #e7ded4 !important;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text,
.woocommerce #reviews #comments ol.commentlist #respond {
  border-color: #e7ded4 !important;
}
.woocommerce .star-rating::before { color: #ded6cc !important; }
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button { background-color: #445751 !important; color: #ffffff !important; }
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt { background-color: #bf4d33 !important; color: #ffffff !important; }
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover { background-color: #a63f29 !important; }

/* ---------- cart ---------- */
.woocommerce table.shop_table,
.woocommerce table.shop_table th,
.woocommerce table.shop_table td,
.woocommerce table.shop_table tbody th,
.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th,
.woocommerce .cart-collaterals .cart_totals tr td,
.woocommerce .cart-collaterals .cart_totals tr th { border-color: #e4dcd1 !important; }
.woocommerce table.cart td.actions .coupon .input-text,
.woocommerce #content table.cart td.actions .coupon .input-text,
.woocommerce-page table.cart td.actions .coupon .input-text {
  border-color: #ded6cc !important;
}
.woocommerce .widget_shopping_cart .total,
.woocommerce.widget_shopping_cart .total { border-top-color: #e4dcd1 !important; }

/* ---------- checkout / payment ---------- */
#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment { background: rgba(68, 87, 81, .055) !important; }
#add_payment_method #payment ul.payment_methods,
.woocommerce-cart #payment ul.payment_methods,
.woocommerce-checkout #payment ul.payment_methods { border-bottom-color: rgba(68, 87, 81, .14) !important; }
#add_payment_method #payment div.payment_box,
.woocommerce-cart #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box {
  background-color: #efe8de !important;
  color: #3d4a45 !important;
}
#add_payment_method #payment div.payment_box::before,
.woocommerce-cart #payment div.payment_box::before,
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #efe8de !important; }
#add_payment_method #payment div.payment_box input.input-text,
.woocommerce-cart #payment div.payment_box input.input-text,
.woocommerce-checkout #payment div.payment_box input.input-text { border-color: #d8cfc2 !important; }
#add_payment_method #payment div.payment_box ::placeholder,
.woocommerce-cart #payment div.payment_box ::placeholder,
.woocommerce-checkout #payment div.payment_box ::placeholder { color: #8f8a80 !important; }

/* ---------- order details / login forms ---------- */
.woocommerce ul.order_details li { border-color: #e4dcd1 !important; }
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce-account .woocommerce { border-color: #ded6cc !important; }

/* ---------- price filter widget ---------- */
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle,
.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
  background-color: #bf4d33 !important;
}
.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
  background-color: #445751 !important;
}

/* ---------- small screen tables ---------- */
.woocommerce table.shop_table_responsive tr td::before,
.woocommerce-page table.shop_table_responsive tr td::before { color: #445751 !important; }
