/*
Theme Name:   Balthor Child
Description:  Child theme for Balthor PULLER - nowy design
Author:       Balthor
Template:     astra
Version:      1.0.0
*/

/* ==========================================
   FONTY LOKALNE
   ========================================== */

@font-face {
    font-family: 'BalthorUI';
    src: url('assets/fonts/bui-rg.woff2') format('woff2'),
         url('assets/fonts/bui-rg.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BalthorUI';
    src: url('assets/fonts/bui-bd.woff2') format('woff2'),
         url('assets/fonts/bui-bd.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BalthorUI';
    src: url('assets/fonts/bui-bd.woff2') format('woff2'),
         url('assets/fonts/bui-bd.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BalthorUI';
    src: url('assets/fonts/bui-bd.woff2') format('woff2'),
         url('assets/fonts/bui-bd.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ==========================================
   ZAZNACZANIE TEKSTU
   ========================================== */

::selection {
    background-color: rgba(255, 69, 0, 0.75);
    color: #ffffff;
}
::-moz-selection {
    background-color: rgba(255, 69, 0, 0.75);
    color: #ffffff;
}

/* ==========================================
   GLOBALNE STYLE - Dark Theme Override
   ========================================== */

/* Wymuś ciemne tło na WooCommerce pages (koszyk, checkout, produkt) */
body.woocommerce,
body.woocommerce-page,
body.single-product {
    background-color: #0a0a0a;
    color: #ffffff;
}

/* Astra header override na WooCommerce pages */
body.woocommerce #masthead,
body.woocommerce-page #masthead {
    background-color: rgba(0, 0, 0, 0.9) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Linki nawigacji */
body.woocommerce .ast-header-html-inner a,
body.woocommerce-page .ast-header-html-inner a {
    color: #ffffff;
}

/* WooCommerce produkty - karty */
body.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
body.woocommerce-page ul.products li.product .woocommerce-LoopProduct-link {
    background-color: #141414;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

/* WooCommerce przyciski */
body.woocommerce .button,
body.woocommerce-page .button,
body.woocommerce a.button,
body.woocommerce button.button {
    background-color: #ff4500 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background-color 0.2s ease;
}

body.woocommerce .button:hover,
body.woocommerce-page .button:hover {
    background-color: #cc3700 !important;
}

/* Strona produktu */
body.single-product .site-main {
    background-color: #0a0a0a;
}

body.single-product .product_title {
    color: #ffffff;
}

body.single-product .woocommerce-product-details__short-description {
    color: #d1d5db;
}

body.single-product .price {
    color: #ff4500 !important;
}

/* Koszyk i checkout */
body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main {
    background-color: #0a0a0a;
}

body.woocommerce-cart .cart-collaterals,
body.woocommerce-checkout form.checkout {
    color: #ffffff;
}

/* Inputy w checkout */
body.woocommerce-checkout .woocommerce-input-wrapper input,
body.woocommerce-checkout .woocommerce-input-wrapper select,
body.woocommerce-checkout .woocommerce-input-wrapper textarea {
    background-color: #141414 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
}

/* Astra footer override */
#colophon {
    background-color: #000000;
    color: rgba(255, 255, 255, 0.4);
}
