.flex {
    display: flex;
}

.single_product_view {
    padding: 50px 0;
}

.product-page {
    display: flex;
    gap: 20px;
}

.product-main-image {
    width: 60%;
    margin: auto;
    display: block;
}

.thumbnail-section {
    display: flex;
    gap: 30px;
    margin-top: 10px;
    justify-content: center;
}

.thumbnail {
    width: 160px;
    height: 160px;
    cursor: pointer;
    border-radius: 40px;
}

.product-title {
    font-size: 40px;
    font-weight: 600;
    color: #262D3C;
    font-family: "Poppins", sans-serif;
}

.couple_text {
    text-decoration: none;
    color: #ADB4BF;
    font-family: "Poppins", sans-serif !important;
}

.product-price {
    font-size: 30px;
    font-weight: 600;
    color: #262D3C;
    margin-bottom: 40px;
    font-family: "Poppins", sans-serif !important;
}

.product_feature_list {
    padding: 0;
    margin: 30px 0;
}

.product_feature_list li {
    list-style: none;
    margin-bottom: 5px;
    font-size: 16px;
    font-family: "Poppins", sans-serif !important;
}

.product-description {
    margin: 10px 0;
    font-size: 18px;
    font-family: "Poppins", sans-serif !important;
}

.product-form label {
    display: block;
    margin: 10px 0 5px;
}

.product-form select {
    padding: 10px;
    border-radius: 8px;
    border-color: #ddd;
    outline: none;
    max-height: fit-content;
}

.modal_email_input {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    outline: none;
}

.pre_order_button {
    border-radius: 100px;
    background-color: #262D3C;
    color: white;
    border: none;
    padding: 12px 37px;
    transition: .2s ease-in;
    font-family: "Poppins", sans-serif !important;
}

.pre_order_button:hover {
    background-color: #CB2929;
}

.btn_share {
    border: none;
}

.modal-header {
    padding: 30px 30px 0px;
    border: none;
    padding-bottom: 0;
}

.modal-header>h1 {
    font-size: 30px;
    font-weight: 600;
    color: #262D3C;
}

.modal-body {
    font-family: "Poppins", sans-serif;
    padding: 35px;
    padding-top: 10px;
}

.first-modal {
    background-color: white;
}

.modal-body img {
    width: 100px;
}

.links_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.share_item {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;

}

.share_item a {
    color: #262D3C;
    text-decoration: none;
    font-weight: 500;
}

.share_item i {
    font-size: 20px;
}

.modal-dialog {
    max-width: 650px;
}

.btn_embed {
    border: none;
    background: transparent;
}

.ref_code {
    padding: 8px;

}

.ref_code:focus {
    box-shadow: none;
    border: 1px solid #ddd;
}

/* Second Modal Styles */
.second_modal_modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    /* Black with opacity */
    z-index: 999999;
}

.second_modal_modal-content {
    background-color: #fff;
    padding: 45px 30px 60px;
    border: 1px solid #888;
    width: 860px;
    /* Adjust as needed */
    border-radius: 8px;
    margin: 0 10px;
}

.second_modal_close {
    color: black;
    float: right;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: -32px;
    right: -10px;
}

.second_modal_close:hover,
.second_modal_close:focus {
    color: #000;
    text-decoration: none;
}

.second_modal_possition {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

l {
    top: 0;
    left: -15px;
    font-size: 18px;
    padding: 0 30px;
}

.embed_container {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 20px;
    margin-top: 20px;
    align-items: center;
}

.embed_left_item {
    width: 60%;
}

.embed_left_item h3 {
    margin-bottom: 30px;
    color: black;
    font-size: 32px;
}

.embed_left_item h6 {
    font-weight: 600;
    color: black;
    font-size: 18px;
}

.embed_left_item h5 {
    margin-bottom: 20px;
    color: #151515;
    font-size: 20px;
    font-weight: 600;
}

.form-check-input:checked {
    background-color: #1e1e1e;
    border-color: #1e1e1e;
    width: 20px;
    height: 20px;
}

.form-check-input[type=checkbox] {
    border-radius: .25em;
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.form-check-label {
    margin-top: 2px;
}

.form-check {
    margin-bottom: 10px;
}

.embed-container {
    max-width: 500px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    position: relative;
}

.embed-code {
    width: 100%;
    height: 100px;
    font-family: monospace;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 8px;
    overflow: auto;
    background-color: transparent;
}

.copy-button {
    margin-top: 10px;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    font-size: 16px;
    text-align: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.copy-button:hover {
    background: #333;
}

.embed_card {
    border: 1px solid #dddddda5;
    box-shadow: 0px 10px 15px #0000000f;
}

.view_link {
    text-decoration: none;
    color: #262D3C;
}

.star_icon {
    color: #CB2929;
    font-size: 18px;
}

.embed_right_item {
    width: 40%;
}

.hidden {
    display: none;
}

.location_link {
    color: #212529;
    position: absolute;
    left: 50%;
    bottom: -30px;
    transform: translateX(-50%);
}

.card.embed_card img {
    max-width: 225px;
    margin: auto;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: #ADB4BF;
}

.embed_card_title {
    text-decoration: none;
    font-size: 22px;
    color: #262D3C;
}

.custom-alert {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: #000000;
    padding: 8px 15px;
    border-radius: 5px;
    transition: right 0.3s ease;
    font-size: 14px;
    display: none;
}

.show-alert {
    display: block;
}
.nasted_footer_class .footer{
    background-color: #fff;
    padding: 120px 0px 30px;
}
.nasted_footer_class .footer .container {
    min-height: auto;
    padding: 0;
}

.breadcrumb{
    text-transform: uppercase;
}

.nasted_footer_class .footer .s_1,
.s_1_m,
.s_3,
.s_4,
.s_5,
.s_6 {
    display: none;
}

.refer_btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    color: #59606F;
}
.refer_btn:hover {
    background: transparent;
}
.ref_margin{
    margin-top: 50px;
}

/*********** media quarry for single product ************/

@media screen and (max-width:1400px) {
    .card.embed_card img {
        max-width: 160px;
    }

}

@media (max-width: 991px) {
    .product-title {
        font-size: 35px;
    }
}

@media (max-width: 767px) {
    .navbar_nav {
        display: none;
    }

    .mobile_menu {
        display: block;
        padding: 0;
        position: absolute;
        top: -24px;
        right: 12px;
    }

    .product-title {
        font-size: 32px;
    }

    .product-price {
        font-size: 25px;
        margin: 0px 0px 30px 0px;
    }

    .embed_container {
        flex-direction: column;
    }

    .embed_left_item {
        width: 100%;
    }

    .embed_right_item {
        width: 100%;
    }

    .go_back_text {
        top: -15px;
        left: 0;
    }
}

@media (max-width: 575px) {
    header {
        padding: 15px 0px;
    }

    .pre_order_button {

        padding: 12px 20px;

    }

    .thumbnail {
        width: 130px;
        height: 130px;
    }

    .my-margin {
        margin-top: 10px;
    }

    .second_modal_modal-content {
        padding: 20px 15px 40px;
    }
}

/* Tooltip styling */
.tooltip {
    display: none;
    position: absolute;
    background-color: #e93f3f;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 18px;
    z-index: 1000;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.tooltip.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
