/**
 * AAASTORE624V2 - Centralized CSS
 * Modern, clean styles for the e-commerce platform
 */

/* ===== BASE STYLES ===== */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f8f9fa;
    line-height: 1.6;
}

/* ===== SHOPGRIDS HEADER STYLES ===== */
/* Top Bar */
.top-bar {
    background: #f8f9fa;
    color: #333;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid #e0e0e0;
}

.top-bar-left .hotline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left .hotline i {
    width: 16px;
    height: 16px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-end;
}

.currency-selector,
.language-selector {
    min-width: 100px;
}

.currency-selector .form-select,
.language-selector .form-select {
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    font-size: 12px;
    padding: 4px 8px;
}

.currency-selector .form-select option,
.language-selector .form-select option {
    background: #fff;
    color: #333;
}

.user-actions {
    display: flex;
    gap: 10px;
}

.user-actions .btn {
    font-size: 12px;
    padding: 4px 12px;
}

.user-actions .btn-outline-light {
    border-color: #007bff;
    color: #007bff;
}

.user-actions .btn-outline-light:hover {
    background: #007bff;
    color: #fff;
}

/* Main Header */
.main-header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.logo img {
    max-height: 50px;
    width: auto;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.cart-widget {
    position: relative;
}

.cart-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.cart-icon:hover {
    background: #f8f9fa;
    color: #007bff;
}

.cart-count {
    background: #dc3545;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    padding: 15px;
}

.cart-widget:hover .cart-dropdown {
    display: block;
}

.cart-items {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.cart-total {
    border-top: 1px solid #e0e0e0;
    padding-top: 10px;
    margin-bottom: 15px;
}

/* Navigation Menu */
.main-navigation {
    background: #fff;
    padding: 0;
    border-bottom: 1px solid #e0e0e0;
}

.category-menu {
    position: relative;
}

.category-toggle {
    background: #f8f9fa;
    color: #007bff;
    border: none;
    padding: 15px 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 0;
}

.category-toggle:hover {
    background: #e9ecef;
}

.category-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
}

.category-menu:hover .category-dropdown {
    display: block;
}

.category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-list li {
    border-bottom: 1px solid #f0f0f0;
}

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

.category-list a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.category-list a:hover {
    background: #f8f9fa;
    color: #007bff;
}

.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    height: 100%;
}

.main-menu li {
    position: relative;
}

.main-menu .nav-link {
    color: #fff !important;
    padding: 15px 20px;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
    font-weight: 500;
}

.main-menu .nav-link:hover,
.main-menu .nav-link.active {
    background: rgba(255,255,255,0.1);
}

.main-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 200px;
    display: none;
    z-index: 1000;
}

.main-menu li:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #007bff;
}

/* Promotional Banners */
.promotional-banners {
    background: #f8f9fa;
}

.promo-banner {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.promo-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.promo-content h3 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.promo-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.promo-content .btn {
    padding: 10px 25px;
    font-weight: 500;
    border-radius: 25px;
}

/* ===== ICON SYSTEM ===== */
/* Lucide Icon Base Styles */
.lucide {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    stroke: currentColor;
}

.lucide-sm {
    width: 16px;
    height: 16px;
}

.lucide-lg {
    width: 32px;
    height: 32px;
}

.lucide-xl {
    width: 48px;
    height: 48px;
}

/* Legacy icon classes for backwards compatibility */
.icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

.icon-lg {
    width: 32px;
    height: 32px;
}

.icon-muted {
    color: #6c757d;
}

/* ===== NAVIGATION ===== */
.top-banner {
    background: #000;
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
}

.navbar {
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    padding: 0;
}

.navbar-brand img { 
    height: 40px; 
    width: auto;
    max-width: 200px;
}

.navbar-nav .nav-link {
    color: #333 !important;
    padding: 20px 15px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: #007bff !important;
}

.nav-link.active { 
    font-weight: 600;
    color: #007bff !important;
}

/* ===== SEARCH SECTION ===== */
.search-section {
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.search-form {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
}

.search-form .form-control, .search-form .btn {
    text-decoration: none !important;
    border-bottom: none !important;
}

.search-form .form-control {
    border: 2px solid #e0e0e0;
    padding: 10px 20px;
    height: 46px;
    border-radius: 0;
    transition: border-color 0.2s ease;
}

.search-form .form-control:focus {
    border-color: #007bff;
    box-shadow: none;
}

.search-form .btn {
    background: #0d6efd !important;
    border-color: #0d6efd !important;
    color: #fff !important;
    text-decoration: none !important;
    border-bottom: none !important;
    transition: background 0.2s, border-color 0.2s;
}

.search-form .btn:hover {
    background: #0a58ca !important;
    border-color: #0a58ca !important;
    color: #fff !important;
}

/* Search Bar Template Specific Styles */
.search-container {
    position: relative;
}

.search-input {
    border-radius: 0.375rem 0 0 0.375rem;
    border-right: none;
    padding: 0.75rem 1rem;
}

.search-form .btn {
    border-radius: 0 0.375rem 0.375rem 0;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.search-form .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.search-form .btn .lucide-sm {
    width: 18px;
    height: 18px;
}

/* ===== MAIN LAYOUT ===== */
.main-content {
    padding: 15px 0;
    background: #f8f9fa;
}

.page-section {
    background: #fff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 0.375rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.section-header {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

/* ===== GRID LAYOUTS ===== */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}

.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-radius: 10px;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.product-card {
    border: none;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

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

.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

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

.store-card {
    border: none;
    transition: all 0.3s ease;
}

.store-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.card-img-top-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.category-card {
    border: none;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.category-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 150px;
}

.btn {
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #007bff;
}

.breadcrumb-item.active {
    color: #333;
    font-weight: 500;
}

@media (max-width: 576px) {
    .search-form .btn {
        min-width: 60px;
    }
    
    .search-form .btn .btn-text {
        display: none;
    }
    
    .navbar-nav .nav-link {
        padding: 15px 10px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 10px 0;
    }
    
    .page-section {
        padding: 10px;
        margin-bottom: 10px;
    }
}

.text-center { text-align: center; }
.text-muted { color: #6c757d !important; }
.mb-3 { margin-bottom: 1rem; }
.py-5 { padding: 3rem 0; }
.fw-bold { font-weight: 700; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1, transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@media (prefers-color-scheme: dark) {
    body { background: #1a1a1a; color: #fff; }
}

.footer {
    background: #f8f9fa;
    color: #333;
    padding: 40px 0 20px;
    margin-top: 50px;
    border-top: 1px solid #e0e0e0;
}

.footer h4 {
    color: #333;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer .social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer .social-links a {
    color: #333;
    font-size: 20px;
    transition: color 0.3s ease;
}

.footer .social-links a:hover {
    color: #0056b3;
}

.footer .quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .quick-links li {
    margin-bottom: 10px;
}

.footer .quick-links a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .quick-links a:hover {
    color: #0056b3;
}

.footer .newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer .newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #555;
    border-radius: 5px;
    background: #444;
    color: #fff;
}

.footer .newsletter-form button {
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.footer .footer-divider {
    border-top: 1px solid #555;
    margin: 30px 0 20px;
}

.footer .footer-bottom {
    text-align: center;
    color: #666;
    font-size: 14px;
}

.footer .footer-links a {
    color: #007bff;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer .footer-links a:hover {
    color: #0056b3;
}

.product-count {
    font-size: 14px;
    color: #6c757d;
}

.form-select-inline {
    display: inline-block;
    width: auto;
    margin-right: 10px;
}

.stores-section,
.categories-section {
    margin-bottom: 30px;
}

.store-logo {
    max-width: 100px;
    max-height: 60px;
    object-fit: contain;
}

.product-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 200px;
    background: #f8f9fa;
}

.product-info {
    padding: 15px;
}

.price-section .current-price {
    font-size: 18px;
    font-weight: 600;
    color: #007bff;
}

.quick-info {
    font-size: 12px;
    color: #6c757d;
}

.table code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    color: #e83e8c;
}

.text-break {
    word-break: break-word;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.product-tabs {
    margin-top: 30px;
}

.nav-tabs {
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 20px;
}

.nav-tabs .nav-link {
    border: none;
    color: #6c757d;
    padding: 12px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-tabs .nav-link:hover {
    color: #007bff;
    background: transparent;
    border: none;
}

.nav-tabs .nav-link.active {
    color: #007bff;
    background: transparent;
    border: none;
    border-bottom: 2px solid #007bff;
    margin-bottom: -2px;
}

.nav-tabs .nav-link .lucide-sm {
    width: 18px;
    height: 18px;
}

.nav-tabs .nav-link.active .lucide-sm {
    color: #007bff;
}

.tab-content {
    padding: 20px 0;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.description-content {
    line-height: 1.8;
}

.description-text {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.description-text p {
    margin-bottom: 15px;
}

.product-highlights {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.product-highlights h5 {
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-highlights ul li {
    margin-bottom: 8px;
    color: #555;
}

.product-highlights ul li:last-child {
    margin-bottom: 0;
}

/* ===== MODERN SITEMAP STYLES ===== */
.sitemap-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sitemap-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
}

.sitemap-hero .hero-content {
    position: relative;
    z-index: 2;
}

.letter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.letter-btn {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px 16px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.letter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.letter-btn:hover::before {
    left: 100%;
}

.letter-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.5);
    color: #667eea;
    text-decoration: none;
}

.letter-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
    transform: none;
}

.letter-btn .letter-display {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.letter-btn .count-display {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.numbers-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    grid-column: span 2;
}

.numbers-btn:hover {
    color: white;
    background: linear-gradient(135deg, #ee5a52, #ff6b6b);
}

.modern-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.modern-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.modern-card .card-header {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px 20px 0 0 !important;
    padding: 20px 24px 16px;
}

.modern-card .card-body {
    padding: 24px;
}

.quick-access-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 16px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.quick-access-btn:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(102, 126, 234, 0.05));
    border-color: rgba(102, 126, 234, 0.3);
    color: #667eea;
    text-decoration: none;
}

.quick-access-btn i {
    margin-right: 12px;
    width: 20px;
    height: 20px;
}

.gradient-bg-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-bg-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-bg-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gradient-bg-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.stats-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-elements::before,
.floating-elements::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-elements::before {
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.floating-elements::after {
    bottom: -100px;
    left: -100px;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
    border: none;
    margin: 40px 0;
}

@media (max-width: 768px) {
    .letter-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 12px;
    }
    
    .letter-btn {
        padding: 16px 12px;
    }
    
    .letter-btn .letter-display {
        font-size: 20px;
    }
    
    .numbers-btn {
        grid-column: span 1;
    }
}

/* ===== END MODERN SITEMAP STYLES ===== */

/* Remove dark backgrounds from cards and banners */
.promo-banner, .card, .category-card, .store-card {
    background: #fff !important;
    color: #333;
}

/* Remove dark backgrounds from any other section */
body, .main-content, .promotional-banners, .featured-categories {
    background: #f8f9fa !important;
    color: #333;
}

.navbar .social-links i,
.navbar .social-links svg,
.navbar .social-links svg path {
    color: #0d6efd !important;
    stroke: #0d6efd !important;
    fill: #0d6efd !important;
    font-size: 1.25rem;
    vertical-align: middle;
    transition: color 0.2s, stroke 0.2s, fill 0.2s;
}

.navbar .social-links a:hover i,
.navbar .social-links a:hover svg,
.navbar .social-links a:hover svg path {
    color: #0a58ca !important;
    stroke: #0a58ca !important;
    fill: #0a58ca !important;
}

/* Social Media Icons - Enhanced */
.social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-links .social-icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-color: #007bff;
    color: #007bff;
    background: #fff;
}

.social-links .social-icon svg {
    width: 16px;
    height: 16px;
    transition: all 0.3s ease;
}

.social-links .social-icon:hover svg {
    transform: scale(1.05);
}

/* Specific social media colors on hover */
.social-links .social-icon[title="Facebook"]:hover {
    border-color: #1877f2;
    color: #1877f2;
}

.social-links .social-icon[title="Twitter"]:hover {
    border-color: #1da1f2;
    color: #1da1f2;
}

.social-links .social-icon[title="Instagram"]:hover {
    border-color: #e4405f;
    color: #e4405f;
}

.social-links .social-icon[title="LinkedIn"]:hover {
    border-color: #0077b5;
    color: #0077b5;
}

.social-links .social-icon[title="Pinterest"]:hover {
    border-color: #bd081c;
    color: #bd081c;
}

.social-links .social-icon[title="YouTube"]:hover {
    border-color: #ff0000;
    color: #ff0000;
}

.social-links .social-icon[title="TikTok"]:hover {
    border-color: #000000;
    color: #000000;
}

.social-links .social-icon[title="Snapchat"]:hover {
    border-color: #fffc00;
    color: #fffc00;
}

.social-links .social-icon[title="WhatsApp"]:hover {
    border-color: #25d366;
    color: #25d366;
}

.social-links .social-icon[title="Telegram"]:hover {
    border-color: #0088cc;
    color: #0088cc;
}

/* Social Media Icons in Header */
.social-links a {
    color: var(--bs-primary);
    font-size: 1.25rem; /* Increase icon size */
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--bs-dark);
}

/* ===== SIDEBAR STYLES ===== */
/* Remove right padding from sidebar links */
.sidebar .list-group-item {
    padding-right: 0;
}

.sidebar .list-group-item .badge {
    margin-left: auto;
}

/* Ensure proper spacing for sidebar content */
.sidebar .card-body .list-group-item {
    border-right: none;
    padding-right: 0;
}

/* Product Detail Image Styles */
.product-detail-image-container {
    position: relative;
    border-radius: 8px;
    background: #f8f9fa;
    text-align: center;
    padding: 10px;
}

.product-detail-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Product Info Header in Description Tab */
.product-info-header {
    border: 1px solid #e9ecef;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.product-info-header h6 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.product-info-header p {
    font-size: 1rem;
    color: #212529;
    margin-bottom: 0;
}

.product-info-header a {
    color: #007bff;
    transition: color 0.2s ease;
}

.product-info-header a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.product-info-header .fw-bold a {
    font-size: 0.9rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .product-info-header .row > div {
        margin-bottom: 1.5rem;
    }
    
    .product-info-header .row > div:last-child {
        margin-bottom: 0;
    }
    
    .product-info-header h6 {
        font-size: 0.8rem;
    }
    
    .product-info-header p,
    .product-info-header .fw-bold a {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .product-info-header .row > div {
        margin-bottom: 1rem;
    }
    
    .product-info-header h6 {
        font-size: 0.75rem;
    }
    
    .product-info-header p,
    .product-info-header .fw-bold a {
        font-size: 0.8rem;
    }
}
