@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Grotesk:wght@400;700&display=swap');

:root {
  /* Button variants */
  --color-button-primary: #f30c1e;
  --color-button-secondary: #fff;

  /* Text Variants */
  --color-text-primary: #070707;
  --color-text-alert: #f30c1e;
  --color-text-primary-hover: rgba(255, 0, 0, 0.7);
  --color-text-secondary:#ffffff;
  --color-text-muted: #747474;
  --nav-link-color: #ffffff;

  /* Background variants */
  --color-background-primary: #fff;
  --color-background-secondary: #070707;
  --color-background-alert: #f30c1e;

  /* Border variants */
  --color-border-primary: #070707;
  --color-border-secondary: #fff;


  /* Thumbar variants */
  --color-thumbnail-primary: #f30c1e;

  /* Font size variants */
  --font-size-sm: 0.75rem; /* 12px */
  --font-size-med: 0.875rem; /* 14px */
  --font-size-base: 1rem; /* 16px */
  
  /* Status variants */ 
  --color-status-success: #16803c;
  --color-status-success-light: #F0FDF4;
  --color-status-pending: #F5A624;
  --color-status-error: #F30B1E;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* change the font-family later (find new font online)*/
}

body {
  width: 100%;
  font-family: "Oswald", sans-serif !important;
  overflow-x: hidden;
}

/* Utility Classes */
.uppercase {
  text-transform: uppercase;
}

::-webkit-scrollbar {
  height: 8px;
  background: #eceff1;
}

::-webkit-scrollbar:hover {
  height: 20px;
}

::-webkit-scrollbar-thumb {
  background: var(--color-999);
  /* border-radius: 8px; */
  transition: 0.5s;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-thumbnail-primary);
  cursor: pointer;
}

/* Ulities */
.center-text {
  text-align: center;
}

/* End of Ulities */

h1, h2 { font-family: 'Bebas Neue', sans-serif; letter-spacing: 2px !important; }
body, p, nav { font-family: 'Space Grotesk', sans-serif !important; }

h1 {
  font-size: 50px;
  line-height: 64px;
  /* change color later*/
  color: var(--color-999);
}

h2 {
  font-size: 46px;
  line-height: 54px;
  /* change color later*/
  color: var(--color-999);
}

h4 {
  font-size: 20px;
  /* change color later*/
  color: var(--color-999);
}

h6 {
  font-weight: 700;
  font-size: 12px;
}

p {
  font-size: var(--font-size-base);
  /* change color later*/
  color: var(--color-999);
  margin-bottom: 0 !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.section-p1 {
  padding: 0px 80px;
}

.section-m1 {
  margin: 40px 0;
}

/* Reviews */


.sm-pagination-reviews {
  display: flex;
  flex-direction: row;
  padding: 10px 30px;
  justify-content: center;
}

button.normal {
  font-size: 14px;
  font-weight: 600;
  padding: 15px 30px;
  color: var(--color-text-primary);
  background-color: var( var(--color-background-primary));
  border-radius: 24px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: 0.2s;
}

button.white {
  font-size: 13px;
  font-weight: 600;
  padding: 11px 18px;
  color: var(--color-text-secondary);
  background-color: transparent;
  cursor: pointer;
  border: 1px solid  var(--color-border-secondary);
  outline: none;
  transition: 0.2s;
}

/* header start */

/* New Header */

#header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.navbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.75rem 2rem !important;
  background: var(--color-background-secondary) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06) !important;
  height: 80px !important;
  width: 100% !important;
}

.menu-button {
  display: none; /* for mobile testing */
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  color:  var(--color-text-secondary);
}

.search-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding: 1rem; */
  gap: 2rem;
  flex: 0 1 auto;
}

.search-form {
  position: relative;
  width: 450px;
}

.sku-search-group {
  position: relative;
}

.search-input {
  width: 100%;
  padding: 12px 13px 12px 43px;
  border-radius: 8px;
  border: none;
  background:  var(--color-background-primary);
  color: #333333;
  font-size: 16px;
}

.search-input::placeholder {
  color: #757575;
  opacity: 0.7;
}

.search-results-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  max-height: 420px;
  overflow-y: auto;
  background: var(--color-background-primary);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.search-results-panel.active {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  text-decoration: none;
  color: inherit;
}

.search-result-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

.search-result-image {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.search-result-info {
  min-width: 0;
}

.search-result-name {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-meta {
  margin: 2px 0 0;
  font-size: 13px;
  color: #757575;
}

.search-no-results {
  margin: 0;
  padding: 16px 12px;
  font-size: 14px;
  color: #757575;
  text-align: center;
}

.notification-link {
  position: relative;
}

.notification-badge {
  display: none;
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--color-button-primary);
  color: white;
  padding: 2px 6px;
  border-radius: 50%;
  font-size: 12px;
  min-width: 18px;
  text-align: center;
}

.notification-badge.active {
  display: flex;
}

.notification-panel {
  display: none;
  position: fixed;
  width: 340px;
  max-height: 420px;
  overflow-y: auto;
  background: var(--color-background-primary);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.notification-panel.active {
  display: block;
}

.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

.notification-item.unread {
  background: rgba(220, 38, 38, 0.04);
}

.notification-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-button-primary);
}

.notification-info {
  min-width: 0;
}

.notification-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.notification-message {
  margin: 2px 0 0;
  font-size: 13px;
  color: #4a4a4a;
}

.notification-time {
  margin: 4px 0 0;
  font-size: 12px;
  color: #9a9a9a;
}

.notification-empty {
  margin: 0;
  padding: 24px 12px;
  font-size: 14px;
  color: #757575;
  text-align: center;
}

.search-button {
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 1.2rem;
  color: #757575;
  border: none;
  background: none;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.search-button:hover {
  color: #333333;
}

.logo-link {
  display: block;
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
  max-width: 180px;
}

#main-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  display: flex;
  align-items: center;
  font-size: var(--fontSize-1);
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color:  var(--nav-link-color) !important;
  text-decoration: none;
  font-size: 14px;
}

.nav-link:hover {
  opacity: 0.8;
}

.button-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
}

.login-button {
  border: 1px solid #4a90e2;
  color: #4a90e2;
}

.signup-button {
  background: #4a90e2;
  color: white;
}

.close-btn {
  display: none !important;
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  color:  var(--color-text-secondary);
}

.cart-amount {
  display: none; /* default */
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--color-button-primary);
  color: white;
  padding: 2px 6px;
  border-radius: 50%;
  font-size: 12px;
  min-width: 18px;
  text-align: center;
}

.cart-amount.active {
  display: flex;
}

.cart-link {
  position: relative;
  display: inline-block;
}

/* Login/Signup buttons */
.login-button {
  padding: 8px 20px;
  border: 1px solid var(--color-border-secondary);
  border-radius: 4px;
  color: var(--color-text-secondary);
  background: transparent;
}

.login-button:hover {
  background: var(--color-background-primary);
  color: var(--color-text-primary);
  transition: 0.2s ease-in-out;
}

.signup-button {
  padding: 8px 20px;
  border: none;
  border-radius: 4px;
  color: var(--color-text-secondary);
  background: var(--color-button-primary);
}

.signup-button:hover {
  background: var(--color-background-primary);
  color: var(--color-text-secondary);
  transition: 0.2s ease-in-out;
}

/* Mobile slide menu specific styles */
.slide-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background: white;
  z-index: 1000;
  overflow-y: auto;
  transform: translateX(100%); /* Start from outside the viewport */
  transition: transform 0.3s ease-in-out;
  visibility: hidden; /* Hide it initially but keep in DOM */
}

.slide-menu.active {
  transform: translateX(0); /* Slide to visible position */
  visibility: visible;
}

.close-slide-menu {
  border: none;
  background: none;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-text-primary);
}

.close-slide-menu:hover {
  color: var(var(--color-text-primary-hover));
  transition: 0.2s ease-in-out;
  transform: scale(1.1);
  transform-origin: center;
  transform-box: fill-box;
}

.menu-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

.menu-dropdown {
  border-bottom: 1px solid #eee;
}

.slide-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
  z-index: 999;
}

.slide-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.slide-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  color: black;
  text-decoration: none;
  border-bottom: 1px solid #eee;
  width: 100%;
}

.submenu {
  display: none;
  background: #f5f5f5;
  padding: 10px 3rem;
  list-style: none;
  transition: 0.2s ease-in-out;
  text-decoration: none;
}

.submenu li a:hover {
  color: var(var(--color-text-primary-hover));
}

.submenu li a {
  text-decoration: none;
  color: #000;
  font-size: 14px;
}

.submenu li a.is-disabled {
  color: #999;
  cursor: not-allowed;
}

.submenu li a.is-disabled:hover {
  color: #999;
}

.submenu.active {
  display: block;
}

.dropdown-trigger {
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

.dropdown-trigger i.fa-chevron-right {
  margin-left: auto;
  transition: transform 0.3s ease;
}

.dropdown-trigger.expanded i.fa-chevron-right {
  transform: rotate(90deg);
}

/* small screen nav */

.small-screen-nav-container {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.small-screen-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  margin-bottom: 0;
  margin-right: 1rem;
}

.small-screen-nav .nav-link {
  color:  var(--nav-link-color) !important;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.2s;
}

.small-screen-nav .nav-link:hover {
  opacity: 0.8;
}

.small-screen-nav .nav-link i {
  font-size: 1.5rem;
}

.small-screen-nav .cart-link {
  position: relative;
  display: inline-block;
}

/* Hero Section */

/* Mobile styles */
@media (max-width: 768px) {
  #main-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 270px;
    height: 100vh;
    background: var(--color-background-secondary);
    flex-direction: column;
    padding: 2rem;
    transition: right 0.3s ease-in-out;
    box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
  }

  #main-menu.active {
    right: 0;
  }

  #main-menu.active .close-btn {
    display: block;
  }

  .button-link {
    width: 100%;
    text-align: center;
    margin: 0.5rem 0;
  }

  .close-button {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .menu-button {
    display: block;
  }

  .button-link {
    width: 100%;
    text-align: center;
  }
}



/* buttons details */

.buttons {
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.bi-dash-lg {
  color: red;
}

.bi-plus-lg {
  color: green;
}




.fa-eye {
  margin: 4px;
}

.card-btn:hover {
  background: var(--color-button-primary);
}
*/

/* home page */
#hero {
  position: relative;
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(/images/chrome_banner_02.jpeg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100vh;
  /* overflow: hidden; */
}

.slides {
  height: 100%;
  width: 100%;
  /* position: absolute; */
  /* top: 0;
  left: 0;
  transition: 0.6s ease-in-out; */
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
}

/* Each slide sets its own background-image inline, which fully covers
   #hero's own background -- so #hero's dark gradient above never actually
   shows behind any slide. Without this, the white headline/CTA text sits
   directly on raw photos with no guaranteed contrast. Comes before
   .hero-text in DOM order, so it paints underneath it automatically. */
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.slide.active {
  opacity: 1;
}

.hero-text {
  position: relative;
  width: 100%;
  padding: 0 4rem;
}

.hero-text-container {
  max-width: 1200px;
  margin: 0 auto;
}

.main-headline h1 {
  font-size: 3.5rem;
  color: white;
  font-weight: 700;
  margin-bottom: 1rem;
}

.main-headline h2 {
  font-size: 2rem;
  color: white;
  font-weight: 700;
  margin-bottom: 1rem;
}

.sub-headline h3 {
  font-size: 1.5rem;
  color: #f5f5f5;
  line-height: 1.6;
  max-width: 800px;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #f30c1e;
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #ff2222;
}

/* Better arrow navigation */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.slider-arrow:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.prev-arrow {
  left: 2rem;
}

.next-arrow {
  right: 2rem;
}

.slide-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  color: white;
  gap: 10px;
}

.indicator {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.indicator.active {
  width: 24px;
  border-radius: 4px;
  background-color: white;
}



.has-dropdown {
  position: relative;
}

.has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.services-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  z-index: 1000;
  width: 420px;
  margin-top: 1rem;
}

.has-dropdown:hover .services-dropdown {
  opacity: 1;
  visibility: visible;
}

.dropdown-content {
  padding: 0.5rem 0;
}

.services-grid {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease-in-out;
  text-decoration: none;
  color: inherit;
}

.service-item:last-child {
  border-bottom: none;
}

.service-item:hover {
  background-color: #f0f0f0;
}

.service-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f30c1e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon i {
  font-size: 1.5rem;
  color: #fff;
}

.service-info {
  flex: 1;
}

.service-info h4 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.service-info p {
  font-size: 0.9rem;
  color: #666;
}

.service-price {
  font-size: 1.2rem;
  font-weight: 600;
  color: #f30c1e;
  display: block;
  margin-top: 0.5rem;
}

/* Post-MVP services stay visible so people know they're coming, but are
   inert -- rendered without an href so clicks and keyboard activation
   are no-ops without needing extra JS. */
.service-item.is-disabled {
  cursor: not-allowed;
}

.service-item.is-disabled:hover {
  background-color: transparent;
}

.service-item.is-disabled .service-icon {
  background-color: #ccc;
}

.service-item.is-disabled .service-info h4,
.service-item.is-disabled .service-info p {
  color: #999;
}

.coming-soon-badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.15rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #666;
  background-color: #eee;
  border-radius: 999px;
}

/* hero section */

.main-headline {
  flex: 1;
}

.sub-headline {
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-width: 200px;
  text-align: left;
}

.sub-headline .sub-h h3 {
  color: white;
  font-size: 1rem;
  overflow-wrap: break-word;
}

.m-hL {
  width: 55%;
  text-align: left;
}

#hero .hero-text-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: absolute;
  top: 50%;
  left: 10rem;
}

#hero h4 {
  padding-bottom: 16px;
  color: var(--color-text-secondary);
  font-size: 1.56rem;
}

#hero h1 {
  /* change color later */
  color: var(--color-text-secondary);
  margin-bottom: var(--mar-1);
}

#hero h2 {
  color: var(--color-text-alert);
  margin-bottom: var(--mar-1);
}

#hero p {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  margin-bottom: var(--mar-1);
}



#hero button:hover {
  background-color: var(--color-button-primary);
  /* border-radius: 12px; */
  color: var(--color-text-secondary);
  letter-spacing: 1px;
  border: none;
  transform: scale(1.5);
}

#feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

#feature .fe-box {
  width: 250px;
  text-align: center;
  padding: 25px 15px;
  border: 1px solid transparent;
  border-radius: 5px;
  box-shadow: 0px 0px 20px 3px rgba(0, 0, 0, 0.2);
  margin: 15px 0;
  transition: 0.5s;
}





/* Product Card */
.pro-price {
  display: flex;
  justify-content: space-between;
  
}

.price-wrapper {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.price-change {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.price-change .price-trend {
  font-size: 0.875rem;
}

.price-trend.trend-up {
  color: var(--color-status-success);
  background-color: var(--color-status-success-light);
  padding: 0.0625rem 0.25rem;
  border-radius: 0.25rem;


}

/* A price drop is good news for buyers, so it gets the same "success" treatment as trend-up. */
.price-trend.trend-down {
  color: var(--color-status-success);
  background-color: var(--color-status-success-light);
  padding: 0.0625rem 0.25rem;
  border-radius: 0.25rem;
}

.price-change .product-discount {
  background-color: var(--colo);
  padding: 0.0625rem 0.25rem;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
}

.product-discount p {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.listing-price {
  font-weight: 600;
}

.orgin-price {
  text-decoration: line-through;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}


.btn-hover:hover {
  opacity: 1;
  background-color: var(--color-button-primary);
  color: white;
}




#product1 .pro img {
  border-radius: 20px;
}


#product1 .pro .cart {
  width: 40px;
  height: 40px;
  line-height: 40px;
  /* change color later */
  background-color: var(--color-background-primary);
  font-weight: 500;
  /* change color later */
  color: var(--color-text-primary);
  border-radius: 50px;
  border: 1px solid #070707;
  position: relative;
  bottom: 20px;
  right: 10px;
}

/* Banner Sell/Trade */

#banner {
  width: 92%;
  height: 360px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.banner-wrapper {
  display: flex;
  width: 100%;
  /* height: 300px; */
  align-items: stretch;
}

.banner-left-content {
  background-color: #000;
  max-width: 560px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 2.5rem;
  font-family: "Space Grotesk", sans-serif;
  color:  var(--color-text-secondary);
}

.banner-img-left {
  position: relative;
  flex: 1 1 auto;
}

.banner-img-left::before {
  content: "";
  position: absolute;
  right:0;
  top: 0;
  width: 80px;
  height: 100%;
  background: linear-gradient(to left, #000, transparent);
  z-index: 1;
}

.banner-img-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.banner-right-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 80px;
  height: 100%;
  background: linear-gradient(to right, #000, transparent);
  z-index: 1;
}

/* Full-image overlay -- separate from the edge-blend gradient above (::before
   is already taken by it), a flat wash across the whole photo so it reads
   a bit moodier/darker and sits better next to the solid black left panel. */
.banner-right-content::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
  pointer-events: none;
}

#sm-banner .banner-right-content::before {
  background: linear-gradient(to right, #f5f5f5, transparent);
}





.banner-right-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.banner-eyebrow {
  color: #E63946;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0 !important;
}




.banner-right-content {
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  position: relative; 
}


.banner-text {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 2rem 2.5rem;
  justify-content: center;
}

.banner-btn {
  padding: 0.5rem 1rem;
  text-decoration: none;
  width: 100%;
  max-width: 124px;
  font-size: 1rem;
  color: white;
  font-weight: 600;
  border-radius: 2px;
  background-color: #E63946;
  
  
}


.banner-header {
  margin-bottom: 0.5rem;
}

.banner-header .banner-header {
  color: #E63946;
  font-size: 0.75rem;
  font-weight: 600;
}

.banner-header p {
  color: #757575;
  font-size: 0.875rem;
}

.banner-cta-buttons  {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.banner-cta-buttons a {
  display: inline-block;
  border-radius: 2px;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 12px;
  transition: 0.2s ease-in-out;
}

.btn-primary {
  background-color: #E63946;
  border: transparent;
}

.btn-primary:hover {
  background-color: #df5965;
}

.btn-secondary {
  background-color: #000;
  border: 1px solid  var(--color-border-secondary);
}

.btn-secondary:hover {
  border-color: #E63946;
  color: #E63946;
}


#banner h2 {
  color:  var(--color-text-secondary);
  font-size: 32px;
  font-weight: 600;
  margin: 0;
  /* padding: 10px 0; */
}

#banner h2 span {
  /* change the color later */
  color:  var(--color-text-secondary);
}

/* Brands */

.card_text {
  font-family: "Space Grotesk", sans-serif;
}

.card_text h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0;
}

.card_text .total-listings {
  opacity: 0.6;
  line-height: 1.4;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0;

}

.tl-d-text {
  color: #e4e4e4;
}

.hdr-w-text {
  color:  var(--color-text-secondary);
}

.card_text .card_note {
  font-size: 0.875rem;
  font-weight: 700;
  color: #E63946;
  margin-bottom: 0;
  text-transform: uppercase;
}

.banner-brand-logo {
  height: 100%;
  max-height: 200px;
  max-width: 200px;
  background-color:  var(--color-background-primary);
  border-radius: 8px;
  overflow: hidden;
}

.banner-brand-logo img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#brands .banner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.black-banner {
  background-color: #000;
}



.brand-banner {
  width: min(690px, 100%);
  height: 280px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  cursor: pointer;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s ease;
  will-change: transform;
}

.brand-banner:hover {
  transform: translateY(-4px) scale(1.01);

  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.06),
    0 8px 20px rgba(0, 0, 0, 0.1),
    0 24px 48px rgba(0, 0, 0, 0.08);
}

.brand-banner:active {
  transform: translateY(-1px) scale(0.995);
  transition-duration: 0.1s;
}

.banner-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-decoration: none;
  color: var(--color-text-primary);
}

.section-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Brand CTAs */

.cta-wrapper {
  margin-top: 1rem;
  text-align: center;
}

.cta-wrapper button {
  background-color: #E63946;
  border-color: transparent;
  border-radius: 2px;
  padding: 0.5rem;
  transition: 0.3s ease-in-out;
}

.cta-wrapper button:hover {
  transform: scale(1.05);
}

/* All Brands page: text-only tiles for brands without a curated banner */

.brand-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.brand-tile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-border, #e0e0e0);
  border-radius: 8px;
  text-decoration: none;
  color: var(--color-text-primary);
  font-family: "Space Grotesk", sans-serif;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.brand-tile:hover {
  border-color: #E63946;
  transform: translateY(-2px);
}

.brand-tile-name {
  font-weight: 700;
}

.brand-tile-count {
  font-size: 0.85rem;
  opacity: 0.6;
  white-space: nowrap;
}



#sm-banner .banner-box {
  position: relative;
  display: flex;
  width: 100%;
  height: 360px;
  margin-top: 3rem;
  border-radius: 8px;
  overflow: hidden;
  font-family: "Space Grotesk", sans-serif;
}

.banner-text-left {
  background-color: #F5F5F5;
}

.shop-women-btn {
  background-color: #E63946;
}

.shop-women-btn span {
  color:  var(--color-text-secondary);
}

.banner-text-right h2 {
  color:  var(--color-text-secondary);
  font-weight: 600;
  font-size: 2.5rem;
}

.banner-text-left h2 {
  color: #000;
  font-weight: 600;
  font-size: 2.5rem;
}

.banner-text-right {
  background-color: #000;
  align-items: end;
  
}

.banner-box .banner-wrapper {
  padding: 1.5rem;
  width: 100%;
  max-width: 700px;
  height: 100%;
  max-height: 300px;
  display: flex;
  justify-content: center;
  flex-direction: column;

}



.banner-wrapper a {
  border-radius: 2px;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: white;
  display: flex;
  gap: 4px;
  align-items: center;
  font-weight: 600;
  font-size: 12px;
  transition: 0.2s ease-in-out;
  width: 100%;
  max-width: 124px;
}

.shop-men-btn {
  background-color: #000;
  display: flex;
  align-items: center;
}
.banner-wrapper h4 {
  color: #757575;
  font-size: 0.75rem;
  font-weight: 600;
}


.banner-note {
  color: #848484;
  margin-bottom: 1rem;
  font-weight: 500;
}

#sm-banner .banner-box2 {
  /* background-image: url(/images/womens_1.jpg); */
  backdrop-filter: blur(20px);
  border-radius: 4px;
  /* filter: blur(1px); */
}



.banner-box .card_badge {
  position: absolute;
  top: 10px;
  right: 16px;
  box-shadow: 
    0 4px 12px rgba(255, 0, 0, 0.5),
    0 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 11px;
  padding: 8px 1rem;
  background-color: var(--color-background-alert);
  color: var(--color-text-secondary);
  border-radius: 20px;
}

.banner-box .banner-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-text-secondary);
  font-weight: 600;
}

#sm-banner .banner-box:hover button {
  /* change color if needed */
  background: #eb0909;
  border: 1px solid red;
}

#brands {
  display: flex;
  justify-content: center;
  flex-direction: column;
  flex-wrap: wrap;
}

#brands .banner-box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* align-items: flex-start; */
  /* background-image: url(/images/just_dropped.jpg); */
  min-width: 48%;
  height: 400px;
  background-size: cover;
  background-position: center;
  padding: 20px;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 4px;
  cursor: pointer;
}




#sm-banner .banner-box2:hover button {
  /* change color if needed */
  background: var(--color-button-primary);
  border: 1px solid var(--color-text-alert);
}



#brands h3 {
  color:  var(--color-text-secondary);
  font-weight: 800;
  font-size: 22px;
}

#category {
  text-align: center;
  margin: 1.5rem auto;
}

.category {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: #F2F2F2;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.category img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
  
}

.category img:hover {
  transform: scale(1.1);
}

/* Category Carousel */
.category-wrapper {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  
}

.category-wrapper a {
  text-decoration: none;
  color: var(--color-text-primary);
}

.category-carousel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  gap: 1rem;
}

.category-title {
  font-size: 1rem;
  font-weight: 600;
}

.category-carousel {
  padding: 1rem 0;
}

.category-flex-wrapper {
  margin:  3rem 4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.category-shop-title-wrapper h3 {
  font-weight: 600;
  font-size: 1.75rem;
  font-family: "Space Grotesk", sans-serif;
}


.category-shop {
  width: 400px;
  height: 200px;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  background-color: #FAFAFA;
  transition: 0.3s ease-in-out;
  
}

.category-shop a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  text-decoration: none;
  color: var(--color-text-primary);
}

.category-shop:hover {
  background-color: #E63946;
}

.category-shop:hover a {
  color: var(--color-text-secondary);
}

.shop-link a, .category-shop-title-wrapper p {
  text-decoration: none;
  color: #555;
  font-size: 0.875rem;
}


.index,
.row img {
  width: 20%;
  height: -20px;
}

footer {
  padding: 0px 100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

footer .col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}

footer .lgo {
  margin-bottom: 30px;
  margin-top: 0px;
  width: 5%;
}

footer h4 {
  font-size: 1.5rem;
  font-weight: 700;
  /* padding-bottom: 20px; */
}

footer .icon {
  width: 100%;
  height: 100%;
}

footer p {
  font-size: 13px;
  margin: 0 0 8px 0;
}

footer a {
  font-size: 12px;
  text-decoration: none;
  color: var(--color-text-primary);
  margin-bottom: 10px;
}

footer .follow {
  margin-top: 20px;
}

footer .follow i {
  color: #465b52;
  padding-right: 4px;
  cursor: pointer;
}

footer .install .row img {
  border: 1px solid var(--color-red);
  border-radius: 6px;
}

footer .install img {
  margin: 10px 0 15px 0;
  width: 49%;
}

footer .follow i:hover,
footer a:hover {
  /* change color to red  */
  color: var(var(--color-text-primary-hover));
}

footer .rights {
  width: 100%;
  text-align: center;
}

#product1 .des .pro-price .p_rice {
  font-weight: 700;
  font-size: 20px;
}

.ap_price {
  margin-left: 20px;
  opacity: 0.5;
  text-decoration: line-through;
}

/* Contact Page */

#contact-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#contact-details .details {
  width: 40%;
}

#contact-details .details span,
#form-details form span {
  font-size: 12px;
}

#contact-details .details h2,
#form-details form h2 {
  font-size: 26px;
  line-height: 35px;
  padding: 20px 0;
}

#contact-details .details h3 {
  font-size: 16px;
  padding-bottom: 15px;
}

#contact-details .details li {
  list-style: none;
  display: flex;
  padding: 10px 0;
}

#contact-details .details li i {
  font-size: 14px;
  padding-right: 22px;
}

#contact-details .details li p {
  margin: 0;
  font-size: 14px;
}

#contact-details .map {
  width: 55%;
  height: 400px;
}

#contact-details .map iframe {
  width: 100%;
  height: 100%;
}

#form-details {
  display: flex;
  justify-content: space-between;
  margin: 30px;
  padding: 80px;
  border: 1px solid #e1e1e1;
  border-radius: 12px;
  align-items: center;
}

#form-details form {
  width: 65%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: var(--color-background-primary);
}

#form-details form input,
#form-details form textarea {
  width: 100%;
  padding: 12px 15px;
  outline: none;
  margin-bottom: 20px;
  border: 1px solid #e1e1e1;
  border-radius: 12px;
}

#form-details form button {
  background-color: #f30c1e;
  color:  var(--color-text-secondary);
}

#form-details .people div {
  padding-bottom: 25px;
  display: flex;
  align-items: flex-stat;
}

#form-details .people div img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  margin-right: 15px;
}

#form-details .people div p {
  margin: 0;
  font-size: 13px;
  line-height: 25px;
}

#form-details .people div p span {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

#form-details {
  padding: 40px;
}

#form-details form {
  width: 50%;
}

/* Blog Page */

#page-header.blog-header {
  /*  Find and change header later */
  background-image: url("/images/pexelsvaleriiamiller.jpg");
}

#blog {
  padding: 150px 150px 0 150px;
}

#blog .blog-box {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  padding-bottom: 90px;
}

#blog .blog-img {
  width: 50%;
  margin-right: 40px;
}

#blog img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

#blog .blog-details {
  width: 50%;
}

#blog .blog-details a {
  text-decoration: none;
  font-size: 11px;
  color: #000;
  font-weight: 700;
  position: relative;
  transition: 0.3s;
}

#blog .blog-details a::after {
  content: "";
  width: 50px;
  height: 1px;
  background-color: #000;
  position: absolute;
  top: 4px;
  right: -60px;
}

#blog .blog-details a:hover {
  color: #f30c1e;
}

#blog .blog-details a:hover::after {
  background-color: #f30c1e;
}

#blog .blog-box h1 {
  position: absolute;
  top: -40px;
  left: 0;
  font-size: 70px;
  font-weight: 700;
  color: #c9cbce;
  z-index: -9;
}

/* Cart Page */

/** ! style rules for label and some buttons
      **/

.text-center {
  text-align: center;
  margin-bottom: 20px;
}

.HomeBtn,
.checkout,
.removeAll {
  background-color: #212529;
  color: white;
  border: none;
  padding: 6px;
  border-radius: 3px;
  cursor: pointer;
  margin-top: 10px;
}

.bi-x-lg {
  color: red;
  font-weight: bold;
}

/* style for shopping carts */

.shopping-cart {
  display: grid;
  grid-template-columns: repeat(1, 320px);
  justify-content: center;
  gap: 15px;
}

/* style for cart items */



.title-price-x {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 195px;
}

.title-price {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-item-price {
  background-color: black;
  color: white;
  border-radius: 4px;
  padding: 3px 6px;
}

#cart {
  overflow-x: auto;
}

#cart table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  white-space: nowrap;
}

#cart table img {
  width: 70px;
}

#cart table td:nth-child(1) {
  width: 100px;
  text-align: center;
}

#cart table td:nth-child(2) {
  width: 150px;
  text-align: center;
}

#cart table td:nth-child(3) {
  width: 250px;
  text-align: center;
}

#cart table td:nth-child(4),
#cart table td:nth-child(5),
#cart table td:nth-child(6) {
  width: 100px;
  text-align: center;
}

#cart table td:nth-child(5) input {
  width: 70px;
  padding: 10px 5px 10px 15px;
}

#cart table thead {
  border: 1px solid #e2e9e1;
  border-left: none;
  border-right: none;
}

#cart table thead td {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  padding: 18px 0;
}

#cart table tbody tr td {
  padding-top: 15px;
}

#cart table tbody td {
  font-size: 13px;
}

#cart-add {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#coupon {
  width: 50%;
  margin-bottom: 30px;
}

#coupon h3,
#subtotal h3 {
  padding-bottom: 15px;
}

#coupon input {
  padding: 10px 20px;
  outline: none;
  width: 60%;
  margin-right: 10px;
  border: 1px solid #e2e9e1;
}

#coupon button,
#subtotal button {
  background-color: #f30c1e;
  color:  var(--color-text-secondary);
  padding: 12px 20px;
}

#subtotal {
  width: 50%;
  margin-bottom: 30px;
  border: 1px solid #e2e9e1;
  padding: 30px;
}

#subtotal table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px;
}

#subtotal table td {
  width: 50%;
  border: 1px solid #e2e9e1;
  padding: 10px;
  font-size: 13px;
}

/* Single Product */

#prodetails {
  display: flex;
  /* margin-top: 20px; */
  /* border: 2px solid red; */
}

/* .detail-text {
  display: none;
} */



.s-img {
  object-fit: cover;
  width: 100px;
  height: 100px;
  border-radius: 8px;
  margin: 5px;
}


#prodetails .s_prod_details {
  width: 45%;
  /* border: 2px solid red; */
}

.s-img-group {
  display: flex;
  overflow-x: auto;
  padding-top: 1rem;
  margin-bottom: 1rem;
  gap: 8px;
}

.s-img-col {
  cursor: pointer;
}

#prodetails .s_prod_details h4 {
  /* padding: 40px 0 20px 0; */
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
}





#prodetails .s_prod_details select {
  display: block;
  padding: 5px 10px;
  margin-bottom: 10px;
}

#prodetails .s_prod_details input {
  width: 50px;
  height: 47px;
  padding-left: 10px;
  font-size: 16px;
  margin-right: 10px;
}

#prodetails .s_prod_details input:focus {
  outline: none;
}


#prodetails .s_prod_details span {
  line-height: 25px;
}

/* About page */
#page-header.about-header {
  background-image: url(/public/images/bg-2.png);
}

#about-head {
  display: flex;
  align-items: center;
}

#about-head img {
  width: 50%;
  height: auto;
}

#about-head div {
  padding-left: 40px;
}

#about-app {
  text-align: center;
}

#about-app .video {
  width: 70%;
  height: 100%;
  margin: 30px auto 0 auto;
}

#about-app .video video {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

/* Profile Picture Styles */
.profile-picture {
  width: 35px;
  height: 35px;
  border-radius: 28px;
  border: 2px solid  var(--color-border-secondary);
  object-fit: cover;
  background: #f0f0f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* profile dropdown menu */
.nav-list li {
  position: relative;
  /* padding-bottom: 20px; */
  /* font-size: 1.125rem; */
}

.user-dropdown-menu {
  background:  var(--color-background-primary);
  padding: 1rem;
  border-radius: 8px;
  position: absolute;
  top: 100%;
  right: 0;
  visibility: hidden;
  width: 270px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out,
    transform 0.2s ease-in-out;
  border: 1px solid #e5e5e5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px); /* Initial position slightly up */
  z-index: 1000;
}

.nav-list li:hover .user-dropdown-menu,
.user-dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0); /* Smooth slide down effect */
}

.dropdown-header {
  padding: 12px 16px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 8px;
}

.dropdown-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 10px;
  color: #333;
}

.nav-list li:hover::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 20px; /* Match parent padding */
}

.dropdown-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 16px !important;
  text-decoration: none !important;
  color: #555 !important;
  transition: all 0.2s ease-in-out !important;
  border-radius: 4px !important;
  margin: 2px 0;
}

.dropdown-item:hover {
  color: #000;
  font-weight: 600;
  background-color: #f5f5f5;
}

.dropdown-item i {
  width: 16px;
  color: #666;
  transition: color 0.2s ease-in-out;
}

.dropdown-item:hover {
  color: #000;
}

/* Desktop (1537px and above) */
@media (max-width: 1657px) {
  .input_box {
    width: 200px;
  }

  #feature .fe-box {
    width: 30%;
    padding: 20px;
  }

  #menu ul {
    font-size: 0.9rem;
  }
}

/* Tablet (1040px and above) */
@media (max-width: 1040px) {
  .search-section {
    flex: 1;
    justify-content: flex-start;
  }

  /* Small Screen Nav */
  .small-screen-nav-container {
    display: flex;
  }

  .menu-button {
    display: flex !important;
  }

  .nav-list {
    display: none !important;
  }

  .image-custom {
    width: 70%;
  }

  .liked i {
    font-size: 22px;
  }

  nav .search_box {
    /* margin: auto 7rem; */
    width: 50%;
  }
  .input_box {
    font-size: var(--font-size-sm);
  }

  #hero h1 {
    font-size: 2.5rem;
  }
  .section-p1 {
    padding: 0px 55px;
  }

  footer .col {
    flex: 0 0 22%;
  }
}

/*  Applies styles to screens < 767px */
@media (max-width: 920px) {

  .brand-tile-grid {
    margin-bottom: 2rem;
  }

  .category-shop {
    width: 100%;
  }

  .category-flex-wrapper {
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .category-carousel {
    overflow-x: auto;
  }
  /* Small screen nav */
  .small-screen-nav-container {
    display: flex;
  }

  .submenu {
    padding: 10px 3rem !important;
  }

  .menu-button {
    display: flex !important;
  }

  .search-section {
    flex: 1;
    justify-content: flex-end;
    flex-direction: row-reverse;
  }

  .search-form {
    margin-right: 0;
    width: 100%;
    max-width: 65%;
  }

  .nav-list {
    display: none !important;
  }

  #banner {
    margin: 0 auto;
    width: 100%;
  }

  #hero h1 {
    font-size: 2.5rem;
  }

  #feature .fe-box {
    width: 45%;
  }

  #menu ul {
    font-size: 0.8rem;
  }

  #menu ul li a {
    color:  var(--color-text-secondary);
    text-decoration: none;
    line-height: 2em;
  }

  nav .search_box {
    display: flex;
    margin: auto 7rem;
  }

  .list {
    display: flex;
  }

  .input_box {
    width: 100%;
  }

  .triggerSearch {
    right: 3rem;
    border: 0;
    background: transparent;
    font-size: 1rem;
    width: 40px;
    color: var(--color-red);
    outline: 0;
    cursor: pointer;
  }

  #header nav {
    padding: 0 1.2rem;
  }

  #banner {
    width: 98%;
  }

  #brands {
    flex-direction: column;
    width: 100%;
    padding: 17px;
  }

  #sm-banner .banner-box {
    min-width: 100%;
  }

  #hero .hero-text {
    text-align: center;
  }

  .section-m1 {
    margin: 0;
  }

  .section-p1 {
    padding: 10px;
  }

  .chart {
    display: flex;
    position: relative;
    justify-content: space-around;
    align-items: center;
    left: 9rem;
    right: 0;
  }

  nav button.check-c {
    display: block;
    color: var(--color-text-secondary);
    border: none;
    background: none;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
  }

  #menu-button {
    position: fixed;
    top: 20px;
    left: 20px;
    background: #333;
    color:  var(--color-text-secondary);
    padding: 10px 20px;
    cursor: pointer;
  }

  #feature {
    width: 100%;
  }

  .lg-btn,
  .signUp-btn {
    margin: 20px;
  }

  .btn-1 {
    font-size: 16px;
    border: none;
    border-radius: 15px;
  }

  

  /* Footer */

  footer {
    display: flex;
    flex-wrap: wrap;
    /* border: 1px solid red; */
    justify-content: space-between;
    /* align-items: center; */
    padding: 0px 25px;
    margin: 0;
    height: 90%;
  }

  footer .col {
    max-width: 160px;
    flex-basis: 170px;
  }

  footer .install img {
    margin: 1px 0 15px 0;
    width: 48%;
  }

  footer .col .logo {
  }

  footer h4 {
    font-size: 14px;
    position: relative;
    padding: 0;
  }

  footer h4::before {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 1px;
    background-color: var(--color-red);
    transition: width 0.5s ease-in-out;
    visibility: hidden;
  }

  footer h4:hover::before {
    width: 100%;
    visibility: visible;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  /* Profile Picture */
  .profile-picture {
    width: 35px;
    height: 35px;
    border-radius: 20px;
  }

  .services-dropdown {
    display: none;
  }

  .hero-text {
    padding: 0 2rem;
  }

  .main-headline h1 {
    font-size: 2.5rem;
  }

  .main-headline h2 {
    font-size: 1.5rem;
  }

  .sub-headline h3 {
    font-size: 1rem;
  }

  /* Product Details */
  #prodetails .s_prod_details {
    width: 100%;
    padding-top: 20px;
  }

  /* New Navbar */
  .submenu {
    padding: 10px 3rem !important;
  }

  .menu-button {
    display: flex !important;
  }

  .search-section {
    flex: 1;
    justify-content: flex-end;
  }

  .nav-list {
    display: none !important;
  }

  .image-custom {
    width: 70%;
  }

  #product1 .pro {
    width: 100%;
    height: 100%;
  }

  #product .pro {
    width: 236px;
  }

  #hero .hero-text-container {
    flex-direction: column;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    text-align: center;
  }

  .m-hL {
    width: 100%;
    text-align: center;
  }

  #hero .hero-text {
    padding: 9rem 19px;
  }

  #hero h1 {
    font-size: 4rem;
  }

  .hero-text-container .main-headline h1 {
    font-size: 5rem;
  }

  .icon-container {
    display: none;
    align-items: center;
  }

  .close-btn {
    display: block;
  }

  nav button.nav-btn-dd {
    display: flex;
    padding: auto 16px;
    font-size: 1.67rem;
    background: none;
    cursor: pointer;
  }

  button.close-btn {
    font-size: 24px;
    color: white;
    border: none;
    background: none;
    position: absolute;
    top: 1rem;
    /* left: -10rem; */
    /* right: 12rem; */
    margin-right: 10px;
    cursor: pointer;
    transition: 0.8s;
    display: flex;
  }

  #menu.active {
    right: 0;
    transition: 0.5s;
  }

  #menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
    color:  var(--color-text-secondary);
    padding: 40px;
    overflow-y: auto;
    transition: 0.8s ease-in-out;
    z-index: 1;
  }

  #ss-icon i {
    color: var(--color-text-secondary);
    font-size: 24px;
    display: flex;
  }

  /* .liked i {
    font-size: 1rem;
  } */

  #ss-icon {
    /* display: flex;
    align-items: center;
    background-color: transparent; */
    margin: auto 1.7rem;
  }

  form {
    width: 100%;
  }

  #menu ul {
    list-style: none;
    text-align: center;
    margin: 70px auto;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    font-size: 1.5rem;
    flex-wrap: wrap;
  }
  .section-p1 {
    padding: 40px 40px;
  }

  #menu li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  nav button.nav-btn-dd {
    display: flex;
    margin-left: 76px;
    margin: 0.5rem;
    padding: auto 16px;
    font-size: 1.67rem;
    background: none;
    cursor: pointer;
  }

  .list {
    display: flex;
  }

  .icon-container {
    display: flex;
    align-items: center;
  }

  .login-btn {
    border: 2px solid rgb(255, 0, 0);
    border-radius: 5px;
    line-height: 1.5;
    font-size: 0.875rem;
    font-weight: bold;
    margin: 21px 0px;
    background-color: var(--color-button-primary);
    transition: 0.5s ease-in-out;
  }

  .signup-btn {
    border: 2px solid rgb(255, 0, 0);
    border-radius: 2px;
    background-color: transparent;
    margin-left: 0px;
    font-size: 16px;
    transition: 0.5s ease-in-out;
  }

  #menu ul li a {
    margin-left: 0px;
  }

  /* Category Carousel */
  .category-carousel {
    overflow-x: auto;
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* old Edge/IE */
  }

  /* Under Retailer Section */
  .category-flex-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 3rem 1.5rem;
  }

  
}

@media (max-width: 477px) {

  .banner-brand-logo {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
  }

  .brand-banner {
    flex-direction: column;
    height: 100%;
    gap: 1rem;
  }

  .category-shop {
    width: 100%;
    height: 200px;
  }

  /* Banner Section */
  #banner
  {
      height: 100%;
  }

  .banner-wrapper {
    flex-wrap: wrap;

  }

  #menu {
    width: 100%;
    height: 100%;
  }

  button.close-btn {
    right: 23rem;
  }

  

  #hero .m-hL h1 {
    font-size: 2.6rem;
  }

  #hero .hero-text-container {
    flex-direction: column;
    gap: 3rem;
    padding: 1rem;
  }

  #hero .hero-text {
    padding: 4rem 1px;
  }
  footer .install img {
    margin: 0px 0 15px 0;
    width: 100%;
  }

  .section-p1 {
    padding: 17px;
  }

  #feature {
    justify-content: center;
  }

  #feature .fe-box {
    width: 95%;
    margin: 0 0 0.93rem 0;
  }

  #feature .fe-box:hover {
    transform: scale(1);
  }
}

/* Screen for smartphones */
@media (max-width: 430px) {
  /* New Navbar */
  /* Mobile navbar styles for 390px width */

  /* Category Carousel */
  .category-carousel {
    overflow-x: auto;
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* old Edge/IE */
  }

  .category-carousel::-webkit-scrollbar {
    display: none;                /* Chrome, Safari, new Edge */
  }

  /* Browser By Brand */
  #brands .banner-grid {
    grid-template-columns: 1fr;
  }

  .brand-tile-grid {
    margin: 1rem;
    grid-template-columns: 1fr;
  }

  /*  Under Retailer Section */
  .category-flex-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 3rem 1rem;
  }


  /* Product Details Page */
  #prodetails .s_prod_details {
    width: 100%;
    padding-top: 20px;
  }

  

  /* Notifications and profile already have a path via the hamburger
     menu's slide-out list, but the cart has no equivalent entry point,
     so the bag icon stays visible here instead of hiding with the rest
     of the small-screen-nav row. Hiding the <li> (not just the link)
     matters here -- the <ul> is a flex row with gap, so a hidden link
     inside a still-visible <li> was leaving a blank gapped slot that
     starved the search box of width. */
  .small-screen-nav-container li:has(.notification-link),
  .small-screen-nav-container li:has(a[aria-label="User profile"]) {
    display: none;
  }

  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #000000;
    height: 60px;
  }

  /* Search section */
  .search-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    gap: 1rem;
    flex: 1;
    max-width: 220px;
  }

  /* Search form */
  .search-form {
    position: relative;
    width: 100%;
  }

  .search-input {
    width: 100%;
    height: 40px;
    padding: 8px 8px 8px 40px;
    border-radius: 8px;
    border: none;
    background:  var(--color-background-primary);
    font-size: 14px;
  }

  .search-input::placeholder {
    color: #757575;
  }

  /* The trigger input has to stay narrow here to leave room for the cart
     and menu icons, but the results panel doesn't -- it's an absolutely
     positioned overlay, so breaking it out to a fixed viewport width
     (instead of matching search-form's ~140px) is what actually gives
     product name + image enough room on small screens. */
  .search-results-panel {
    position: fixed;
    left: 1rem;
    right: 1rem;
    width: auto;
    top: 68px;
  }

  .search-button {
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #757575;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
  }

  /* Logo */
  .logo-img {
    height: 30px;
    width: auto;
  }

  /* Menu button */
  .menu-button {
    display: flex;
    border: none;
    background: none;
    color:  var(--color-text-secondary);
    font-size: 24px;
    padding: 5px;
    margin-left: 0.5rem;
    cursor: pointer;
  }

  /* Hide regular nav list on mobile */
  .nav-list {
    display: none;
  }

  /* Mobile menu panel styles */
  #main-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 270px;
    height: 100vh;
    background: #000000;
    padding: 1rem;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  #main-menu.active {
    right: 0;
  }

  /* Mobile menu items */
  #main-menu .nav-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
  }

  .nav-link {
    color:  var(--nav-link-color);
    text-decoration: none;
    font-size: 16px;
    padding: 0.5rem 0;
  }

  /* Mobile buttons */
  .login-button,
  .signup-button {
    display: block;
    width: 100%;
    padding: 10px;
    text-align: center;

    /* Nav Menu */
    nav .search_box {
      display: flex;
      margin: auto 1px;
      margin-left: 98px;
    }

    .sub-headline {
      width: 80%;
    }

    nav button.nav-btn-dd {
      display: flex;
      margin: 5px;
      padding-right: 10px;
    }

    form {
      width: 22vh;
    }

    .triggerSearch {
      font-size: 16px;
      width: 36px;
    }

    .search-bar input {
      padding: 6px;
      font-size: 15px;
    }

    #ss-icon {
      justify-content: space-around;
      margin-left: 1rem;
    }

    #ss-icon i {
      color: var(--color-text-secondary);
      font-size: 1.2rem;
    }

    /* Single Product */
    #prodetails {
      display: flex;
      flex-direction: column;
    }

    #prodetails .s_prod_details {
      width: 100%;
    }

    /* About page */

    #about-head {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    #about-head {
      padding-left: 0px;
    }

    #about-app .video {
      width: 100%;
    }

    #about-head img {
      width: 100%;
      height: auto;
    }

    /* Contact Page */
    #contact-details {
      display: flex;
      flex-direction: column;
    }

    #contact-details .details {
      width: 100%;
      margin-bottom: 40px;
    }

    #contact-details .map {
      width: 100%;
    }

    #form-details {
      margin: 10px;
      padding: 30px 10px;
      flex-wrap: wrap;
    }

    #form-details form {
      width: 100%;
      margin-bottom: 30px;
    }

    

    

    

    /* Mens Page */
    .image-custom {
      object-fit: contain;
      width: 100%;
      height: 100%;
    }

    #prod-card-container {
      margin: 0px 0px !important;
    }

    #product1 .pro {
      height: auto;
      margin: 1px;
    }
  }
}