/*
 Theme Name:        GolfClub Child Theme
 Theme URI:         https://golfclub.axiomthemes.com/
 Description:       GolfClub is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
 Author:            AxiomThemes
 Author URI:        https://axiomthemes.com/
 Template:          golfclub
 Version:           1.0
 Tested up to:      6.6
 Requires at least: 5.0
 Requires PHP:      7.0
 License:           GNU General Public License v2 or later
 License URI:       http://www.gnu.org/licenses/gpl-2.0.html
 Tags:              flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
 Text Domain:       golfclub
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */
.sticky_socials_wrap.sticky_socials_default {
    right: 12px !important;
    left: auto !important;
}

.sticky_socials_wrap.sticky_socials_default {
    right: 12px !important;
    left: auto !important;
}

.sc_item_descr.sc_promo_descr {
    text-align: justify;
}

.sc_promo_image {
    background-size: contain;
}

.sc_layouts_cart:not(.modern) .sc_layouts_cart_widget .widget_shopping_cart .buttons a {
    font-size: 12px !important;
}

.icon-open-menu:before {
    content: '\22ef' !important;
}


/* Общие стили самой плашки */
.custom-stock-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Легкая тень, чтобы читалось на любом фоне */
}

.badge-instock {
    background-color: #28a745;
    color: #ffffff;
}

.badge-preorder {
    background-color: #ffc107;
    color: #000000;
}

/* ------------------------------------------- */
/* Общая обертка для абсолютного позиционирования */
/* ------------------------------------------- */
.custom-stock-badge-wrapper {
    position: absolute;
    top: 10px;
    /* Отступ сверху от края картинки */
    left: 10px;
    /* Отступ слева от края картинки */
    z-index: 99;
    /* Чтобы бейдж был поверх фото и зума */
    pointer-events: none;
    /* Чтобы бейдж не мешал кликать на картинку */
}

/* ------------------------------------------- */
/* Защита позиционирования для родительских блоков */
/* ------------------------------------------- */

/* Для каталога: делаем карточку товара относительной */
ul.products li.product {
    position: relative;
}

/* Для детальной страницы: делаем блок с картинкой относительным */
.woocommerce div.product div.images,
.woocommerce-product-gallery {
    position: relative;
}

.outofstock_label {
    display: none !important;
}

.product-template-default .sc_layouts_title {
    display: none !important;
}

.sc_layouts_menu_dir_horizontal .sc_layouts_menu_nav>li>a,
.sc_layouts_menu_dir_horizontal .sc_layouts_menu_nav>li.menu-item-has-children>a,
.sc_layouts_menu_nav>li>a,
.sc_layouts_menu_nav>li.menu-item-has-children>a {
    font-weight: 400;
    font-family: sans-serif;
}

.icon-telegram:before {
    color: #24aaec;
    font-size: 25px;
}

.icon-whatsapp:before {
    color: #25d366;
    font-size: 25px;
}

.icon-instagramm:before {
    color: #e4405f;
    font-size: 25px;
}

.icon-phone-circled:before {
    color: #7460f2;
    font-size: 25px;
}
.woocommerce-checkout .woocommerce-form-coupon-toggle {
    display: none !important;
}
.woocommerce div.product form.cart, .open-preorder-modal {
    margin-bottom: 10px !important;
}
#menu_main li a {
    font-family: "Manrope" !important;
}

.post_layout_classic .post_title {
    font-size: 16px !important;
}
#shipping_method li label {
    font-size: 14px !important;
    font-family: "Manrope" !important;
}
.woocommerce ul#shipping_method li {
    text-align: left !important;
}
.woocommerce-checkout *, .woocommerce-cart * {
    font-family: "Manrope" !important;
}
.woocommerce-billing-fields__field-wrapper .optional {
    display: none !important;
}
/* Применяется только на странице результатов поиска */
.search-results .post_featured.with_thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.search-results .post_featured.with_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.woocommerce-Price-amount{
    white-space: nowrap;
}
.woocommerce-checkout-review-order-table .cart-coupon-inner {
display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    position: relative;
    border: 1px solid var(--theme-color-input_bd_color);
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-left: 25px;
    height: 55px;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 30px;
    background-color: var(--theme-color-bg_color);
}
.woocommerce-checkout-review-order-table .cart-coupon-inner:before {
    content: "\e9bd";
    font-family: "fontello";
    display: inline-block;
    color: var(--theme-color-text_dark);
    font-size: 22px;
    font-weight: 400;
}
.woocommerce-checkout-review-order-table .cart-coupon-inner input {
    padding: 13px 10px;
    font-size: 15px;
    font-weight: 400;
    line-height: normal;
    border: none;
    -webkit-box-flex: 1;
    -ms-flex: 1 auto;
    flex: 1 auto;
    width: 100%;
    margin-right: 20px;
}
 .woocommerce-checkout-review-order-table .cart-coupon-inner button {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    width: 155px;
    padding: 0 0 1px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    background: none;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 12px;
    border-radius: 30px;
    color: var(--theme-color-text_dark);
    background-color: var(--theme-color-bg_color);
}
 .woocommerce-checkout-review-order-table  .cart-coupon-inner button:before {
    content: "";
    display: block;
    height: 22px;
    width: 1px;
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 2px;
    background: var(--theme-color-input_bd_color);
}