/* PREMIUM SITE STYLES - CHIC & ELEGANT REVISION */
/* Updated 2026-01-19: Royal Blue Corporate Theme + Red Payment Buttons */
@import url('https://fonts.googleapis.com/css2?family=Tenor+Sans&family=Urbanist:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --font-heading: 'Tenor Sans', sans-serif;
    --font-body: 'Urbanist', sans-serif;

    --primary-color: #0F0F0F;
    --secondary-color: #f7f7f7;

    /* CORPORATE BLUE PALETTE */
    --accent-color: #0056b3;
    /* Royal Blue */
    --accent-hover: #004494;
    --accent-light: #3378c2;
    --accent-glow: rgba(0, 86, 179, 0.5);

    /* RED ACCENT (Only for Payment Actions) */
    --action-red: #E63946;
    --action-red-hover: #D62828;
    --action-red-glow: rgba(230, 57, 70, 0.5);
}

/* GLOBAL FONT RESET */
html,
body,
p,
span,
div,
a,
li,
button,
h1,
h2,
h3,
h4,
h5,
h6,
input,
select,
textarea {
    font-family: var(--font-body);
    /* Default base */
}

h1,
h2,
h3,
h4,
h5,
h6,
.cinematic-title,
.bento-title,
.btn {
    font-family: var(--font-heading) !important;
    text-transform: uppercase;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #1a1a1a;
    font-weight: 300;
}

/* BUTTONS - CHIC STYLE */
.btn {
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 12px 24px;
    border-radius: 0;
}

/* SCROLLBAR STYLING - Minimal */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #d1d1d1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}

/* HEADER REDESIGN - ELITE DARK MODE */
.top-header {
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.user-action-link {
    color: #ccc;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.user-action-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.1);
}

.main-navbar {
    background-color: #1a1a1a;
    border-top: none;
    padding-bottom: 10px;
}

/* NAVBAR LINKS - ELEGANT SPACING */
.navbar-nav .nav-link {
    font-size: 0.9rem !important;
    padding: 0.6rem 1.5rem !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7) !important;
    position: relative;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
}

/* Active State Underline Effect */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 5px;
    left: 50%;
    background-color: #fff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-item.active .nav-link::after {
    width: 30px;
}

/* FOOTER RESTORATION (DARK THEME - MATCHING MENU) */
.site-footer {
    background-color: #212529;
    color: #b0b0b0;
    border-top: 1px solid #2c3034;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.footer-heading {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    letter-spacing: 0.05em;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #222;
    color: #fff;
    border-radius: 50%;
    margin-right: 8px;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background: #fff;
    color: #111;
    transform: translateY(-3px);
}

.newsletter-form .form-control {
    background: #222;
    border: none;
    color: #fff;
}

.newsletter-form .form-control:focus {
    background: #333;
    box-shadow: none;
    color: #fff;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.copyright-text,
.footer-bottom-links a {
    font-size: 0.85rem;
    color: #666;
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* SELECTION COLOR */
::selection {
    background: rgba(0, 86, 179, 0.2);
    color: #fff;
}

.fw-800 {
    font-weight: 800;
}

.text-justify {
    text-align: justify;
}

/* Existing Site CSS Rules (Ported) */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #f0f0f0;
}

.border-bottom {
    border-bottom: 1px solid #f0f0f0;
}

.box-shadow {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

/* PREMIUM MOBILE MENU STYLES */
@media (max-width: 991.98px) {
    .mobile-menu-premium {
        padding-top: 1rem;
        padding-bottom: 2rem;
    }

    .mobile-menu-premium .btn-outline-light {
        border-color: rgba(255, 255, 255, 0.2);
        color: #e0e0e0;
        font-family: var(--font-heading);
        letter-spacing: 0.05em;
        text-transform: uppercase;
        font-size: 0.85rem;
    }

    .mobile-menu-premium .btn-outline-light:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #fff;
        border-color: rgba(255, 255, 255, 0.4);
    }

    .mobile-menu-premium .btn-outline-secondary {
        border-color: rgba(255, 255, 255, 0.1);
        color: #aaa;
    }

    /* PAYMENT BUTTON GLOW - KEEP RED */
    .glow-effect {
        box-shadow: 0 0 10px rgba(230, 57, 70, 0.5);
        animation: glowing 2s infinite;
        font-family: var(--font-heading);
        letter-spacing: 0.1em;
        transition: all 0.3s ease;
        background-color: var(--action-red) !important;
        border-color: var(--action-red) !important;
        color: #fff !important;
    }

    .glow-effect:hover {
        box-shadow: 0 0 20px rgba(230, 57, 70, 0.8);
        background-color: var(--action-red-hover) !important;
        transform: scale(1.02);
    }

    @keyframes glowing {
        0% {
            box-shadow: 0 0 5px rgba(230, 57, 70, 0.5);
        }

        50% {
            box-shadow: 0 0 20px rgba(230, 57, 70, 0.8);
        }

        100% {
            box-shadow: 0 0 5px rgba(230, 57, 70, 0.5);
        }
    }
}

/* HEADER LOGO VISIBILITY FIX */
.navbar-brand img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* ============================================
   ONLINE PAYMENT NAV BUTTON - RED (User Request)
   ============================================ */
.payment-nav-btn {
    background: linear-gradient(135deg, var(--action-red) 0%, var(--action-red-hover) 100%) !important;
    color: #fff !important;
    border-radius: 25px !important;
    padding: 8px 20px !important;
    margin: 5px 0;
    font-weight: 600 !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.8rem !important;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
    transition: all 0.3s ease !important;
    animation: pulseGlowRed 2s infinite;
}

.payment-nav-btn:hover {
    background: linear-gradient(135deg, #ff4d5a 0%, var(--action-red) 100%) !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.6);
}

.payment-nav-btn::after {
    display: none !important;
}

@keyframes pulseGlowRed {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(230, 57, 70, 0.7);
    }
}

/* ============================================
   ELEGANT DROPDOWN MENU - DARK PREMIUM THEME
   ============================================ */
.navbar-nav .dropdown-menu,
.navbar .dropdown-menu {
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    padding: 15px 0 !important;
    min-width: 220px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-nav .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: #1a1a1a;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-nav .dropdown-menu .dropdown-item,
.dropdown-menu .dropdown-item {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 12px 24px !important;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.25s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.navbar-nav .dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:hover {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%) !important;
    color: #fff !important;
    border-left-color: var(--accent-color);
    /* BLUE */
    padding-left: 28px !important;
}

.navbar-nav .dropdown-menu .dropdown-item i,
.dropdown-menu .dropdown-item i {
    margin-right: 10px;
    width: 18px;
    text-align: center;
    opacity: 0.7;
    transition: all 0.25s ease;
}

.navbar-nav .dropdown-menu .dropdown-item:hover i,
.dropdown-menu .dropdown-item:hover i {
    opacity: 1;
    color: var(--accent-color);
    /* BLUE */
}

.navbar-nav .dropdown-menu .dropdown-divider,
.dropdown-menu .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.08) !important;
    margin: 10px 20px;
}

.navbar-nav .dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-header {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 24px;
    font-weight: 600;
}

.navbar-nav .dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item.active {
    background: rgba(0, 86, 179, 0.15) !important;
    color: var(--accent-color) !important;
    border-left-color: var(--accent-color);
}

/* ============================================
   HEADER PAYMENT BUTTON (Top Header Area) - RED
   ============================================ */
.payment-header-btn {
    background: linear-gradient(135deg, var(--action-red) 0%, var(--action-red-hover) 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 10px 24px !important;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
    transition: all 0.3s ease;
    animation: headerPulseRed 2.5s infinite;
}

.payment-header-btn:hover {
    background: linear-gradient(135deg, #ff4d5a 0%, var(--action-red) 100%) !important;
    color: #fff !important;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 25px rgba(230, 57, 70, 0.6);
}

@keyframes headerPulseRed {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(230, 57, 70, 0.7);
    }
}

/* ============================================
   MEGA MENU - DARK PREMIUM THEME
   ============================================ */
.mega-menu-wrapper {
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.mega-menu-wrapper::before {
    background: #1a1a1a !important;
    border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.mega-menu-wrapper::after {
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light), var(--accent-color)) !important;
    /* BLUE */
}

/* Mega Menu Categories */
.mega-cat-list {
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: transparent !important;
}

.mega-cat-list h6 {
    color: rgba(255, 255, 255, 0.5) !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

.mega-cat-item {
    color: rgba(255, 255, 255, 0.85) !important;
    border-left: 3px solid transparent !important;
    /* Force transparent initially */
}

.mega-cat-item::before {
    background: linear-gradient(180deg, var(--accent-color), var(--accent-light)) !important;
    /* BLUE */
}

.mega-cat-item:hover,
.mega-cat-item.active {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%) !important;
    color: #fff !important;
    border-left-color: var(--accent-color) !important;
    /* FORCE BLUE BORDER */
}

.mega-cat-item i {
    color: var(--accent-color) !important;
    /* BLUE */
}

/* Mega Menu Products Panel */
.mega-products-panel h6 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.mega-product-card {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

.mega-product-card:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.mega-product-name {
    color: rgba(255, 255, 255, 0.9) !important;
}

.mega-product-price {
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light)) !important;
    /* BLUE */
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Bayi & Servis Mega Menu Overrides */
.mega-menu-wrapper .row .col-md-6 .p-4 {
    background: transparent !important;
}

.mega-menu-wrapper .row .col-md-6 .p-4 h6 {
    color: #fff !important;
}

.mega-menu-wrapper .row .col-md-6 .p-4 p {
    color: rgba(255, 255, 255, 0.6) !important;
}

.mega-menu-wrapper .hover-bg-light:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}

.mega-menu-wrapper .btn-outline-primary {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: none !important;
}

.mega-menu-wrapper .btn-outline-primary:hover {
    background: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
}

.mega-menu-wrapper .btn-outline-info {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.mega-menu-wrapper .btn-outline-info:hover {
    background: #17a2b8 !important;
    border-color: #17a2b8 !important;
}

.mega-menu-wrapper .text-primary,
.mega-menu-wrapper .text-info {
    color: #fff !important;
}

/* --- NEW CATEGORY BACKGROUND OPTIONS (PREVIEW) --- */

/* --- NEW DIVERSE BACKGROUND OPTIONS (V2) --- */

/* --- PREMIUM DARK CARD DESIGN (ChatGPT Suggestion) --- */
.cat-bg-chatgpt {
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    /* Subtle border */
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    transition: all 0.3s ease !important;
    /* Rim Light Simulation */
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.cat-bg-chatgpt:hover {
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7) !important;
}

/* Inner Glow behind the image */
.cat-bg-chatgpt .aspect-ratio-1x1 {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%) !important;
}

/* Typography Overrides for this style */
.cat-bg-chatgpt h5 {
    color: #ffffff !important;
    letter-spacing: 1px !important;
}

.cat-bg-chatgpt span {
    color: #888 !important;
}

.cat-bg-chatgpt:hover span {
    color: #fff !important;
}

/* ============================================
   SEARCH OVERLAY - PREMIUM GLASSMORPHISM
   ============================================ */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(15px);
    z-index: 2147483647 !important;
    display: none;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-overlay.active {
    display: block;
    opacity: 1;
}

.search-overlay-close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.search-overlay-close-btn:hover {
    transform: rotate(90deg);
    opacity: 1;
}

.search-input {
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 100%;
    max-width: 800px;
    font-size: 2.5rem;
    font-weight: 300;
    padding: 10px 0;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: var(--accent-color);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.search-result-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.search-result-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.result-img {
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #fff;
}

.result-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.search-result-card:hover .result-img img {
    transform: scale(1.1);
}

.result-info {
    padding: 15px;
}

.result-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.result-price {
    color: var(--accent-light);
    font-weight: 700;
}

.result-code {
    color: rgba(255, 255, 255, 0.4);
}

.announcement-result {
    background: linear-gradient(90deg, rgba(0, 86, 179, 0.1), transparent);
}

.result-img-mini {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.result-img-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ls-2 {
    letter-spacing: 0.2em;
}

@media (max-width: 768px) {
    .search-input {
        font-size: 1.5rem;
    }

    .search-overlay-close-btn {
        top: 20px;
        right: 20px;
    }
}