.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

body.page-template-page-partneriu-pasiulimai .sidebar-widget-area .widget {
    padding: 0;
}

body.page-template-page-partneriu-pasiulimai .rtcl-sidebar-wrapper .rtcl-widget-filter-class .panel-block {
    padding: 25px;
}

body.page-template-page-partneriu-pasiulimai #primary>.container>.row>.col-lg-9.col-md-8.col-sm-12.col-12 {
    order: 1;
}

form.rtcl-filter-form .btn-primary {
    background: #f37e23;
    border: 1px solid #f37e23;
}

form.rtcl-filter-form .btn-primary:hover {
    background: #FFF;
    color: #000;
    border: 1px solid #000;
}

form.rtcl-filter-form .btn-outline-secondary:hover {
    background: #FFF;
    color: #000;
    border: 1px solid #000;
}

body.page-template-page-partneriu-pasiulimai .sidebar-widget-area .widget h3::after {
    display: none
}

body.page-template-page-partneriu-pasiulimai .sidebar-widget-area .widget h3 {
    background: #162445;
    color: #FFF;
    border-radius: 10px 10px 0 0;
    padding-top: 10px;
    padding-left: 13px;
    padding-bottom: 10px;
}

.subcategory-item {
    text-align: center;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s;
    overflow: hidden;
}

.subcategory-item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.subcategory-item a {
    display: block;
    text-decoration: none;
    color: #222;
    padding: 10px;
}

.subcategory-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 0;
}

.subcategory-name {
    font-weight: 500;
    font-size: 14px;
    margin: 5px auto 5px;
}

.subcategory-image.placeholder {
    height: 100px;
    background: #f3f3f3;
    margin-bottom: 10px;
}



.rtcl-el-listing-header-action .rtcl-el-header-btn {
    justify-content: flex-end;
}

.dialog-message .rtcl-el-listing-header-action .rtcl-el-header-btn {
    justify-content: flex-start;
    float: unset;
}

.dialog-message .rtcl .rt-autocomplete-wrapper {
    max-width: unset;
}

.dialog-message .rtcl-elementor-widget-search button {
    margin-left: 0 !important;
}

.header-category-menu {
    border-right: 1px solid #FFF;
}

.header-category-menu>p {
    color: #FFF;
    margin: 0;
    font-weight: 600;
    padding: 12px 20px;
    margin: 8px 0;
    font-size: 14px;
    font-family: 'Roboto';
}

.elementor-nav-menu li {
    padding: 0 !important;
    margin: 8px 0 !important;
    border-right: 1px solid #FFF !important;
}

.header-category-menu .mega-menu {
    display: none;
}

.mega-menu {
    background: #f8f8f8;
    font-family: sans-serif;
    position: relative;
    z-index: 999;
}

.mega-menu::before {
    background-color: #fff;
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.07);
    content: '';
    height: 15px;
    left: 18px;
    position: absolute;
    top: -7px;
    transform: rotate(45deg);
    width: 15px;
    z-index: 1;
}

.mega-menu:hover::after {
    content: '';
    position: absolute;
    width: 100vw;
    height: 200vh;
    background: rgba(0, 0, 0, 0.25);
    z-index: 0;
    top: -10px;
    left: calc((-100vw + 1320px) / 2);
    pointer-events: none;
}

.main-categories {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.mySwiper .swiper-slide img {
    width: 100%;
}

.swiper-container-rtl .swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
    background-image: none !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: #888 !important;
    background-image: none !important;
}

/*.header-category-menu .main-categories {*/
/*    max-height: calc(100vh - 250px);*/
/*    overflow-y: scroll;*/
/*    overflow-x: visible;*/
/*}*/
.elementor-location-header {
    position: sticky;
    top: 0;
    z-index: 9999;
}

.main-categories>li {
    position: relative;
}

.main-categories>li>a {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    background: #fcfcfc;
    border-bottom: 1px solid #ededed;
    font-size: 14px;
}

.main-categories>li>a img {
    width: 15px;
}

.main-categories>li>a .children-chevron {
    margin-left: auto;
    width: 8px;
    height: auto;
}

.main-categories>li>a:hover {
    background: #fff;
}

.submenu {
    position: absolute;
    top: 0;
    left: 100%;
    display: flex;
    flex-wrap: wrap;
    background: white;
    padding: 20px;
    display: none;
    z-index: 10;
    width: calc(1320px - (1320px *0.2) - 16px);
}

.has-submenu:hover .submenu {
    display: flex;
}

.submenu-column {
    margin-right: 30px;
    min-width: 200px;
}

.submenu-column h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.submenu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ui-autocomplete {
    z-index: 9999999;
}

.submenu-column ul li a {
    text-decoration: none;
    color: #7a7a7a;
    font-size: 14px;
    display: block;
    padding: 5px 0;
}

.submenu-column ul li a:hover {
    text-decoration: underline;
}


.header-category-menu:hover .mega-menu {
    position: absolute;
    top: 100%;
    padding-top: 10px;
    display: block;
    background: transparent;
    width: calc(100vw - (100vw - 1320px));
    left: 10px;
    max-height: calc(100vh - 240px);
    overflow-y: scroll;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;/ padding-bottom: 50px;
}

.header-category-menu .main-categories {
    width: calc(1320px * 0.2 - 5px);
    margin-bottom: 150px;
}

.header-category-menu:hover .mega-menu::before {
    top: 3px
}

.header-category-menu .overlay {
    display: none;
}

.header-category-menu:hover .overlay {
    display: block;
    content: '';
    position: absolute;
    width: 100vw;
    height: 200vh;
    background: rgba(0, 0, 0, 0.25);
    z-index: 0;
    left: calc((-100vw + 1320px) / 2);
    pointer-events: none;
    top: 0;
}

.header-category-menu .mega-menu::after {
    display: none !important;
}

.page-id-4972 h1,
.page-id-4974 h1 {
    display: none;
}

.page-id-4974 textarea {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 400px;
    height: 200px;
}

.with-errors,
.require-star {
    color: red;
}

.page-id-4944 h1,
.page-id-4946 h1 {
    display: none;
}

.page-id-4946 textarea {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 400px;
    height: 200px;
}

.order-rejected {
    font-size: 35px;
    text-align: center;
}

.order-recieved {
    font-size: 35px;
    text-align: center;
    color: green;
    font-weight: 600;
}

.order-not-found {
    font-size: 35px;
    text-align: center;
    color: red;
    font-weight: 600;
}

.actions .send {
    border: 1px solid #eee;
    background: #f37e23;
    border-radius: 5px;
    padding: 5px 25px;
    color: #FFF;
    cursor: pointer;
}

.rtcl .rtcl-list-view .rtcl-listing-item {
    position: relative;
}

.rtcl-listings-title-block .status {
    position: absolute;
    right: 15px;
    top: 14px;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 5px 25px;
}

.rtcl-listings-title-block .status.cancelled {
    background: darkred;
    color: #FFF;
}

.rtcl-listings-title-block .status.rejected {
    background: red;
    color: #FFF;
}

.rtcl-listings-title-block .status.pending {
    background: orange;
    color: #FFF;
}

.rtcl-listings-title-block .status.publish {
    background: royalblue;
    color: #FFF;
}

.rtcl-listings-title-block .status.sent {
    background: darkgreen;
    color: #FFF;
}

.rtcl-listings-title-block .status.completed {
    background: green;
    color: #FFF;
}

/* Color Corrections */
.woocommerce-form-coupon-toggle {
    display: none !Important;
}

#customer_details>.col-1 {
    width: 100%;
}

.woocommerce-customer-details .woocommerce-column--shipping-address {
    display: none !Important;
}

.pats-popup textarea {
    border: 1px solid #eee !important;
    height: 150px;
    box-shadow: none !important;
    margin-top: 15px;
}

.umdo_shipping,
.pats_shipping,
.no_shipping_submit,
.sent_submit,
.page-id-4974 .send-complaint,
.page-id-4946 .send-complaint {
    display: block;
    color: #fff;
    padding: 10px 15px;
    background-color: #f37e23;
    border-radius: 5px;
    margin-bottom: 10px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
}

.page-id-4974 .send-complaint {
    margin: auto;
    max-width: 400px;
}

.page-id-4946 .send-complaint {
    margin: auto;
    max-width: 400px;
}

.quote-popup-wrap,
.pats-popup-wrap {
    display: none;
}

.quote-popup-wrap,
.pats-popup-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .3);
    z-index: 99999;
}

.quote-popup-wrap.show,
.pats-popup-wrap.show {
    display: flex;
}

.quote-popup-wrap .quote-popup,
.pats-popup-wrap .pats-popup {
    background: #FFF;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 600px;
}

.quote-popup-wrap .quote-popup input,
.pats-popup-wrap .pats-popup input,
.pats-popup-wrap .pats-popup select {
    border: 1px solid #e7e7e7;
    border-radius: 4px;
    display: block;
    padding: 10px 16px;
    background-color: #ffffff;
    font-weight: 400;
}

.quote-popup-wrap .quote_submit,
.pats-popup-wrap .purchase_submit {
    display: block;
    color: #fff;
    padding: 10px 15px;
    background-color: #f37e23;
    border-radius: 5px;
    margin-bottom: 10px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
}

.quote-popup-wrap .quote-popup>p,
.pats-popup-wrap .pats-popup>p {
    width: 100%;
    font-size: 20px;
    color: #000;
    font-weight: 600;
}

.exit-quote,
.exit-pats {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.quote-popup-wrap .quote-popup>.full-width {
    width: 100%;
}

.quote-popup-wrap .quote-popup>div {
    width: calc(50% - 10px);
    display: flex;
    flex-direction: column;
}

.quote-popup-wrap .quote-popup .success-message {
    color: green;
    font-size: 18px;
    text-align: center;
}

.custom-loader {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    width: 100% !important;
    height: 100%;
    background: rgba(255, 255, 255, .5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.pats-popup-wrap .pats-popup>div {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.shipping_methods label {
    margin-bottom: 0 !important;
}

.shipping_methods>div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shipping_methods .shipping_prices {
    display: block;
    padding: 5px 0 25px 0;
}

.shipping_prices .cus-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
}

.shipping_prices select,
.shipping_prices input {
    outline: none;
    box-shadow: none;
    border-radius: 5px;
    height: 45px;
    line-height: 1.2;
    padding: 5px 12px;
    border: 1px solid #e7e7e7 !important;
    width: 200px;
}

.shipping_prices .actions .remove {
    color: #fff;
    background: red;
    padding: 3px 25px;
    border-radius: 3px;
    cursor: pointer;
    height: 35px;
    display: flex;
    align-items: center;
}

.shipping_prices .actions .add {
    color: #fff;
    background: green;
    padding: 3px 25px;
    border-radius: 3px;
    cursor: pointer;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
}

.fees-table tr:nth-child(1),
.total-price-table tr:nth-child(1) {
    background-color: #FFF;
    color: #000;
}

.quantity-wrap {
    width: 100px;
    display: flex;
}

.quantity-wrap span {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgb(118, 118, 118);
    border-bottom: 1px solid rgb(118, 118, 118);
    cursor: pointer;
    font-size: 20px;
}

.quantity-wrap span:hover {}

.price-quantity-wrap {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.price-quantity-wrap .total {
    color: #000;
    font-size: 19px;
}

.quantity-wrap span.minus {
    border-left: 1px solid rgb(118, 118, 118);
    border-radius: 5px 0 0 5px;
    padding-bottom: 5px;
    font-size: 29px;
}

.quantity-wrap span.plus {
    border-right: 1px solid rgb(118, 118, 118);
    border-radius: 0 5px 5px 0;
}

.quantity-wrap input {
    width: 40px;
    border-right: none;
    border-left: none;
    border-top: 1px solid rgb(118, 118, 118);
    border-bottom: 1px solid rgb(118, 118, 118);
    text-align: center;
    outline: none !important;

}

.quantity-wrap input::-webkit-outer-spin-button,
.quantity-wrap input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.scrollToTop {
    background-color: var(--e-global-color-c5e389d) !important;
}

.rtcl-post-section.sell div[data-id="_field_2640"] {
    display: none !important;
}

.listing-item.is-featured .listing-thumb:after {
    background-color: #F37E23 !important;
}

.rt-el-post .rtin-each .rtin-content-area .post-meta li.date,
.rtcl .rtcl-listings .rtcl-listing-item .item-content .listing-categories {
    background-color: #F1F4F6;
    border: 1px solid #CED2DC;
    color: #8A91A2;
}

.rtcl .rtcl-list-view .rtcl-listing-item .item-content .listing-cat-price .rtcl-price-wrap .rtcl-price span.price-label {
    margin-right: 4px;
}

.rtcl-sidebar-wrapper .rtcl-widget-heading h3 {
    background-color: var(--e-global-color-c5e389d);
}

.rtcl-sidebar-wrapper .rtcl-widget-filter-class .panel-block .ui-accordion-item .ui-accordion-title .ui-accordion-icon {
    background-color: #F1F4F6;
    border: 1px solid #CED2DC;
    color: #162445;
    border-radius: 50%;
}

.btn.rtcl-edit-listing {
    background-color: #F1F4F6 !important;
    color: var(--e-global-color-c5e389d) !important;
    border: 1px solid #CED2DC !important;
}

.btn.rtcl-edit-listing:hover {
    background-color: #CED2DC !important;
}

.rtcl-el-listing-header-action .rtcl-el-header-btn .rtcl-el-add-listing-btn .rtcl-el-item-btn span {
    background: none;
}

.rtcl-chat-container .rtcl-conversations-header {
    background: var(--e-global-color-c5e389d) !important;
}

.rtcl-chat-container ul.rtcl-messages-list .rtcl-message-wrap.own-message .rtcl-message-text {
    background: var(--e-global-color-c5e389d) !important;
}

:is(.elementor .elementor-element.elementor-widget-n-tabs>.elementor-widget-container>.e-n-tabs>.e-n-tabs-heading .e-n-tab-title, .elementor .elementor-element.elementor-widget-n-tabs>.elementor-widget-container>.e-n-tabs>.e-n-tabs-content .e-n-tab-title).e-active:hover {
    background-color: #ffffff;
    background-image: none;
}

/* Add Listing */

.rtcl-form-page .main-content .rtcl-post-form-wrap .form-group label,
.rtcl-form-page .main-content .rtcl-listing-info-selecting .form-group label {
    text-transform: none;
}

/* My MyAccount */

.rtcl-account .rtcl-MyAccount-wrap .rtcl-MyAccount-content .rtcl-listings .action-wrap .float-sm-left .form-control {

    margin-right: -3px;
}

.rtcl-account .rtcl-MyAccount-wrap .rtcl-MyAccount-content .rtcl-listings .action-wrap .float-sm-left .btn {
    color: #ffffff;
    border-color: var(--e-global-color-c5e389d);
    background-color: var(--e-global-color-c5e389d);
}

.rtcl-account .rtcl-MyAccount-wrap .rtcl-MyAccount-content .rtcl-listings .action-wrap .float-sm-left .btn:hover {
    color: #ffffff;
    border-color: var(--e-global-color-c5e389d);
    background-color: #1f325f;
}

.rtcl-account .rtcl-MyAccount-wrap .rtcl-MyAccount-content .rtcl-listings .action-wrap .btn {
    line-height: 1.3;
    margin-bottom: 4px !important;
}

.rtcl-account .rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li a {
    background-color: #ffffff;
    color: var(--e-global-color-c5e389d);
    display: block;
    border-bottom: 1px solid #CED2DC;
    padding: 15px 20px;
}

.rtcl-account .rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.is-active a {
    background-color: var(--rtcl-primary-color);
    color: #ffffff;
}

.rtcl-account .rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li a:hover {
    color: #FDEEEF;
}

/* Listing cards */

.rtcl .rtcl-listings .listing-item .listing-thumb {
    border-radius: 5px 5px 0 0;
}

li.author a {
    color: var(--e-global-color-c5e389d) !important;
}

.rtcl .rtcl-listings .rtcl-listing-item.as-top {
    background-color: #EBEEF4;

}

.listing-item .rtcl-widget-categories>.rtcl-category-list>li>a {
    color: #000;
}

.listing-item .rtcl-widget-categories>.rtcl-category-list>li>a>img {
    display: none;
}

.listing-item .rtcl-widget-categories>.rtcl-category-list .rtcl-category-list a {
    font-size: 14px;
    margin-left: 20px;
}

.listing-item .rtcl-widget-categories>.rtcl-category-list .rtcl-category-list a {
    display: block;
}

@media screen and (max-width: 640px) {
    .cat-details {
        padding: 25px 10px 25px 10px !important;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 20px !important;
        height: 35px !important;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 27px;
    }
}

/* Listing filter */

.rtcl-widget-filter-class .panel-block ul.filter-list li {
    padding-left: 20px !important;
}

/* Main content padding fix */

.elementor-location-footer {
    padding-top: 60px;
}

.content-area {
    padding-top: 60px;
}

.home-content-area {
    padding-top: 10px;
}

/*Listing single*/

.rtcl .rtcl-wrapper .listing-sidebar .rtcl-price-wrap .rtcl-price {

    background-color: #FDF2E9;
    color: #F37E23;
    padding: 10px 16px 14px 16px;
    border: 2px #F37E23;
    border-style: solid solid solid hidden;
}

.rtcl .rtcl-wrapper .listing-sidebar .rtcl-price-wrap .rtcl-price span.price-label {
    margin-right: 4px;
}

.rtcl .rtcl-wrapper .listing-sidebar .rtcl-price-wrap .rtcl-price:after {
    left: -21px;
    border-radius: 0;
    background-color: #FDF2E9;
    z-index: -1;
    border: 2px solid #F37E23;
}

.rtcl .rtcl-wrapper .listing-sidebar .rtcl-listing-user-info .list-group .list-group-item.rtcl-do-email .media-body .rtcl-do-email-link {
    color: var(--rtcl-primary-color);
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--e-global-color-c5e389d);
    --bs-btn-border-color: var(--e-global-color-c5e389d);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--rtcl-primary-color);
    --bs-btn-hover-border-color: var(--rtcl-primary-color);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--rtcl-primary-color);
    --bs-btn-active-border-color: var(--rtcl-primary-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0d6efd;
    --bs-btn-disabled-border-color: #0d6efd;
}

.rtcl .rt-autocomplete-wrapper {
    position: relative;
    margin-bottom: 5px;
}

.badge.rtcl-badge-_top {
    background-color: #8DD648;
    color: var(--rtcl-badge-top-color);
}

div.swiper-slide.rtcl-slider-item {
    display: flex !important;
}

.rtcl-responsive-img {
    margin-inline: auto;
}

/* Listing Archive Sidebar Collapsed on Mobile */

@media only screen and (max-width: 600px) {
    .rtcl-sidebar-wrapper {
        width: 100%;
    }
}

/* Notice Styles */

.rtcl_error_tip {
    background-color: #FDEEEF !important;
    color: #8A91A2 !important;
    min-width: 360px;


}

.rtcl_error_tip::after {
    border-bottom-color: #FDEEEF !important;
}

/* Icons */

.rtcl-edit-listing::before {
    font-family: "Font Awesome 6 Free";
    content: "\f044";
}

.rtcl-delete-listing::before {
    font-family: "Font Awesome 6 Free";
    content: "\f2ed";
}

.rtcl-badge-featured::before {
    font-family: "Font Awesome 6 Free";
    content: "\f005";
    padding-right: 3px;
}

.rtcl-badge-_top::before {
    font-family: "Font Awesome 6 Free";
    content: "\f35b";
    padding-right: 3px;
}

/* Other Fixes */

.rtcl-el-listing-header-action .rtcl-el-header-btn .rtcl-el-add-listing-btn .rtcl-el-item-btn {
    padding: 0 22px 0 40px;
}

.control-label {
    text-transform: none !important;
}

/* Registration */

.rtcl .rtcl-registration-form-wrap .form-group .control-label {
    text-transform: none !important;
}

#send_otp {
    background-color: #ffffff;
    color: var(--bs-body-color) !important;
    border: 1px solid var(--bs-body-color);
}

#send_otp::before {
    font-family: "Font Awesome 6 Free";
    content: "";
    padding-right: 3px;
}

/* Responsive Fixes */

@media screen and (max-width: 600px) {
    body.page-template-page-partneriu-pasiulimai .sidebar-widget-area {
        margin-top: 20px;
    }

    .rtcl .rtcl-listings-actions .rtcl-ordering .orderby {
        max-width: 65vw !important;
    }

    .rtcl .rtcl-listings-actions .rtcl-ordering {
        max-width: 60vw !important;
    }

    .rtcl-el-listing-header-action .rtcl-el-header-btn .rtcl-el-add-listing-btn .rtcl-el-item-btn {
        padding: 0 22px 0 50px;
    }

    .rtcl-el-listing-header-action .rtcl-el-header-btn {
        float: right;
    }

    .rtcl-elementor-widget-search.rtcl-widget-search-inline .ws-item.ws-text {
        / / margin-left: 30 px;
    }

    .rtcl .rt-autocomplete-wrapper {
        max-width: 80%;
    }
}

tr:nth-child(1) {
    background-color: #8A91A2;
    color: #ffffff;
}

table.shop_table.table tr:nth-child(1),
table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tr:nth-child(1) {
    background-color: #ffffff;
    color: #000000;
}

.rtcl-sidebar-wrapper .rtcl-widget-filter-class .panel-block .ui-accordion-item .ui-accordion-title {
    font-family: 'Nunito', sans-serif;
}

.rtcl-widget-filter-class .panel-block ul.filter-list li a:before {
    content: "\f105";
    position: absolute;
    left: 5px;
    top: 5px;
    font-family: "rtcl", serif;
    z-index: 3;
}

.rtcl .rtcl-Reviews.rtcl #respond .comment-form label {
    text-transform: none;
}

.rtcl .rtcl-Reviews.rtcl p.comment-form-cookies-consent {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.rtcl .rtcl-Reviews.rtcl #respond form input[type="checkbox"] {
    margin-top: 7px;
}

/* Listing page sorting */
.rtcl-listings-actions .rtcl-ordering-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.rtcl-listings-actions .rtcl-view-switcher,
.rtcl-listings-actions .rtcl-result-count {
    margin-top: 34px;
}

#rtcl-gallery-upload-ui-wrapper .description {
    --bs-alert-color: #664d03;
    --bs-alert-bg: #fff3cd;
    --bs-alert-border-color: #ffecb5;
}

.rtcl-MyAccount-content .table tr:nth-child(1) {
    background-color: #ffffff;
    color: #000000;
}

.comment-reply-block #respond .comment-reply-title {
    display: none;
}

.comment-reply-block #respond .logged-in-as {
    display: none;
}

body.logged-in .registration-block {
    display: none;
}

[name="rtcl-reset-password"],
.wpcf7-form input[type="submit"] {
    position: relative;
    margin-top: 20px;
    font-weight: 500;
    font-size: 15px;
    display: block;
    align-items: center;
    z-index: 2;
    padding: 0 22px 0 22px;
    overflow: hidden;
    color: #fff;
    height: 40px;
    justify-content: center;
    border: none;
    border-radius: 4px 4px 4px 4px;
    background-color: var(--rtcl-primary-color);
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-weight: var(--e-global-typography-accent-font-weight);
}

[name="rtcl-reset-password"]:hover {
    background-color: var(--rtcl-primary-color);
}

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-textarea {
    border-style: solid;
    border-color: #CED2DC;
    border-width: 2px;
    height: 40px;
    outline: none;
    box-shadow: none;
    border-radius: 5px;
    line-height: 1.2;
    padding: 5px 12px;
}

.wpcf7-form-control.wpcf7-textarea {
    height: auto;
}

.elementor-widget-rtcl-listing-items .rtcl-listings-sc-wrapper .rtcl-grid-view.rtcl-style-1-view .rtcl-listing-item .rtcl-meta-buttons-wrap .rtcl-el-button {
    position: absolute;
    left: auto;
    right: 0;
    top: 0;
}

.rtcl-slider-nav .rtcl-slider-thumb-item img {
    object-fit: cover;
}

@media screen and (max-width: 400px) {
    .elementor-nav-menu__align-center .elementor-nav-menu--layout-vertical>ul>li>a {
        text-align: center;
    }

    .rtcl-elementor-widget-search.rtcl-widget-search-inline .ws-item.ws-text {
        min-width: calc(100% - 100px);
    }

    .rtcl-elementor-widget-search .btn[type=submit] {
        margin-left: 0 !important;
    }

    .rtcl .rt-autocomplete-wrapper {
        max-width: 100%;
    }

    .elementor-section.elementor-section-boxed>.elementor-container {
        justify-content: space-between;
    }

    .rtcl-el-listing-header-action .rtcl-el-header-btn .rtcl-el-add-listing-btn .rtcl-el-item-btn {
        padding: 0;
        width: 40px !important;
    }

    .rtcl-el-listing-header-action .rtcl-el-header-btn {
        gap: 6px;
    }

    .rtcl-el-listing-header-action .rtcl-el-header-btn .rtcl-el-add-listing-btn .rtcl-el-item-btn .rtcl-el-btn-text {
        font-size: 0;
    }
}

@media (max-width: 767px) {
    .rtcl .rtcl-wrapper {
        padding: 40px 12px;
    }

    .elementor-2794 .elementor-element.elementor-element-4f3522a6 .elementor-nav-menu .elementor-item {
        font-size: 22px;
        padding: 10px;
    }
}

.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
    color: #ffffff;
    padding: 14px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: 1px solid var(--rtcl-primary-color);
    background-color: var(--rtcl-primary-color);
    display: inline-block;
    transition: all 0.3s;
}

.woocommerce #payment #place_order:hover,
.woocommerce-page #payment #place_order:hover {
    color: var(--rtcl-primary-color);
    background-color: transparent;
    border: 1px solid var(--rtcl-primary-color);
}

.select2-container--default .select2-selection--single {
    height: 45px;
}

span#select2-billing_country-container {
    line-height: 45px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 10px;
    right: 10px;
}

.rtcl .rtcl-listing-header {
    margin: 0;
}

.rtcl .rtcl-breadcrumb {
    /*margin: 0;*/
}

.page .rtcl-breadcrumb {
    color: #767676;
    font-size: .92em;
    margin: 0 0 20px;
    padding: 0
}

.page .rtcl-breadcrumb a {
    color: #767676
}

.rtcl-wrapper .bottom-description {
    margin-top: 32px;
}

.rtcl .rtcl-listing-header #rtcl-sidebar {
    display: none;
}

.only-mobile {
    display: none;
}

body:not(.logged-in) .admin {
    display: none !important;
}

@media (max-width: 767px) {
    body.author.rtcl #rtcl-sidebar {
        display: none;
    }

    .tax-rtcl_category .rtcl-wrapper #rtcl-sidebar {
        display: none;
    }

    .rtcl .rtcl-listing-header #rtcl-sidebar {
        display: block;
    }

    .rtcl-single-listing-details .rtcl-listing-title .entry-title {
        display: none;
    }

    .rtcl-listings-header-title.page-title {
        font-size: 30px;
        line-height: 36px;
    }

    .only-mobile {
        display: block;
    }

    .rtcl-el-listing-header-action .rtcl-el-header-btn .rtcl-el-add-listing-btn .rtcl-el-item-btn .rtcl-el-btn-text {
        font-size: 0;
    }

    .rtcl-el-listing-header-action .rtcl-el-header-btn .rtcl-el-add-listing-btn .rtcl-el-item-btn {
        padding: 0;
        width: 40px !important;
    }
}

@media (max-width: 425px) {
    .rtcl-el-listing-header-action .rtcl-el-header-btn {
        justify-content: center;
        float: unset;
    }


}

#mobile-menu {
    display: flex;
    flex-direction: column;
}

#mobile-menu a {
    width: 100%;
    background: #FFF;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    color: #000;
}

#open-catalog {
    width: 100%;
    background: #FFF;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    color: #f37e23;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-itams: center;
}

#open-catalog img {
    width: 15px;
}

#category-wrapper {
    position: absolute;
    top: 0;
    background: #FFF;
    width: 100%;
}

#category-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#category-wrapper ul li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

#category-wrapper .hidden {
    display: none;
}

#go-back {
    margin-bottom: 10px;
    background: none;
    border: none;
    color: #0073aa;
    font-weight: bold;
    cursor: pointer;
}

#category-wrapper .category-level .category-level {
    position: absolute;
    top: 35px;
    width: 100%;
    margin: 0;
    background: #FFF;
    left: 0;
    height: 100%;
}

#category-wrapper .category-level .category-level .category-level {
    z-index: 3;
    top: 0;
}

/* Author profile card in sidebar */
.author-profile-card {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.author-profile-image {
    width: 100%;
    display: flex;
    justify-content: center;
}

.author-profile-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 4px;

}
.rtcl .rtcl-grid-view .listing-item.is-featured {
    border: 1px solid #f37e23!important;
}
.author-profile-name {
    margin: 15px 0 0;
    font-size: 18px;
    font-weight: 700;
    color: #162445;
    text-align: center;
    width: 100%;
}
.rtcl .rtcl-grid-view .rtcl-listing-item .listing-thumb .listing-thumb-inner .rtcl-thumbnail {
    aspect-ratio: 1 / 1;
    object-fit: contain;
}


@media (max-width: 767px) {
    .rtcl .rtcl-listings.rtcl-grid-view {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }

    .rtcl .rtcl-grid-view .listing-item .item-content {
        padding: 10px;
    }

    #primary .rtcl-listings .listing-item .item-content h3.rtcl-listing-title {
        font-size: 12px;
        line-height: 1.3;
        margin-bottom: 6px;
    }

    /* Hide the Ad Type and Author items */
    #primary .item-content .rtcl-listing-meta-data li.ad-type,
    #primary .item-content .rtcl-listing-meta-data li.author {
        display: none;
    }

    /* Reduce font size for metadata */
    #primary .item-content .rtcl-listing-meta-data li.rt-location,
    #primary .item-content .rtcl-listing-meta-data li.updated {
        font-size: 12px;
        color: #777;
    }

    #primary .item-content .rtcl-price-wrap .rtcl-price {
        font-size: 16px;
    }
    #primary .item-content .rtcl-price {
        font-size: 16px;
    }

    /* Shrink the icons */
    #primary .item-content .rtcl-listing-meta-data li.rt-location svg,
    #primary .item-content .rtcl-listing-meta-data li.updated i {
        transform: scale(0.9);
        vertical-align: middle;
    }

    /* Hide the "Kaina:" label text */
    #primary .item-content .rtcl-price-wrap .price-label {
        display: none;
    }
    #primary .rtcl-listing-item .item-content .price-label {
        display: none;
    }

    #primary .item-content .rtcl-price-wrap .price-type-fixed {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    #primary .rtcl-listings .listing-item {
        overflow: hidden;
    }
}

/* Home page v2 styles */
.home-flex-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 40px;
}
.home-menu-column {
    flex: 0 0 250px;
    max-width: 250px;
}
.home-banner-column {
    flex: 1;
    min-width: 0;
}

.home-banner-column img {
    width: 100%;
    height: auto;
}

.rtcl-carousel-slider .swiper-slide {
    width: 100%;
}

.home-content-area section {
    margin: 40px 0 40px 0;
}
.home-content-area .home-top-section {
    margin-top: 0px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    margin-top: 40px;
}
.view-all-link {
    display: flex;
    align-items: center;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}
.view-all-link:hover {
    color: var(--rtcl-primary-color);
}

/* Popular Categories Styles */
.popular-categories-section .cat-details {
    height: 100%;
    border-radius: 5px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.popular-categories-section .cat-details-inner {
    height: 100%;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.popular-categories-section .cat-details-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

@media (min-width: 992px) {
    .mobile-category-grid {
        display: none;
    }
}
@media (max-width: 991px) {
    .home-menu-column {
        display: none;
    }
    .home-flex-container {
        display: block;
    }
}
@media (max-width: 767px) {
    .home-content-area .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .home-content-area .features-section {
        display: none;
    }
}

.home-content-area .listing-item {
    overflow: hidden;
}

.home-content-area .rtcl-listing-meta-data li.author {
    display: none;
}

/* Features Section Styles */
.home-content-area .features-section {
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 60px;
    margin-bottom: 40px;
}
.home-content-area .features-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.home-content-area .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
}
.home-content-area .feature-icon {
    font-size: 28px;
    color: var(--rtcl-primary-color);
    background: rgba(200, 200, 200, 0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}
.home-content-area .feature-content h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}
.home-content-area .feature-content p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Bottom Button Styles */
.section-bottom-action {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 50px;
}
.section-bottom-action .btn-view-more {
    display: inline-block;
    background-color: var(--rtcl-primary-color);
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
}
.section-bottom-action .btn-view-more:hover {
    background-color: var(--rtcl-primary-color-hover, #e04e52);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 90, 95, 0.3);
}

.home-content-area .partners-section {
    margin: 40px 0 0 0;
}
.home-content-area .partners-section h3 {
    font-size: 18px;
}
.home-content-area .partners-section .rtcl {
    background: #f9f9f9;
    padding: 40px 10px;
    border-radius: 8px;
}
.home-content-area .partner-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}
.home-content-area .partner-slide img {
    max-width: 100%;
    max-height: 50px;
    transition: filter 0.3s, opacity 0.3s;
}

/* News Section Styles */
.home-content-area .news-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.home-content-area .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.home-content-area .news-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.home-content-area .news-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.home-content-area .news-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}
.home-content-area .news-title {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 700;
}
.home-content-area .news-title a {
    color: #333;
    text-decoration: none;
}
.home-content-area .news-title a:hover {
    color: var(--rtcl-primary-color);
}
.news-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}
.news-read-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--rtcl-primary-color);
    text-decoration: none;
}
.news-read-more:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .subcategory-item a {
        padding: 0px;
    }

    .subcategory-image {
        width: 150px;
        height: 130px;
        overflow: hidden;

        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }

    .subcategory-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.btn-umdo {
    display: inline-block;
    background-color: var(--rtcl-primary-color);
    color: #fff !important;
    border-radius: 4px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.5;
    border: 1px solid transparent;
}

.btn-umdo:hover {
    text-decoration: none;
}

.btn-umdo-secondary {
    background-color: #162445;
}

.btn-umdo-secondary:hover {
    background-color: #162445;
}