/* CF - BiH-only delivery (7 Nov 2026)
   Država in Podaci o kupcu (any country, blocks nothing), the deciding "Država dostave" under
   "Dostava na kućnu adresu" (js/custom/cf-country.js), and the line under a delivery country:
   "Dostavljamo samo na adrese u Bosni i Hercegovini." / "Dostava nije dostupna na vašu lokaciju." */

/* ---- checkout ---- */
/* the selector sits inside the chosen option's square, a field of the address panel's kind */
html body.view-cart #cart-view .form-check-vm .cf-shipc{ position:relative !important; margin:12px 0 0 !important; padding:0 !important; }
html body.view-cart #cart-view .cf-shipc .cf-addr-l{ position:absolute !important; left:12px !important; top:8px !important; transform:none !important; margin:0 !important; padding:0 !important; line-height:1 !important; pointer-events:none !important; z-index:1; white-space:nowrap; }
html body.view-cart #cart-view .cf-shipc select.cf-shipc-s{ display:block !important; width:100% !important; height:60px !important; min-height:60px !important; margin:0 !important; padding:24px 34px 8px 11px !important; border-radius:0 !important; }

/* one chevron for every country select (no select on the checkout had one) */
html body.view-cart #cart-view select.cf-country,
html body.view-cart #checkoutForm select.cf-country{
  background:var(--ck-paper, #FFF) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M.5.5 5 5 9.5.5' fill='none' stroke='%23000'/%3E%3C/svg%3E") no-repeat right 12px center / 10px 6px !important;
  padding-right:34px !important; cursor:pointer; -webkit-appearance:none; appearance:none;
}

/* the line: the panel's own 12px voice, black like the rest of the checkout */
html body.view-cart #cart-view .cf-country-note{
  display:block !important; margin:6px 0 0 !important; padding:0 !important;
  font-size:12px !important; line-height:1.5 !important; letter-spacing:.06em !important;
  font-weight:400 !important; color:var(--ck-ink, #000) !important; text-transform:none !important;
}
html body.view-cart #cart-view .cf-country--out .cf-country-note,
html body.view-cart #cart-view .cf-country-note.is-out{ font-weight:500 !important; }
html body.view-cart #cart-view .cf-country--out select.cf-country,
html body.view-cart #cart-view .cf-shipc--flag select.cf-country{ border-color:var(--ck-ink, #000) !important; }

/* "Preuzmite u prodavnici" / "Unesite adresu u BiH": a ruled link, like the cart's own line controls */
html body.view-cart #cart-view .cf-country-act{
  display:inline !important; min-height:0 !important; height:auto !important; padding:0 !important; margin:0 !important;
  border:0 !important; border-bottom:1px solid var(--ck-ink, #000) !important; border-radius:0 !important;
  background:none !important; box-shadow:none !important; cursor:pointer;
  font:inherit !important; letter-spacing:inherit !important; color:var(--ck-ink, #000) !important; text-transform:none !important;
}
html body.view-cart #cart-view .cf-shipc-gone{ margin:12px 0 0 !important; }
html body.view-cart #cart-view .cf-addr .cf-st-resave{ margin:0 0 11px !important; }

/* while "Država dostave" stands in for it, the other-address form's own Država is folded away
   (it is still posted with that form, carrying the same value) */
html body.cf-shipc-on .cf-addr--st .cf-addr-f--shipto_virtuemart_country_id{ display:none !important; }

/* delivery abroad: Podaci za isporuku greyed out and out of reach (the JS also sets inert) */
html body.view-cart #cart-view .shipping-address-section.cf-ship-locked{
  opacity:.35 !important; pointer-events:none !important; user-select:none !important;
  filter:grayscale(1); transition:opacity .15s ease;
}

/* ---- Moj račun: the account form's voice ---- */
html body .cfa #adminForm .cfa-f select.cf-country{
  background:#FFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M.5.5 5 5 9.5.5' fill='none' stroke='%23000'/%3E%3C/svg%3E") no-repeat right 12px center / 10px 6px !important;
  padding-right:34px !important; cursor:pointer; -webkit-appearance:none; appearance:none;
}
html body .cfa #adminForm .cfa-f .cf-country-note{ display:block; margin:6px 0 0; padding:0; font:400 12px/1.5 Montserrat,sans-serif; letter-spacing:normal; color:#000; }
html body .cfa #adminForm .cfa-f .cf-country-note.is-out{ color:#A82A1E; }
html body .cfa #adminForm .cfa-f.cf-country--out select{ border-color:#A82A1E !important; }

/* ---- anywhere else VirtueMart's own form shows ---- */
.cf-country-note{ margin:6px 0 0; font-size:12px; line-height:1.5; }
.cf-country-note.is-out{ color:#A82A1E; }
