/*
Theme Name: Kidz-Child
Theme URI: https://parkofideas.com/kidz/
Text Domain: kidz-child
Description: Modern Retina ready Responsive WordPress Blog Theme
License: GNU General Public License v2.0 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 1.2
Template: kidz
Author: parkofideas.com
Author URI: https://parkofideas.com
Tags: one-column, two-columns, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, theme-options, translation-ready
*/


/* =Theme customization starts here
-------------------------------------------------------------- */


:root {
    /* Colors */
    --black: #001A34;
    --grayscale-200: #f8f9fc;
    --grayscale-300: #F2F5F9;
    --grayscale-400: #E0E6EF;
    --grayscale-600: #707F8D;
    --green: #10C44C;
    --white: #FFFFFF;
    --blue: #0057FF;
    --raspberry: #F91155;
}

html {
    scroll-behavior: smooth;
}

@media (max-width: 991px) {
    .hidden-mobile {
        display: none !important;
    }
}
@media (min-width: 992px) {
    .hidden-desktop {
        display: none !important;
    }
}

.cart_totals .sale-block,
.checkout .sale-block {
    padding: 12px 0 0;
    margin: 0;
    background: transparent;
}

.sale-block {
    padding: 12px 16px;
    background: var(--grayscale-300);
    border-radius: 12px;
    margin-bottom: 20px;
}

@media (max-width: 991px) {
    .sale-block {
        padding: 12px 0;
        border-radius: 0;
        border-top: 1px solid var(--grayscale-400);
        border-bottom: 1px solid var(--grayscale-400);
        background: transparent;
    }
}
.sale-block_title {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: var(--black);
}
.sale-block_title span {
    margin-left: 5px;
    color: var(--white);
}
.sale-block_title span {
    color: var(--black);
}
.sale-block_title span.price-amount {
    color: var(--green);
}
.sale-block_more {
    position: absolute;
    top: 22px;
    right: 14px;
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    color: var(--grayscale-600);
    margin-left: auto;
    transition: color 0.3s;
}
.sale-block_more:hover {
    color: var(--blue);
}
.sale-block_progress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}
.sale-block_progress__item {
    position: relative;
    background: var(--grayscale-400);
    border-radius: 4px;
    height: 12px;
}
.sale-block_progress__background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: var(--green);
    border-radius: 4px;
}
.sale-block_progress__value {
    position: relative;
    width: 100%;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    color: var(--grayscale-600);
    padding: 2px;
    text-align: center;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* временно */
    display: none;
    /* временно */
}
.sale-block_progress__value.active {
    color: #fff;
}
.sale-block_signature {
    font-size: 14px;
    line-height: 18px;
    color: var(--grayscale-600);
    margin-bottom: 12px;
}
.sale-block_arrow {
    margin-left: 4px;
}


.order-total td {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.order-total del *,
.order-total del {
    font-size: 18px;
}
.order-total ins {
    text-decoration: none;
}


/*Cats list in category*/

.widget.widget_cats_list_widget .cats_list-item {
    display: flex;
    align-items: center;
    padding: 4px 0;
    width: 100%;
    font-size: 16px;
    line-height: 18px;
    font-weight: 400;
    letter-spacing: .2px;
}

.widget.widget_cats_list_widget .cats_list-item--current .cats_list-item__link {
    background-color: rgba(0,150,255,.12);
    border-radius: 3px;
    padding: 4px 8px;
}

.widget.widget_cats_list_widget .cats_list-item--child {
    margin-left: 16px;
}

/*popup*/
.popmake {
    top: 50% !important;
    transform: translateY(-50%);
}

.shop-content #customer_login h1,
.popmake #customer_login h1 {
    color: #000;
    font-size: 32px;
    line-height: 40px;
    margin: 0 auto 12px auto;
    max-width: 400px;
    text-align: left;
}

.shop-content #customer_login h2,
.popmake #customer_login h2 {
    font-size: 14px;
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
    color: #9A9A9A;
}

@media (max-width: 546px) {
    .shop-content #customer_login h1,
    .popmake #customer_login h1 {
        text-align: left;
        font-size: 22px;
        margin-top: 28px;
    }

    .shop-content #customer_login h2,
    .popmake #customer_login h2 {
        font-size: 14px;
        margin-top: 0;
        text-align: left;
    }

    .popmake #customer_login .inline, .popmake #customer_login .inline + *[type=submit] {
        width: 100%;
    }

    .popmake #customer_login .lost_password {
        margin-top: 0;
    }
}

/* Фикс смещения макета при открытии popup */
html.pum-open.pum-open-overlay.pum-open-scrollable body>:not([aria-modal=true]) {
    -webkit-padding-end: 0;
}

.woocommerce-info {
    justify-content: flex-start !important;
    align-items: center !important;
}
.woocommerce-info form,
.woocommerce-info input,
.woocommerce-info a,
.woocommerce-info button {
    margin-left: auto !important;
}

/* Каталог */
.ip-shop-loop-price .points_block {
    margin-bottom: 0 !important;
}
.archive .ip-shop-loop-price .price {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    font-weight: 800;
}

.catalog-banner {
    display: block;
    width: 100%;
    margin-bottom: 24px;
}
.catalog-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Страница товара */
.single.sidebar-short .ip-p-c .product_title {
    font-size: 26px;
}

.single .ip-p-c .ip-product-stock-status {
    text-align: left;
}

.ip-p-c .product .summary .price {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    margin-top: 0;
    margin-bottom: 4px;
    font-weight: 800;
    color: var(--black);
}

.single .ip-p-c .related.products {
    text-align: left;
}
@media (max-width: 991px) {
    .single .ip-p-c .related.products {
        margin-bottom: 48px;
    }
}

.ip-p-c .related.products h2 {
    font-size: 24px;
    font-weight: 800;
    border: 0;
    margin-bottom: 18px;
    line-height: 1.2;
    text-transform: none;
}
@media (max-width: 991px) {
    .ip-p-c .related.products h2 {
        margin-top: 8px;
    }
}
.c-home-tabs--carousel.related div.products .product {
    width: 290px !important;
}
@media (min-width: 1351px) {
    .c-home-tabs--carousel.related div.products .product {
        width: 300px !important;
    }
}

/*@media (min-width: 992px) {*/
    .product  .woocommerce-Tabs-panel--section-on-desktop:before {
        left: initial;
        transform: none;
        text-transform: none;
        border: 0;
        margin-bottom: 18px;
        font-size: 24px;
        font-weight: 800;
    }
    .product .woocommerce-Tabs-panel--section-on-desktop {
        margin-top: 0;
        padding-top: 60px;
    }
/*}*/
@media (max-width: 991px) {
    .product .woocommerce-Tabs-panel {
        padding-top: 40px;
    }
}

.woocommerce-product-attributes.shop_attributes .options-table {
    margin-top: 0;
}
.single #tab-reviews #comments, .single #tab-reviews #review_form_wrapper {
    max-width: initial;
}

.single #tab-reviews .woocommerce-noreviews {
    margin-left: 0;
}
.single #tab-reviews #review_form_wrapper {
    padding-left: 0;
}

.points_block {
    display: flex;
    align-items: center;
    width: fit-content;
    width: -moz-fit-content;
    flex-shrink: 0;
    background-color: #F1E8FF;
    padding: 4px;
    margin-top: 4px;
    margin-bottom: 20px;
    border-radius: 14px;
    color: #9C5AFF;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
}
.points_block svg,
.points_block img {
    width: 16px !important;
    height: 16px !important;
    margin-right: 4px;
}

@media (min-width: 992px) {
    .product-sidebar_info {
        margin-right: -15px;
        padding: 24px 16px;
        border-radius: 16px;
        box-shadow: 0 6px 16px rgba(0,26,52,0.16), 0 0 0 rgba(0,26,52,0.05);
        background-color: var(--white);
    }
}

/* Краткие хар-ки */
.options-table {
    margin: 16px 0;
}
@media (min-width: 670px) {
    .options-table.options-table--two-col {
        display: grid;
        grid-template-columns: repeat(2, 2fr);
        gap: 10px;
    }
}
.options-row {
    display: flex;
    padding-bottom: 16px;
    align-items: flex-start;
}
.options-cell {
    display: flex;
    align-items: flex-end;
    width: 50%;
}
.options-cell:first-child {
    position: relative;
}
.options-cell:last-child {
    padding-left: 8px;
}
.options-name {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}
.options-name > * {
    background-color: var(--white);
    height: 24px;
}
.options-name::before {
    content: '';
    position: absolute;
    bottom: 1px;
    width: 100%;
    left: 0;
    border-bottom: 1px dotted var(--grayscale-400);
}
.options-name .span {
    position: relative;
    z-index: 1;
    color: var(--grayscale-600);
    padding-right: 5px;
}
.options-value {
    font-weight: 500;
}
.options-table .options-value a {
    transition: 0.24s;
    color: var(--blue);
}
.options-table .options-value a:hover {
    color: var(--black);
}
.options-caption {
    width: 100%;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #E0E6EF;
    color: #707F8D;
    font-size: 14px;
    display: block;
}
.product-short-description {
    margin-bottom: 16px;
}
.product-short-description .note-error {
    color: var(--raspberry);
    margin-top: 16px;
    margin-bottom: 0;
}
.product-short-description .more-info {
    display: block;
    color: var(--blue);
    margin-top: 16px;
    margin-bottom: 0;
}
/* end Краткие хар-ки */

/* Comments */
.product .commentlist .star-rating {
    float: none;
    margin: 0;
}
.product .commentlist .meta {
    margin-bottom: 4px;
}
.product .commentlist .children {
    list-style: none;
    margin-top: 24px;
}
/* end Comments */


/* Price block */
@media (max-width: 991px) {
    .entry-summary {
        margin-top: 0 !important;
    }
    .entry-summary .product-sidebar_info {
        padding: 16px 12px;
        background-color: #F8F9FC;
        border-radius: 16px;
    }
}
/* end Price block */

@media (max-width: 991px) {
    .product .product-info {
        float: none;
    }
}

/* Horizontal Scroll */
@media (max-width: 991px) {
    .selections-wrapper{
        width: 100%;
    }
    .horizontal-scroll{
        overflow-x: auto;
    }
    .horizontal-scroll {
        -ms-overflow-style: none; /* IE и Edge */
        scrollbar-width: none; /* Firefox */
        overflow-x: auto;
        overflow-y: hidden;
        position: relative;
    }

    .horizontal-scroll::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }
    .horizontal-scroll > *{
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-left: -15px !important;
        margin-right: -15px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .selections.horizontal-scroll:before,
    .selections.horizontal-scroll:after {
        opacity: 0;
        content: '';
        width: 15px;
        height: 100%;
        background: linear-gradient(270deg, #fff, rgba(242, 245, 249, 0));
        position: absolute;
        top: 0;
    }
    .horizontal-scroll:before {
        left: 0;
        transform: scaleX(-1);
    }
    .horizontal-scroll:after {
        right: 0;
    }
    .horizontal-scroll > *::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    .horizontal-scroll > *::-webkit-scrollbar-thumb {
        background: transparent;
    }

    .horizontal-scroll > *::-webkit-scrollbar-track {
        background: transparent;
    }

    .horizontal-scroll > * {
        scrollbar-face-color: transparent;
        scrollbar-track-color: transparent;
    }
}
/* end Horizontal Scroll */

.woocommerce-no-products-found {
    width: 100%;
}
.woocommerce-no-products-found .woocommerce-info {
    margin: 20px 0;
}

.suggestions-nowrap {
    white-space: nowrap
}

.suggestions-input {
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%
}

.suggestions-input::-ms-clear {
    display: none
}

.suggestions-wrapper {
    position: relative;
    margin: 0;
    padding: 0;
    vertical-align: top;
    -webkit-text-size-adjust: 100%
}

.suggestions-suggestions {
    background: #fff;
    border: 1px solid #999;
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    cursor: default;
    left: 0;
    min-width: 100%;
    position: absolute;
    z-index: 9999;
    -webkit-text-size-adjust: 100%
}

.suggestions-suggestions strong {
    font-weight: 400;
    color: #39f
}

.suggestions-suggestions.suggestions-mobile {
    border-style: none
}

.suggestions-suggestions.suggestions-mobile .suggestions-suggestion {
    border-bottom: 1px solid #ddd
}

.suggestions-suggestion {
    padding: 4px 4px;
    overflow: hidden
}

.suggestions-suggestion:hover {
    background: #f7f7f7
}

.suggestions-selected {
    background: #f0f0f0
}

.suggestions-selected:hover {
    background: #f0f0f0
}

.suggestions-hint {
    padding: 4px 4px;
    white-space: nowrap;
    overflow: hidden;
    color: #777;
    font-size: 85%;
    line-height: 20px
}

.suggestions-subtext {
    color: #777
}

.suggestions-subtext_inline {
    display: inline-block;
    min-width: 6em;
    vertical-align: bottom;
    margin: 0 .5em 0 0
}

.suggestions-subtext-delimiter {
    display: inline-block;
    width: 2px
}

.suggestions-subtext_label {
    margin: 0 0 0 .25em;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 0 3px;
    background: #f5f5f5;
    font-size: 85%
}

.suggestions-value[data-suggestion-status=LIQUIDATED] {
    position: relative
}

.suggestions-value[data-suggestion-status=LIQUIDATED]:after {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 1px solid rgba(0, 0, 0, .4);
    content: ""
}

.suggestions-promo {
    font-size: 85%;
    display: none;
    color: #777;
    padding: 4px;
    text-align: center
}

.suggestions-promo a {
    color: #777;
    display: block;
    filter: grayscale(100%);
    line-height: 20px;
    text-decoration: none
}

.suggestions-promo a:hover {
    filter: grayscale(0)
}

.suggestions-promo svg {
    height: 20px;
    vertical-align: bottom
}

@media screen and (min-width: 600px) {
    .suggestions-promo {
        position: absolute;
        top: 0;
        right: 0;
        text-align: left
    }
}
.woocommerce-input-wrapper .suggestions-wrapper, .woocommerce-input-wrapper .suggestions-suggestions{
    width: 100%;
    min-width: 100%;
}