/* HEADER STYLING */

.main-header {
    background-color: #eaeaea;
    padding: 10px 40px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
}

.nav-links a:hover {
    color: black;
}

.user-section {
    font-weight: 600;
}

.username {
    color: black;
}
/* ===== FOOTER ===== */

.main-footer {
    background: linear-gradient(to right, #0f0f0f, #1a1a1a);
    color: #ccc;
    padding: 60px 40px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-card {
    background-color: #1c1c1c;
    padding: 30px;
    border-radius: 12px;
    width: 320px;
}

.footer-card h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-card input {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 6px;
    border: none;
    background-color: #2a2a2a;
    color: white;
}

.footer-card button {
    width: 100%;
    padding: 10px;
    background-color: #3b5bdb;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    margin-bottom: 15px;
    color: white;
}

.footer-column a {
    display: block;
    text-decoration: none;
    color: #aaa;
    margin-bottom: 8px;
}

.footer-column a:hover {
    color: white;
}

.footer-logo img {
    width: 120px;
}

.footer-bottom {
    margin-top: 40px;
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-icons span {
    margin-right: 10px;
    background-color: #2a2a2a;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
}
/* USER ACCOUNT AREA */

.user-account{
display:flex;
align-items:center;
gap:12px;
font-size:14px;
font-weight:500;
}


/* USERNAME BADGE */

.user-account .username{
background:#eef2ff;
color:#1e40af;
padding:6px 12px;
border-radius:20px;
font-weight:600;
}


/* LOGOUT BUTTON */

.user-account a{
text-decoration:none;
background:#ef4444;
color:white;
padding:6px 14px;
border-radius:6px;
font-size:13px;
transition:0.2s;
}

.user-account a:hover{
background:#dc2626;
}
/* ===== HEADER ===== */

.main-header{
background:#ffffff;
border-bottom:3px solid #2f4da3;
}

.header-container{
max-width:1200px;
margin:auto;
padding:14px 20px;
display:flex;
align-items:center;
justify-content:space-between;
}

/* ===== LOGO ===== */

.logo img{
height:42px;
}

/* ===== NAV LINKS ===== */

.nav-links{
display:flex;
gap:30px;
}

.nav-links a{
text-decoration:none;
font-size:15px;
color:#374151;
font-weight:500;
transition:0.25s;
}

.nav-links a:hover{
color:#2f4da3;
}


/* ===== USER SECTION ===== */

.user-section{
display:flex;
align-items:center;
gap:12px;
}

/* username */

.username{
padding:7px 14px;
background:#f1f5f9;
border-radius:20px;
text-decoration:none;
color:#1f2937;
font-weight:600;
font-size:14px;
transition:0.25s;
}

.username:hover{
background:#e2e8f0;
}


/* logout button */

.logout-btn{
padding:7px 16px;
background:#ef4444;
color:white;
border-radius:20px;
text-decoration:none;
font-size:14px;
font-weight:600;
transition:0.25s;
}

.logout-btn:hover{
background:#dc2626;
}


/* login button */

.login-btn{
padding:7px 18px;
background:#2f4da3;
color:white;
border-radius:20px;
text-decoration:none;
font-weight:600;
font-size:14px;
transition:0.25s;
}

.login-btn:hover{
background:#233b7d;
}
.main-header{
position:sticky;
top:0;
z-index:1000;
background:white;
box-shadow:0 2px 10px rgba(0,0,0,0.05);
}
/* ===== HEADER RIGHT SECTION ===== */

.header-right{
display:flex;
align-items:center;
gap:18px;
}


/* ===== CART ICON ===== */

.cart-icon{
position:relative;
font-size:20px;
color:#374151;
text-decoration:none;
transition:0.25s;
}

.cart-icon:hover{
color:#2f4da3;
}


/* ===== CART COUNT BADGE ===== */

.cart-count{
position:absolute;
top:-8px;
right:-10px;
background:#2f4da3;
color:white;
font-size:10px;
padding:3px 6px;
border-radius:50%;
font-weight:600;
}


/* ===== IMPROVE USER SECTION ALIGNMENT ===== */

.user-section{
display:flex;
align-items:center;
gap:12px;
}
/* =================================
USER PROFILE SIDEBAR
================================= */

.page-layout {
  max-width: 1200px;
  margin: 40px auto;
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.profile-sidebar {
  width: 300px;
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: fit-content;
}

.profile-sidebar a {
  text-decoration: none;
  color: #111827;
  font-size: 17px;
  font-weight: 500;
  padding: 18px 22px;
  border-radius: 12px;
  transition: 0.3s;
}

.profile-sidebar a:hover {
  background: #f3f6ff;
  color: #2f4da3;
}

.profile-sidebar a.active {
  background: #4a63e7;
  color: #ffffff;
  font-weight: 600;
}

/* =================================
MAIN CONTENT AREA
================================= */

.main-content {
  flex: 1;
  min-width: 0;
}

/* =================================
RESPONSIVE
================================= */

@media (max-width: 992px) {
  .page-layout {
    flex-direction: column;
  }

  .profile-sidebar {
    width: 100%;
  }

  .main-content {
    width: 100%;
  }
}
.wishlist-icon {
  font-size: 24px;
  text-decoration: none;
  color: #374151;
  transition: 0.3s;
}

.wishlist-icon:hover {
  color: #4a63e7;
}
.page-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
}

.profile-sidebar {
  width: 280px;
  min-width: 280px;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
/* =================================
MOBILE HEADER
================================= */

.menu-toggle{
display:none;
background:none;
border:none;
font-size:24px;
cursor:pointer;
color:#1f2937;
}


/* =================================
TABLET + MOBILE
================================= */

@media(max-width: 992px){

.header-container{
flex-wrap:wrap;
gap:18px;
position:relative;
}

.menu-toggle{
display:block;
}

.nav-links{
display:none;
width:100%;
flex-direction:column;
gap:16px;
padding-top:10px;
border-top:1px solid #e5e7eb;
}

.nav-links.active{
display:flex;
}

.header-right{
width:100%;
justify-content:space-between;
flex-wrap:wrap;
}

.user-section{
flex-wrap:wrap;
}

.logo img{
height:36px;
}

}


/* =================================
MOBILE
================================= */

@media(max-width: 576px){

.main-header{
padding:0;
}

.header-container{
padding:14px;
}

.username{
font-size:12px;
padding:6px 10px;
}

.logout-btn,
.login-btn{
font-size:12px;
padding:6px 12px;
}

.cart-icon,
.wishlist-icon{
font-size:20px;
}

.profile-sidebar{
min-width:100%;
width:100%;
padding:18px;
}

.page-layout{
padding:0 14px;
}

}