@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "Open Sans", sans-serif;
}

*{ box-sizing: border-box;}

/* optional css */

:root{
  --ColorGray:#f4f4f4;
  --Heading:#171a20;
  --Text:#5c5e62;
  --Blue:#3e6ae1;
  --White:#fff;
  --Divider:#d0d1d2;
}
.popup-background {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #606060;
    z-index: 100;
    opacity: .5;
}

.d-flex {
    display: -webkit-box!important;
    display: -ms-flexbox!important;
    display: flex!important;
}

.align-items-center {
    -webkit-box-align: center!important;
    -ms-flex-align: center!important;
    align-items: center!important;
}

.justify-content-center {
    -webkit-box-pack: center!important;
    -ms-flex-pack: center!important;
    justify-content: center!important;
}

.text-center{ text-align: center;}
.ml-auto{ margin-left: auto;}
.w-100{ width: 100%;}

 .aside-bar p {margin: 0;margin-bottom: 5px;}

 .button:disabled {
    opacity: .65;
    cursor: not-allowed;
}


.main-wrapper{ height: 100vh;}
.gallery-container {display: flex; height: 100%;}
.gallery-slider{ height: 100%;}

.gallery-presentation {
    width: calc(100% - 400px);
    position: sticky;
    top: 0;
    overflow: hidden; /* ADD THIS LINE */
}
/* Add styles for scrollable slide content */
.slide-content-container {
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.slider-img{ height: 100%;}
.slider-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gallery-slider .swiper-button-next:after, 
.gallery-slider .swiper-button-prev:after {
    font-size: 20px;
    color: var(--Heading);
}

.gallery-slider .swiper-button-next, 
.gallery-slider .swiper-button-prev {
    width: 40px;
    height: 40px;
    display: none;
    background: var(--Divider);
    border-radius: 4px;
}

.aside-bar {
    flex: 0 0 auto;
    width: 600px;
    padding: 30px;
    color: var(--Text);
    font-size: 14px;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    height: 100%;
}



.title-main {
    font-size: 40px;
    line-height: 48px;
    text-align: center;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 30px;
    color: var(--Heading);
}



.subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 14px;
}

.subtitle .icon {
    flex: 0 0 auto;
    width: 32px;
}

.subtitle .icon img {
    width: 100%;
    display: block;
}

.subtitle p {
    margin: 0;
    color: var(--Text);
}

.signaturetabbar {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
}

.activesignaturetab {
    font-size: 14px;
    font-weight: bold;
    color: var(--ActiveTabTextColor) !important;
    display: inline-block;
    cursor: pointer;
    padding-top: 8px;
    padding-bottom: 8px;
    background: var(--ActiveTabBackGroundColor);
    border: solid 1px #666;
    width: calc((100%)/2);
}

.inactivesignaturetab {
    font-size: 14px;
    font-weight: bold;
    color: var(--InactiveTabTextColor);
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    padding-top: 8px;
    padding-bottom: 8px;
    background: var(--InactiveTabBackGroundColor);
    border: solid 1px #666;
    width: calc((100%)/2);
}

.signaturebody {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    width: 300px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: 0;
    padding: 5px 5px;
    background-color: #b3b3b3;
    font-family: Helvetica, Sans-Serif;
}

.signature-pad {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    font-size: 10px;
    width: 100%;
    height: 100%;
    border: 1px solid #e8e8e8;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
    border-radius: 4px;
    padding: 0px;
}

    .signature-pad::before,
    .signature-pad::after {
        position: absolute;
        z-index: -1;
        content: "";
        width: 40%;
        height: 0px;
        bottom: 0px;
        background: transparent;
        box-shadow: 0 8px 12px rgb(0, 0, 0);
    }

    .signature-pad::before {
        left: 0px;
        -webkit-transform: skew(-3deg) rotate(-3deg);
        transform: skew(-3deg) rotate(-3deg);
    }

    .signature-pad::after {
        right: 0px;
        -webkit-transform: skew(3deg) rotate(3deg);
        transform: skew(3deg) rotate(3deg);
    }

.signature-pad--body {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    border: 1px solid #f4f4f4;
}

    .signature-pad--body
    canvas {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 250px;
        border-radius: 4px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
    }

.signature-pad--footer {
    color: #C3C3C3;
    text-align: center;
    font-size: 1.2em;
    margin-top: 8px;
}

.signature-pad--actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 8px;
}



.mb-16{ margin-bottom: 16px !important;}


.specs {display: flex;align-items: center;justify-content: space-between;gap: 8px;margin-bottom: 16px;}
.specs .spec-item {text-align: center;}
.specs .spec-item .lead-text {font-size: 20px;font-weight: 600;color: var(--Heading);}
.specs .spec-item .value {font-weight: 600;color: var(--Heading);}
.specs .spec-item p{margin: 0px;}



/* Tab css start */
.tab-buttons {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: space-between;
  border-bottom: 1px solid var(--Divider);
  margin-bottom: 16px;
}

.tab-btn, .tab-button {
  padding: 10px 20px;
  cursor: pointer;
  border: 0;
  background-color: transparent;
  font-size: 14px;
  color: var(--Text);
  font-weight: 600;
  position: relative;
}
.tab-btn::before, .tab-button::before {
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background: transparent;
}
.tab-btn.active, .tab-button.active {color: var(--Heading);}
.tab-btn.active::before, .tab-button.active::before {background-color: var(--Heading);}

.tab-content {display: none;}
.tab-content.active {display: block;}

/* Tab css end */

.label-title p {margin: 0;}
.view-detail {
    font-size: 12px;
    text-transform: capitalize;
    font-weight: 500;
}
.options-item{ margin-bottom: 16px;}
.options-group .d-flex {
    font-weight: 600;
    border: 1px solid var(--Divider);
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 3px;
    cursor: pointer;
}
.options-group .d-flex.withImage {
    font-weight: 600;
    border: 1px solid var(--Divider);
    border-radius: 4px;
    padding: 5px!important;
    margin-bottom: 3px;
    cursor: pointer;
}



.options-group .img {
    flex: 0 0 auto;
    width: 90px;
}

    .options-group .img img {
        width: 100%;
        display: block;
        min-height: 68px;
        object-fit: cover;
    }


.options-group.active .d-flex{ background-color:var(--ColorGray);   border-color: var(--Divider);}

.sec-view-compare {
    border-radius: 4px;
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
    background: var(--ColorGray);
    padding-right: 24px;
    margin-bottom: 16px;
}

.sec-view-compare .img {
    flex:  0 0  auto;
    width: 90px;
}

.sec-view-compare .img img {
    width: 100%;
    display: block;
    min-height: 68px;
    object-fit: cover;
}

.sec-view-compare .d-flex {
    gap: 16px;
    text-decoration: none;
    color: var(--Heading);
    font-weight: 500;
}

.link-underline {color: var(--Text); text-decoration: underline;}
.disclaimer-text p {margin: 0;}
.disclaimer-text {margin-bottom: 16px;}


.toggle-container {
  display: block;
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.toggle-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.toggle-container .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: var(--ColorGray);
  border-radius: 4px;
  border: 1px solid var(--Divider);
}


.toggle-container:hover input ~ .checkmark {background-color: #ccc;}
.toggle-container input:checked ~ .checkmark {background-color: var(--ColorGray);}
.toggle-container .checkmark:after {content: "";position: absolute;display: none;}
.toggle-container input:checked ~ .checkmark:after {display: block;}
.toggle-container .checkmark:after {
  left: 6px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid var(--Heading);
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}


.block-header {text-align: center;}
.title-subheading {font-weight: 600;margin-bottom: 5px;}
.h2 {
    margin-top: 0;
    margin-bottom: 5px;
    color: var(--Heading);

}


.option-details{ gap: 10px;}
.option-details-item{ position: relative;}
.option-details-item input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}
.option-details-item label {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--Divider);
    padding: 5px;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.option-details-item label img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.option-details-item input:checked ~ label{ border-color: var(--Heading);}

.aside-item {
    padding-bottom: 0vh;
}


.summary-price .h2 {
    font-size: 24px;
    font-weight: bold;
    line-height: 100%;
}

.summary-price p {
    font-size: 12px;
    font-weight: 500;
    margin: 0;
}

.summary-box .d-flex {
    gap: 6px;
}

.button {
    border: 1px solid var(--Divider);
    padding: 10px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: inline-block;
}
.button-small {
    border: 1px solid var(--Divider);
    padding: 2px;
    padding-left:5px;
    padding-right:5px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--Blue)!important;
    border-color: var(--Blue)!important;
    color:var(--White);
}

.btn-secondary {
    background: var(--White);
    border-color: var(--Divider);
    color:var(--Text);
}

.payment-container .button.btn-secondary {
    width: 100%;
    margin-bottom: 30px;
}


.aside-footer {
    box-shadow: 0 -2px 8px 0 #0000001a;
    padding: 20px;
    border-radius: 10px;
    position: fixed;
    bottom: 0;
    right: 20px;
    z-index: 1;
    width: 371px;
    background: var(--White);
    transition: transform 0.3s ease;
}
.aside-footer.hide-on-scroll {transform: translateY(100%);}

.form-input-option{position: relative;margin-bottom:6px;}

.form-input-option label{
    position: relative;
    border: 1px solid var(--Divider);
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    justify-content: space-between;
    gap: 10px;
    padding-left: 45px;
    min-height: 53px;
}
/* Container: left and right */
.form-input-option-new {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--Divider);
    border-radius: 4px;
    padding: 10px;
    gap: 10px;
}

/* Label wraps checkbox + text + price */
.option-label-new {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    cursor: pointer;
    position: relative; /* for pseudo checkmark */
}

    /* HIDE native input completely */
    .option-label-new input[type="checkbox"] {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
        pointer-events: none;
    }

    /* Custom checkmark */
    .option-label-new .checkmark {
        width: 20px;
        height: 20px;
        border: 1px solid var(--Divider);
        border-radius: 4px;
        background-color: var(--ColorGray);
        position: relative;
        flex-shrink: 0;
    }

    /* Tick mark */
    .option-label-new input:checked + .checkmark:after {
        content: "";
        position: absolute;
        left: 6px;
        top: 2px;
        width: 4px;
        height: 8px;
        border: solid var(--Heading);
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
        display: block;
    }

/* Text + price */
.option-text {
    margin-left: 5px;
}

.price {
    margin-left: 10px;
}

/* Modal icon right */
.details.open-modal-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


.price {
    margin-left: 10px;
}

/* RIGHT: modal icon */
.details.open-modal-btn {
    flex-shrink: 0; /* prevents shrinking */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


.price {
    flex: 0 0 auto;
}

.open-modal-btn {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    z-index: 3;
}

.form-input-option input:checked ~ label{
    background-color: var(--ColorGray);
    border-color: var(--Divider);
}
.form-input-option-new:has(input:checked) {
    background-color: var(--ColorGray);
    border-color: var(--Divider);
}
.form-input-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 100%;
    width: 100%;
    z-index: 1;
    margin: 0px;
}
.form-input-option label .details {
  color:darkslateblue!important;
  

}


.form-input-option .checkmark {
    position: absolute;
    top: 15px;
    left: 16px;
    height: 20px;
    width: 20px;
    background-color: var(--ColorGray);
    border-radius: 4px;
    border: 1px solid var(--Divider);
}



.form-input-option .checkmark:after {
    content: "";
    display: none;
    position: absolute;
}
.form-input-option .checkmark:after {
    left: 6px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid var(--Heading);
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.form-input-option input:checked ~ label .checkmark:after {
    display: block;
}

/* Hide by default (desktop, tablet, etc.) */
.mobile-only {
    display: none !important;
}

/* Show only on mobile (adjust 768px as your breakpoint) */
@media screen and (max-width: 768px) {
    .mobile-only {
        display: inline-block !important; /* works better for <a> */
    }
}

.pricing-list .pricing-item {
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 0px;
    font-size: 13px;
}
    .pricing-list .pricing-item .h2 {
        font-weight: 700; /* <-- This is required */
    }

.item-price .h2 {
    font-weight: bold;
}
.collapse-container {
    text-align: center;
}
.collapse-container .show-details {
    background: transparent;
    border: 0;
    font-weight: 600;
    color: var(--Text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 21px;
    margin: 0 auto;
}

.collapse-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.collapse-list.show {
  max-height: 2000px; /* Set to a large enough value to reveal all content */
}
.show-details svg {
  transition: transform 0.3s ease;
}

.show-details.active svg {
  transform: rotate(180deg); /* Rotate the chevron up */
}
.divider {
    color: var(--Divider);
}

.pricing-list .pricing-item .h2 {
    font-size: 18px;
}

.pricing-list.pricing-container {
    margin: 15px 0;
}


.form-group {margin-top: 16px;}
.form-group label {
    margin-bottom: 5px;
    font-weight: 600;
    display: inline-block;
}
.form-group .form-control {
    width: 100%;
    border: 1px solid var(--Divider);
    border-radius: 0px;
    height: 41px;
    outline: none;
    color: var(--Text);
    padding: 6px 12px;
}

 #account-details {display: none;}
 #order-with-card {background: var(--Heading);color: var(--White);}

.figcaption img {width: 100%;}
.column-6 {
    flex: 0 0 auto;
    width: 50%;
    padding: 0px 15px;
}

.modal-tab-content {display: none;}
.modal-tab-content.active {display: block;}




/* Modal css start */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    overflow: auto;
    
}

.custom-modal.show {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
    background: var(--White);
    padding: 48px;
    max-width: 772px;
    height: 800px;
    width: 100%;
    border-radius: 10px;
    position: relative;
    transform: scale(0.95);
    opacity: 0;
    font-weight: 500;
    transition: all 0.4s ease;
    font-size: 14px;
    color: var(--Text);
    margin-bottom: 50px;
    overflow-x: auto!important;
    max-width: 100vw!important;
    box-sizing: border-box!important;
}

.modal-scrollable {
    position: absolute;
    top: 50px;
}

.custom-modal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}

.modal-img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 25px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}
    .close-btn.btn-primary {
        position: static !important;
        cursor: pointer;
        background: var(--Blue) !important;
        border-color: var(--Blue) !important;
        color: var(--White);
        font-size: 18px;
        font-weight:normal;
    }

.modal-large .modal-content {
    max-width: 100vw!important;
}

.modal-large-payment .modal-content {
    max-width: 25vw !important;
}

.collapse-list {
    display: none !important;
}

.options-group.active .pricing-list {
    display: block;
}


.paymentbackground {
    background-image: url("../../images/CCPaymentBackGround.png");
    padding: 10px;
    background-repeat: no-repeat;
    background-size: cover;
    width: 350px;
    height: 510px;
    padding-left: 75px;
    padding-bottom: 120px;
    padding-top: 50px;
}
.mobile-only {
    display: none;
}
/* Modal css End */

.toggle-container .block-text {
    display: block;
}

.credit-banner {
    background-color: var(--ColorGray);
    border-radius: 4px;
    padding: 16px;
    font-weight: bold;
}

.price-main {font-size: 34px;}
.price-main .price {font-weight: bold;}
/* Override overflow hidden only on desktop for scrollbar */
@media screen and (min-width: 768px) {
    .gallery-presentation {
        overflow: visible !important;
    }
}

/* Swiper scrollbar styling */
.swiper-scrollbar {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    position: relative;
    margin: 10px 20px;
    height: 4px;
}

.swiper-scrollbar-drag {
    background: var(--Blue);
    border-radius: 4px;
    cursor: pointer;
}

.swiper-scrollbar-lock {
    display: none;
}

/* Custom scrollbar styling for slide content */
.slide-content-container::-webkit-scrollbar {
    width: 8px;
}

.slide-content-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.slide-content-container::-webkit-scrollbar-thumb {
    background: var(--Divider);
    border-radius: 4px;
}

/* Mobile adjustments for slide content */
@media screen and (max-width: 767px) {
    .slide-content-container {
        max-height: 40vh;
        padding: 10px;
    }

    .swiper-scrollbar {
        margin: 5px 10px;
    }
}
@media screen and (max-width: 1199px) {
.modal-content {padding: 20px;}
.tab-button{ padding: 10px 10px;}
}

@media screen and (max-width: 767px) {
    .gallery-container {
        flex-direction: column;
        height: auto;
    }

    .gallery-presentation {
        width: 100%;
        z-index: 1;
        background-color: var(--ColorGray);
        overflow: hidden; /* ADD THIS LINE - it was missing! */
    }

    .aside-bar {
        width: 100%;
        padding: 5px;
        padding-bottom: 90px;
    }

    .aside-footer {
        right: 0;
        width: 100%;
    }

    .title-main {
        font-size: 24px;
        line-height: 24px;
        margin-bottom: 15px;
    }

    .aside-item {
        padding-bottom: 0px;
    }

    .column-6 {
        width: 100%;
        padding: 0px 15px;
    }

    .price-main {
        font-size: 20px;
    }

    .figcaption {
        margin-bottom: 30px;
    }

    .modal-scrollable {
        top: 0;
        padding: 10px;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
    }

    .modal-large .modal-large-payment .modal-content {
        margin-bottom: 0px;
    }

    .option-details-item label {
        width: 40px;
        height: 40px;
    }

        .option-details-item label img {
            width: 24px;
            height: 24px;
        }

    .custom-modal.modal-large.modal-large-payment {
        align-items: stretch;
    }

    .custom-modal .modal-content {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        padding: 20px !important;
        box-sizing: border-box;
    }

    .desktop-content {
        display: none;
    }
}