/* --- Global Reset & Fonts --- */
body { 
    font-family: 'Montserrat', sans-serif; 
    margin: 0; 
    background-color: #fff; 
    color: #252B42; 
    -webkit-font-smoothing: antialiased;
}

.container { 
    max-width: 1170px; 
    margin: 0 auto; 
    padding: 0 15px; 
}

.status-badge.returned {
  background: #fff7ed;
  color: #ea580c;
}


/* =====================================================
   SIDEBAR
===================================================== */
.sidebar {
  border-right: 1px solid #eee;
  padding-right: 35px;
}

.sidebar-section {
  margin-bottom: 45px;
}

.sidebar-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #aaa;
  margin-bottom: 20px;
}

.sidebar-menu {
  list-style: none;
}

.sidebar-menu li {
  margin-bottom: 18px;
}

.sidebar-menu li a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  padding-left: 16px;
  position: relative;
  transition: 0.3s ease;
}

.sidebar-menu li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: #000;
  transition: height 0.25s ease;
}

.sidebar-menu li a:hover::before {
  height: 16px;
}

.sidebar-menu li a.active {
  font-weight: 700;
}

.sidebar-menu li a.active::before {
  height: 22px;
}

.standalone-link {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  margin-top: 10px;
}

.logout-btn {
  margin-top: 40px;
  background: none;
  border: none;
  color: #c00000;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  transition: 0.2s;
}

.logout-btn:hover {
  color: #000;
}

/* --- Layout Grid (Exact 80px Gap) --- */
.account-wrapper { padding: 40px 0 100px; }

.account-grid { 
    display: grid; 
    grid-template-columns: 240px 1fr; /* Sidebar width vs Content area */
    gap: 80px; /* The exact spacing from Figma image */
    align-items: start; 
}

/* --- Sidebar Styling --- */
.sidebar-category { margin-bottom: 35px; }

.sidebar-category h4 { 
    font-size: 16px; 
    font-weight: 700; 
    margin-bottom: 15px; 
    color: #000;
}

.sidebar-category h4 a {
    color: inherit;
    text-decoration: none;
}

.sidebar-category ul { list-style: none; padding: 0; margin: 0; }

.sidebar-category ul li { margin-bottom: 12px; }

.sidebar-category a { 
    text-decoration: none; 
    color: #7b7878; 
    font-size: 14px; 
    font-weight: 500;
    transition: color 0.3s;
}

/* Red/Coral Active State from Figma */
.sidebar-category a.active { 
    color: #4479db !important; 
    font-weight: 600; 
}

.standalone-link {
    text-decoration: none;
    color: #252B42;
    font-weight: 700;
    font-size: 16px;
}

/* --- Content Box Styling (The Order Section) --- */
.my-orders-section {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 4px 20px rgba(0,0,0,0.05); /* Soft shadow from image */
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #252B42;
}

/* --- Order Card Design --- */
.order-card {
    background-color: #f8f9fa; /* Matches Figma light gray background */
    border: 1px solid #f1f1f1;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 25px;
}

.card-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-row {
    margin-top: 20px;
    align-items: flex-end;
}

/* Text Metrics */
.order-id {
    display: block;
    font-weight: 700;
    font-size: 18px;
    color: #252B42;
    margin-bottom: 4px;
}

.order-date {
    color: #888;
    font-size: 14px;
}

.order-price {
    display: block;
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 2px;
}

.item-count {
    color: #737373;
    font-size: 14px;
}

/* Badges & Buttons */
.status-badge {
    background-color: #2d6a4f; /* Green from the Completed badge */
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.details-btn {
    background: white;
    border: 1px solid #d1d1d1;
    padding: 10px 24px;
    border-radius: 6px;
    color: #444;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.details-btn:hover {
    background: #f0f0f0;
    border-color: #23A6F0;
    color: #23A6F0;
}
/* General Setup */
body { font-family: 'Montserrat', sans-serif; margin: 0; background-color: #fff; color: #252B42; }
.container { max-width: 1170px; margin: 0 auto; padding: 0 15px; }

/* Header & Dropdown */
.main-header { display: flex; justify-content: space-between; align-items: center; padding: 25px 0; }
.logo { font-size: 24px; font-weight: 700; }
.nav-links a { margin: 0 15px; text-decoration: none; color: #737373; font-weight: 600; font-size: 14px; }
.header-actions { display: flex; align-items: center; gap: 25px; }
.icon-group i { font-size: 18px; cursor: pointer; color: #252B42; margin-left: 15px; }

.user-menu-container { position: relative; }
.user-profile i { font-size: 28px; cursor: pointer; }
.account-dropdown {
    position: absolute; right: 0; top: 45px; width: 220px;
    background: rgba(0, 0, 0, 0.85); border-radius: 8px;
    padding: 15px 0; display: none; z-index: 100;
}
.account-dropdown.show { display: block; }
.dropdown-item { display: flex; align-items: center; gap: 12px; padding: 10px 20px; color: #fff; text-decoration: none; font-size: 14px; }

/* Account Page Layout */
.account-wrapper { padding: 60px 0 100px; }
.breadcrumb { margin-bottom: 40px; font-size: 14px; color: #737373; }
.active-page { color: #252B42; font-weight: 600; }
.welcome-section h2 { margin: 0 0 40px; font-size: 22px; }

/* The Grid */
.account-grid { display: grid; grid-template-columns: 240px 1fr; gap: 80px; align-items: start; }

/* Sidebar Styling */
.sidebar-category { margin-bottom: 35px; }
.sidebar-category h4 { font-size: 16px; font-weight: 700; margin-bottom: 15px; }
.sidebar-category ul { list-style: none; padding-left: 15px; }
.sidebar-category ul li { margin-bottom: 12px; }
.sidebar-links a, .sidebar-category ul li a { text-decoration: none; color: #737373; font-size: 14px; }
.sidebar-category ul li a.active { color: #23A6F0; font-weight: 600; }
.standalone-link { text-decoration: none; color: #252B42; font-weight: 700; }

/* Form Card */
.form-container { background: #FFFFFF; padding: 40px 60px; border-radius: 8px; box-shadow: 0px 4px 20px rgba(0,0,0,0.05); }
.form-title { color: #23A6F0; margin-bottom: 30px; font-size: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 25px; }
.input-field label { display: block; font-size: 14px; margin-bottom: 8px; font-weight: 500; }
.input-field input, .password-change-section input {
    width: 100%; padding: 14px; border: none; background: #F5F5F5; border-radius: 4px; box-sizing: border-box;
}
.password-change-section h4 { margin: 30px 0 15px; font-size: 16px; }
.password-change-section input { margin-bottom: 15px; }

/* Buttons */
.form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 30px; margin-top: 30px; }
.cancel-text-btn { background: none; border: none; font-weight: 600; cursor: pointer; }
.save-changes-btn {
    background: #57D18C; color: white; border: none; padding: 16px 45px;
    border-radius: 4px; font-weight: 700; cursor: pointer;
    box-shadow: 0px 4px 10px rgba(87, 209, 140, 0.3);
}

/* Footer Global */
.main-footer {
    background-color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
}

/* Footer Top Bar */
.footer-top {
    background-color: #FAFAFA; /* Light gray background from Figma */
    padding: 40px 0;
}

.footer-brand-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand-row .logo {
    font-size: 24px;
    font-weight: 700;
    color: #252B42;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: #23A6F0; /* Primary blue color for icons */
    font-size: 24px;
}

/* Footer Middle (Links) */
.footer-middle {
    padding: 70px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columns as seen in design */
    gap: 30px;
}

.footer-col h5 {
    font-size: 16px;
    font-weight: 700;
    color: #252B42;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #737373;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #23A6F0;
}

/* Newsletter Input */
.subscribe-form {
    display: flex;
    height: 50px;
}

.subscribe-form input {
    background: #F9F9F9;
    border: 1px solid #E6E6E6;
    border-radius: 5px 0 0 5px;
    padding: 0 20px;
    flex: 1;
    font-size: 14px;
}

.subscribe-form button {
    background-color: #23A6F0;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    font-weight: 400;
    cursor: pointer;
}

.form-text {
    font-size: 12px;
    color: #737373;
    margin-top: 10px;
}

/* Footer Bottom Bar */
.footer-bottom {
    background-color: #FAFAFA;
    padding: 25px 0;
}

.footer-bottom p {
    font-size: 14px;
    font-weight: 700;
    color: #737373;
    text-align: left;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .newsletter { grid-column: span 2; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .newsletter { grid-column: span 1; }
    .footer-brand-row { flex-direction: column; gap: 20px; text-align: center; }
}
/* Container for the cart and checkout area */
.cart-page {
    margin-bottom: 40px; /* Reduced from 100px for a smaller gap */
}

/* The ENVA Brand Section in Footer */
.main-footer {
    border-top: 1px solid #F1F1F1;
    padding-top: 40px; /* Smaller internal top padding */
}

/* Spacing between ENVA logo and the 5-column grid */
.footer-top {
    margin-bottom: 30px; /* Tightens the area around the ENVA logo */
}
/* Sidebar Logout Fix */
.logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff5f5;
    color: #ff4d4d;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    width: fit-content;
    margin-top: 20px;
    border: 1px solid #ffebeb;
}

/* ======================================================
   USER DROPDOWN
====================================================== */
.user-menu {
  position: relative;
}

/* user icon */
.user-icon {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #000;
}

/* dropdown box */
.user-dropdown {
  position: absolute;
  top: 48px;
  right: 0;
  width: 240px;
  background: #3f3f3f;   /* dark grey */
  border-radius: 10px;
  padding: 10px 0;
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
  display: none;
  z-index: 3000;
}

/* show dropdown */
.user-dropdown.active {
  display: block;
}

/* dropdown links */
.user-dropdown a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  color: #eaeaea;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.25s ease;
}

/* icons */
.user-dropdown a i {
  width: 18px;
  font-size: 15px;
  color: #d0d0d0;
}

/* hover */
.user-dropdown a:hover {
  background: rgba(255,255,255,0.08);
}

/* logout */
.user-dropdown .logout {
  color: #ff9c9c;
}

.user-dropdown .logout i {
  color: #ff9c9c;
}

/* mobile alignment */
@media (max-width: 768px) {
  .user-dropdown {
    right: -10px;
  }
}
/* =====================================================
   MOBILE ACCOUNT TABS – EXACT TOKYO SPORTS STYLE
===================================================== */

@media (max-width: 768px) {

  /* layout */
  .account-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* sidebar becomes tab bar */
  .sidebar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding: 6px 0 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;

    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .sidebar::-webkit-scrollbar {
    display: none;
  }

  /* remove section titles */
  .sidebar-category h4 {
    display: none;
  }

  /* flatten all lists into one row */
  .sidebar-category ul {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 0;
    margin: 0;
  }

  .sidebar-category ul li {
    list-style: none;
    margin: 0;
  }

  /* pill buttons */
  .sidebar-category ul li a,
  .standalone-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;

    border-radius: 18px;
    background: #f2f2f2;
    color: #737373;
    text-decoration: none;

    transition: all 0.25s ease;
  }

  /* active pill */
  .active,
  .active-link {
    background: #23A6F0;
    color: #fff;
  }

  /* hide logout in tab bar */
  .logout-btn {
    display: none;
  }

  /* content spacing */
  .form-container {
    padding: 20px;
  }

  .welcome-section h2 {
    font-size: 16px;
    margin-bottom: 12px;
  }
}
/* =========================
   ACCOUNT MOBILE SCROLL MENU
========================= */

@media (max-width:768px){

  /* stack layout */
  .account-grid{
    display:flex;
    flex-direction:column;
  }

  /* sidebar becomes horizontal */
  .sidebar{
    width:100%;
    overflow-x:auto;
    padding-bottom:10px;
  }

  /* remove section titles on mobile */
  .sidebar-title{
    display:none;
  }

  /* horizontal menu */
  .sidebar-menu{
    display:flex;
    gap:12px;
    overflow-x:auto;
  }

  .sidebar-menu li{
    flex:0 0 auto;
    list-style:none;
  }

  .sidebar-menu a{
    white-space:nowrap;
    padding:8px 14px;
    background:#f5f5f5;
    border-radius:8px;
    font-size:13px;
  }

  /* active tab */
  .sidebar-menu a.active{
    background:#111;
    color:#fff;
  }

  /* hide scrollbar */
  .sidebar-menu::-webkit-scrollbar{
    display:none;
  }

}

/* =========================
   MOBILE ACCOUNT SPACING
========================= */

@media (max-width:768px){

  /* push the hello text down */
  .welcome-section{
    margin-top:20px;
    margin-bottom:12px;
  }

  /* spacing for horizontal menu */
  .sidebar{
    margin-top:8px;
    margin-bottom:18px;

    
  }

}

/* MOBILE ACCOUNT SPACING FIX */

@media (max-width:768px){

  .account-wrapper{
    padding-top:90px;
  }

}

.container {
    max-width: 95%;
    margin: 85px auto;
    padding: 0 15px;
}

/* General Setup */
body { font-family: 'Montserrat', sans-serif; margin: 0; background-color: #fff; color: #252B42; }

/* Header & Dropdown */
.main-header { display: flex; justify-content: space-between; align-items: center; padding: 25px 0; }
.logo { font-size: 24px; font-weight: 700; }
.nav-links a { margin: 0 15px; text-decoration: none; color: #737373; font-weight: 600; font-size: 14px; }
.header-actions { display: flex; align-items: center; gap: 25px; }
.icon-group i { font-size: 18px; cursor: pointer; color: #252B42; margin-left: 15px; }

.user-menu-container { position: relative; }
.user-profile i { font-size: 28px; cursor: pointer; }
.account-dropdown {
    position: absolute; right: 0; top: 45px; width: 220px;
    background: rgba(0, 0, 0, 0.85); border-radius: 8px;
    padding: 15px 0; display: none; z-index: 100;
}
.account-dropdown.show { display: block; }
.dropdown-item { display: flex; align-items: center; gap: 12px; padding: 10px 20px; color: #fff; text-decoration: none; font-size: 14px; }


/* ==========================================
   PROFESSIONAL ECOMMERCE ACCOUNT PAGE
   (NO HEADER / NO FOOTER)
========================================== */

.account-wrapper {
  padding: 40px 0 70px;
}

.welcome-section {
  margin-top: 10px;
}



.welcome-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 40px 0;
}


/* Breadcrumb */
.breadcrumb {
  font-size: 14px;
  color: #8a8a8a;
  margin-bottom: 30px;
}

.breadcrumb a {
  text-decoration: none;
  color: #555;
}

.breadcrumb a:hover {
  color: #000;
}

.active-page {
  color: #000;
  font-weight: 600;
}


/* ==========================================
   GRID STRUCTURE
========================================== */

.account-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 70px;
  align-items: start;
}

/* ==========================================
   CLASSY PROFESSIONAL SIDEBAR
========================================== */

.sidebar {
  padding-right: 40px;
  border-right: 1px solid #ededed;
}

/* Section spacing */
.sidebar-section {
  margin-bottom: 50px;
}

/* Section title */
.sidebar-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b5b5b5;
  margin-bottom: 22px;
}

/* Menu list */
.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  margin-bottom: 18px;
}

/* Links */
.sidebar-menu li a,
.standalone-link {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  padding-left: 18px;
  position: relative;
  transition: 0.3s ease;
}

/* Animated left indicator */
.sidebar-menu li a::before,
.standalone-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: #000;
  transition: height 0.3s ease;
}

/* Hover */
.sidebar-menu li a:hover::before,
.standalone-link:hover::before {
  height: 18px;
}

/* Active */
.sidebar-menu li a.active {
  font-weight: 700;
}

.sidebar-menu li a.active::before {
  height: 22px;
}

/* Wishlist spacing */
.standalone-link {
  margin-top: 10px;
}

/* Logout */
.logout-btn {
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: #c00000;
  cursor: pointer;
  padding: 0;
  transition: 0.3s ease;
}

.logout-btn:hover {
  color: #000;
}

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

.account-content {
  background: #ffffff;
  padding: 50px;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* Section Titles */
.account-content h3,
.account-content h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 30px;
}

/* ==========================================
   FORM DESIGN
========================================== */

.form-container {
  padding: 0;
  box-shadow: none;
  background: none;
}

.form-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 35px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin-bottom: 30px;
}

.input-field label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  color: #555;
}

.input-field input,
.password-change-section input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.25s ease;
}

.input-field input:focus,
.password-change-section input:focus {
  border-color: #000;
  outline: none;
}

/* Password Section */
.password-change-section h4 {
  margin: 40px 0 20px;
  font-size: 16px;
  font-weight: 700;
}

.password-change-section input {
  margin-bottom: 15px;
}

/* ==========================================
   BUTTONS
========================================== */

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 25px;
  margin-top: 35px;
}

.cancel-text-btn {
  background: none;
  border: none;
  font-weight: 600;
  cursor: pointer;
  color: #777;
  font-size: 14px;
}

.save-changes-btn {
  background: #000;
  color: #fff;
  border: none;
  padding: 16px 45px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.save-changes-btn:hover {
  opacity: 0.85;
}

/* ==========================================
   ORDER / RETURN CARDS
========================================== */

.account-card {
  background: #fafafa;
  padding: 30px;
  border-radius: 14px;
  margin-bottom: 25px;
  border: 1px solid #f0f0f0;
}

.account-card h5 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.account-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.account-price {
  font-size: 20px;
  font-weight: 700;
  margin-top: 10px;
}

/* Status Badge */
.status-badge {
  padding: 6px 16px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 700;
}

.status-placed {
  background: #f1f1f1;
  color: #333;
}

.status-returned {
  background: #f4f4f4;
  color: #444;
}

.status-approved {
  background: #e6f2ff;
  color: #0066cc;
}

/* ==========================================
   WALLET SECTION
========================================== */

.wallet-box {
  background: #fafafa;
  padding: 35px;
  border-radius: 14px;
  margin-bottom: 30px;
  border: 1px solid #f0f0f0;
}

.wallet-balance {
  font-size: 32px;
  font-weight: 700;
}

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

@media (max-width: 992px) {

  .account-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .sidebar {
    border-right: none;
    border-bottom: 1px solid #ececec;
    padding-bottom: 30px;
    margin-bottom: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .account-content {
    padding: 35px;
  }

  .welcome-section h2 {
    font-size: 22px;
  }

}

/* Footer Global */
.main-footer {
    background-color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
}

/* Footer Top Bar */
.footer-top {
    background-color: #FAFAFA; /* Light gray background from Figma */
    padding: 40px 0;
}

.footer-brand-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand-row .logo {
    font-size: 24px;
    font-weight: 700;
    color: #252B42;
}

/* Sidebar Logout Fix */
.logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff5f5;
    color: #ff4d4d;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    width: fit-content;
    margin-top: 20px;
    border: 1px solid #ffebeb;
}
.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: #23A6F0; /* Primary blue color for icons */
    font-size: 24px;
}

/* Footer Middle (Links) */
.footer-middle {
    padding: 70px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columns as seen in design */
    gap: 30px;
}

.footer-col h5 {
    font-size: 16px;
    font-weight: 700;
    color: #252B42;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #737373;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #23A6F0;
}

/* Newsletter Input */
.subscribe-form {
    display: flex;
    height: 50px;
}

.subscribe-form input {
    background: #F9F9F9;
    border: 1px solid #E6E6E6;
    border-radius: 5px 0 0 5px;
    padding: 0 20px;
    flex: 1;
    font-size: 14px;
}

.subscribe-form button {
    background-color: #23A6F0;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    font-weight: 400;
    cursor: pointer;
}

.form-text {
    font-size: 12px;
    color: #737373;
    margin-top: 10px;
}

/* Footer Bottom Bar */
.footer-bottom {
    background-color: #FAFAFA;
    padding: 25px 0;
}

.footer-bottom p {
    font-size: 14px;
    font-weight: 700;
    color: #737373;
    text-align: left;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .newsletter { grid-column: span 2; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .newsletter { grid-column: span 1; }
    .footer-brand-row { flex-direction: column; gap: 20px; text-align: center; }
}
/* Container for the cart and checkout area */
.cart-page {
    margin-bottom: 40px; /* Reduced from 100px for a smaller gap */
}

/* The ENVA Brand Section in Footer */
.main-footer {
    border-top: 1px solid #F1F1F1;
    padding-top: 40px; /* Smaller internal top padding */
}

/* Spacing between ENVA logo and the 5-column grid */
.footer-top {
    margin-bottom: 30px; /* Tightens the area around the ENVA logo */
}
/* =====================================================
   MOBILE ACCOUNT TABS (LIKE TOKYOSPORTS)
===================================================== */

@media (max-width: 768px) {

  /* remove grid sidebar layout */
  .account-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* sidebar becomes horizontal */
  .sidebar {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;

    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* IE */
  }

  .sidebar::-webkit-scrollbar {
    display: none;                /* Chrome */
  }

  /* hide section headings */
  .sidebar-category h4 {
    display: none;
  }

  /* flatten lists */
  .sidebar-category ul {
    display: flex;
    gap: 12px;
    padding: 0;
  }

  .sidebar-category ul li {
    margin: 0;
    white-space: nowrap;
  }

  /* tab style */
  .sidebar-category ul li a,
  .standalone-link {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 20px;
    background: #f5f5f5;
    font-size: 14px;
    font-weight: 600;
    color: #737373;
    text-decoration: none;
    transition: 0.3s;
  }

  /* active tab */
  .sidebar-category ul li a.active {
    background: #23A6F0;
    color: #fff;
  }

  /* wishlist as tab */
  .standalone-link {
    background: #f5f5f5;
  }

  /* hide logout button from tab row */
  .logout-btn {
    display: none;
  }

  /* form spacing fix */
  .form-container {
    padding: 25px;
  }

  .welcome-section h2 {
    font-size: 18px;
    margin-bottom: 20px;
  }
}


/* =========================
   ACCOUNT MOBILE SCROLL MENU
========================= */

@media (max-width:768px){

  /* stack layout */
  .account-grid{
    display:flex;
    flex-direction:column;
  }

  /* sidebar becomes horizontal */
  .sidebar{
    width:100%;
    overflow-x:auto;
    padding-bottom:10px;
  }

  /* remove section titles on mobile */
  .sidebar-title{
    display:none;
  }

  /* horizontal menu */
  .sidebar-menu{
    display:flex;
    gap:12px;
    overflow-x:auto;
  }

  .sidebar-menu li{
    flex:0 0 auto;
    list-style:none;
  }

  .sidebar-menu a{
    white-space:nowrap;
    padding:8px 14px;
    background:#f5f5f5;
    border-radius:8px;
    font-size:13px;
  }

  /* active tab */
  .sidebar-menu a.active{
    background:#111;
    color:#fff;
  }

  /* hide scrollbar */
  .sidebar-menu::-webkit-scrollbar{
    display:none;
  }

}

/* =========================
   MOBILE ACCOUNT SPACING
========================= */

@media (max-width:768px){

  /* push the hello text down */
  .welcome-section{
    margin-top:20px;
    margin-bottom:12px;
  }

  /* spacing for horizontal menu */
  .sidebar{
    margin-top:8px;
    margin-bottom:18px;

    
  }

}

/* MOBILE ACCOUNT SPACING FIX */

@media (max-width:768px){

  .account-wrapper{
    padding-top:0px;
  }

}
