/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
    overflow-x: hidden;
}

body.mobile-nav-open {
    overflow: hidden;
}

/* ===== HEADER STYLES ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ffffff;
    font-size: 14px;
    padding: 8px 0;
}

.top-bar .contact-info {
    display: flex;
    gap: 20px;
}

.top-bar .contact-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar .contact-info i {
    font-size: 12px;
    opacity: 0.8;
}

.top-bar .social-links {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.top-bar .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.top-bar .social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Main Header */
.main-header {
    background: #ffffff;
    padding: 22px 0;
    border-bottom: 1px solid #f8f9fa;
}

/* Extra spacing between header and first breadcrumb section */
.main-content .breadcrumb {
    margin-top: 24px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    gap: 30px;
}

/* Logo */
.logo {
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 72px;
}

.logo img {
    height: 64px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.header.scrolled .logo img {
    height: 56px;
}

/* Desktop Navigation */
.desktop-navigation {
    flex: 1;
    margin-left: 30px;
}

.desktop-navigation .nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.desktop-navigation .nav-item {
    position: relative;
}

.desktop-navigation .nav-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.desktop-navigation .nav-link:hover {
    color: #3498db;
}

.desktop-navigation .nav-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.desktop-navigation .has-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: #2c3e50;
    transition: all 0.3s ease;
    margin: 3px 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Desktop Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border: none;
    border-radius: 8px;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #e9ecef;
    color: #3498db;
}

/* Desktop Search */
.desktop-search {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e9ecef;
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.desktop-search.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-input-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    height: 50px;
    padding: 0 60px 0 20px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 16px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #3498db;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-submit,
.search-close {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-submit {
    right: 5px;
    background: #3498db;
    color: #ffffff;
}

.search-submit:hover {
    background: #2980b9;
}

.search-close {
    right: 50px;
    color: #6c757d;
}

.search-close:hover {
    background: #f8f9fa;
    color: #2c3e50;
}

/* Main Navigation */
.main-navigation {
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 15px 20px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link:focus {
    color: #3498db;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.has-dropdown.dropdown-open .nav-link i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.has-dropdown.dropdown-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f8f9fa;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #3498db;
    text-decoration: none;
}

.dropdown-divider {
    height: 1px;
    background: #e9ecef;
    margin: 5px 0;
}

/* Mobile Navigation */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 320px;
    height: 100vh;
    background: #ffffff;
    padding: 80px 0 20px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav-overlay.active .mobile-nav-content {
    transform: translateX(0);
}

/* Mobile Search */
.mobile-search {
    padding: 0 20px 20px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.mobile-search-wrapper {
    position: relative;
}

.mobile-search-input {
    width: 100%;
    height: 45px;
    padding: 0 50px 0 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    background: #f8f9fa;
}

.mobile-search-input:focus {
    outline: none;
    border-color: #3498db;
    background: #ffffff;
}

.mobile-search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: #3498db;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    cursor: pointer;
}

/* Mobile Logo */
.mobile-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* Mobile Menu */
.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid #f8f9fa;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: #f8f9fa;
    color: #3498db;
    text-decoration: none;
}

.submenu-toggle {
    color: #6c757d;
    transition: transform 0.3s ease;
}

.has-submenu.submenu-open .submenu-toggle {
    transform: rotate(90deg);
}

.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f8f9fa;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.has-submenu.submenu-open .mobile-submenu {
    max-height: 300px;
}

.mobile-submenu li a {
    display: block;
    padding: 12px 40px;
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mobile-submenu li a:hover {
    background: #e9ecef;
    color: #3498db;
    text-decoration: none;
}

/* Mobile Contact & Social */
.mobile-contact {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    margin-top: 20px;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #6c757d;
    font-size: 14px;
}

.mobile-contact-item i {
    width: 16px;
    color: #3498db;
}

.mobile-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    border-top: 1px solid #e9ecef;
}

.mobile-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    color: #6c757d;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-social a:hover {
    background: #3498db;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-top: var(--header-offset, 140px);
    min-height: calc(100vh - var(--header-offset, 140px));
}

/* Push content down when desktop search is open to avoid overlap */
body.search-open .main-content {
    margin-top: calc(var(--header-offset, 140px) + 90px);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Hide desktop elements on mobile */
@media (max-width: 991px) {
    .top-bar {
        display: none;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .desktop-nav {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    .header .container,
    .main-header .container,
    .top-bar .container,
    .main-content .container {
        max-width: 100%;
        width: 100%;
        padding: 0 12px;
    }
    .header-content { gap: 12px; width: 100%; flex-wrap: nowrap; }
    .header-content > * { min-width: 0; }
    .logo { flex: 1 1 auto; min-width: 0; }
    .logo a { max-width: calc(100% - 52px); }
    .logo img { max-width: 100%; height: auto; }
    .mobile-menu-toggle { flex-shrink: 0; }
    
    .main-content {
        margin-top: var(--header-offset, 75px);
    }

    body.search-open .main-content {
        margin-top: calc(var(--header-offset, 75px) + 65px);
    }
}
    
    .main-header {
        padding: 16px 0;
    }
    
    .logo img {
        height: 48px;
    }
}

/* Hide mobile elements on desktop */
@media (min-width: 992px) {
    .mobile-nav-overlay,
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .top-bar .contact-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .top-bar .social-links {
        margin-top: 10px;
    }
    
    .mobile-nav-content {
        width: 280px;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .mobile-nav-content {
        width: 100%;
    }
    
    .logo img {
        height: 42px;
    }
    
    .main-header {
        padding: 10px 0;
    }
    
    .main-content {
        margin-top: 65px;
    }
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Rich text single-line snippet for lists */
.rtx-snippet {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.row {
    margin: 0 -15px;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

.col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

.col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
    
    padding: 0 15px;
}

@media (max-width: 768px) {
    .container { max-width: 100%; width: 100%; padding: 0 12px; }
}

@media (max-width: 576px) {
    .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ===== ADDITIONAL COMPONENTS ===== */

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #ffffff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    color: #ffffff;
    text-decoration: none;
}

/* Ensure jQuery fadeIn sets flex for centering */
.back-to-top[style*="display: inline"],
.back-to-top[style*="display: block"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ffffff;
    padding: 30px 0 12px;
    margin-top: 40px;
}

.footer-top {
    margin-bottom: 16px;
}

.footer-widget {
    margin-bottom: 16px;
}

.footer-widget h5 {
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 600;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 8px;
}

.footer-widget p {
    color: #bdc3c7;
    line-height: 1.5;
    margin-bottom: 8px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
    text-decoration: none;
}

.footer .contact-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.footer-contact-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
    justify-content: flex-start;
}
.footer-contact-inline p:first-child {
    flex: 0 0 100%;
}
.footer-contact-inline p:not(:first-child) {
    flex: 1 1 auto;
    min-width: 220px;
}
.footer-contact-inline .addr-text {
    white-space: normal;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    text-overflow: clip;
}

.footer .contact-info i {
    width: 16px;
    color: #3498db;
}

.footer .social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    background: #3498db;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 12px;
    text-align: center;
}

.footer-bottom p {
    color: #bdc3c7;
    margin: 0;
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer {
        padding: 20px 0 10px;
        margin-top: 30px;
    }
    .footer-top { margin-bottom: 12px; }
    .footer-widget { margin-bottom: 12px; }
    .footer-widget h5 { margin-bottom: 10px; }
    .footer .contact-info p { margin-bottom: 5px; }
    .footer-contact-inline { gap: 10px; }
    .footer-bottom .row {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom .col-md-6:last-child {
        margin-top: 8px
    }
}

/* ===== FORM ELEMENTS ===== */
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.btn-outline-primary {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-outline-primary:hover {
    background: #3498db;
    color: #ffffff;
    text-decoration: none;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-down {
    animation: fadeInDown 0.6s ease forwards;
}

.absolute-cover { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.cover-parent { position: relative; }

/* ===== PAGE HERO (matches home hero style) ===== */
.page-hero {
    position: relative;
    background: radial-gradient(1200px 600px at 10% 20%, rgba(34,211,238,0.20) 0%, rgba(168,85,247,0.18) 35%, transparent 70%),
                linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 55px 0 60px;
    overflow: visible;
    z-index: 10;
    margin-top: var(--header-offset, 0px);
}
.page-hero .container { max-width: 100%; position: relative; }
.page-hero::before,
.page-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
}
.page-hero::before { width: 320px; height: 320px; background: #22d3ee; top: -60px; right: -60px; }
.page-hero::after  { width: 260px; height: 260px; background: #a855f7; bottom: -80px; left: -80px; }
.page-hero h1, .page-hero .lead { color: rgba(255,255,255,0.95); }
.page-hero + .container { margin-top: 24px; }

.hero-view-options { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; z-index: 2; justify-content: flex-end; }
.hero-view-options .btn { position: relative; background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.92); border: 1px solid rgba(255,255,255,0.35); backdrop-filter: blur(6px); overflow: visible; }
.hero-view-options .btn:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.6); color: #fff; }
.hero-view-options .btn.active { background: #22d3ee; border-color: #22d3ee; color: #0f172a; }
.hero-view-options .btn .btn-tooltip { position: absolute; right: 0; bottom: calc(100% + 8px); background: rgba(15,23,42,0.95); color: #fff; padding: 6px 10px; border-radius: 6px; font-size: 0.85rem; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,0.35); opacity: 0; visibility: hidden; pointer-events: none; }
.hero-view-options .btn:hover .btn-tooltip { opacity: 1; visibility: visible; }
.hero-view-options .btn .btn-tooltip::before { content: ""; position: absolute; right: 10px; bottom: -4px; width: 8px; height: 8px; background: rgba(15,23,42,0.95); transform: rotate(45deg); }
.page-hero .hero-col-left { position: relative; }
.hero-dropdown { position: relative; margin-top: 8px; display: flex; justify-content: flex-start; z-index: 9999; }
.hero-dropdown .dropdown-toggle-btn { position:relative; display:inline-flex; align-items:center; gap:8px; background: linear-gradient(135deg, rgba(34,211,238,0.25) 0%, rgba(168,85,247,0.25) 100%); color: #ffffff; border: 1px solid rgba(255,255,255,0.45); backdrop-filter: blur(6px); padding:10px 14px; border-radius:10px; cursor:pointer; box-shadow: 0 8px 24px rgba(0,0,0,0.25); z-index:10000; font-weight:600; }
.hero-dropdown .dropdown-toggle-btn i { transition: transform .2s ease; }
.hero-dropdown.open .dropdown-toggle-btn i { transform: rotate(180deg); }
.hero-dropdown .dropdown-toggle-btn:hover, .hero-dropdown .dropdown-toggle-btn:focus { background: linear-gradient(135deg, rgba(34,211,238,0.35) 0%, rgba(168,85,247,0.35) 100%); border-color: rgba(255,255,255,0.7); outline:none; }
.hero-dropdown .dropdown-menu { position:absolute; left:0; right:auto; top: calc(100% + 8px); background: rgba(15,23,42,0.98); color:#fff; border-radius:12px; box-shadow: 0 16px 40px rgba(0,0,0,0.45); padding:12px; min-width:260px; display:block; opacity:0; visibility:hidden; transform: translateY(6px); transition: all .2s ease; z-index: 10001; }
.hero-dropdown.open .dropdown-menu { opacity:1; visibility:visible; transform: translateY(0); }
.hero-dropdown .dropdown-category-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px; }
.hero-dropdown .dropdown-category-list a { display:block; padding:8px 10px; border-radius:8px; text-decoration:none; color:#e5e7eb; transition:all .2s ease; }
.hero-dropdown .dropdown-category-list li.active a, .hero-dropdown .dropdown-category-list a:hover { background: rgba(34,211,238,0.25); color:#ffffff; }
@media (max-width: 480px) { .hero-dropdown .dropdown-menu { min-width: 80vw; } }
.dropdown-portal { position: fixed !important; transform: none !important; opacity: 1 !important; visibility: visible !important; }
.filters-bar { background:#fff; border-radius:10px; box-shadow:0 5px 15px rgba(0,0,0,0.08); padding: 16px 20px; margin-bottom: 24px; display:flex; flex-wrap:wrap; gap:16px; align-items:center; }
.filters-bar .filters-group { display:flex; align-items:center; gap:12px; }
.filters-bar .filters-title { margin:0; font-weight:600; color:#2c3e50; }
.filters-bar .category-list.inline,
.filters-bar .brand-list.inline { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:8px; }
.filters-bar .category-list.inline li,
.filters-bar .brand-list.inline li { margin:0; }
.filters-bar .category-list.inline a,
.filters-bar .brand-list.inline a { display:inline-block; padding:6px 10px; border-radius:6px; color:#666; text-decoration:none; transition:all .2s; background:#f8f9fa; }
.filters-bar .category-list.inline li.active a { color:#c9d93a; font-weight:600; background:#eef3d6; }
.filters-bar .category-list.inline a:hover,
.filters-bar .brand-list.inline a:hover { color:#c9d93a; background:#eef3d6; text-decoration:none; }
@media (max-width: 768px) {
  .filters-bar { padding:12px 12px; gap:12px; }
.filters-bar .filters-title { display:none; }
}

.products-grid .row { align-items: stretch; margin: -10px; }
.products-grid .row > [class*='col-'] { display: flex; padding: 10px; }
@media (min-width: 1400px) { .products-grid .col-lg-4 { width: 25%; } }
@media (min-width: 992px) and (max-width: 1399px) { .products-grid .col-lg-4 { width: 33.3333%; } }
@media (max-width: 991px) { .products-grid .col-md-6 { width: 50%; } }
@media (max-width: 575px) { .products-grid .col-lg-4, .products-grid .col-md-6 { width: 100%; } }

.product-card { background:#fff; border-radius:12px; box-shadow:0 6px 18px rgba(0,0,0,0.08); overflow:hidden; transition:transform .2s ease, box-shadow .2s ease; display:flex; flex-direction:column; width:100%; height:100%; min-height:380px; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.12); }
.product-image { position:relative; height:220px; background:#f8f9fa; border-bottom:1px solid #eee; }
.product-image img { width:100%; height:100%; object-fit:cover; }
@media (min-width: 1400px) { .product-image { height:240px; } }
@media (max-width: 991px) { .product-image { height:200px; } }
@media (max-width: 575px) { .product-image { height:160px; } }
.no-image { height:220px; }
.product-badge { position:absolute; top:12px; right:12px; background:#c9d93a; color:#2c3e50; padding:4px 10px; border-radius:16px; font-size:.8rem; font-weight:600; }
.product-info { padding:16px; display:flex; flex-direction:column; gap:8px; flex:1; }
.product-title { font-size:1.05rem; font-weight:600; margin:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.product-title a { text-decoration:none; color:#2c3e50; transition:color .2s ease; }
.product-title a:hover { color:#3498db; }
.product-description { color:#6b7280; }
.product-category { font-size:.9rem; color:#6c757d; }
.product-actions { margin-top:auto; }
.product-actions .btn { width:100%; }

/* list-view styles are defined in Product/Index.cshtml for now */
