*/
.home-page {
    background: var(--light-bg);
}

.home-hero {
    position: relative;
    min-height: 100vh;
    background: #0f1419;
    overflow: hidden;
}

.home-hero-slider {
    position: relative;
    min-height: 100vh;
}

.hero-slider-js {
    position: relative;
    height: 100%;
}

.hero-slides {
    position: relative;
    height: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    transform: translateX(100%);
    transition: transform 0.7s ease;
    z-index: 1;
}

.hero-slide.is-active {
    transform: translateX(0);
    z-index: 3;
}

.hero-slide.is-prev {
    transform: translateX(-100%);
    z-index: 2;
}

.hero-slide-image {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    object-fit: cover;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7,10,15,.86) 0%, rgba(7,10,15,.58) 38%, rgba(7,10,15,.22) 68%, rgba(7,10,15,.18) 100%),
        linear-gradient(180deg, rgba(7,10,15,.08) 0%, rgba(7,10,15,.18) 62%, rgba(7,10,15,.58) 100%);
}

.catalog-slide-card {
    position: relative;
    min-height: 460px;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 16px 40px rgba(0,0,0,.22);
}

.home-slide-card {
    min-height: 100vh;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: #0f1419;
}

.catalog-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #fff;
}

.catalog-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,12,18,.10) 0%, rgba(8,12,18,.20) 48%, rgba(8,12,18,.82) 100%);
}

.home-slide-overlay {
    background:
        linear-gradient(90deg, rgba(7,10,15,.86) 0%, rgba(7,10,15,.58) 38%, rgba(7,10,15,.22) 68%, rgba(7,10,15,.18) 100%),
        linear-gradient(180deg, rgba(7,10,15,.08) 0%, rgba(7,10,15,.18) 62%, rgba(7,10,15,.58) 100%);
}

.catalog-slide-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 28px;
    color: #fff;
}

.hero-slide-content,
.home-slide-content {
    position: absolute;
    left: 0;
    right: auto;
    bottom: 48px;
    max-width: 720px;
    z-index: 3;
    padding: 40px 32px;
    color: #fff;
}

.catalog-slide-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.catalog-slide-content h2,
.catalog-slide-content h3,
.home-slide-content h2,
.hero-slide-content h2 {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 10px;
    font-weight: 800;
    color: #fff;
}

.home-slide-content h2,
.hero-slide-content h2 {
    font-size: 56px;
    line-height: 1.05;
    margin-bottom: 14px;
}

.hero-slide-text {
    font-size: 18px;
    color: rgba(255,255,255,.86);
    margin-bottom: 22px;
    max-width: 620px;
}

.catalog-slide-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.catalog-slide-actions a {
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    transition: all .2s;
    background: var(--primary);
    color: #fff;
}

.catalog-slide-actions a:hover {
    transform: translateY(-1px);
    background: var(--primary-dark);
}

.home-slide-actions {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.home-slide-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    transition: all .2s;
    box-shadow: 0 8px 20px rgba(0,173,181,.22);
}

.home-slide-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* hlavné tlačidlo vpravo dole */
.hero-go-products {
    position: absolute;
    right: 32px;
    bottom: 32px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    transition: all .2s;
    box-shadow: 0 8px 20px rgba(0,173,181,.22);
}

.hero-go-products:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.hero-dots {
    position: absolute;
    left: 32px;
    bottom: 32px;
    display: flex;
    gap: 8px;
    z-index: 6;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
    border: none;
    cursor: pointer;
    transition: .2s;
    padding: 0;
}

.hero-dot.is-active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(0,173,181,.45);
}

.home-categories-section {
    padding-top: 64px;
}


/* === USER MENU / AUTH NAV === */
.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-menu-compact {
    position: relative;
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--primary-pale);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s;
}

.user-avatar:hover {
    transform: scale(1.04);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--gray-light);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 12px;
    display: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease;
    z-index: 1000;
}

.user-menu-compact.active .user-dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.user-name {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 800;
    color: var(--dark);
    border-bottom: 1px solid var(--gray-light);
    padding-bottom: 8px;
}

.user-dropdown-link {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
    transition: .2s;
}

.user-dropdown-link:hover {
    background: var(--light-bg);
    color: var(--primary-dark);
}

.logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    background: #ef4444;
    color: #fff;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    text-decoration: none;
    font-weight: 700;
    transition: .2s;
}

.logout-btn:hover {
    background: #dc2626;
}

.login-btn,
.register-btn {
    padding: 8px 13px;
    border-radius: 9px;
    font-size: 13px;
    text-decoration: none;
    font-weight: 700;
    transition: .2s;
    white-space: nowrap;
}

.login-btn {
    background: var(--primary);
    color: #fff;
}

.login-btn:hover {
    background: var(--primary-dark);
}

.register-btn {
    border: 1px solid var(--gray-light);
    color: var(--dark);
    background: #fff;
}

.register-btn:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
}

/* === FAVORITES BUTTON === */
.fav-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-light);
    border-radius: 50%;
    background: rgba(255,255,255,.96);
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 8;
    transition: .2s;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.fav-btn:hover {
    transform: scale(1.05);
    color: #ef4444;
    border-color: #fecaca;
}

.fav-btn.active {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
}

@media (max-width: 760px) {
    .header-right {
        gap: 8px;
    }

    .login-btn,
    .register-btn {
        padding: 7px 10px;
        font-size: 12px;
    }

    .user-avatar {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
