* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
  background-color: rgb(244, 245, 246);
}

.main-header {
  background-color: white;
  border-bottom: 1px solid rgb(199, 246, 255);
}

.top-nav {
  display: flex;
  justify-content: space-between;
  text-align: center;
  padding: 10px 32px;
  gap: 24px;
}

.logo span {
  color: rgb(160, 160, 160);
  font-weight: 500;
}

.logo h2 {
  font-weight: 650;
}


.logo-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.search-bar {
  flex: 1;
  display: flex;
  padding: 0px 10px;
  width: 650px;
  background-color: rgb(229, 253, 253);
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
}

.search-bar:focus-within {
  background-color: white;
  border: 1px solid rgb(34, 10, 253);

}

.search-bar input {
  width: 100%;
  background-color: transparent;
  outline: none;
  border: none;
}

.search-icon {
  text-align: center;
  margin-right: 10px;
  margin-top: 10px;
}


.login-btn {
  gap: 24px;
  display: flex;
}


.cart-link {
    display: flex;
    align-items: center;
    gap: 6px;

    text-decoration: none;
    color: #111;

    font-weight: 600;

    position: relative;
}

.cart-link i {
    font-size: 18px;
}

#cartCount {
    min-width: 18px;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 5px;

    border-radius: 50%;

    background: red;
    color: white;

    font-size: 11px;
}





.signup {
  background-color: rgb(158, 158, 158);
  border-radius: 6px;
  padding: 4px 6px;
  font-weight: 600;
  text-decoration: none;
  color: rgb(237, 237, 237);
}

.signup:hover {
  background-color: rgb(51, 51, 51);
  transition: all .4s ease-in-out;
}

.bottom-nav {
  display: flex;
  text-align: center;
  gap: 20px;
  padding: 10px 32px
}

.hamburger {
    flex-shrink: 0;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 17px;

    color: #111;

    cursor: pointer;
}

.nav-links {
  list-style: none;
  align-items: center;
  display: flex;
  gap:80px;
  overflow-x: auto;
  /* overflow:scroll */
}

.nav-links li {
  flex-shrink: 0;
}


.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links li a {
  text-decoration: none;
  color: black;
  font-weight: 600;
  white-space: nowrap;
}

.nav-links li a:hover {
  color: blue;
}


/* ======for sub categories============================================================= */
/* Kitchen & Home dropdown */
/* Mega Menu Parent */
/* .nav-mega {
    position: static;
}

.mega-menu {
    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;

    box-sizing: border-box;

    background: #fff;

    display: none;

    grid-template-columns: repeat(5, 1fr);

    gap: 40px;

    padding: 28px 40px;

    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);

    z-index: 10000;
}

.nav-mega:hover .mega-menu {
    display: grid;
}


.mega-column {
    display: flex;
    flex-direction: column;
}

.mega-column h3 {
    margin: 0 0 18px;

    font-size: 17px;
    font-weight: 700;

    color: #222;
}

.mega-column a {
    text-decoration: none;

    color: #333;

    font-size: 15px;

    padding: 8px 0;

    transition: color 0.2s ease;
}

.mega-column a:hover {
    color: #2874f0;
} */





.bottom-nav {
    position: relative;

    display: flex;
    align-items: center;

    gap: 20px;

    padding: 10px 32px;

    background: white;

    z-index: 1000;
}


/* Hamburger */

.hamburger {
    flex-shrink: 0;

    display: flex;
    align-items: center;

    font-size: 16px;

    color: black;

    cursor: pointer;
}


/* Navigation */

.nav-links {
    list-style: none;

    display: flex;
    align-items: center;

    gap: 70px;

    margin: 0;
    padding: 0;

    overflow-x: auto;
    overflow-y: visible;

    white-space: nowrap;

    flex: 1;
}

.nav-links::-webkit-scrollbar {
    display: none;
}


.nav-links li {
    flex-shrink: 0;
}


.nav-links li a {
    text-decoration: none;

    color: black;

    font-weight: 600;

    font-size: 16px;
}

.nav-links li a:hover {
    color: #2874f0;
}







/* =============================================================
Mega-Container(navbar elements hover effect and for subcategories
===================================================================*/


.mega-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    z-index: 9999;
}


.mega-menu {
    display: none;
    width: 100%;
    box-sizing: border-box;

    grid-template-columns: repeat(5, 1fr);
    gap: 35px;

    padding: 30px 45px;

    background: #fff;

    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);

    animation: megaMenuOpen 0.18s ease;
}

.mega-column {
    display: flex;

    flex-direction: column;

    min-width: 0;
}


.mega-column h3 {
    margin: 0 0 15px;

    font-size: 17px;

    font-weight: 700;

    color: #222;
}


.mega-column a {
    text-decoration: none;

    color: #333;

    font-size: 15px;

    padding: 7px 0;

    transition: color 0.2s ease;
}


.mega-column a:hover {
    color: #2874f0;
}















.slider {
  position: relative;
  width: 95%;
  height: 370px;
  display: flex;
  margin: 32px auto;
  overflow: hidden;
}

.slides {
  width: 100%;
  height: 100%;
  display: flex;
}

.slide {
  width: 100%;
  height: 100%;
  display: flex;
  flex-shrink: 0;
  object-fit: cover;
}

.dots {
  position: absolute;
  gap: 8px;
  display: flex;
  left: 50%;
  bottom: 20px;
  cursor: pointer;
}

.dot {
  background-color: white;
  width: 12px;
  height: 12px;
  border-radius: 8px;
}

.dot.active {
  background-color: rgb(118, 118, 118);
  width: 16px;
}



.home-products {
  margin: 32px auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  padding: 24px;
  background-color: rgb(254, 254, 254);
}

.product-section,
.side-section {

  background-color: rgb(237, 239, 241);
  border: 1px solid;
  border-radius: 8px;
  min-height: 500px;
}


.section-header {
  display: flex;
  justify-content: space-between;
  padding: 16px;
  align-items: center;
}


.section-info h3 {
  font-size: 20px;
  font-weight: 700;
}

.section-info p {
  font-size: 10px;
  color: rgb(120, 120, 120);
}


.section-action a {
  text-decoration: none;
  color: rgb(232, 81, 0);
  font-weight: 600;
}

.arrow-btn {
  display: flex;
  gap: 8px;
}

.arrow-btn button {

  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background-color: rgb(220, 221, 221);
}


.product-card {
  border: 1px solid #dfe5eb;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  align-self: start;
  height: fit-content;
}


.product-img {
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
}


.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail {
  border-top: 1px solid rgb(224, 221, 221);
  padding: 12px;
  position: relative;
}

.product-price {
  font-size: 16px;
  font-weight: 700;
  display: flex;
}

.product-price span {
  font-size: 12px;
  font-weight: 400;
}

.product-sold {
  font-size: 10px;
  font-weight: 700;
  color: #475569;
  margin-top: 4px;
}

.product-name {
  /* margin: 6px 0; */

  font-size: 13px;
  color: #475569;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-bottom {
  display: flex;
  align-items: center;
  gap: 6px;
}


.old-price {
  font-size: 11px;
  color: #64748b;
  text-decoration: line-through;
}



.discount {
  font-size: 11px;
  color: #ff3b6b;
}


.product-window {
  width: 100%;
  overflow: hidden;
}

.product-track {
  display: flex;
  transition: transform 0.5s ease;

}

.product-page {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}




/* ===============================
   TOP BRANDS
================================ */

.top-brands-section {
  width: 100%;
  padding: 22px 8px;
  background: #fff;
}

.top-brands-header {
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-brands-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #222;
}


/* ===============================
   BRANDS WINDOW
================================ */

.brands-window {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
}

/* ===============================
   BRANDS TRACK
================================ */

.brands-track {
    display: flex;
    gap: 10px;
    width: max-content;
}

/* ===============================
   BRAND CARD
================================ */

.brand-card {
  flex: 0 0 155px;
  background: #fff;
  border: 1px solid #e1e5eb;
  border-radius: 8px;
  overflow: hidden;
}


/* ===============================
   IMAGE
================================ */

.brand-image {
  position: relative;
  width: 100%;
  height: 155px;
  background: #f5f5f5;
}

.brand-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ===============================
   EMI BADGE
================================ */

.emi-badge {
  position: absolute;
  left: 0;
  bottom: 0;

  background: #ff6b00;
  color: #fff;

  padding: 4px 9px;

  font-size: 10px;
  font-weight: 600;

  border-radius: 0 4px 0 0;
}


/* ===============================
   BRAND DETAILS
================================ */

.brand-detail {
  padding: 8px;
}

.brand-detail h3 {
  margin: 0 0 4px;

  font-size: 14px;
  font-weight: 600;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-category {
  margin: 0 0 6px;

  font-size: 11px;
  color: #666;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* ===============================
   PRICE
================================ */

.brand-price {
  margin: 0;

  font-size: 13px;
  font-weight: 600;
}

.brand-price span {
  margin-left: 4px;

  font-size: 10px;
  color: #777;

  text-decoration: line-through;
}


/* ===============================
   MONTHLY PRICE
================================ */

.brand-monthly {
  margin: 3px 0 0;

  font-size: 14px;
  font-weight: 700;
}


.brand-arrows {
  display: flex;
  gap: 6px;
}

.brand-arrows button {
  width: 28px;
  height: 28px;

  border: none;
  border-radius: 50%;

  background: #f1f3f5;

  cursor: pointer;

  font-size: 18px;
}


.trending-section {
  width: 100%;
  padding: 20px 8px;
  background: #fff;
}


.trending-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 14px;
}


.trending-header h2 {
  margin: 0;

  font-size: 20px;
  font-weight: 700;
}


.trending-arrows {
  display: flex;
  gap: 6px;
}


.trending-arrows button {
  width: 28px;
  height: 28px;

  border: none;
  border-radius: 50%;

  background: #f1f3f5;

  cursor: pointer;

  font-size: 18px;
}


/* WINDOW */

.trending-window {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
}


/* TRACK */

.trending-track {
    display: flex;
    gap: 10px;
    width: max-content;
}


/* CARD */

.trending-card {
  flex: 0 0 155px;

  background: #fff;

  border: 1px solid #e1e5eb;

  border-radius: 8px;

  overflow: hidden;
}


/* IMAGE */

.trending-image {
  position: relative;

  width: 100%;
  height: 155px;

  background: #f5f5f5;
}


.trending-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}


/* EMI */

.trending-emi {
  position: absolute;

  left: 0;
  bottom: 0;

  background: #ff6b00;

  color: white;

  padding: 4px 8px;

  font-size: 10px;
  font-weight: 600;
}


/* DETAILS */

.trending-detail {
  padding: 8px;
}


.trending-detail h3 {
  margin: 0 0 4px;

  font-size: 14px;

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;
}


.trending-category {
  margin: 0 0 6px;

  font-size: 11px;

  color: #666;

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;
}


.trending-price {
  margin: 0;

  font-size: 13px;

  font-weight: 600;
}


.trending-price span {
  margin-left: 4px;

  font-size: 10px;

  color: #777;

  text-decoration: line-through;
}


.trending-monthly {
  margin: 3px 0 0;

  font-size: 14px;

  font-weight: 700;
}

.new-section {
  background-color: #fff;
  width: 100%;
  padding: 20px 8px;
}

.new-window {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
}


.new-track {
    display: flex;
    gap: 10px;
    width: max-content;
}


.new-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.new-header h2 {
  margin: 0;
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 700;
}

.new-arrows{
  display: flex;
  gap: 6px;
}

.new-arrows button{
  width: 28px;
  height: 28px;

  border: none;
  border-radius: 50%;

  background: #f1f3f5;

  cursor: pointer;

  font-size: 18px;
}



/* CARD */

.new-card {
  flex: 0 0 155px;

  background: #fff;

  border: 1px solid #e1e5eb;

  border-radius: 8px;

  overflow: hidden;
}


/* IMAGE */

.new-image {
  position: relative;

  width: 100%;
  height: 155px;

  background: #f5f5f5;
}


.new-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}


/* EMI */

.new-emi {
  position: absolute;

  left: 0;
  bottom: 0;

  background: #ff6b00;

  color: white;

  padding: 4px 8px;

  font-size: 10px;
  font-weight: 600;
}


/* DETAILS */

.new-detail {
  padding: 8px;
}


.new-detail h3 {
  margin: 0 0 4px;

  font-size: 14px;

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;
}


.new-category {
  margin: 0 0 6px;

  font-size: 11px;

  color: #666;

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;
}


.new-price {
  margin: 0;

  font-size: 13px;

  font-weight: 600;
}


.new-price span {
  margin-left: 4px;

  font-size: 10px;

  color: #777;

  text-decoration: line-through;
}


.new-monthly {
  margin: 3px 0 0;

  font-size: 14px;

  font-weight: 700;
}


.footer{
  background-color:rgb(212, 212, 212);
  width: 100%;
  margin-top:0px;
  padding: 40px 30px;
}

.footer{
  display: flex;
  justify-content: space-between;
  gap: 30px;
}


.quick-links h3{
  color: #1f1f1f;
  font-weight: 600;
}
.quick-links a{
text-decoration: none;
font-size: 14px;
font-weight: 500;
color: #666;
}




.quick-links li{
  list-style: none;
  padding: 2px;
}

.support-links h3{
  color: #1f1f1f;
  font-weight: 600;
  
}

.support-links a {
  text-decoration: none;
  color: #666;
  font-weight: 500;
  font-size: 14px;
}

.support-links li {
 list-style: none;
 padding: 2px;
}

.footer-logo h2{
  margin-bottom: 10px;
  color: #222;
}
.footer-logo h2 span{
  font-weight: 300;
  color: #666;
}

.p-footer-1{
  font-size: 12px;
  color: #666;
  margin-bottom: 5px;
}

.p-footer-2{
  font-size: 8px;
  color: #666;
  margin-bottom: 5px;
}

.p-footer-3{
  font-size: 10px;
  color: #666;
  margin-bottom: 5px;
}




/* =====================================
   HAMBURGER SIDE MENU
===================================== */

/* ==============================
   HAMBURGER DRAWER
================================ */

.hamburger-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;

    background: white;

    z-index: 10001;

    overflow-y: auto;

    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.18);

    transition: left 0.3s ease;
}

.hamburger-drawer.open {
    left: 0;
}


/* HEADER */

.drawer-header {
    height: 64px;

    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #eeeeee;
}

.drawer-header h2 {
    margin: 0;

    font-size: 22px;
    font-weight: 700;
}


/* CLOSE BUTTON */

#drawerCloseBtn {
    width: 36px;
    height: 36px;

    border: none;
    border-radius: 50%;

    background: #f5f5f5;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    font-size: 17px;
}


/* LOGIN */

.drawer-auth {
    padding: 18px 20px;

    border-bottom: 1px solid #eeeeee;
}

.drawer-login-btn {
    width: 100%;
    height: 45px;

    border: none;
    border-radius: 6px;

    background: #2874f0;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;




    .drawer-login-btn {
    width: 100%;
    height: 45px;

    border: none;
    border-radius: 6px;

    background: #2874f0;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    text-decoration: none;



    
}
}

.drawer-login-btn,
.drawer-login-btn:hover,
.drawer-login-btn:visited,
.drawer-login-btn:active {
    text-decoration: none;
    color: white;}










/* DRAWER LINKS */

.drawer-links {
    display: flex;
    flex-direction: column;
}

.drawer-links a {
    min-height: 52px;

    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-sizing: border-box;

    text-decoration: none;

    color: #222;

    font-size: 15px;
    font-weight: 500;

    border-bottom: 1px solid #f0f0f0;
}

.drawer-links a:hover {
    background: #f7f9fc;
    color: #2874f0;
}

.drawer-links i {
    font-size: 11px;
    color: #888;
}


/* EXTRA LINKS */

.drawer-extra-links {
    margin-top: 10px;

    border-top: 8px solid #f5f5f5;

    display: flex;
    flex-direction: column;
}

.drawer-extra-links a {
    padding: 15px 20px;

    text-decoration: none;

    color: #555;

    font-size: 14px;

    border-bottom: 1px solid #eeeeee;
}


/* OVERLAY */

.drawer-overlay {
    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.4);

    z-index: 10000;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.drawer-overlay.show {
    opacity: 1;
    visibility: visible;
}


/* PREVENT PAGE SCROLL */

body.drawer-open {
    overflow: hidden;
}


/* =========================================================
   PRODUCT DETAIL PAGE
========================================================= */

.product-detail-page {
    width: 92%;
    max-width: 1250px;
    margin: 35px auto;
    
    display: grid;
    grid-template-columns: 48% 52%;
    
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.product-detail-image {
    min-height: 520px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    padding: 35px;
    background: #f8fafc;
    
    border-right: 1px solid #e5e7eb;
}


.product-detail-image img {
    width: 100%;
    max-width: 500px;
    height: 450px;
    
    object-fit: contain;
    
    transition: transform 0.3s ease;
}


.product-detail-image img:hover {
    transform: scale(1.04);
}


/* =========================================================
   PRODUCT INFORMATION
========================================================= */

.product-detail-info {
    padding: 45px;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* Product Name */

.product-detail-info h1 {
    margin: 0 0 12px;
    
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
    
    color: #111827;
}


/* Category */

#productCategory {
    margin: 0 0 20px;
    
    font-size: 14px;
    color: #64748b;
    
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Current Price */

#productPrice {
    margin: 0 0 8px;
    
    font-size: 32px;
    font-weight: 750;
    
    color: #111827;
}


/* Old Price */

#productOldPrice {
    margin: 0 0 8px;
    
    font-size: 17px;
    color: #64748b;
    
    text-decoration: line-through;
}


/* Discount */

#productDiscount {
    display: inline-block;
    width: fit-content;
    
    margin: 0 0 28px;
    
    padding: 6px 10px;
    
    border-radius: 5px;
    
    background: #dcfce7;
    color: #15803d;
    
    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   PRODUCT BUTTONS
========================================================= */

#addToCartBtn,
#buyNowBtn {
    width: 100%;
    max-width: 420px;
    
    height: 50px;
    
    border-radius: 7px;
    
    font-size: 16px;
    font-weight: 650;
    
    cursor: pointer;
    
    transition: all 0.25s ease;
}


/* Add To Cart */

#addToCartBtn {
    margin-bottom: 12px;
    
    border: 1px solid #2874f0;
    
    background: white;
    color: #2874f0;
}


#addToCartBtn:hover {
    background: #2874f0;
    color: white;
}


/* Buy Now */

#buyNowBtn {
    border: 1px solid #ff6b00;
    
    background: #ff6b00;
    color: white;
}


#buyNowBtn:hover {
    background: #e85f00;
    transform: translateY(-1px);
}


/* =========================================================
   PRODUCT BENEFITS
========================================================= */

.product-detail-info::after {
    content: "✓ Secure Payment     ✓ Easy Returns     ✓ Fast Delivery";
    
    display: block;
    
    margin-top: 28px;
    
    font-size: 13px;
    line-height: 1.8;
    
    color: #64748b;
}






/* =========================
   ACCOUNT DROPDOWN
========================= */

.login-btn {
    position: relative;
}

.account-trigger {
    text-decoration: none;
    cursor: pointer;
}

.account-menu {
    position: absolute;

    top: 55px;
    right: 70px;

    width: 250px;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 12px;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);

    padding: 10px 0;

    display: none;

    z-index: 9999;
}

.account-menu.show {
    display: block;
}

.account-info {
    padding: 12px 16px;
}

.account-name {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 5px;
}

.account-email,
.account-mobile {
    font-size: 13px;
    color: #6b7280;
    margin-top: 3px;
}

.account-divider {
    height: 1px;
    background: #eeeeee;
    margin: 5px 0;
}

.account-menu-item {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 12px 16px;

    background: transparent;

    border: none;

    text-decoration: none;

    font-size: 14px;

    color: #374151;

    cursor: pointer;

    text-align: left;
}

.account-menu-item:hover {
    background: #f5f6f8;
}

.account-menu-item i {
    width: 18px;
}

.logout-menu-btn {
    font-family: inherit;
}







/* =========================================
   SEARCH AUTOCOMPLETE FIX
========================================= */

.search-bar {
    position: relative;
    height: 42px;
    align-items: center;
}

.search-suggestions {
    position: absolute !important;

    top: calc(100% + 6px);
    left: 0;

    width: 100%;

    max-height: 320px;
    overflow-y: auto;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 10px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);

    display: none;

    z-index: 99999;

    text-align: left;
}

.search-suggestions.active {
    display: block;
}


/* Suggestion item */

.search-suggestion-item {
    display: flex;

    align-items: center;

    gap: 12px;

    width: 100%;

    padding: 10px 12px;

    cursor: pointer;

    border-bottom: 1px solid #f1f1f1;

    background: #ffffff;
}

.search-suggestion-item:hover {
    background: #f7f8fa;
}


/* Product image */

.search-suggestions .search-suggestion-image {
    width: 50px !important;
    height: 50px !important;

    min-width: 50px;
    max-width: 50px;

    object-fit: cover;

    border-radius: 7px;

    margin: 0 !important;
}


/* Product information */

.search-suggestion-info {
    flex: 1;

    min-width: 0;
}

.search-suggestion-name {
    font-size: 14px;
    font-weight: 600;

    color: #111827;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-suggestion-price {
    margin-top: 4px;

    font-size: 13px;

    color: #6b7280;
}


/* Loading / no result */

.search-loading,
.search-no-result {
    padding: 14px;

    text-align: center;

    font-size: 14px;

    color: #6b7280;
}









/* =========================================
   HORIZONTAL PRODUCT SCROLLBARS
========================================= */

.brands-window::-webkit-scrollbar,
.trending-window::-webkit-scrollbar,
.new-window::-webkit-scrollbar {
    height: 7px;
}

.brands-window::-webkit-scrollbar-track,
.trending-window::-webkit-scrollbar-track,
.new-window::-webkit-scrollbar-track {
    background: #f1f3f5;
    border-radius: 10px;
}

.brands-window::-webkit-scrollbar-thumb,
.trending-window::-webkit-scrollbar-thumb,
.new-window::-webkit-scrollbar-thumb {
    background: #b8b8b8;
    border-radius: 10px;
}

.brands-window::-webkit-scrollbar-thumb:hover,
.trending-window::-webkit-scrollbar-thumb:hover,
.new-window::-webkit-scrollbar-thumb:hover {
    background: #888;
}


.brands-window,
.trending-window,
.new-window {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;

    /* Hide scrollbar */
    scrollbar-width: none;      /* Firefox */
    -ms-overflow-style: none;   /* IE/Edge */
}

.brands-window::-webkit-scrollbar,
.trending-window::-webkit-scrollbar,
.new-window::-webkit-scrollbar {
    display: none;
}














/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 900px) {

    .product-detail-page {
        width: 94%;
        grid-template-columns: 1fr;
    }


    .product-detail-image {
        min-height: 420px;
        
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }


    .product-detail-image img {
        height: 380px;
    }


    .product-detail-info {
        padding: 35px;
    }

}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 600px) {

    .product-detail-page {
        width: 94%;
        margin: 20px auto;
        
        border-radius: 8px;
    }


    .product-detail-image {
        min-height: 320px;
        padding: 20px;
    }


    .product-detail-image img {
        height: 280px;
    }


    .product-detail-info {
        padding: 25px 20px;
    }


    .product-detail-info h1 {
        font-size: 24px;
    }


    #productPrice {
        font-size: 27px;
    }


    #productOldPrice {
        font-size: 15px;
    }


    #addToCartBtn,
    #buyNowBtn {
        max-width: 100%;
    }

}





















































/* =====================================
   MOBILE RESPONSIVE
===================================== */

@media (max-width: 768px) {

    .bottom-nav {
        padding: 10px 15px;
        gap: 12px;
    }

    .hamburger {
        font-size: 17px;
    }

    .nav-links {
        gap: 25px;
    }

    .nav-links li a {
        font-size: 14px;
    }


    /* Mega Menu */

    .mega-menu {
        grid-template-columns: repeat(2, 1fr);

        gap: 20px;

        padding: 20px;

        max-height: 70vh;
        overflow-y: auto;
    }

    .mega-column {
        padding-right: 15px;
    }

    .mega-column h3 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .mega-column a {
        font-size: 13px;
        padding: 5px 0;
    }

}






/* ================================================================
very Small phone 
==================================================================== */


@media (max-width: 480px) {

    .bottom-nav {
        padding: 9px 12px;
    }

    .nav-links {
        gap: 22px;
    }

    .nav-links li a {
        font-size: 13px;
    }

    .mega-menu {
        grid-template-columns: 1fr;
        gap: 15px;

        padding: 18px 20px;
    }

    .mega-column {
        border-right: none;
        border-bottom: 1px solid #eeeeee;

        padding-right: 0;
        padding-bottom: 12px;
    }

    .mega-column:last-child {
        border-bottom: none;
    }

}







/* =====================================
   TABLET RESPONSIVE
===================================== */

@media (max-width: 1024px) {

    .bottom-nav {
        padding: 10px 20px;
        gap: 15px;
    }

    .nav-links {
        gap: 35px;
    }

    .nav-links li a {
        font-size: 14px;
    }

    .mega-menu {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;

        padding: 25px 30px;
    }

    .mega-column {
        padding-right: 18px;
    }

    .mega-column h3 {
        font-size: 15px;
    }

    .mega-column a {
        font-size: 13px;
        padding: 5px 0;
    }
}






/* MOBILE (hamburger) */

@media (max-width: 480px) {

    .hamburger-drawer {
        width: 290px;
        max-width: 88vw;
    }

    .drawer-header {
        padding: 0 16px;
    }

    .drawer-links a {
        padding: 0 16px;
    }

    .drawer-extra-links a {
        padding: 14px 16px;
    }
}



/* =========================================================
   CARTLIO MOBILE RESPONSIVE FIX
   ========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}


/* =========================================================
   MOBILE HEADER
   ========================================================= */

@media (max-width: 768px) {

    .top-nav {
        display: grid;

        grid-template-columns: minmax(0, 1fr) auto;

        grid-template-areas:
            "logo actions"
            "search search";

        align-items: center;

        gap: 10px;

        padding: 10px 12px;

        width: 100%;
    }


    /* LOGO */

   .logo-link {
    grid-area: logo;

    min-width: 0;

    justify-self: start;
    text-align: left;
}

.logo {
    text-align: left;
}

    .logo h2 {
        font-size: 22px;
        white-space: nowrap;
    }


    /* SEARCH */

    .search-bar {
        grid-area: search;

        width: 100%;

        min-width: 0;

        height: 40px;

        padding: 0 10px;

        display: flex;

        align-items: center;
    }

    .search-bar input {
        min-width: 0;
        width: 100%;
        font-size: 14px;
    }

    .search-icon {
        margin-top: 0;

        display: flex;

        align-items: center;

        justify-content: center;
    }


    /* SIGNUP / LOGIN / CART */

    .login-btn {
        grid-area: actions;

        display: flex;

        align-items: center;

        gap: 7px;

        flex-shrink: 0;
    }

    .signup {
        padding: 7px 8px;

        font-size: 12px;

        white-space: nowrap;
    }

    .cart-link {
        gap: 4px;

        font-size: 12px;

        white-space: nowrap;
    }

    .cart-link i {
        font-size: 17px;
    }

    #cartCount {
        min-width: 17px;
        width: 17px;
        height: 17px;

        font-size: 10px;
    }


    /* =====================================================
       BOTTOM NAVIGATION
       ===================================================== */

    .bottom-nav {
        width: 100%;

        padding: 8px 12px;

        gap: 8px;

        overflow: hidden;
    }

    .hamburger {
        width: 32px;
        height: 32px;

        flex-shrink: 0;
    }

    .nav-links {
        flex: 1;

        min-width: 0;

        gap: 22px;

        overflow-x: auto;
        overflow-y: hidden;

        scrollbar-width: none;

        -ms-overflow-style: none;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links li {
        flex-shrink: 0;
    }

    .nav-links li a {
        font-size: 13px;

        white-space: nowrap;
    }


    /* =====================================================
       MAIN BANNER / SLIDER
       ===================================================== */

    .slider {
        width: calc(100% - 24px);

        height: 210px;

        margin: 14px auto;

        overflow: hidden;
    }

    .slides,
    .slide {
        width: 100%;
        height: 100%;
    }

    .slide {
        object-fit: cover;
    }

    .dots {
        bottom: 20px;

        left: 50%;

        transform: translateX(-50%);
    }


    /* =====================================================
       BEST SELLERS / DEALS / DEALS UNDER 199
       ===================================================== */

    .home-products {
        width: 100%;

        margin: 16px auto;

        padding: 12px;

        display: grid;

        grid-template-columns: 1fr;

        gap: 12px;
    }

    .product-section,
    .side-section {
        width: 100%;

        min-width: 0;

        min-height: auto;
    }

    .section-header {
        padding: 12px;
    }

    .section-info h3 {
        font-size: 18px;
    }


    /* PRODUCTS INSIDE SECTION */

    .product-page {
        width: 100%;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 8px;
    }

    .product-card {
        min-width: 0;
    }

    .product-img {
        height: 130px;
    }


    /* =====================================================
       TOP BRANDS / TRENDING / NEW ON CARTLIO
       ===================================================== */

    .all-prdocuts {
        width: 100%;

        min-width: 0;
    }

    .top-brands-section,
    .trending-section,
    .new-section {
        width: 100%;

        padding: 16px 10px;

        min-width: 0;
    }

    .top-brands-header,
    .trending-header,
    .new-header {
        width: 100%;
    }

    .top-brands-header h2,
    .trending-header h2,
    .new-header h2 {
        font-size: 18px;
    }

    .brands-window,
    .trending-window,
    .new-window {
        width: 100%;

        min-width: 0;

        overflow-x: auto;

        overflow-y: hidden;

        scrollbar-width: none;

        -ms-overflow-style: none;
    }

    .brands-window::-webkit-scrollbar,
    .trending-window::-webkit-scrollbar,
    .new-window::-webkit-scrollbar {
        display: none;
    }

    .brand-card,
    .trending-card,
    .new-card {
        flex: 0 0 150px;
    }


    /* =====================================================
       FOOTER
       ===================================================== */

    .footer {
        width: 100%;

        display: grid;

        grid-template-columns: 1fr;

        gap: 24px;

        padding: 28px 18px;

        box-sizing: border-box;
    }

    .footer-logo,
    .quick-links,
    .support-links,
    .down-snapmint {
        width: 100%;

        min-width: 0;
    }

    .footer-logo h2 {
        font-size: 22px;
    }

    .p-footer-2 {
        font-size: 9px;

        line-height: 1.5;
    }

    .quick-links h3,
    .support-links h3 {
        font-size: 17px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .top-nav {
        padding: 9px 10px;
    }

    .logo h2 {
        font-size: 20px;
    }

    .signup {
        padding: 6px 7px;

        font-size: 11px;
    }

    .cart-link {
        font-size: 11px;
    }

    .bottom-nav {
        padding: 7px 10px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links li a {
        font-size: 12px;
    }

    .slider {
        width: calc(100% - 20px);

        height: 190px;
    }

    .home-products {
        padding: 10px;
    }

    .product-page {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 7px;
    }

    .product-img {
        height: 115px;
    }

    .footer {
        padding: 24px 15px;
    }
}





/* =========================================
   CARTLIO HEADER UPDATE
   ========================================= */

/* Hide bottom navbar on desktop and mobile */
.bottom-nav {
    display: none !important;
}

/* Top header - desktop */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

/* Hamburger + logo wrapper */
.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Hamburger styling */
.logo-area .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    font-size: 19px;
    color: #111;

    cursor: pointer;
    flex-shrink: 0;
}

/* Logo */
.logo-area .logo-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.logo-area .logo {
    text-align: left;
}

.logo-area .logo h2 {
    margin: 0;
    white-space: nowrap;
}

/* Desktop search bar */
.search-bar {
    flex: 1 1 auto;
    width: auto;
    min-width: 250px;
    max-width: none;
}

/* Drawer should remain above page content */
.hamburger-drawer {
    z-index: 10001;
}

/* No empty category space in drawer */
.drawer-links {
    display: none !important;
}

.drawer-extra-links {
    margin-top: 0;
}


/* =========================================
   MOBILE HEADER
   ========================================= */

@media (max-width: 768px) {

    .top-nav {
        display: grid;

        grid-template-columns: minmax(0, 1fr) auto;

        grid-template-areas:
            "brand actions"
            "search search";

        align-items: center;
        gap: 10px;

        width: 100%;
        padding: 10px 12px;

        text-align: left;
    }

    /* Hamburger + logo stay on the left */
    .logo-area {
        grid-area: brand;

        display: flex;
        align-items: center;
        justify-content: flex-start;

        gap: 8px;
        min-width: 0;
    }

    .logo-area .hamburger {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .logo-area .logo h2 {
        font-size: 21px;
        white-space: nowrap;
    }

    /* Signup, Login and Cart stay on the right */
    .login-btn {
        grid-area: actions;

        display: flex;
        align-items: center;
        justify-content: flex-end;

        gap: 6px;
        min-width: 0;
        flex-shrink: 0;
    }

    .signup {
        padding: 6px 8px;
        font-size: 11px;
        white-space: nowrap;
    }

    .cart-link {
        display: flex;
        align-items: center;
        gap: 4px;

        font-size: 11px;
        white-space: nowrap;
    }

    .cart-link i {
        font-size: 17px;
    }

    #cartCount {
        min-width: 17px;
        width: 17px;
        height: 17px;
        font-size: 10px;
    }

    /* Search occupies the second row */
    .search-bar {
        grid-area: search;

        width: 100%;
        max-width: none;
        min-width: 0;
        height: 40px;

        display: flex;
        align-items: center;
        padding: 0 10px;
    }

    .search-bar input {
        width: 100%;
        min-width: 0;
        font-size: 14px;
    }

    .search-icon {
        margin-top: 0;
    }

    /* Drawer sizing */
    .hamburger-drawer {
        width: 320px;
        max-width: 85vw;
    }

    .drawer-header {
        padding: 0 16px;
    }

    .drawer-auth {
        padding: 16px;
    }

    .drawer-extra-links a {
        padding: 15px 16px;
    }
}


/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 480px) {

    .top-nav {
        padding: 9px 10px;
        gap: 8px;
    }

    .logo-area {
        gap: 6px;
    }

    .logo-area .hamburger {
        width: 28px;
        height: 28px;
        font-size: 17px;
    }

    .logo-area .logo h2 {
        font-size: 20px;
    }

    .login-btn {
        gap: 4px;
    }

    .signup {
        padding: 5px 6px;
        font-size: 10px;
    }

    .cart-link {
        font-size: 10px;
    }

    .cart-link i {
        font-size: 16px;
    }
}

/* Hide bottom category navbar everywhere */
.bottom-nav {
    display: none !important;
}





/* Center align search icon and input */
.search-bar {
    display: flex;
    align-items: center;
}

.search-icon {
    margin-top: 0 !important;
    align-self: center;
    line-height: 1;
    flex-shrink: 0;
}

.search-bar input {
    align-self: center;
}






/* Reduce banner slider height on mobile only */
@media (max-width: 768px) {
    .slider {
        height: 105px !important;
        margin: 12px auto;
    }
}

@media (max-width: 480px) {
    .slider {
        height: 130px !important;
    }
}






/* Remove default hamburger button styling */
.logo-area .hamburger {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none;

    padding: 0;
    border-radius: 0;

    color: #111;
    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
}

.logo-area .hamburger:hover,
.logo-area .hamburger:active {
    background: transparent !important;
    box-shadow: none !important;
}







