.spf-page-wrap {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.spf-top-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.spf-left-head h1 {
    font-size: 44px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 18px;
    color: #111;
}

.spf-breadcrumb {
    font-size: 15px;
    color: #777;
}

.spf-breadcrumb span {
    margin: 0 8px;
    color: #999;
}

.spf-right-head {
    min-width: 320px;
    max-width: 360px;
    width: 100%;
}

.spf-search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    height: 58px;
    padding: 0 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.spf-search-icon {
    font-size: 22px;
    color: #888;
    margin-right: 10px;
}

.spf-search-box input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 18px;
    color: #333;
    background: transparent;
}

.spf-content-section {
    margin-top: 8px;
}

.spf-section-title {
    font-size: 22px;
    font-weight: 500;
    color: #111;
    margin: 0 0 26px;
}

.spf-card-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    gap: 26px;
}

.spf-card-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 18px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
    text-align: center;
}

.spf-card-item:hover {
    transform: translateY(-3px);
    border-color: #40c7b4;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.spf-card-item.active {
    border-color: #40c7b4;
    box-shadow: 0 0 0 2px rgba(64, 199, 180, 0.15);
}

.spf-card-image-wrap {
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.spf-card-image-wrap img {
    max-height: 82px;
    max-width: 100px;
    width: auto;
    object-fit: contain;
}

.spf-brand-card .spf-card-image-wrap img {
    max-height: 48px;
    max-width: 120px;
}

.spf-card-label {
    font-size: 16px;
    line-height: 1.4;
    color: #111;
    font-weight: 500;
}

@media (max-width: 1400px) {
    .spf-card-grid {
        grid-template-columns: repeat(4, minmax(180px, 1fr));
    }
}

@media (max-width: 1024px) {
    .spf-card-grid {
        grid-template-columns: repeat(3, minmax(160px, 1fr));
    }

    .spf-left-head h1 {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .spf-top-head {
        flex-direction: column;
    }

    .spf-right-head {
        min-width: 100%;
        max-width: 100%;
    }

    .spf-card-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
        gap: 18px;
    }

    .spf-left-head h1 {
        font-size: 30px;
    }

    .spf-card-item {
        min-height: 165px;
        padding: 18px 14px;
    }

    .spf-card-label {
        font-size: 15px;
    }
}


.spf-variant-section {
    margin-top: 10px;
}

.spf-variant-wrap {
    display: flex;
    align-items: flex-start;
    gap: 70px;
    padding: 20px 0 0;
}

.spf-variant-image-box {
    width: 280px;
    min-width: 280px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
}

.spf-variant-image-box img {
    max-width: 180px;
    max-height: 340px;
    object-fit: contain;
}

.spf-variant-content {
    flex: 1;
    max-width: 900px;
}

.spf-selected-model-name {
    font-size: 28px;
    line-height: 1.3;
    font-weight: 500;
    color: #111;
    margin: 0 0 10px;
}

.spf-sold-text {
    font-size: 18px;
    margin: 0 0 22px;
    color: #222;
}

.spf-sold-text span {
    color: #40c7b4;
    font-weight: 500;
}

.spf-variant-box {
    border: 2px solid #7ddfd0;
    border-radius: 14px;
    padding: 22px 20px;
    margin-bottom: 22px;
}

.spf-variant-box h4 {
    font-size: 20px;
    margin: 0 0 18px;
    color: #111;
    font-weight: 600;
}

.spf-variant-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.spf-variant-card {
    min-width: 240px;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
    padding: 18px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.spf-variant-card:hover {
    border-color: #40c7b4;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.spf-variant-card.active {
    border-color: #40c7b4;
    box-shadow: 0 0 0 2px rgba(64, 199, 180, 0.12);
}

.spf-variant-radio {
    width: 24px;
    height: 24px;
    border: 1px solid #cfcfcf;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.spf-variant-card.active .spf-variant-radio::after {
    content: "";
    width: 12px;
    height: 12px;
    background: #40c7b4;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 5px;
}

.spf-variant-text {
    font-size: 18px;
    font-weight: 600;
    color: #111;
}

.spf-get-price-btn {
    min-width: 260px;
    height: 64px;
    border: none;
    border-radius: 10px;
    background: #40c7b4;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    padding: 0 28px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.spf-get-price-btn:hover {
    background: #34b8a5;
}

.spf-get-price-btn:disabled {
    background: #d9d9d9;
    color: #a8a8a8;
    cursor: not-allowed;
}

.spf-no-data {
    font-size: 18px;
    color: #777;
    margin: 0;
}

@media (max-width: 1024px) {
    .spf-variant-wrap {
        flex-direction: column;
        gap: 20px;
    }

    .spf-variant-image-box {
        width: 100%;
        min-width: 100%;
        justify-content: flex-start;
        padding-top: 0;
    }
}

@media (max-width: 767px) {
    .spf-variant-card {
        min-width: 100%;
    }

    .spf-selected-model-name {
        font-size: 24px;
    }

    .spf-get-price-btn {
        width: 100%;
        min-width: 100%;
    }
}



.spf-question-section {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.spf-question-top {
    text-align: center;
    margin-bottom: 35px;
}

.spf-question-top h2 {
    font-size: 38px;
    margin: 0 0 12px;
    font-weight: 500;
    color: #111;
}

.spf-question-top p {
    margin: 0;
    font-size: 20px;
    color: #6d7485;
}

.spf-question-item {
    margin-bottom: 42px;
}

.spf-question-item h3 {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin: 0 0 10px;
}

.spf-question-item p {
    font-size: 17px;
    color: #6d7485;
    line-height: 1.7;
    margin: 0 0 18px;
}

.spf-answer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 240px));
    gap: 20px;
}

.spf-answer-grid-3 {
    grid-template-columns: repeat(3, minmax(180px, 240px));
}

.spf-answer-card {
    min-height: 68px;
    border: 1px solid #dddddd;
    border-radius: 10px;
    background: #fff;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 18px;
    color: #111;
    position: relative;
}

.spf-answer-card::before {
    content: "";
    width: 22px;
    height: 22px;
    border: 1px solid #cccccc;
    border-radius: 50%;
    margin-right: 14px;
    flex-shrink: 0;
}

.spf-answer-card:hover {
    border-color: #40c7b4;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.spf-answer-card.active {
    border-color: #40c7b4;
    background: #f7fffd;
}

.spf-answer-card.active::before {
    border-color: #40c7b4;
    background: radial-gradient(circle, #40c7b4 45%, #fff 46%);
}

.spf-question-btn-wrap {
    text-align: center;
    margin-top: 25px;
}

.spf-result-section {
    max-width: 850px;
    margin: 0 auto;
}

.spf-result-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);
}

.spf-result-card h2 {
    margin: 0 0 28px;
    font-size: 36px;
    color: #111;
}

.spf-result-row {
    font-size: 20px;
    color: #222;
    margin-bottom: 16px;
    line-height: 1.6;
}

.spf-result-price {
    font-size: 34px;
    color: #40c7b4;
    font-weight: 800;
}

.spf-result-actions {
    display: flex;
    gap: 16px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.spf-back-btn {
    min-width: 180px;
    height: 64px;
    border: none;
    border-radius: 10px;
    background: #f1f1f1;
    color: #111;
    font-size: 19px;
    font-weight: 700;
    padding: 0 24px;
    cursor: pointer;
}

.spf-back-btn:hover {
    background: #e5e5e5;
}

@media (max-width: 1024px) {
    .spf-answer-grid,
    .spf-answer-grid-3 {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }
}

@media (max-width: 767px) {
    .spf-question-section,
    .spf-result-card {
        padding: 20px;
    }

    .spf-question-top h2,
    .spf-result-card h2 {
        font-size: 28px;
    }

    .spf-question-top p,
    .spf-question-item p,
    .spf-result-row {
        font-size: 16px;
    }

    .spf-question-item h3 {
        font-size: 19px;
    }

    .spf-answer-grid,
    .spf-answer-grid-3 {
        grid-template-columns: 1fr;
    }

    .spf-result-actions {
        flex-direction: column;
    }

    .spf-back-btn,
    .spf-get-price-btn {
        width: 100%;
    }
}


.spf-price-preview-box {
    margin-bottom: 22px;
}

.spf-price-top-text {
    font-size: 20px;
    color: #111;
    margin-bottom: 10px;
    font-weight: 500;
}

.spf-price-value {
    font-size: 64px;
    line-height: 1;
    font-weight: 800;
    color: #ff6b6b;
    margin-bottom: 10px;
}

.spf-price-value span {
    display: inline-block;
}

.spf-sold-text {
    font-size: 20px;
    margin: 0 0 24px;
    color: #111;
}

.spf-sold-text span {
    color: #40c7b4;
    font-weight: 500;
}

@media (max-width: 767px) {
    .spf-price-value {
        font-size: 44px;
    }

    .spf-price-top-text,
    .spf-sold-text {
        font-size: 17px;
    }
}