/* Sapunerija Paketi – izgled usklađen s poljem za količinu i gumbom teme
   (Helvetica, smeđa #504137, okvir #666, radijus 3px, visina 40px).
   Selektori su namjerno specifični da ih Elementor/tema ne pregaze. */

.sp-paket-forma .sp-paket { margin: 0 0 18px; font-family: inherit; color: inherit; }
.sp-paket-forma .sp-uputa { margin: 0 0 14px; font-size: 15px; line-height: 1.5; }

.sp-paket-forma .sp-mjesto { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; padding: 0; }
.sp-paket-forma .sp-mjesto label { flex: 0 0 72px; margin: 0; font-size: 16px; line-height: 1.3; color: inherit; cursor: pointer; white-space: nowrap; }

.sp-paket-forma .sp-mjesto select {
	box-sizing: border-box; flex: 1 1 auto; min-width: 0; width: 100%; max-width: 420px;
	height: 40px; margin: 0; padding: 0 36px 0 12px;
	font-family: inherit; font-size: 15px; line-height: 38px; color: #504137;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23504137' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center; background-size: 12px 8px;
	border: 1px solid #666; border-radius: 3px; box-shadow: none;
	-webkit-appearance: none; -moz-appearance: none; appearance: none; cursor: pointer;
	text-overflow: ellipsis;
}
.sp-paket-forma .sp-mjesto select:focus { outline: 2px solid rgba(80, 65, 55, .35); outline-offset: 1px; border-color: #504137; }
.sp-paket-forma .sp-mjesto.sp-prazno select { color: #8a7d72; }
.sp-paket-forma .sp-mjesto select option { color: #504137; }
.sp-paket-forma .sp-mjesto select option:disabled { color: #b5aca4; }

/* Pokušaj dodavanja bez svih odabira */
.sp-paket-forma .sp-paket.sp-upozorenje .sp-mjesto.sp-prazno select { border-color: #b32d2e; }
.sp-paket-forma .sp-paket.sp-upozorenje .sp-mjesto.sp-prazno label { color: #b32d2e; }

.sp-paket-forma button.single_add_to_cart_button.button.disabled, .sp-paket-forma button.single_add_to_cart_button.button:disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 480px) {
	.sp-paket-forma .sp-mjesto label { flex-basis: 64px; font-size: 15px; }
	.sp-paket-forma .sp-mjesto select { max-width: none; font-size: 16px; } /* 16px: iOS ne zumira */
}

/* Gumb u bojama teme. WooCommerce bi onemogućeni gumb (i gumb paketa, jer
   nema Elementorovog omotača) obojio ljubičasto, zato !important. */
.sp-paket-forma button.single_add_to_cart_button.button,
.sp-paket-gumb-wrap button.sp-paket-gumb.button { background-color: #504137 !important; color: #fff !important; }
