/* FCC Yhdistys – checkout option + My Account tab. Theme-neutral (works on dark and light). */

.fcc-yhdistys-row > td { padding: .9em 0 .6em !important; border-top: 0 !important; }
.fcc-yhdistys-checkout { margin: 0; text-align: left; }
.fcc-yhdistys-title { margin: 0 0 .5em; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .85em; opacity: .85; }
.fcc-yhdistys-options { list-style: none; margin: 0; padding: 0; display: grid; gap: .5em; }
.fcc-yhdistys-options li { margin: 0; padding: 0; list-style: none !important; }
.fcc-yhdistys-options li::before, .fcc-yhdistys-options li::marker { content: none; display: none; }
.fcc-yhdistys-options label { display: grid; grid-template-columns: auto 1fr; column-gap: .6em; align-items: start; padding: .7em .85em; border: 1px solid rgba(128,128,128,.45); border-radius: 8px; cursor: pointer; font-weight: 400; line-height: 1.4; }
.fcc-yhdistys-options label:has(input:checked) { border-color: currentColor; box-shadow: 0 0 0 1px currentColor inset; }
.fcc-yhdistys-options input[type="radio"] { margin: .3em 0 0; grid-row: 1 / span 3; }
.fcc-yhdistys-options strong { display: block; }
.fcc-yhdistys-desc { display: block; grid-column: 2; font-size: .86em; opacity: .85; margin-top: .25em; line-height: 1.45; }
.fcc-yhdistys-notice { opacity: 1; font-weight: 600; }
.fcc-yhdistys-disabled { opacity: .6; cursor: not-allowed; }

.fcc-yhdistys-thankyou .button { margin-left: .75em; }

.fcc-yhdistys-account .fcc-yhdistys-intro { opacity: .85; }
.fcc-yhdistys-muted { opacity: .7; font-size: .9em; margin-left: .4em; }
.fcc-yhdistys-h3 { margin-top: 2em; }
.fcc-yhdistys-summary { display: flex; flex-wrap: wrap; gap: 1em; align-items: center; justify-content: space-between; padding: 1em 1.25em; margin: 1em 0 1.5em; border: 1px solid rgba(128,128,128,.45); border-radius: 8px; }
.fcc-yhdistys-summary strong { display: block; font-size: 1.1em; }
.fcc-yhdistys-ship-all { white-space: nowrap; }

.fcc-yhdistys-order { border: 1px solid rgba(128,128,128,.35); border-radius: 8px; margin: 0 0 1.25em; overflow: hidden; }
.fcc-yhdistys-order--urgent { border-color: #d9534f; }
.fcc-yhdistys-order__head { display: flex; flex-wrap: wrap; gap: .5em 1em; justify-content: space-between; align-items: baseline; padding: .8em 1em; background: rgba(128,128,128,.12); }
.fcc-yhdistys-order__number { font-weight: 700; text-decoration: none; }
.fcc-yhdistys-order__deadline { font-size: .92em; font-weight: 600; }
.fcc-yhdistys-order--urgent .fcc-yhdistys-order__deadline { color: #d9534f; }
.fcc-yhdistys-items { width: 100%; margin: 0; border: 0; border-collapse: collapse; }
.fcc-yhdistys-items td, .fcc-yhdistys-items th { padding: .6em 1em; border: 0; border-top: 1px solid rgba(128,128,128,.2); vertical-align: middle; text-align: left; }
.fcc-yhdistys-items__thumb { width: 56px; }
.fcc-yhdistys-items__thumb img { display: block; width: 48px; height: auto; border-radius: 4px; }
.fcc-yhdistys-items__total { text-align: right !important; white-space: nowrap; }
.fcc-yhdistys-items tfoot th { text-align: right; }
.fcc-yhdistys-footnote { font-size: .9em; opacity: .8; }
.fcc-yhdistys-empty .button { margin-left: .75em; }

.fcc-yhdistys-pending { display: flex; flex-wrap: wrap; gap: .75em; align-items: center; }
.fcc-yhdistys-inline-form { display: inline; margin: 0; }
.fcc-yhdistys-link-button { background: none !important; border: 0 !important; padding: 0 !important; text-decoration: underline; color: inherit !important; font: inherit; cursor: pointer; }

.fcc-yhdistys-ship__orders { padding-left: 1.2em; }
.fcc-yhdistys-ship__address { font-style: normal; padding: .8em 1em; border: 1px solid rgba(128,128,128,.35); border-radius: 8px; display: inline-block; min-width: 240px; }
.fcc-yhdistys-rates { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: .5em; }
.fcc-yhdistys-rates label { display: flex; gap: .6em; align-items: center; padding: .7em 1em; border: 1px solid rgba(128,128,128,.45); border-radius: 8px; cursor: pointer; }
.fcc-yhdistys-rates label:has(input:checked) { border-color: currentColor; box-shadow: 0 0 0 1px currentColor inset; }
.fcc-yhdistys-rates__label { flex: 1; }
.fcc-yhdistys-rates__cost { font-weight: 700; white-space: nowrap; }

@media (max-width: 600px) {
	.fcc-yhdistys-summary, .fcc-yhdistys-order__head { display: block; }
	.fcc-yhdistys-summary .button { margin-top: .75em; display: inline-block; }
}
