﻿@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');

/*I. VŠEOBECNÉ NASTAVENIA*/
html {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    position: relative;
    min-height: 100%;
}

@media (max-width: 991px) {
    html {
        font-size: 90%;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 80%;
    }
}

body {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    min-height: 100%;
    color: #2C5B37;
    background-image: url(../images/cg_background.jpg);
    background-size: 100% auto;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    padding-top: 140px;
}

@media (max-width: 767px) {
    body {
        background-attachment: scroll;
        background-image: none;
        padding-top: 50px;
        margin-top: 20px;
    }
}

p.medium {
    font-size: 26px;
}

p.big {
    font-size: 32px;
}

h1, h2, h3, h4, h4 {
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    padding: 10px;
}

/*II. HEADER*/
.cg-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

    .cg-header.hidden {
        transform: translateY(-120%);
        pointer-events: none;
        opacity: 0;
    }

/* Header top */
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    flex-wrap: nowrap;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

    .header-top.hidden {
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
    }

/* Logo + slogan */
.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .header-logo img {
        height: 130px;
        max-width: 200px;
        object-fit: contain;
        transition: transform 0.4s ease;
    }

        .header-logo img:hover {
            transform: scale(1.08) rotate(-2deg);
        }

.header-slogan {
    font-size: 28px;
    font-style: italic;
    color: #4caf50;
    text-shadow: 0 1px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Search button */
.search-btn-animated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #43a047, #66bb6a);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

    .search-btn-animated i {
        transition: transform 0.3s ease;
    }

    .search-btn-animated:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
        background: linear-gradient(135deg, #66bb6a, #43a047);
    }

        .search-btn-animated:hover i {
            transform: rotate(20deg) scale(1.2);
        }

/* Header tools */
.header-tools {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
}

    .header-user a {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #333;
        text-decoration: none;
        padding: 6px 10px;
        border-radius: 6px;
        transition: all 0.3s ease;
        background: rgba(0,0,0,0.02);
    }

        .header-user a:hover {
            background: #4caf50;
            color: #fff;
            transform: translateY(-2px) scale(1.05);
        }

        .header-user a i {
            font-size: 16px;
        }

/* Basket */
.header-basket {
    position: relative;
    transition: transform 0.3s ease;
}

    .header-basket a {
        font-size: 28px;
        color: #4caf50;
        position: relative;
    }

    .header-basket:hover {
        transform: scale(1.1);
    }

    .header-basket .basket-count {
        position: absolute;
        top: -8px;
        right: -8px;
        background: #ff5722;
        color: #fff;
        font-size: 12px;
        font-weight: bold;
        width: 20px;
        height: 20px;
        line-height: 20px;
        text-align: center;
        border-radius: 50%;
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
        animation: pulse 2s infinite;
    }

    .header-basket i {
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .header-basket:hover i {
        transform: rotate(-10deg) scale(1.2);
        color: #4caf50;
    }

@keyframes pulse {
    0%,100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Free shipping banner */
.free-shipping-banner {
    position: sticky;
    top: 0;
    width: 100%;
    background: #2C5B37;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    padding: 10px 0;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: 0 3px 5px rgba(0,0,0,0.1);
    z-index: 9000;
}

    .free-shipping-banner span {
        display: inline-block;
        padding-left: 100%;
        animation: scrollText 40s linear infinite;
    }

@keyframes scrollText {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/*III.MENU*/
.menu-bar {
    position: sticky;
    top: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eaeaea;
    z-index: 9998;
    transition: box-shadow 0.3s ease;
}

    .menu-bar.sticky {
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

.menu-link {
    position: relative;
    display: inline-block;
    padding-right: 2rem;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .menu-link:hover {
        color: #007bff;
    }

.menu-link {
    position: relative;
    display: inline-block;
}

.menu-badge {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    z-index: 1000;
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 9999px;
    line-height: 1;
    white-space: nowrap;
    background: #ff5252;
    color: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-link:hover .menu-badge {
    animation: shake-scale 0.5s ease-in-out;
}

@keyframes shake-scale {
    0% {
        transform: translate(50%, -50%) rotate(0deg) scale(1);
    }

    15% {
        transform: translate(50%, -50%) rotate(-10deg) scale(1.05);
    }

    30% {
        transform: translate(50%, -50%) rotate(10deg) scale(1.05);
    }

    45% {
        transform: translate(50%, -50%) rotate(-8deg) scale(1.05);
    }

    60% {
        transform: translate(50%, -50%) rotate(8deg) scale(1.05);
    }

    75% {
        transform: translate(50%, -50%) rotate(-5deg) scale(1.05);
    }

    90% {
        transform: translate(50%, -50%) rotate(5deg) scale(1.05);
    }

    100% {
        transform: translate(50%, -50%) rotate(0deg) scale(1);
    }
}


.menu-badge.news {
    background-color: #007bff;
    color: #fff;
}

.menu-badge.sale {
    background-color: #d93025;
    color: #fff;
}

@media (max-width: 768px) {
    .menu-badge.sale {
        display: none !important;
    }

    .menu-badge.news {
        display: none !important;
    }
}

.mobile-menu-open {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: #fff;
    z-index: 9999;
    padding: 60px 20px 20px;
    display: none;
    flex-direction: column;
}

    .mobile-menu-open.active {
        display: flex;
    }

    /* Položky mobilného menu */
    .mobile-menu-open .mobile-menu-item {
        margin-bottom: 15px;
    }

        .mobile-menu-open .mobile-menu-item > a {
            font-size: 1.6rem;
            font-weight: 600;
            color: #2C5B37;
            text-decoration: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

    /* Submenu skryté */
    .mobile-menu-open .submenu {
        display: none;
        padding-left: 15px;
        margin-top: 5px;
        color: #2C5B37;
    }

    /* Zobrazenie submenu po kliknutí */
    .mobile-menu-open .mobile-menu-item.open > .submenu {
        display: block;
        color: #2C5B37;
    }

    /* Badge vo vnútri mobilného menu */
    .mobile-menu-open .menu-badge {
        position: absolute;
        top: 0;
        right: 0;
        transform: translate(50%, -50%);
        font-size: 1.2rem;
        font-weight: 600;
        padding: 4px 8px;
        border-radius: 9999px;
        line-height: 1;
        background-color: #d93025;
        color: #fff;
        z-index: 1000;
    }

/* Na desktop skryť mobilné menu */
@media (min-width: 992px) {
    .mobile-menu-open {
        display: none !important;
    }
}

/* Produkty v strede na mobile */
@media (max-width: 767px) {
    .product-item {
        width: 80%;
        margin: 0 auto 20px auto;
    }

    .new-products-grid {
        padding: 0 15px;
        justify-content: center;
    }
}

@media(max-width: 991px) {

    /* Header top */
    .header-top {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px 20px;
    }

    /* Logo + slogan */
    .header-logo img {
        height: 50px;
        max-width: 90%;
    }

    .header-slogan {
        font-size: 18px;
        text-align: center;
        margin-top: 4px;
    }

    /* Hide desktop elements */
    .search-btn-animated, .header-tools {
        display: none !important;
    }

    /* Navbar mobile */
    .navbar-header.mobile-only {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 6px 12px;
        height: auto;
        min-height: 50px;
    }

        .navbar-header.mobile-only img {
            height: 50px;
            max-width: 80%;
            object-fit: contain;
        }

    .hamburger-btn {
        font-size: 28px;
        padding: 6px 10px;
        cursor: pointer;
        border-radius: 6px;
        background: rgba(76, 175, 80, 0.08);
        transition: background 0.3s ease;
    }

        .hamburger-btn:hover {
            background: rgba(76, 175, 80, 0.2);
        }

    /* Mobile tools */
    .mobile-tools {
        display: flex;
        justify-content: flex-start;
        gap: 1rem;
        padding: 0.5rem 1rem;
        background: #e8f5e9;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        z-index: 10;
    }

        .mobile-tools .tool-item a {
            color: #2e7d32;
            font-size: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: color 0.2s ease, transform 0.2s ease;
            padding: 8px;
            border-radius: 6px;
            background: #a5d6a7;
        }

            .mobile-tools .tool-item a:hover {
                color: #1b5e20;
                transform: scale(1.1);
            }

        .mobile-tools .basket-count {
            background-color: #ff0000;
            color: #fff;
            font-size: 0.75rem;
            font-weight: 600;
            padding: 0.2rem 0.4rem;
            border-radius: 9999px;
            line-height: 1;
            display: inline-block;
            vertical-align: top;
            margin-left: 0.2rem;
        }

    /* Mobile menu overlay */
    .mobile-menu-open {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(44,91,55,0.97);
        z-index: 10000;
        flex-direction: column;
        align-items: center;
        padding-top: 80px;
    }

        .mobile-menu-open .mobile-menu-item {
            color: #fff;
            font-size: 20px;
            padding: 14px 0;
            width: 100%;
            text-align: center;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

            .mobile-menu-open .mobile-menu-item:hover {
                background: rgba(255,255,255,0.1);
                transform: none;
                box-shadow: none;
            }
}

@media (min-width: 992px) {
    .hamburger-btn {
        display: none !important;
    }
}

@media(max-width: 767px) {
    ul.nav.navbar-nav li a {
        color: #2C5B37;
        font-weight: 600;
        padding: 10px 15px;
        text-decoration: none;
        display: block;
        transition: color 0.3s ease;
    }

        ul.nav.navbar-nav li a:hover {
            color: #007bff;
        }

    .open > .dropdown-menu.desktop-only {
        display: none;
    }

    .navbar-nav li.desktop-only {
        display: none;
    }
}

@media(min-width: 768px) {
    .navbar-nav li.mobile-only {
        display: none;
    }
}

.navbar-header.mobile-only {
    display: none;
}

/* Mobilná verzia */
@media (max-width: 767px) {
    .navbar-header.mobile-only {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px;
    }
}

@media (max-width: 767px) {
    body, html {
        overflow-x: hidden;
    }

    .cg-header,
    .header-top,
    .header-logo,
    .header-tools,
    .search-btn-animated,
    .free-shipping-banner,
    .mobile-menu-open {
        max-width: 100%;
        box-sizing: border-box;
    }

        .free-shipping-banner span {
            display: inline-block;
            padding-left: 100%;
            animation: scrollText 40s linear infinite;
            white-space: nowrap;
        }
}

/* Skryje caret (šípku) na desktop verzii */
@media (min-width: 992px) {
    .mobile-submenu-caret {
        display: none !important;
    }
}

/* Zobrazí caret iba na mobile */
@media (max-width: 991px) {
    .mobile-submenu-caret {
        display: block;
    }
}


/*IV. PÄTIČKA */
/* Luxusný gradient */
.lux-footer {
    background: linear-gradient(135deg, #fdfcf6, #f4f9f4);
    position: relative;
    overflow: hidden;
}

    .lux-footer::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at center, rgba(76, 175, 80, 0.08), transparent 60%);
        animation: pulseBg 8s infinite alternate ease-in-out;
        z-index: 0;
    }

@keyframes pulseBg {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.3);
        opacity: 0.4;
    }
}

/* Obsah nad animovaným pozadím */
.cg-footer > * {
    position: relative;
    z-index: 1;
}

/* Logo + slogan */
.footer-brand {
    margin-top: 10px;
    margin-bottom: 30px;
}

.footer-logo {
    max-height: 70px;
    transition: transform 0.4s ease;
}

    .footer-logo:hover {
        transform: scale(1.08) rotate(-2deg);
    }

.footer-slogan {
    font-size: 15px;
    margin-top: 10px;
    color: #4caf50;
    font-style: italic;
}

/* Titulky */
.footer-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2e7d32;
    position: relative;
}

    .footer-title::after {
        content: "";
        display: block;
        width: 30px;
        height: 3px;
        background: #2e7d32;
        margin-top: 5px;
        border-radius: 2px;
        transition: width 0.4s;
    }

    .footer-title:hover::after {
        width: 50px;
    }

/* Menu */
.footer-menu {
    list-style: none;
    padding: 0;
}

    .footer-menu li {
        margin-bottom: 8px;
    }

        .footer-menu li a {
            color: #444;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
        }

            .footer-menu li a::after {
                content: "";
                position: absolute;
                left: 0;
                bottom: -2px;
                width: 0%;
                height: 2px;
                background: #4caf50;
                transition: width 0.3s ease;
            }

            .footer-menu li a:hover {
                color: #2e7d32;
            }

                .footer-menu li a:hover::after {
                    width: 100%;
                }

/* Kontakt */
.footer-link {
    color: #444;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .footer-link:hover {
        color: #2e7d32;
        padding-left: 5px;
    }

/* Sociálne ikony */
.footer-social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    margin: 5px;
    border-radius: 50%;
    background: #e4e2d9;
    color: #555;
    font-size: 20px;
    transition: all 0.4s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

    .footer-social a:hover {
        background: linear-gradient(135deg, #43a047, #2e7d32);
        color: #fff;
        transform: translateY(-4px) scale(1.1) rotate(5deg);
        box-shadow: 0 6px 15px rgba(46,125,50,0.4);
    }

/* Copy bar */
.footer-bottom {
    border-top: 1px solid #ddd;
    padding: 18px 0;
    margin-top: 40px;
    font-size: 14px;
    color: #555;
}

    .footer-bottom a {
        color: #2e7d32;
        text-decoration: none;
        transition: color 0.3s;
    }

        .footer-bottom a:hover {
            color: #1b5e20;
        }

/* Developer */
.developer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.developer-text {
    font-weight: 500;
    color: #444;
}

.developer-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.developer-logo {
    height: 24px;
    width: auto;
    transition: transform 0.3s;
}

.developer-link:hover .developer-logo {
    transform: scale(1.15) rotate(-3deg);
}

@media (max-width: 767px) {
    .footer-main .row {
        flex-direction: column;
        text-align: center;
    }

    .footer-col {
        margin-bottom: 25px;
    }

    .footer-social a[title="Facebook"] {
        background: #1877f2;
        color: #fff;
    }

    .footer-social a[title="Instagram"] {
        background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
        -webkit-background-clip: content-box;
        -webkit-text-fill-color: transparent;
    }

    .footer-social a[title="YouTube"] {
        background: #ff0000;
        color: #fff;
    }

    .footer-social a {
        width: 50px;
        height: 50px;
        font-size: 22px;
        margin: 8px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/*V. VNÚTORNÉ ELEMENTY */
/* Message div */
.message-div {
    padding: 0;
    padding-bottom: 100px;
    text-align: center;
}

    .message-div h1 {
        letter-spacing: -2px;
        color: #000;
    }

    .message-div p {
        margin: auto;
        padding-top: 30px;
        font-weight: bold;
        letter-spacing: 1px;
    }

.message-error h1, .message-error p {
    color: red;
}

.message-div .fa-spinner {
    font-size: 32px;
}

/* CassoviaGarden Form */
.CassoviaGarden-form {
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px 25px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    font-family: 'Segoe UI', Tahoma, sans-serif;
    color: #2C5B37;
    box-sizing: border-box;
}

/* Hidden form items */
.form-item-hidden {
    display: none;
}

/* Form items */
.CassoviaGarden-form .form-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

    /* Labels */
    .CassoviaGarden-form .form-item label {
        display: block;
        font-weight: 600;
        color: #1F3D2F;
        margin-bottom: 6px;
        font-size: 14px;
    }

/* Inputs, selects, textareas */
.CassoviaGarden-form .form-control {
    border: 1px solid #c0c0c0;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
    width: 100%;
    box-sizing: border-box;
}

    .CassoviaGarden-form .form-control:focus {
        border-color: #4CAF50;
        box-shadow: 0 0 6px rgba(76, 175, 80, 0.2);
        outline: none;
    }

/* Flex grid pre riadky */
.CassoviaGarden-form .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.CassoviaGarden-form .col-md-6 {
    flex: 0 0 50%;
    padding: 0 10px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

/* Submit tlačidlá */
.CassoviaGarden-form .btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #4CAF50;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
    margin-right: 10px;
}

    .CassoviaGarden-form .btn:hover {
        background-color: #45a049;
        transform: translateY(-2px);
    }


/* Validation messages */
.CassoviaGarden-form .field-validation-error,
.CassoviaGarden-form .validation-summary-errors {
    color: #d93025;
    font-size: 14px;
    margin-top: 5px;
}

/* Validation summary */
.CassoviaGarden-form .validation-summary-errors {
    background-color: #fdecea;
    border-left: 4px solid #d93025;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Submit button */
.CassoviaGarden-form .submit a.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #4CAF50;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
}

    .CassoviaGarden-form .submit a.btn:hover {
        background-color: #45a049;
        transform: translateY(-2px);
        text-decoration: none;
    }

/* Responsive adjustments */
@media (max-width: 767px) {
    .CassoviaGarden-form {
        padding: 20px 15px;
    }

        .CassoviaGarden-form .submit a.btn {
            width: 100%;
            text-align: center;
        }
}

/* Validation errors */
div.cg-validation-summary-errors {
    background-color: #fdecea;
    border-left: 4px solid #d93025;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 600px;
    font-weight: 500;
    line-height: 1.5;
}

    div.cg-validation-summary-errors ul {
        list-style: none;
        padding-left: 0;
        margin: 0;
    }

        div.cg-validation-summary-errors ul li {
            margin: 5px 0;
            padding-left: 20px;
            position: relative;
        }

            div.cg-validation-summary-errors ul li::before {
                content: "⚠️";
                position: absolute;
                left: 0;
                top: 0;
            }

/* Inline field errors */
.field-validation-error,
span.field-validation-error {
    color: #d93025;
    font-weight: 500;
    font-size: 14px;
    display: block;
    margin-top: 5px;
}

.api-password-group {
    display: none;
}

/*Buttons*/
a.btn,
a.btn.btn-primary,
a.btn.btn-default,
a.btn.btn-lg,
.logout-btn a {
    display: inline-block;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background: linear-gradient(145deg, #2C5B37, #3B8F5C);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

    /* Hover efekt */
    a.btn:hover,
    a.btn:focus,
    .logout-btn a:hover,
    .logout-btn a:focus {
        background: linear-gradient(145deg, #3B8F5C, #45A049);
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    }

    /* Aktívny / kliknutý stav */
    a.btn:active,
    .logout-btn a:active {
        background: linear-gradient(145deg, #E5E5E5, #7CC36B);
        color: #2C5B37;
        transform: translateY(1px);
        box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.12);
    }

/* Veľké tlačidlá */
a.btn-lg {
    padding: 14px 32px;
    font-size: 18px;
}

/* Optional: ikona vo vnútri tlačidla */
a.btn i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

a.btn:hover i {
    transform: translateX(3px);
}
/* Moderné Breadcrumbs */
.breadcrumbs {
    padding: 12px 15px;
    margin: 0 0 15px 0;
    background-color: #F5F5F5;
    border-bottom: 1px solid #E5E5E5;
    border-radius: 6px;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-size: 14px;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
}

    .breadcrumbs.align-right {
        justify-content: flex-end;
    }

    .breadcrumbs a {
        color: #2C5B37;
        text-transform: uppercase;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s ease, transform 0.2s ease;
    }

        .breadcrumbs a:hover {
            color: #3B8F5C;
            transform: translateY(-1px);
        }

    .breadcrumbs span {
        color: #555;
        text-transform: uppercase;
        font-weight: 500;
    }

    .breadcrumbs .separator {
        padding: 0 6px;
        color: #999;
        display: inline-block;
    }

        .breadcrumbs .separator img {
            max-height: 16px;
            vertical-align: middle;
        }

/* Responsívne */
@media (max-width: 767px) {
    .breadcrumbs {
        font-size: 12px;
        padding: 10px 10px;
    }

        .breadcrumbs .separator {
            padding: 0 4px;
        }
}

/* HIDDEN WEB / FULLSCREEN MESSAGE */
.hidden-web {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #E5E5E5, #7FCF4F);
    color: #fff;
    text-align: center;
    padding: 50px;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.1);
    animation: fadeIn 0.5s ease forwards;
    overflow: auto;
}

    /* Obrázky vo vnútri */
    .hidden-web .message-div img {
        max-width: 150px;
        height: auto;
        margin: 20px 0;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        transition: transform 0.3s ease;
    }

        .hidden-web .message-div img:hover {
            transform: scale(1.05);
        }

    /* Text vo vnútri */
    .hidden-web .message-div {
        max-width: 600px;
        background: rgba(255, 255, 255, 0.1);
        padding: 30px 25px;
        border-radius: 16px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        color: #fff;
        font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
        font-weight: 500;
    }

/* Jemná fade-in animácia */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* COOKIES BAR */
.cookies-div {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 50px;
    width: 400px;
    max-width: 90%;
    background: #1F1F1F;
    color: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

    /* Close button */
    .cookies-div .cookies-close {
        position: absolute;
        top: -10px;
        right: -10px;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background-color: #333;
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: bold;
        cursor: pointer;
        transition: background 0.3s, transform 0.2s;
    }

        .cookies-div .cookies-close:hover {
            background-color: #555;
            transform: scale(1.1);
        }

    /* Text */
    .cookies-div p {
        margin: 0 0 20px 0;
        font-size: 14px;
        line-height: 1.5;
        color: #fff;
    }

/* Buttons */
.cookies-ok,
.cookies-cancel {
    display: inline-block;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cookies-ok {
    background-color: #8FBE3E;
    border: 2px solid #8FBE3E;
    color: #fff;
    margin-right: 10px;
}

    .cookies-ok:hover {
        background-color: #E5E5E5;
        border-color: #fff;
        color: #fff;
        transform: translateY(-2px);
    }

.cookies-cancel {
    background-color: #FE0000;
    border: 2px solid #FE0000;
    color: #fff;
}

    .cookies-cancel:hover {
        background-color: #FF3B3B;
        border-color: #fff;
        transform: translateY(-2px);
    }

/* Privacy links */
.privacy-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

    .privacy-links a {
        color: #fff;
        font-size: 13px;
        text-decoration: underline;
        transition: color 0.3s;
    }

        .privacy-links a:hover {
            color: #ddd;
        }

/* Mobile adjustments */
@media (max-width: 767px) {
    .cookies-div {
        top: auto;
        right: 20px;
        left: 20px;
        bottom: 40px;
        width: auto;
        padding: 20px;
    }
}

/* Trade rules */
.trade-rules a {
    color: #000;
    text-decoration: underline;
}

    .trade-rules a:hover {
        color: #2C5B37;
        text-decoration: underline;
    }

/* Image*/
.img-responsive img, img.img-responsive {
    max-width: 100%;
}

/*Slider*/
.slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100vw;
    max-width: 100%;
    margin: 0 auto;
}

.slider {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

    .slide img {
        width: 100%;
        height: auto;
        display: block;
    }

.control_prev,
.control_next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    text-decoration: none;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    padding: 0 15px;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
}

.control_prev {
    left: 10px;
}

.control_next {
    right: 10px;
}

/*Zásady ochrany osobných údajov*/
.custom-hover:hover {
    color: #E5E5E5;
}

/*VI. ŠTÝLY PODSTRÁNOK*/
/*Úvod*/
.fade-slide-in {
    font-size: 28px;
    font-weight: 700;
    color: #2C5B37;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideIn 1.2s ease forwards;
    padding-top: 30px;
}

@keyframes fadeSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.uvod-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.uvod-panel-item {
    width: 260px;
    text-align: center;
    transition: transform 0.5s ease, box-shadow 0.5s ease, background 0.5s ease;
    border-radius: 12px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    padding: 10px;
    margin: 30px 0 30px 0;
}

    .uvod-panel-item:hover {
        transform: translateY(-8px) scale(1.05);
        box-shadow: 0 12px 30px rgba(0,0,0,0.25);
        background: rgba(255, 255, 255, 0.25);
    }

.uvod-panel-title-label {
    font-size: 18px;
    font-weight: bold;
    color: #2C5B37;
    margin-bottom: 10px;
}

.uvod-panel-item a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

.uvod-panel-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.uvod-panel-item a:hover img {
    transform: scale(1.1) translateY(-5px);
    filter: brightness(1.1);
}

.uvod-panel-slogan fade-slide-in {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    font-style: italic;
    color: #4caf50;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

body > div.page-body > div.umb-grid > div > div > div > div > div > div.uvod-panel-wrapper > div:nth-child(1),
body > div.page-body > div.umb-grid > div > div > div > div > div > div.uvod-panel-wrapper > div:nth-child(1) * {
    font-family: 'Playfair Display', serif !important;
    font-style: italic;
}

@media (max-width: 991px) {
    .uvod-panel-slogan fade-slide-in {
        font-size: 24px;
        text-shadow: 0 1px 5px rgba(0,0,0,0.1);
    }

    body > div.page-body > div.umb-grid > div > div > div > div > div > div.uvod-panel-wrapper > div:nth-child(1),
    body > div.page-body > div.umb-grid > div > div > div > div > div > div.uvod-panel-wrapper > div:nth-child(1) * {
        font-family: 'Playfair Display', serif !important;
        font-style: italic;
    }
}

/* Stránky s dokumentmi */
.goods-claim {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    color: #000;
}

    .goods-claim h1 {
        font-size: 3.2rem;
        margin-bottom: 20px;
        color: #2C5B37;
    }

    .goods-claim h3 {
        font-size: 2rem;
        margin-top: 30px;
        color: #2C5B37;
    }

    .goods-claim p {
        margin-bottom: 15px;
        font-size: 1.7rem;
    }

    .goods-claim ul,
    .goods-claim ol {
        padding-left: 20px;
        margin-bottom: 20px;
    }

    .goods-claim li {
        margin-bottom: 8px;
    }

    .goods-claim a {
        color: #0078d4;
        text-decoration: none;
    }

        .goods-claim a:hover {
            text-decoration: underline;
        }

@media (max-width: 768px) {
    .goods-claim {
        margin: 20px;
        padding: 25px;
    }

        .goods-claim h1 {
            font-size: 1.8rem;
        }

        .goods-claim h3 {
            font-size: 1.3rem;
        }
}

/*Kamenná predajňa*/
.headquarters {
    max-width: 500px;
    margin: 20px auto;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    color: #000;
}

    .headquarters h1 {
        font-size: 3.2rem;
        margin-bottom: 20px;
        color: #2C5B37;
    }

    .headquarters h2 {
        font-size: 2rem;
        margin-top: 30px;
        color: #2C5B37;
    }

    .headquarters p {
        margin-bottom: 15px;
        font-size: 1.7rem;
    }

    .headquarters a {
        color: #0078d4;
        text-decoration: none;
    }

        .headquarters a:hover {
            text-decoration: underline;
        }

@media (max-width: 768px) {
    .headquarters {
        margin: 20px;
        padding: 25px;
    }

        .headquarters h1 {
            font-size: 1.8rem;
        }
}

.open-hours {
    max-width: 300px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .open-hours h2 {
        margin-top: 0;
        font-size: 20px;
        color: #333;
        margin-bottom: 15px;
    }

    .open-hours table {
        width: 100%;
        border-collapse: collapse;
    }

    .open-hours td {
        padding: 6px 0;
        font-size: 16px;
        color: #444;
    }

.headquarters-img {
    max-width: 100%;
    margin: 20px auto;
    text-align: center;
}

    .headquarters-img img {
        width: 100%;
        max-width: 700px;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .headquarters-img img:hover {
            transform: scale(1.03);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
        }

.store-sortiment {
    max-width: 1400px;
    margin: 60px auto;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    color: #000;
}

/*Kontakt*/
.contact-div {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    color: #000;
}

    .contact-div h1 {
        font-size: 3.2rem;
        margin-bottom: 20px;
        color: #2C5B37;
    }

    .contact-div h2 {
        font-size: 2rem;
        margin-top: 30px;
        color: #2C5B37;
    }

    .contact-div p {
        margin-bottom: 15px;
        font-size: 1.7rem;
    }

    .contact-div ul,
    .contact-div ol {
        padding-left: 20px;
        margin-bottom: 20px;
    }

    .contact-div li {
        margin-bottom: 8px;
    }

    .contact-div a {
        color: #0078d4;
        text-decoration: none;
    }

        .contact-div a:hover {
            text-decoration: underline;
        }

@media (max-width: 768px) {
    .contact-div {
        margin: 20px;
        padding: 25px;
    }

        .contact-div h1 {
            font-size: 1.8rem;
        }

        .contact-div h3 {
            font-size: 1.3rem;
        }
}

.contact-heading h1 {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    color: #000;
}

/*Reviews*/
.reviews-section {
    background-color: #F5F5F5;
    padding: 40px 0;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 0 20px;
}

    .reviews-container h2 {
        font-size: 28px;
        color: #2C5B37;
        margin-bottom: 30px;
        font-weight: bold;
    }

.reviews-carousel {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.review {
    flex: 0 0 calc(33.333% - 20px);
    margin: 0 10px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
    text-align: left;
    box-sizing: border-box;
}

    .review .stars {
        font-size: 18px;
        color: #FFD700;
        margin-bottom: 10px;
    }

    .review p {
        font-size: 15px;
        color: #333;
        margin-bottom: 8px;
    }

    .review .author {
        font-weight: bold;
        color: #2C5B37;
    }

@media (max-width: 767px) {
    .review {
        flex: 0 0 100%;
        margin: 10px;
        align-content: center;
    }
}
