/* assets/css/style.css - Updated with #026a90 theme color */
@font-face {
    font-family: 'Nexa';
    src: url('fonts/Lato.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Nexa-bold';
    src: url('fonts/Lato-bold.ttf') format('truetype');
}


:root {
    --primary-color: #026a90;
    --primary-dark: #015270;
    --primary-light: #0388b8;
    --secondary-color: #f8f9fa;
    --text-dark: #333;
    --text-light: #666;
}

.nexa-bold {
    font-family: 'Nexa-bold', sans-serif;
}

/* Global Styles */
body {
    font-family:  "Nexa", Arial, Helvetica, sans-serif;
    color: var(--text-dark);
    background:#F5F5F5;
}

.bg-main {
    background: var(--primary-color);
}

/* Primary Color Elements */
.btn-primary {
    background: var(--primary-color);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(2, 106, 144, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background: var(--primary-color) !important;
}

/* Product Cards */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    background: white;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(2, 106, 144, 0.1);
}

.product-img {
    height: 200px;
    object-fit: contain;
    padding: 15px;
    /*background: #f8f9fa;*/
    transition: transform 0.3s ease;
}

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

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 0.85rem;
    margin-right: 8px;
}

.price-new {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Category Card Styles */
.category-card {
    background: #F1F1F1;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.05);
    min-height: 8.5vw;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(2, 106, 144, 0.15);
    border-color: var(--primary-light);
}

.category-image-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f5f7fa 0%, #e0e7ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.category-card:hover .category-image-wrapper {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(2, 106, 144, 0.3);
}

.category-img {
    width: 101px;
    height: 101px;
    object-fit: cover;
    border-radius: 50%;
}

.category-name {
    font-family: 'Nexa-bold', sans-serif;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.category-card:hover .category-name {
    color: var(--primary-color);
}

.brand-name {
    font-family: 'Nexa-bold', sans-serif;
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.brand-card:hover .brand-name {
    color: var(--primary-color);
}

/* Navbar Styles */
.navbar-dark.bg-dark {
    background: #1a1a2e !important;
}

.nav-link {
    text-transform: uppercase;
    font-size: 13px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.9);
    transition: 0.3s;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--primary-light);
}

.dropdown-item:hover {
    background: rgba(2, 106, 144, 0.1);
    color: var(--primary-color);
}

.dropdown-item:active {
    background: var(--primary-color);
}

/* Top Header */
.top-header {
    border-bottom: 3px solid var(--primary-color);
}

/* Wishlist Button */
.btn-wishlist {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    transition: 0.2s;
    color: #ccc;
}

.btn-wishlist.active {
    color: #e74c3c;
}

.btn-wishlist:hover {
    color: var(--primary-color);
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.7rem;
}

.responsive-slider {
  height: 500px !important;
}

@media (max-width: 768px) {
  .responsive-slider {
    height: auto !important;
  }
}

/* Slider Styles */
.swiper {
    width: 100%;
    height: 500px;
    border-radius:20px !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: #f5f5f5;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* Category Banner */
.category-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 40px;
    border-radius: 15px;
    color: white;
}

/* Breadcrumb */
.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-light);
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background: #026a90 !important;
}

footer h3, footer h5 {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
}

footer li {
    line-height:40px;
}

footer a:hover {
    color: #fff !important;
}

/* Search Highlight */
mark {
    background: rgba(2, 106, 144, 0.2);
    padding: 0 4px;
    border-radius: 4px;
    color: var(--primary-dark);
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Loading Spinner */
.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .product-img { height: 150px; }
    .swiper { height: 200px; }
    .price-new { font-size: 1rem; }
    .category-image-wrapper {
        width: 70px;
        height: 70px;
    }
    .category-img {
        width: 55px;
        height: 55px;
    }
    .category-name {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .category-image-wrapper {
        width: 60px;
        height: 60px;
    }
    .category-img {
        width: 45px;
        height: 45px;
    }
    .category-name {
        font-size: 0.75rem;
    }
}

/* Form Focus */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(2, 106, 144, 0.25);
}

/* Card Hover Effects */
.card {
    transition: 0.3s;
}

.card:hover {
    box-shadow: 0 10px 25px rgba(2, 106, 144, 0.1);
}

/* Alert Info */
.alert-info {
    background: rgba(2, 106, 144, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-dark);
}

/* Section Titles */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* Newsletter Form */
.newsletter-form .btn-primary {
    background: var(--primary-color);
}

/* Social Icons */
.social-icons a {
    color: white;
    transition: 0.3s;
}

.social-icons a:hover {
    color: var(--primary-light);
    transform: translateY(-3px);
}


/*.articles h2, p {*/
/*    font-weight:bold;*/
/*}*/

.top-menu {
    background: var(--primary-color);
    color: #fff;
    float: left;
    min-height: 38px;
    width: 100% !important;
    padding-top: 6px;
    padding-right: 7.5%;
    padding-left: 7.5%;
    font-size: 90%;
}

.top-menu a {
    color:#fff;
    text-decoration:none;
    margin-right:3px;
    
}

.top-menu a:hover {
    color:var(--secondary-color);
    text-decoration:underline;
    
}

/* Stock Status Badges */
.stock-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.in-stock {
    background: #d4edda;
    color: #155724;
}

.out-of-stock {
    background: #f8d7da;
    color: #721c24;
}

.low-stock {
    background: #fff3cd;
    color: #856404;
}

/* Disabled button style */
.btn-secondary:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Out of stock product card */
.product-card .badge.bg-danger {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}


/* Default (Big device) */
.logo img {
    width: 240px;
    height: 56px;
}

/* Medium device (tablet) */
@media (max-width: 992px) {
    .logo img {
        width: 163px;
        height: 45px;
    }
}

/* Small device (mobile) */
@media (max-width: 576px) {
    .logo img {
        width: 163px;
        height: 45px;
    }
}

.users a {
    text-decoration:none;
}

.users a:hover{
    text-decoration:underline;
}

.shop-now {
    background: var(--primary-color);
    color: #fff;
    border-radius: 30px;
    padding: 3px 12px;
}

/* Brand Card Styles */
.brand-card {
    background: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.05);
}

.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(2, 106, 144, 0.15);
    border-color: #026a90;
}

.brand-image-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}


.brand-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 0;
    border-radius: 50%;
}

.brand-name {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.brand-card:hover .brand-name {
    color: #026a90;
}

@media (max-width: 768px) {
    .brand-image-wrapper {
        width: 70px;
        height: 70px;
    }
    .brand-img {
        width: 55px;
        height: 55px;
    }
    .brand-name {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .brand-image-wrapper {
        width: 60px;
        height: 60px;
    }
    .brand-img {
        width: 45px;
        height: 45px;
    }
    .brand-name {
        font-size: 0.75rem;
    }
}

/* Custom Card Styling */
.feature-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 50px;
    padding: 20px;
    transition: all 0.3s ease;
    height: 100%;
    border:1.5px solid var(--primary-color);
}

.feature-card .fas {
    color:var(--primary-color);
}

/* Optional: Slight shadow on hover to make it interactive */
.feature-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-color: #dee2e6;
}

/* Icon Box Styling */
.icon-box {
    font-size: 32px;
    color: #001f3f;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
}

/* Text adjustments */
.feature-card h6 {
    color: #333;
    font-size: 1rem;
}

.feature-card small {
    font-size: 0.85rem;
    display: block;
}

.product-group {
    position: relative;
    background: #fff;
    border: 1px solid #ccc;
    border-radius:20px !important;
    padding: 30px 15px 15px;
    margin: 20px 0;
}

/* Title style */
.group-title {
    position: absolute;
    top: 0;
    left: 20px;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 20px;
    white-space: nowrap;
}

/* Content */
.group-content {
    padding-top: 10px;
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .group-title {
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }
}

.tab-content {
    background:#fff;
}

/* For desktop devices only (992px is Bootstrap's lg breakpoint) */
@media (min-width: 992px) {
  /* Show dropdown on hover */
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: all 0.2s ease;
  }
  
  /* Optional: Add smooth animation */
  .navbar .dropdown .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    margin-top: 0;
  }
  
  /* Keep dropdown visible when hovering over the menu itself */
  .navbar .dropdown .dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  /* Remove default Bootstrap dropdown toggle click behavior on desktop */
  .navbar .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
  }
}



