/* ===== Globální základy ===== */
body {
    font-family: 'Arial', sans-serif;
    color: #333;
}

.purple-text {
    color: #4a004e !important;
}

/* Horní černá/tmavá lišta */
.top-bar {
    background-color: #4a004e;
    font-size: 11px;
    letter-spacing: 1px;
}

/* ===== Stylování vygenerovaného formuláře $search_form ===== */
.search-box-wrapper form, .navbar-search form {
    display: flex;
    align-items: center;
}
.search-box-wrapper input[type="text"], .navbar-search input[type="text"] {
    border: 1px solid #4a004e;
    padding: 6px 12px;
    font-size: 14px;
    outline: none;
    min-width: 260px;
}
.search-box-wrapper input[type="submit"], .search-box-wrapper button,
.navbar-search input[type="submit"], .navbar-search button {
    background-color: #4a004e;
    color: white;
    border: 1px solid #4a004e;
    padding: 6px 15px;
    text-transform: uppercase;
    font-weight: bold;
}

/* ===== Košík s žlutým odznakem ===== */
.basket-badge-wrapper {
    position: relative;
    padding-left: 32px;
}
.basket-badge-wrapper .badge-icon {
    position: absolute;
    left: 0;
    top: -2px;
    background-color: #f7e315;
    color: black;
    font-weight: bold;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* ===== Stylování pro $presenter_menu_categories (Hlavní menu) ===== */
.main-nav .navbar-collapse {
    width: 100%;
}
/* Pokud Kohana generuje menu jako strukturu <ul> nebo d-flex prvků */
.main-nav ul, .main-nav .nav {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}
.main-nav li {
    padding: 0;
}
.main-nav a {
    color: #4a004e !important;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    padding: 14px 20px !important;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.main-nav a:hover, .main-nav a.active {
    color: #a020f0 !important; /* Mírné fialové rozjasnění nebo žlutá */
}

/* ===== Stylování pro levé $categoriesMenu ===== */
.left-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.left-sidebar li {
    margin-bottom: 2px;
}
.left-sidebar a {
    display: block;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    padding: 6px 0;
    text-transform: uppercase;
    border-bottom: 1px solid #f2f2f2;
}
.left-sidebar a.active, .left-sidebar li.active > a {
    color: #4a004e;
    font-weight: bold;
}
/* Podkategorie v levém menu */
.left-sidebar ul ul, .left-sidebar .sub-menu {
    padding-left: 15px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.left-sidebar ul ul a {
    text-transform: none;
    font-size: 12px;
    color: #777;
    border: none;
    padding: 3px 0;
}

/* ===== Stylování prvků uvnitř dodaného $content (Štítky, tlačítka z obrázku) ===== */
.btn-yellow {
    background-color: #f7e315 !important;
    color: black !important;
    border-radius: 0 !important;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    border: none;
}
.btn-yellow:hover {
    background-color: #e0ce10 !important;
}

/* Pro případné produktové karty v $content - šikmý štítek Sale */
.badge-sale {
    position: absolute;
    top: 12px;
    left: -28px;
    background-color: #ff3333;
    color: white;
    padding: 3px 30px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    transform: rotate(-45deg);
    z-index: 2;
}

/* ===== Fialová patička a její formulář ===== */
.custom-purple-footer {
    background-color: #4a004e;
}
.footer-links-list a {
    color: #e1d5e3;
    text-decoration: none;
}
.footer-links-list a:hover {
    color: #f7e315;
}
.border-white-10 {
    border-color: rgba(255,255,255,0.1) !important;
}
.footer-quick-form input, .footer-quick-form textarea {
    background-color: #6a1b6e !important;
    border: none;
    color: white !important;
    border-radius: 0;
}
.footer-quick-form input::placeholder, .footer-quick-form textarea::placeholder {
    color: #bfa3c2;
}
.btn-footer-submit {
    background-color: #310034;
    color: white;
    border: none;
    border-radius: 0;
    padding: 5px 20px;
}
.btn-footer-submit:hover {
    background-color: #f7e315;
    color: black;
}
