:root {
    --custom-before-style: #303030;
    --switch-color-off: #9098a9;
    --agree-text-style: #303030;
    --alert-text-style: #ff4d4d;
    --agree-fontsize-style: 13px;
    --alert-fontsize-style: 13px;
    --agree-font-family-style: inherit;
    --alert-font-family-style: inherit;
    --tncfield-align-style: inherit;
    --tnccontainer-margin-top: 0px;
    --tnccontainer-margin-right: 0px;
    --tnccontainer-margin-bottom: 0px;
    --tnccontainer-margin-left: 0px;
    --tnctext-link-color: #000000;
}

.blockBtn {
    opacity: 0.75;
    pointer-events: none !important;
}

.jscheckbox div:empty {
    display: unset;
}

/* customBox1 */
.checkbox-wrapper-46 input[type="checkbox"] {
    display: none;
    visibility: hidden;
}

.checkbox-wrapper-46 .cbx {
    margin: auto;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    text-align: left;
}

.checkbox-wrapper-46 .cbx span {
    display: inline-block;
    vertical-align: middle;
    transform: translate3d(0, 0, 0);
}

.jscheckbox .checkBox {
    min-width: 18px;
    max-width: 18px;
    min-height: 18px;
    max-height: 18px;
}

.checkbox-wrapper-46 .cbx span:first-child {
    position: relative;
    min-width: 18px;
    max-width: 18px;
    min-height: 18px;
    max-height: 18px;
    border-radius: 3px;
    transform: scale(1);
    vertical-align: middle;
    border: 1px solid var(--custom-before-style);
    transition: all 0.1s ease;
}

.checkbox-wrapper-46 .cbx span:first-child svg {
    position: absolute;
    top: 3px;
    left: 2px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 16px;
    stroke-dashoffset: 16px;
    transition: all 0.3s ease;
    transition-delay: 0.1s;
    width: 12px;
    height: 10px;
}

.checkbox-wrapper-46 .cbx span:first-child:before {
    content: "";
    width: 100%;
    height: 100%;
    background: var(--custom-before-style);
    display: block;
    transform: scale(0);
    opacity: 1;
    border-radius: 50%;
}

.checkbox-wrapper-46 .cbx:hover span:first-child {
    border-color: var(--custom-before-style);
}

.checkbox-wrapper-46 .inp-cbx:checked+.cbx span:first-child {
    background: var(--switch-color-off);
    border-color: var(--switch-color-off);
}

.checkbox-wrapper-46 .inp-cbx:checked+.cbx span:first-child svg {
    stroke-dashoffset: 0;
}

/* customBox2 */
.checkBox {
    display: block;
    cursor: pointer;
    min-width: 14px;
    max-width: 14px;
    min-height: 14px;
    max-height: 14px;
    border: none;
    border: 0.2rem solid rgba(255, 255, 255, 0);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 0px 0px 1px var(--custom-before-style);
}

.checkBox div {
    width: 60px;
    height: 60px;
    background-color: var(--switch-color-off);
    top: -52px;
    left: -52px;
    position: absolute;
    transform: rotateZ(45deg);
    z-index: 100;
}

.checkBox input[type="checkbox"]:checked+div {
    left: -10px;
    top: -10px;
}

.checkBox:has(input[type="checkbox"]:checked) {
    box-shadow: 0px 0px 0px 1px var(--switch-color-off);
}

.checkBox input[type="checkbox"] {
    position: absolute;
    left: 50px;
    visibility: hidden;
}

.transition {
    transition: 300ms ease;
}

/* customBox3 */
.checkBoxContainer {
    cursor: pointer;
    display: flex;
    margin: 0;
    padding: 0;
}

.checkBoxContainer input {
    display: none;
}

.checkBoxContainer svg {
    overflow: visible;
}

.customCheckBoxPath {
    fill: none;
    stroke: var(--custom-before-style);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke-dasharray 0.5s ease, stroke-dashoffset 0.5s ease,
        stroke-width 0.5s ease;
    stroke-dasharray: 237 9999999;
    stroke-dashoffset: 0;
    animation: unset !important;
}

.checkBoxContainer input:checked~svg .customCheckBoxPath {
    stroke-dasharray: 64.509666 9999999;
    stroke-dashoffset: -262.2723388671875;
    stroke: var(--switch-color-off);
}

/* customBox4 */
.custom-checkbox-container {
    position: relative;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-checkbox-label {
    position: relative;
    padding-left: 0px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

/* Checkbox box */
.custom-checkbox-label:before {
    content: "";
    /* position: absolute;
    left: 0; */
    min-width: 20px;
    max-width: 20px;
    min-height: 20px;
    max-height: 20px;
    border-radius: 6px;
    background: linear-gradient(135deg, #f0f0f0 0%, var(--custom-before-style) 100%);
    border: 2px solid var(--custom-before-style);
    transition: all 0.3s ease;
    z-index: 1;
}

/* Checkmark */
.custom-checkbox-label:after {
    content: "";
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    opacity: 0;
    transition: all 0.2s ease;
    z-index: 3;
}

/* Checked state */
.custom-checkbox-input:checked+.custom-checkbox-label:before {
    background: var(--switch-color-off);
    border-color: var(--switch-color-off);
    outline: 2px solid var(--switch-color-off);
    overflow: hidden;
}

/* Shine effect */
.custom-checkbox-label span.custom-checkbox-shine {
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    z-index: 2;
    pointer-events: none;
}

.custom-checkbox-input:checked+.custom-checkbox-label span.custom-checkbox-shine:after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 20px;
    height: 100px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg);
    animation: shine 0.6s ease-in-out infinite;
}

/* Checkmark animation */
.custom-checkbox-input:checked+.custom-checkbox-label:after {
    transform: rotate(45deg) scale(1);
    opacity: 1;
}

/* Hover effect */
.custom-checkbox-container:hover .custom-checkbox-label:before {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

/* Text styling */
.custom-checkbox-text {
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 16px;
    transition: color 0.2s ease;
    position: relative;
    z-index: 4;
}

.custom-checkbox-container:hover .custom-checkbox-text {
    color: var(--custom-before-style);
}

/* Focus state with transition */
.custom-checkbox-input:checked:focus+.custom-checkbox-label:before {
    outline: 2px solid var(--switch-color-off);
}

.custom-checkbox-label:before {
    outline: 2px solid var(--custom-before-style);
    outline-offset: 2px;
}

/* Shine animation keyframes */
@keyframes shine {
    0% {
        left: -100%;
    }

    40% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* customBox5 */
.switch {
    margin-right: 5px;
    --circle-dim: 1em;
    font-size: 15px;
    position: relative;
    display: inline-block;
    width: 1.8em;
    height: 0.8em;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider_tnc {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid var(--custom-before-style);
    background-color: #fff;
    transition: 0.4s;
    border-radius: 30px;
}

.slider-card {
    position: absolute;
    content: "";
    height: var(--circle-dim);
    width: var(--circle-dim);
    border-radius: 20px;
    left: -0.3em;
    bottom: -0.07em;
    transition: 0.4s;
    pointer-events: none;
}

.slider-card-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    perspective: 1000px;
    border-radius: 50%;
    transition: 0.4s transform;
}

.slider-card-front {
    background-color: var(--custom-before-style);
    /* background-color: var(--switch-color-off); */
}

.slider-card-back {
    background-color: var(--switch-color-off);
    transform: rotateY(180deg);
}

input:checked~.slider_tnc {
    border-color: var(--switch-color-off);
}

input:checked~.slider-card .slider-card-back {
    transform: rotateY(0);
}

input:checked~.slider-card .slider-card-front {
    transform: rotateY(-180deg);
}

input:checked~.slider-card {
    transform: translateX(1.5em);
}

input:checked~.slider {
    background-color: inherit;
}

.fields {
    display: flex;
    align-items: start;
    justify-content: var(--tncfield-align-style);
    align-self: var(--tncfield-align-style);
    gap: 10px;
    line-height: 1;
    padding: 0px;
}

.gm_tncContainer {
    width: 100%;
    margin-top: var(--tnccontainer-margin-top);
    margin-right: var(--tnccontainer-margin-right);
    margin-bottom: var(--tnccontainer-margin-bottom);
    margin-left: var(--tnccontainer-margin-left);
}

.fields .jscheckbox {
    display: flex;
    padding-top: 7px;
}

#tncText {
    color: var(--agree-text-style);
    font-size: var(--agree-fontsize-style);
    font-family: var(--agree-font-family-style);
    text-align: left;
    line-height: 30px;
}

#tncText a {
    display: unset;
    margin: 0px !important;
    color: var(--agree-text-style);
    font-size: var(--agree-fontsize-style);
    font-family: var(--agree-font-family-style);
    padding: 0;
    background: none;
    font-weight: unset;
    text-transform: none;
    line-height: 30px;
}

.sweetAlertContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: max-content;
    width: 100%;
    top: 0;
    position: absolute;
}

.sweetAlertText {
    justify-content: var(--tncfield-align-style);
    align-self: var(--tncfield-align-style);
    font-size: var(--alert-fontsize-style);
    font-family: var(--alert-font-family-style);
    color: var(--alert-text-style);
}

.sweetAlertTop,
.sweetAlertBottom {
    display: none;
    align-items: center;
    justify-content: var(--tncfield-align-style);
    align-self: var(--tncfield-align-style);
    font-size: var(--alert-fontsize-style);
    gap: 3px;
    padding: 1px 0px;
    color: var(--alert-text-style);
    /* width: 100%; */
    overflow: auto;
}

.sweetAlertTop::-webkit-scrollbar,
.sweetAlertBottom::-webkit-scrollbar {
    width: 3px;
}

.sweetAlertTop::-webkit-scrollbar,
.sweetAlertBottom::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 8px;
}

.alertIcon {
    min-width: 14px;
    max-width: 14px;
    min-height: 14px;
    max-height: 14px;
    fill: var(--alert-text-style);
}

.disableBtn {
    opacity: 0.75;
    /* pointer-events: none !important; */
}

div.terms_and_conditions {
    position: relative;
    z-index: 9;
}

.terms_and_conditions {
    height: fit-content;
    background-color: transparent;
}

.terms_and_conditions:hover {
    background-color: transparent;
}

.cart__ctas {
    display: flex !important;
    flex-direction: column;
}