/* WooCommerce pages styling (Fanera) */
.woocommerce .wp-block-woocommerce-cart,
.woocommerce .wp-block-woocommerce-checkout,
.woocommerce .wp-block-woocommerce-account,
.woocommerce .wp-block-woocommerce-cart-order-summary-block {
  font-family: inherit;
}
.woocommerce h1, .woocommerce h2, .woocommerce h3 { color: #16242f; }
.woocommerce .container > .woocommerce { max-width: 100%; }

/* Buttons */
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button,
.woocommerce #respond input#submit,
.wc-block-components-button,
.wp-block-woocommerce-cart .wc-block-components-button,
.wp-block-woocommerce-checkout .wc-block-components-button {
  background: #2e9e44 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 10px !important;
  font-family: inherit !important;
  font-weight: 600 !important;
  text-transform: none !important;
  padding: 12px 22px !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
}
.woocommerce .button:hover,
.wc-block-components-button:hover { background: #248038 !important; }
.wc-block-components-button.is-link,
.wc-block-components-text-button { background: none !important; color: #28475c !important; padding: 0 !important; }

/* Links */
.woocommerce a { color: #28475c; }
.woocommerce a:hover { color: #f6a800; }

/* Inputs */
.woocommerce input[type=text],
.woocommerce input[type=email],
.woocommerce input[type=tel],
.woocommerce input[type=password],
.woocommerce input[type=number],
.woocommerce textarea,
.woocommerce select,
.wc-block-components-text-input input,
.wc-block-components-select-input select {
  border: 1px solid #e6e9ee !important;
  border-radius: 10px !important;
  padding: 11px 13px !important;
  font-family: inherit !important;
  background: #fff !important;
  color: #222 !important;
  box-shadow: none !important;
}
.woocommerce input:focus, .woocommerce textarea:focus, .woocommerce select:focus {
  border-color: #f6a800 !important;
  outline: none !important;
}

/* Tables (classic cart/order) */
.woocommerce table.shop_table {
  border: 1px solid #e6e9ee;
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.woocommerce table.shop_table th { background: #f5f7f9; color: #16242f; font-weight: 600; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: #e6e9ee; padding: 12px 14px; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-top-color: #f6a800;
  background: #fff;
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 6px 24px rgba(20,40,60,.06);
}
.woocommerce-message::before, .woocommerce-info::before { color: #2e9e44; }

/* Cart / Checkout layout width */
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { max-width: 1100px; margin: 0 auto; }
.wc-block-cart, .wc-block-checkout { background: transparent; }

/* Hide WC plugin breadcrumbs (theme has its own) */
.woocommerce .woocommerce-breadcrumb { display: none; }
.woocommerce-products-header { display: none; }

/* My account */
.woocommerce-account .woocommerce { display: block; }
.woocommerce-MyAccount-navigation { margin-bottom: 20px; }
.woocommerce-MyAccount-navigation ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 9px 14px; border: 1px solid #e6e9ee; border-radius: 10px; color: #28475c; }
.woocommerce-MyAccount-navigation li.is-active a { background: #28475c; color: #fff; border-color: #28475c; }

/* Reset native button styling (fixes blue buttons on Safari/iOS) */
.pill, .qty button, .qty input, .btn, .freset, .icon-btn,
.woocommerce button, .woocommerce input[type=button], .woocommerce input[type=submit] {
  -webkit-appearance: none !important;
  appearance: none !important;
}
.pill { background: #fff !important; color: #222 !important; border: 1px solid #b3bdc9 !important; }
.pill:hover { border-color: #f6a800 !important; }
.pill.active { background: #fff7e6 !important; border-color: #f6a800 !important; color: #222 !important; }
.pill .vradio { background: #fff !important; }
.qty button { background: #fff !important; color: #222 !important; }
.qty input { background: #fff !important; color: #222 !important; }
.btn { color: #fff !important; }
.btn-outline { color: #28475c !important; }
