/* =====================================================================
   BK Media Mobile Order Form Polish (Safe CSS-Only Overrides)
   ===================================================================== */

/* 1. Hide ONLY the yellow "Have questions? Contact our sales team" box */
#order-standard_cart .alert-warning:has(a[href*="contact.php"]),
#order-standard_cart .sidebar-collapsed .alert-warning {
  display: none !important;
}

/* 2. Mobile Categories & Centered Half-Width Currency Dropdown */
@media (max-width: 991.98px) {
  /* Crisp, readable text & single clean arrow on Categories and Currency dropdowns */
  #order-standard_cart select.form-control,
  #order-standard_cart select.custom-select,
  .categories-collapsed select.form-control,
  .sidebar-collapsed select.form-control {
    background-color: #161b26 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://w3.org' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 12px 12px !important;
    color: #f1f5f9 !important;
    border: 1px solid #334155 !important;
    border-radius: 8px !important;
    min-height: 44px !important;
    font-size: 15px !important;
    padding: 8px 34px 8px 12px !important;
    -webkit-appearance: none !important;
    appearance: none !important;
  }

  /* Center the half-width Currency selector cleanly below the Categories card */
  #order-standard_cart .currency-selector,
  .categories-collapsed .currency-selector,
  #order-standard_cart .pull-right:has(select[name="currency"]),
  #order-standard_cart .float-right:has(select[name="currency"]),
  #order-standard_cart div:has(> form > select[name="currency"]),
  #order-standard_cart div:has(> select[name="currency"]) {
    float: none !important;
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 12px 0 14px 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
  }

  #order-standard_cart form:has(> select[name="currency"]),
  #order-standard_cart .currency-selector form,
  #order-standard_cart select[name="currency"] {
    width: 55% !important;
    min-width: 160px !important;
    max-width: 240px !important;
    margin: 0 auto !important;
    display: block !important;
  }
}
