/* =========================================================
   Čebelarstvo Orel – WooCommerce prilagoditve
   Česar predloga nima: blagajna (blok WooCommerce), račun, obvestila,
   izdelek brez fotografije ali cene, stanje gumbov med AJAX zahtevo.
   ========================================================= */

/* --- Gumbi med zahtevo --- */
[data-dodaj-v-kosarico][aria-busy="true"], .kos-postavka[aria-busy="true"] { opacity: .65; pointer-events: none; }
[data-dodaj-v-kosarico][disabled] { opacity: .55; cursor: not-allowed; }

/* --- Izdelek brez fotografije / cene --- */
.izd-oder--prazen { aspect-ratio: 1 / 1; border-radius: 22px; background: repeating-linear-gradient(135deg, #f6efe1 0 14px, #f2e8d6 14px 28px); }
.izd-kmalu { margin-top: 1.25rem; padding: .9rem 1.1rem; border-radius: 12px; background: #fdf3e2; border: 1px dashed #efc58c; font-size: var(--fs-majhno); line-height: 1.5; color: var(--c-naslov); }

/* --- Obvestila WooCommerce --- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  list-style: none; margin: 0 0 1.5rem; padding: .9rem 1.1rem; border-radius: 12px;
  background: #fdf3e2; border: 1px solid #efc58c; color: var(--c-naslov); font-size: var(--fs-majhno); line-height: 1.5;
}
.woocommerce-error { background: #fdf0ef; border-color: #e7a19b; }
.woocommerce-message a, .woocommerce-info a, .woocommerce-error a { color: var(--c-oranzna-temna); font-weight: 600; }

/* --- Blagajna in račun (bloki in obrazci WooCommerce v slogu teme) --- */
.orel-woo { font-family: var(--f-besedilo); color: var(--c-besedilo); }
.orel-woo h2, .orel-woo h3, .orel-woo .wc-block-components-title, .orel-woo .wc-block-components-checkout-step__title {
  font-family: var(--f-naslovi); font-variant-ligatures: none; font-weight: 600; color: var(--c-naslov); line-height: 1.1;
}
.orel-woo .wc-block-components-checkout-step__title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.orel-woo a { color: var(--c-oranzna-temna); }

.orel-woo .wc-block-components-text-input input,
.orel-woo .wc-block-components-combobox .components-combobox-control input,
.orel-woo .wc-block-components-textarea,
.orel-woo .wc-blocks-components-select .wc-blocks-components-select__select,
.orel-woo input.input-text, .orel-woo select, .orel-woo textarea {
  border: 2px solid #ecdcc3 !important; border-radius: 12px !important; background-color: #fffdf9 !important; font-family: var(--f-besedilo);
}
.orel-woo .wc-block-components-text-input input:focus,
.orel-woo input.input-text:focus, .orel-woo select:focus, .orel-woo textarea:focus {
  outline: none; border-color: var(--c-oranzna) !important; box-shadow: 0 0 0 4px rgba(238, 100, 16, .14) !important;
}
.orel-woo .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--c-oranzna-temna); border-color: var(--c-oranzna-temna); }
.orel-woo .wc-block-components-radio-control__input:checked { border-color: var(--c-oranzna-temna); }
.orel-woo .wc-block-components-radio-control__input:checked::before { background: var(--c-oranzna-temna); }

.orel-woo .wc-block-components-button:not(.is-link), .orel-woo .button, .orel-woo button[type="submit"] {
  min-height: 3.25rem; padding: .75em 1.75em; border: 0; border-radius: var(--r-gumb) !important;
  background: var(--c-oranzna-temna) !important; color: #fff !important;
  font-family: var(--f-besedilo); font-size: var(--fs-gumb); font-weight: 500; cursor: pointer;
}
.orel-woo .wc-block-components-button:not(.is-link):hover, .orel-woo .button:hover, .orel-woo button[type="submit"]:hover { background: #a64801 !important; }

.orel-woo .wp-block-woocommerce-checkout-order-summary-block,
.orel-woo .woocommerce-MyAccount-navigation {
  border-radius: 18px; background: var(--c-ozadje-toplo); border: 1px solid #f0dfc3;
}
.orel-woo .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.orel-woo .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-weight: 600; color: var(--c-naslov); }
.orel-woo .wc-block-components-product-metadata__description, .orel-woo .wc-block-components-product-details { font-size: .875rem; color: var(--c-besedilo-blago); }

/* Račun: navigacija */
.orel-woo .woocommerce-MyAccount-navigation { padding: 1rem 1.25rem; }
.orel-woo .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.orel-woo .woocommerce-MyAccount-navigation a { display: block; padding: .4rem 0; text-decoration: none; color: var(--c-besedilo); }
.orel-woo .woocommerce-MyAccount-navigation .is-active a { color: var(--c-oranzna-temna); font-weight: 600; }

