:root {
    --bg-dark: #0a0a0a;
    --card-dark: #141414;
    --text-light: #f5f5f5;
    --primary-color: #0084ff;
    --primary-glow: rgba(0, 132, 255, 0.3);
    --secondary-color: #222;
    --glass-bg: rgba(20, 20, 20, 0.85);
}

body {
    background-color: var(--bg-dark) !important;
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    padding-top: 80px;
    overflow-x: hidden;
}

.navbar {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand-img {
    height: 35px;
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

.nav-link {
    font-weight: 500;
    color: #aaa !important;
    transition: color 0.3s ease;
    padding: 0.5rem 1.2rem !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.user-dropdown .dropdown-toggle {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 5px 15px 5px 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.user-dropdown .dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.dropdown-menu {
    background: var(--card-dark);
    border: 1px solid var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-top: 15px;
    padding: 10px;
}

.dropdown-item {
    color: #bbb;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.dropdown-divider {
    border-top: 1px solid var(--secondary-color);
}

#productTabs .nav-item .nav-link.active {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 0 15px var(--primary-glow);
}

#productTabs .nav-item .nav-link.active:hover {
    color: #ffffff !important;
}

#productTabs .nav-item .nav-link:not(.active) {
    color: #888 !important;
}

#productTabs .nav-item .nav-link:not(.active):hover {
    color: #fff !important;
}

.product-item {
    transition: opacity 0.4s ease-in-out, transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 1;
    transform: translateY(0);
    will-change: opacity, transform;
}

.btn-xs {
    padding: 4px 14px;
    font-size: 11px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
    min-width: 60px;
}

.modal-header-image-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #000;
}

.swiper-pagination-bullet {
    background: #ffffff !important;
    opacity: 0.5 !important;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    opacity: 1 !important;
    width: 25px;
    border-radius: 5px; 
}

.swiper-pagination {
    bottom: 0px !important;
}

.partner-logo {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.6);
    opacity: 0.5;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none; 
}

.partner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    width: 100%;
    text-decoration: none !important;
    transition: transform 0.4s ease;
}

.partner-link:hover .partner-logo {
    filter: grayscale(0%) brightness(1.4) contrast(1.1);
    opacity: 1;
    transform: scale(1.15);
}

.partner-link:hover {
    transform: translateY(-5px);
}

.partner-placeholder {
    height: 60px;
    border: 2px dashed var(--secondary-color);
    border-radius: 12px;
    opacity: 0.4;
}

.partners-section {
    background-color: var(--bg-dark);
}

.tracking-wider {
    letter-spacing: 0.15em;
}

.modal-header-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--card-dark), transparent);
    z-index: 2;
}

#modal-product-full-description {
    line-height: 1.6;
    font-size: 0.95rem;
}

.tracking-wider {
    letter-spacing: 0.1em;
}

.product-card {
    background-color: var(--card-dark) !important;
    border: 1px solid var(--secondary-color) !important;
    color: var(--text-light) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 132, 255, 0.3) !important;
}

.product-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    transform: skewX(-25deg);
    transition: 0.7s;
}

.product-card:hover::after {
    left: 150%;
}

.product-card:hover .product-card-img {
    transform: scale(1.08);
}

.product-card-img {
    transition: transform 0.5s ease;
}

.product-card .card-body {
    background-color: var(--card-dark) !important;
}

.text-muted,
.card-text.text-muted {
    color: var(--brighter-muted) !important;
}

.parallax-header {
    position: relative;
    z-index: 1;
}

.parallax-overlay {
    background: rgba(0, 0, 0, 0.65) !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.parallax-header .container {
    position: relative;
    z-index: 3;
}

.product-card .card-title {
    color: #ffffff !important;
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--secondary-color);
    border-radius: 15px;
    padding: 20px;
    z-index: 10000;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@keyframes pulse-red {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }

    100% {
        transform: scale(1);
    }
}

.badge-animate {
    animation: pulse-red 0.5s ease-in-out;
}

.skeleton {
    background-color: #1a1a1a;
    background-image: linear-gradient(90deg,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0));
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.skeleton-img {
    width: 100%;
    height: 200px;
    border-radius: 10px 10px 0 0;
}

.skeleton-title {
    width: 70%;
    height: 24px;
    margin: 15px 0;
}

.skeleton-text {
    width: 100%;
    height: 14px;
    margin-bottom: 8px;
}

.skeleton-button {
    width: 100px;
    height: 38px;
    border-radius: 50px;
}

#product-grid.is-loading .product-item {
    display: none !important;
}
