/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

button {
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    background-color: #FFF;
}

/* Top Navigation Bar */
.navbar {
    background-color: #000;
    color: white;
    padding: 8px 0;
    font-size: 15px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
}

.nav-left, .nav-right {
    display: flex;
    gap: 25px;
}

.nav-link {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 1;
    text-decoration: underline;
}




/* Main Header */
.main-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease;
    width: 100%;
}

.login-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.login-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}


.loginimg1{
    width: 30px;
    height: 30px;
}

.product-menu{
   
    padding: 20px;
    border-radius: 10px;
    position: absolute;
    z-index: 1000;
     background-color: rgba(255, 255, 255, 0.467);
    height: 300px;
    backdrop-filter: blur(10px);
    display: none;
    gap: 10px;
    overflow: hidden;
    width: 733px;
    left: 16%;
    color:  black;

}
.sub-product{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
}
.sub-product-button{
   width: 150px;
   height: 120px;
   font-size: 15px;
   border-radius: 10px;
   font-weight: 600;

}
.sub-product-2{
    overflow: hidden;
   background-color: red;
   width: 50%;
}
.sub-product-2 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    margin-bottom: 10px;
}
/* Responsive adjustments only (no existing code changed) */

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.offers-dropdown {
    position: absolute;
    top: 40px;
    left: 0;
    width: 180px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    list-style: none;
    padding: 10px 0;
    display: none;
    transition: 0.3s ease;
    z-index: 1000;
}

/* Dropdown Container */
.dropdown{
position:relative;
display:inline-block;
}

/* Button */
.dropbtn{
background:#fff;
padding:12px 18px;
border:none;
font-size:16px;
cursor:pointer;
font-weight:700;
}

/* Dropdown Box */
.dropdown-content{
display:none;
position:absolute;
background:#fff;
min-width:250px;
padding:12px;
box-shadow:0 4px 10px rgba(245, 240, 240, 0.877);
}

/* Links */
.dropdown-content a{
display:block;
text-decoration:none;
color:#333;
padding:6px 0;
font-size:15px;
}

.dropdown-content a:hover{
color:black;
font-weight:bold;
}

/* Show Dropdown */
.show{
display:block;
}

.header-container {
     
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo img {
    height: 65px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav-link {
    font-weight: 700;
    position: relative;
    font-size: medium;
    color: #333;
}

.main-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3db28b;
    transition: width 0.3s ease;
}

.main-nav-link:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
     pointer-events: auto;
}

.search-box {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 25px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.search-box:focus-within {
    box-shadow: 0 0 10px rgba(144, 200, 64, 0.3);
}

.search-box input {
    border: none;
    padding: 8px 15px;
    outline: none;
    width: 200px;
}

.search-box button {
    background-color: #3db28b;
    color: white;
    padding: 8px 15px;
    border: none;
}

.header-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.login-logo{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 5px;
}

.icon-link {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}
.icon-link span{
     margin: 0;
}



.cart-count {
    position: absolute;
    top: 18px;
    right: -12px;
    background-color: #fff;
    border: 2px solid #1f2937;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

section {
    padding: 0;
    margin: 0;
}

.offerimg {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}
/* FOOTER */


.footer {
  background: #bdbdbd;
  color: #000;
  font-weight: 500;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding: 40px 50px;
}

.footer-logo {
  width: 140px;
  margin-bottom: 12px;
}

.footer-box h4 {
  font-size: 16px;
  margin-bottom: 12px;
  font-weight: bold;
}

.footer-box p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-box ul {
  list-style: none;
}

.footer-box ul li {
  margin-bottom: 8px;
}

.footer-box ul li a {
  text-decoration: none;
  color: #000;
  font-size: 14px;
}

.footer-box ul li a:hover {
  text-decoration: underline;
}

.follow {
  margin-top: 12px;
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-icons img {
  width: 36px;
  height: 36px;
  border-radius: 55%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.social-icons img:hover {
  transform: scale(1.15);
}
.map-box iframe {
  width: 100%;
  height: 180px;
  border: 0;
}

.footer-bottom {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }
}


