body {
    margin: 0;
    padding: 0;
}

/* height helpers */
.h-60px { height: 60px; }
.h-80px { height: 80px; }
.h-100px { height: 100px; }
.h-400px { height: 400px; }

/* header icons */
.header-icon { position: relative; }
.cart-counter {
    position: absolute;
    top: -9px;
    right: -15px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 12px;
}

/* form fields */
.label-input-field input,
.label-input-field textarea,
.label-input-field select {
    width: 100%;
    padding: 16px 24px;
    border-radius: 4px;
    border: 1px solid #e4e4e4;
    outline: 0;
}
.label-input-field label { z-index: 1; }

/* select2 */
.select2-container {
    width: auto;
    display: block;
    padding: 14px 24px;
    border-radius: 4px;
    border: 1px solid #e4e4e4;
}
.select2-container--default .select2-selection--single { border: none; }
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 60px;
    right: 10px;
}
.select2-dropdown {
    top: -4px;
    border-color: #e4e4e4;
}
.select2-container--open .select2-dropdown { left: -1px; }
.select2-container .select2-selection--single .select2-selection__rendered { padding: 0; }

/* toastr */
#toast-container { z-index: 999999; }

/* header sticky */
.navnew.header-sticky {
    background-color: #e86301;
    padding: 10px 0;
}

/* container */


/* search */
.search-form {
    display: flex;
    /* align-items: center; */
    justify-content: end;   /* 👈 main cheez */
    /* max-width: 500px; */
    width: auto;
    margin: 0 auto;  
    flex: 1;          /* 👈 horizontal center */
}

.search-form input {
    width: 730px !important;
    height: 35px;
    padding: 0 12px;
    font-size: 14px;
}
.search-form button {
    height: 35px;
    padding: 0 16px;
}

@media (max-width:576px){
    .search-form input { width: 160px !important; }
}

/* nav icons */
.gshop-header-user svg path,
.gshop-header-cart svg path {
    fill: #000 !important;
    stroke: #000 !important;
}

/* ================= AMAZON STYLE MEGA MENU ================= */

.category-item { position: relative; }

/* AMAZON LEFT SLIDE PANEL */
.categories-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 10000;
    overflow-y: auto;
    transition: left 0.3s ease;
}

.categories-sidebar.active {
    left: 0;
}



/* left list */
.mega-left h6 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item > a {
    display: block;
    padding: 8px 10px;
    font-size: 14px;
    font-weight: 500;
    color: #111 !important;
    text-decoration: none;
}

.category-item > a:hover {
    background: #f3f3f3;
}

/* RIGHT PANEL */
.mega-right {
    display: none;
    position: fixed;
    top: 0;
    left: 320px;
    width: calc(100vw - 320px);
    height: 100vh;
    background: #ffffff;
    padding: 30px;
    box-shadow: 4px 0 12px rgba(0,0,0,.1);
}



/* mega columns */
.mega-column {
    flex: 1;
    padding: 0 20px;
}

.mega-column h6 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #111;
}

.mega-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-column ul li a {
    display: block;
    padding: 4px 0;
    font-size: 13px;
    color: #333 !important;
    text-decoration: none;
}

.mega-column ul li a:hover {
    color: #000 !important;
    text-decoration: underline;
}



/* nav layout */
.navnew {
    display: flex;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    margin-right: 16px;
}

/* center navbar text */
.gshop-navmenu .nav-row > li > a {
    color: #ffffff !important;
}

/* All + hamburger */
.gshop-navmenu .nav-left a,
.gshop-navmenu .nav-left span,
.gshop-navmenu .nav-left i {
    color: #0a0a0a !important;
}

/* global bg */
html, body {
    background: #eee !important;
    min-height: 100%;
}

/*NAV IMAGE*/



.gshop-hero .carousel-item img {
    width: 100% !important;
    height: auto;
    object-fit: cover !important;
}
.amazon-parent .child-list {
    display: none;
}

.amazon-parent.open .child-list {
    display: block;
}

.parent-row {
    cursor: pointer;
}

.toggle-icon {
    font-weight: bold;
}





.category-card {
    display: block;
    background: #fff;
    padding: 15px 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,.12);
}

.category-card-img {
    height:140px;
}
.category-card h6 {
    font-size: 14px;
    color: #111;
    margin: 0;
}
/* spacing for next section */




.category-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-card-body h6 {
    margin-top: 12px;
    font-weight: 600;
    color: #111;
}

/* Featured product card polish */
.product-card,
.single-product,
.tt-product {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.product-card:hover,
.single-product:hover,
.tt-product:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* product image fix */
.single-product img,
.tt-product img {
    object-fit: contain;
    max-height: 230px;
}

/* price Amazon style */
.product-price,
.tt-price,
.price {
    color: #B12704 !important;
    font-weight: 600;
}

/* category text subtle */
.single-product .category,
.tt-product .category {
    font-size: 12px;
    color: #6b7280;
}


.btn-cart,
.add-to-cart-btn {
    background: #FFA41C;
    border: none;
    color: #000;
    font-weight: 600;
}

.btn-cart:hover,
.add-to-cart-btn:hover {
    background: #f08804;
}



/*FEATURED PRODUCTS*/

.trending-products-area {
    background: #fff;
}

.trending-products-area .tt-product {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 10px;
    transition: box-shadow .2s ease;
}

.trending-products-area .tt-product:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.trending-products-area .tt-product-thumb img {
    height: 165px;          /* close to 154x164 */
    object-fit: contain;
}

.trending-products-area .tt-product .price,
.trending-products-area .tt-product .product-price {
    color: #B12704;
    font-weight: 600;
}

.filter-btns button {
    border: 1px solid #d5d9d9;
    background: #f0f2f2;
    padding: 6px 14px;
    font-size: 14px;
    border-radius: 6px;
}

.filter-btns button.active {
    background: #ffd814;
    border-color: #fcd200;
}


/* AMAZON STYLE FOR VERTICAL PRODUCT CARD */

.vertical-product-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    transition: box-shadow .2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden; /* IMPORTANT */
}
.vertical-product-card .product-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}


.vertical-product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

/* image box */
.vertical-product-card .thumbnail {
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    /*aspect-ratio: 1 / 1;*/
    overflow: hidden;
}

.vertical-product-card .thumbnail img {
    object-fit: contain;
    display: block;
    width: auto;
    height: 100%;
    max-width: 100%;
}

/* content */
.vertical-product-card .card-content {
    flex: 1;
}

/* title */
.vertical-product-card .card-title {
    font-size: 14px;
    font-weight: 500;
    color: #0f1111;
}

/* price */
.vertical-product-card .price {
    color: #B12704;
    font-weight: 600;
    font-size: 15px;
}

/* =========================
   ADD TO CART – NO HOVER
========================= */

.vertical-product-card .card-btn {
    padding: 10px;
    margin-top: auto;
    opacity: 1 !important;
    visibility: visible !important;
    position: static; /* KEY FIX */
}

.vertical-product-card .card-btn .btn {
    width: 100%;
    background: #16675c;
    color: #ffffff !important; /* TEXT WHITE */
    font-weight: 600;
    border-radius: 6px;
    border: 1.5px solid #0F766E;
    padding: 8px 14px;
    font-size: 14px;
    
}



/* REMOVE HOVER EFFECT COMPLETELY */
.vertical-product-card:hover .card-btn {
    opacity: 1;
    visibility: visible;
}

.vertical-product-card .btn {
    padding: 10px 14px;
    font-size: 14px;
}

/* grid fix */
.filter_item,
.col-lg-3,
.col-md-6 {
    display: flex;
}

/* HIDE PRICE COMPLETELY FROM FEATURED / TRENDING CARDS */
.trending-products-area .price,
.vertical-product-card .price {
    display: none !important;
}

/* ===============================
   WORKING AMAZON-LIKE DROPDOWN
================================ */

/* ===============================
   AMAZON HORIZONTAL MINI STRIP
================================ */

/* ===============================
   AMAZON HORIZONTAL MINI STRIP
================================ */

.mega-dropdown {
    position: relative;   /* ✅ MUST */
}

/* submenu hidden */
/* ===============================
   AMAZON FLAT HORIZONTAL STRIP
================================ */

/* .mega-dropdown {
    position: relative;
} */

/* SUBMENU STRIP */
.mini-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    right:0;
    height: auto;
    min-height: unset;
    max-height: none;
    overflow: hidden;
    text-align: left;
    width: 100vw;
    background: #fff;
    padding: 8px 0;          /* 👈 small height */
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    z-index: 9999;
     display: none;
}

/* SHOW ON HOVER */
.mega-dropdown:hover > .mini-submenu {
    display: block;
}

/* INNER WRAPPER */
.mini-submenu .mega-column {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;            /* 🔥 horizontal */
    align-items: flex-start;
    gap: 24px;
}

/* REMOVE HEADING SPACE */
.mini-submenu h6 {
    display: none;            /* Amazon me bhi nahi hota */
}

/* HORIZONTAL LIST */
.mini-submenu ul {
    align-items: flex-start;
    display: inline-flex;
    gap: 8px 14px;
    border-radius: 5em;
    flex-wrap: wrap;
    justify-content: flex-start;
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 100%;
    margin-left: 60px;

}

/* ITEMS */
.mini-submenu ul li a {
    font-size: 10px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    padding: 4px 8px;
    border-radius: 8px;
}

/* HOVER */
.mini-submenu ul li a:hover {
    background: #0f766e;
    
}

/* OVERFLOW FIX */
.navnew,
.navnew .container,
.gshop-navmenu {
    overflow: visible !important;
}

.featured-products .row > div {
    padding-left: 8px;
    padding-right: 8px;
}


.trending-products-area .product-card,
.trending-products-area .trending-product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.trending-products-area .product-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Title height fixed */
.trending-products-area h6,
.trending-products-area .product-title {
    min-height: 44px;
    line-height: 22px;
}
.trending-products-area .thumbnail {
    height: 220px;          /* same for all */
    overflow: hidden;
}

.trending-products-area .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* 🔥 MOST IMPORTANT */
}

.filter_group {
    position: static !important;
    height: auto !important;
}

.filter_item {
    position: static !important;
}

.banner-section {
    padding-left: 0;
    padding-right: 0;
}
.trending-products-area .filter_group {
    justify-content: flex-start;
}

/* =========================
   BEST SELLING BANNER
========================= */
.best-selling-banner {
    width: 100%;
    margin: 0;
    padding: 0;
}

.best-selling-banner img {
    width: 100%;
    display: block;
}

/* =========================
   BEST SELLING PRODUCT CARDS
========================= */
.best-selling-section .vertical-product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.best-selling-section .thumbnail {
    height: 220px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.best-selling-section .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* =========================
   GLOBAL SAFETY
========================= */


.section.best-selling .row > div {
    padding-left: 10px;
    padding-right: 10px;
}

/* ==============================
   HERO SECTION (FIXED HEIGHT)
============================== */
section.gshop-hero {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: visible;            /* IMPORTANT for overlay */
    margin-bottom: 160px;         /* space for overlap */
}

/* carousel full height */
.gshop-hero .carousel,
.gshop-hero .carousel-inner,
.gshop-hero .carousel-item {
    height: 100%;
}

/* hero image */
.gshop-hero .hero-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: top center; /* 👈 MOST IMPORTANT */
}


.top-cats-overlay .container,
.navnew .container {
    max-width: 1200px;
    padding: 0 5px;
}

/* ==============================
   TOP CATEGORIES OVERLAY
============================== */
.top-cats-overlay {
    position: absolute;
    bottom: -120px;               /* overlap hero */
    left: 0;
    width: 100%;
    z-index: 30;
}

/* white amazon-style box */
.top-cats-overlay .container {
    background: #ffffff;
    padding: 28px 20px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* category card inside overlay */
.top-cats-overlay .category-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px 16px;
}

.top-cats-overlay .category-card:hover {
    transform: translateY(-4px);
}

/* image */
.top-cats-overlay .category-card img {
    height: 90px;
    object-fit: contain;
    margin-bottom: 10px;
}

/* image box fixed height */
.top-cats-overlay .category-card-img,
.top-cats-overlay .category-card img {
    height: 140px;
    width: 100%;
    object-fit: contain;
}


/* title */
.top-cats-overlay .category-card h6 {
    font-size: 14px;
    font-weight: 600;
    color: #111;
}

/* ==============================
   RESPONSIVE FIX
============================== */
@media (max-width: 768px) {
    section.gshop-hero {
        height: 380px;
        margin-bottom: 220px;
    }

    .top-cats-overlay {
        bottom: -60px;
        left: 0;
        z-index: 5;
    }

    .top-cats-overlay .container {
max-width: 100%;
    padding-left: 32px;
    padding-right: 32px;



    }
}



/* custom 5-column layout like products */
@media (min-width:1200px) {
    .col-xl-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

.category-card-lg {
    display: block;
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    height: 100%;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.category-img-lg {
    width: 100%;
    height: 300px; /* 👈 BIG cards */
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-img-lg img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.category-title-lg {
    margin-top: 14px;
    font-size: 17px;
    font-weight: 600;
}
.featured-products-section {
    margin-top: 40px;
}


/* LOGO FIX */
.gshop-navbar {
    display: flex;
    align-items: center; 
    margin-left: auto;       /* vertical center */
    justify-content: center;
    gap: 15px;
    padding: 10px 20px;
    
}
.gshop-navbar .logo img {
    width: 88px;              /* thoda compact */
    margin-left: -20px;       /* left shift */
    display: block;
}
/* MON-SUN TEXT */
.gshop-navbar .logo + p {
    font-size: 11.5px;
    line-height: 1.2;
    color: #777;
    margin-top: -2px;
    margin-left: 120px;
    white-space: nowrap;
}
/* LOGO BLOCK */
.gshop-navbar .col-auto {
    padding-left: 0px;
    margin-left: -20px;
}
@media (max-width: 767px) {
    .gshop-navbar .logo img {
        width: 70px;
        margin-left: 0;
    }

    .gshop-navbar .logo + p {
        font-size: 10.5px;
        text-align: left;
    }
}


/* CSS FOR THUMBNAIL IMAGES*/
  

  .product-thumbs img {
    cursor: pointer;
    border: 1px solid #ddd;
    padding: 4px;
    margin-bottom: 8px;
    border-radius: 4px;
    background: #fff;
  }

  .product-thumbs img:hover,
  .product-thumbs img.active {
    border: 2px solid #2874f0;
  }

  

  .main-product-image {
    max-height: 520px;
    object-fit: contain;
  }

  .zoomWindow {
    border: 1px solid #ddd !important;

  }

  


  .mobile-product-slider img {
    max-height: 420px;
    object-fit: contain;
  }

.product-thumbs img {
  transition: all 0.2s ease;
}

.product-thumbs img:hover {
  transform: scale(1.03);
}



/* FORCE All button to extreme left */
.gshop-navmenu {
    padding-left: 0 !important;
}

.gshop-navmenu .navnew {
    margin-left: 0 !important;
}

.gshop-navmenu .nav-left {
    margin-left: 0 !important;
}
/* break container padding only for nav */
.gshop-navmenu {
    position: relative;
    left: -100px;        /* bootstrap padding killer */
    width: calc(100% + 30px);
}

.gshop-navmenu .nav-left {
    margin-left: 0 !important;
    padding-left: 0 !important;
}


.categories-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    transition: left 0.3s ease;
}

.categories-sidebar.active {
    left: 0;
}

.close-sidebar {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
}

.amazon-subcat { display: none; }
.amazon-parent.open .amazon-subcat { display: block; }


.subcategory-strip.bg-white {
  --bs-bg-opacity: 1;
  background-color: rgba(255, 255, 255, 0.8) !important;

}

.categories-sidebar.active ~ .mini-submenu {
    display: none !important;
}
.amazon-parent .child-list {
    display: none;
}

.amazon-parent.open .child-list {
    display: block;
}

.parent-row {
    cursor: pointer;
}

.toggle-icon {
    font-weight: bold;
}

/* ✅ Static mini submenu ONLY on category page */
.products-page .mini-submenu {
    position: sticky;
    top: 110px;
    display: block;
    background: #fff;
    z-index: 99;
}

/* ❌ Navbar ke andar kabhi show na ho */
.gshop-navmenu .mini-submenu {
    display: none !important;
}
/* ===============================
   PRODUCTS GRID – HARD RESET
================================ */

/* kill ptb-120 gap */
section.gshop-gshop-grid.ptb-120 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
}

/* container ko full screen pe le ja */
section.gshop-gshop-grid > .container {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* row ke negative margin se bachane ke liye */
section.gshop-gshop-grid .row {
    margin-left: 0 !important;
    margin-right: -49px !important;
}

/* ===============================
   BEST SELLING – FULL WIDTH FIX
================================ */

/* container ko tod do sirf is section me */
.best-selling-section > .container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* row ke gutters hatao */
.best-selling-section .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* column padding bhi zero */
.best-selling-section .row > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ===============================
   SUB CATEGORY + MEGA BANNER
================================ */

.subcat-hover-area {
    position: relative;
}

/* mega banner */
.mega-banner {
    position: fixed;
    left: 0;
    width: 100vw;
    background: #fff;
    padding: 40px 0;
    display: none;
    z-index: 99999;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* hover pe show */
.subcat-hover-area:hover .mega-banner {
    display: block;
}

/* 🔥 invisible bridge – MOST IMPORTANT */
.subcat-hover-area::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 25px;
    bottom: -25px;
}
.featured-products .product-card,
.featured-products .card {
    width: 100%;
}

.product-thumbs img {
    cursor: pointer;
    border: 2px solid transparent;
    margin-bottom: 8px;
    border-radius: 6px;
}

.product-thumbs img.active {
    border-color: #ff6a00;
}
.main-product-image {
    transition: opacity 0.2s ease-in-out;
}
.main-image-container {
    overflow: visible !important;
    position: relative !important;
}

/* product card image area ko seal karo */
.product-card,
.product-image,
.product-image-wrapper {
    background: #fff !important;
    overflow: hidden !important;
    position: relative;
    z-index: 1;
}


.zoomWindow {
  border: 1px solid #ddd !important;
  background: #fff;
}

.zoomWindow img {
    max-width: none !important;
}

/* ===============================
   EXPAND SHOWING / SORT BAR WIDTH
================================ */

/* product area ke equal width pe lao */
.col-xl-9 > .shop-grid > .listing-top {
    width: 103%;
    height: 60px;
}

/* flex wrap ki wajah se squeeze na ho */
.listing-top {
    flex-wrap: nowrap !important;
}

/* right controls ko right hi rakho */
.listing-top > div:last-child {
    margin-left: auto;
}
@media (min-width:1200px) {
  .col-xl-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}






