/* * Custom code for Hummingbird 2.0 - Loutky Mašek
 */

/* Globální barvy a brandové prvky */
:root {
    --bs-primary: #2554a2; /* Vaše modrá */
    --bs-primary-rgb: 37, 84, 162;
    --brand-pink: #EA5F6C; /* Akcentní růžová */
}

/* Úprava štítků a tlačítek */
.badge {
    background-color: var(--brand-pink) !important;
    margin: 0.25rem;
}

.btn-primary {
    --bs-btn-bg: var(--brand-pink);
    --bs-btn-border-color: var(--brand-pink);
    --bs-btn-hover-bg: #d44d5a;
    --bs-btn-hover-border-color: #d44d5a;
    --bs-btn-active-bg: #b9434e;
    --bs-btn-active-border-color: #b9434e;
}

/* Celkové pozadí hlavičky */
#header {
    background-image: url(https://loutkymasek.cz/img/bg-header.png);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

#header .header-top {
    background: transparent; /* Aby prosvítalo pozadí #header */
    border-bottom: none;
}

.header-bottom {
    background: transparent;
}

/* Logo - centrování na celou šířku v HB 2.0 */
.header-bottom .logo {
    max-width: 100%;
    margin: -10px auto 1rem;
    display: block;
}

.header-bottom .logo img {
    margin: 0 auto;
}

@media (max-width: 767px) {
    .header-bottom .logo {
        width: 70%; /* Na mobilu trochu větší než 50%, aby bylo čitelné */
        margin-top: 10px;
    }
}

/* Hlavní menu a navigace */
.header-top .container-md {
    max-width: 100%;
}

.header-top .container-md {
    max-width: 100%;
}

.main-menu {
    background: #ee6670; /* Růžový podklad pod menu, jak jste měl v původním webu */
    width: 100%;
}

.main-menu__tree > li > a {
    font-size: 16px;
    font-weight: 800;
    color: white !important;
    padding: 1.3rem 1rem;
    text-transform: uppercase;
}

.main-menu__tree > li > a:hover {
    background-color: white !important;
    color: black !important;
}

/* Podkategorie - vylepšení vzhledu */
.subcategory {
    border: 0 !important;
    padding: 0;
    margin-bottom: 1.5rem;
}

.subcategory__image .img-fluid {
    border-radius: 8px; /* Trochu kulatější rohy pro moderní vzhled */
    width: 100%;
    aspect-ratio: 1 / 1; /* Čtvercové náhledy jsou u loutek nejlepší */
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.subcategory__name {
    color: var(--bs-gray-900);
    font-size: 1.1rem;
    text-align: center;
    font-weight: 800;
    padding: 0.75rem 0;
    text-decoration: none;
}

/* Produktové karty - modré názvy */
.product-miniature__title a {
    color: #2553a2 !important;
    font-weight: 800;
    text-decoration: none;
}

.product-miniature__title a:hover {
    color: var(--brand-pink) !important;
}

/* Footer - barevné schéma */
.footer .footer__main {
    background: #304d70;
    color: white;
    padding: 2.5rem 0 1.25rem;
}

.block-social a {
    color: #fff !important;
}

/* Video kontejnery a YouTube */
.yt-portrait {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 1rem auto;
}

.yt-portrait::before {
    content: "";
    display: block;
    padding-top: 177.78%; /* 9:16 */
}

.yt-portrait iframe {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
    border-radius: 12px;
}

/* Drobné opravy */
.cart-summary__label--sub, .cart-summary__value {
    font-size: 0.85rem;
    font-weight: 400;
}

/* Růžová lišta menu */
.main-menu-wrapper {
    background-color: #ce6c6f !important; /* Ta vaše růžová */
}

/* Vynucení horizontálního zobrazení v horní navigaci */
.header-nav .header-nav__right {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
}

/* Zmenšení výběru jazyka a měny, aby nebyly přes půl webu */
.header-nav .languages-selector, 
.header-nav .currency-selector {
    display: inline-block;
    width: auto !important;
}

.header-nav .user-info, 
.header-nav .blockcart {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* Zarovnání textu menu v růžové liště */
.main-menu__tree > li > a {
    color: white !important;
    font-weight: bold;
    padding: 10px 15px !important;
}

/* Schování Search labelu, pokud tam překáží (necháme jen input) */
.search-widget form input[type="text"] {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 5px 10px;
}

/* Pozadí celé hlavičky s krajinkou 
#header {
    background-image: url(https://test-loutky.masekpavel.cz/img/bg-header.png) !important;
    background-size: cover;
    background-position: center bottom;
}       */



/* Růžová lišta menu */
.main-menu-wrapper {
    background-color: #ce6c6f !important; /* Přesný odstín z vašeho původního webu */
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Vynucení vodorovného zobrazení horních prvků */
.header-nav__right {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
}

.header-nav__right .languages-selector,
.header-nav__right .currency-selector,
.header-nav__right .user-info,
.header-nav__right .blockcart {
    margin: 0 !important;
}

/* Styl textu v menu */
.main-menu__tree > li > a {
    color: white !important;
    font-weight: 700 !important;
    text-transform: none !important;
    font-size: 14px;
    padding: 12px 15px !important;
}

/* Úprava vyhledávacího pole, aby vypadalo jako na obrázku */
.search-widget form input[type="text"] {
    background: white !important;
    border: none !important;
    border-radius: 4px !important;
    height: 38px;
    padding-left: 40px !important;
}

.search-widget form button[type="submit"] {
    left: 10px;
    right: auto;
}
   
.header-bottom .navbar-brand .logo {
    max-height: 120px; 
    max-width: 300px;  
    width: auto;
}               

.header-bottom .logo {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: -40px;
    display: block;
}

.header-bottom__row.menu {
    background-color: #ee6670;
    --bs-gutter-x: 1.5rem;
}

.header-bottom .container-md  {
    max-width: 100%;
}

@media (max-width: 768px) {
    .header-bottom .navbar-brand .logo {
        width: 50%;
        margin-top: 10px;
    }
}

.header-bottom {
  background: transparent;
  padding-bottom: 0;
}