/* ============================================================
   Deltasazan Sepahan — brand palette normalisation
   Replaces WooCommerce's built-in violet (#720eec / #7f54b3) and
   the lavender-derived neutrals it generates, with the official
   brand palette:  cream #ffffff · deep green #12203f · copper #233771
   Scope: global (all WooCommerce screens).
   ============================================================ */

:root {
  --woocommerce: #233771;
  --wc-primary: #233771;
  --wc-primary-text: #ffffff;
  --wc-secondary: #ffffff;
  --wc-secondary-text: #12203f;
  --wc-highlight: #4361ad;
  --wc-highligh-text: #ffffff;
  --wc-content-bg: #ffffff;
  --wc-subtext: #5a6b8c;
}

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

/* ---------- notices ---------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background-color: #f6f8fd !important;
  color: #223050 !important;
}
.woocommerce-message,
.woocommerce-info { border-top-color: #12203f !important; }
.woocommerce-error { border-top-color: #233771 !important; }
.woocommerce-message::before,
.woocommerce-info::before { color: #12203f !important; }
.woocommerce-error::before { color: #233771 !important; }

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

/* ---------- pagination ---------- */
.woocommerce nav.woocommerce-pagination ul,
.woocommerce nav.woocommerce-pagination ul li {
  border-color: #d5deee !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: #eff3fb !important;
  color: #12203f !important;
}

/* ---------- reviews ---------- */
.woocommerce #reviews #comments ol.commentlist li img.avatar {
  background-color: #eff3fb !important;
  border-color: #e2e9f6 !important;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text,
.woocommerce #reviews #comments ol.commentlist #respond {
  border-color: #e2e9f6 !important;
}
.woocommerce .star-rating::before { color: #d5deee !important; }
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button { background-color: #12203f !important; color: #ffffff !important; }
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt { background-color: #233771 !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: #172a58 !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: #dbe3f2 !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: #d5deee !important;
}
.woocommerce .widget_shopping_cart .total,
.woocommerce.widget_shopping_cart .total { border-top-color: #dbe3f2 !important; }

/* ---------- checkout / payment ---------- */
#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment { background: rgba(18,32,63, .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(18,32,63, .14) !important; }
#add_payment_method #payment div.payment_box,
.woocommerce-cart #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box {
  background-color: #e8eefa !important;
  color: #223050 !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: #e8eefa !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: #cdd8ea !important; }
#add_payment_method #payment div.payment_box ::placeholder,
.woocommerce-cart #payment div.payment_box ::placeholder,
.woocommerce-checkout #payment div.payment_box ::placeholder { color: #8391ab !important; }

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

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

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