/* Container */
.cf-main-container {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    min-height: calc(100vh - 90px);
    margin-inline: 26px;
}

.cf-container {
    width: 50%;
    margin: 30px auto;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-height: 490px;
    border: solid 1px #bfbfbf52;
    margin-bottom: 0;
}

/* Progress Bar Wrapper */
.cf-progress-wrapper {
    margin-bottom: 25px;
}

.cf-progress-label {
    font-size: 14px;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

/* Progress Bar */
.cf-progress-bar {
    width: 100%;
    height: 4px;
    background: #e6e6e6;
    border-radius: 3px;
}

.cf-progress-fill {
    height: 4px;
    width: 0%;
    background: var(--green-default);
    transition: width 0.3s ease;
    border-radius: 3px;
}

/* Steps */
.cf-step {
    display: none;
}

.cf-step.active {
    display: block;
}

/* Question Title */
.cf-question-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: normal;
}

/* Options */
.cf-option {
    display: block;
    border: 1px solid #ddd;
    padding: 8px;
    margin-bottom: 12px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--green-dark);
}

.cf-option:hover {
    border-color: var(--green-default);
}

.cf-option input {
    margin-right: 10px;
}

.consultation_consent_checkbox .custom-checkbox {
    margin-top: 30px;
}


.cf-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}


/* ====================================================================tab steps form start====================================================================================== */
/* ---------- Step Tabs ---------- */
.step-tabs {
    display: flex;
    justify-content: space-between;
    background: #1333b40a;
    padding: 12px 20px;
}

.step-tab {
    flex: 1;
    text-align: center;
    padding-bottom: 8px;
    color: #777;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
}

.step-tab.active {
    color: var(--green-default);
    border-bottom-color: var(--green-default);
}

/* ---------- Main Box ---------- */
.agreement-wrapper {
    max-width: 700px;
    margin: 30px auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
}

.agreement-title {
    text-align: center;
    font-size: 24px;
    color: var(--green-dark);
    margin-bottom: 25px;
}

/* ---------- List ---------- */
.agreement-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.agreement-item {
    padding-left: 20px;
    margin-bottom: 14px;
    line-height: 1.5;
    position: relative;
}

.agreement-item::before {
    content: "◆";
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 12px;
    color: #444;
}

/* ---------- Button ---------- */
.btn-primary:hover {
    background: var(--green-default);
}

/* ---------- Trustpilot ---------- */
.trustpilot-box {
    text-align: center;
    margin-top: 20px;
    color: #555;
}

.trustpilot-logo {
    height: 20px;
    vertical-align: middle;
    margin-left: 5px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}


h2.cf-question-title {
    height: 100%;
    color: var(--green-dark);
}

.thankyoufomrpage h2 {
    color: #4bb543;
}

/* check box animation css start */
.thanks_animation_check .icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.thanks_animation_check .icon {
    width: 100px;
    height: 100px;
    position: relative;
}

/* Checkmark Icon */
.thanks_animation_check .checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #4bb543;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #4bb543;
}

.thanks_animation_check .checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #4bb543;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.thanks_animation_check .checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

#question_container .lys_ul_lpcty {
    padding-left: 18px;
}

/*-------------------Abort Card ---------------*/
.abort_card {
    display: flex;
    justify-content: center;
}

.abort_card .abort_title {
    color: #b00020;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
}

/*-------------------------
    Start product card
------------------------*/

.product-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
    background: #fff;
    position: relative;
}

.product-card .product-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-card .product-title {
    font-size: 22px;
    font-weight: 700;
    color: #1A2C3C;
}

.blue_btn:disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Quantity Wrapper */
.qty-wrapper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Buttons */
.qty-btn {
    width: 38px;
    height: 38px;
    border: none;
    background: var(--green-default);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Input */
.qty-input {
    width: 55px !important;
    height: 38px;
    border: none !important;
    text-align: center;
    font-weight: 600;
    font-size: 14px !important;
    outline: none !important;
}

/* Remove default arrows */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input[type=number] {
    -moz-appearance: textfield;
}

/* Disabled state */
.qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/*-------------------------
    End product card
------------------------*/

/*-------------------------Product Detail Start-------------------------*/
.product_image_wrapper {
    border-radius: 8px;
    overflow: hidden;
    border: solid 2px #bfbfbf;
    width: 120px;
    height: 120px;
    position: relative;
}

.product_image_wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product_image_wrapper a {
    background: #f5e5e5;
    padding: 4px;
    border-radius: 0 0 0 8px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0px 0px 40px 0px;
    border-radius: 12px;
    margin-top: 20px;
}


.product_detail_box {
    background: white;
    border-radius: 8px;
    padding: 0 30px;
    max-width: 900px;
    margin: 0 auto;
}



.product-image-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-main-image {
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

/* Thumbnail Slider Styles */
.thumbnail-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-arrow {
    background: white;
    border: 1px solid #ddd;
    width: 35px;
    height: 35px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.slider-arrow:hover {
    background: #f0f0f0;
    border-color: #999;
}

.slider-arrow svg {
    width: 16px;
    height: 16px;
}

.thumbnail-slider {
    display: flex;
    gap: 10px;
    overflow: hidden;
    flex: 1;
    position: relative;
}

.thumbnail-item {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    overflow: hidden;
    background: #f8f8f8;
    display: none;
    /* Hide by default */
    align-items: center;
    justify-content: center;
}

.thumbnail-item.visible {
    display: flex;
    /* Show only visible items */
}

.thumbnail-item:hover {
    border-color: #999;
}

.thumbnail-item.active {
    border-color: #2c5aa0;
    box-shadow: 0 0 0 1px #2c5aa0;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details-section {
    display: flex;
    flex-direction: column;
    border-radius: 0;
    overflow: unset;
    box-shadow: unset;
    background: transparent;
    padding: 0px;
    cursor: default;
}

.product-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
}

.pwh_box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pwh_box .meta {
    font-size: 15px;
    color: #333;
}

.pwh_box .meta .label {
    font-weight: bold;
    width: 80px;
    display: inline-block;
}

.table_wrapper_box {
    max-height: calc(100vh - 255px);
}


@media (max-width: 768px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
    }

    .thumbnail-item {
        width: 70px;
        height: 70px;
    }
}

/*-------------------------Product Detail End-------------------------*/

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

#question_container .cf-step {
    max-height: calc(100vh - 320px);
    overflow-y: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
    .agreement-wrapper {
        padding: 20px;
    }

    .agreement-title {
        font-size: 20px;
    }

    .step-tabs {
        font-size: 13px;
    }
}

/* ====================================================================tab steps form End====================================================================================== */