/* Cancork Floor Finder. Scoped under .cff-finder. Brand: navy #0b2f4b, gold #C5A065. */
.cff-finder {
    max-width: 720px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.5;
    color: #0b2f4b;
}
.cff-finder * {
    box-sizing: border-box;
}
.cff-card {
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    padding: 24px 20px;
    box-shadow: 0 2px 10px rgba(11, 47, 75, 0.08);
}
.cff-progress {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}
.cff-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dcdcdc;
}
.cff-dot.is-active {
    background: #C5A065;
}
.cff-step {
    display: none;
}
.cff-step.is-active {
    display: block;
}
.cff-question {
    margin: 0 0 16px;
    font-size: 1.25em;
    font-weight: 700;
    color: #0b2f4b;
    text-align: center;
}
.cff-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.cff-option {
    display: block;
    width: 100%;
    padding: 14px 16px;
    background: #ffffff;
    border: 2px solid #d9d9d9;
    border-radius: 8px;
    color: #0b2f4b;
    font-size: 1em;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.cff-option:hover,
.cff-option:focus-visible {
    border-color: #C5A065;
    background: #faf6ef;
}
.cff-option.is-selected {
    border-color: #C5A065;
    background: #faf6ef;
}
.cff-email-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cff-label {
    font-weight: 600;
    font-size: 0.9em;
}
.cff-input {
    padding: 12px 14px;
    border: 2px solid #d9d9d9;
    border-radius: 8px;
    font-size: 1em;
    color: #0b2f4b;
}
.cff-input:focus {
    outline: none;
    border-color: #C5A065;
}
.cff-error {
    margin: 0;
    color: #a03030;
    font-size: 0.9em;
}
.cff-submit {
    margin-top: 8px;
    padding: 14px 24px;
    background: #C5A065;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
}
.cff-submit:hover {
    background: #b38f55;
}
.cff-skip {
    background: none;
    border: none;
    color: #0b2f4b;
    text-decoration: underline;
    font-size: 0.9em;
    cursor: pointer;
    padding: 8px;
}
.cff-loading {
    text-align: center;
    padding: 24px 0;
}
.cff-results {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
.cff-product {
    display: flex;
    gap: 14px;
    align-items: center;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 12px;
}
.cff-thumb {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    max-width: 100%;
}
.cff-product-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.cff-product-name {
    color: #0b2f4b;
    font-weight: 700;
    text-decoration: none;
}
.cff-product-name:hover {
    text-decoration: underline;
}
.cff-product-price {
    color: #555555;
    font-size: 0.95em;
}
.cff-sample-link {
    color: #C5A065;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95em;
}
.cff-sample-link:hover {
    text-decoration: underline;
}
.cff-empty {
    text-align: center;
    color: #555555;
}
.cff-cta-wrap {
    text-align: center;
    margin: 18px 0 0;
}
.cff-cta {
    display: inline-block;
    padding: 12px 26px;
    background: #0b2f4b;
    color: #ffffff;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}
.cff-cta:hover {
    background: #12466e;
    color: #ffffff;
}
.cff-nav {
    margin-top: 16px;
}
.cff-back {
    background: none;
    border: none;
    color: #555555;
    text-decoration: underline;
    cursor: pointer;
    padding: 4px 0;
    font-size: 0.9em;
}
@media (min-width: 480px) {
    .cff-options {
        grid-template-columns: 1fr 1fr;
    }
    .cff-card {
        padding: 32px 36px;
    }
    .cff-results {
        grid-template-columns: 1fr 1fr;
    }
    .cff-product {
        flex-direction: column;
        align-items: flex-start;
    }
    .cff-thumb {
        width: 100%;
        height: 140px;
    }
}
