

body {
    font-family: Arial, sans-serif;
    background-color: #313715; 
}



.site-header {
  display: flex;
  align-items: center;
  background: #313715;
  color: whitesmoke;
  padding: 1.2rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}








.menu-toogle {
    display: block;
    position: relative;
    z-index: 1;
    width: max-content;    
}

.menu-toogle input[type="checkbox"] {
    display: block;
    width: 2.5em;
    height: 2.5em;
    margin-left: 1.1em;
    margin-top: 4em;
    position: absolute;
     top: -3.2em;
    cursor: pointer;
    z-index: 2;
    opacity: 0;
}

.menu-toogle span {
    display: block;
    bottom:  -1em;
    width: 2em;
    height: 0.22em;
    background-color: whitesmoke;
    margin-left: 1em;
    margin-bottom: 0.32em;
    position: relative;
    z-index: 1;
    transform-origin: 5px 0px;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
    opacity 0.5 ease;

}

.menu-toogle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg);
    background-color: blue;
}

.menu-toogle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
}

.menu-toogle input:checked ~ span:nth-last-child(2) {
    transform: rotate(-45deg);
}

.menu-link {
    position: absolute;
    width:  15em;
    height: 35vh;
    margin: 1em -2em;
    padding: 1em  0;
    background-color: #313715;
    list-style: none;
    transform: translate(-100%, 0);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

.menu-toogle input:checked ~ ul {
    transform: none;
}

.menu-link a {
    color: whitesmoke;
    transition: color 0.3s ease;
    text-decoration: none;
}    


.menu-link a:hover {
    color: blue;
}

.menu-link li {
    padding: 0.8em  0;
    font-size: 1.3em;
    margin-left: 2em;  
}





.dropdown-toggle1 {
  display: none;
}





.logo {
  font-size: 24px;
  margin-left: 2em;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: normal;
}

.account-pics {
  display: none;
}


.search-section {
  flex: 1; /* makes search take all available space */
  margin-left: 10em;
}


.search-wrapper {
  display: flex;
  width: 90%;
}
.search-wrapper input {
  flex: 1;
  padding: 0.5rem;
  border-radius: 4px 0 0 4px;
  border: none;
}

.search-wrapper button {
  padding: 0.5rem 1rem;
  background: whitesmoke;
  border: none;
  border-radius: 0 4px 4px 0;
  color: #fff;
  cursor: pointer;
}




.search-btn {
  background: none;
  border: none; 
  cursor: pointer;
  padding: 0;
}

.search-icon {
  display: block;  
}  




/* Right-side actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: 1rem;
}

.dropdown-wrapper { position: relative; } 
.dropdown-toggle {
  background: none;
  border: none;
  color: whitesmoke; 
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: normal;
}

.account-space {
  margin-left: 0.6em;
}

.help-space {
  margin-left: 0.6em;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  background-color: #313715;
  border-radius: 4px;
  min-width: 180px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  word-spacing: 1px;
  white-space: nowrap;
  
}
.dropdown a {
  display: block;
  padding: 0.6rem;
  color: whitesmoke;
  text-decoration: none;
}
.dropdown a:hover { background: #0077ff; }



.cart-wrapper {
  position: relative;
  display: inline-block; 
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: red;
  color: white;
  font-size: 11px;
  font-weight: bold;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
}


.cart-space {
  margin-left: 0.6em;
  color: whitesmoke;
  font-size: large;
}





.price {
  letter-spacing: 2px; 
  color: #000;  
  font-weight: bold;  
}






.search-wrapper {
    position: relative; /* This keeps the dropdown attached to the box */
}

.suggestions {
    position: absolute;
    top: 100%; /* Directly under the input */
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 9999; /* Higher than everything else */
    display: none;
    border-radius: 0 0 8px 8px;
}

.suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid #f9f9f9;
    color: #333;
}

.suggestion-item:hover {
    background-color: #f1f1f1;
}
























#main {
    
    margin: 0 auto;
}





 /* Carousel Container */
.slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}

/* Carousel Track */
.carousel {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 10px;
  animation: scroll 35s linear infinite;
}

/* Carousel Items */
.carousel img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

/* Hover effect on images */
.carousel img:hover {
  transform: scale(1.05);
}

/* Pause animation on hover */
.carousel:hover {
  animation-play-state: paused;
}

/* Keyframes for seamless scroll */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* scroll halfway since items are duplicated */
  }
}












.container {
    width: 100%;
    max-width: 1600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; 
   
   
}

h2 {
    margin-top: 1em;
    margin-bottom: 10px;
    color: whitesmoke;
}

.product-container {
    display: flex; 
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.product-card {
    padding: 5px;
    width: 245px;
    height: auto;
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: -0.5px;
    color: whitesmoke;
    background-color: #fafafa;
}

.product-card a {
  text-decoration: none;
}


.product-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: auto;
  
}












.footer {
  background: black; /* Dark modern background */
  color: #eee;
  padding: 3rem 1.5rem;
  font-family: 'Segoe UI', sans-serif;
}

.div-all {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Section titles */
.footer-content h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #00bcd4; /* Accent color */
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Footer links */
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 0.6rem;
}

.footer-list a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-list a:hover {
  color: #00bcd4;
}

/* Social icons */
.social {
  margin-top: 1rem;
}

.social a {
  color: #ccc;
  font-size: 1.4rem;
  margin-right: 0.8rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social a:hover {
  color: #00bcd4;
  transform: scale(1.1);
}

/* Footer bottom copy 
#footer::after {
  content: "© 2025 Donvell. All rights reserved.";
  display: block;
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #888;
}
  */


.footer-links {
  display: none;
}