html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    color: #222;
}

header {
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav a {
    margin-left: 15px;
    text-decoration: none;
    color: #444;
    font-size: 14px;
}

nav a.active {
    font-weight: bold;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 25px;
}

.deal-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: left;
}

.deal-card img {
    width: 100%;
    border-radius: 6px;
}

.price {
    margin: 10px 0;
}

.price .old {
    text-decoration: line-through;
    color: #777;
    margin-left: 5px;
}

.price .off {
    margin-left: 6px;
    background: #ff3b30;
    color: #fff;
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 4px;
}

.store {
    font-size: 12px;
    color: #666;
}

.btn {
    display: inline-block;
    margin-top: 10px;
    background: #007aff;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}

footer {
    text-align: center;
    padding: 12px;
    background: #fff;
    border-top: 1px solid #ddd;
    margin-top: 20px;
}

.filters {
    display: flex;
    gap: 10px;
    padding: 15px 25px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.filter-btn {
    border: 1px solid #ccc;
    background: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

.filter-btn.active {
    background: #007aff;
    color: white;
    border-color: #007aff;
}

@media (max-width: 768px) {
    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .deals-grid {
        grid-template-columns: 1fr;
    }
}

.product-img {
    width: 100%;
    max-height: 180px;
    object-fit: contain;
    margin-bottom: 10px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0;
}

.rating-number {
  font-size: 0.9rem;
  color: #333;
  opacity: 0.8;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px 0px;
  background: white;
}

/* TOP NAV */
.top-nav {
  display: flex;
  gap: 15px;
  font-size: 0.9rem;
}

.top-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

/* LOGO */
.header_logo {
  width: 200px;
  height: auto;
  object-fit: contain;
  margin-bottom: 4px;
}

/* SEARCH BAR */
.search-box {
  width: 90%;
  max-width: 550px;
  margin-top: 4px;
  margin-bottom: 28px;
  display: flex;
  justify-content: center;
}

.search-box input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e6b800;
  border-radius: 12px;
  font-size: 1rem;
  border: 2px solid #ffd54f;
  border-radius: 14px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .header_logo{
        width: 240px
    }
}
  .top-nav {
    font-size: 0.8rem;
    gap: 10px;
  }

  /* TOGGLE BUTTON STYLE */
.theme-btn {
  background: #e6b800;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  color: #fff;
  font-weight: 600;
}

/* DARK MODE */
.dark-mode {
  background: #121212;
  color: #e0e0e0;
}

/* Header in dark */
.dark-mode header {
  background: #1e1e1e;
  border-bottom: 1px solid #333;
}

/* Nav links */
.dark-mode .top-nav a {
  color: #e0e0e0;
}

/* Search bar */
.dark-mode .search-box input {
  background: #222;
  border-color: #555;
  color: #eee;
}

/* Product card */
.dark-mode .deal-card {
  background: #1e1e1e;
  border: 1px solid #333;
}

/* Footer */
.dark-mode footer {
  background: #1e1e1e;
  border-top: 1px solid #333;
}

.dark-mode .rating-number {
  color: #fff;  /* make visible on dark */
  opacity: 0.9;
}

.dark-mode .rating span {
  color: #ffd54f;
}

/* Floating Dark Mode Toggle */
.toggle-btn {
    position: fixed;
    bottom: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 3px 10px rgba(0,0,0,0.25);
    transition: all 0.25s ease;
}

/* Hover effect (desktop) */
.toggle-btn:hover {
    transform: scale(1.1);
}

/* Light mode appearance */
body:not(.dark-mode) .toggle-btn {
    background: #ffb400;
    color: #222;
}

@media (max-width: 768px) {
  .toggle-btn {
    bottom: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
}

.toggle-btn {
  z-index: 9999;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 2px solid #007bff;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #007bff;
  transition: 0.2s ease;
}

.share-btn:hover {
  background: #007bff;
  color: white;
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

#products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
}

.rating-number {
  font-size: 14px;
  opacity: 0.8;
}

.site-footer {
  margin-top: 30px;
  padding: 20px 10px;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

.site-footer .name {
  font-weight: 600;
  color: #007aff;
}

.site-footer .disclaimer {
  font-size: 0.75rem;
  opacity: 0.8;
  margin: 6px 0 12px;
  line-height: 1.3;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-links a {
  color: #007aff;
  text-decoration: none;
  font-weight: 500;
}

.social-links a:hover {
  text-decoration: underline;
}

/* Dark Mode Support */
.dark-mode .site-footer {
  color: #bbb;
}

.dark-mode .site-footer .name {
  color: #ffd54f;
}

.dark-mode .social-links a {
  color: #ffd54f;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    padding: 10px 0;
}

.pagination button {
    background: #007bff;
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.pagination button:hover {
    opacity: 0.9;
}

.pagination .pages {
    display: flex;
    gap: 6px;
}

.pagination .page {
    color: white;
    background: #222;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.pagination .page.active {
    background: #007bff;
}

.pagination-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

#products {
    display: grid;
    gap: 18px;
    justify-content: center;
}

/* Desktop (large) */
@media (min-width: 1200px) {
    #products {
        grid-template-columns: repeat(5, 1fr);
        max-width: 1400px;
        margin: 0 auto;
    }
}

/* Laptop */
@media (min-width: 992px) and (max-width: 1199px) {
    #products {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    #products {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Phone */
@media (max-width: 767px) {
    #products {
        grid-template-columns: repeat(1, 1fr);
    }
}

.deal-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.deal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 6px 15px rgba(0,0,0,0.2);
}

.buy-btn {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s ease;
}

.buy-btn:hover {
  background: #0069d9;
}

.subfilters {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px 15px;
  margin-top: -10px;
  margin-bottom: 10px;
}

.subfilters::-webkit-scrollbar {
  height: 6px;
}

.subfilters button {
  background: #fff;
  border: 1px solid #ccc;
  padding: 6px 14px;
  border-radius: 18px;
  cursor: pointer;
  font-size: 13px;
  flex-shrink: 0;
}

.subfilters button.active {
  background: #007aff;
  color: white;
  border-color: #007aff;
}

#subfilters {
  display: flex;
  gap: 8px;
  padding: 10px 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

#subfilters::-webkit-scrollbar {
  display: none;
}

.sub-btn {
  padding: 6px 10px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #999;
  background: #fff;
  cursor: pointer;
}

.sub-btn.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.subfilters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch; /* ADD THIS */
  touch-action: pan-x; /* IMPORTANT */
}

.fashion-panel {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 6px;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 6px 12px;
  border-radius: 8px;
  background: #eee;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
  color: #333;
}

.tab-btn.active {
  background: #007bff;
  color: #fff;
}

.f-btn {
  padding: 8px 14px;
  margin: 5px;
  border-radius: 20px;
  border: 1px solid #ccc;
  background: #f7f7f7;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
}

.f-btn.active {
  background: #4a7dff;
  color: #fff;
  border-color: #4a7dff;
}

#fashion-gender, #fashion-sub {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

#fashion-sub {
  overflow-x: auto;
  scrollbar-width: none; /* hide scrollbar firefox */
}

#fashion-sub::-webkit-scrollbar {
  display: none; /* hide scrollbar chrome */
}

/* ADDING SOME NEW FILES  */

.category-bar {
  margin-top: 6px;
  margin-bottom: 6px;
}

.filter-btn {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 18px;
}

.category-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  padding: 0 10px;
}

.search-box {
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  .filter-btn {
    padding: 5px 10px;
    font-size: 12px;
  }

  .category-container {
    margin-bottom: 6px;
  }
}

.search-container {
  display: flex;
  align-items: center;
  border: 3px solid #f4c045; /* yellow border */
  padding: 10px 15px;
  border-radius: 50px;
  background: #ffffff;
  width: 90%;
  max-width: 600px;
  margin: 20px auto;
}

.search-container input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 16px;
  background: transparent;
}

.search-icon {
  font-size: 22px;
  margin-right: 10px;
  cursor: pointer;
  color: #005ad6;
}

/* Reduce gap between category bar & products */
.subfilters,
.category-filters {
  margin-bottom: 8px !important;
}

.products-container,
.products-grid {
  margin-top: 10px !important;
  padding-top: 0 !important;
}

/* ===== PAGINATION STYLING ===== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 25px 0;
}

/* Prev / Next */
.pg-prev,
.pg-next {
    padding: 8px 14px;
    border-radius: 8px;
    border: none;
    background: #1c1c1c; /* black */
    color: #fff;
    cursor: pointer;
    transition: 0.2s ease;
}

.pg-prev:hover,
.pg-next:hover {
    background: #2a2a2a;
}

/* Disabled state */
.pg-prev:disabled,
.pg-next:disabled {
    opacity: 0.4;
    cursor: default;
}

/* Page buttons */
.pg-pages {
    display: flex;
    gap: 6px;
}

/* Normal page button */
.pg-page {
    padding: 6px 12px;
    background: #1c1c1c; /* black */
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s ease;
}

/* Hover */
.pg-page:hover {
    background: #2a2a2a;
}

/* Active selected page */
.pg-page.active {
    background: #007aff;      /* selected blue */
    color: #fff;
    font-weight: 600;
    border: 2px solid #000;   /* highlight border */
    box-shadow: 0 0 6px rgba(0,0,0,0.4);
    pointer-events: none;     /* prevents clicking current */
}

/* Ellipsis dots (...) */
.pg-ellipsis {
    color: #aaa;
    padding: 6px 10px;
}

/* new */

.img-viewer {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.img-viewer img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.img-viewer .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 32px;
  color: white;
  cursor: pointer;
}

/* ===== Banner Slider ===== */
.banner-slider {
  width: 100%;
  max-width: 1200px;
  margin: 16px auto;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  display: block;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Dots */
.dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: #fff;
}

/* Mobile fix (banner not too tall) */
@media (max-width: 768px) {
  .banner-slider {
    border-radius: 12px;
  }
}

/* ===== TOP BRAND BAR (FIXED) ===== */
.top-brand-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: #111;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 14px;
  z-index: 2000;
}

/* MENU BUTTON */
.menu-btn {
  background: none;
  border: none;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
}

/* BRAND NAME CENTER */
.brand-name {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #b8be0d;
}

/* RIGHT ICONS */
.top-actions {
  display: flex;
  gap: 12px;
}

.icon-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
}

/* ===== HEADER CONTENT BELOW FIXED BAR ===== */
header {
  margin-top: 56px; /* pushes search + nav down */
  background: #111;
}

/* SEARCH BAR */
.search-container {
  padding: 10px 14px 14px;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
  .brand-name {
    font-size: 24px;
  }
}

/* LOGIN MODAL */
.login-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.login-box {
  background: #1a1a1a;
  padding: 24px;
  border-radius: 12px;
  width: 90%;
  max-width: 320px;
  text-align: center;
  color: #fff;
}

.login-box h3 {
  margin-bottom: 16px;
}

.google-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #000;
  border: none;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
}

.google-btn img {
  width: 18px;
}

.close-btn {
  margin-top: 12px;
  background: none;
  border: none;
  color: #aaa;
  cursor: pointer;
}

/* PROFILE AFTER LOGIN */
.profile-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.cart-icon {
  position: relative;
}

.cart-icon span {
  position: absolute;
  top: -6px;
  right: -6px;
  background: red;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 50%;
}

.img-wrap {
  position: relative;
  width: 100%;
  height: 180px;        /* 🔑 FIXED IMAGE AREA */
  margin-bottom: 12px; /* 🔑 SPACE FOR PRODUCT NAME */
}


.fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  border: none;
  font-size: 18px;
  padding: 6px 8px;
  border-radius: 50%;
  cursor: pointer;
  color: white;
  transition: 0.2s;
}

.fav-btn:hover {
  transform: scale(1.2);
  background: red;
}

/* ❤️ SAVED STATE */
.fav-btn.active {
  background: red;
  color: white;
}

/* FORCE CART ICON ON MOBILE */
.cart-icon {
  display: flex !important;
  align-items: center;
  gap: 4px;
  font-size: 20px;
  cursor: pointer;
}

/* mobile header fix */
@media (max-width: 768px) {
  .cart-icon {
    position: relative;
    margin-right: 10px;
  }
}

/* Cart page mobile fix */
@media (max-width: 768px) {
  #cartItems {
    padding: 12px;
  }

  #cartItems .deal-card {
    width: 100%;
    margin-bottom: 16px;
  }
}

/* MOBILE HEADER FIX */
@media (max-width: 768px) {
  header {
    height: auto !important;
    overflow: visible !important;
  }

  .cart-icon {
    display: flex !important;
    align-items: center;
    font-size: 20px;
    padding: 6px;
  }

  #cartCount {
    font-size: 12px;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
  }
}

/* ===== CART PAGE UI ===== */

.cart-card {
  display: flex;
  gap: 14px;
  background: #fff;
  padding: 14px;
  border-radius: 14px;
  margin: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.cart-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  background: #f4f4f4;
  border-radius: 10px;
  padding: 6px;
}

.cart-info {
  flex: 1;
}

.cart-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.cart-price {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 10px;
}

.cart-actions {
  display: flex;
  gap: 10px;
}

.remove-btn {
  background: #ff4d4d;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
}

.buy-btn {
  background: #007bff;
  color: white;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
}

.cart-img {
  max-width: 100px;
  pointer-events: none;
  touch-action: none;
}

/* TOP NAV TEXT COLOR FIX */
header nav a,
header .nav-links a,
header ul li a {
  color: #ffffff !important;
  font-weight: 500;
}

/* Optional: hover effect */
header nav a:hover {
  color: #ffd54f; /* soft yellow */
}

@media (max-width: 768px) {
  header nav a {
    color: #ffffff !important;
  }
}

/* OVERLAY */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 9998;
}

/* SIDE DRAWER MENU */

.mobile-menu.active {
  transform: translateX(0);
}


/* MENU LINKS */
.mobile-menu a {
  color: #fff;
  padding: 16px 20px;
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu a:hover {
  background: #222;
}

/* ACTIVE STATES */
.mobile-menu.active {
  transform: translateX(0);
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.menu-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid #2a2a2a;
  text-decoration: none;
}

.menu-profile:hover {
  background: #1c1c1c;
}

.menu-profile img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #222;
}

.menu-profile p {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.change-name-btn {
  background: none;
  color: #bbb;
  border: none;
  text-align: left;
  padding: 12px 20px;
  font-size: 14px;
  cursor: pointer;
}

.change-name-btn:hover {
  background: #1c1c1c;
  color: #fff;
}

.avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffcc00;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  text-transform: uppercase;
}

.profile-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
}

.menu-auth-btn {
  width: 90%;
  margin: 20px auto;
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  border: none;
  background: #ffcc00;
  color: #000;
  font-weight: bold;
  cursor: pointer;
}

.menu-content {
  flex: 1;
  overflow-y: auto;
}

.menu-footer {
  padding: 16px;
  border-top: 1px solid #333;
}

.menu-auth-btn {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border-radius: 10px;
  border: none;
  background: #ffcc00;
  font-weight: bold;
  cursor: pointer;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 12px 16px;
  font-size: 16px;
  color: #fff;
  text-decoration: none;

  width: 100%;
}

.menu-content {
  display: flex;
  flex-direction: column;
}

.mobile-menu a:hover {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
}

.menu-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;

  width: 80vw;          /* viewport based */
  max-width: 320px;
  height: 100vh;

  background: #1f1f1f;
  color: #fff;

  display: flex;
  flex-direction: column;

  transform: translateX(-100%);
  transition: transform 0.3s ease;

  z-index: 1001;

  box-sizing: border-box;
  overflow: hidden;    /* IMPORTANT */
}

.menu-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}

.menu-footer {
  padding: 16px;
  border-top: 1px solid #333;
}

.menu-auth-btn {
  width: 100%;
  background: #f4c430;
  color: #000;
  font-weight: bold;
  padding: 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.menu-close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 22px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

  background: rgba(0, 0, 0, 0.55);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  z-index: 998;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.mobile-menu.open {
  transform: translateX(0);
}

body.menu-open {
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  position: fixed;
}

html, body {
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.welcome-box {
  margin: 12px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #ffcc33, #ffb300);
  color: #222;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
}

.notify-box {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #1e1e1e;
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  font-size: 14px;
}

.notify-box button {
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.product-card {
  border: 1px solid #eee;
  padding: 12px;
  border-radius: 10px;
}

.product-card img {
  width: 100%;
  border-radius: 8px;
}

.price {
  font-weight: bold;
}

.mrp {
  text-decoration: line-through;
  color: #999;
  margin-left: 6px;
}

.discount {
  color: green;
  margin-left: 6px;
}

.rating {
  font-size: 14px;
}

/* ============================
   SEO PAGE RESET (IMPORTANT)
============================ */

body.seo-page {
  background: #ffffff;
  margin: 0;
  padding: 0;
}

/* Remove any fixed headers / overlays */
body.seo-page .top-brand-bar,
body.seo-page .menu-overlay,
body.seo-page #mobileMenu,
body.seo-page header,
body.seo-page nav {
  display: none !important;
}

/* Remove fake dark layers */
body.seo-page::before,
body.seo-page::after {
  display: none !important;
}

/* Proper layout */
body.seo-page .page-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px;
}

/* Typography */
body.seo-page .page-title {
  font-size: 2rem;
  margin-bottom: 10px;
}

body.seo-page .page-intro {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 20px;
}

/* Sections */
body.seo-page .seo-content p {
  line-height: 1.7;
  margin-bottom: 14px;
  color: #333;
}

body.seo-page .section-title {
  margin: 30px 0 15px;
  font-size: 1.4rem;
}

/* Product grid safety */
body.seo-page .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

/* Footer */
body.seo-page .page-footer {
  margin-top: 40px;
  padding-top: 15px;
  border-top: 1px solid #0f0e0e;
  font-size: 0.95rem;
}

.page-header {
  margin-bottom: 24px;
}

.page-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-intro {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.6;
}

/* ================================
   DEALS PAGE (CATEGORY HUB)
   Only affects deals.html
================================ */

/* page spacing */
body.seo-page .page-container {
  max-width: 1100px;
  margin: auto;
  padding: 20px 16px;
}

/* title */
body.seo-page .page-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-align: center;
}

/* subtitle */
body.seo-page .page-intro {
  text-align: center;
  color: #555;
  font-size: 1rem;
  margin-bottom: 28px;
}

/* category grid */
body.seo-page .deal-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

/* category card */
body.seo-page .deal-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 26px 20px;
  text-align: center;
  text-decoration: none;
  color: #111;

  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* hover effect */
body.seo-page .deal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

/* emoji icon */
body.seo-page .deal-card:first-child::before {
  content: "💄";
}
body.seo-page .deal-card:nth-child(2)::before {
  content: "👗";
}
body.seo-page .deal-card:nth-child(3)::before {
  content: "🛍️";
}

/* icon style */
body.seo-page .deal-card::before {
  display: block;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

/* card title */
body.seo-page .deal-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

/* card description */
body.seo-page .deal-card p {
  font-size: 0.9rem;
  color: #555;
}

/* mobile polish */
@media (max-width: 600px) {
  body.seo-page .page-title {
    font-size: 1.6rem;
  }

  body.seo-page .deal-card {
    padding: 22px 16px;
  }
}

/* ===== FINAL DEALS PAGE POLISH ===== */

/* Center the whole section nicely */
body.seo-page .page-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Better heading spacing */
body.seo-page .page-title {
  margin-top: 20px;
  margin-bottom: 6px;
}

/* Subtitle width control */
body.seo-page .page-intro {
  max-width: 600px;
  line-height: 1.6;
}

/* Cards container centering */
body.seo-page .deal-categories {
  margin-top: 32px;
  width: 100%;
}

/* Card refinement */
body.seo-page .deal-card {
  border: 1px solid #eee;
}

/* Smooth hover feel */
body.seo-page .deal-card:hover {
  border-color: #ffd54f;
}

/* Make cards feel clickable */
body.seo-page .deal-card h3 {
  font-weight: 700;
}

/* Better emoji alignment */
body.seo-page .deal-card::before {
  line-height: 1;
}

.back-btn {
  position: sticky;
  top: 10px;
  margin: 10px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  z-index: 1000;
}

.back-btn:hover {
  background: #f5f5f5;
}

.page-back-btn {
  position: sticky;
  top: 10px;
  margin: 10px 0;
  padding: 8px 14px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  z-index: 100;
}

.page-back-btn:hover {
  background: #f5f5f5;
}

.page-back-btn {
  display: inline-block;
  margin-bottom: 15px;
}

/* FINAL BACKGROUND LOCK — DO NOT MODIFY */
body.no-scroll {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
}

.seo-subtitle {
  font-size: 16px;
  margin: 12px 0 8px;
  color: #111;
}

/* =========================
   PROFESSIONAL MEESHO LANDING
   ========================= */

.meesho-landing {
  background: #f5f6f8 !important;
  color: #111;
}

/* TOP BAR */
.landing-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #ffffff;
  border-bottom: 1px solid #eee;
}

.landing-topbar .back-link {
  text-decoration: none;
  font-weight: 600;
  color: #dacdce;
}

.landing-topbar .brand {
  font-weight: 700;
}

/* HERO */
.landing-hero {
  background: linear-gradient(135deg, #e96c76, #ffc371);
  color: #fff;
  text-align: center;
  padding: 28px 16px;
}

.landing-hero h1 {
  font-size: 26px;
  margin-bottom: 6px;
}

.landing-hero p {
  font-size: 14px;
  opacity: 0.95;
}

/* TRUST */
.landing-trust {
  background: #ffffff;
  text-align: center;
  font-size: 13px;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

/* CONTAINER */
.landing-container {
  max-width: 1100px;
  margin: auto;
  padding: 16px;
}

/* ABOUT */
.landing-about {
  background: #ffffff;
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.landing-about p {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

/* PRODUCTS */
.landing-products h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.meesho-landing .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

/* CTA */
.landing-cta {
  text-align: center;
  margin: 22px 0;
  font-size: 14px;
}

.landing-cta a {
  display: inline-block;
  margin-top: 8px;
  text-decoration: none;
  font-weight: 600;
  color: #a59c9d;
}

/* FOOTER */
.landing-footer {
  text-align: center;
  padding: 14px;
  font-size: 13px;
  background: #ffffff;
  border-top: 1px solid #eee;
}

/* INTERNAL LINK TO ARCHIVE */
.archive-link {
  text-align: center;
  margin: 20px 0;
}

.archive-link a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #a6a0a1;
}

.archive-link a:hover {
  text-decoration: underline;
}

.benefit {
  font-size: 13px;
  color: #555;
  margin: 6px 0;
  line-height: 1.4;
}

.banner-slider {
  overflow: hidden;
  width: 100%;
}

.slides {
  display: flex;
  transition: transform 0.6s ease;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  display: block;
}

.back-btn {
  margin: 0 20px 10px;
  padding: 8px 14px;
  background: #ede8e8;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.back-btn:hover {
  background: #ada8a8;
}

.empty-cart {
  padding: 30px;
  text-align: center;
}

.shop-btn {
  padding: 10px 16px;
  background: #ddd5d5;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.cart-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #ddd;
  padding: 12px;
  text-align: center;
  z-index: 1000;
}

.footer-home-btn {
  display: inline-block;
  padding: 12px 20px;
  background: #111010;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}

.footer-home-btn:hover {
  background: #333;
}

body {
  padding-bottom: 80px;
}

.contact-section {
  padding: 30px 20px;
  max-width: 800px;
  margin: auto;
}

.contact-section h2 {
  margin-bottom: 10px;
  color: #ffb703;
}

.contact-section p {
  color: #ccc;
  line-height: 1.6;
}

.contact-details p {
  margin: 8px 0;
  font-size: 16px;
}

/* CONTACT PAGE */
.contact-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  padding: 20px;
}

.contact-card {
  background: #111827;
  border-radius: 14px;
  padding: 30px 25px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.contact-card h1 {
  color: #facc15;
  margin-bottom: 10px;
}

.contact-subtext {
  color: #cbd5f5;
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-info p {
  color: #e5e7eb;
  font-size: 15px;
  margin: 10px 0;
}

.disclaimer {
  margin-top: 18px;
  font-size: 12px;
  color: #9ca3af;
}

.contact-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 18px;
  background: #facc15;
  color: #111;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

/* ===== CART PAGE BASE ===== */
body {
  background: #f6f7fb;
}

/* Page title */
h2 {
  font-size: 22px;
  font-weight: 600;
}

/* Back button */
.back-btn {
  margin: 0 20px 12px;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  background: rgb(199, 193, 193);
  font-size: 14px;
  cursor: pointer;
}

/* ===== CART SUMMARY ===== */
.cart-summary {
  margin: 0 20px 12px;
  padding: 14px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}

/* Clear cart button */
.clear-cart-btn {
  margin: 0 20px;
  padding: 10px;
  width: calc(100% - 40px);
  border-radius: 10px;
  border: none;
  background: #cfcaca;
  font-size: 14px;
  cursor: pointer;
}

/* ===== EMPTY CART ===== */
#cartItems {
  margin-bottom: 90px; /* space for footer */
}

#cartItems p {
  text-align: center;
}

/* ===== CART ITEM CARD ===== */
.cart-card {
  margin: 16px 20px;
  background: #fff;
  padding: 14px;
  border-radius: 14px;
  display: flex;
  gap: 12px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.cart-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 10px;
  background: #f4f4f4;
}

.cart-info {
  flex: 1;
}

.cart-title {
  font-size: 15px;
  margin: 0 0 6px;
  font-weight: 600;
}

.cart-price {
  color: #27ae60;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Buttons */
.cart-actions {
  display: flex;
  gap: 10px;
}

.remove-btn {
  background: #e62222;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
}

.buy-btn {
  background: #ed2a2a;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
}

/* ===== FIXED FOOTER ===== */
.cart-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #ddd;
  padding: 12px;
  display: flex;
  justify-content: center;
  z-index: 999;
}

.footer-home-btn {
  background: linear-gradient(135deg, #000, #333);
  color: #fff;
  padding: 12px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 15px;
}