/**
 * Theme Name: RTI Child
 * Template:   rti
 */

body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

/*
 * Text and navigation link styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */

a {
    text-decoration-thickness: 1px;
    text-underline-offset: 0.25ch;
}

a:hover,
a:focus {
    text-decoration-style: dashed;
}

a:active {
    text-decoration: none;
}

.wp-block-navigation .wp-block-navigation-item a:hover,
.wp-block-navigation .wp-block-navigation-item a:focus {
    text-decoration: underline;
    text-decoration-style: solid;
}

/*
 * Search and File Block button styles.
 * Necessary until the following issues are resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/36444
 * https://github.com/WordPress/gutenberg/issues/27760
 */

.wp-block-search__button,
.wp-block-file .wp-block-file__button {
    background-color: var(--wp--preset--color--primary);
    border-radius: 0;
    border: none;
    color: var(--wp--preset--color--background);
    font-size: var(--wp--preset--font-size--medium);
    padding: calc(.667em + 2px) calc(1.333em + 2px);
}

/*
 * Button hover styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */

.wp-block-search__button:hover,
.wp-block-file .wp-block-file__button:hover,
.wp-block-button__link:hover {
    opacity: 0.90;
}

/*
 * Alignment styles.
 * These rules are temporary, and should not be relied on or
 * modified too heavily by themes or plugins that build on
 * Twenty Twenty-Two. These are meant to be a precursor to
 * a global solution provided by the Block Editor.
 *
 * Relevant issues:
 * https://github.com/WordPress/gutenberg/issues/35607
 * https://github.com/WordPress/gutenberg/issues/35884
 */

.wp-site-blocks,
body > .is-root-container,
.edit-post-visual-editor__post-title-wrapper,
.wp-block-group.alignfull,
.wp-block-group.has-background,
.wp-block-cover.alignfull,
.is-root-container .wp-block[data-align="full"] > .wp-block-group,
.is-root-container .wp-block[data-align="full"] > .wp-block-cover {
    padding-left: var(--wp--custom--spacing--outer);
    padding-right: var(--wp--custom--spacing--outer);
}

.wp-site-blocks .alignfull,
.wp-site-blocks > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-cover,
.wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-template-part > .wp-block-cover,
body > .is-root-container > .wp-block-cover,
body > .is-root-container > .wp-block-template-part > .wp-block-group.has-background,
body > .is-root-container > .wp-block-template-part > .wp-block-cover,
.is-root-container .wp-block[data-align="full"] {
    margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
    margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
    width: unset;
}

/* Blocks inside columns don't have negative margins. */
.wp-site-blocks .wp-block-columns .wp-block-column .alignfull,
.is-root-container .wp-block-columns .wp-block-column .wp-block[data-align="full"],
/* We also want to avoid stacking negative margins. */
.wp-site-blocks .alignfull:not(.wp-block-group) .alignfull,
.is-root-container .wp-block[data-align="full"] > *:not(.wp-block-group) .wp-block[data-align="full"] {
    margin-left: auto !important;
    margin-right: auto !important;
    width: inherit;
}

/*
 * Responsive menu container padding.
 * This ensures the responsive container inherits the same
 * spacing defined above. This behavior may be built into
 * the Block Editor in the future.
 */

.wp-block-navigation__responsive-container.is-menu-open {
    padding-top: var(--wp--custom--spacing--outer);
    padding-bottom: var(--wp--custom--spacing--large);
    padding-right: var(--wp--custom--spacing--outer);
    padding-left: var(--wp--custom--spacing--outer);
}

/*
 * Improves spacing for the legacy Post Comments block.
 * https://core.trac.wordpress.org/ticket/57560
 */

.wp-block-post-comments ol.commentlist ul.children {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.wp-block-post-comments ol.commentlist ul.children li:not(:last-child) {
    margin-bottom: 1rem;
}

.site-main {
    margin-top: 50px;
}

.woocommerce-pagination .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.woocommerce-pagination .page-numbers li {
    
}
.woocommerce-pagination .page-numbers li a {
    font-size: 18px;
    font-weight: 300;
    color: #383838;
    text-decoration: none;
    padding: 11.5px 16.5px;
}
.woocommerce-pagination .page-numbers li .current {
    border-bottom: 1px solid #B02929;
    color: #b02929;
    padding: 11.5px 16.5px;
}
.woocommerce-pagination .page-numbers li .dots {
    padding: 11.5px 16.5px;
    font-size: 18px;
    font-weight: 300;
}

.woocommerce-pagination .page-numbers li a:hover {
    color: #b02929;
}

.page_title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 15px 0;
    color: #383838;
}


.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 400;
    color: #999;
    margin-bottom: 25px;
}
.breadcrumbs a {
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    color: #383838;
}
.breadcrumbs a:hover {
    color: #b02929;
}
.cart a {
    display: block;
    position: relative;
}
.cart a span {
    position: absolute;
    right: -10px;
    top: 0;
    background-color: #b02929;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    padding: 2px;
}

header .categories {
    position: relative;
}

header .categories .categories_list.opened {
    max-height: 600px;
    transition: .4s ease-in all;
    padding: 10px 0;
    background: #fff;
    z-index: 100;
}

header .categories .categories_list {
    position: absolute;
    border: 1px solid #D9D9D9;
    background: #fff;
    top: 61px;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    z-index: 1;
    transition: .4s ease-in all;
}
header .categories .categories_list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    padding: 0 10px;
    line-height: 16.8px;
    position: relative;
}
header .categories .categories_list .categories_item:hover .subcategories{
    display: block;
}

header .categories .categories_list li a {
    color: #383838;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    display: block;
    width: 100%;
    transition: .2s ease-in all;
    line-height: 16px;
    padding: 5px 0;
}
header .categories .categories_list li:hover a {
    transition: .2s ease-in all;
    color: #b02929;
}

header .categories .categories_list li:hover svg path {
    fill: #b02929;
}

header .categories .categories_list .subcategories {
    display: none;
    position: absolute;
    left: 286px;
    background: #fff;
    padding: 10px;
    width: 100%;
    top: -5px;
    z-index: 10;
    transition: .3s ease-in all;
    box-shadow: 0px 0px 4px 0px #00000080;
}
header .categories .categories_list .subcategories li a {
    color: #383838;
    transition: .2s ease-in all;
    display: block;
    line-height: 1.4em;
    padding: 6px 0;
}
header .categories .categories_list .subcategories li a:hover {
    transition: .2s ease-in all;
    color: #b02929;
}
.home_slider_wrapper {
    display: flex;
    justify-content: flex-end;
    margin: 25px 0;
    margin-bottom: 75px;
}
#rev_slider_1_1_wrapper {
    margin: 0!important;
}

#rev_slider_1_1_wrapper rs-pzimg-wrap, rs-sbg-effectwrap, rs-sbg {
    border-radius: 10px;
}

.shop_page .catalog_title {
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
    text-transform: uppercase;
    margin: 30px 0;
}

.shop_page .all_categories {
    margin-bottom: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}
.shop_page .all_categories .category {
    max-width: 204px;
    height: 234px;
    border: 1px solid rgba(217, 217, 217, .3);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.shop_page .all_categories .category:hover {
    box-shadow: -2px 2px 15px 0px #848C8B33;
}

.shop_page .all_categories .category .category_title {
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    color: #383838;
    margin-top: 20px;
    padding: 0 24px;
}

.shop_page .all_categories .category a {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-decoration: none;
}
.shop_page .all_categories .category a:hover .category_title {
    color: #b02929;
}
.shop_page .all_categories .category img {
    max-width: 156px;
}
.shop_page .woocommerce-result-count {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 500;
    color: #848C8B;
    margin: 0;
    float: left;
}
.shop_page .woocommerce-ordering {
    float: right;
}
.woocommerce-ordering .orderby {
    padding: 10px 12px;
    color: #383838;
    font-size: 16px;
    font-weight: 600;
    box-shadow: -2px 2px 15px 0px #848C8B33;
    border: none;
    outline: none;
    cursor: pointer;
    margin: 0 10px;
}

.shop_page .all_products {
    background: #F9F9F9;
    padding: 50px 0;
}

header .user {
    text-decoration: none;
}
header .user:hover {
    color: #b02929;
}
.categories_section .category_title {
    margin-bottom: 30px;
}

header .categories .categories_list li {
    padding: 0 16px!important;
}

header .categories .categories_list li a {
    font-size: 15px!important;
}

.posts .flex-wrapper .article {
    border: 0!important;
    border-radius: 6px;
    box-shadow: 0 0 10px #00000021;
    overflow: auto;
}

.posts .flex-wrapper .article h2, .posts .flex-wrapper .article h2 a {
    font-size: 24px!important;
}

.posts .flex-wrapper .article .category_stats > div {
    font-size: 14px !important;
    color: #383838;
}

.posts .flex-wrapper .article h2 a:hover {
    color: #b02929;
}

.products .product {
    padding: 15px 12px;
    box-shadow: 0 0 10px #0000001c;
    margin: 8px;
    border-radius: 6px;
}

.categories_list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 0 10px #d3d3d3ad;
    border: 0;
}

.categories_list li.categories_item {
    display: flex;
}

.categories_list li.categories_item.hidden {
    display: none !important;
}

.toggle-item {
    list-style: none;
    margin-top: 10px;
}

.toggle-btn {
    width: 100%;
    background: #ededed;
    border: 0;
    padding: 10px;
    cursor: pointer;
}

.toggle-btn:hover {
    background: #e1e1e1;
}

body .qib-button-wrapper {
    margin: 0 5px 0 0;
}

.qib-button-wrapper button.qib-button, .qib-button-wrapper div.quantity.wqpmb_quantity {
    height: 50px!important;
}

.product_page .product-summary .yith-wcwl-add-to-wishlist {
    padding: 12px 12px 11px 12px;
}

.qib-button-wrapper button.qib-button {
    padding: 6px 8px !important;
}

.qib-button-wrapper button.minus.qib-button {
    padding: 6px 8px 10px !important;
}

body .container.product_page .quantity.wqpmb_quantity input.input-text.qty.text {
    width: 32px!important;
}

.align-center {
    text-align: center;
    padding: 10px 5px;
}

.about_wrapper .benefits_wrapper .item .title {
    margin: 0px 50px 5px;
}

.about_wrapper .benefits_wrapper .item {
    border-top: 0;
}

.sale_products .container .sale_products_wrapper .products .product, .recently_added .container .products .product {
    background: #fff;
    margin: 0 6px;
}

.products .product-title {
    margin-top: 10px;
}

header .wrapper .menu li a {
    font-size: 16px;
}

.products .product {
    background: #fff;
}

.products .product .woocommerce-loop-product__title {
    font-size: 14px;
    font-weight: 400;
}

div.rvpm-star-rating span.dashicons {
    font-size: 16px;
}

.rvpm-star-rating .dashicons {
    margin-right: -10px;
}

body ul.products li.product span.price {
    color: #b02929;
    font-weight: 700 !important;
}

.products .product .single_add_to_cart_button, .add_to_cart_button {
    opacity: 1;
}

.products .product .single_add_to_cart_button::before, .products .product .add_to_cart_button::before {
    color: #37bb4e;
}

.products .product .single_add_to_cart_button, .add_to_cart_button {
    background-color: unset;
    border-radius: 10px;
}

.products .product .single_add_to_cart_button:hover, .add_to_cart_button:hover {
    background-color: #f3fffb;
}

.dashicons-star-filled {
    color: #ffdb52;
}



.shop_page .all_products .container, .container .all_products {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: start;
}

.shop_page .shop-sidebar, .subcategories_page .shop-sidebar {
    max-width: 25%;
    padding: 0 25px 0 0;
    box-sizing: border-box;
}

.shop_page .shop-products, .subcategories_page .shop-products {
    width: 74%;
}

.products .product .attachment-woocommerce_thumbnail {
    width: 100%;
    height: 182px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .shop_page .shop-sidebar {
        max-width: 100%;
    }

    .shop_page .shop-products {
        width: 100%;
        padding-top: 20px;
    }
}

.products form.cart {
    margin-top: -44px;
}

.cart a span {
    font-size: 11px;
    padding: 3px;
}

.products .add-to-wishlist-before_image .wishlist-fragment {
    background: none;
}

.products .add-to-wishlist-before_image .wishlist-fragment .yith-wcwl-add-button i {
    color: #ffffff;
}

.products .add-to-wishlist-before_image .wishlist-fragment .yith-wcwl-add-button i:hover {
    color: #ffffff7a;
}

.products .add-to-wishlist-before_image .wishlist-fragment.exists i {
    color: #ffffff;
}

.products .add-to-wishlist-before_image .wishlist-fragment .yith-wcwl-add-button i, .products .add-to-wishlist-before_image .wishlist-fragment.exists i {
    background: #00000030;
    padding: 5px 5px 3px;
    border-radius: 5px;
}
