/* custom css start here  */
.cp {
    cursor: pointer;
}

.editor_table td {
    border: 1px solid #d9d9d9;
    padding: 10px;
}

.price_display del {
    font-size: 16px;
    color: gray;
    margin-right: 8px;
}

.tg-shop-product-content .price del {
    color: gray !important;
    font-weight: 400 !important;
    font-size: 16px;
    margin-right: 10px;
}

.wishlist.wishlist_icon.active {
    background: var(--tg-theme-primary);
    color: var(--tg-common-white);
}

.tg-blog-sidebar-form {
    position: relative;
}

.tg-blog-sidebar-form .product_search_btn {
    position: absolute;
    top: 6px;
    right: 8px;
}

.tg-blog-sidebar-form input {
    background: #f2f2f2;
    font-size: 13px;
    color: var(--tg-grey-1);
    border: 1px solid transparent;
    border-radius: 6px;
    width: 100%;
    height: 40px;
    padding: 0 40px 0px 12px;
}


.tg-pagenation-wrap nav ul li span {
    font-weight: 500;
    font-size: 14px;
    color: var(--tg-common-black);
    background: #f1f3f5;
    height: 44px;
    width: 44px;
    text-align: center;
    line-height: 44px;
    transition: all 0.4s ease;
    display: inline-block;
    border-radius: 8px;
}

.tg-pagenation-wrap nav ul li .p-btn {
    height: auto;
    width: auto;
    line-height: 1;
    padding: 15px 30px;
    border-radius: 8px;
}

.tg-pagenation-wrap nav ul li span.active {
    color: var(--tg-common-white);
    background: var(--tg-theme-primary);
}

.tg-product-details-price del {
    font-size: 18px;
    font-weight: 400;
    color: #454545;
    margin-right: 10px;
}

.tg-product-details-availability .stock-out {
    color: rgba(255, 0, 0, 0.633);
}

.tg-product-details-thumb-nav button {
    min-width: 130px;
}

.tourex-tabs-wrapper>* {
    display: inline-block;
    width: 100%;
    margin-left: -2px;
}

.tourex-tabs-wrapper {
    position: relative;
    white-space: nowrap;
}

.tourex-tabs-container {
    overflow: hidden;
}

.tourex-tabs-wrapper .tabContent {
    background: var(--tg-grey-7);
    text-align: center;
    width: 100%;
    height: 490px;
    overflow: hidden;
    border-radius: 15px;
}

.tourex-tabs-wrapper .tabContent img {
    position: absolute;
    top: 50%;
    bottom: 50%;
    transform: translate(-50%, -50%);
}

/* blog css  */
.tg-blog-details-review-form textarea.textarea {
    padding-top: 11px;
}

ul.tourex-tabs-menu li a {
    height: 100px;
    width: 114px;
    display: block;
    padding: 16px;
    background: var(--tg-grey-7);
    text-align: center;
    border-radius: 15px !important;
    mix-blend-mode: luminosity;
}

ul.tourex-tabs-menu li a img {
    height: 100%;
    text-align: center;
}

ul.tourex-tabs-menu {
    overflow-x: auto;
    display: flex;
    gap: 10px;
    margin-top: 10px;
    padding-bottom: 10px;
}

ul.tourex-tabs-menu li {
    display: inline-block;
}

.rating-icon {
    cursor: pointer;
}

.rating-icon i.active {
    color: var(--tg-common-yellow) !important;
}

.tg-tour-about-cus-review-star i {
    color: gray;
}

.tg-tour-about-cus-review-star i.active {
    color: var(--tg-common-yellow);
}

.tg-product-rating span {
    color: gray;
}

.tg-product-rating span.active {
    color: var(--tg-common-yellow);
}

.tg-ratting-star {
    gap: 3px;
}

.tg-ratting-star i {
    color: gray;
    font-size: 14px;
}

.tg-ratting-star i.active {
    color: var(--tg-common-yellow);
}

.tg-checkout-form-input .input {
    text-transform: none;
}

.payment_box {
    border-radius: 18px;
    background: #f9f9f9;
}

.payment_box_head {
    border-bottom: 1px solid #dddddd;
}

.payment_box_head h5 {
    font-size: 22px;
    font-weight: 600;
    line-height: 32px;
    color: var(--heading-color);
    padding: 34px 40px 16px 40px;
}

.payment_select_item_main {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    padding: 40px 40px;
}

.payment_select_item_box {
    padding: 18px 40px;
    border: 1px solid #ececec;
    background-color: #fff;
    border-radius: 12px;
    display: inline-block;
    width: 48%;
    transition: all linear 0.5s;
}

.payment_select_item_thumb {
    height: 28px;
}

.payment_select_item_thumb img {
    width: 100%;
    height: 100%;
}

.optech-checkuot-sidebar {
    border: 1px solid #d4d4d4;
    padding: 29px;
    border-radius: 10px;
}

.optech-checkuot-sidebar ul li {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #dddddd;
    padding-bottom: 10px;
}

.optech-checkuot-sidebar ul li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.optech-checkuot-sidebar h5 {
    margin-bottom: 20px;
}

.no-arrow::-webkit-inner-spin-button,
.no-arrow::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-arrow {
    -moz-appearance: textfield;
}

[x-cloak] {
    display: none !important;
}

.tg-listing-card-review i {
    color: #ababab;
    font-size: 14px;
}

.tg-listing-card-review i.active {
    color: var(--tg-common-yellow);
}

.tg-listing-item-wishlist.active {
    color: var(--tg-theme-primary);
}


/* payment css  */
.payment_right {
    box-shadow: 0 0 15px 0 #efefef;
    background: var(--tg-common-white);
    border: 1px solid #e9e9e9;
    border-radius: 12px;
    padding: 25px 30px 30px 30px;
}

.payment_right .sub_total {
    margin: 0;
    padding: 0;
    list-style: none;
}

.payment_right .sub_total li {
    color: #696969;
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0px;
    border-bottom: 1px solid #E6E0FF;
    margin: 0 20px;
}

.payment_right .sub_total li span {
    font-weight: 700;
}

.payment_right .sub_total li .dis {
    color: #FF4646;
}

.payment_right .sub_total li:last-of-type {
    font-weight: 700;
    color: var(--heading-color);
    border: 0;
}

.payment_right .coupon_box {
    margin: 0 20px;
    border: 1px solid #E6E0FF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    border-radius: 10px;
    overflow: hidden;
}

.payment_right .coupon_box .form-control {
    border: 0;
    color: var(--heading-color);
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.payment_right .coupon_box .form-control:focus {
    box-shadow: inherit;
}

.payment_right .coupon_box .coupon_apply_btn {
    padding: 15px 35px;
    border: 0;
    color: var(--heading-color);
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px;
    background: #EBECED;
}

.payment_right .payment_select_text h4 {
    color: var(--heading-color);
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
}

.payment_right .payment_select_item_main {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    position: relative;
    padding: 0px;
}

.payment_right .payment_select_item_box {
    padding: 18px 40px;
    border: 1px solid #E6E0FF;
    border-radius: 4px;
    display: inline-block;
    width: 48%;
    transition: all linear 0.5s;
}

.payment_right .payment_select_item_box:hover {
    border-color: var(--accent-color);
}

.payment_right .payment_select_item_thumb {
    height: 28px;
}

.payment_right .payment_select_item_thumb img {
    width: 100%;
    height: 100%;
}

.payment_right .payment_select_modal_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.payment_right .payment_select_modal_head h2 {
    color: #000;
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    margin-bottom: 20px;
}

.payment_right .payment_select_modal {
    position: absolute;
    padding: 12px 20px 20px 20px;
    width: 335px;
    z-index: 11;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 2px 2px 50px 0px rgba(0, 0, 0, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.payment_right .payment_select_modal.active {
    display: block;
}

.payment_right .payment_select_modal .close_modal_btn {
    border: 0;
    background: transparent;
}

.payment_right .payment_select_modal_form {
    margin-top: 25px;
}

.payment_right .payment_select_modal_form .payment_select_modal_form_item {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.payment_right .payment_select_modal_form .payment_select_modal_form_inner {
    width: 100%;
}

.payment_right .payment_select_modal_form .form-label {
    margin-bottom: 2px;
    color: #333;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
}

.payment_right .payment_select_modal_form .form-control {
    padding: 15px 15px;
    border-radius: 10px;
    border: 1px solid #E6E0FF;
    background: var(--white-color);
}

.payment_right .payment_select_modal_form .form-control:focus {
    box-shadow: inherit;
}

.payment_right .payment_select_modal_form .td_btn {
    width: 100%;
    margin-top: 15px;
}

.payment_right .banck_text {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-bottom: 10px;
    margin-top: 15px;
}

.payment_right .banck_text li {
    color: var(--heading-color);
    font-size: 17px;
    font-weight: 400;
    line-height: 175%;
}

.payment_right .banck_text li span {
    color: #7E8BA0;
}

.payment_right .banck_text li:first-of-type {
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.payment_right .banck_text li:first-of-type span {
    color: var(--heading-color);
    font-weight: 600;
}

.service-price_display {
    font-weight: 600;
    margin-left: 5px;
    font-size: 30px;
    text-transform: capitalize;
    color: var(--tg-theme-primary);
}

.service-price_display del {
    font-size: 20px;
    color: gray;
}

/* editor content  */
/* editor-content — default theme variables (change to fit your site) */
.editor-content {
    --ec-font-size: 16px;
    --ec-line-height: 1.72;
    --ec-max-width: 860px;
    --ec-color: #111827;
    --ec-muted: #6b7280;
    --ec-link: #1d4ed8;
    --ec-border: #e6e8eb;
    --ec-code-bg: #f6f8fa;
    --ec-pre-bg: #0b1220;
    --ec-pre-color: #e6eef6;
    --ec-blockquote-bg: #f8fafc;
    --ec-blockquote-border: #c7d2fe;
    --ec-radius: 8px;
    font-family: var(--ec-font-family);
    color: var(--ec-color);
    font-size: var(--ec-font-size);
    line-height: var(--ec-line-height);
    max-width: var(--ec-max-width);
    width: 100%;
    word-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Basic content elements */
.editor-content p {
    margin-bottom: 0.7rem !important;
    font-size: 1rem;
}

.editor-content h1,
.editor-content h2,
.editor-content h3,
.editor-content h4,
.editor-content h5,
.editor-content h6 {
    margin: 1.2em 0 0.6em;
    line-height: 1.25;
    font-weight: 700;
    color: inherit;
    scroll-margin-top: 1.5rem;
}

.editor-content h1 {
    font-size: 2.0rem;
}

.editor-content h2 {
    font-size: 1.6rem;
}

.editor-content h3 {
    font-size: 1.25rem;
}

.editor-content h4 {
    font-size: 1.05rem;
}

.editor-content h5 {
    font-size: .95rem;
}

.editor-content h6 {
    font-size: .85rem;
    color: var(--ec-muted);
}

/* Links */
.editor-content a {
    color: var(--ec-link);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .12s ease;
}

.editor-content a:hover,
.editor-content a:focus {
    color: color-mix(in srgb, var(--ec-link) 70%, black 30%);
    outline: none;
}

/* Images & media */
.editor-content img,
.editor-content video,
.editor-content iframe {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem 0;
    border-radius: 6px;
    object-fit: contain;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* Figure + caption */
.editor-content figure {
    margin: 0 0 1rem;
}

.editor-content figcaption {
    font-size: .875rem;
    color: var(--ec-muted);
    margin-top: .4rem;
    text-align: center;
}

/* Lists */
.editor-content ul,
.editor-content ol {
    margin: 0 0 1.15em 0;
    padding-left: 1.4rem;
}

.editor-content li+li {
    margin-top: 0.4em;
}

.editor-content li {
    list-style: initial;
}

/* Tables */
.editor-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    overflow: auto;
    display: block;
}

.editor-content th,
.editor-content td {
    padding: .6rem .8rem;
    border: 1px solid var(--ec-border);
    text-align: left;
    vertical-align: top;
    font-size: .95rem;
}

.editor-content thead th {
    background: color-mix(in srgb, var(--ec-border) 50%, white 50%);
    font-weight: 600;
}

/* Blockquote */
.editor-content blockquote {
    margin: 0 0 1rem;
    padding: .9rem 1rem;
    border-left: 4px solid var(--ec-blockquote-border);
    background: var(--ec-blockquote-bg);
    border-radius: var(--ec-radius);
    color: var(--ec-muted);
    font-style: italic;
}

/* Inline code */
.editor-content code {
    background: var(--ec-code-bg);
    padding: .15rem .35rem;
    border-radius: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", "Courier New", monospace;
    font-size: .92em;
    white-space: nowrap;
}

/* Code blocks */
.editor-content pre {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 10px;
    overflow: auto;
    background: var(--ec-pre-bg);
    color: var(--ec-pre-color);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", monospace;
    font-size: .92rem;
}

/* Accessibility: visible focus */
.editor-content :focus {
    outline: 3px solid color-mix(in srgb, var(--ec-link) 30%, transparent 70%);
    outline-offset: 3px;
}

/* Horizontal rule */
.editor-content hr {
    border: none;
    height: 1px;
    background: var(--ec-border);
    margin: 1.25rem 0;
}

/* Small text */
.editor-content small {
    font-size: .85rem;
    color: var(--ec-muted);
}

/* Utility classes often generated by editors */
.editor-content .align-center {
    text-align: center;
}

.editor-content .align-right {
    text-align: right;
}

.editor-content .align-left {
    text-align: left;
}

.editor-content .is-hidden {
    display: none !important;
}

/* Responsive tweaks */
@media (max-width: 720px) {
    .editor-content {
        padding: 0 1rem;
        font-size: 15px;
    }

    .editor-content h1 {
        font-size: 1.6rem;
    }

    .editor-content h2 {
        font-size: 1.25rem;
    }
}

/* Dark mode (toggle via parent .dark on body or container) */
.dark .editor-content {
    --ec-color: #e6eef6;
    --ec-muted: #9aa6b2;
    --ec-link: #60a5fa;
    --ec-border: #24303a;
    --ec-code-bg: #0f1720;
    --ec-pre-bg: #07101a;
    --ec-pre-color: #dbeafe;
    --ec-blockquote-bg: #07101a;
    --ec-blockquote-border: #2543a8;
    background: transparent;
}

/* Optional: limit long lines in pre/code blocks */
.editor-content pre code {
    display: block;
    white-space: pre;
}

/* Small helpers for editor-generated attachments */
.editor-content .caption {
    display: block;
    font-size: .9rem;
    color: var(--ec-muted);
    margin-top: .4rem;
}


@media (max-width: 767px) {
    .payment_table .table tbody tr td .payment_box_item {
        min-width: 300px;
    }

    .payment_right {
        margin-left: 0;
        margin-top: 50px;
    }

    .payment_right .payment_select_item_box {
        width: 47%;
        padding: 15px 20px;
    }

    .payment {
        padding: 60px 0;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .payment_table .table tbody tr td .payment_box_item {
        min-width: 300px;
    }

    .payment_right {
        margin-left: 0;
    }

    .payment_right .payment_select_item_box {
        width: 46%;
        padding: 15px 20px;
    }

    .payment_right .payment_select_modal {
        left: 36%;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .payment_table .table tbody tr td .payment_box_item {
        min-width: 300px;
    }

    .payment_right {
        margin-left: 0;
    }

    .payment_right .payment_select_item_box {
        width: 47%;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .payment_right {
        margin-left: 0;
    }
}
