/*
 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;
}