/* New Design Stylesheet (Based on Reference & Louis Vuitton Mobile UX) */

/* --- GLOBAL RESET & FONTS --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Figtree', sans-serif;
  background: #fff;
  min-height: 100vh;
}

:root {
  --dropdown-menu-width: 360px;
  --dropdown-banner-width: 480px;
}

/* --- HEADER --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 85px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
  /* Added transform for hide/show */
  z-index: 4000;
}

header.scrolled,
header.always-visible,
header:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Hide header on scroll down (Mobile/LV style behavior) */
header.nav-hidden {
  transform: translateY(-100%);
}

/* Navigation Groups */
.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

/* Links & Icons Color Transition */
.nav-left a,
.nav-right a,
.menu-btn a {
  text-decoration: none;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: color 0.4s ease;
}

.icon {
  width: 20px;
  height: 20px;
  stroke: #fff;
  cursor: pointer;
  transition: stroke 0.4s ease;
}

/* Scrolled State Colors */
header.scrolled .nav-left a,
header.scrolled .nav-right a,
header.scrolled .menu-btn a,
header.always-visible .nav-left a,
header.always-visible .nav-right a,
header.always-visible .menu-btn a,
header:hover .nav-left a,
header:hover .nav-right a,
header:hover .menu-btn a {
  color: #000;
}

header.scrolled .icon,
header.always-visible .icon,
header:hover .icon {
  stroke: #000;
}

/* Menu Button (Desktop) */
.menu-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.menu-icon {
  width: 22px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-icon span {
  display: block;
  height: 2px;
  background: #fff;
  width: 100%;
  border-radius: 2px;
  transition: background 0.4s ease;
}

header.scrolled .menu-icon span,
header.always-visible .menu-icon span,
header:hover .menu-icon span {
  background: #000;
}

/* Logo */
.logo {
  flex: 1;
  display: flex;
  justify-content: center;
}

.logo img {
  height: 48px;
  width: auto;
  max-width: 420px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  /* Initial White Logo */
  transition: filter 0.4s ease, height 0.3s ease, transform 0.3s ease;
  display: block;
}

.logo img:hover {
  transform: translateY(-3px);
}

header.scrolled .logo img,
header.always-visible .logo img,
header:hover .logo img {
  filter: brightness(1) invert(0);
  /* Black Logo on Scroll/Hover */
}

/* --- DESKTOP MEGA MENU DROPDOWN --- */
.dropdown-content {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 85px;
  left: 0;
  width: auto;
  height: calc(100vh - 85px);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #e3e3e3;
  border-top: 1px solid #e3e3e3;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  display: flex;
  flex-direction: column;
  z-index: 3600;
}

.dropdown-content.open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* ... existing ... */

.dropdown-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 60px 15px 60px;
  border-bottom: 1px solid #e3e3e3;
  width: calc(var(--dropdown-menu-width) + var(--dropdown-banner-width));
}

.dropdown-header span {
  font-size: 0.8rem;
  color: #000;
}

.dropdown-header a {
  font-size: 0.8rem;
  color: #000;
  text-decoration: none;
}

.dropdown-main {
  display: flex;
  justify-content: space-between;
  width: calc(var(--dropdown-menu-width) + var(--dropdown-banner-width));
  height: 100%;
  padding: 0;
  margin: 0;
  flex-direction: row;
}

.dropdown-left {
  width: var(--dropdown-menu-width);
  display: flex;
  flex-direction: column;
  gap: 15px;
  border-right: 1px solid #e3e3e3;
  justify-content: flex-start;
  padding: 40px 60px;
  /* Move padding inside */
}

.dropdown-left a {
  display: inline-block;
  width: fit-content;
  color: #000 !important;
  text-decoration: none !important;
  font-size: 0.85rem;
  position: relative;
  transition: color 0.3s ease;
}

.dropdown-left a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  width: 0;
  transition: width 0.4s ease;
}

.dropdown-left a:hover::after {
  width: 100%;
}

.dropdown-left a:hover {
  color: #000 !important;
  font-weight: 600;
}

.dropdown-right {
  width: var(--dropdown-banner-width);
  display: flex;
  flex-direction: column;
  /* Stack banners vertically */
  justify-content: flex-start;
  /* Align top */
  align-items: center;
  /* Align center (or left??) */
  height: 100%;
  padding: 40px;
  /* Add padding */
  gap: 20px;
}

.dropdown-right .banner-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dropdown-right img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

.dropdown-right .banner-images a:hover img {
  transform: translateY(-3px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-bottom {
  border-top: 1px solid #e3e3e3;
  padding: 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.7rem;
  width: calc(var(--dropdown-menu-width) + var(--dropdown-banner-width));
}

.dropdown-bottom a {
  color: #000 !important;
  text-decoration: none !important;
  position: relative;
  display: inline-block;
  width: fit-content;
}

.dropdown-bottom a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.4s ease;
}

.dropdown-bottom a:hover::after {
  width: 100%;
}

/* --- MOBILE SIDEBAR (Off-Canvas) --- */
#mobile_sidebar {
  display: block;
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background-color: #fff;
  z-index: 10001;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  transition: left 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}

#mobile_sidebar.open {
  left: 0;
}

.sidebar-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.sidebar-banners {
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.sidebar-banners a {
  display: block;
}

.sidebar-banners img {
  width: 100%;
}

.close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  font-size: 24px;
  /* Adjust size if needed */
  color: #000;
  line-height: 1;
}

.sidebar-menu {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-menu a {
  color: #000 !important;
  text-decoration: none !important;
  position: relative;
  display: inline-block;
  width: fit-content;
}

.sidebar-menu .divider {
  height: 20px;
  border: none;
  background-color: #f9f9f9;
}

/* Overlay */
.fade-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 3500;
}

.fade-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* --- MAIN CONTENT --- */
.hero-banners {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-banner {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.empty-hero-banner {
  width: 100%;
  height: 100vh;
  background-color: #895b5b;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- FOOTER --- */
footer {
  width: 100%;
  background: #fff;
  margin-top: auto;
  position: relative;
}

.footer-divider-top,
.footer-divider-bottom {
  width: 100%;
  height: 1px;
  background: #e3e3e3;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 50px 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer-menu a {
  color: #000;
  text-decoration: none;
  font-size: 0.8rem;
}

.footer-subscribe {
  max-width: 480px;
  text-align: right;
}

.footer-subscribe p {
  font-size: 0.8rem;
  margin-bottom: 15px;
}

.subscribe-form {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.subscribe-form input {
  flex: 1;
  max-width: 280px;
  padding: 8px 10px;
  font-size: 0.8rem;
  border: none;
  border-bottom: 1px solid #000;
  outline: none;
}

.subscribe-form button {
  background: none;
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.7rem;
  color: #000;
  padding: 25px 0 15px 0;
}

/* --- RESPONSIVE BREAKPOINTS --- */

/* Helper Classes for Visibility */
.mobile-only {
  display: none !important;
}

.desktop-only {
  display: flex !important;
}

/* TABLET & MOBILE (< 1024px) */
@media (max-width: 1024px) {

  /* Header Layout Changes */
  header {
    padding: 0 20px;
    height: 60px;
  }

  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: flex !important;
  }

  /* Logo Adjustment for Mobile */
  .logo img {
    height: 40px;
  }

  /* Smaller logo */

  /* Nav Group Adjustments */
  .nav-left,
  .nav-right {
    gap: 15px;
  }

  /* Content Adjustments */
  .hero-banner {
    height: 100vh;
  }

  /* Keep full height or adjust if needed */

  /* Footer Adjustments */
  .footer-container {
    flex-direction: column;
    padding: 30px 20px;
    gap: 30px;
    text-align: center;
  }

  .footer-menu {
    align-items: center;
    width: 100%;
    margin: 0;
  }

  .footer-subscribe {
    text-align: center;
    width: 100%;
    margin: 0 auto;
  }

  .subscribe-form {
    justify-content: center;
  }
}

/* --- USER SIDEBAR --- */
#user_sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  /* Hidden by default */
  width: 400px;
  height: 100%;
  background-color: #fff;
  z-index: 10001;
  /* Above overlay (10000) */
  transition: right 0.3s ease-in-out;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

#user_sidebar.open {
  right: 0;
}

.sidebar-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.sidebar-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
}

.close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.sidebar-content {
  padding: 30px;
  overflow-y: auto;
  flex: 1;
}

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

.sidebar-section h4 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 600;
}

.sidebar-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 500;
}

.sidebar-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 0;
  /* Square look */
  box-sizing: border-box;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 13px;
}

.remember-me {
  display: flex;
  align-items: center;
}

.remember-me input {
  margin-right: 5px;
}

.forgot-link {
  color: #666;
  text-decoration: underline;
}

.btn-primary,
.btn-secondary {
  display: block;
  width: 100%;
  padding: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid #000;
  transition: all 0.2s;
  text-decoration: none;
  box-sizing: border-box;
}

.btn-primary {
  background-color: #000;
  color: #fff;
}

.btn-primary:hover {
  background-color: #333;
}

.btn-secondary {
  background-color: #fff;
  color: #000;
}

.btn-secondary:hover {
  background-color: #f5f5f5;
}

.sidebar-divider {
  border: 0;
  border-top: 1px solid #eee;
  margin: 0 0 30px 0;
}

/* Mobile Responsive */
@media (max-width: 480px) {
  #user_sidebar {
    width: 100%;
    right: -100%;
  }
}

/* --- EMPTY CART PAGE --- */
.empty-cart-container {
  padding: 120px 20px 80px;
  /* Top padding to clear fixed header */
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.empty-cart-breadcrumbs {
  display: none;
  /* Hidden in main view based on image, but good for SEO/structure if needed later */
}

.empty-cart-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: #000;
}

.empty-cart-subtitle {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 60px;
}

.empty-cart-icon {
  margin-bottom: 40px;
}

.empty-cart-icon svg {
  width: 120px;
  height: 120px;
  stroke: #000;
  stroke-width: 1.5;
  display: block;
  /* Ensure it doesn't behave like inline text */
  margin: 0 auto;
  /* Center it */
}

/* Custom basket icon style to match reference more closely if needed, 
   but standard cart is good for now. 
   The reference has a basket with a handle. 
   Let's try to style the SVG to look a bit more like the reference if possible,
   or just use a clean icon.
*/

.empty-cart-message {
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
}

.empty-cart-description {
  font-size: 0.9rem;
  color: #777;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
}

.btn-blue {
  background-color: #0077b5;
  /* Adjust blue to match reference */
  color: #fff;
  padding: 15px 40px;
  border-radius: 30px;
  /* Rounded pill shape */
  font-weight: 600;
  text-transform: capitalize;
  border: none;
  transition: background 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-blue:hover {
  background-color: #005fa3;
  color: #fff;
}

@media (max-width: 768px) {
  .empty-cart-message {
    font-size: 1.5rem;
  }

  .empty-cart-icon svg {
    width: 100px;
    height: 100px;
  }
}

/* --- LOGIN PAGE --- */
.login-wrapper * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Figtree', sans-serif;
  font-weight: 400;
}

.login-wrapper {
  color: #111;
  min-height: 100vh;
  background: url('https://i.postimg.cc/25hJF35S/aakaa123-59042-full-body-shot-young-fashion-model-in-vibrant-fl-d6a4e5a1-323c-4010-adcb-241251ce23bb.png') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(60px + 20px) 20px 40px;
  position: relative;
}

.login-wrapper .overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 0;
}

.login-wrapper .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  max-width: 1100px;
  width: 100%;
}

.login-wrapper .card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 50px 60px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.login-wrapper .card:hover {
  transform: translateY(-3px);
}

.login-wrapper .logo {
  font-family: 'Times New Roman', serif;
}

.login-wrapper .logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 30px;
  filter: brightness(0) invert(0);
}

.login-wrapper h1 {
  font-size: 1.7rem;
  letter-spacing: 0.5px;
  margin-bottom: 25px;
  color: #000;
}

.login-wrapper .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.login-wrapper .form-group {
  text-align: left;
  margin-bottom: 18px;
}

.login-wrapper .form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 5px;
  color: #111;
  letter-spacing: 0.4px;
}

.login-wrapper .form-group input[type="email"],
.login-wrapper .form-group input[type="password"] {
  width: 100%;
  padding: 10px;
  font-size: 0.9rem;
  border: none;
  border-bottom: 1px solid #000;
  background: transparent;
  outline: none;
  color: #000;
}

.login-wrapper .btn {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  border: 1px solid #000;
  background: #000;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-wrapper .btn:hover {
  background: transparent;
  color: #000;
}

.login-wrapper .options {
  margin-top: 15px;
  font-size: 0.85rem;
}

.login-wrapper .options a {
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.login-wrapper .options a:hover {
  border-color: #000;
}

/* ACCOUNT CARD ----------------------------------------- */
.login-wrapper .account-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.login-wrapper .account-card h1 {
  text-align: center;
  margin-top: 10px;
}

.login-wrapper .account-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.login-wrapper .account-card p {
  font-size: 0.9rem;
  margin-bottom: 12px;
  line-height: 1.6;
  color: #000;
}

.login-wrapper .account-card ul {
  margin-top: 10px;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #000;
  font-size: 0.9rem;
}

.login-wrapper .account-card li {
  margin-bottom: 5px;
}

.login-wrapper .account-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  background: #000;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  border: 1px solid #000;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.login-wrapper .account-btn:hover {
  background: transparent;
  color: #000;
}

@media (max-width: 900px) {
  .login-wrapper .container {
    flex-direction: column;
    align-items: center;
  }

  .login-wrapper .card {
    max-width: 90%;
    padding: 40px 35px;
  }
}

/* --- NEW ARRIVALS CAROUSEL --- */
.new-arrival-items h1.new-arrival-title {
  padding-top: 40px;
  text-align: center;
  font-family: "Arial", sans-serif;
  font-size: 0.8rem;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 40px auto;
  padding: 0 60px;
  /* Space for arrows */
  box-sizing: border-box;
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  padding: 0;
  margin: 0;
  list-style: none;
}

.carousel-slide {
  flex: 0 0 20%;
  /* 5 items desktop */
  max-width: 20%;
  padding: 0 10px;
  box-sizing: border-box;
}

.carousel-image-container {
  width: 100%;
  aspect-ratio: 2/3;
  /* Adjust based on image ratio */
  overflow: hidden;
  position: relative;
  background: #f5f5f5;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.carousel-link:hover .carousel-image {
  transform: scale(1.05);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #e3e3e3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  color: #000;
}

.carousel-arrow:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .carousel-wrapper {
    padding: 0 40px;
    /* Smaller padding */
  }

  .carousel-slide {
    flex: 0 0 100%;
    /* 1 item mobile */
    max-width: 100%;
    padding: 0;
  }

  .carousel-arrow {
    width: 32px;
    height: 32px;
  }

  .carousel-prev {
    left: 0;
  }

  .carousel-next {
    right: 0;
  }
}

.carousel-image-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.carousel-link:hover .carousel-image-hover {
  opacity: 1;
}