/* Funhoppers offertelijst: prefix fh-ol / fh-aantal */

/* Knop op kaarten en itempagina */
.fh-ol-knop { cursor: pointer; font-family: inherit; }
.fh-ol-knop::before { content: '+'; font-size: 1.25em; line-height: 1; font-weight: 700; }
.fh-ol-knop.is-in-lijst { background: var(--fh-zacht, #f2f8ec); border-color: var(--fh-licht, #80c24a); color: var(--fh-groen, #00713a) !important; }
.fh-ol-knop.is-in-lijst::before { content: '✓'; font-size: 1em; }
.fh-ol-knop.is-in-lijst:hover { background: var(--fh-licht, #80c24a); color: #fff !important; }

/* Aantal-stepper */
.fh-aantal { display: inline-flex; align-items: stretch; border: 2px solid var(--fh-lijn, #e6e9e3); border-radius: 999px; overflow: hidden; background: #fff; }
.fh-aantal button { width: 42px; border: 0; background: none; font-size: 20px; line-height: 1; color: var(--fh-groen, #00713a); cursor: pointer; padding: 0; }
.fh-aantal button:hover { background: var(--fh-zacht, #f2f8ec); }
.fh-aantal input[type=number] { width: 48px !important; border: 0 !important; padding: 0 !important; text-align: center; font-weight: 700; font-size: 16px; background: none !important; -moz-appearance: textfield; box-shadow: none !important; min-height: 0 !important; }
.fh-aantal input::-webkit-outer-spin-button, .fh-aantal input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.fh-item__knoppen .fh-aantal { height: 50px; }
.fh-item__subknoppen { margin: 14px 0 0; padding: 0; font-size: 14px; line-height: 1.6; color: #666; }
.fh-item__subknoppen a { color: var(--fh-groen, #00713a) !important; font-weight: 600; text-decoration: underline; }
.fh-ol-melding { background: rgba(255,255,255,.14); border-radius: 12px; padding: 12px 16px !important; font-size: 15px !important; }
.fh-ol-melding a { color: #fff !important; font-weight: 700; text-decoration: underline; }

/* Formulier: het itemveld is op de itempagina één regel */
.fh-veld-items textarea { height: 56px !important; min-height: 0 !important; }
.fh-ol .fh-veld-items { display: none !important; }

/* Zwevende knop */
.fh-ol-fab {
	position: fixed; left: 24px; bottom: 24px; z-index: 9990; display: inline-flex; align-items: center; gap: 10px;
	background: #00713a; color: #fff !important; padding: 12px 18px 12px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1;
	border: 2px solid #fff; box-shadow: 0 10px 30px rgba(0, 60, 30, .3); text-decoration: none !important; transition: transform .2s, background .2s;
}
.fh-ol-fab[hidden] { display: none; }
.fh-ol-fab:hover { background: #005a2e; transform: translateY(-2px); }
.fh-ol-fab svg { width: 20px; height: 20px; }
.fh-ol-fab__teller { background: #80c24a; color: #fff; border-radius: 999px; min-width: 24px; height: 24px; padding: 0 7px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }

/* Melding */
.fh-ol-toast {
	position: fixed; left: 50%; bottom: 24px; z-index: 9995; transform: translate(-50%, 140%); opacity: 0;
	display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); width: max-content;
	background: #fff; color: #333; border-radius: 14px; padding: 14px 18px; font-size: 15px; line-height: 1.4;
	box-shadow: 0 14px 40px rgba(0, 0, 0, .18); transition: transform .3s, opacity .3s; pointer-events: none;
}
.fh-ol-toast.is-zichtbaar { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.fh-ol-toast a { color: #00713a !important; font-weight: 700; white-space: nowrap; text-decoration: underline; }
.fh-ol-toast__vink { flex: 0 0 26px; height: 26px; border-radius: 50%; background: #80c24a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Pagina /offertelijst/ */
.fh-ol .main-content { padding-bottom: 64px; }
.fh-ol__kop { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.fh-ol__kop h2 { font-size: 26px; margin: 0; }
.fh-ol__teller { color: #999; font-weight: 500; }
.fh-ol__verder { font-weight: 600; color: var(--fh-groen) !important; }
.fh-ol__items { margin: 0 !important; padding: 0; border-top: 1px solid var(--fh-lijn); }
.fh-ol__item { list-style: none; display: grid; grid-template-columns: 76px minmax(0, 1fr) auto auto; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--fh-lijn); }
.fh-ol__img { display: block; width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: var(--fh-grijs); }
.fh-ol__img img { width: 100%; height: 100%; object-fit: cover; }
.fh-ol__info { display: flex; flex-direction: column; gap: 4px; }
.fh-ol__titel { font-size: 18px; font-weight: 700; color: var(--fh-groen) !important; text-decoration: none; }
.fh-ol__prijs { font-size: 14px; color: #777; }
.fh-ol__item .fh-aantal { height: 44px; }
.fh-ol__weg { border: 0; background: none; color: #999; font-size: 14px; text-decoration: underline; cursor: pointer; padding: 6px; font-family: inherit; }
.fh-ol__weg:hover { color: #c0392b; }
.fh-ol__leeg { text-align: center; padding: 40px 0 20px; }
.fh-ol__leeg h2 { font-size: 26px; margin-bottom: 10px; }
.fh-ol__leeg p { max-width: 560px; margin: 0 auto 24px; font-size: 17px; }

@media (max-width: 640px) {
	.fh-ol-fab { left: 16px; bottom: 16px; }
	.fh-ol__item { grid-template-columns: 64px minmax(0, 1fr); gap: 12px 16px; }
	.fh-ol__img { width: 64px; height: 64px; grid-row: span 2; }
	.fh-ol__item .fh-aantal { justify-self: start; }
	.fh-ol__weg { grid-column: 2; justify-self: start; padding: 0; }
}
