html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.banner-container {
    position: relative;
    overflow: hidden;
    display: block;
}

    .banner-container img {
        width: 100%;
        height: auto;
        max-height: 400px;
        object-fit: cover;
        display: block;
        transition: 0.4s ease;
    }

    .banner-container::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0);
        transition: 0.4s ease;
    }

    .banner-container:hover::after {
        background: rgba(0,0,0,0.45);
    }

/* TEXT ON IMAGE */
.banner-text {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 500px;
}

    .banner-text h2 {
        font-size: 26px;
        margin: 0;
        margin-bottom: 12px;
        font-weight: 700;
        line-height: 1.2;
        color: white !important; /* Force white */
    }

    .banner-text p {
        font-size: 20px;
        margin: 0;
        line-height: 1.4;
        opacity: 0.9;
        color: white !important; /* Force white */
    }

.qty-box {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

    .qty-box button {
        background: #f8f8f8;
        border: none;
        width: 36px;
        font-size: 18px;
    }

    .qty-box input {
        width: 50px;
        text-align: center;
        border: none;
    }


/*  Header Background  */
header {
    background-color: #dcac83 !important;
}

    /*  Navigation Text White  */
    /* header .pixelstrap > li > a {
                    color: #ffffff !important;
                } */

      header .pixelstrap > li > a:hover {
        color:#0a5c34  !important;
    }

    /* ===== Left Menu Icon White ===== */
    header .menu-left i,
    header .toggle-nav i {
        color: #ffffff !important;
        opacity: 1 !important;
    }

/* ===== Banner Text Readability ===== */
.banner-text {
    text-shadow: 0 2px 6px rgba(0,0,0,0.35) !important;
}

/* ===== Mobile Slider Fix ===== */
@media (max-width: 767px) {
    .slide-1 .banner-wrapper {
        height: 55vh !important;
    }
}

/* ===== Left Navbar Icon White ===== */
.main-menu .menu-left .navbar i {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Dark mode safety */
.dark .main-menu .menu-left .navbar i {
    color: #ffffff !important;
}
/* ===== Sticky Header ===== */
header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 999 !important;
}

/* Prevent content from hiding behind fixed header */
body {
    padding-top: 100px !important; /* adjust if header height different */
}


/* Same Banner Size  */

/* Desktop */
.slide-1 .banner-wrapper {
    height: 600px !important;
    overflow: hidden;
}

    .slide-1 .banner-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Mobile */
@media (max-width: 767px) {
    .slide-1 .banner-wrapper {
        height: auto !important;
    }

        .slide-1 .banner-wrapper img {
            width: 100%;
            height: auto;
            object-fit: contain;
        }
}

/* Force left sidenav menu links black */
.sidenav nav .pixelstrap > li > a {
    color: #000 !important;
}

    /*  blue hover  */
    .sidenav nav .pixelstrap > li > a:hover {
        color: #f26410 !important; /*  theme orange */
    }
/* ===== Banner Text Improvements ===== */

.slide-1 .banner-text h2,
.slide-1 .banner-text h4 {
    font-weight: 700 !important;
    letter-spacing: 1px;
}

.slide-1 .banner-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 10px;
}

/* Improve readability on light images */
.slide-1 .banner-text {
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Better mobile spacing */
@media (max-width: 768px) {
    .slide-1 .banner-text {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

        .slide-1 .banner-text p {
            font-size: 14px;
        }
}
/* ===============================
               PRODUCT GRID LAYOUT
            ================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* Desktop 6 in one line */
    gap: 20px;
}

/* Tablet */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ===============================
               PRODUCT CARD DESIGN
            ================================ */

.custom-product-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    transition: 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    /* Hover Effect */
    .custom-product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }


    /* ===============================
               PRODUCT IMAGE FIX
            ================================ */

    .custom-product-card img {
        border-radius: 10px;
        width: 100%;
        height: 220px; /* Fixed equal height */
        object-fit: contain; /* Full image visible, no crop */
    }


    /* ===============================
               PRODUCT TEXT STYLING
            ================================ */

    .custom-product-card h5 {
        font-weight: 600;
        margin-top: 12px;
        font-size: 16px;
        min-height: 48px; /* ADDED*/
    }

    .custom-product-card p {
        font-size: 14px;
        color: #555;
        margin-bottom: 10px;
        min-height: 70px; /* ADDED*/
    }


    /* ===============================
               BUTTON STYLING
            ================================ */

    .custom-product-card .btn {
        width: 100%;
        border-radius: 8px;
        font-weight: 500;
    }
/* Right side mobile menu text color */

/* Only mobile slide menu */
@media (max-width:1199px) {
    header #main-nav ul.pixelstrap li a {
        color: black !important;
    }

        header #main-nav ul.pixelstrap li a:hover {
            color: #f26410 !important;
        }
}
/*icon color and hover theme */
/* Default icon color */
.main-menu .menu-right .icon-nav li i {
    color: white !important;
    transition: color 0.3s ease;
}

    /* Hover effect */
    .main-menu .menu-right .icon-nav li i:hover {
        color: #0a5c34 !important;
    }
/*cart icon color */
.cart_qty_cls {
    background: #0f6039 !important;
    color: white !important;
}
/* Mobile view icon color override */
@media (max-width:1199px) {
    .main-menu .menu-right .icon-nav li i {
        color: #fff !important;
    }

        .main-menu .menu-right .icon-nav li i:hover {
            color: #0a5c34 !important;
        }
}
