/*
Noah-noah.cz Classic CSS - MODERNIZED
Released: February 2016, Updated: February 2025
Author: PC-IN Plzen, http://www.pcinplzen.cz
*/

/* ============================================
   ZÁKLADNÍ STYLY
   ============================================ */

body {
    margin: 0;
    padding: 0;
    font-family: Raleway, sans-serif;
    font-size: 15px;
    background-color: #fff;
    color: #000;
    line-height: 1.6;
}

img, a {border: 0;}
img {max-width: 100% !important;}
a {
    color: #000;
    transition: all 0.3s ease;
}

h1 {
    padding-bottom: 30px;
    background: url('../media/bottom-line.png') no-repeat;
    background-position: 0 30px;
    text-transform: uppercase;
    font-size: 20px;
    background-size: 100% 3px;
    display: block;
    line-height: 14px;
    color: #000;
}

tr.colored:hover {
    padding: 5px;
    background-color: #f8f8f8;
    transition: background-color 0.3s ease;
}
tr.colored a:hover {font-weight: bold;}
th {text-align: left;}
td {vertical-align: top; line-height: 1.5em;}

/* ============================================
   FORMULÁŘOVÉ PRVKY - MODERNIZACE
   ============================================ */

input[type=text], input[type=email], input[type=password] {
    padding: 12px 15px;
    width: auto;
    min-width: 220px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    outline: none;
}

input[type=text]:focus, input[type=email]:focus, input[type=password]:focus {
    border-color: #391E0C;
    box-shadow: 0 0 0 3px rgba(57, 30, 12, 0.1);
}

input[type=number] {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    outline: none;
}

input[type=number]:focus {
    border-color: #391E0C;
    box-shadow: 0 0 0 3px rgba(57, 30, 12, 0.1);
}

textarea {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    outline: none;
}

textarea:focus {
    border-color: #391E0C;
    box-shadow: 0 0 0 3px rgba(57, 30, 12, 0.1);
}

.clear {clear: both;}

/* ============================================
   HLAVIČKA
   ============================================ */

#top {
    background-color: #fff;
    padding: 10px 40px 10px 40px;
}

#menu-mobile {display: none !important;}

#menu {
    float: right;
    font-size: 14px;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-weight: bold;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

#menu a {
    padding: 10px 12px 8px 12px;
    text-decoration: none;
    text-transform: uppercase;
    color: #777777;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

#menu a:hover {
    color: #391E0C;
    border-bottom: 2px solid #391E0C;
}

#menu span {
    font-size: 8px;
    position: relative;
    margin: 0 5px 0 5px;
    top: -2px;
    color: #AAAAAA;
}

#submenu {
    display: none;
    padding: 15px 50px 15px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #fff;
    line-height: 2em;
    z-index: 1000;
    margin-left: 109px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

#submenu ul {margin-top: 0px; margin-bottom: 0px; margin-left: -20px;}
#submenu a {color: #777777;}
#submenu a:hover {color: #391E0C; border-bottom: none;}

a.submenu:hover {color: red;}
a.submenu:hover ~ #submenu, #submenu:hover {
    display: block;
    position: absolute;
    margin-top: 10px;
    margin-left: 170px;
}

/* ============================================
   SOCIAL / VYHLEDÁVÁNÍ
   ============================================ */

#social {
    clear: both;
    background: linear-gradient(135deg, #F7F7F7 0%, #f0f0f0 100%);
    padding: 12px 40px 12px 40px;
    height: auto;
    text-align: right;
    font-size: 10px;
}

#social input[type=text] {
    font-size: 10px;
    font-family: Raleway;
    padding: 8px 15px 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px 0px 0px 20px;
    min-width: 180px;
}

#social input[type=submit] {
    font-size: 10px;
    font-family: Raleway;
    padding: 8px 15px 8px 15px;
    position: relative;
    margin-left: -5px;
    cursor: pointer;
    background: url('../media/search.jpg') no-repeat;
    background-size: 100% 100%;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-left: none;
    border-radius: 0 20px 20px 0;
    transition: all 0.3s ease;
}

#social input[type=submit]:hover {
    opacity: 0.8;
}

#social form {float: right;}
#social a {
    float: right;
    margin: 0 10px 0 10px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
#social a:hover {opacity: 1;}

/* ============================================
   SLIDER
   ============================================ */

@keyframes slidy {
    0% { left: 0%; }
    20% { left: 0%; }
    25% { left: -100%; }
    45% { left: -100%; }
    50% { left: -200%; }
    70% { left: -200%; }
    75% { left: -300%; }
    95% { left: -300%; }
    100% { left: -400%; }
}

div#slider { overflow: hidden; border-radius: 0; }
div#slider figure img { width: 20%; float: left; }
div#slider figure span { width: 20%; float: left; }
div#slider figure {
    position: relative;
    width: 500%;
    margin: 0;
    left: 0;
    text-align: left;
    font-size: 0;
    animation: 25s slidy infinite;
}

/* ============================================
   IMAGE MAIN
   ============================================ */

#image_main {
    clear: both;
    background-color: #fff;
    padding: 10px 40px 10px 40px;
    height: auto;
}

.image_text {
    width: 33%;
    height: auto;
    float: left;
    text-align: center;
}

.image_text img {
    max-width: 99% !important;
    height: auto;
    min-height: 180px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.image_text:hover img {
    transform: scale(1.02);
}

.image_text a {
    position: relative;
    top: -160px;
    color: #fff;
    padding: 5px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    display: block;
    vertical-align: middle;
}

.image_text a i {
    font-size: 28px;
    font-style: normal;
    padding-bottom: 10px;
    border-bottom: 1px solid #fff;
}

.image_text a span {
    color: #fff;
    padding: 25px 5px 5px 5px;
    font-size: 13px;
    display: block;
    text-transform: none;
    width: 45%;
    margin: 0 auto;
    visibility: hidden;
    font-weight: normal;
}

.image_text a:hover {
    margin-top: -25px;
    padding-bottom: 30px;
}

.image_text a:hover span {visibility: visible;}

/* ============================================
   CONTENT
   ============================================ */

#content {
    clear: both;
    background-color: #fff;
    padding: 10px 40px 10px 40px;
    width: 980px;
    margin: 0 auto;
}

#content.main {position: relative; top: -160px;}
#content .bar_left {float: left; width: 48%;}
#content .bar_right {float: right; width: 48%;}
#content .bar_left20 {float: left; width: 20%;}
#content .bar_right80 {float: right; width: 76%;}

/* ============================================
   KONTAKTNÍ FORMULÁŘ
   ============================================ */

#content form.contact {
    padding: 25px;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    line-height: 1.3em;
    font-size: 14px;
    background: linear-gradient(135deg, #fefefe 0%, #f9f9f9 100%);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

#content form.contact input[type=text] {
    width: 99%;
    font-size: 14px;
    font-family: Raleway;
}

#content form.contact input[type=email] {
    width: 99%;
    font-size: 14px;
    font-family: Raleway;
}

#content form.contact textarea {
    width: 99%;
    height: 80px;
    resize: none;
    font-size: 14px;
    font-family: Raleway;
}

#content form.contact input[type=submit] {
    padding: 12px 25px;
    color: #391E0C;
    font-weight: bold;
    border: 2px solid #391E0C;
    background-color: #fff;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#content form.contact input[type=submit]:hover {
    background-color: #391E0C;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(57, 30, 12, 0.3);
}

#content form.contact span {
    color: #e74c3c;
    font-size: 0.9em;
    font-weight: bold;
}

#content p.right {
    text-align: right;
    padding: 0 10px 10px 10px;
    line-height: 1.8em;
}

/* ============================================
   PRODUKTY
   ============================================ */

#products .single {
    margin: 10px;
    padding: 15px;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    float: left;
    width: 194px;
    height: 380px;
    transition: all 0.3s ease;
    background: #fff;
}

#products .single:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

#products .single img {
    background-color: #fff;
    padding: 5px 5px 4px 5px;
    border-bottom: 1px dotted #ddd;
    height: 260px;
    border-radius: 8px;
}

#products .single span.name {
    display: block;
    max-width: 200px;
    font-size: 0.8em;
    height: auto;
    min-height: 50px;
}

/* ============================================
   MINI NAVIGACE
   ============================================ */

#mininavi {
    color: #999 !important;
    font-size: 11px;
    padding: 10px 0;
}

#mininavi a {
    color: #999;
    text-decoration: none;
    margin: 0 5px 0 5px;
}

#mininavi a:hover {
    text-decoration: none;
    color: #391E0C;
}

#mininavi span {margin: 0 10px 0 10px;}

#content .single {display: inline-block;}
#content .single img {max-height: 300px;}

/* ============================================
   PREFOOTER
   ============================================ */

#prefooter {
    clear: both;
    padding: 20px 10px 10px 10px;
    text-align: center;
}

#prefooter a {
    margin: 0 10px 0 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#prefooter a:hover {opacity: 1;}

/* ============================================
   FOOTER
   ============================================ */

#footer {
    clear: both;
    margin-top: 20px;
    padding: 25px 40px 25px 40px;
    font-size: 12px;
    background: linear-gradient(135deg, #F5F5F5 0%, #ebebeb 100%);
    color: #777777;
}

#footer a {
    color: #777777;
    text-decoration: none;
    margin-right: 20px;
}

#footer a:hover {color: #391E0C;}

.bar {width: 30%; float: left; padding: 10px;}

/* ============================================
   E-SHOP - LEVÝ PANEL
   ============================================ */

.left_bar {
    width: 15%;
    float: left;
    padding-right: 15px;
}

.left_bar ul.main {
    list-style-type: none;
    margin-left: -35px;
    line-height: 1.8em;
}

.left_bar ul.main a {
    color: #391E0C;
    font-weight: bold;
    text-decoration: none;
    padding: 5px 0;
    display: inline-block;
}

.left_bar ul.main a:hover {color: #5a3a1f;}

.left_bar ul.sub {
    list-style-type: none;
    margin-left: -35px;
    line-height: 1.8em;
}

.left_bar ul.sub a {
    color: #555;
    font-weight: normal;
    text-decoration: none;
    padding: 3px 0;
    display: inline-block;
}

.left_bar ul.sub a:hover {color: #E4AA01;}

/* ============================================
   E-SHOP - PRAVÝ PANEL / PRODUKTY
   ============================================ */

.right_bar {width: 80%; float: right;}

.right_bar .zbozi {
    display: inline-block;
    width: 28%;
    height: auto;
    padding: 15px 10px;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    text-align: center;
    font-size: 16px;
    margin: 0 1.5% 20px 1.5%;
    vertical-align: top;
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
    box-sizing: border-box;
}

.right_bar .zbozi:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
    border-color: #d0d0d0;
}

.right_bar .zbozi h3 {
    font-size: 14px;
    line-height: 1.4;
    min-height: 40px;
    margin: 10px 0;
}

.right_bar h2 a {color: #391E0C; font-size: 16px;}
.right_bar h3 a {color: #391E0C; font-size: 16px;}

.right_bar .zbozi img {
    height: 120px !important;
    width: auto;
    transition: transform 0.3s ease;
}

.right_bar .zbozi:hover img {
    transform: scale(1.05);
}

.right_bar input[type=submit] {
    height: auto;
    margin-top: 15px;
    padding: 10px 30px;
    border: 2px solid #391E0C;
    border-radius: 25px;
    cursor: pointer;
    background-color: #391E0C;
    color: #fff;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
}

.right_bar input[type=submit]:hover {
    color: #391E0C;
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(57, 30, 12, 0.2);
}

.right_bar textarea {width: 99%;}

/* ============================================
   FILTR ŘAZENÍ
   ============================================ */

.filtr {
    margin-bottom: 20px;
    padding: 15px 0;
}

.filtr a, .filtr span {
    margin-right: 15px;
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.filtr a {
    background: #f5f5f5;
    color: #666;
}

.filtr a:hover {
    background: #391E0C;
    color: #fff;
}

.filtr span {
    background: #391E0C;
    color: #fff;
}

/* ============================================
   SLEVA ŠTÍTEK
   ============================================ */

.zbozi .sleva {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #fff;
    background: linear-gradient(135deg, #ED1C24 0%, #c0171d 100%);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(237, 28, 36, 0.3);
}

/* ============================================
   ALERT BOXY / ZPRÁVY
   ============================================ */

.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-info {
    background: linear-gradient(135deg, #f5f0eb 0%, #e8dfd6 100%);
    border: 1px solid #c9b8a8;
    color: #391E0C;
}

.alert-success {
    background: linear-gradient(135deg, #f5f0eb 0%, #e8dfd6 100%);
    border: 1px solid #c9b8a8;
    color: #391E0C;
}

.alert-kosik {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #f9f6f3 0%, #efe8e1 100%);
    border: 2px solid #391E0C;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(57, 30, 12, 0.15);
}

.alert-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #391E0C 0%, #5a3a1f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(57, 30, 12, 0.3);
}

.alert-content {
    flex: 1;
}

.alert-content strong {
    display: block;
    font-size: 18px;
    color: #391E0C;
    margin-bottom: 5px;
}

.alert-content p {
    margin: 0;
    color: #5a3a1f;
    font-size: 14px;
}

.alert-btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #391E0C 0%, #5a3a1f 100%);
    color: #fff !important;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(57, 30, 12, 0.3);
}

.alert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(57, 30, 12, 0.4);
    background: linear-gradient(135deg, #5a3a1f 0%, #391E0C 100%);
    color: #fff !important;
}

/* ============================================
   KOŠÍK
   ============================================ */

.kosik {font-weight: bold; font-size: 0.9em;}
.kosik span {margin: 0 10px 0 10px; font-weight: normal;}
.kosik a.active {color: #E5AB01;}

#main-area .right_bar input[type=submit] {margin: 20px 0 20px 0;}

/* ============================================
   DETAIL PRODUKTU
   ============================================ */

.left_detail {width: 45%; float: left;}

.right_detail {width: 45%; float: right;}

.right_detail table {
    width: 100%;
    border-collapse: collapse;
}

.right_detail table td {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.right_detail input[type=submit] {
    height: auto;
    margin-top: 20px;
    padding: 12px 35px;
    border: 2px solid #391E0C;
    border-radius: 25px;
    cursor: pointer;
    background-color: #391E0C;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
}

.right_detail input[type=submit]:hover {
    color: #391E0C;
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(57, 30, 12, 0.2);
}

td.nazev {width: 300px !important;}

/* ============================================
   KARTY NA DETAILU
   ============================================ */

#karta-menu {
    margin: 20px 0 0 0;
}

#karta-menu a {
    width: auto !important;
    display: inline-block;
    padding: 10px 20px;
    margin-right: 5px;
    margin-bottom: 5px;
    background: #f5f5f5;
    border-radius: 25px 25px 0 0;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    border-bottom: none;
}

#karta-menu a:hover, #karta-menu a.active {
    background: #391E0C;
    color: #fff;
}

#karta {
    border: 1px solid #e0e0e0;
    border-radius: 0 16px 16px 16px;
    padding: 25px;
    background: #fefefe;
}

#karta a {text-decoration: none !important;}
#karta-galerie {display: none;}
#karta-dotaz {display: none;}
#karta-kategorie {display: none;}

.clear {clear: both;}
.tisic {margin-left: 0.5em;}

/* ============================================
   COOKIE LIŠTA
   ============================================ */

#cookie {
    transition: all 0.5s ease;
    text-align: center;
    padding: 15px;
    width: 100%;
    height: auto;
    font-size: 13px;
    color: #fff;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    opacity: 0.95;
    position: fixed;
    bottom: 0;
    box-sizing: border-box;
}

#cookie a {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
}

#cookie a.c_vse {
    padding: 8px 20px;
    background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
    border-radius: 20px;
    margin: 10px;
    transition: all 0.3s ease;
}

#cookie a.c_vse:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
}

#cookie a.c_vybrane {
    padding: 8px 20px;
    background: linear-gradient(135deg, #f39c12 0%, #d68910 100%);
    border-radius: 20px;
    margin: 10px;
    transition: all 0.3s ease;
}

#cookie a.c_vybrane:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.4);
}

#cookie a.c_ne {
    padding: 8px 20px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 20px;
    margin: 10px;
    transition: all 0.3s ease;
}

#cookie a.c_ne:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

/* ============================================
   VYPRODÁNO STYLY
   ============================================ */

.vyprodano-stitek {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: #fff;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 10;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(204, 0, 0, 0.3);
}

.vyprodano {
    display: inline-block;
    background: linear-gradient(135deg, #999 0%, #777 100%);
    color: #fff;
    padding: 10px 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
    border-radius: 25px;
    margin-top: 15px;
}

.zbozi {
    position: relative;
}

p.vyprodano {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 12px;
    font-weight: 500;
}

/* ============================================
   TLAČÍTKO VÍCE INFORMACÍ
   ============================================ */

a.window-btn {
    display: inline-block;
    padding: 8px 20px;
    background: transparent;
    border: 1px solid #391E0C;
    border-radius: 20px;
    color: #391E0C;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

a.window-btn:hover {
    background: #391E0C;
    color: #fff;
}

/* ============================================
   BUTTON BLUE (obecné tlačítko)
   ============================================ */

input[type=submit].btn-blue, a.btn-blue {
    padding: 12px 30px;
    background: linear-gradient(135deg, #391E0C 0%, #5a3a1f 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

input[type=submit].btn-blue:hover, a.btn-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(57, 30, 12, 0.3);
}
