

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    max-width: 100%;
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
}

.top-bar {
    background-color: var(--dark-color);
    color: white;
    padding: 5px 0;
    font-size: 0.9rem;
}

.hero-slide {
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 30px;
}

.testimonial-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 50px 0 20px;
}

.footer a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: white;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Стилове за кошницата */
.cart-dropdown {
    min-width: 300px;
    padding: 1rem;
}

.cart-dropdown .dropdown-item {
    padding: 0.5rem 0;
}

.cart-dropdown .dropdown-item:focus,
.cart-dropdown .dropdown-item:hover {
    background-color: transparent;
}

/* Социална лента от дясната страна */
.social-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 10px 0 0 10px;
}

a {
    text-decoration: none !important;
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 12px 10px;
    color: white;
    text-decoration: none;
    border-radius: 5px 0 0 5px;
    transition: all 0.3s ease;
    width: 45px;
    overflow: hidden;
    position: relative;
    margin: 0 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
    width: 140px;
    transform: translateX(-5px);
}

.social-icon span {
    position: absolute;
    left: 15px;
    opacity: 0;
    transition: opacity 0.2s ease 0.1s;
    font-weight: 500;
    white-space: nowrap;
}

.social-icon:hover span {
    opacity: 1;
}

.social-icon i {
    font-size: 20px;
    transition: transform 0.3s ease;
    z-index: 2;
    min-width: 25px;
    text-align: center;
}

.social-icon:hover i {
    transform: scale(1.2);
}

.social-icon.facebook {
    background-color: #3b5998;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon.tiktok {
    background-color: #000000;
}

.social-icon.youtube {
    background-color: #FF0000;
}

.social-icon.linkedin {
    background-color: #0077B5;
}

/* Адаптивност за социалните икони */
@media (max-width: 768px) {
    .social-sidebar {
        bottom: 0;
        top: auto;
        left: 0;
        right: 0;
        flex-direction: row;
        justify-content: center;
        transform: none;
        background-color: rgba(0,0,0,0.8);
        padding: 10px;
        border-radius: 0;
    }

    .social-icon {
        border-radius: 50%;
        width: 45px;
        height: 45px;
        justify-content: center;
        padding: 0;
        margin: 0 5px;
    }

    .social-icon:hover {
        width: 45px;
        height: 45px;
        transform: none;
    }

    .social-icon span {
        display: none;
    }

    .social-icon i {
        font-size: 24px;
    }
}
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(51, 51, 51, 0.95);
    color: white;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.cookie-text {
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #ddd;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-link {
    color: #006ae6;
    text-decoration: none;
    font-weight: 500;
}

.cookie-link:hover {
    text-decoration: underline;
    color: #2078A7;
}

@media (max-width: 768px) {
    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-buttons .btn {
        width: 100%;
    }
}

.class-mobile-close {
    display: none;
}
.action-app-button {
    margin-right: 0.5rem;
}
.navbar-nav .dropdown-menu .dropdown-submenu {
    position: relative;
}

.navbar-nav .dropdown-menu .dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -8px;
    margin-left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

@media (min-width: 992px) {
    .navbar-nav .dropdown-menu .dropdown-submenu:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .navbar-nav .dropdown-menu .dropdown-submenu > .dropdown-toggle::after {
        transform: rotate(-90deg);
        position: absolute;
        right: 10px;
        top: 50%;
        margin-top: -6px;
    }
}
/* Нови стилове за мобилно меню отляво */
@media (max-width: 991.98px) {
    .navbar-nav .dropdown-menu .dropdown-submenu > .dropdown-menu {
        position: static;
        float: none;
        border: none;
        box-shadow: none;
        background-color: rgba(0,0,0,0.05);
        margin-left: 15px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .navbar-nav .dropdown-menu .dropdown-submenu > .dropdown-toggle::after {
        transform: rotate(0deg);
    }
    .class-mobile-close {
        display: block;
    }
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: -100%;
        bottom: 0;
        width: 80%;
        max-width: 300px;
        padding: 0rem 1rem;
        background-color: white;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        z-index: 1050;
        overflow-y: auto;
    }

    .navbar-collapse.show {
        left: 0;
    }

    .navbar-nav {
        margin-top: 0;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid #eee;
    }

    .navbar-nav .dropdown-menu {
        position: static;
        float: none;
        border: none;
        box-shadow: none;
        background-color: #f8f9fa;
        margin-bottom: 1rem;
    }

    .navbar-toggler {
        z-index: 100;
    }

    .navbar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0,0,0,0.5);
        z-index: 1040;
        display: none;
    }

    .navbar-backdrop.show {
        display: block;
    }
    .profile-button{
        margin-top: 1rem;
        width:100%
    }
    .action-app-button{
        margin-top: 1rem;
        width:100%
    }
}
.cart-panel {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: 90%;
    max-width: 400px;
    background-color: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1060;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-panel.show {
    right: 0;
}

.cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1050;
    display: none;
}

.cart-backdrop.show {
    display: block;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.content-section-header {
    background: linear-gradient(90deg,rgba(14, 97, 153, 1) 0%, rgba(1, 128, 255, 1) 67%);
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
}


.subcategories {
    /*margin-bottom: 40px;*/
}

.subcategory-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.subcategory-item:hover {
    background-color: rgba(1, 128, 255, 0.1);
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}

.subcategory-img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.category-description {
    margin-bottom: 40px;
    position: relative;
}

.description-content {
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.description-content.expanded {
    max-height: none;
}

.show-more-btn {
    width: 100%;
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 20px;
    cursor: pointer;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}



.product-grid {
    margin-bottom: 60px;
}

.product-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

@media (max-width: 991.98px) {
    .content-section-header {
        padding: 20px 0;
    }
}



.terms-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding: 40px;
    margin-bottom: 40px;
}

.section-title {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 25px;
    margin-top: 40px;
}

.section-title:first-child {
    margin-top: 0;
}

.product-list {
    list-style-type: none;
    padding-left: 0;
}

.product-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.product-list li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
}

.highlight-box {
    background-color: rgba(1, 128, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .terms-content {
        padding: 20px;
        margin: 0 10px 40px;
    }

    .terms-header {
        padding: 60px 0 40px;
    }
}

.contact-info-card {
    border-radius: 15px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: white;
}

.contact-icon.location {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
}

.contact-icon.phone {
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
}

.contact-icon.email {
    background: linear-gradient(135deg, #006ae6, #6dd5d9);
}

.contact-icon.hours {
    background: linear-gradient(135deg, #ffa726, #ffb74d);
}

.contact-form {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding: 30px;
}

.form-control, .form-select {
    border-radius: 10px;
    padding: 8px 10px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(1, 128, 255, 0.25);
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 5px;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 400px;
}

#contactMap {
    height: 100%;
    width: 100%;
}

.success-message {
    display: none;
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
}

.contact-section {
    margin-bottom: 60px;
}
/* Blog Section Styles */
.blog-section {
    margin-top: 40px;
}

.article-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.article-image-container {
    height: 100%;
    overflow: hidden;
    border-radius: 0.375rem 0 0 0.375rem;
}

.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image {
    transform: scale(1.05);
}

.article-meta .badge {
    font-size: 0.7rem;
}

.blog-sidebar .card {
    border-radius: 10px;
}

.blog-sidebar .card-header {
    border-radius: 10px 10px 0 0 !important;
    font-weight: 600;
}

.blog-sidebar .list-group-item {
    border: none;
    padding: 0.75rem 1.25rem;
    transition: background-color 0.3s;
}

.blog-sidebar .list-group-item:hover {
    background-color: rgba(1, 128, 255, 0.1);
}

.blog-sidebar .list-group-item a {
    color: var(--dark-color);
    transition: color 0.3s;
}

.blog-sidebar .list-group-item:hover a {
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .article-image-container {
        border-radius: 0.375rem 0.375rem 0 0;
        height: 200px;
    }

    .blog-sidebar {
        margin-top: 2rem;
    }
}


/* Article Page Styles */
.article-header {

    background: linear-gradient(90deg,rgba(14, 97, 153, 1) 0%, rgba(1, 128, 255, 1) 67%);
    color: white;
    padding: 30px 0 30px;
}

.article-cover {
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.article-meta {
    color: rgba(255,255,255,0.9);
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h2 {
    color: #333;
    margin: 2.5rem 0 1rem;
    font-weight: 600;
}

.article-content h3 {
    color: #4e54c8;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.article-content blockquote {
    border-left: 4px solid #006ae6;
    background: #f8f9fa;
}

.article-tags .btn {
    border-radius: 20px;
}

.article-actions {
    padding: 1.5rem 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .article-header {
        padding: 60px 0 30px;
    }

    .article-cover {
        height: 250px;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-meta > div {
        margin-bottom: 0.5rem;
    }

    .article-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

.product-gallery-main {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: zoom-in;
}

.product-gallery-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.thumb-item {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumb-item.active {
    border-color: var(--primary-color);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    background: rgba(0,0,0,0.9);
    transform: scale(1.1);
}

.price-section .original-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 1.2rem;
}

.price-section .current-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.discount-badge {
    background: #dc3545;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.product-options .option-group {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.option-label {
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: var(--dark-color);
}

.color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-option.active {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.action-buttons {
    display: flex;
    gap: 5px;
    margin: 2rem 0;
}

.action-buttons button {
}
.navbar-toggler:focus{
    box-shadow: none;
}
.btn-add-to-cart {
    flex: 1;
    background: var(--primary-color);
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-add-to-cart:hover {
    background: var(--secondary-color);
}

.btn-checkout {
    flex: 1;
    background: var(--secondary-color);
    border: none;
    padding: 5px 10px;
    font-weight: 600;
}
.btn-checkout:hover {
    background: var(--primary-color);
}

.product-tabs {
    margin-top: 4rem;
}

.nav-tabs .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 1rem 2rem;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.tab-content {
    padding: 2rem 0;
}

.specs-list {
    list-style: none;
    padding: 0;
}

.specs-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.specs-list li:last-child {
    border-bottom: none;
}

.review-item {
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem 0;
}

.review-item:last-child {
    border-bottom: none;
}

.rating-stars {
    color: #ffc107;
}

/* Fullscreen Gallery */
.gallery-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.gallery-fullscreen.active {
    display: flex;
}

.gallery-fullscreen img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-nav:hover {
    background: rgba(255,255,255,0.3);
}

.gallery-prev {
    left: 30px;
}

.gallery-next {
    right: 30px;
}

.gallery-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .product-gallery-main img {
        height: 300px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn-add-to-cart,
    .btn-checkout {
        flex: none;
        width: 100%;
    }

    .nav-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* --- Mega Menu Styles --- */
.mega-dropdown {
    position: static !important;
}

.mega-dropdown .mega-menu {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    top: 100%;
    border-radius: 0 0 15px 15px;
    margin-top: 0 !important;
    padding: 0;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
    border-top: 2px solid var(--primary-color) !important;
}

@media (min-width: 992px) {
    .mega-dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .mega-dropdown > .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
    }
}

.mega-menu-title {
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.mega-menu-links .sub-links {
    border-color: rgba(0,0,0,0.05) !important;
}

.hover-primary {
    transition: color 0.2s ease;
}
.hover-primary:hover {
    color: var(--primary-color) !important;
}

.mega-link {
    transition: all 0.2s ease;
}
.mega-link:hover {
    color: var(--primary-color) !important;
    transform: translateX(5px);
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}
.btn-view-all:hover .transition-icon {
    transform: translateX(5px);
}

/* Mega Banner Card Styles */
.mega-banner-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 180px;
    display: block;
    text-decoration: none !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

.mega-banner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(1, 128, 255, 0.25);
}

.mega-banner-card .banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: 1;
}

.mega-banner-card:hover .banner-img {
    transform: scale(1.1);
}

.mega-banner-card .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.4) 100%);
    z-index: 2;
    transition: opacity 0.3s ease;
}

.mega-banner-card:hover .banner-overlay {
    background: linear-gradient(to top, rgba(14, 97, 153, 0.9) 0%, rgba(1, 128, 255, 0.6) 100%);
}

.mega-banner-card .banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}

.mega-banner-card .icon-box {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.mega-banner-card:hover .icon-box {
    background: white;
    color: var(--primary-color);
    transform: translateY(-5px);
}

.mega-banner-card .hidden-text {
    opacity: 0.7;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.mega-banner-card:hover .hidden-text {
    opacity: 1;
    max-height: 20px;
    margin-top: 5px;
}

/* --- Modern Buttons --- */
.nav-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--dark-color);
    background: transparent;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
}

.nav-action-btn .icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eef0f2;
    color: var(--dark-color);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.nav-action-btn:hover .icon-wrapper {
    background-color: rgba(1, 128, 255, 0.1);
    color: var(--primary-color);
    border-color: rgba(1, 128, 255, 0.3);
    transform: scale(1.05);
}

.nav-action-btn .cart-badge {
    font-size: 0.65rem;
    padding: 0.35em 0.5em;
    border: 2px solid white;
}

.btn-modern-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color, #0E6199));
    color: white !important;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(1, 128, 255, 0.3) !important;
    background: linear-gradient(135deg, var(--secondary-color, #0E6199), var(--primary-color));
}

@media (max-width: 991.98px) {
    .mega-menu {
        box-shadow: none !important;
        border: none !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .mega-banner-card {
        height: 140px;
    }
    .right-nav-actions {
        margin-top: 1rem;
        justify-content: center;
    }
}
