/* RESET */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* TOP HEADER */
.top-header {
    background: #F5E2C2;
    padding: 10px;
    border-bottom: 2px solid #e5e5e5;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LEFT LOGO */
.logo-section {
    display: flex;
    align-items: center;
    width: 30%;
}

.logo-section img {
    width: 60px;
    margin-right: 5px;
}

.logo-text h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 25px;
    letter-spacing: 1px;
}

/* CENTER INFO */
.company-info {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 18px;
    text-align: center;
    color: #644611;
    line-height: 1.5;
}

/* RIGHT SEARCH */
.search-section {
    width: 20%;
    display: flex;
    justify-content: flex-end;
}

.search-section input {
    width: 70%;
    padding: 8px;
    border: 1px solid #ccc;
    outline: none;
}

.search-section button {
    padding: 8px 12px;
    background: #644611;
    color: white;
    border: none;
    cursor: pointer;
}

/* NAVBAR */
.navbar {
    background: #644611;
}
.menu-toggle {
    color: #644611 !important;
}
.navbar > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.navbar ul li {
    position: relative;
}

.navbar ul li a {
    display: block;
    padding: 14px 20px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.navbar ul li:hover {
    background: #3D2A0A;
}

/* DROPDOWN */
.dropdown {
    position: relative;
}

/* HIDE DROPDOWN BY DEFAULT */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #EECF9B;
    min-width: 220px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 999;
}

/* SHOW ONLY ON HOVER */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* REMOVE ROW BEHAVIOUR */
.dropdown-menu li {
    display: block;
}

/* STYLE LINKS */
.dropdown-menu li a {
    color: #333;
    padding: 10px;
    display: block;
}

/* ================= MOBILE RESPONSIVE CLEAN ================= */
@media (max-width: 768px) {

    /* HEADER FIX */
    .header-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; /* FIXED */
        text-align: center;
    }

    .logo-section {
       flex-direction: column;   /* STACK logo + text */
    align-items: center;
    text-align: center;
    width: 100% !important;
}

.logo-section img {
    margin-bottom: 8px;
}

    .logo-text h3 {
        font-size: 14px;
    line-height: 1.0;
}

    .company-info {
        font-size: 14px;
    line-height: 1.6;
    margin-top: 5px;
}

    .search-section {
    display: flex;
    justify-content: center;
    width: 100%;
}

.search-section input {
    width: 75%;
    border-right: none;
}

.search-section button {
    padding: 8px 12px;
}

    /* MENU BUTTON (IMPORTANT FIX) */
    .menu-toggle {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 24px;
    background: #644611;
    color: white !important;
    cursor: pointer;
    margin: 10px auto;
}

    /* NAVBAR */
    .navbar > ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #644611;
    }

    .navbar.active > ul {
        display: flex;
    }

    .navbar ul li {
        width: 100%;
        text-align: center;
        border-top: 1px solid rgba(255,255,255,0.2);
    }

    .navbar ul li a {
        padding: 12px;
    }

    /* DROPDOWN */
    .dropdown-menu {
        position: static;
        display: none;
        background: #3D2A0A;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }
}
/* ================= MOBILE LAYOUT (CUSTOM ORDER) ================= */
@media (max-width: 768px) {

    /* STACK EVERYTHING */
    .header-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* LOGO */
    .logo-section {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .logo-section img {
        width: 70px;
        margin-bottom: 5px;
    }

    /* COMPANY NAME (FORCE SINGLE LINE) */
    .logo-text h2 {
    white-space: nowrap;
    font-size: 18px;
    text-align: center;
    width: 100%;
}

    /* COMPANY INFO */
    .company-info {
    text-align: center;
    font-size: 10px;
    max-width: 90%;
    margin: 0 auto;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

    /* SEARCH */
    .search-section {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }

    .search-section input {
        width: 70%;
    }

    /* MENU BUTTON */
    .menu-toggle {
    display: block;
    margin: 10px auto;   /* This centers it */
    text-align: center;
    color: white;        /* Already wanted white */
  }

    /* NAVBAR HIDDEN INITIALLY */
    .navbar > ul {
        display: none;
        flex-direction: column;
        background: #644611;
    }

    .navbar.active > ul {
        display: flex;
    }

    /* DROPDOWN */
    .dropdown-menu {
        position: static;
        display: none;
        background: #3D2A0A;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }



/* ================= Footer (CUSTOM ORDER) ================= */

}
.footer {
    background: #644611;
    color: #fff;
    padding: 40px 20px 10px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* COLUMN */
.footer-column {
    width: 30%;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-column h3 {
    margin-bottom: 15px;
    color: #EECF9B;
}

/* TEXT */
.footer-column p {
    font-size: 14px;
    line-height: 1.6;
}

/* QUICK LINKS */
.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: #EECF9B;
}

/* SUBSCRIBE */
.subscribe-box {
    display: flex;
    margin-top: 10px;
}

.subscribe-box input {
    padding: 8px;
    border: none;
    outline: none;
    width: 70%;
}

.subscribe-box button {
    padding: 8px 12px;
    background: #EECF9B;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

/* BOTTOM */
.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
}

/* ================= MOBILE LAYOUT Footer (CUSTOM ORDER) ================= */

@media (max-width: 768px) {

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column {
        width: 100%;
    }

    .subscribe-box {
        justify-content: center;
    }

    .subscribe-box input {
        width: 60%;
    }
}
/* Global Fixes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Banner Fix */
.banner-container {
    width: 100%;
    overflow: hidden;
}

.banner-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Product Grid Fix */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}
/* Fix slider overflow */
.banner-container,
.slider,
.carousel,
.swiper,
.slick-slider {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    margin: 0 auto !important;
}

/* Fix inner elements */
.banner-container * {
    max-width: 100% !important;
}

/* Fix images inside slider */
.banner-container img,
.slider img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    display: block;
}
@media (max-width: 768px) {
    .product-grid,
    .product-range,
    .products,
    .row {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr !important;
  }
}