:root {
  --primary-bg: #121313;
  --secondary-bg: #4d5258;
  --text-color: #f8f4f4;
  --link-color: #ffffff;
  --accent-color: #040404;
  --border-color: #485769;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-color);
}

/* Hamburger Styles */
.hamburger-container {
  position: relative;
  display: inline-block;
  margin-left: 20px;
}

#hamburger-icon {
  font-size: 24px;
  color: white;
  cursor: pointer;
}

.hamburger-menu {
  display: none;
  position: absolute;
  top: 30px;
  left: 0;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
  z-index: 1000;
  border-radius: 5px;
}

.hamburger-menu a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid #eee;
}

.hamburger-menu a:hover {
  background-color: #f1f1f1;
}


/* Header */

#top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background-color: var(--secondary-bg);
  padding: 12px 20px;
  gap: 15px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* LOGO */
#img {
  height: 40px;
}

/* SEARCH BAR */
.search {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  background-color: white;
  min-width: 200px;
  max-width: 600px;
}

.all, .glass {
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: background-color 0.3s;
}

.all {
  background-color: #f2f2f2;
  color: #333;
  border-right: 1px solid #ccc;
}

.all:hover {
  background-color: #ddd;
}

#search {
  flex: 1;
  padding: 10px;
  font-size: 15px;
  border: none;
  outline: none;
}

.glass {
  background-color: var(--accent-color);
  color: white;
}

.glass:hover {
  background-color: #cc5500;
}

/* ICON  */
.fas.fa-bars {
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* CART */
.cart {
  display: flex;
  align-items: center;
  gap: 6px;
  color: white;
  font-size: 15px;
  cursor: pointer;
}

/* LOGIN, LANG, LOCATION */
.login, .Language, .loc {
  color: white;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.icp-nav-flag-in {
  width: 24px;
  height: 16px;
  background-image: url('https://flagcdn.com/in.svg');
  background-size: cover;
}

.nav-flyout-button {
  background: none;
  border: none;
  cursor: pointer;
  color: white;
}

/* --- MEDIA QUERIES --- */

/* Screens <= 900px: layout adjusts nicely */
@media (max-width: 900px) {
  #top {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 15px;
  }

  /* New horizontal top row: Logo + Search + Cart */
  .top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1 1 100%;
    gap: 10px;
  }

  .search {
    flex: 1 1 auto;
  }

  .cart {
    white-space: nowrap;
  }
  .login{
    text-decoration: none;
  }

  /* Stack the rest below */
  .bottom-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    flex: 1 1 100%;
  }
}

@media (max-width: 600px) {
  .top-row {
    flex-direction: column;
    align-items: stretch;
  }

  .search {
    width: 100%;
  }

  .cart {
    align-self: flex-end;
  }

  .bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .login{
    text-decoration: none;
  }
}
  
/* Bar */
.bar{
  display: flex;
  justify-content: space-around;
  background-color: black;
  height: 40px;
  align-items: center;
  background: fixed;
}
.bar::-webkit-scrollbar{
  width: 0;
}
.options{
  text-decoration: none;
  background-color:rgb(8, 8, 8);
  color: rgb(253, 252, 252);
  border-radius: 5%;
  size:50px;
  font-size: 20px;
  box-sizing: border-box;
}
.options:hover{
  background-color: white;
  color: rgb(7, 7, 7);
}


/* Slider */
.slider {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  flex: 0 0 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev { left: 10px; }
.next { right: 10px; }

/* Product Grid */
.con {
  padding: 20px 10px;
}

.shop_container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.shop {
  flex: 1 1 300px;
  max-width: 400px;
  border: 1px solid whitesmoke;
  padding: 10px;
  text-align: center;
  background-color: transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shop:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.shop img {
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
}

.shop_text {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
  color: white;
}

/* Footer */

.backtotop{
  height: 50px;
  margin-top: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.backtotop button{
  background-color: var(--secondary-bg);
  color: white;
}

.footer{
  height: 350px;
  background-color: var(--secondary-bg);
  text-align: center;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.foot1{
  height: 300px;
  width: 250px;
  display:flex;
  flex-direction: column;
  color: whitesmoke;
  text-decoration: none;
  
}
.foot1 a{
  text-decoration: none;
  font-size:small;
  color: whitesmoke;
}
.foot1 a:hover{
  color: blue;
}
.foo{
  height: 100px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.foo-{
  height: 50px;
  width: 200px;
  display: flex;
  justify-content:space-evenly;
  align-items: center;
  border: 1px solid whitesmoke;
  color: whitesmoke;
}
.column-items {
    display: flex;
    flex-direction: column;
    gap: 10px; 
    align-items: center;
    
}
.column{
     display: flex;
    flex-direction: column;
    gap: 10px; 
    align-items: center;

  }
 .column-items:hover{
    color: #007;
  }

@media (min-width: 768px) {
  #top {
    flex-wrap: nowrap;
    
    
  }

  .loc {
    display: flex;
  }

  .search {
    flex: 1;
    max-width: 600px;
    margin: 0;
  }

  .shop_container {
    justify-content: space-evenly;
  }

  .footer {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }

  .column-items {
    flex-direction: row;
  }

  .slider {
    height: 400px;
  }
  .column-items {
    display: flex;
    flex-direction: column;
    gap: 10px; 
    align-items: center;
    
}
.column{
     display: flex;
    flex-direction: column;
    gap: 10px; 
    align-items: center;

  }
 .column-items:hover{
    color: #007;
  }

}

@media (min-width: 1200px) {
  .slider {
    height: 600px;
  }

  .shop {
    max-width: 450px;
  }
  .column{
     display: flex;
    flex-direction: column;
    gap: 10px; 
    align-items: center;

  }
   .column-items:hover{
    color: #007;
  }

}
@media (max-width:700px){
  .bar {
  display: flex;            
  overflow-x: auto;         
  white-space: nowrap;      
  width: 100%;              
  scrollbar-width: thin;   
  }
  .bar::-webkit-scrollbar{
  width: 0;
}

  .bar .options {
    flex: 0 0 120px;          
    display: inline-block;    
    text-align: center;      
    padding: 10px 0;
    box-sizing: border-box;
    border-right: 1px solid #ccc;  
    white-space: normal;      
  }
  .foot {
  color: #000; 
  text-decoration: none;
  display: block;
  margin: 5px 0;
  transition: color 0.3s ease;
  }

  .foot:hover {
    color: blue; 
  }
  .foot a:hover{
    color: #007BFF;

  }
  .foo-{
    color: whitesmoke;
  }
  .column-items span:hover {
    color: #007BFF;
    text-decoration: underline;
    text-decoration: none;
  }
  .foot1 {
  padding: 20px;
  text-decoration: none;
  display: block;
  margin: 5px 0;
  transition: color 0.3s ease;
  background-color: transparent;
  border: black;
  }
  .column{
     display: flex;
    flex-direction: column;
    gap: 10px; 
    align-items: center;

  }
  .column-items {
    display: flex;
    flex-direction: column;
    gap: 10px; 
    align-items: center;
  }
  .column-items:hover{
    color: #007;
  }

}
.bar::-webkit-scrollbar{
  width: 0;
}