/* === GLOBAL RESETS === */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&display=swap');

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
}

/* === HEADER === */
header {
    padding: 1em 4.5em;
    display: flex;
    align-items: center;
    width: 100%;
    position: fixed;
    top: 0;
    justify-content: center;
    left: 0;
    background-color: #fff;
    box-shadow: 0px 0px 2px 5px rgba(119, 102, 102, 0.2);
    z-index: 1000;
}
header a{
    color: black;
}
body{
    font-size: .875rem;
    margin: 0;
    padding: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.head_wrapper{
    display: flex; 
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
       max-width: 1190px;
}
/* LOGO */
header h2 {
    font-weight: bolder;
    font-size: 2.2em;
    color: #000; 
    flex: 1;
}

/* === NAVIGATION === */
.firstBatch{
display:flex;
 align-items: center;gap:12px
}
.secondBatch{
    display: flex; align-items: center;
}
.headnav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
    flex: 3;
}
/* === SEARCH BAR === */
.headerinput {
    display: flex;
    align-items: center;
    position: relative;
    width: 55%;
    gap: 8px;
}

.headerinput input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95em;
}

.headerinput button {
    padding: 12px 14px;
    background-color: #1b7ec0;
    border: none;
    color: white;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.headerinput button:hover {
    background-color: #145a8d;
}

.suggest-box {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ddd;
  border-top: none;
  max-height: 180px;
  overflow-y: auto;
  display: none;
  z-index: 2000;
}

.suggest-box div {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.suggest-box div:hover {
  background: #f0f0f0;
}

/* === HEADER LINKS (ACCOUNT, HELP, CART) === */
.headnav ul {
    display: flex;
    align-items: center;
    gap: 20px;
}
.headnav ul li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    color: #333;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}
.headnav ul li:hover {
    color: #1b7ec0;
    background-color: #f2f8ff;
}

/* === ICONS === */
.headicon {
    width: 24px;
    height: 24px;
    color: #444;
    transition: color 0.2s ease;
}

.headnav ul li:hover .headicon {
    color: #1b7ec0;
}
.dropdown {
    width: 10px;
    height: 10px;
}

/* === DROPDOWN MENU === */
.icon-drop{
    position: relative;
}
.submenu {
    position: absolute;
    top: 110%;
    left: 0;
    width: 180px;
    background: #fff;
    display: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 0px 0px 0px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);

    z-index: 999;
}
/* for categories */
.submenu-cat{
    position: absolute;
    top: 130%;
    left: 0;
    width: 180px;
    display: none;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 0px 0px 0px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 999;
}
.icon-drop.active{
border-bottom:2px solid #0f0f0f80;
}
.mobileHeadlistI{
  display: none !;
}
.submenu-cat a{
    display: flex;
    align-items: center;
    padding: 12px 14px;
    gap: 4px;
    transition: background 0.2s;
}
.submenu a {
    padding: 12px 14px;
    display: block;
    font-size: 0.9em;
    transition: background 0.2s;
}
.submenu-item {
    color: #333;
    display: flex;
    align-items: center;
}
.submenu-item:hover {
    background: #d8d3d3;
    color: #1b7ec0;
}
.dropdownbtn{
    padding: 12px 14px;
    display: flex;
    font-size: 0.9em;
    transition: background 0.2s;
    border: none;
    justify-content: center;
    width: 100%;
    text-align: center;
    background-color: #1b7ec0;
    color: white;
border-radius: 0.3em;
/* margin: 0px 8px; */
}
.dropdownbtn:hover{
    background-color: #145a8d;
}
.headlist{
    display: flex;
    align-items: center;
    padding: 7px;
    cursor: pointer;
    gap: 3px;
    border-radius: 0.3em;
}
#headlistI.active{
    background-color: #4294f940;
}
#headlistII.active{
    background-color: #4294f940;
}
/* == Footer == */
footer {
    color: white;
    width: 100%;
    font-family: Arial, sans-serif;
  }
  
  /* Remove bullet points */
  footer li {
    list-style-type: none;
  }
  
  /* ---------- SECTION 1 ---------- */
  .lastphasei {
    width: 100%;
    background-color: #161827;
    padding: 2em 4.5em;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2em;
  }
  
  .lastphasei h2 {
    font-size: 1.7em;
    margin-bottom: 0.5em;
  }
  
  .lastdiv1 {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 250px;
    max-width: 400px;
  }
  
  .lastdiv1_span1 {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 0;
    flex-wrap: wrap;
  }
  
  .lastdiv1_span1 p {
    background-color: #fff;
    padding: 12px;
    border-radius: 0.3em;
    color: black;
    font-size: 0.9rem;
    flex: 1;
    min-width: 150px;
  }
  
  .lastdiv1_span1 button {
    padding: 10px 14px;
    border-radius: 0.3em;
    background-color: #161827;
    color: white;
    cursor: pointer;
    border: 1px solid #fff;
    font-weight: 600;
    transition: 0.3s ease;
  }
  
  .lastdiv1_span1 button:hover {
    background-color: #19252d;
  }
  
  /* ---------- SECTION 2 ---------- */
  .lastphaseii {
    background-color: #06060a;
    padding: 2em 4.5em;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2em;
  }
  
  .lastphaseii ul {
    margin: 0;
    padding: 0;
  }
  
  .lastphaseii strong {
    display: block;
    margin-bottom: 0.6em;
    font-size: 1.1rem;
    color: #bdc0d1;
  }
  
  .lastphaseii a {
    text-decoration: none;
    color: #a6acca;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: 0.3s;
  }
  
  .lastphaseii a:hover {
    opacity: 1;
    color: #60a5fa;
  }
  
  .agree {
    background-color: #06060a;
  }
  #searchMobile{
    display: none;
  }
      .logout-notification {
      position: fixed;
      top: 20px;
      right: 20px;
      background: white;
      border-radius: 8px;
      padding: 16px 20px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 320px;
      z-index: 10000;
      opacity: 0;
      transform: translateX(400px);
      transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .logout-notification.show {
      opacity: 1;
      transform: translateX(0);
    }

    /* Icon */
    .notification-icon {
      width: 40px;
      height: 40px;
      background: #16b71b;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-shrink: 0;
    }

    .notification-icon svg {
      width: 20px;
      height: 20px;
      color: white;
    }

    /* Content */
    .notification-content {
      flex: 1;
    }

    .notification-content p {
      margin: 0;
      font-size: 14px;
      color: #2d3748;
      font-weight: 500;
    }

    /* Close button */
    .notification-close {
      width: 24px;
      height: 24px;
      background: transparent;
      border: none;
      cursor: pointer;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 4px;
      transition: background 0.2s;
      flex-shrink: 0;
    }

    .notification-close:hover {
      background: #f7fafc;
    }

    .notification-close svg {
      width: 16px;
      height: 16px;
      color: #718096;
    }
  /* ---------- RESPONSIVENESS ---------- */
  
  /* Tablets (medium screens) */
  @media (max-width: 992px) {
    .lastphasei,
    .lastphaseii {
      padding: 2em 2em;
      justify-content: center;
      text-align: center;
    }
  
    .lastdiv1 {
      align-items: center;
    }
  
    .lastdiv1_span1 {
      flex-direction: column;
      align-items: stretch;
    }
  
    .lastdiv1_span1 p {
      width: 100%;
    }
  
    .lastdiv1_span1 button {
      width: 100%;
    }
  
    .lastphaseii ul {
      width: 45%;
      text-align: center;
    }
    #headlistII{
      display: none;
    }
    #searchMobile{
    display: flex;
  }
  }
  
  /* Mobile ( screens) */
@media(max-width:900px){
    .Top-row-static{
      width: 100%;
      height:100% !important;
    }
  
      .headlist p{
        display:none
      }
      .headerinput {
        display: none;
        
    }
       .logout-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
      }
    header{
      padding: 0.3em 0.7em;
    }
    /* LOGO */
header h2 {
  font-weight: bolder;
  font-size: 1.7em;
  color: #000; 
  flex: 1;
}
header .dropdown{
  display:none;
}
.headnav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
/* === ICONS === */
.headicon {
  width: 28px;
  height: 28px;
  color: #444;
  transition: color 0.2s ease;
}
.secondBatch img{
  width:30px !important;
   }
   #headlistI{
    display: none;
   }
.mobileHeadlistI{
  display: flex !important;
}
 .lastphasei,
    .lastphaseii {
      flex-direction: column;
      align-items: center;
      gap: 2em;
      padding: 1.5em;
    }
  
    .lastphasei h2 {
      font-size: 1.4em;
    }
  
    .lastphaseii ul {
      width: 100%;
    }
  
    .lastdiv1_span1 {
      flex-direction: column;
    }
  
    .lastdiv1_span1 p,
    .lastdiv1_span1 button {
      width: 100%;
    }
  
    .lastdiv1 label {
      font-size: 0.8rem;
    }
  
}
/* Exclusive for medium phone sizes */
@media(max-width:397px){
  header h2{
    font-size: 1.5em; 
  }
}
/* Exclusive for smaller phone sizes */
@media(max-width:330px){
 header h2{
  font-size: 1.3em; 
}
.headicon {
  width: 24px;
  height: 24px;
  color: #444;
  transition: color 0.2s ease;
}
.secondBatch img{
  width:27px !important;
}
}
  
