/* Custom code goes here - paste your css code below in line 3 */

#edit-address-btn, #edit-address-btn-address, .edit-address-btn {
  background: #fff !important;
  color: #ff9800 !important;
  border: 2px solid #ff9800 !important;
  font-weight: 600;
  border-radius: 4px;
  padding: 5px 14px;
  font-size: 0.98em;
  box-shadow: 0 2px 8px rgba(255,152,0,0.08);
  transition: background 0.2s, color 0.2s, border 0.2s;
}
#edit-address-btn:hover, #edit-address-btn-address:hover, .edit-address-btn:hover {
  background: #ff9800 !important;
  color: #fff !important;
  border-color: #e65100 !important;
}

#edit-address-btn.btn.btn-secondary {
  background: #fff !important;
  color: #ff9800 !important;
  border: 2px solid #ff9800 !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  padding: 4px 12px !important;
  font-size: 0.95em !important;
  min-width: 0 !important;
  min-height: 0 !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
  transition: background 0.2s, color 0.2s, border 0.2s !important;
}
#edit-address-btn.btn.btn-secondary:hover {
  background: #ff9800 !important;
  color: #fff !important;
  border-color: #e65100 !important;
}

.econt-office-fields button,
.econt-address-fields button {
  background: #fff !important;
  color: #ff9800 !important;
  border: 2px solid #ff9800 !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  padding: 4px 12px !important;
  font-size: 0.95em !important;
  min-width: 0 !important;
  min-height: 0 !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
  transition: background 0.2s, color 0.2s, border 0.2s !important;
  margin-top: 12px !important;
  margin-bottom: 12px !important;
}
.econt-office-fields button:hover,
.econt-address-fields button:hover {
  background: #ff9800 !important;
  color: #fff !important;
  border-color: #e65100 !important;
}

@media (max-width: 768px) {
  .econt-office-fields #edit-address-btn,
  .econt-address-fields #edit-address-btn,
  .econt-office-fields .edit-address-btn,
  .econt-address-fields .edit-address-btn {
    width: 80% !important;
    max-width: 200px !important;
    margin: 12px auto !important;
    display: block !important;
    text-align: center !important;
    float: none !important;
    min-width: auto !important;
    background: #fff !important;
    color: #ff9800 !important;
    border: 2px solid #ff9800 !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    padding: 4px 12px !important;
    font-size: 0.95em !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
    transition: background 0.2s, color 0.2s, border 0.2s !important;
  }
  .econt-office-fields #edit-address-btn:hover,
  .econt-address-fields #edit-address-btn:hover,
  .econt-office-fields .edit-address-btn:hover,
  .econt-address-fields .edit-address-btn:hover {
    background: #ff9800 !important;
    color: #fff !important;
    border-color: #e65100 !important;
  }
}

@media (max-width: 900px) {
  a.edit-address.btn-outline-primary,
  a.delete-address.btn-outline-danger {
    background: #fff !important;
    border-width: 2px !important;
    border-style: solid !important;
    font-weight: bold !important;
    border-radius: 4px !important;
    padding: 8px 20px !important;
    min-width: 120px !important;
    text-align: center !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: background 0.2s, color 0.2s, border 0.2s !important;
  }
  a.edit-address.btn-outline-primary {
    color: #007cba !important;
    border-color: #007cba !important;
  }
  a.edit-address.btn-outline-primary:hover {
    background: #007cba !important;
    color: #fff !important;
    border-color: #005a87 !important;
  }
  a.delete-address.btn-outline-danger {
    color: #dc3545 !important;
    border-color: #dc3545 !important;
  }
  a.delete-address.btn-outline-danger:hover {
    background: #dc3545 !important;
    color: #fff !important;
    border-color: #b71c1c !important;
  }
}


/* Autocomplete category image size */
.autocomplete-category-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
}

/* Сини линкове само за autocomplete категории */
.ui-autocomplete .autocomplete-category-item a,
.ui-autocomplete .autocomplete-category-item a:visited,
.ui-autocomplete .autocomplete-category-item .autocomplete-category-link,
.ui-autocomplete .autocomplete-category-item span.autocomplete-category-link {
    color: #1976d2 !important;
    text-decoration: none !important;
    font-weight: normal !important;
}

/* Евро цената под основната цена - същия размер като лева */
.shipping-delivery-label .price {
    font-size: 24px !important;
    line-height: 32px !important;
    font-weight: bold !important;
    display: block;
    margin-bottom: 0;
}

/* Оранжеви цени в лева в модал "добавен в количката" */
#blockcart-modal .modal-content .price,
#blockcart-modal .modal-content p .price,
#blockcart-modal .modal-content p.price {
    color: #ff5722 !important;      /* Оранжево */
    font-size: 1.25em !important;   /* Като евро */
    font-weight: bold !important;   /* Bold */
    display: inline-block;
}

/* --- Евро цена в product listing да е като лева (само за listing) --- */
.product-miniature .product-price .price + br + .price,
.product-miniature .product-price .price-eur,
.product-miniature .product-price .price_eur {
    font-size: 1.25em !important;
    font-weight: bold !important;
    color: #28a745 !important;
    display: block;
    margin-top: 2px;
}
/* Ако евро цената няма отделен клас, но е вторият .price в .product-price */
.product-miniature .product-price .price ~ .price {
    font-size: 1.25em !important;
    font-weight: bold !important;
    color: #28a745 !important;
    display: block;
    margin-top: 2px;
}

/* --- Евро цена в product listing (pl_price_default .product-price) да е с 15% по-голяма от лева --- */
.pl_price_default .product-price {
    font-size: 1.15em !important;
    font-weight: bold !important;
    color: #28a745 !important;
    display: block;
    margin-top: 2px;
}

/* --- Цени в лева в product listing да станат зелени като евро --- */
.product-price-and-shipping .price,
.product-price-and-shipping .product-price {
    color: #28a745 !important;
}

/* --- Цена в лева на продуктовата страница да стане зелена като евро --- */
.product-prices .current-price .price,
.product-prices .current-price span.price {
    color: #28a745 !important;
}

/* --- Цени в лева в autocomplete резултати да станат зелени като евро --- */
.ui-autocomplete .search_price {
    color: #28a745 !important;
}

/* --- Цени в лева в количка да станат зелени като евро --- */
.cart-summary-line .value,
#subcart ul.cart-subtotals li .value {
    color: #28a745 !important;
}

/* --- Цени в лева в модал на количката да станат зелени като евро --- */
#blockcart-modal .price,
#blockcart-modal .divide-right .price {
    color: #28a745 !important;
}


