/* ============================================
   Laboni Paver - Premium Modern UI Theme
   Inspired by Roma Tiles Style
   Color Scheme: Primary Blue #0044a9
   ============================================ */

/* ============================================
   CSS Variables - Color Scheme
   ============================================ */
:root {
    /* Primary Colors - Roma Blue */
    --primary: #0044a9;
    --primary-dark: #003380;
    --primary-light: #1a5fc9;
    
    /* Secondary Colors */
    --secondary: #6c757d;
    
    /* Accent Colors - Gold */
    --accent: #c9a227;
    --accent-dark: #a8871f;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f1f1;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --dark: #1a1a1a;
    
    /* Success, Warning, Danger */
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    
    /* Text Colors */
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    
    /* Spacing */
    --header-height: 80px;
    --transition: 0.3s ease;
}

/* ============================================
   Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

/* ============================================
   Typography
   ============================================ */
.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-white { color: var(--white) !important; }

.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.fw-900 { font-weight: 900; }

/* ============================================
   Buttons
   ============================================ */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    border-radius: 0;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-outline-secondary {
    background-color: transparent;
    color: var(--gray-600);
    border: 2px solid var(--gray-300);
}

.btn-outline-secondary:hover {
    background-color: var(--gray-100);
    border-color: var(--gray-400);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-search {
    background: transparent;
    border: none;
    color: var(--gray-600);
    padding: 0.5rem;
}

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

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
}

/* ============================================
   Header Top Bar
   ============================================ */
.header-top-bar {
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.8125rem;
    padding: 0.5rem 0;
}

.header-top-bar a {
    color: var(--white);
}

.header-top-bar a:hover {
    color: var(--gray-200);
}

.hotline-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tagline-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
    font-style: italic;
}

.header-divider {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.3);
}

.social-icons {
    display: flex;
    gap: 0.25rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--accent);
    color: var(--white);
}

.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--danger);
    color: var(--white);
    font-size: 0.625rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   Main Header
   ============================================ */
.main-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.main-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.main-header .navbar {
    padding: 0;
}

.main-header .navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary) !important;
    text-decoration: none;
}

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

.brand-text {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-header .nav-link {
    color: var(--gray-800) !important;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 1.25rem 1rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition);
}

.main-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.main-header .nav-link:hover::after,
.main-header .nav-link.active::after {
    width: 100%;
}

.main-header .nav-link:hover,
.main-header .nav-link.active {
    color: var(--primary) !important;
}

.main-header .dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 0.5rem 0;
    margin-top: 0;
}

.main-header .dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.875rem;
    transition: var(--transition);
}

.main-header .dropdown-item:hover {
    background: var(--primary);
    color: var(--white);
}

.main-header .navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.main-header .navbar-toggler:focus {
    box-shadow: none;
}

/* ============================================
   Mobile Header
   ============================================ */
.mobile-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 999;
}

.mobile-header .navbar-brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary) !important;
}

.mobile-header .nav-link {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-800) !important;
    font-weight: 500;
}

.mobile-header .nav-link:hover {
    background: var(--gray-50);
    color: var(--primary) !important;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark) 0%, #2a2a2a 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,68,169,0.9) 0%, rgba(0,68,169,0.7) 50%, rgba(0,68,169,0.4) 100%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 600px;
}

.hero-content .hero-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 1rem;
}

.hero-content .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content .hero-title span {
    color: var(--accent);
}

.hero-content .hero-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-image {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-image img {
    max-height: 500px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

/* ============================================
   Section Common Styles
   ============================================ */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title-row h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

/* Color boxes decoration */
.color-boxes {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.color-box {
    width: 20px;
    height: 4px;
}

.color-box-1 {
    background: var(--primary);
}

.color-box-2 {
    background: var(--accent);
}

/* ============================================
   Featured Categories
   ============================================ */
.featured-categories-section {
    padding: 5rem 0;
    background: var(--white);
}

.featured-category-main {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}

.featured-category-main a {
    display: block;
    height: 100%;
}

.featured-category-main .category-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-category-main:hover .category-image {
    transform: scale(1.05);
}

.featured-category-main .category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.featured-category-main .category-title {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.featured-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    height: 100%;
}

.featured-category-item {
    position: relative;
    overflow: hidden;
    height: calc(50% - 0.5rem);
}

.featured-category-item a {
    display: block;
    height: 100%;
}

.featured-category-item .category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-category-item:hover .category-image {
    transform: scale(1.05);
}

.featured-category-item .category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.featured-category-item .category-title {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* Category Cards - Simple Version */
.category-card-simple {
    transition: transform 0.3s ease;
}

.category-card-simple:hover {
    transform: scale(1.02);
}

.category-card-simple .category-overlay-simple {
    background: linear-gradient(to top, rgba(0,68,169,0.9) 0%, rgba(0,68,169,0.3) 50%, transparent 100%);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.category-card-simple:hover .category-overlay-simple {
    opacity: 1;
}

.category-card-simple .category-img-wrapper img {
    transition: transform 0.5s ease;
}

.category-card-simple:hover .category-img-wrapper img {
    transform: scale(1.05);
}

.bg-gradient-dark {
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 70%, transparent 100%);
}

/* Category Cards */
.category-card {
    position: relative;
    overflow: hidden;
    display: block;
}

.category-card .category-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.category-card:hover .category-image {
    transform: scale(1.08);
}

.category-card .category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,68,169,0.9) 0%, rgba(0,68,169,0.3) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

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

.category-card .category-name {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.category-card .category-count {
    color: rgba(255,255,255,0.8);
    font-size: 0.8125rem;
}

.category-card .btn {
    margin-top: 1rem;
    align-self: flex-start;
}

/* ============================================
   Products Section
   ============================================ */
.products-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

.product-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

.product-card .product-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--gray-100);
}

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

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

.product-card .product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--danger);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card .product-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-card .product-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    color: var(--gray-800);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.product-card .product-action-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.product-card .product-quick-view {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    text-align: center;
    padding: 0.75rem;
    transform: translateY(100%);
    transition: var(--transition);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card:hover .product-quick-view {
    transform: translateY(0);
}

.product-card .product-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card .product-category {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-card .product-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .product-title a {
    color: inherit;
}

.product-card .product-title a:hover {
    color: var(--primary);
}

.product-card .product-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: auto;
}

.product-card .product-price .old-price {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 0.5rem;
    font-weight: 400;
}

.product-card .product-footer {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}

.product-card .product-footer .btn {
    flex: 1;
}

/* Trending Product Card */
.trending-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-200);
}

@media (min-width: 768px) {
    .trending-card {
        flex-direction: row;
        min-height: 220px;
    }
}

.trending-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.trending-card .trending-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .trending-card .trending-image {
        width: 280px;
        height: auto;
        min-height: 220px;
    }
}

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

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

.trending-card .trending-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.trending-card .trending-category {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.trending-card .trending-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.trending-card .trending-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.trending-card .trending-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.trending-card .trending-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

/* ============================================
   Why Choose Us Section
   ============================================ */
.why-section {
    padding: 5rem 0;
    background: var(--dark);
    color: var(--white);
}

.why-section .section-header h2 {
    color: var(--white);
}

.why-section .section-header p {
    color: rgba(255,255,255,0.7);
}

.why-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    transition: var(--transition);
    height: 100%;
}

.why-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,68,169,0.3);
    border-radius: 50%;
}

.why-icon i {
    font-size: 2rem;
    color: var(--accent);
}

.why-card h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.why-card p {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   Promo Banner Section
   ============================================ */
.promo-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.promo-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.promo-section h2 span {
    color: var(--accent);
}

.promo-section p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.testimonial-rating {
    color: var(--accent);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.testimonial-location {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ============================================
   Newsletter Section
   ============================================ */
.newsletter-section {
    padding: 4rem 0;
    background: var(--primary);
    color: var(--white);
}

.newsletter-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.newsletter-section p {
    opacity: 0.9;
    margin-bottom: 0;
    font-size: 0.9375rem;
}

.newsletter-form {
    display: flex;
    gap: 0;
}

.newsletter-form .form-control {
    border: none;
    border-radius: 0;
    padding: 0.875rem 1.25rem;
    font-size: 0.9375rem;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
}

.newsletter-form .btn {
    border-radius: 0;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form .btn {
        width: 100%;
    }
}

/* ============================================
   Brands Section
   ============================================ */
.brands-section {
    padding: 3rem 0;
    background: var(--white);
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0.5;
    transition: var(--transition);
}

.brand-item:hover {
    opacity: 1;
}

.brand-item img {
    max-height: 50px;
    filter: grayscale(100%);
    transition: var(--transition);
}

.brand-item:hover img {
    filter: grayscale(0%);
}

/* ============================================
   Footer
   ============================================ */
.main-footer {
    background: var(--dark);
    color: var(--white);
}

.footer-top {
    padding: 4rem 0 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social .social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

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

.footer-contact li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
}

.footer-contact li i {
    color: var(--accent);
    font-size: 1rem;
    margin-top: 3px;
}

.footer-contact li span {
    flex: 1;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.2);
}

.copyright-text {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.6);
}

.developer-text {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.6);
}

.developer-text a {
    color: var(--accent);
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0,68,169,0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
}

/* ============================================
   Cart Sidebar
   ============================================ */
.sidebar-cart {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    z-index: 9999;
    transition: right 0.3s ease;
    box-shadow: -5px 0 30px rgba(0,0,0,0.2);
}

.sidebar-cart.active {
    right: 0;
}

.sidebar-cart-curtain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.sidebar-cart-curtain.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   Product Detail Page
   ============================================ */
.product-detail-section {
    padding: 3rem 0;
}

.product-gallery {
    position: relative;
}

.product-main-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    background: var(--gray-100);
}

.product-thumbnails {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: var(--primary);
}

.product-info {
    padding: 1.5rem 0;
}

.product-info .product-category {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info .product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.product-info .product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.product-info .product-price .old-price {
    font-size: 1.25rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 1rem;
    font-weight: 400;
}

.product-info .product-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.product-meta {
    margin-bottom: 2rem;
}

.product-meta-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.product-meta-item .label {
    font-weight: 600;
    color: var(--gray-700);
    min-width: 100px;
}

.product-meta-item .value {
    color: var(--text-secondary);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quantity-selector .qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-300);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-selector .qty-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.quantity-selector .qty-input {
    width: 80px;
    height: 40px;
    border: 1px solid var(--gray-300);
    text-align: center;
    font-weight: 600;
}

/* Product Tabs */
.product-tabs {
    margin-top: 3rem;
}

.product-tabs .nav-tabs {
    border-bottom: 2px solid var(--gray-200);
}

.product-tabs .nav-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.product-tabs .nav-tabs .nav-link:hover,
.product-tabs .nav-tabs .nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

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

/* Specifications Table */
.specifications-table {
    width: 100%;
    border-collapse: collapse;
}

.specifications-table th,
.specifications-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-100);
    text-align: left;
}

.specifications-table th {
    width: 200px;
    font-weight: 600;
    color: var(--gray-700);
    background: var(--gray-50);
}

/* ============================================
   Cart Page
   ============================================ */
.cart-page {
    padding: 3rem 0;
}

.cart-table {
    width: 100%;
}

.cart-table th,
.cart-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
}

.cart-table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-700);
    text-transform: uppercase;
    font-size: 0.8125rem;
    letter-spacing: 0.5px;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    background: var(--gray-100);
}

.cart-product-info h6 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-product-info p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}

.cart-summary-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 4px;
}

.cart-summary-card h4 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.cart-summary-row.total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    border: none;
    padding-top: 1rem;
}

/* ============================================
   Category Page
   ============================================ */
.category-page {
    padding: 3rem 0;
}

.filter-sidebar {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
}

.filter-sidebar h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary);
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group h6 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.filter-group .form-check {
    margin-bottom: 0.5rem;
}

.filter-group .form-check-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ============================================
   Contact Page
   ============================================ */
.contact-page {
    padding: 3rem 0;
}

.contact-info-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.contact-info-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-info-card .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,68,169,0.1);
    border-radius: 50%;
}

.contact-info-card .icon i {
    font-size: 1.75rem;
    color: var(--primary);
}

.contact-info-card h5 {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.contact-info-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9375rem;
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 2.5rem;
}

.contact-form h4 {
    font-weight: 700;
    margin-bottom: 2rem;
}

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb-wrapper {
    background: var(--gray-50);
    padding: 1rem 0;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
}

.breadcrumb-item a {
    color: var(--text-muted);
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

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

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--text-muted);
}

/* ============================================
   Forms
   ============================================ */
.form-control {
    border: 1px solid var(--gray-300);
    border-radius: 0;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: none;
}

.form-label {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

/* ============================================
   Utilities
   ============================================ */
.bg-light { background-color: var(--gray-50) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-dark { background-color: var(--dark) !important; }
.bg-white { background-color: var(--white) !important; }

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

.shadow-sm { box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important; }
.shadow { box-shadow: 0 5px 20px rgba(0,0,0,0.1) !important; }
.shadow-lg { box-shadow: 0 10px 40px rgba(0,0,0,0.12) !important; }

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 991px) {
    section {
        padding: 3.5rem 0;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .featured-category-main .category-image {
        min-height: 300px;
    }
    
    .featured-category-grid {
        height: auto;
    }
    
    .featured-category-item {
        height: 200px;
    }
    
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-image {
        display: none;
    }
    
    .product-card .product-image-wrapper {
        height: 180px;
    }
}

@media (max-width: 767px) {
    section {
        padding: 3rem 0;
    }
    
    .section-header h2 {
        font-size: 1.25rem;
    }
    
    .section-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .section-title-row h2 {
        font-size: 1.25rem;
    }
    
    .featured-category-main .category-image {
        min-height: 250px;
    }
    
    .featured-category-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-category-item {
        height: 180px;
    }
    
    .product-card .product-image-wrapper {
        height: 160px;
    }
    
    .trending-card {
        flex-direction: column;
    }
    
    .trending-card .trending-image {
        width: 100%;
        height: 180px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .product-info .product-title {
        font-size: 1.5rem;
    }
    
    .product-info .product-price {
        font-size: 1.5rem;
    }
    
    .product-main-image {
        height: 300px;
    }
    
    .sidebar-cart {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 575px) {
    .header-top-bar {
        font-size: 0.75rem;
    }
    
    .tagline-text {
        display: none;
    }
    
    .product-card .product-image-wrapper {
        height: 140px;
    }
    
    .product-card .product-content {
        padding: 1rem;
    }
    
    .product-card .product-title {
        font-size: 0.875rem;
    }
    
    .product-card .product-price {
        font-size: 1rem;
    }
    
    .footer-top {
        padding: 3rem 0 1.5rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease;
}

.animate-slideUp {
    animation: slideUp 0.6s ease;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* ============================================
   Image Utilities
   ============================================ */
.img-cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.img-contain {
    object-fit: contain;
    width: 100%;
    height: 100%;
}
