/*   
Theme Name: Babykon
Author: MG
Author URI: https://mg-live.ru
*/
.reset_variations{
	    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    outline: none;
    border-radius: var(--btn-brd-radius, 0px);
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    line-height: 1.2;
    cursor: pointer;
    transition: all .25s ease;
    color: var(--btn-color, #3E3E3E);
    border: var(--btn-brd-width, 0px) var(--btn-brd-style, solid) var(--btn-brd-color, #E9E9E9);
    background-color: var(--btn-bgcolor, #F3F3F3);
    box-shadow: var(--btn-box-shadow, unset);
    text-transform: var(--btn-transform, uppercase);
    font-weight: var(--btn-font-weight, 600);
    font-family: var(--btn-font-family, inherit);
    font-style: var(--btn-font-style, unset);
    padding: var(--btn-padding, 5px 20px);
    min-height: var(--btn-height, 42px);
    font-size: var(--btn-font-size, 13px);
	    background-color: rgb(220 53 69) !important;
    color: #fff;
    border-radius: 5px;
}

/* babykon responsive improvements 2026-09-01 */
img {
    max-width: 100%;
    height: auto;
}

.btn,
button,
input[type="submit"],
input[type="button"],
.button {
    min-height: 44px;
}

.entry-content,
.woocommerce-product-details__short-description,
.product_title,
.page-title {
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        font-size: 16px;
        line-height: 1.6;
    }

    .main-page-wrapper h1,
    .page-title {
        font-size: 30px;
        line-height: 1.2;
    }

    .single-product .product_title {
        font-size: 24px;
        line-height: 1.3;
    }

    .entry-content h2,
    .woocommerce-tabs h2 {
        font-size: 24px;
        line-height: 1.3;
    }

    .wd-header-mobile-nav > a,
    .wd-header-cart > a,
    .mobile-nav .wd-nav-opener {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .wp-block-wd-button,
    .single_add_to_cart_button,
    .single-product .cart .quantity,
    .single-product .cart .quantity input,
    .woocommerce-ordering select {
        min-height: 44px;
    }

    .single-product form.cart {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: stretch;
    }

    .single-product form.cart .variations,
    .single-product form.cart .single_variation_wrap {
        flex-basis: 100%;
        width: 100%;
    }

    .footer-container .social-icons a {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .wd-breadcrumbs {
        white-space: normal;
        line-height: 1.45;
    }
}

/* babykon mobile touch overrides 2026-09-01 */
@media (max-width: 767px) {
    .woocommerce-ordering select {
        width: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }

    .footer-container a.wd-social-icon {
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* babykon SEO model hub styles 2026-09-01 */
.babykon-seo-hub {
    margin: 40px 0 55px;
    padding: 36px;
    border: 1px solid #ece7e1;
    border-radius: 16px;
    background: #faf8f5;
}

.babykon-seo-hub > h2 {
    margin: 0 0 20px;
    font-size: 28px;
    line-height: 1.25;
}

.babykon-seo-hub > #babykon-model-title {
    margin-top: 34px;
}

.babykon-brand-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.babykon-brand-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #dc3545;
    border-radius: 999px;
    background: #fff;
    color: #3e3e3e;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.babykon-brand-nav a:hover,
.babykon-brand-nav a:focus-visible {
    border-color: #dc3545;
    background: #dc3545;
    color: #fff;
}

.babykon-model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
}

.babykon-brand-card {
    scroll-margin-top: 90px;
    padding: 22px;
    border: 1px solid #ece7e1;
    border-radius: 12px;
    background: #fff;
}

.babykon-brand-card h3 {
    margin: 0 0 14px;
    font-size: 21px;
    line-height: 1.3;
}

.babykon-brand-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.babykon-brand-card li + li {
    margin-top: 8px;
}

.babykon-brand-card a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 12px;
    border-radius: 8px;
    background: #f7f5f2;
    color: #3e3e3e;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
}

.babykon-brand-card a::after {
    content: "→";
    margin-left: auto;
    padding-left: 10px;
    color: #dc3545;
}

.babykon-brand-card a:hover,
.babykon-brand-card a:focus-visible {
    background: #f1e9e4;
    color: #b72b38;
}

@media (max-width: 767px) {
    .babykon-seo-hub {
        margin: 28px 0 38px;
        padding: 22px 16px;
        border-radius: 12px;
    }

    .babykon-seo-hub > h2 {
        margin-bottom: 16px;
        font-size: 24px;
    }

    .babykon-seo-hub > #babykon-model-title {
        margin-top: 28px;
    }

    .babykon-brand-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .babykon-brand-nav a {
        width: 100%;
        padding: 10px 12px;
    }

    .babykon-model-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .babykon-brand-card {
        padding: 18px;
    }
}

/* babykon SEO hub pastel palette 2026-09-01 */
.babykon-seo-hub {
    border-color: #eadfd8;
    background: #fffaf7;
}

.babykon-brand-nav a {
    border-color: #e3cec4;
    background: #f7eae4;
    color: #5b4942;
}

.babykon-brand-nav a:hover,
.babykon-brand-nav a:focus-visible {
    border-color: #d6b8aa;
    background: #ead8d0;
    color: #5a4037;
}

.babykon-brand-card {
    border-color: #eadfd8;
    background: #fffdfb;
}

.babykon-brand-card h3 {
    color: #5b4942;
}

.babykon-brand-card a {
    background: #f8efeb;
    color: #5b4942;
}

.babykon-brand-card a::after {
    color: #c58d7c;
}

.babykon-brand-card a:hover,
.babykon-brand-card a:focus-visible {
    background: #f1dfd8;
    color: #765346;
}
/* Вариант 1: нежная пастель */.babykon-seo-hub{background:linear-gradient(135deg,#fffaf7,#fff4ef);border:0;border-radius:28px;padding:42px;box-shadow:0 14px 35px rgba(181,145,128,.12)}.babykon-brand-nav{gap:14px}.babykon-brand-nav a{border:1px solid #efd4c9;border-radius:18px;background:#fdeee8;color:#694f46;box-shadow:0 5px 12px rgba(194,148,130,.12)}.babykon-model-grid{gap:20px}.babykon-brand-card{border:1px solid #f0ddd5;border-radius:22px;background:rgba(255,255,255,.82);box-shadow:0 8px 22px rgba(181,145,128,.1);padding:24px}.babykon-brand-card a{background:#fff5f1;border:1px solid #f1e0da;border-radius:14px;color:#6b5148}@media(max-width:767px){.babykon-seo-hub{padding:24px 16px;border-radius:22px}.babykon-brand-card{padding:18px;border-radius:18px}}