/* Wrapper */

.mso-wrapper {

    max-width: 850px;

    margin: 40px auto;

    padding: 35px;

    background: #fff;

    border-radius: 20px;

    border: 2px solid #000;

    box-shadow: 8px 8px 0 #000;

    font-family: "Poppins", sans-serif;

    animation: fadeIn 0.5s ease;

}
.plan_sel {
    font-size: 20px;
}
span#planName {
    background-color: #000;
    color: #fff;
    font-weight: 300;
    font-size: 13px;
    padding: 7px 20px 8px;
    border-radius: 7px;
}

/* Step fade animation */

.mso-step {

    animation: fadeIn 0.4s ease;

}

/* Inputs */

.mso-step input,

.mso-step select,

.mso-step textarea {

    width: 100%;

/*     padding: 12px 16px !important; */

    border: 2px solid #000 !important;

    background: #fff;

    color: #000 !important;

    border-radius: 10px !important;

    margin-bottom: 15px;

    font-size: 15px;

}



.mso-step input:focus,

.mso-step select:focus,

.mso-step textarea:focus {

    box-shadow: 4px 4px 0 #000;

    outline: none;

}



/* Buttons */

.mso-step button {

    padding: 12px 22px;

    border: 2px solid #000;

    background: #000;

    color: #fff;

    font-weight: 600;

    border-radius: 10px;

    cursor: pointer;

    transition: 0.2s;

}



.mso-step button:hover {

    background: #fff;

    color: #000;

}



/* Previous Button */

.prev {

    background: #555 !important;

}

.prev:hover {

    color: #fff !important;

}



/* Packages */

.mso-package-box {

    border: 2px solid #000;

    padding: 16px;

    margin-bottom: 15px;

    border-radius: 12px;

    transition: 0.2s;

    cursor: pointer;

}



.mso-package-box:hover {

    background: #f0f0f0;

}



/* ERROR Shake Animation */

.mso-error {

    border-color: red !important;

    animation: shake 0.3s ease;

    color: red;

    font-size: 14px;

    display: none;

}



@keyframes shake {

    0% {transform: translateX(0);}

    25% {transform: translateX(-4px);}

    50% {transform: translateX(4px);}

    75% {transform: translateX(-4px);}

    100% {transform: translateX(0);}

}



/* Progress Bar */

.mso-progress {

    display: flex;

    justify-content: space-between;

    margin-bottom: 25px;

}



.mso-progress div {

    width: 15%;

    height: 6px;

    background: #d0d0d0;

    border-radius: 50px;

}



.mso-progress .active {

    background: #000;

}

/* STEP TEXT LABELS */

.mso-steps-text {

    display: flex;

    justify-content: space-between;

    margin-bottom: 25px;

    font-family: Poppins, sans-serif;
    max-width: 850px;
    margin: auto;
}

.mso-steps-text .step-label {

    font-size: 13px;

    padding: 6px 10px;

    border-bottom: 2px solid #ccc;

    opacity: 0.5;

    transition: 0.3s;

}

.mso-steps-text .active {

    border-bottom: 2px solid #000;

    font-weight: 600;

    opacity: 1;

}



/* ERROR INPUT SHAKE ANIMATION */

.input-error {

    border-color: #d10000 !important;

    animation: shake 0.2s linear;

}

@keyframes shake {

    0% { transform: translateX(0); }

    25% { transform: translateX(-3px); }

    50% { transform: translateX(3px); }

    75% { transform: translateX(-3px); }

    100% { transform: translateX(0); }

}

/* Title */

.mso-title {

    text-align: center;

    font-size: 26px;

    margin-bottom: 20px;

    color: #000;

}



/* Container */

.mso-packages-wrap {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));

    gap: 20px;

    margin-bottom: 20px;

}



/* Package Card */

/* Hide default radio button */

.mso-package-card input[type="radio"] {

    display: none;

}



/* Content styling */

.mso-card-content h4 {

    font-size: 20px;

    margin: 0;

    font-weight: 600;

    color: #000;

}



.mso-card-content .mso-price {

    font-size: 18px;

    color: #555;

    margin-top: 8px;

}



/* Hover Animation */

.mso-package-card:hover, .price-summary:hover, .pckage-total:hover {

    transform: translateY(-6px);

    border-color: #000;

    box-shadow: 0 8px 20px rgba(0,0,0,0.15);

}



/* Checked State */

.mso-package-card input:checked + .mso-card-content,

.mso-package-card input:checked ~ .mso-card-content {

    border-color: #000;

}
.prev, .next {

    padding: 10px 20px;

    margin-top: 10px;

    font-size: 16px;

}

.mso-check-icon img.emoji, .mso-check-icon-summ img.emoji {

    filter: brightness(9);

}



.service-preview {

    border: 1px solid #444;

    padding: 20px;

    margin-top: 15px;

    border-radius: 10px;

    animation: fadeIn 0.4s ease-in-out;

}



.service-preview img {

    width: 100%;

    max-width: 220px;

    border-radius: 8px;

    margin-bottom: 10px;

}



#service-title {

    font-size: 20px;

    margin-bottom: 5px;

}



@keyframes fadeIn {

    from { opacity: 0; transform: translateY(8px); }

    to { opacity: 1; transform: translateY(0); }

}

.mso-plan-features li {

    list-style: none;

}

.mso-plan-features {

    padding-left: 0px;

}

/* ===== STEP 1 TOGGLE ===== */



.mso-toggle {

    position: relative;

}



.mso-toggle input {

    display: none;

}



.mso-toggle span {

    padding: 10px 22px;

    border-radius: 30px;

    border: 2px solid #ddd;

    cursor: pointer;

    font-weight: 500;

    transition: all 0.3s ease;

    background: #fff;

}



.mso-toggle input:checked + span {

    background: linear-gradient(135deg, #000, #000);

    color: #fff;

    border-color: #000;

}

/* ===== PACKAGE CARDS ===== */



.mso-packages-wrap {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

    gap: 20px;

    margin-top: 20px;

}



.mso-package-card {

    position: relative;

    border-radius: 16px;

    border: 2px solid #eee;

    background: #fff;

    padding: 22px;

    transition: all 0.3s ease;

}
.mso-package-card input {

    display: none;

}



.mso-package-card input:checked + .mso-card-content {

    border-color: #000;

}

.mso-check-icon, .mso-check-icon-summ {

    position: absolute;

    top: 16px;

    right: 16px;

    background: #000;

    color: #fff;

    width: 28px;

    height: 28px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 14px;

    opacity: 1;

    transform: scale(1);

    transition: all 0.3s ease;

}



.mso-plan-price {

    font-size: 26px;

    font-weight: 700;

    color: #000;

    padding: 15px 0px;

}

/* ===== MONTHLY OPTIONS ===== */



#monthly-options {

    margin-top: 25px;

    padding: 20px;

    border-radius: 16px;

    background: #f9fafb;

    border: 1px solid #e5e7eb;

}



#monthly-options label {

    font-weight: 600;

}



.month-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));

    gap: 10px;

}



.month-grid input {

    display: none;

}

/* ================= RESET ================= */

input[type="radio"],

input[type="checkbox"] {

    display: none;

}



/* ================= STEP 1 TOGGLE ================= */

.mso-toggle-group {

    display: flex;

    gap: 14px;

    margin-top: 8px;

    padding: 15px 0px;

}

/* ================= PACKAGE CARDS ================= */

.mso-package-card::after {

    content: "";

    position: absolute;

    inset: 0;

    border-radius: 16px;

    border: 2px solid transparent;

    transition: .25s;

}

.mso-package-card:hover::after {

    border-color: #e5e7eb;

}
/* ================= MONTH GRID ================= */

.month-grid,

#yearly-options {

    display: grid;

    grid-template-columns: repeat(auto-fit,minmax(70px,1fr));

    gap: 12px;

    margin-top: 10px;

}
.month-item span,

.year-item span {

    display: block;

    padding: 12px;

    text-align: center;

    border-radius: 14px;

    border: 2px solid #e5e7eb;

    font-weight: 600;

    cursor: pointer;

    transition: .25s ease;

    background: #fff;

}



.month-item input:checked + span {

    background: #000;

    color: #fff;

    border-color: #000;

}



.year-item input:checked + span {

    background: #000;

    color: #fff;

    border-color: #0000;

}

.mso-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    justify-content: space-between;
    align-items: flex-start;
}

.mso-row >div {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    padding: 15px;
    border-radius: 10px;
    width: 50%;
}

.pln_sel {
    position: relative;
    padding: 20px;
    border-radius: 10px;
}

/* Badge (top-right) */
.plan_badge {
    position: absolute;
    top: -10px;
    right: -10px;
    text-transform: capitalize;
    letter-spacing: 1px;
    background: #000;
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: floatBubble 2.5s ease-in-out infinite;
}

/* floating animation */
@keyframes floatBubble {
    0% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(0); }
}
/* gallery style */
.gall_info {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.addon-title {
        margin: 0;
        font-size: 15px;
    }
    .toggle-gallery:hover {
    background: #fff;
    color: #000;
}
 .gallery-select:checked + .gallery-box .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
    background: rgb(0 0 0 / 22%);
} 
.img-wrap {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.img-wrap img {
    width: 100%;
    height: 200px !important;
    object-fit: cover;
    display: block;
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.3s ease;
    text-align: center;
}
.img-wrap:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}
.gallery-overlay h4 {
    margin: 0;
    font-size: 18px;
}
.img-wrap:hover img {
    transform: scale(1.05);
    transition: 0.3s;
}
#galleryWrapper {
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    margin-bottom: 20px;
    column-gap: 10px;
    row-gap: 10px;
}
.gallery-card {
    position: relative;
}
.gallery-select {
    display: none;
}
.gallery-box {
    overflow: hidden;
    background: #fff;
    transition: 0.3s;
    border: 2px solid transparent;
}
.img-wrap {
    cursor: pointer;
}
.gallery-info {
    padding: 12px;
    text-align: center;
}
.gallery-card {
    cursor: pointer;
    position: relative;
}
.gallery-card input {
    display: none;
}
.gallery-box {
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    border: 2px solid transparent;
}
.gallery-box h4 {
    margin: 0;
    font-size: 16px;
}
.gallery-box:hover {
    transform: translateY(-5px);
}
.gallery-card input:checked + .gallery-box {
    box-shadow: 0 6px 20px rgba(0, 124, 186, 0.3);
}
.gallery-card input:checked + .gallery-box::after {
    content: "✓";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #000;
    color: #fff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-overlay p:last-child {
    font-size: 11px;
    padding: 0px 20px;
}
#mso-review >div {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 16px;
}
div#mso-review ul {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 20px 30px;
    margin: 10px 0px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}
.price-summary, .pckage-total {
    border-radius: 16px;
    border: 2px solid #eee;
    background: #fff;
    padding: 22px;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 20px;
}

.review_footer p:first-child, .plan_info td {
    text-transform: capitalize;
}
p.addon-total-r, .review_footer-inner p:first-child, .review_footer-inner p:nth-child(5) {
    display: none;
}
.plan_info p:last-child {
    text-align: right;
    position: relative;
    right: 135px;
}
.review_footer {
    border: 2px solid #000;
}
.extra-option {
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.extra-option-inner{
 display: flex;
    justify-content: space-between;
    align-items: center;
}
.extra-option h5 {
    margin-bottom: 0;
}
.select_field label {
    background-color: #000;
    color: #fff;
    padding: 5px 7px 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}
.select_field label:first-child {
    margin-right: 15px;
}
.extra-option textarea {
    margin-top: 10px;
    margin-bottom: 0;
}
.txt-area-op {
    padding: 10px;
    border-radius: 10px;
    box-shadow: 8px 8px 0 #000;
    margin-bottom: 20px;
    border: 2px solid #000;
}
.card-message {
    background-color: #000;
    color: #fff;
}
.home .breadcum_cstm ul li:last-child {
    display: none;
}
.mso-thankyou-wrap, .mso-thankyou-wrap h4, .mso-thankyou-wrap h3 {
    color: #fff;
}
.mso-thankyou-wrap hr {
    margin: 10px 0px !important;
}
/* Responsive styles */

@media screen and (max-width: 767px) {
  .mso-row {
    flex-wrap: wrap;
}
.mso-wrapper{
    padding: 25px;
}
.mso-row >div {
    width: initial;
}
.mso-steps-text{
    overflow: scroll;
}
}
