/*
Theme Name: Storefront Child
Theme URI: http://example.com/storefront-child/
Description: Storefront Child Theme
Author: Frantisek
Author URI: http://example.com
Template: storefront
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain: storefront-child
*/

/* FIX: Remove "Review" artifact/outline on Mobile Menu Toggle */
button.menu-toggle,
button.menu-toggle:hover,
button.menu-toggle:focus,
button.menu-toggle:active,
.handheld-navigation .menu-toggle,
.handheld-navigation .menu-toggle:focus {
    outline: none !important;
    box-shadow: none !important;
    background-image: none !important;
    /* Remove any gradient/image artifacts */
    text-decoration: none !important;
}

/*
   Removed aggressive display:none on pseudo-elements
   because it killed the hamburger icon
*/

/* FIX: Force Reset of Hamburger Icon Lines on Close */
/* We must restore translateY offsets, otherwise they collapse into one line */
.main-navigation:not(.toggled) button.menu-toggle::before {
    transform: translateY(-4px) !important;
}

.main-navigation:not(.toggled) button.menu-toggle::after {
    transform: translateY(4px) !important;
}





/* =========================================
   MAINTENANCE NOTICE BANNER
   ========================================= */
.kovolaz-maintenance-notice {
    background: linear-gradient(135deg, #d35400, #ff6f00);
    color: #ffffff;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(211, 84, 0, 0.3);
    position: relative;
    z-index: 9999;
}

.kovolaz-maintenance-notice .col-full {
    position: relative;
}

.kovolaz-maintenance-notice p {
    margin: 0;
    line-height: 1.5;
    padding-right: 40px;
    /* Space for close button */
}

.kovolaz-maintenance-notice a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 700;
}

.kovolaz-maintenance-notice a:hover {
    color: #000000;
}

.kovolaz-notice-close {
    cursor: pointer;
    margin-left: 10px;
    font-size: 20px;
}

.kovolaz-notice-close:hover {
    opacity: 0.7;
}



/* Mobile optimization */
@media (max-width: 768px) {
    .kovolaz-maintenance-notice {
        font-size: 0.85rem;
        padding: 10px 15px;
    }

    .kovolaz-maintenance-notice p {
        padding-right: 0;
    }

    .kovolaz-notice-close {
        display: block;
        margin-left: 0;
        margin-top: 8px;
        font-size: 20px;
    }
}

/* =========================================
   KOVOLAZ - ULTRA MODERNÍ DESIGN SYSTEM
   ========================================= */

/* 0. ODSTRANĚNÍ DROBEČKOVÉ NAVIGACE (Breadcrumbs) - Global Hide */
.storefront-breadcrumb {
    display: none !important;
}

/* Kompenzace za odstraněné drobečky (více místa pod hlavičkou) */
.site-content {
    padding-top: 50px !important;
}

/* 0a. HOMEPAGE PADDING FIX (No gap for Hero) */
.home.page-template-default .site-content,
.home .site-content {
    padding-top: 0 !important;
}

/* CUSTOM FOOTER LINKS STYLE */
.footer-legal-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #C5A059;
    text-decoration: underline;
}

/* 1. IMPORT FONTŮ (Brutální elegance) */
@import url('https://fonts.googleapis.com/css2?family=Podkova:wght@400;500;600;700;800&family=Montserrat:wght@300;400;600;800&display=swap');

:root {
    /* BARVY - Žádná nuda */
    --bg-deep: #0a0a0a;
    /* Nejhlubší černá */
    --bg-surface: #141414;
    /* Povrch karet */
    --metal-rust: linear-gradient(135deg, #d35400, #ff6f00);
    /* Žhavá rez */
    --metal-gold: linear-gradient(135deg, #C5A059, #E6C278);
    /* Mosaz/Zlato */
    --text-bright: #ffffff;
    /* Bílá */
    --text-muted: #a0a0a0;
    /* Šedá */
    --glow-rust: 0 0 20px rgba(211, 84, 0, 0.5);
    /* Záře */
}

/* 2. GLOBÁLNÍ RESET & POZADÍ */
body {
    background: radial-gradient(circle at center, #1a1a1a 0%, var(--bg-deep) 100%);
    color: var(--text-muted);
    font-family: 'Montserrat', sans-serif;
}

/* ==================
   FOOTER STYLES
   ================== */
.footer-widgets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    padding: 80px 0;
    text-align: left;
    border-top: none;
    background-color: transparent;
    margin-top: 60px;
}

.footer-col h3 {
    color: #C5A059;
    font-size: 1.2rem;
    margin-bottom: 25px;
    border-left: 3px solid #d35400;
    padding-left: 15px;
    text-transform: uppercase;
}

/* Brand Col */
.footer-brand h2 {
    font-family: 'Podkova', serif;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 2.2rem;
    margin: 0 0 15px 0;
    text-shadow: 0 0 10px rgba(197, 160, 89, 0.3);
}

.footer-tagline {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 300px;
}

/* Contact Col */
.footer-contact {
    padding-left: 18px !important;
    /* Match menu alignment (border 3px + padding 15px) */
}

.footer-contact ul {
    margin: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
}

.footer-col.contact-col ul.footer-contact {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.footer-contact li {
    list-style: none;
    margin-bottom: 10px;
    /* Tighter vertical spacing */
    color: #bbb;
    font-size: 0.95rem;
    display: grid;
    grid-template-columns: auto 1fr;
    /* Auto-size labels instead of fixed 70px */
    align-items: baseline;
    /* Better text alignment */
    gap: 8px;
    /* Much smaller gap */
}

.footer-contact strong {
    color: #fff;
    text-transform: uppercase;
    font-size: 0.8rem;
    /* Slightly smaller label */
    letter-spacing: 0.5px;
    padding-top: 0;
    text-align: right;
    /* ALIGN RIGHT for cleaner gap */
    opacity: 0.8;
    /* Subtle hierarchy */
}

/* Menu Col */
.footer-menu a {
    display: block;
    color: #aaa;
    margin-bottom: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-menu a:hover {
    color: #C5A059;
    padding-left: 10px;
    text-shadow: 0 0 5px rgba(197, 160, 89, 0.5);
}

/* =========================================
   ========================================= */

/* NUCLEAR OPTION: Target every possible variation of the Social Link Block */
body .wp-block-social-links,
body .social-icons,
body .widget_social_icons,
body ul.social-media-icons,
body .wp-block-social-links ul,
body .wp-block-social-links li,
body .wp-block-social-links .wp-social-link {
    background: transparent !important;
    border: none !important;
    margin: 0 5px 0 0 !important;
    /* Spacing between icons */
    padding: 0 !important;
    list-style: none !important;
}

body .social-icon-link,
body .wp-block-social-links a,
body .wp-block-social-links a:visited,
body .wp-block-social-links .wp-social-link a,
body .wp-block-social-links .wp-social-link a:visited,
body .social-icons a,
body .widget_social_icons a,
body .social-media-icons a {
    display: flex !important;
    align-items: center;
    justify-content: center !important;
    width: 45px !important;
    /* Slightly larger to be sure */
    height: 45px !important;
    background-color: #1a1a1a !important;
    border: 1px solid #333 !important;
    border-radius: 50% !important;
    color: #C5A059 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

body .social-icon-link:hover,
body .wp-block-social-links a:hover,
body .wp-block-social-links .wp-social-link a:hover,
body .social-icons a:hover,
body .widget_social_icons a:hover,
body .social-media-icons a:hover {
    background-color: #C5A059 !important;
    color: #000 !important;
    border-color: #C5A059 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.4) !important;
}

body .social-icon-link svg,
body .social-icon-link svg path,
body .wp-block-social-links svg,
body .wp-block-social-links svg path,
body .social-icons svg,
body .widget_social_icons svg {
    width: 22px !important;
    height: 22px !important;
    fill: currentColor !important;
    stroke: none !important;
}

/* Footer Bottom Bar */
.site-info {
    background-color: #000 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Podkova', serif;
    /* Kovaný font - Industrial Serif */
    /* color: var(--text-bright); - Handled by theme mod */
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 2a. Tame the Headings (POKLADNA etc.) */
h1.entry-title,
.page-header h1 {
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    padding-top: 0 !important;
}

header.entry-header {
    margin-bottom: 20px !important;
    padding-bottom: 0 !important;
}

/* 3. HLAVIČKA & NAVIGACE (Oprava košíku!) */
.site-header {
    background: rgba(10, 10, 10, 0.8) !important;
    /* Průhledná černá */
    backdrop-filter: blur(10px);
    /* Moderní blur efekt */
    border-bottom: 1px solid #333;
    padding-top: 15px !important;
    padding-bottom: 5px !important;
}

/* 3a. HOMEPAGE HEADER FIX (No gap for Hero) */
.home .site-header {
    margin-bottom: 0 !important;
    border-bottom: 1px solid #333;
    /* Ensure border is visible */
}

/* --- COMPACT HEADER SPACING --- */
.site-header .site-branding,
.site-header .site-search {
    margin-bottom: 5px !important;
    margin-top: 0 !important;
}

.main-navigation,
.site-header-cart {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.site-branding img,
.custom-logo-link img {
    margin-bottom: 0 !important;
}

.main-navigation ul li a {
    color: var(--text-bright) !important;
    font-weight: 800;
    font-size: 14px;
    font-family: 'Podkova', serif !important;
    letter-spacing: 0.5px;
}

.main-navigation ul li a:hover {
    color: #d35400 !important;
    text-shadow: var(--glow-rust);
}

/* --- OPRAVA KOŠÍKU & HLEDÁNÍ --- */
.site-header .site-search .widget_search .search-field,
.site-header .site-search .widget_product_search .search-field {
    background-color: var(--bg-surface) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid #333 !important;
    color: var(--text-bright) !important;
    border-radius: 2px !important;
    /* Sharp industrial look */
    padding: 8px 15px 8px 50px !important;
    /* Left padding for search icon */
    font-size: 14px;
    width: 100%;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.site-header .site-search .widget_search .search-field:focus,
.site-header .site-search .widget_product_search .search-field:focus {
    border-color: #d35400 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 0 10px rgba(211, 84, 0, 0.3) !important;
}

/* Ensure Search Icon is positioned correctly if it's a pseudo-element or separate icon */
.site-header .site-search .widget_search::before,
.site-header .site-search .widget_product_search::before {
    top: 50% !important;
    transform: translateY(-50%) !important;
    left: 15px !important;
    color: #666 !important;
    z-index: 2;
    /* Ensure above input */
    border-radius: 2px !important;
    /* Sharp industrial look */
    padding: 8px 15px 8px 50px !important;
    /* Left padding for search icon */
    font-size: 14px;
    width: 100%;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

/* Ten neviditelný košík */
.site-header-cart .cart-contents {
    color: #C5A059 !important;
    /* Zlatá barva ikony */
}

.site-header-cart .cart-contents:hover {
    color: #d35400 !important;
    /* Rezavá při najetí */
    text-shadow: var(--glow-rust);
}

.site-header-cart .widget_shopping_cart {
    background-color: var(--bg-surface) !important;
    /* Pozadí dropdownu */
    border: 1px solid #C5A059;
}

/* 4. TLAČÍTKA (Jako kus žhavého kovu) */
button,
.button,
.wp-block-button__link,
.added_to_cart,
input[type="submit"],
input[type="button"],
input[type="reset"] {
    background: var(--metal-rust);
    /* Removed !important, allows theme mod fallback */
    color: #fff !important;
    /* Keep white text enforced for readability on rust */
    border: none !important;
    border-radius: 2px !important;
    /* Téměř ostré rohy */
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Podkova', serif !important;
    letter-spacing: 0.5px;
    padding: 12px 30px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Pružný efekt */
    position: relative;
    overflow: hidden;
}

/* 4b. FORMULÁŘOVÉ PRVKY (Enforce Montserrat) */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="search"],
textarea,
select {
    font-family: 'Montserrat', sans-serif !important;
}

/* Efekt "záblesku" při najetí */
button::after,
.button::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg) translate(-100%, -100%);
    transition: all 0.6s ease;
}

button:hover::after,
.button:hover::after {
    transform: rotate(45deg) translate(100%, 100%);
}

button:hover,
.button:hover {
    box-shadow: var(--glow-rust), 0 10px 20px rgba(0, 0, 0, 0.5);
    transform: translateY(-3px);
    animation: metal-pulse 2s infinite;
}

@keyframes metal-pulse {
    0% {
        box-shadow: 0 0 10px rgba(211, 84, 0, 0.4);
    }

    50% {
        box-shadow: 0 0 25px rgba(211, 84, 0, 0.8);
    }

    100% {
        box-shadow: 0 0 10px rgba(211, 84, 0, 0.4);
    }
}

/* 5. PRODUKTOVÉ KARTY & STRÁNKA PRODUKTU */
ul.products li.product {
    background-color: var(--bg-surface);
    border: 1px solid #222;
    padding: 15px;
    transition: all 0.4s ease;
}

ul.products li.product:hover {
    border-color: #d35400;
    box-shadow: var(--glow-rust);
    transform: scale(1.03);
}

ul.products li.product .price {
    color: #C5A059 !important;
    /* Zlatá cena */
    font-family: 'Podkova', serif;
    font-size: 1.3rem;
}

/* Promo Badge */
.promo-badge-3-plus-1 {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--metal-rust);
    color: #fff;
    padding: 5px 12px;
    font-weight: 900;
    font-size: 12px;
    z-index: 10;
    border: 1px solid #ff6f00;
    box-shadow: var(--glow-rust);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Stránka produktu */
.product_title {
    font-size: 3rem;
    margin-bottom: 20px;
    background: var(--metal-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Zlatý text nadpisu */
}

.woocommerce-product-details__short-description {
    font-size: 1.1rem;
    line-height: 1.8;
    border-left: 3px solid #d35400;
    padding-left: 20px;
    margin-bottom: 30px;
}

.variations select {
    background-color: var(--bg-surface);
    border: 1px solid #444;
    color: var(--text-bright);
    padding: 10px;
    border-radius: 0;
}

/* 6. PATIČKA (Aby byla vidět) */
/* 6. PATIČKA (Aby byla vidět) */
.site-footer {
    background: transparent !important;
    /* Remove background completely */
    border-top: 3px solid;
    border-image: linear-gradient(90deg, #d35400, #C5A059, #d35400) 1;
    padding: 0;
    /* Remove padding here, move to inner elements if needed */
    margin-top: 50px;
}

.footer-widgets {
    background: transparent !important;
    /* Ensure widgets area is also transparent */
    padding-top: 50px;
    padding-bottom: 50px;
}

.site-footer a:not(.button) {
    /* Color handled by theme mod */
}

/* 2. SPODNÍ PÁSEK (Copyright) - FULL WIDTH */
.site-info {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #000 !important;
    /* Force black background */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 20px 0;
    /* Add padding for inner content */
    display: flex;
    justify-content: center;
}

.site-info .col-full {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    /* Space between rows */
}

.footer-legal-links {
    margin-bottom: 0;
}

.footer-legal-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal-links a:hover {
    color: #fff;
}

.copyright {
    color: #555;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

/* 7. FRONT PAGE STYLING (Hero, About, Reviews) */

/* Přeneseno a upraveno z předchozí verze pro konzistenci */
/* Remove .hero-kovolaz from this shared rule to control it separately */
.produkty-sekce,
.about-kovolaz,
.reviews-kovolaz,
.contact-grid {
    padding: 80px 20px;
    /* Větší padding pro brutalismus */
}

/* Hero Sekce */
.hero-kovolaz {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #2a2a2a 0%, #050505 100%);
    text-align: center;
    flex-direction: column;
    padding: 20px 20px 60px 20px;
    /* Reduced Top Padding (was 60px/80px) */
    padding-top: 40px !important;
    /* Adjusted to 40px per user request "trochu padding" */

    /* Full viewport width - break out of wrapper */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.hero-kovolaz>* {
    max-width: 1200px;
    /* Limit content width for readability */
}

.hero-kovolaz h1 {
    font-size: 4rem;
    /* Obří nadpis */
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

.hero-kovolaz p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: var(--text-bright);
    font-weight: 300;
    letter-spacing: 1px;
}

/* About Sekce */
/* About Sekce */
.about-grid {
    display: block;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text h2 {
    color: #C5A059;
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.about-image .styled-image {
    width: 100%;
    height: auto;
    border: 1px solid #333;
    border-radius: 2px;
    box-shadow: var(--glow-rust);
    transition: transform 0.5s ease;
}

.about-image .styled-image:hover {
    transform: scale(1.02);
    border-color: #d35400;
}

/* Reviews Sekce */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-card {
        padding: 20px;
        /* Menší padding na mobilu */
    }
}

/* Extra Small Mobiles (iPhone SE, small Androids) */
@media (max-width: 360px) {
    .reviews-header h2 {
        font-size: 1.5rem;
        /* Smaller header */
        word-wrap: break-word;
    }

    /* Force wider container on small screens */
    .reviews-container-custom {
        padding-left: 10px !important;
        padding-right: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto;
    }

    .review-card {
        padding: 12px;
        /* Minimal padding */
    }

    .reviewer-info {
        gap: 8px;
        flex-wrap: nowrap;
        /* Try to keep on one line */
    }

    .reviewer-photo {
        width: 35px;
        height: 35px;
        border-width: 1px;
    }

    .reviewer-name {
        font-size: 0.9rem;
        white-space: nowrap;
        /* Prevent name wrapping if possible */
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
        /* Truncate long names */
    }

    .review-stars {
        font-size: 0.8rem;
    }
}

.review-card {
    background-color: var(--bg-surface);
    border: 1px solid #333;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    border-radius: 2px;
    position: relative;
    height: 100%;
    /* Ensure full height in grid */
}

.review-card::before {
    content: '“';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(211, 84, 0, 0.1);
    font-family: serif;
    line-height: 1;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: #d35400;
    box-shadow: var(--glow-rust);
}

.review-content {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text-bright);
}

.review-author {
    color: #C5A059;
    font-weight: 900;
    font-family: 'Podkova', serif;
    text-align: right;
    font-size: 1.2rem;
}

/* Review Card Internals - Fix for layout */
.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.reviewer-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #C5A059;
    flex-shrink: 0;
}

.reviewer-name {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
    line-height: 1.2;
}

.review-stars {
    display: flex;
    gap: 2px;
    font-size: 0.9rem;
    color: #f1c40f;
    margin-top: 4px;
}

.review-time {
    display: block;
    width: 100%;
    text-align: right;
    font-size: 0.8rem;
    color: #888;
    margin-top: -10px;
    /* Pull up closer to header */
    margin-bottom: 10px;
}

/* Contact Page specific */
.big-contact {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-bright);
}

.contact-info address {
    font-style: normal;
    line-height: 1.6;
}

/* 8. TABS (Záložky) - Modern Cyberpunk Redesign */
.woocommerce-tabs ul.tabs {
    background: transparent !important;
    border: none !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    border-bottom: 2px solid #333 !important;
    justify-content: flex-start !important;
}

.woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    position: relative;
    list-style: none !important;
}

/* DESTROY STOREFRONT DEFAULTS (Arrow & Strike-through) */
.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    border: none !important;
}

.woocommerce-tabs ul.tabs li a {
    color: var(--text-muted) !important;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Podkova', serif !important;
    letter-spacing: 0.5px;
    padding: 15px 0 !important;
    /* Vertical breathing room */
    display: block !important;
    transition: color 0.3s ease;
    font-size: 14px;
    position: relative !important;
    text-decoration: none !important;
    background: transparent !important;
    white-space: nowrap !important;
    line-height: normal !important;
}

/* The Glowing Bar - Apply to ANCHOR for safety */
.woocommerce-tabs ul.tabs li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    /* Sits exactly on the main border */
    left: 0;
    width: 0%;
    height: 2px;
    background: #d35400;
    box-shadow: 0 0 15px #d35400;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.woocommerce-tabs ul.tabs li.active a {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.woocommerce-tabs ul.tabs li.active a::after {
    width: 100%;
}

.woocommerce-tabs ul.tabs li a:hover {
    color: #d35400 !important;
}

.woocommerce-tabs .panel {
    background-color: transparent !important;
    border: none !important;
    color: var(--text-muted) !important;
    box-shadow: none !important;
    padding-top: 20px !important;
}

/* Tabulka atributů */
table.shop_attributes {
    border: 1px solid #333 !important;
    background-color: transparent !important;
    margin-top: 20px;
}

table.shop_attributes th {
    background-color: var(--bg-surface) !important;
    color: var(--text-bright) !important;
    border-bottom: 1px solid #333 !important;
    padding: 15px !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

table.shop_attributes td {
    background-color: transparent !important;
    color: var(--text-muted) !important;
    border-bottom: 1px solid #333 !important;
    padding: 15px !important;
    font-style: normal !important;
}

table.shop_attributes tr:last-child th,
table.shop_attributes tr:last-child td {
    border-bottom: none !important;
}

table.shop_attributes p {
    margin: 0;
    padding: 0;
}

/* 9. ELIMINACE FIALOVÉ A MODRÉ (Global Overrides) */

/* Odkazy obecně - Zlatá/Bílá místo modré/fialové */
/* GLOBÁLNÍ ODSTRANĚNÍ FOCUS OUTLINE (Místo fialového rámečku) */
* :focus {
    outline: none !important;
    box-shadow: none;
    /* Případně nahraďte vlastním stínem, pokud chcete focus indikovat jinak */
}

a {
    color: #C5A059;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #d35400;
    text-decoration: none;
}

/* Specifické WooCommerce odkazy (Vyčistit, atd.) */
.reset_variations {
    color: var(--text-muted) !important;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
}

.reset_variations:hover {
    color: #d35400 !important;
}

/* Edit link (Upravit) */
.post-edit-link {
    color: var(--text-muted) !important;
    opacity: 0.5;
}

.post-edit-link:hover {
    color: #C5A059 !important;
    opacity: 1;
}

/* Input Focus - Odstranění modrého obrysu */
input:focus,
textarea:focus,
select:focus,
.search-field:focus {
    outline: none !important;
    border-color: #d35400 !important;
    box-shadow: 0 0 5px rgba(211, 84, 0, 0.5) !important;
}

/* Select2 a další formulářové prvky - pozadí */
.select2-container .select2-selection--single {
    background-color: var(--bg-surface) !important;
    border: 1px solid #333 !important;
    color: var(--text-bright) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text-bright) !important;
}

/* Odkazy v tabech (pokud nějaké zbyli) */
.woocommerce-tabs ul.tabs li a {
    color: var(--text-muted) !important;
}

.woocommerce-tabs ul.tabs li a:hover {
    color: #C5A059 !important;
}

/* 10. ZMENŠENÍ LOGA */
.site-branding img,
.custom-logo-link img {
    max-width: 50px !important;
    height: auto !important;
}

/* 11. OPRAVA MINI-KOŠÍKU (Widget) - LAYOUT FIX */
.site-header-cart .widget_shopping_cart {
    background-color: var(--bg-surface) !important;
    border: 1px solid #d35400 !important;
    color: var(--text-muted) !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.site-header-cart .widget_shopping_cart .widget_shopping_cart_content {
    padding: 0 !important;
}

.widget_shopping_cart .cart_list li {
    background-color: transparent !important;
    border-bottom: 1px solid #333 !important;
    /* Top, Right (70px for image), Bottom, Left (40px for cross) */
    padding: 20px 70px 20px 40px !important;
    position: relative !important;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.widget_shopping_cart .cart_list li a {
    color: var(--text-bright) !important;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    display: block;
    line-height: 1.4;
    margin-bottom: 5px;
}

.widget_shopping_cart .cart_list li a:hover {
    color: #d35400 !important;
    text-decoration: none;
}

/* Product Image - Absolute Right */
.widget_shopping_cart .cart_list li img {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px !important;
    height: auto !important;
    border: 1px solid #333;
    margin: 0 !important;
}

.widget_shopping_cart .cart_list li .quantity {
    color: var(--text-muted) !important;
    display: block;
    font-size: 0.85em;
}

/* Křížek pro odstranění - Elegantnější */
.widget_shopping_cart .cart_list li a.remove {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    transform: translateY(-50%);
    background: transparent !important;
    color: #666 !important;
    border: 1px solid #444 !important;
    border-radius: 50% !important;
    width: 24px !important;
    height: 24px !important;
    line-height: 1 !important;
    /* Fix pro vertikální centraci */
    text-align: center !important;
    font-weight: 300 !important;
    font-size: 18px !important;
    font-family: Arial, sans-serif !important;
    /* Geometrický font pro přesný střed */
    padding: 0 !important;
    margin: 0 0 0 10px !important;
    text-indent: 0 !important;
    text-decoration: none !important;
    z-index: 10;
    transition: all 0.3s ease;
}

/* Ujistit se, že pseudo-elementy neruší */
.widget_shopping_cart .cart_list li a.remove::before,
.widget_shopping_cart .cart_list li a.remove::after {
    display: none !important;
}

.widget_shopping_cart .cart_list li a.remove:hover {
    background: #d35400 !important;
    border-color: #d35400 !important;
    color: #fff !important;
}

/* Total Section */
.widget_shopping_cart .total {
    background-color: var(--bg-deep) !important;
    border-top: 2px solid #333 !important;
    padding: 15px 20px !important;
    margin: 0 !important;
}

.widget_shopping_cart .total strong {
    color: var(--text-muted) !important;
}

.widget_shopping_cart .total .amount {
    color: #C5A059 !important;
    font-weight: 700;
}

/* Buttons */
.widget_shopping_cart .buttons {
    background-color: var(--bg-surface) !important;
    padding: 20px !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.widget_shopping_cart .buttons a.button {
    background: var(--metal-rust) !important;
    color: white !important;
    width: 100%;
    margin: 0 !important;
    text-align: center;
    border-radius: 0 !important;
    padding: 12px !important;
}

.widget_shopping_cart .buttons a.checkout {
    background: var(--metal-gold) !important;
    color: #000 !important;
}

/* 12. SHOP FILTERS & SORTING - FIXED */
/* Sorting Dropdown - Dark Theme */
.woocommerce-ordering select.orderby,
.woocommerce-ordering select {
    background-color: var(--bg-surface) !important;
    color: var(--text-bright) !important;
    border: 1px solid #333 !important;
    padding: 10px 15px;
    border-radius: 2px !important;
    font-family: 'Montserrat', sans-serif;
    outline: none !important;
    -webkit-appearance: none;
    /* Force styling */
    -moz-appearance: none;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #d35400 50%), linear-gradient(135deg, #d35400 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 40px;
    /* Space for arrow */
}

.woocommerce-ordering select.orderby:focus,
.woocommerce-ordering select:focus {
    border-color: #d35400 !important;
    box-shadow: 0 0 10px rgba(211, 84, 0, 0.3) !important;
}

.woocommerce-ordering select option {
    background-color: var(--bg-surface);
    color: var(--text-bright);
}

/* Result Count Text - BRIGHTER */
.woocommerce-result-count {
    color: var(--text-bright) !important;
    /* Was muted, now bright */
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    margin-bottom: 20px;
}

.woocommerce-ordering {
    margin-bottom: 20px !important;
}

/* Ensure container alignment looks okay */
/* 13. FORM INPUT & BUTTON ALIGNMENT */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    padding: 12px 15px !important;
    /* Standartní padding */
    height: auto !important;
    min-height: 48px;
    /* Menší výška */
    background-color: var(--bg-surface);
    color: var(--text-bright);
    border: 1px solid #333 !important;
    border-radius: 2px !important;
    box-sizing: border-box;
    font-size: 1rem;
    line-height: 1.5;
}

/* Coupon Area specific alignment */
.woocommerce-form-coupon,
.checkout_coupon {
    display: flex;
    gap: 10px;
    align-items: stretch;
    /* Ensure same height */
    flex-wrap: wrap;
}

/* 14. CHECKOUT & CART BUTTONS (The Reconstructed Part) */

/* Proceed to Checkout - No Underline & Flash Effect */
body .wc-block-cart__submit-button,
body .wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button {
    background: var(--metal-rust) !important;
    background-color: #d35400 !important;
    color: #fff !important;
    font-size: 1rem !important;
    padding: 12px 30px !important;
    text-transform: uppercase;
    font-weight: 900 !important;
    border-radius: 2px !important;
    border: none !important;
    transition: all 0.3s ease;
    width: auto !important;
    min-width: 200px;
    text-align: center !important;
    display: inline-block !important;
    opacity: 1 !important;
    margin-top: 10px !important;
    text-decoration: none !important;
    /* Ensure no underline */
    position: relative;
    overflow: hidden;
}

body .wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button:hover,
body .wc-block-cart__submit-button:hover {
    box-shadow: var(--glow-rust), 0 10px 20px rgba(0, 0, 0, 0.5) !important;
    transform: translateY(-3px) !important;
    background: var(--metal-rust) !important;
    /* Keep background compatible */
}

/* Flash effect for Checkout Button */
body .wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button::after,
body .wc-block-cart__submit-button::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg) translate(-100%, -100%);
    transition: all 0.6s ease;
}

body .wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button:hover::after,
body .wc-block-cart__submit-button:hover::after {
    transform: rotate(45deg) translate(100%, 100%);
}

body .wp-block-woocommerce-proceed-to-checkout-block,
body .wc-block-cart__submit,
body .wc-block-cart__submit-container {
    text-align: right !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
}

/* Coupon Toggle Link */
body .wc-block-components-totals-coupon-link-toggle {
    text-decoration: underline !important;
    color: var(--text-muted, #888);
}

body .wc-block-components-totals-coupon-link-toggle:hover {
    color: var(--metal-gold);
    text-decoration: none !important;
}

/* Cart Remove Link */
body .wc-block-cart-item__remove-link {
    background: transparent !important;
    background-color: transparent !important;
    color: #888 !important;
    border: none !important;
    box-shadow: none !important;
    text-transform: none !important;
    font-size: 0.9rem !important;
    padding: 0 !important;
    margin: 5px 0 0 0 !important;
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
    text-decoration: underline !important;
    font-weight: 400 !important;
}


/* Cart & Product Remove Links */
body .wc-block-cart-item__remove-link,
.remove_from_cart_button,
.cart_item .remove {
    background: transparent !important;
    color: var(--text-muted) !important;
    border: none !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    text-decoration: none !important;
    padding: 5px 0 !important;
    transition: all 0.3s ease;
    display: inline-block;
}

body .wc-block-cart-item__remove-link:hover,
.remove_from_cart_button:hover {
    color: #d35400 !important;
    text-shadow: var(--glow-rust);
}

/* 15. QUANTITY SELECTORS (Industrial Cyberpunk Redesign) */

body .wc-block-components-quantity-selector,
.quantity {
    border-radius: 2px !important;
    /* Shorter, sharper industrial look */
    border: 1px solid #444 !important;
    background: var(--bg-surface) !important;
    padding: 2px !important;
    display: flex !important;
    align-items: center !important;
    width: fit-content !important;
    margin-right: 20px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Hide native spinners */
.quantity input[type=number]::-webkit-inner-spin-button,
.quantity input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity input[type=number] {
    -moz-appearance: textfield;
}

/* Buttons (+ / -) */
body .wc-block-components-quantity-selector__button,
.quantity .minus,
.quantity .plus {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid #333 !important;
    color: var(--text-bright) !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 2px !important;
    /* Matches container */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    margin: 0 !important;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

body .wc-block-components-quantity-selector__button:hover,
.quantity .minus:hover,
.quantity .plus:hover {
    background: var(--metal-rust) !important;
    border-color: #ff6f00 !important;
    box-shadow: var(--glow-rust);
    color: #fff !important;
    transform: scale(1.05);
}

body .wc-block-components-quantity-selector__button:active,
.quantity .minus:active,
.quantity .plus:active {
    transform: scale(0.95);
}

/* Input Display */
body .wc-block-components-quantity-selector__input,
.quantity input.qty {
    background: transparent !important;
    color: #C5A059 !important;
    /* Gold quantity number */
    border: none !important;
    font-weight: 800;
    width: 50px !important;
    text-align: center !important;
    padding: 0 !important;
    min-height: 36px !important;
    height: 36px !important;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif !important;
}

/* Specific fix for the "Odstranit" link below the widget in the image */
.wc-block-cart-item__remove-link {
    margin-top: 15px !important;
    display: block !important;
}

/* 16. FOOTER ADJUSTMENTS */

/* (Logo rule removed as per Step 752) */

/* Hide SKU Wrapper */
.sku_wrapper {
    display: none !important;
}

/* 17. CYBERPUNK CHECKOUT BLOCKS REDESIGN */

/* Shipping/Delivery Method Options */
.wc-block-checkout__shipping-method-option {
    background-color: var(--bg-surface) !important;
    border: 1px solid #333 !important;
    transition: all 0.3s ease !important;
    color: var(--text-muted) !important;
}

.wc-block-checkout__shipping-method-option--selected {
    border-color: #d35400 !important;
    background-color: rgba(211, 84, 0, 0.05) !important;
    box-shadow: 0 0 15px rgba(211, 84, 0, 0.2) !important;
}

.wc-block-checkout__shipping-method-option--selected .wc-block-components-shipping-method-label {
    color: var(--text-bright) !important;
    font-weight: 700 !important;
}

/* Notice Banners (Informational boxes) */
.wc-block-components-notice-banner {
    background-color: var(--bg-surface) !important;
    border: none !important;
    color: var(--text-bright) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4) !important;
}

.wc-block-components-notice-banner.is-info {
    border-left: 4px solid #C5A059 !important;
}

.wc-block-components-notice-banner.is-error {
    border-left: 4px solid #d35400 !important;
}

.wc-block-components-notice-banner.is-success {
    border-left: 4px solid #2ecc71 !important;
}

.wc-block-components-notice-banner svg {
    fill: #141414 !important;
    border-radius: 50% !important;
}

.wc-block-components-notice-banner.is-info svg {
    background-color: #C5A059 !important;
}

.wc-block-components-notice-banner.is-error svg {
    background-color: #d35400 !important;
}

.wc-block-components-notice-banner.is-success svg {
    background-color: #2ecc71 !important;
}

.wc-block-components-notice-banner__content {
    color: var(--text-bright) !important;
}

/* Form Fields & Labels */
.wc-block-components-text-input input,
.wc-blocks-components-select__select,
.wc-block-components-textarea textarea {
    background-color: var(--bg-surface) !important;
    border: 1px solid #333 !important;
    color: var(--text-bright) !important;
    padding: 20px 12px 6px !important;
    min-height: 48px;
    font-size: 0.95rem;
}

/* Compact Wrappers */
.wc-block-components-text-input,
.wc-block-components-select,
.wc-block-components-combobox-control,
.wc-block-components-checkbox-control {
    margin-bottom: 12px !important;
}

.wc-block-components-text-input input:focus,
.wc-blocks-components-select__select:focus {
    border-color: #d35400 !important;
    box-shadow: 0 0 10px rgba(211, 84, 0, 0.3) !important;
}

.wc-block-components-text-input label,
.wc-block-components-checkbox-control__label,
.wc-blocks-components-select__label {
    color: var(--text-muted) !important;
    font-family: 'Montserrat', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
}

/* Sidebar & Order Summary */
.wc-block-checkout__sidebar,
.wc-block-components-sidebar {
    background-color: rgba(20, 20, 20, 0.5) !important;
    border: 1px solid #222 !important;
    padding: 25px !important;
}

.wc-block-components-order-summary-item__quantity {
    background-color: #d35400 !important;
    color: #fff !important;
    border-radius: 2px !important;
    font-weight: 900 !important;
}

.wc-block-components-totals-item__value {
    color: var(--text-bright) !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    color: #C5A059 !important;
    font-weight: 900 !important;
    font-size: 1.5rem !important;
    font-family: 'Podkova', serif !important;
}

/* Place Order Button */
.wc-block-components-checkout-place-order-button {
    background: var(--metal-rust) !important;
    color: #fff !important;
    border: none !important;
    text-transform: uppercase !important;
    font-weight: 900 !important;
    letter-spacing: 2px !important;
    padding: 20px !important;
    width: 100% !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.wc-block-components-checkout-place-order-button:hover {
    box-shadow: var(--glow-rust), 0 10px 20px rgba(0, 0, 0, 0.5) !important;
    transform: translateY(-3px) !important;
}

/* 18. LEGAL LINKS & NOTICES */

.checkout-legal-notice {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
    margin: 25px 0 !important;
    text-align: center !important;
    line-height: 1.6 !important;
    padding: 15px !important;
    border-top: 1px solid #222;
}

.checkout-legal-notice a {
    color: #C5A059 !important;
    text-decoration: underline !important;
    font-weight: 700 !important;
}

.checkout-legal-notice a:hover {
    color: var(--metal-gold) !important;
    text-decoration: none !important;
}

.footer-legal-links {
    text-align: center;
    margin-bottom: 20px;
}

.footer-legal-links a {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin: 0 10px;
}

.footer-legal-links a:hover {
    color: #C5A059;
}


.footer-legal-links .sep {
    color: #333;
}

/* --- CYBERPUNK NOTICES (Classic Woo) --- */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
    background-color: var(--bg-surface) !important;
    color: var(--text-bright) !important;
    border-top: 3px solid #C5A059 !important;
    /* Gold top border */
    font-weight: 600;
}

/* Specific Colors per type */
.woocommerce-info {
    border-top-color: #C5A059 !important;
    /* Gold */
}

.woocommerce-info::before {
    color: #C5A059 !important;
}

.woocommerce-message {
    border-top-color: #2ecc71 !important;
    /* Green */
}

.woocommerce-message::before {
    color: #2ecc71 !important;
}

.woocommerce-error {
    border-top-color: #d35400 !important;
    /* Rust/Red */
}

.woocommerce-error::before {
    color: #d35400 !important;
}

/* Link color inside notices */
.woocommerce-info a,
.woocommerce-message a,
.woocommerce-error a {
    color: #fff !important;
    text-decoration: underline;
}

/* 14. CONTACT PAGE REDESIGN (Industrial Cyberpunk) */
.contact-profile-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    margin-top: 60px;
    border: none;
    background: transparent;
    max-width: 1200px;
}

@media (max-width: 900px) {
    .contact-profile-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- Left Column: HERO PROFILE --- */
.profile-card {
    background-color: transparent;
    border: none;
    padding: 0;
    text-align: left;
    /* Align left for consistent flow */
    position: relative;
    display: flex;
    flex-direction: column;
}

.profile-photo {
    width: 100%;
    margin-bottom: 25px;
    position: relative;
}

.profile-photo::after {
    /* Gold accent line below photo */
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #C5A059, transparent);
}

.profile-photo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/5;
    filter: brightness(0.95) contrast(1.1) grayscale(20%);
    /* Slight industrial grit */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    /* Deep shadow */
}

.profile-meta h2 {
    color: #fff;
    font-size: 2.2rem;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
    font-weight: 800;
    /* Extra bold */
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Actions */
.quick-actions {
    display: flex;
    flex-direction: column;
    /* Stack vertically for strength */
    gap: 15px;
    align-items: flex-start;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 0;
    background: transparent;
    color: #888 !important;
    text-decoration: none;
    border: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.action-btn span {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.action-btn:hover {
    color: #fff !important;
    transform: translateX(5px);
}

.action-btn:hover span {
    border-color: #C5A059;
    color: #C5A059;
}

.action-btn::before {
    /* Custom Bullet */
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: #333;
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.action-btn.call:hover::before {
    background: #d35400;
    box-shadow: 0 0 10px #d35400;
}

.action-btn.mail:hover::before {
    background: #C5A059;
    box-shadow: 0 0 10px #C5A059;
}


/* --- Right Column: TECHNICAL DATA (HUD Style) --- */
.info-card {
    display: flex;
    flex-direction: column;
    gap: 40px;
    /* Space between "Modules" */
}

.info-section {
    padding: 0 0 0 25px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.info-section::before {
    /* Active indicator on left border */
    content: '';
    position: absolute;
    left: -1px;
    top: 0;
    height: 30px;
    width: 3px;
    background: #C5A059;
}

.info-header h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #666;
    /* Muted label */
    margin: 0 0 15px 0;
    font-weight: 600;
}

/* Values */
.info-body address {
    font-style: normal;
    line-height: 1.6;
    color: #ccc;
    font-size: 1.1rem;
    font-weight: 300;
}

.info-body address strong {
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 5px;
}

/* Nav Link */
.map-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.8rem;
    color: #d35400;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.map-link:hover {
    color: #fff;
    text-shadow: 0 0 10px #d35400;
    transform: translateX(5px);
}

/* Technical Grid (Billing) */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px 40px;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-item .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #444;
    margin-bottom: 5px;
    letter-spacing: 1px;
    font-weight: 700;
}

.detail-item .value {
    color: #C5A059;
    /* Gold Data */
    font-family: 'Podkova', serif;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Social Section - Minimal */
.info-section.social-section {
    background: transparent;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons.compact {
    display: flex;
    gap: 20px;
}

.social-icons.compact .social-icon-link {
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    color: #666;
    /* Muted icons */
    padding: 0;
}

.social-icons.compact .social-icon-link svg {
    width: 24px;
    /* Larger icons */
    height: 24px;
    transition: all 0.3s ease;
}

.social-icons.compact .social-icon-link:hover svg {
    fill: #fff;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
    transform: scale(1.1);
}

/* Fix for "No Reviews" Blue Box */
#reviews .woocommerce-noreviews,
#reviews .woocommerce-info {
    background-color: var(--bg-surface) !important;
    color: var(--text-muted) !important;
    border: 1px solid #333 !important;
    border-left: 3px solid #C5A059 !important;
    /* Gold accent */
    border-radius: 2px;
}

/* 15. LEGAL PAGES (VOP / GDPR) */
.legal-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 60px 0;
    background-color: var(--bg-surface);
    border: none;
    border-top: 3px solid #C5A059;
    /* Gold Top */
    margin-bottom: 0;
    position: relative;
    /* Ensure content is centered */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.legal-container>* {
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

.legal-container .entry-title {
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.legal-meta {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

.legal-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #ccc;
}

.legal-content h2 {
    color: #C5A059;
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 3px solid #d35400;
    padding-left: 15px;
}

.legal-content h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 10px;
}

.legal-content strong {
    color: #fff;
}

/* 16. 404 ERROR PAGE */
.error-404 {
    text-align: center;
    padding: 80px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.error-404 .page-title {
    color: #d35400;
    /* Rust Orange */
    font-size: 3rem;
    margin-bottom: 20px;
}

.error-404 .error-icon {
    margin: 30px 0;
    opacity: 0.8;
}

.error-404 .error-icon svg {
    filter: drop-shadow(0 0 10px rgba(197, 160, 89, 0.4));
}

.error-404 p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.error-404 .button {
    background-color: #C5A059 !important;
    /* Gold Button */
    color: #000 !important;
    font-weight: 700;
}

.error-404 .button:hover {
    background-color: #e0b060 !important;
    transform: translateY(-2px);
}

/* 17. RESPONZIVNÍ ÚPRAVY (Mobile Polish) */
@media (max-width: 768px) {

    /* Menší text v Hero sekci */
    .hero-kovolaz h1 {
        font-size: 2.5rem;
    }

    .hero-kovolaz p {
        font-size: 1.1rem;
        padding: 0 15px;
    }

    /* Tabulky s horizontálním posunem (Shipping) */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    /* Vycentrování nadpisů na mobilu */
    h1,
    h2,
    h3 {
        text-align: center;
    }

    /* Větší tlačítka pro prsty */
    button,
    .button {
        width: 100%;
        margin-bottom: 10px;
    }

    /* Contact Page Stack */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Legal Pages Padding */
    .legal-container {
        padding: 20px 10px;
    }
}

/* =========================================
   GOOGLE REVIEWS WIDGET
   ========================================= */
.kovolaz-reviews-widget {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 60px 40px;
    margin: 80px 0;
    position: relative;
}

.kovolaz-reviews-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d35400, #C5A059, #d35400);
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #222;
}

.reviews-header h2 {
    color: #C5A059;
    font-size: 2.2rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.google-badge {
    opacity: 0.8;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.review-card {
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 60px;
    color: #C5A059;
    opacity: 0.2;
    font-family: Georgia, serif;
}

.review-card:hover {
    border-color: #C5A059;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.2);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.reviewer-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #C5A059;
}

.reviewer-name {
    color: #fff;
    font-size: 1.1rem;
    margin: 0 0 8px 0;
}

.review-stars {
    display: flex;
    gap: 3px;
}

.review-stars .star {
    color: #444;
    font-size: 18px;
}

.review-stars .star.filled {
    color: #FFB800;
    text-shadow: 0 0 5px rgba(255, 184, 0, 0.5);
}

.review-time {
    color: #666;
    font-size: 0.85rem;
}

.review-text {
    color: #bbb;
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

.reviews-footer {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #222;
}

.view-all-btn {
    display: inline-block;
    background: linear-gradient(135deg, #d35400, #C5A059);
    color: #000;
    padding: 15px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.view-all-btn:hover {
    background: transparent;
    border-color: #C5A059;
    color: #C5A059;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(197, 160, 89, 0.3);
}

.reviews-error {
    text-align: center;
    color: #d35400;
    padding: 40px;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .kovolaz-reviews-widget {
        padding: 40px 20px;
    }

    .reviews-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .reviews-header h2 {
        font-size: 1.6rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   HERO SECTION ENHANCEMENTS
   ========================================= */

/* Animated Particles Background */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #C5A059;
    border-radius: 50%;
    box-shadow:
        0 0 10px #C5A059,
        0 0 20px #C5A059,
        0 0 30px rgba(197, 160, 89, 0.5);
    animation: sparkle 3s infinite ease-in-out;
}

.hero-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-particles::after {
    top: 60%;
    right: 15%;
    animation-delay: 1.5s;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0) translateY(0);
    }

    50% {
        opacity: 1;
        transform: scale(1) translateY(-20px);
    }
}

/* Hero Content Wrapper */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
}

/* Enhanced CTA Button with Glow */
.hero-cta {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(211, 84, 0, 0.5);
    transition: all 0.3s ease;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.hero-cta:hover {
    box-shadow:
        0 0 30px rgba(211, 84, 0, 0.8),
        0 0 50px rgba(197, 160, 89, 0.5);
    transform: translateY(-3px);
}

/* Stats Bar */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(197, 160, 89, 0.3);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #d35400, #C5A059);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(197, 160, 89, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* =========================================
   PRODUCTS SECTION ENHANCEMENTS
   ========================================= */

/* Top border for consistency */
.produkty-sekce {
    border-top: 3px solid;
    border-image: linear-gradient(90deg, #d35400, #C5A059, #d35400) 1;
}

/* Product card hover effects */
.produkty-sekce .product {
    transition: all 0.3s ease;
    position: relative;
}

.produkty-sekce .product:hover {
    transform: translateY(-10px);
    box-shadow:
        0 10px 30px rgba(197, 160, 89, 0.3),
        0 0 40px rgba(211, 84, 0, 0.2);
}

.produkty-sekce .product:hover .woocommerce-loop-product__title {
    color: #C5A059;
}

/* =========================================
   ABOUT SECTION ENHANCEMENTS
   ========================================= */

.about-kovolaz h2 {
    position: relative;
    display: inline-block;
}

/* Feature icons */
.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns */
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background: rgba(197, 160, 89, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(197, 160, 89, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #C5A059;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 0.9rem;
    color: #888;
}

/* =========================================
   STATIC REVIEWS WIDGET
   ========================================= */

.static-reviews-widget {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 60px 40px;
    margin: 80px 0;
    position: relative;
}

.static-reviews-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d35400, #C5A059, #d35400);
}

.static-reviews-widget .reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #222;
}

.google-rating {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-stars {
    color: #FFB800;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 184, 0, 0.5);
}

.rating-text {
    color: #C5A059;
    font-weight: 700;
    font-size: 1.1rem;
}

.static-reviews-widget .reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.static-reviews-widget .review-card {
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.static-reviews-widget .review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 60px;
    color: #C5A059;
    opacity: 0.2;
    font-family: Georgia, serif;
}

.static-reviews-widget .review-card:hover {
    border-color: #C5A059;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.2);
}

.static-reviews-widget .review-stars {
    color: #FFB800;
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(255, 184, 0, 0.5);
}

.static-reviews-widget .review-text {
    color: #bbb;
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0 0 20px 0;
    font-style: italic;
}

.static-reviews-widget .review-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #222;
}

.static-reviews-widget .review-author strong {
    color: #fff;
    font-size: 1rem;
}

.static-reviews-widget .review-date {
    color: #666;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .static-reviews-widget {
        padding: 40px 20px;
    }

    .static-reviews-widget .reviews-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .static-reviews-widget .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   ABOUT GALLERY GRID
   ========================================= */

.about-gallery {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    height: 500px;
}

.gallery-main {
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.gallery-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    filter: brightness(0.9);
}

.gallery-main img {
    height: 100%;
}

.gallery-side img {
    height: calc(50% - 10px);
    border-radius: 8px;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.gallery-img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    border-color: #C5A059;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .about-gallery {
        grid-template-columns: 1fr;
        height: auto;
    }

    .gallery-main {
        height: 300px;
    }

    .gallery-side {
        flex-direction: row;
        height: 200px;
    }
}

/* Centering Products Grid for few items */
.produkty-sekce ul.products {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.produkty-sekce ul.products li.product {
    margin-right: 0 !important;
    /* Override WooCommerce default margin */
    float: none !important;
}

/* =========================================
   HOW IT WORKS SECTION
   ========================================= */

.how-it-works-kovolaz {
    padding: 80px 0;
    text-align: center;
    border-top: 3px solid;
    border-image: linear-gradient(90deg, #d35400, #C5A059, #d35400) 1;
    background: #0f0f0f;
}

.how-it-works-kovolaz h2 {
    margin-bottom: 60px;
    font-size: 2.2rem;
}

.steps-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
}

.step-card {
    flex: 1;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: #C5A059;
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.1);
}

.step-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.step-card h3 {
    font-size: 1.3rem;
    color: #C5A059;
    margin-bottom: 15px;
}

.step-card p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #444;
    height: 200px;
    /* Align roughly with cards */
    font-weight: 300;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .steps-grid {
        flex-direction: column;
        gap: 40px;
    }

    .step-arrow {
        transform: rotate(90deg);
        height: auto;
        margin: -20px 0;
    }
}

/* =========================================
   CUSTOM ICONS STYLING
   ========================================= */

.feature-icon img,
.step-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    mix-blend-mode: screen;
    /* Magic trick to remove black background */
    filter: brightness(1.2) contrast(1.1);
    /* Enhance gold shine */
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon img,
.step-card:hover .step-icon img {
    transform: scale(1.1) rotate(5deg);
}

/* Remove old font-size styles since we use images now */
.feature-icon,
.step-icon {
    font-size: 0;
    /* Hide any fallback text if present */
    line-height: 0;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

/* =========================================
   FOOTER SOCIAL ICONS (Moved from functions.php)
   ========================================= */

.footer-widgets-grid .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-widgets-grid .social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #C5A059;
}

.footer-widgets-grid .social-icon-link:hover {
    background-color: #C5A059;
    color: #000;
    border-color: #C5A059;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

.footer-widgets-grid .social-icon-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* =========================================
   8. SWATCHES (Vylepšené varianty)
   ========================================= */

/* =========================================
   8. SWATCHES (Metal Ingot Design)
   ========================================= */

.kovolaz-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    /* Reduced gap */
    margin-top: 5px;
}

.swatch-btn {
    background: linear-gradient(135deg, #1f1f1f 0%, #141414 100%) !important;
    border: 1px solid #333 !important;
    color: #999 !important;
    padding: 6px 14px !important;
    /* Significantly reduced padding */
    border-radius: 2px !important;
    cursor: pointer;
    font-size: 0.85rem !important;
    /* Slightly smaller font */
    font-weight: 500 !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    min-width: unset !important;
    /* Removed fixed width */
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hover Effect - Subtle Lift */
.swatch-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%) !important;
    color: #fff !important;
    border-color: #555 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* ACTIVE STATE - General */
.swatch-btn.active {
    color: #fff !important;
    transform: translateY(1px);
    /* Press effect */
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5) !important;
}

/* --- MATERIAL VARIANTS (Gradient & Border) --- */

/* 1. ČERNÁ (Black/Iron) - Deep matte black with subtle grey edges */
.swatch-btn.style-black {
    border-color: #444 !important;
}

.swatch-btn.style-black.active {
    background: #000 !important;
    border-color: #666 !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8), inset 0 0 10px rgba(255, 255, 255, 0.05) !important;
}

/* 2. ZLATÁ (Gold) - Rich Gold glow */
.swatch-btn.style-gold {
    border-color: #665533 !important;
    /* Low saturation gold border */
}

.swatch-btn.style-gold.active {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d00 100%) !important;
    border-color: #FFD700 !important;
    color: #FFD700 !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.25) !important;
}

/* 3. STŘÍBRNÁ (Silver) - Clean White/Blueish glow */
.swatch-btn.style-silver {
    border-color: #555 !important;
}

.swatch-btn.style-silver.active {
    background: linear-gradient(135deg, #222 0%, #111 100%) !important;
    border-color: #E0E0E0 !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(224, 224, 224, 0.25) !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

/* 4. MĚDĚNÁ (Copper) - Warm Orange/Red glow */
.swatch-btn.style-copper {
    border-color: #5a3a2a !important;
}

.swatch-btn.style-copper.active {
    background: linear-gradient(135deg, #2b1d16 0%, #150a05 100%) !important;
    /* More reddish/brown background */
    border-color: #d2691e !important;
    /* Chocolate/Copper border */
    color: #ff9e66 !important;
    /* Vibrant Cooper Orange Text */
    box-shadow: 0 0 15px rgba(210, 105, 30, 0.4) !important;
}

/* =========================================
   18. COMPACT CART LAYOUT (MAX DENSITY)
   ========================================= */

/* 1. FORCE TABLE COMPACTNESS */
body.woocommerce-cart table.cart td,
body.woocommerce-cart table.cart th {
    padding: 6px 4px !important;
    /* Extremely tight padding */
    vertical-align: middle !important;
}

/* 2. TINY THUMBNAILS */
body.woocommerce-cart table.cart .product-thumbnail {
    width: 45px !important;
    /* Fixed narrow column */
    min-width: 45px !important;
}

body.woocommerce-cart table.cart .product-thumbnail img {
    width: 40px !important;
    height: auto !important;
    border: 1px solid #333;
    display: block;
}

/* 3. TIGHT PRODUCT INFO */
body.woocommerce-cart table.cart .product-name a {
    font-size: 0.9rem !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    font-weight: 600;
}

body.woocommerce-cart table.cart .product-name {
    padding-left: 8px !important;
}

/* Hide 'Povrchová úprava:' label to save space, just show value if possible, 
   but showing label is safer. Let's compact it. */
body.woocommerce-cart table.cart .variation {
    display: flex !important;
    gap: 4px;
    margin: 2px 0 0 0 !important;
    font-size: 0.75rem !important;
    opacity: 0.8;
}

body.woocommerce-cart table.cart .variation dt,
body.woocommerce-cart table.cart .variation dd {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* 4. QUANTITY SELECTOR - INLINE & SAME AS PRODUCT PAGE */
body.woocommerce-cart .quantity {
    width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    /* Removed transform: scale(0.85) to match product page design */
}

/* 5. PRICE & TOTAL - NO WRAP */
body.woocommerce-cart table.cart .product-price,
body.woocommerce-cart table.cart .product-subtotal {
    white-space: nowrap !important;
    font-size: 0.9rem !important;
}

/* 6. REMOVE BUTTON - TIGHT FIT */
body.woocommerce-cart table.cart .product-remove {
    width: 20px !important;
    padding: 0 !important;
    text-align: center !important;
}

body.woocommerce-cart table.cart .remove {
    font-size: 1.2rem !important;
    color: #555 !important;
    line-height: 1 !important;
    display: inline-block !important;
    margin: 0 !important;
}

body.woocommerce-cart table.cart .remove:hover {
    color: #d35400 !important;
    background: none !important;
    transform: scale(1.2);
}

/* Mobile Tweak: Hide thumbnails on very small screens to save space? 
   No, keep them but tiny. */
@media (max-width: 600px) {
    body.woocommerce-cart table.cart .product-thumbnail {
        display: none !important;
        /* Hide image on mobile for max compactness if requested */
    }
}

/* =========================================
   19. CART LAYOUT FIX - FORCE SIDE-BY-SIDE
   (Targets both Classic Mobile view & Block Cart)
   ========================================= */

/* A) Styling for the "Remove" text if present */
.woocommerce-cart .remove,
.wc-block-cart-item__remove-link {
    font-size: 0.85rem !important;
    text-transform: uppercase;
    color: #888 !important;
    border: 1px solid #333;
    padding: 4px 8px !important;
    border-radius: 4px;
    background: #111;
    display: inline-block !important;
    text-decoration: none !important;
    line-height: 1 !important;
    margin-left: 10px !important;
    /* Space between Quantity and Button */
    margin-top: 0 !important;
}

.woocommerce-cart .remove:hover,
.wc-block-cart-item__remove-link:hover {
    color: #d35400 !important;
    border-color: #d35400 !important;
    background: #1a1a1a !important;
}

/* B) Force Quantity & Remove to be on the same line (Flex) */

/* Classic Cart: If they are mixed in a mobile view or custom cell */
.woocommerce-cart table.cart td.product-quantity,
.woocommerce-cart table.cart td.product-name {
    /* Ensure content flows properly */
}

/* The magic wrapper fix - if they are stacked div/blocks */
.quantity,
.wc-block-cart-item__quantity {
    display: inline-flex !important;
    vertical-align: middle !important;
    margin-bottom: 0 !important;
}

/* If there is a container wrapping both (common in mobile views) */
.product-quantity-and-remove-wrapper,
/* Hypothetical */
td.product-quantity {
    display: table-cell !important;
    white-space: nowrap !important;
}

/* Aggressively putting them next to each other */
/* We use float or inline-block to force them up if they are blocks */

.woocommerce-cart .quantity {
    float: left !important;
    margin-right: 10px !important;
}

.woocommerce-cart .remove {
    float: left !important;
    margin-top: 2px !important;
    /* Align with input */
}

/* Clearfix for the container */
.woocommerce-cart td.product-quantity::after {
    content: "";
    display: table;
    clear: both;
}

/* =========================================
   20. BLOCK CART SPECIFIC OVERRIDES (CRITICAL FIX)
   ========================================= */

/* Force the Quantity container to be a horizontal flex row */
.wc-block-cart-item__quantity {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 15px !important;
    margin-top: 5px !important;
}

/* Style the Remove Link to look like a small 'X' button or compact text */
/* Style the Remove Link to look like a small 'X' button or compact text */
.wc-block-cart-item__remove-link {
    font-size: 0.8rem !important;
    text-transform: uppercase;
    color: #888 !important;
    border: 1px solid #333;
    padding: 2px 8px !important;
    border-radius: 4px;
    background: #111;
    display: inline-block !important;
    text-decoration: none !important;
    line-height: normal !important;
    margin: 0 !important;
    transition: all 0.2s ease;
    cursor: pointer !important;
}

.wc-block-cart-item__remove-link:hover {
    color: #d35400 !important;
    /* Rust text */
    background: #111 !important;
    /* Keep dark background */
    border-color: #d35400 !important;
    /* Rust border */
    box-shadow: 0 0 8px rgba(211, 84, 0, 0.4);
    /* Subtle glow */
    transform: none !important;
}

/* Compact the layout of the cart item row */
.wc-block-cart-items__row {
    padding: 10px 0 !important;
    /* Reduce vertical padding */
}

/* Make product name and metadata tighter */
.wc-block-cart-item__wrap {
    gap: 10px !important;
}

/* Ensure the Quantity Selector itself is compact */
.wc-block-components-quantity-selector {
    margin-bottom: 0 !important;
}

.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
    padding: 4px !important;
    height: 30px !important;
    font-size: 0.9rem !important;
}

.wc-block-components-quantity-selector button.wc-block-components-quantity-selector__button {
    height: 30px !important;
    width: 30px !important;
    padding: 0 !important;
}

/* =========================================
   21. GOOGLE REVIEWS (CONTACT PAGE)
   ========================================= */

.kovolaz-reviews-widget {
    background: #0d0d0d;
    border: 1px solid #1a1a1a;
    padding: 60px 40px;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    margin-top: 40px;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    border-bottom: 2px solid #222;
    padding-bottom: 20px;
}

.reviews-header h2 {
    color: #fff;
    font-size: 2rem;
    margin: 0;
    text-shadow: none;
    background: none;
    -webkit-text-fill-color: initial;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Review Card - Industrial Style */
.review-card {
    background-color: #141414;
    border: 1px solid #333;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    border-color: #d35400;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(211, 84, 0, 0.2);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-photo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #C5A059;
}

.reviewer-name {
    font-size: 1rem;
    color: #fff;
    margin: 0 0 5px 0;
    font-family: 'Montserrat', sans-serif;
    /* Clean font for names */
    text-transform: none;
    /* Keep original casing */
    letter-spacing: 0;
    font-weight: 600;
    text-shadow: none;
}

.review-stars {
    color: #C5A059;
    font-size: 14px;
    letter-spacing: 2px;
}

.review-time {
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
}

.review-text {
    color: #a0a0a0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* Footer Action */
.reviews-footer {
    text-align: center;
    margin-top: 20px;
}

.view-all-btn {
    display: inline-block;
    background: linear-gradient(135deg, #d35400, #C5A059);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 2px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.view-all-btn:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(211, 84, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Mobile Tweak */
@media (max-width: 768px) {
    .reviews-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .kovolaz-reviews-widget {
        padding: 40px 20px;
    }
}

/* Single Product Price Styling */
.entry-summary .price {
    color: #C5A059 !important;
    font-family: 'Podkova', serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 5px;
    display: block;
    text-shadow: 0 0 15px rgba(197, 160, 89, 0.2);
}

.entry-summary .price del {
    color: #666;
    font-size: 1.2rem;
    margin-right: 10px;
}

.entry-summary .price ins {
    text-decoration: none;
}

/* =========================================
   22. CRO ELEMENTS (TRUST & URGENCY)
   ========================================= */

/* Stock Status - Urgency */
.custom-stock-msg {
    font-size: 0.95rem;
    margin-bottom: 15px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    /* Subtle bg */
    border-radius: 4px;
    display: inline-block;
    border-left: 3px solid transparent;
}

.custom-stock-msg.in-stock {
    color: #fff;
    border-left-color: #27ae60;
    /* Green for stock */
}

/* Custom icon colors if needed */
.custom-stock-msg strong {
    color: #fff;
}

/* Trust Badges - Grid */
.kovolaz-trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.trust-item {
    text-align: center;
    font-size: 0.85rem;
    color: #ccc;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.trust-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
    filter: grayscale(100%);
    /* Desaturate for industrial look */
    transition: filter 0.3s ease;
}

.trust-item:hover .trust-icon {
    filter: none;
    /* Color on hover */
}

.trust-text {
    line-height: 1.3;
}

.trust-text small {
    display: block;
    font-size: 0.7rem;
    color: #888;
    margin-top: 2px;
}

/* Mobile Tweak for Badges */
@media (max-width: 480px) {
    .kovolaz-trust-badges {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: left;
    }

    .trust-item {
        flex-direction: row;
        /* Horizontal on mobile list */
        text-align: left;
        align-items: center;
        gap: 15px;
    }

    .trust-icon {
        margin-bottom: 0;
        font-size: 1.8rem;
    }
}

/* =========================================
   9. MOBILE OPTIMIZATIONS (Responsiveness)
   ========================================= */

@media (max-width: 768px) {

    /* 1. HOMEPAGE: About Grid Stacking */
    .about-features {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    /* 2. PRODUCT PAGE: Typography & Layout */
    .single-product div.product .product_title {
        font-size: 2rem !important;
        /* Reduced from 48px */
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .single-product div.product p.price {
        font-size: 1.5rem !important;
    }

    /* Tabs Stacking */
    .woocommerce-tabs ul.tabs {
        flex-direction: column;
        gap: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .woocommerce-tabs ul.tabs li {
        width: 100%;
        margin: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        background: rgba(255, 255, 255, 0.02) !important;
    }

    .woocommerce-tabs ul.tabs li a {
        display: block;
        padding: 15px 0 !important;
        text-align: center;
    }

    /* 3. GLOBAL SPACING: Tighter content */
    .site-main {
        padding-top: 20px !important;
    }

    .hentry {
        margin-bottom: 40px !important;
        padding-bottom: 40px !important;
    }

    /* Hero Adjustments */
    .hero-content h1 {
        font-size: 2.5rem !important;
    }

    .hero-content p {
        font-size: 1.1rem !important;
        padding: 0 15px;
    }
}

/* =========================================
   10. ORDER RECEIVED (Thank You Page)
   ========================================= */

.woocommerce-order {
    max-width: 800px;
    margin: 0 auto;
}

/* Thank You Message */
.woocommerce-thankyou-order-received {
    text-align: center;
    font-size: 1.4rem;
    color: #C5A059;
    /* Gold */
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    padding-bottom: 1.5rem;
}

/* Order Overview "HUD" Strip */
ul.order_details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style: none;
    padding: 20px;
    margin: 0 0 3rem 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-left: 3px solid #C5A059;
}

ul.order_details li {
    float: none !important;
    /* Override default float */
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
    padding: 0 20px;
    flex: 1;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #888;
}

ul.order_details li:last-child {
    border-right: none;
}

ul.order_details li strong {
    display: block;
    margin-top: 5px;
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
}

/* Order Details Table */
.woocommerce-order h2 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

table.shop_table.order_details {
    border: none;
    background: transparent;
    margin-bottom: 3rem;
}

table.shop_table.order_details th {
    background: rgba(255, 255, 255, 0.05);
    color: #C5A059;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 15px;
}

table.shop_table.order_details td {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #ccc;
    padding: 15px;
}

table.shop_table.order_details td.product-name strong {
    color: #fff;
}

table.shop_table.order_details tfoot th {
    text-align: right;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

table.shop_table.order_details tfoot td {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: right;
    color: #fff;
}

table.shop_table.order_details tfoot tr:last-child th,
table.shop_table.order_details tfoot tr:last-child td {
    border-top: 1px solid #C5A059;
    color: #C5A059;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Bank Details (BACS) */
.woocommerce-bacs-bank-details {
    background: transparent;
    margin-bottom: 2rem;
}

.woocommerce-bacs-bank-details h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.woocommerce-bacs-bank-details ul {
    list-style: none;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.2);
    margin: 0;
}

.woocommerce-bacs-bank-details li {
    padding: 5px 0;
    color: #ccc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.woocommerce-bacs-bank-details li:last-child {
    border-bottom: none;
}

.woocommerce-bacs-bank-details strong {
    color: #C5A059;
    font-weight: 600;
    margin-left: 5px;
}

/* Customer Details */
.woocommerce-customer-details h2 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.woocommerce-customer-details address {
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 20px;
    background: rgba(10, 10, 10, 0.8);
    color: #aaa;
    font-style: normal;
    border-radius: 0;
    /* Industrial look */
    position: relative;
}

.woocommerce-customer-details address::before {
    content: "DORUČOVACÍ ÚDAJE";
    position: absolute;
    top: -10px;
    left: 20px;
    background: #0a0a0a;
    padding: 0 10px;
    font-size: 0.75rem;
    color: #C5A059;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Responsiveness for Order Page */
@media (max-width: 768px) {

    /* Stack the HUD strip vertically */
    ul.order_details {
        flex-direction: column;
        gap: 15px;
        border-left: 3px solid #C5A059;
        /* Keep the accent */
    }

    ul.order_details li {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 0 0 10px 0;
    }

    ul.order_details li:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    /* Message size */
    .woocommerce-thankyou-order-received {
        font-size: 1.1rem;
    }

    /* Make tables scrollable on mobile */
    .woocommerce-order table.shop_table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border: 1px solid rgba(255, 255, 255, 0.05);
        /* Outer border for scrolling container */
    }

    .woocommerce-order table.shop_table th,
    .woocommerce-order table.shop_table td {
        white-space: nowrap;
        /* Prevent wrapping in cells to force scroll */
        padding: 10px;
        font-size: 0.8rem;
    }

    /* Customer Address on Mobile */
    .woocommerce-customer-details address {
        padding: 15px;
        font-size: 0.9rem;
    }

    .woocommerce-customer-details address::before {
        font-size: 0.7rem;
        left: 15px;
    }
}