/* ========================================
   Diamond Electric — Global Styles
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
    --primary: #B71C1C;
    --primary-dark: #8B0000;
    --primary-light: #FFEBEE;
    --primary-rgb: 183, 28, 28;
    --accent: #D4A574;
    --white: #FFFFFF;
    --light-bg: #F5F5F5;
    --dark: #1A1A2E;
    --text: #374151;
    --text-light: #6B7280;
    --text-lighter: #9CA3AF;
    --border: #E5E7EB;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.3;
    font-weight: 700;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    padding: 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.06);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    width: 100%;
    max-width: 100%;
    padding: 0 40px;
}

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

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-menu a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--dark);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    position: relative;
    letter-spacing: 0.01em;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--primary);
    background: var(--primary-light);
}

@media (max-width: 768px) {
    .navbar-inner {
        height: 70px;
        padding: 0 20px;
    }
    .navbar-logo img {
        height: 45px;
    }

    .features-icon-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }
}

.navbar-menu .dropdown {
    position: relative;
}

.navbar-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.navbar-menu .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-menu .dropdown-menu a {
    display: block;
    padding: 10px 16px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* --- Hero Slider --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 500px;
    overflow: hidden;
    margin-top: 100px;
}

.hero-slider.slider-sm {
    height: 50vh;
    min-height: 350px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.7) 0%, rgba(183, 28, 28, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 24px;
    animation: fadeUpIn 0.8s ease;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Slider-sm additions */
.hero-slider.slider-sm .hero-content h1 {
    font-size: 2.4rem;
}

.hero-slider.slider-sm .hero-content p {
    font-size: 1rem;
    margin-bottom: 24px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.35);
}

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

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

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* --- Sections --- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

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

/* --- Category Cards --- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.category-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.category-card-image {
    height: 400px;
    overflow: hidden;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.category-card-body {
    padding: 28px;
}

.category-card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.category-card-body p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

/* --- Product Cards --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.product-card-image {
    height: 240px;
    overflow: hidden;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-card-image img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

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

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

.product-card-body .category-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 8px;
}

.product-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.product-card-body p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* --- Product Detail --- */
.product-detail {
    padding-top: 120px;
    padding-bottom: 80px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 100px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.product-gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--light-bg);
    padding: 40px;
    margin-bottom: 16px;
}

.product-gallery-main img {
    width: 100%;
    object-fit: contain;
    max-height: 400px;
    margin: 0 auto;
}

.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
    width: 100%;
}

.product-gallery-thumbs img {
    width: 100%;
    max-width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

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

.product-info h1 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.product-info .desc {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 32px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
}

.specs-table tr:nth-child(even) {
    background: var(--light-bg);
}

.specs-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--dark);
    width: 40%;
}

/* --- Breadcrumb --- */
.breadcrumb {
    padding: 100px 0 20px;
}

.breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.breadcrumb-inner a {
    color: var(--text-light);
}

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

.breadcrumb-inner .separator {
    color: var(--text-lighter);
}

.breadcrumb-inner .current {
    color: var(--primary);
    font-weight: 500;
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info-card {
    padding: 32px;
    background: var(--dark);
    color: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.contact-info-card h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 24px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-info-item .icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.2);
    color: #ff6b6b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.contact-info-item p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-info-item strong {
    display: block;
    color: var(--white);
    margin-bottom: 4px;
}

/* --- Dealers --- */
.dealer-filters {
    display: flex;
    gap: 16px;
    align-items: end;
    flex-wrap: wrap;
    padding: 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 40px;
}

.dealer-filters .form-group {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0;
}

.dealer-map {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 40px;
    background: var(--light-bg);
}

.dealer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.dealer-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.dealer-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.dealer-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.dealer-card .badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.badge-bayi {
    background: var(--primary-light);
    color: var(--primary);
}

.badge-servis {
    background: #E8F5E9;
    color: #2E7D32;
}

.badge-bayi_servis {
    background: #FFF3E0;
    color: #E65100;
}

.dealer-card .info-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.dealer-card .info-line .icon {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

/* --- About Page --- */
.about-section {
    padding-top: 40px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.9;
}

.about-content h2,
.about-content h3 {
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--dark);
}

.about-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 20px;
}

.about-content li {
    margin-bottom: 8px;
}

.about-content p {
    margin-bottom: 16px;
}

/* --- Footer --- */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
    height: 40px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 1rem;
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-col a {
    display: block;
    padding: 6px 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 6px;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* --- Alerts --- */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert-success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}

.alert-error {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

/* --- Page Header --- */
.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, #2d2d4e 100%);
    padding: 140px 0 60px;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

/* --- Animations --- */
@keyframes fadeUpIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: none;
    will-change: auto;
}

/* --- Responsive --- */
/* --- Responsive --- */
.frontend-listing-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.product-grid-container {
    flex: 1;
}

/* --- Sections --- */
.features-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
}

/* ===== TABLET (max-width: 1024px) ===== */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-gallery {
        position: relative !important;
        top: auto !important;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ===== MOBILE NAV BREAKPOINT (max-width: 992px) ===== */
@media (max-width: 992px) {
    .frontend-listing-wrapper {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .frontend-listing-wrapper aside,
    .product-grid-container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        display: block !important;
        margin: 0 0 30px 0 !important;
        flex: none !important;
    }

    .breadcrumb-inner {
        font-size: 0.8rem;
        flex-wrap: wrap;
        gap: 5px;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 24px 24px;
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
        gap: 4px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .navbar-menu.open {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .dealer-filters {
        flex-direction: column;
    }

    .page-header {
        padding: 100px 0 30px !important;
    }

    .page-header h1 {
        font-size: 1.8rem !important;
    }

    /* Product Detail Mobile */
    .product-detail {
        padding-top: 20px;
    }

    .product-detail-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    .product-gallery {
        position: relative !important;
        top: auto !important;
    }

    .product-gallery-main {
        padding: 20px;
    }

    .product-gallery-main img {
        max-height: 280px;
    }

    .product-info h1 {
        font-size: 1.8rem;
    }

    .specs-table td {
        padding: 10px;
        font-size: 0.85rem;
        word-break: break-word;
    }

    .dealer-grid {
        grid-template-columns: 1fr;
    }

    .dealer-map {
        height: 250px;
    }

    .features-icon-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }
}

/* ===== SMALL MOBILE (max-width: 576px) ===== */
@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .footer {
        padding: 40px 0 0;
    }

    .footer-grid {
        gap: 24px;
        padding-bottom: 30px;
    }

    .footer-brand img {
        height: 32px;
    }

    .footer-col h4 {
        margin-bottom: 12px;
        font-size: 0.95rem;
    }

    .footer-bottom {
        padding: 16px 0;
        font-size: 0.78rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        bottom: 16px;
        right: 16px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

    .product-card-image {
        height: 180px;
        padding: 12px;
    }

    .product-card-body {
        padding: 16px;
    }

    .product-card-body h3 {
        font-size: 0.95rem;
    }

    .product-card-body p {
        font-size: 0.8rem;
    }

    .contact-form {
        padding: 24px 16px;
    }

    .page-header {
        padding: 90px 0 24px !important;
    }

    .page-header h1 {
        font-size: 1.5rem !important;
    }

    .page-header p {
        font-size: 0.9rem;
    }

    .breadcrumb {
        padding: 80px 0 12px;
    }

    .breadcrumb-inner {
        font-size: 0.75rem;
        flex-wrap: wrap;
    }

    .product-info h1 {
        font-size: 1.4rem;
    }

    .product-gallery-main {
        padding: 16px;
    }

    .product-gallery-thumbs img {
        width: 60px;
        height: 60px;
    }

    .specs-table {
        font-size: 0.82rem;
    }

    .specs-table td {
        padding: 8px 10px;
    }

    .specs-table td:first-child {
        width: 50%;
    }

    .contact-info-card {
        padding: 24px 16px;
    }

    .dealer-card {
        padding: 20px;
    }

    .category-card-image {
        height: 250px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== TINY MOBILE (max-width: 380px) ===== */
@media (max-width: 380px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .navbar-inner {
        padding: 0 12px;
    }

    .navbar-logo img {
        height: 36px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
}