/*
Theme Name: Keiraezo
Theme URI: https://keiraezo.pl
Author: CloudyStart
Author URI: https://optymalizacjakredytowa.pl
Description: Magiczny motyw sklepu z amuletami i talizmanami. Boho meets Mystic. Zoptymalizowany pod WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: keiraezo
Tags: e-commerce, woocommerce, custom-colors, custom-menu, featured-images, full-width-template, theme-options

Keiraezo WordPress Theme, Copyright 2025 CloudyStart
Keiraezo is distributed under the terms of the GNU GPL
*/

/* Reset podstawowy - reszta w theme-magic.css */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Quicksand', sans-serif;
}

/* WooCommerce podstawowe nadpisania */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-top-color: #8B7355 !important;
}

.woocommerce-message::before {
    color: #8B7355 !important;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background-color: #8B7355 !important;
    color: #fff !important;
    border-radius: 9999px !important;
    padding: 0.75rem 2rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background-color: #7A6248 !important;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background-color: #3D2F2F !important;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
    background-color: #2D1F1F !important;
}

/* Ceny */
.woocommerce .price,
.woocommerce .amount {
    color: #8B7355 !important;
    font-weight: 600 !important;
}

.woocommerce del .amount {
    color: #9ca3af !important;
}

/* Badge sprzedaży */
.woocommerce span.onsale {
    background-color: #ef4444 !important;
    border-radius: 4px !important;
    min-width: auto !important;
    min-height: auto !important;
    line-height: 1.5 !important;
    padding: 0.25rem 0.5rem !important;
}

/* Gwiazdki ocen */
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before {
    color: #8B7355 !important;
}

/* Paginacja */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    border-color: #8B7355 !important;
    color: #8B7355 !important;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background-color: #8B7355 !important;
    color: #fff !important;
}

/* Formularze */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    border: 1px solid #d1d5db !important;
    border-radius: 0.5rem !important;
    padding: 0.75rem 1rem !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: #8B7355 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(139, 115, 85, 0.2) !important;
}

/* Tabele */
.woocommerce table.shop_table {
    border-radius: 0.5rem !important;
    overflow: hidden !important;
}

.woocommerce table.shop_table th {
    background-color: #FAF7F2 !important;
}
