:root {
    --primary-green: #94c11f;
    --dark-bg: #1a1a1a;
    --light-bg: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--light-bg);
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Top Bar */
.top-bar {
    background-color: #fff !important;
    color: #333 !important;
    padding: 12px 0;
    font-size: 0.8rem;
    border-bottom: 1px solid #eee;
}

.top-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.top-bar .divider {
    color: #333;
    opacity: 0.3;
    font-weight: 300;
}

.top-bar i {
    color: var(--primary-green);
    margin-right: 10px;
    font-size: 1rem;
}

.top-bar span {
    display: flex;
    align-items: center;
}

.main-nav-header {
    background: #000 !important;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 3000 !important;
}

.main-nav-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10001;
}



.logo img {
    height: 45px;
    filter: none !important;
    /* Logo is white, header is black. No filter needed. */
}

nav ul {
    display: flex;
    gap: 30px;
    position: relative;
    /* Anchor for dropdown to span exactly from 'NOSOTROS' to 'CONTACTO' */
}

nav ul li {
    position: relative;
    /* padding-bottom removed to bring underline closer to text */
}

nav ul li a {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #ffffff !important;
    padding: 5px 0;
    /* Reduced vertical padding */
    display: block;
    transition: var(--transition);
}

nav ul li a:hover,
nav ul li.has-dropdown:hover>a {
    color: var(--primary-green) !important;
}

nav ul li.has-dropdown:hover>a {
    border-bottom: 3px solid var(--primary-green);
}

/* Dropdown styling */
.has-dropdown {
    position: static;
    /* Let dropdown align with container */
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    /* Align slightly below the text items */
    left: 0;
    background: #f1f1f1;
    width: 800px;
    left: 50%;
    margin-left: -400px;
    /* Spans exactly the width of the ul */
    display: grid;
    grid-template-columns: repeat(var(--category-count, 4), minmax(0, 1fr));
    padding: 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 4000 !important;
    border: 1px solid #eee;
    transform: translateY(10px);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Cart Widget */
.cart-widget {
    position: relative;
    /* margin-left: 20px; removed as it is now in .header-actions */
    display: none;
}

.cart-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.2rem;
    position: relative;
    padding: 10px;
}

.cart-trigger:hover {
    color: var(--primary-green);
}

.cart-count {
    background: var(--primary-green);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 5px;
    right: 0;
    border: 1px solid #000;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown-item {
    text-align: center;
    padding: 25px 15px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border-right: 1px solid #ddd;
    background: #f1f1f1;
}

.dropdown-item:last-child {
    border-right: none;
}

.dropdown-item img {
    height: 80px;
    /* SVG already includes text and line */
    width: auto;
    display: block;
    margin: 0 auto;
    transition: var(--transition);
    filter: none !important;
}

.dropdown-item span {
    display: block;
    color: #111;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 8px;
}

/* Hover / Active states */
.dropdown-item:hover,
.dropdown-item.active {
    background-color: var(--primary-green) !important;
}

/* Las imágenes cargadas desde el panel conservan sus colores en hover. */
.dropdown-item:hover img,
.dropdown-item.active img {
    filter: none !important;
}

/* Los SVG cargados desde Categorías ya incluyen su propia leyenda. */
.dropdown-item.has-icon span {
    display: none;
}

.dropdown-item:hover span,
.dropdown-item.active span {
    color: #fff;
}

/* Button */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-green);
    color: #fff;
}

.btn-primary:hover {
    background-color: #7eaa1a;
}

/* Footer */
.main-footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: none;
}

.links-col ul li a {
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
}

.links-col ul li {
    margin-bottom: 8px;
}

.text-center {
    text-align: center;
}

.contact-info i {
    color: var(--primary-green);
    margin-right: 10px;
    font-size: 1.1rem;
}

.contact-info p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.mt-align-marcas {
    margin-top: 115px;
    /* Aligns vertically with the 'Marcas' header area */
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-logo {
    height: 40px;
    margin-bottom: 30px;
}

.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: #fff;
    /* White circles */
    color: #000;
    /* Black icons */
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    margin-right: 10px;
}

.social-links a:hover {
    background: var(--primary-green);
}

.products-highlight {
    background-color: var(--primary-green);
    padding: 40px;
    color: #000;
    border-radius: 10px;
    text-align: center;
}

.products-highlight h4,
.products-highlight h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
}

.products-highlight ul {
    display: inline-block;
    text-align: left;
}

.products-highlight ul li {
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
}

.products-highlight ul li i {
    width: 20px;
    text-align: center;
    color: #000;
}

.products-highlight ul li a {
    color: #000;
}

.btn-dark {
    background-color: #1a1a1a;
    color: #fff;
    width: 100%;
    text-align: center;
    line-height: 48px;
    border-radius: 5px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.copyright {
    background: #111;
    color: #666;
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
}

.mt-20 {
    margin-top: 20px;
}

.p-0 {
    padding: 0;
}

.overflow-hidden {
    overflow: hidden;
}


/* Home Page Specifics */
.home-hero {
    height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    background: transparent !important;
    z-index: 5 !important;
    /* Lower than header and filter */
}

.hero-slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.1;
}

.hero-content h1 strong {
    color: var(--primary-green);
}

/* Sections Common */
section {
    padding: 80px 0;
}

.subtitle {
    display: block;
    text-align: center;
    color: #aaa;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 400;
}

h2 strong {
    font-weight: 700;
}

.description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #666;
}

/* Products Showcase Carousel */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 10px;
}

.products-container {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

.products-slider {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: max-content;
    /* Ensure the slider expands to fit all items */
    will-change: transform;
}

.products-slider .product-card {
    flex: 0 0 calc(33.333% - 20px);
    /* Exactly 1/3 of container minus gap share on home slider */
    width: calc(33.333% - 20px);
}

.product-card {
    border: 1px solid #eee;
    padding: 0;
    text-align: center;
    border-radius: 10px;
    transition: var(--transition);
    background: #fff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .products-slider .product-card {
        flex: 0 0 calc(50% - 15px);
        width: calc(50% - 15px);
    }
}

@media (max-width: 600px) {
    .products-slider .product-card {
        flex: 0 0 100%;
        width: 100%;
    }
}

.carousel-btn {
    background: var(--primary-green);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: #7eaa1a;
    transform: scale(1.1);
}

.carousel-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-green);
}

.product-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #333;
}

.products-slider .product-card img {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 400;
}

.product-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.link-plus {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Stats Section */
.stats-section {
    background-color: var(--primary-green);
    color: #fff;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.stat-item .number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
}

.stat-item .label {
    font-size: 1.2rem;
    text-transform: lowercase;
}

/* Brands Section */
.brands-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: #fff;
}

.brand-box {
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.brand-batsa {
    background: url('../assets/images/img_autobatsa.jpg') center/cover;
}

.brand-alfabat {
    background: url('../assets/images/img_motoalfabat.jpg') center/cover;
}

.brand-content {
    background: radial-gradient(circle, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: var(--transition);
}

.brand-box:hover .brand-content {
    background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.brand-logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
}

.btn-outline {
    border: 1px solid #fff;
    color: #fff;
    padding: 8px 25px;
    font-size: 0.8rem;
    border-radius: 5px;
    background: transparent;
}

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

/* Certifications */
.certifications {
    padding: 40px 0;
}

.cert-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
    opacity: 0.8;
}

.cert-grid img {
    height: 65px;
    filter: grayscale(100%);
    transition: var(--transition);
}

.cert-grid img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Products Page */
.product-hero,
.contact-hero,
.home-hero {
    position: relative;
    z-index: 5 !important;
    /* Low to allow header/menu on top */
    background-color: transparent !important;
}

.product-hero {
    height: 400px;
    display: flex;
    align-items: center;
    color: #fff;
}

.category-filter {
    background: #f8f8f8;
    padding: 0;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 1000 !important;
    /* Over hero, under header */
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    /* Removed overflow: hidden to prevent icon rendering issues */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: -40px 0 20px;
    /* Overlap with hero slightly */
    position: relative;
    z-index: 1100 !important;
}

.filter-item {
    padding: 15px;
    text-align: center;
    transition: var(--transition);
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.filter-item img {
    height: 35px;
    /* Slightly smaller for better fit */
    width: auto;
    margin-bottom: 8px;
    display: block;
    filter: none !important;
    /* Reset any inheritance */
    opacity: 1 !important;
}

.filter-item span {
    font-size: 0.7rem;
    color: #333;
    font-weight: 500;
}

.filter-item:hover,
.filter-item.active {
    background-color: var(--primary-green) !important;
    color: #fff !important;
}

.filter-item:hover img,
.filter-item.active img {
    filter: brightness(0) invert(1) !important;
}

.filter-item:hover span,
.filter-item.active span {
    color: #fff !important;
}

.group-title {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
    font-size: 2rem;
}

.maintenance-title {
    text-align: left;
    font-size: 1.8rem;
    margin-top: 60px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.products-page-content { min-height: 360px; }
.products-empty { margin: 40px 0 80px; text-align: center; color: var(--text-light); }
.product-description { display: block; min-height: 0; line-height: 1.5; }
.product-grid-specs { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 30px; }
.product-spec-card { overflow: hidden; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.15); border-color: #ddd; }
.product-image-wrap { position: relative; height: 200px; background: #fff; }
.product-image-wrap > img { height: 200px; width: 100%; max-width: none; object-fit: contain; margin: 0; padding: 25px; }
.image-zoom { align-items:center; background:rgba(255,255,255,.9); border:0; border-radius:50%; bottom:14px; color:#8f9799; cursor:pointer; display:flex; font-size:1rem; height:32px; justify-content:center; position:absolute; right:14px; transition:var(--transition); width:32px; }
.image-zoom:hover { background:var(--primary-green); color:#fff; transform:scale(1.08); }
.image-zoom i { color:inherit; font-size:1rem; line-height:1; margin:0; }
.product-spec-card:hover .product-image-wrap > img { transform:none; }
.product-code { background: #292d2f; color: #fff; font-size: 2rem; font-weight: 700; text-align: center; padding: 10px; }
.product-capacity { background: #cfcfcf; color: #000; font-size: 1.8rem; font-weight: 800; text-align: center; padding: 5px 10px; }
.product-spec-columns { background:#f2f3f3; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 25px 32px; min-height: 150px; text-align: left; font-size: .8rem; }
.product-spec-columns p { margin: 0 0 5px; font-weight: 600; }
.product-applications { background:#f2f3f3; border-top: 1px solid #d9dada; display: flex; justify-content: center; gap: 12px; height:48px; align-items: center; }
.product-applications i { align-items:center; background:#f4f5f5; border:1px solid #e0e2e2; border-radius:50%; color:#596164; display:flex; font-size:1rem; height:28px; justify-content:center; line-height:1; margin:0; opacity:.9; width:28px; }
.image-modal { align-items:center; background:rgba(0,0,0,.75); display:flex; inset:0; justify-content:center; padding:30px; position:fixed; z-index:6000; }
.image-modal[hidden] { display:none; }
.image-modal-content { max-height:90vh; max-width:min(90vw,900px); object-fit:contain; }
.image-modal-close { background:#fff; border:0; border-radius:50%; color:#222; cursor:pointer; font-size:1.1rem; height:36px; position:absolute; right:24px; top:24px; width:36px; }
.category-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 70px; }
.category-list-item { border: 1px solid #e5e5e5; display: flex; align-items: center; gap: 18px; padding: 25px; }
.category-list-item:hover { border-color: var(--primary-green); box-shadow: 0 8px 20px rgba(0, 0, 0, .08); }
.category-list-item img { width: 76px; max-height: 60px; object-fit: contain; }
.category-list-item span { display: flex; flex-direction: column; }
.category-list-item small { color: var(--text-light); margin-top: 5px; }

.product-card > img {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 40px auto;
    padding: 0 20px;
    transition: var(--transition);
}

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

.product-info {
    padding: 25px;
    background: #f4f4f4;
    /* Slightly darker industrial gray */
    border-top: 1px solid #ddd;
}

.product-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
    text-align: center;
}

.specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: 0.8rem;
    color: #444;
    text-align: left;
    gap: 12px 20px;
    padding: 20px;
    background: #f9f9f9;
}

.specs span {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.specs span:last-child,
.specs span:nth-last-child(2) {
    border-bottom: none;
}

/* E-commerce Elements */
.product-buy {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #fff;
    text-align: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: block;
}

.buy-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    border-radius: 5px;
    padding: 5px;
}

.qty-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    width: 30px;
    height: 30px;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.qty-input {
    width: 50px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    -moz-appearance: textfield;
    appearance: none;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.add-to-cart {
    width: 100%;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.mt-60 {
    margin-top: 60px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-10 {
    margin-top: 10px;
}

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

/* Contact Page */
.contact-hero {
    height: 400px;
    /* Increased height to match image feel */
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    text-align: center;
}

.contact-hero .hero-content p {
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 5px;
}

.contact-hero .hero-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0;
}

.contact-hero .hero-content h2 strong {
    color: var(--primary-green);
}

.contact-section {
    padding: 60px 0;
}

.contact-intro {
    margin-bottom: 50px;
}

.contact-intro h2 {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-intro .description {
    font-size: 1.1rem;
    color: #444;
    max-width: 650px;
    margin: 0 auto;
}

.centered-form {
    max-width: 680px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 25px;
    background-color: #f2f2f2;
    /* Light grey background from image */
    border: none;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #333;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #888;
}

.contact-honeypot { display:none; }
.contact-status { display:none; padding:14px 18px; border-radius:5px; font-size:.92rem; }
.contact-status.success { background:#eaf5d4; color:#416000; display:block; }
.contact-status.error { background:#fff0f0; color:#a32727; display:block; }
.btn-dark-custom:disabled { cursor:not-allowed; opacity:.65; }

.form-footer {
    display: flex;
    justify-content: flex-end;
    /* Right align button */
    margin-top: 20px;
}

.btn-dark-custom {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 12px 60px;
    /* Wider button like in image */
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-dark-custom:hover {
    background-color: #000;
}

.map-section {
    padding: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .products-highlight {
        grid-column: span 2;
        top: 0;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .top-bar .divider {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #000;
        z-index: 10000;
        transition: var(--transition);
        padding-top: 80px;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        align-items: center;
    }

    nav ul li.has-dropdown .dropdown-menu {
        position: static;
        left: auto;
        margin-left: 0;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        grid-template-columns: 1fr 1fr;
        background: #111;
        width: 100%;
    }

    nav ul li.has-dropdown.active .dropdown-menu {
        display: grid;
    }

    .dropdown-item img {
        height: 50px;
    }

    .dropdown-item {
        padding: 15px 10px;
    }

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

    .products-highlight {
        grid-column: span 1;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .home-hero {
        height: 450px !important;
    }

    .product-hero,
    .contact-hero {
        height: 250px !important;
    }

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

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

    h2 {
        font-size: 1.8rem;
    }

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

    /* Contact Page Specifics (Consolidated) */
    .contact-hero {
        height: 300px !important;
    }

    .contact-hero .hero-content h2 {
        font-size: 1.8rem;
    }

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

    .contact-intro h2 {
        font-size: 2rem;
    }

    /* Cart Checkout Mobile */
    .page-cart .container>div[style*="justify-content: flex-end"] {
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
        text-align: center !important;
    }
}
