/* MaxWorld.com - Main Stylesheet */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

* {
    min-width: 0;
}

:root {
    /* Max World Color Palette */
    --primary-blue: #003366;
    --secondary-blue: #0055a5;
    --accent-orange: #ff6600;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #495057;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: Arial, sans-serif;
    
    /* Spacing - Mobile first */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Responsive Typography */
h1 { font-size: clamp(1.5rem, 5vw, 3rem); line-height: 1.2; }
h2 { font-size: clamp(1.3rem, 4vw, 2.2rem); line-height: 1.3; }
h3 { font-size: clamp(1.1rem, 3vw, 1.8rem); line-height: 1.4; }
h4 { font-size: clamp(1rem, 2.5vw, 1.5rem); }
h5 { font-size: clamp(0.9rem, 2vw, 1.2rem); }
h6 { font-size: clamp(0.85rem, 1.5vw, 1rem); }

p { font-size: clamp(0.9rem, 1vw, 1rem); }
small { font-size: clamp(0.75rem, 0.9vw, 0.9rem); }

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    box-sizing: border-box;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

/* Margin Utilities - Mobile first */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

/* Padding Utilities */
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* Display Utilities */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-inline-block { display: inline-block; }

/* Responsive Images */
img, picture, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Touch-friendly targets (minimum 48px on mobile) */
button, a, input[type="button"], input[type="submit"], .btn {
    min-height: 48px;
    min-width: 48px;
}

/* Button Styles - Enhanced for all devices */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: clamp(0.85rem, 1vw, 1rem);
    gap: 8px;
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--white);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #e55a00;
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: var(--secondary-blue);
    color: var(--white);
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: #004488;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover, .btn-outline:focus {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-login {
    background-color: transparent;
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
    padding: 8px 20px;
}

.btn-register {
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 8px 20px;
}

.btn-search {
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 12px 30px;
    font-weight: bold;
    border: none;
    border-radius: 0 4px 4px 0;
}

/* Mobile-friendly button sizes */
@media (max-width: 480px) {
    .btn {
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    button, a, input[type="button"], input[type="submit"] {
        min-height: 44px;
        min-width: 44px;
    }
}


/* Grid System - Mobile first */
.grid {
    display: grid;
    gap: 20px;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

/* Responsive Grid System */
/* Small devices (576px and up) */
@media (min-width: 576px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
}

/* Large devices (992px and up) */
@media (min-width: 992px) {
    .container {
        padding: 0 30px;
    }
    
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Extra large devices (1200px and up) */
@media (min-width: 1200px) {
    .container {
        padding: 0 40px;
    }
}

/* Flex utilities */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-column { flex-direction: column; }
.flex-center { align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* Visibility Utilities */
@media (max-width: 767px) {
    .hide-mobile { display: none !important; }
}

@media (min-width: 768px) {
    .show-mobile-only { display: none !important; }
}

/* Vertical align helpers */
.align-top { align-items: flex-start; }
.align-middle { align-items: center; }
.align-bottom { align-items: flex-end; }

/* Overflow utilities */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-auto { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Scrollbar improvement for mobile */
@supports (scrollbar-gutter: stable) {
    html {
        scrollbar-gutter: stable;
    }
}

/* Improve input elements on mobile */
input, textarea, select {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 12px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-family: inherit;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(0, 85, 165, 0.1);
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible for better keyboard navigation */
:focus-visible {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}


@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Loading States */
.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
    font-style: italic;
}

.error {
    color: var(--danger);
    padding: 20px;
    text-align: center;
    border: 1px solid #f8d7da;
    background-color: #f8d7da;
    border-radius: 4px;
}

/* Section Spacing */
section {
    padding: 60px 0;
}

section:nth-child(even) {
    background-color: var(--light-gray);
}

/* Enhanced Mobile Responsive Scaling */
@media (max-width: 1200px) {
    section { padding: 48px 0; }
    .container { padding: 0 1rem; }
    .header-row,
    .review-content,
    .categories-row,
    .hero-grid,
    .logistics-grid,
    .reviews-container,
    .visits-grid,
    .promos-grid,
    .recommended-grid,
    .features-grid,
    .latest-grid,
    .footer-grid {
        width: 100%;
        max-width: 100%;
    }
    .hero-grid,
    .logistics-grid,
    .reviews-container,
    .visits-grid,
    .promos-grid,
    .recommended-grid,
    .features-grid,
    .latest-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .categories-row {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
}

@media (max-width: 992px) {
    section { padding: 40px 0; }
}

@media (max-width: 768px) {
    section { padding: 28px 0; }
    .header-row {
        flex-direction: column;
        align-items: stretch;
    }
    .header-left,
    .header-center,
    .header-right {
        width: 100%;
        justify-content: space-between;
    }
    .header-center {
        order: 2;
    }
    .header-right {
        justify-content: flex-end;
    }
    .search-wrapper {
        max-width: 100%;
    }
    .categories-row {
        padding: 10px 0;
        gap: 12px;
    }
    .cat {
        min-width: 90px;
    }
}

@media (max-width: 640px) {
    section { padding: 20px 0; }
}

/* Latest Added Products */
.latest-added-products .section-header {
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:2rem;
    width:100%;
    position:relative;
}

.latest-added-products h2 {
    font-size:2.2rem;
    font-weight:800;
    color:#111;
    margin:0;
    flex:1;
}

.carousel-controls {
    display:flex;
    gap:10px;
    flex-shrink:0;
    z-index:100;
    position:absolute;
    right:0;
    top:0;
}

.carousel-btn {
    border:2px solid #ddd;
    background:#fff !important;
    color:#666 !important;
    width:40px;
    height:40px;
    border-radius:50%;
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    font-size:1.3rem;
    cursor:pointer;
    box-shadow:0 1px 3px rgba(0,0,0,0.12);
    transition:all 0.2s ease;
    padding:0;
    min-width:40px;
    visibility:visible !important;
    opacity:1 !important;
}

.carousel-btn:hover:not(:disabled) { 
    border-color:#555;
    background:#f5f5f5 !important;
    color:#333 !important;
}

.carousel-btn:disabled {
    opacity:0.5;
    cursor:not-allowed;
    color:#ccc !important;
}

.carousel-btn.prev,
.carousel-btn.next {
    visibility:visible !important;
    display:inline-flex !important;
}

.latest-slider-wrapper {
    overflow:hidden;
    position:relative;
    width:100%;
}

.latest-grid {
    display:flex;
    gap:1.2rem;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-behavior:smooth;
    padding-bottom:0.5rem;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
}

.latest-grid::-webkit-scrollbar { height: 10px; }
.latest-grid::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 5px; }
.latest-grid::-webkit-scrollbar-thumb { background: #ccc; border-radius: 5px; }
.latest-grid::-webkit-scrollbar-thumb:hover { background: #aaa; }

.product-card {
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:12px;
    overflow:hidden;
    transition:transform .2s ease, box-shadow .2s ease;
    flex: 0 0 300px;
    min-width:300px;
    height:auto;
    display:flex;
    flex-direction:column;
    box-shadow:0 2px 8px rgba(0,0,0,0.08);
    scroll-snap-align:start;
}

.product-card:hover {
    transform:translateY(-4px);
    box-shadow:0 8px 18px rgba(0,0,0,0.12);
}

.product-card img {
    width:100%;
    height:280px;
    object-fit:cover;
}

.product-info { padding:16px; flex:1; display:flex; flex-direction:column; }

.product-info h3 { font-size:1rem; margin:0; color:#111; font-weight:600; }

.product-info p { display:block; font-size:0.85rem; color:#666; margin:0 0 10px 0; line-height:1.3; }

.spec-row { display:flex; justify-content:space-between; gap:0.5rem; font-size:0.85rem; color:#444; font-weight:600; margin:8px 0; }

.product-price { display:block; font-size:1.1rem; font-weight:700; color:#0055a5; margin:8px 0; }

.product-meta { display:flex; justify-content:space-between; align-items:center; font-size:0.8rem; color:#666; margin:6px 0; }

.location { display:flex; align-items:center; gap:4px; }

.stock { font-weight:600; }

.product-condition { font-size:0.85rem; color:#28a745; font-weight:600; text-transform:capitalize; margin-top:6px; }

@media (max-width: 1100px) {
    .latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .latest-grid { grid-template-columns: 1fr; }
    .latest-added-products .section-header { flex-direction:column; align-items:flex-start; gap:0.75rem; }
    .carousel-controls { align-self:flex-end; }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    color: var(--secondary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-orange);
}

/* Form Elements */
input, select, textarea {
    padding: 10px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 14px;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(0, 85, 165, 0.1);
}

/* Card Styles */
.card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Section 7 - Sell your current vehicle or machine */
.sell-machine-section {
    padding: 70px 0;
    background: #fff;
}

.sell-machine-section .section-header {
    margin-bottom: 30px;
    text-align: center;
}

.sell-machine-section .section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 8px;
    color: #111;
}

.sell-machine-section .section-header p {
    color: #555;
    font-size: 1rem;
}

.sell-carousel {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
}

.sell-carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1rem;
    padding-bottom: 0.5rem;
}

.sell-card {
    min-width: 320px;
    height: 310px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    flex: 0 0 auto;
    background-size: cover;
    background-position: center;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.sell-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.4) 80%);
}

.sell-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: #fff;
    z-index: 1;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85);
}

.sell-content h3 {
    margin-bottom: 8px;
    font-size: 1.6rem;
    color: #fff;
    font-weight: 800;
}

.sell-content p {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #fff;
    font-weight: 600;
}

.sell-carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--medium-gray);
    background: #fff;
    color: #111;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.sell-carousel-btn:hover {
    transform: translateY(-2px);
    background: #f3f3f3;
}

@media (max-width: 992px) {
    .sell-carousel {
        grid-template-columns: 1fr;
    }

    .sell-carousel-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .sell-machine-section .section-header h2 { font-size: 2.2rem; }
    .sell-card { min-width: 280px; height: 280px; }
    .sell-carousel-btn { display: none; }
}

/* Section 8 - Get in Touch */
.get-in-touch-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #04356b 0%, #0f7aae 45%, #0b5a44 100%);
}

.get-in-touch-grid {
    display: grid;
    grid-template-columns: minmax(320px, 45%) minmax(320px, 55%);
    gap: 48px;
    align-items: center;
}

.get-in-touch-left {
    color: #fff;
    padding-right: 40px;
}

.get-in-touch-left h2 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 18px;
    color: #ffffff;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.get-in-touch-left p {
    font-size: 1.1rem;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
    max-width: 520px;
}

.btn-outline-light {
    display: inline-block;
    padding: 14px 40px;
    border: 2px solid #ffffff;
    color: #ffffff;
    background: transparent;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.get-in-touch-right {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.get-in-touch-right img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    min-height: 480px;
}

@media (max-width: 992px) {
    .get-in-touch-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .get-in-touch-left {
        padding-right: 0;
    }

    .get-in-touch-left h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .get-in-touch-section { padding: 50px 0; }
    .get-in-touch-left h2 { font-size: 2.2rem; }
    .get-in-touch-left p { font-size: 1rem; }
}

/* Section 9 - Latest news & articles */
.articles-section {
    padding: 70px 0;
    background: #fff;
}

.articles-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.articles-section h2 {
    font-size: 2.8rem;
    margin: 0;
    color: #111;
}

.articles-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 0.5rem;
}

.articles-carousel::-webkit-scrollbar {
    height: 10px;
}

.articles-carousel::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 5px;
}

.articles-carousel::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 5px;
}

.articles-carousel::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.article-card {
    flex: 0 0 320px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

.article-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.article-body {
    padding: 20px;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #111;
    line-height: 1.3;
}

.article-description {
    font-size: 0.95rem;
    color: #555;
    margin: 0 0 16px;
    line-height: 1.4;
}

.article-link {
    display: inline-block;
    color: #0055a5;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-link:hover {
    color: #ff6600;
}

@media (max-width: 992px) {
    .article-card {
        flex: 0 0 280px;
    }

    .articles-section h2 {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .articles-section { padding: 50px 0; }
    .articles-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .articles-section h2 { font-size: 2rem; }
    .article-card { flex: 0 0 280px; }
}

/* Section 10 - Popular categories */
.popular-categories-section {
    padding: 70px 0;
    background: #fff;
}

.popular-categories-section h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #111;
}

.categories-grid-full {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.category-column h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1.2rem;
}

.category-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-column li {
    margin-bottom: 0.9rem;
}

.category-column a {
    color: #0055a5;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.category-column a:hover {
    color: #ff6600;
}

.category-column a.more-link {
    font-weight: 600;
    margin-top: 0.5rem;
    display: inline-block;
}

@media (max-width: 1400px) {
    .categories-grid-full {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .categories-grid-full {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .popular-categories-section h2 {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .popular-categories-section { padding: 50px 0; }
    .categories-grid-full {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .popular-categories-section h2 { font-size: 2rem; }
}

/* Footer - TEM World Style */
.maxworld-footer {
    background: #1a1a1a;
    color: #fff;
    position: relative;
    padding-top: 0;
}

.footer-wave {
    display: block;
    width: 100%;
    height: 80px;
    margin-bottom: -1px;
}

.footer-content {
    padding: 50px 0 40px;
}

.footer-top {
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

/* Global Mobile Friendly Enhancements */
@media (max-width: 992px) {
    .container { padding: 0 16px; }
    section { padding: 50px 0; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .latest-added-products .section-header { align-items: flex-start; }
    .carousel-controls { position: static; align-self: flex-start; margin: 0; }
    .latest-grid { flex-wrap: wrap; justify-content: flex-start; }
    .latest-grid .product-card { min-width: 280px; }
    .articles-section .section-header { align-items: flex-start; }
    .articles-section h2 { font-size: 2.4rem; }
    .article-card { flex: 0 0 280px; }
    .popular-categories-section h2 { font-size: 2.3rem; }
    .footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 12px; }
    section { padding: 40px 0; }
    .hero-text h1 { font-size: 2rem; }
    .promo-card { padding: 20px; }
    .hero-right { flex-direction: column; }
    .hero-right .promo-card { min-height: 160px; }
    .latest-grid { flex-wrap: wrap; justify-content: center; }
    .latest-grid .product-card { min-width: 100%; max-width: 100%; }
    .get-in-touch-grid, .categories-grid-full, .footer-grid { grid-template-columns: 1fr; }
    .reviews-container, .recommended-grid { grid-template-columns: 1fr; }
    .articles-section .section-header, .popular-categories-section h2 { align-items: flex-start; }
    .article-card { flex: 0 0 100%; width: 100%; }
    .sell-carousel { grid-template-columns: 1fr; }
    .sell-carousel-btn { display: none; }
    .get-in-touch-left h2 { font-size: 2.2rem; }
    .btn-primary, .btn-outline, .btn-outline-light { width: 100%; text-align: center; }
}

@media (max-width: 540px) {
    body { font-size: 14px; }
    .hero-text h1 { font-size: 1.75rem; }
    .search-wrapper { flex-direction: column; gap: 10px; width: 100%; }
    .search-input-main { width: 100%; }
    .btn-search-main { width: 100%; }
    .btn-categories, .btn-start-selling, .icon-login, .header-lang, .header-contact-mini { width: 100%; justify-content: center; }
    .categories-row { gap: 10px; padding: 10px 8px; }
    .review-text { text-align: center; width: 100%; }
    .popular-categories-section { padding: 35px 0; }
    .articles-section, .latest-added-products, .sell-machine-section { padding: 30px 0; }
}

.footer-logo span {
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #fff;
    text-transform: capitalize;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #00ff00;
}

.footer-newsletter-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer-lower {
    padding-top: 1.5rem;
}

.footer-newsletter {
    margin-bottom: 1.5rem;
}

.footer-newsletter a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-newsletter a:hover {
    color: #00ff00;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-links span {
    color: rgba(255, 255, 255, 0.5);
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-social {
    display: flex;
    gap: 1.2rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    border-color: rgba(255, 255, 255, 0.8);
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.footer-language select {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-language select:hover,
.footer-language select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.footer-language select option {
    background: #1a1a1a;
    color: #fff;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-right {
        width: 100%;
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.3rem;
        font-size: 0.8rem;
    }

    .footer-right {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-content { padding: 30px 0 20px; }
}
