:root {
  --primary: #000000;
  --accent: #25D366;
  --accent-light: #dcfce7;
  --bg: #ffffff;
  --bg-dark: #111111;
  --text: #111111;
  --text-muted: #666666;
  --whatsapp: #25D366;
  --border: rgba(0, 0, 0, 0.08);
  --glass: rgba(255, 255, 255, 0.7);
  --glass-heavy: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.03);
  --shadow-heavy: 0 30px 60px rgba(0, 0, 0, 0.06);
  --easing: cubic-bezier(0.2, 1, 0.3, 1);
  --spacing: clamp(15px, 3vw, 80px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scrollbar-gutter: stable;
}

html.modal-open {
  overflow: hidden;
}

body {
  font-family: "Outfit", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.5;
}

/* --- Layout --- */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5%;
}

/* --- Navigation & Search --- */
nav {
  position: fixed;
  top: 20px;
  left: 5%;
  right: 5%;
  height: 80px;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 0 35px;
  z-index: 2000;
  transition: all 0.5s var(--easing);
}

nav.scrolled {
  top: 0;
  left: 0;
  right: 0;
  border-radius: 0;
  height: 65px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
  padding: 0 5%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-brand-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  font-family: "Outfit", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: lowercase;
  text-decoration: none;
  color: var(--primary);
  letter-spacing: -1px;
}

/* --- Main Navigation Menu (Desktop Default) --- */
.nav-menu {
  display: none;
  /* Mobile first: hide */
  list-style: none;
  gap: 25px;
  margin-left: 15px;
}

.nav-menu li a {
  text-decoration: none;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 10px 0;
  position: relative;
  transition: color 0.3s var(--easing);
  display: flex;
  align-items: center;
  height: 40px;
  /* Consistent height for all nav items */
}

.nav-menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--easing);
}

.nav-menu li a:hover {
  color: var(--accent);
}

.nav-menu li a:hover::after {
  width: 100%;
}

/* ── Dropdown (Top-Level) ── */
.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-trigger {
  gap: 6px;
}

/* Main dropdown panel */
.dropdown>.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--glass-heavy);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-heavy);
  padding: 10px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  list-style: none;
  z-index: 2100;
}

.dropdown:hover>.dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 12px 25px;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: none;
  color: var(--text);
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: rgba(0, 0, 0, 0.03);
  color: var(--accent);
}

/* ── Nested Submenu ── */
.dropdown-submenu {
  position: relative;
}

/* Submenu panel — hidden until parent li is hovered */
.dropdown-submenu>.submenu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background: var(--glass-heavy);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-heavy);
  padding: 10px 0;
  min-width: 200px;
  list-style: none;
  z-index: 2200;
}

.dropdown-submenu:hover>.submenu {
  display: block;
}

/* Remove underline animation on submenu parent links */
.dropdown-submenu>a::after {
  display: none;
}

/* Search UI */
.search-container {
  display: none;
  /* Hide by default on mobile */
  align-items: center;
  background: rgba(0, 0, 0, 0.04);
  padding: 12px 20px;
  border-radius: 100px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s var(--easing);
  max-width: 400px;
  width: 100%;
}

.menu-btn-trigger {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s var(--easing);
  display: flex;
  /* Visible on mobile */
  align-items: center;
}

.menu-btn-trigger:hover {
  background: rgba(0, 0, 0, 0.05);
}



nav.scrolled {
  top: 0;
  left: 0;
  right: 0;
  border-radius: 0;
  height: 60px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.logo {
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: lowercase;
  text-decoration: none;
  color: var(--primary);
  letter-spacing: -1.5px;
}

/* .nav-links removed or hidden if still present in some pages */
.nav-links {
  display: none;
}

.search-container {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.04);
  padding: 20px 20px;
  border-radius: 30px;
  margin: 0 25px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition:
    background 0.3s var(--easing),
    box-shadow 0.3s var(--easing),
    border-color 0.3s var(--easing),
    transform 0.4s var(--easing),
    opacity 0.4s var(--easing);
  max-width: 620px;
  width: 100%;
  /* Responsive base width */
  z-index: 2100;
}

.search-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s var(--easing);
}

.search-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

.search-close-mobile {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s var(--easing);
  margin-left: 10px;
}

.search-close-mobile:hover {
  background: rgba(0, 0, 0, 0.05);
}

.search-container:focus-within {
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}

.search-container input {
  background: none;
  border: none;
  outline: none;
  font-size: 0.9rem;
  width: 100%;
  /* Take up container space */
  padding-left: 12px;
  color: var(--text-main);
}

.search-container input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

/* --- Live Search Dropdown --- */
.search-container {
  position: relative;
}

.live-search-results {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  width: clamp(320px, 80vw, 620px);
  background: var(--glass-heavy);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-heavy);
  max-height: 500px;
  overflow-y: auto;
  z-index: 2200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s var(--easing);
  padding: 10px 0;
}

.live-search-results.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.live-search-item {
  display: flex;
  align-items: center;
  gap: 20px;
  /* Increase gap between image and text */
  padding: 15px 25px;
  /* Increase padding for more breathing room */
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s var(--easing);
}

.live-search-item:hover {
  background: rgba(0, 0, 0, 0.03);
}

.live-search-item img {
  width: 65px;
  /* Increase thumbnail size */
  height: 65px;
  object-fit: cover;
  border-radius: 6px;
  background: #f4f4f4;
}

.live-search-details {
  display: flex;
  flex-direction: column;
}

.live-search-title {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  /* Increase font size */
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
  /* Increase spacing between title and price */
}

.live-search-price {
  font-size: 0.9rem;
  /* Increase font size */
  font-weight: 500;
  color: var(--text-muted);
}

.live-search-empty {
  padding: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.nav-actions {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

@media (max-width: 600px) {
  .nav-actions {
    gap: 0.8rem;
  }
}

.nav-icon {
  position: relative;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-avatar-link {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--accent);
  padding: 0 !important;
  transition: transform 0.3s var(--easing);
}

.nav-avatar-link:hover {
  transform: scale(1.1);
}

.nav-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: -5px;
  right: -8px;
  background: var(--accent);
  color: var(--primary);
  font-size: 0.6rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* --- Hero (Magazine Style) --- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  background: #fff;
  padding-top: 100px;
}

.hero-left {
  padding-left: 10%;
  position: relative;
  z-index: 10;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 900;
  color: var(--primary);
}

.hero p {
  font-size: 1.2rem;
  max-width: 450px;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.hero-right {
  height: 90vh;
  background-size: cover;
  background-position: center;
  position: relative;
  margin-right: -5%;
  overflow: hidden;
}

.hero-right::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #fff 0%, transparent 100%);
}

/* --- Section Header --- */
.section-header {
  margin-bottom: clamp(40px, 5vw, 60px);
  text-align: center;
}

.section-header h2 {
  font-family: sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.category-products {
  padding: 100px 0;
}

/* --- Premium Category Symmetric Grid --- */
.categories {
  padding: 60px 0 40px;
  background: var(--bg);
}

.categories .section-header {
  margin-bottom: 30px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 5%;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  padding: 24px 15px;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.4s var(--easing);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
  .category-card {
    padding: 15px 10px;
  }
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.08);
}

.category-img-wrap {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  margin-bottom: 16px;
  overflow: hidden;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.4s var(--easing),
    box-shadow 0.4s var(--easing);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--easing);
}

.category-card:hover .category-img-wrap {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.category-card:hover img {
  transform: scale(1.1);
}

.category-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
  text-align: center;
  letter-spacing: 0.5px;
}

.category-card .icon-arrow {
  margin-top: 10px;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(5px);
  transition: all 0.3s var(--easing);
}

.category-card:hover .icon-arrow {
  opacity: 1;
  transform: translateY(0);
  color: var(--primary);
}

@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}

@media (max-width: 600px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-card {
    padding: 15px 10px;
  }

  .category-img-wrap {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
  }

  .category-card h3 {
    font-size: 0.85rem;
  }
}

/* --- Modern Product Card System --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, fr));
  gap: 30px;
  padding: 0 5% 80px;
}

/* Desktop: 4 cards per row */
@media (min-width: 1440px) {
  .product-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
  }
}

/* Large tablets/small desktops: 3 cards per row */
@media (min-width: 1024px) and (max-width: 1439px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }
}

/* Tablets: 2-3 cards per row */
@media (min-width: 768px) and (max-width: 1023px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 4% 60px;
  }
}

/* Mobile: 1-2 cards per row */
@media (max-width: 767px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 4% 60px;
  }
}

/* Small mobile: 1 card per row */
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
    padding: 0 3% 40px;
  }
}

.product-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s var(--easing);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.06);
}

/* Image Container */
.product-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image-container a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.product-image-container img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  transition: transform 0.8s var(--easing);
}

.product-card:hover .product-image-container img {
  transform: scale(1.08);
}

/* Quick View Overlay */
.quick-view-overlay,
.quick-view-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 10px 28px;
  border-radius: 100px;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  cursor: pointer;
  opacity: 0;
  transition: all 0.4s var(--easing);
  z-index: 5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Hide Quick View on Desktop Screens */
@media (min-width: 1024px) {

  .quick-view-overlay,
  .quick-view-btn {
    display: none !important;
  }
}

.product-card:hover .quick-view-overlay,
.product-card:hover .quick-view-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.quick-view-overlay:hover,
.quick-view-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* Rest of the file */
/* Product Content Area */
.product-content {
  padding: 22px 20px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.product-card h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0;
  line-height: 1.3;
}

.product-card .product-content a {
  text-decoration: none;
}

/* Product Footer */
.product-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 15px;
}

.product-price {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.3px;
}

/* Add to Cart Button */
.add-to-cart-elegant {
  width: 100%;
  padding: 13px;
  background: var(--primary);
  color: white;
  border-radius: 12px;
  border: none;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  cursor: pointer;
  transition: all 0.4s var(--easing);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.add-to-cart-elegant:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.add-to-cart-elegant svg {
  width: 14px;
  height: 14px;
  stroke: white;
  fill: none;
}

/* Product Card Responsive Adjustments */
@media (max-width: 1023px) {
  .product-card {
    border-radius: 16px;
  }

  .product-content {
    padding: 16px 14px 16px;
  }

  .product-card h3 {
    font-size: 0.95rem;
  }

  .product-price {
    font-size: 1rem;
  }

  .add-to-cart-elegant {
    padding: 11px;
    font-size: 0.68rem;
    border-radius: 10px;
  }

  /* Always show Quick View on tablet/mobile */
  .quick-view-overlay {
    opacity: 1;
    transform: translateX(-50%) translateY(0) !important;
    position: relative;
    bottom: auto;
    left: auto;
    transform: none !important;
    width: 100%;
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: none;
    padding: 10px;
    font-size: 0.68rem;
    background: #fafafa;
  }
}

@media (max-width: 480px) {
  .product-content {
    padding: 12px 10px 14px;
  }

  .product-card h3 {
    font-size: 0.85rem;
  }

  .product-price {
    font-size: 0.9rem;
  }

  .add-to-cart-elegant {
    padding: 10px;
    font-size: 0.65rem;
  }
}

/* --- Quick View Modal Styles --- */
.modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 3000;
  opacity: 0;
  transition: opacity 0.3s var(--easing);
}

.modal-backdrop.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal-content {
  position: relative;
  background: #fff;
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: modalSlideIn 0.4s var(--easing);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  color: var(--primary);
  transform: rotate(90deg);
}

.modal-body {
  padding: 25px;
  display: grid;
  gap: 20px;
}

.quick-view-image {
  width: 100%;
  aspect-ratio: 1;
  background: #f7f7f7;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.quick-view-image img {
  width: 85%;
  height: 85%;
  object-fit: contain;
}

.quick-view-details h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.quick-view-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.quick-view-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 15px;
}

.quick-view-description {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.quick-view-sizes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 15px;
}

.quick-view-size-btn {
  padding: 12px 8px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s var(--easing);
  font-family: inherit;
  font-weight: 500;
  text-align: center;
  border-radius: 4px;
  color: var(--primary);
}

.quick-view-size-btn:hover {
  border-color: var(--primary);
  background: #fafafa;
}

.quick-view-size-btn.selected {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.quick-view-add-btn {
  width: 100%;
  padding: 15px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s var(--easing);
}

.quick-view-add-btn:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

@media (max-width: 600px) {
  .modal-content {
    width: 95%;
    max-height: 95vh;
    border-radius: 16px;
  }

  .modal-header {
    padding: 20px;
  }

  .modal-title {
    font-size: 1.2rem;
  }

  .modal-body {
    padding: 20px;
  }

  .quick-view-sizes {
    grid-template-columns: repeat(3, 1fr);
  }
}


@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 4% 60px;
  }

  .product-card {
    border-radius: 16px;
  }

  .product-content {
    padding: 16px 14px 16px;
  }

  .product-card h3 {
    font-size: 0.95rem;
  }

  .product-price {
    font-size: 1rem;
  }

  .add-to-cart-elegant {
    padding: 11px;
    font-size: 0.68rem;
    border-radius: 10px;
  }
}

/* Hide Quick View Button and Modal at 1024px and below */
@media (max-width: 1024px) {
  .quick-view-overlay {
    display: none !important;
  }

  .modal-backdrop {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-content {
    padding: 12px 10px 14px;
  }

  .product-card h3 {
    font-size: 0.85rem;
  }

  .product-price {
    font-size: 0.9rem;
  }
}

/* --- Mobile Menu Styles --- */
.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
  padding: 10px;
}

/* Menu Button Animation */
.menu-btn svg {
  transition: transform 0.4s var(--easing);
}

.menu-btn.active svg {
  transform: rotate(90deg);
}

/* Mobile search visibility */
/* Mobile Menu / Sidebar Base */
.nav-links {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--bg);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: 0.6s var(--easing);
  gap: 2.5rem;
  z-index: 2050;
  display: flex;
  padding: 100px 5%;
}

.nav-links.active {
  right: 0;
}

/* Responsive Navigation Breakpoints */
@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }

  .search-container {
    display: flex;
  }

  .menu-btn-trigger,
  .search-toggle {
    display: none !important;
  }

  .nav-brand-container {
    flex-shrink: 0;
  }
}

@media (max-width: 1023px) {
  nav {
    height: 70px;
    padding: 0 25px;
    top: 15px;
  }

  .nav-menu {
    display: none;
  }

  .search-toggle {
    display: flex;
  }

  .search-container {
    display: none;
  }

  .logo {
    font-size: 1.3rem;
  }

  .nav-actions {
    gap: 0.8rem;
  }
}

/* Sidebar Styling */
.sidebar-links.main-links {
  margin-bottom: 35px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 25px;
}

.sidebar-links.main-links li a {
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  color: var(--primary) !important;
}

/* --- Footer --- */
footer {
  background: var(--bg-dark);
  color: #fff;
  padding: 120px 5% 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 60px;
  margin-bottom: 80px;
}

.footer-logo {
  font-family: "Outfit", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  text-transform: lowercase;
  letter-spacing: -1.5px;
}

.footer-col h4 {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.9rem;
  margin-bottom: 40px;
  color: var(--accent);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 20px;
}

.footer-col a {
  color: #888;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #fff;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Product Detail Page (Brand4U) --- */
.product-detail-page {
  padding-top: 150px;
  background: #fff;
  min-height: 100vh;
}

.pdp-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

/* Left: Gallery */
.pdp-gallery {
  position: sticky;
  top: 150px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: start;
}

.pdp-main-image {
  background: #fdfdfd;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 60px;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
}

.pdp-main-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition:
    transform 0.1s ease-out,
    opacity 0.3s var(--easing);
}

.pdp-thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.pdp-thumb {
  background: #fdfdfd;
  border: 1px solid var(--border);
  border-radius: 8px;
  aspect-ratio: 1;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s var(--easing);
}

.pdp-thumb:hover,
.pdp-thumb.active {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Right: Info */
.pdp-info {
  padding-bottom: 100px;
}

.pdp-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.pdp-category {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.pdp-stock {
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.pdp-stock.stock-in {
  color: #27ae60;
}

.pdp-title {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  line-height: 1.1;
  color: var(--primary);
  margin-bottom: 20px;
}

.pdp-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.stars {
  display: flex;
  gap: 2px;
}

.star-filled {
  color: #f1c40f;
}

.star-empty {
  color: #e0e0e0;
}

.reviews-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: underline;
  cursor: pointer;
}

.pdp-price {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 40px;
}

.pdp-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 40px;
}

/* Size Selector */
.pdp-size-selector {
  margin-bottom: 40px;
}

.pdp-selector-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 0.9rem;
  font-weight: 600;
}

.req-label {
  text-transform: uppercase;
  letter-spacing: 1px;
}

.required {
  color: #e74c3c;
  margin-left: 3px;
}

.size-guide {
  color: var(--text-muted);
  text-decoration: underline;
  transition: color 0.3s;
}

.size-guide:hover {
  color: var(--primary);
}

.pdp-sizes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.size-chip {
  padding: 15px 5px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s var(--easing);
  font-family: inherit;
  font-weight: 500;
  text-align: center;
  border-radius: 4px;
  color: var(--primary);
  font-size: 0.95rem;
}

.size-chip:hover {
  border-color: var(--primary);
  background: #fafafa;
}

.size-chip.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.size-error-msg {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 10px;
  display: none;
  opacity: 0;
  transition: opacity 0.3s;
}

/* Error Shake Animation */
@keyframes errorShake {

  0%,
  100% {
    transform: translateX(0);
  }

  20%,
  60% {
    transform: translateX(-5px);
    border-color: #e74c3c;
  }

  40%,
  80% {
    transform: translateX(5px);
    border-color: #e74c3c;
  }
}

.size-error-shake .pdp-sizes button {
  animation: errorShake 0.5s ease-in-out;
}

.size-error-shake .size-error-msg {
  display: block;
  opacity: 1;
}

/* Actions */
.pdp-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

@media (max-width: 600px) {
  .pdp-actions {
    flex-direction: column;
    gap: 10px;
  }
}

.pdp-btn-primary,
.pdp-btn-secondary {
  flex: 1;
  padding: 18px;
  font-family: inherit;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

.pdp-btn-primary {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
}

.pdp-btn-primary:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.pdp-btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border);
}

.pdp-btn-secondary:hover {
  border-color: var(--primary);
  background: #fafafa;
}

.pdp-wishlist {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--primary);
}

.pdp-wishlist:hover {
  border-color: var(--primary);
}

/* Perks */
.pdp-perks {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.perk {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.95rem;
  color: #555;
  font-weight: 500;
}

.perk svg {
  color: var(--accent);
}

.hidden {
  display: none !important;
}

@media (max-width: 1024px) {
  .pdp-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pdp-gallery {
    position: static;
  }

  .pdp-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .product-detail-page {
    padding-top: 100px;
  }

  .pdp-wrapper {
    padding: 0 15px;
    gap: 30px;
  }

  .pdp-main-image {
    padding: 30px;
    aspect-ratio: 1 / 1;
  }

  .pdp-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 15px;
  }

  .pdp-actions {
    flex-direction: column;
    gap: 12px;
  }

  .pdp-wishlist {
    width: 100%;
  }

  .pdp-price {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  .pdp-description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .pdp-sizes {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .size-chip {
    padding: 12px 5px;
    font-size: 0.85rem;
  }

  .pdp-perks {
    gap: 12px;
  }

  .perk {
    gap: 12px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .product-detail-page {
    padding-top: 80px;
  }

  .pdp-wrapper {
    padding: 0 10px;
    gap: 20px;
  }

  .pdp-main-image {
    padding: 20px;
    aspect-ratio: 1 / 1;
  }

  .pdp-thumbnail-grid {
    gap: 10px;
  }

  .pdp-title {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .pdp-price {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  .pdp-description {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .pdp-selector-header {
    flex-direction: column;
    gap: 8px;
  }

  .pdp-sizes {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .size-chip {
    padding: 10px 5px;
    font-size: 0.75rem;
  }

  .pdp-btn-primary,
  .pdp-btn-secondary {
    padding: 14px;
    font-size: 0.8rem;
  }

  .perk {
    font-size: 0.8rem;
    gap: 10px;
  }

  .perk svg {
    min-width: 16px;
    width: 16px;
  }
}

/* Modern PDP Styles */
.pdp-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 120px 5% 80px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Left Side: Gallery */
.pdp-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.pdp-main-image {
  width: 100%;
  aspect-ratio: 4/5;
  background: #f8f8f8;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pdp-main-image img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  transition: opacity 0.3s ease, transform 0.2s linear;
}

.pdp-thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 15px;
}

.pdp-thumb {
  aspect-ratio: 1;
  background: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.pdp-thumb.active {
  border-color: var(--primary);
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Right Side: Info */
.pdp-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.pdp-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
}

.pdp-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 10px;
}

.pdp-price {
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 600;
}

.pdp-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

/* Size Selector */
.pdp-sizes-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pdp-sizes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pdp-sizes-header span {
  font-weight: 600;
  font-size: 1.1rem;
}

.size-guide {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: underline;
  cursor: pointer;
}

.pdp-size-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.size-btn {
  padding: 15px 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.size-btn:hover {
  border-color: var(--primary);
}

.size-btn.selected {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Add to Cart Button */
.pdp-add-to-cart {
  width: 100%;
  padding: 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pdp-add-to-cart:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  background: #333;
}

.size-error {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: -10px;
  display: none;
}

.size-error.active {
  display: block;
  animation: shake 0.4s ease;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  50% {
    transform: translateX(5px);
  }

  75% {
    transform: translateX(-5px);
  }
}

/* PD-Quantity and Stock Box */
.stock-status-box {
  margin-top: 20px;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fafafa;
  font-size: 0.95rem;
}

.stock-status-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

#stockIndicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #27ae60;
}

.pdp-quantity-selector {
  margin-top: 30px;
}

.pdp-qty-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary);
}

.pdp-qty-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--border);
  width: fit-content;
  padding: 5px;
  border-radius: 12px;
  background: #fff;
}

.qty-btn-adjust {
  width: 36px;
  height: 36px;
  border: none;
  background: #f8fafc;
  border-radius: 8px;
  cursor: pointer;
  color: var(--primary);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.qty-btn-adjust:hover {
  background: #f1f5f9;
}

.qty-input-mini {
  width: 40px;
  border: none;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  outline: none;
  background: transparent;
  appearance: textfield;
  -moz-appearance: textfield;
  pointer-events: none;
}

.pdp-total-price-box {
  margin-top: 20px;
  padding: 15px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 600px) {
  .pdp-total-price-box {
    justify-content: flex-start;
    gap: 15px;
  }
}

.total-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.total-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

/* Size Guide Modal */
.size-guide-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.size-guide-content {
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

.size-guide-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
}

.size-guide-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
  color: #555;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1200px) {
  .pdp-container {
    gap: 40px;
  }

  .pdp-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 1024px) {
  .pdp-container {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-top: 100px;
  }

  .pdp-gallery {
    position: relative;
    top: 0;
  }

  .pdp-main-image {
    aspect-ratio: 1;
    border-radius: 20px;
    padding: 40px;
  }

  .pdp-info {
    gap: 20px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-logo {
    grid-column: 1 / -1;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .pdp-container {
    padding-top: 90px;
    padding-bottom: 40px;
  }

  .pdp-title {
    font-size: 2.2rem;
  }

  .pdp-price {
    font-size: 1.5rem;
  }

  .pdp-add-to-cart {
    padding: 18px;
    font-size: 1rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .pdp-container {
    padding-top: 80px;
    gap: 25px;
  }

  .pdp-title {
    font-size: 1.8rem;
  }

  .pdp-price {
    font-size: 1.4rem;
  }

  .pdp-size-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .size-btn {
    padding: 12px 0;
    font-size: 0.9rem;
  }

  .pdp-actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 50px;
  }

  .footer-logo {
    font-size: 1.8rem;
  }

  .footer-col h4 {
    margin-bottom: 20px;
    font-size: 0.8rem;
  }

  .footer-col li {
    margin-bottom: 12px;
  }
}

/* --- Sidebar / Navigation Drawer --- */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--easing);
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  height: 100%;
  background: #fff;
  z-index: 3001;
  transform: translateX(-100%);
  transition: transform 0.6s var(--easing);
  display: flex;
  flex-direction: column;
  box-shadow: 20px 0 60px rgba(0, 0, 0, 0.1);
}

.sidebar-drawer.active {
  transform: translateX(0);
}

.sidebar-header {
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-logo {
  font-family: "Outfit", sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -1px;
}

.sidebar-close {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s var(--easing);
}

.sidebar-close:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: rotate(90deg);
}

.sidebar-content {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
}

.sidebar-section-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 30px;
  font-weight: 600;
}

.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sidebar-links li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: var(--primary);
  font-size: 1.5rem;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--easing);
}

.sidebar-links li a:hover {
  padding-left: 10px;
  color: var(--accent);
}

.sidebar-links li a .chevron {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s var(--easing);
}

.sidebar-links li a:hover .chevron {
  opacity: 1;
  transform: translateX(0);
}

.sidebar-footer {
  padding: 40px;
  background: #fcfcfc;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.auth-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s var(--easing);
}

.auth-box:not(.secondary) {
  background: var(--primary);
  color: #fff;
}

.auth-box.secondary {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--border);
}

.auth-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1021px) {
  .search-container {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    max-width: none;
    width: calc(100% - 40px);
    margin: 0;
    padding: 10px 20px;
    background: #fff;
    pointer-events: none;
    display: flex;
  }

  .search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  nav.search-mode-active .nav-brand-container,
  nav.search-mode-active .nav-actions {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
  }

  nav.search-mode-active .search-container {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
    pointer-events: auto;
  }

  nav.search-mode-active .search-close-mobile {
    display: block;
  }

  .live-search-results {
    width: 100%;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: translate(-50%, -45%) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .sidebar-drawer {
    width: 85%;
  }
}

/* --- Profile Page --- */
.profile-page-wrapper {
  padding: 120px 5% 80px;
  max-width: 1440px;
  margin: 0 auto;
}

.profile-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}

.profile-sidebar-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px 24px;
  box-shadow: var(--shadow-small);
  border: 1px solid var(--border);
  position: sticky;
  top: 120px;
}

.profile-user-info {
  text-align: center;
  margin-bottom: 40px;
}

.profile-avatar-big {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 4px solid #f8fafc;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.profile-user-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.profile-user-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.profile-nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-nav-menu li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  transition: all 0.3s var(--easing);
}

.profile-nav-menu li a:hover {
  background: #f8fafc;
  color: var(--primary);
}

.profile-nav-menu li a.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

.profile-nav-menu li a.logout-btn {
  margin-top: 20px;
  color: #ef4444;
}

.profile-nav-menu li a.logout-btn:hover {
  background: #fef2f2;
}

.profile-main-content {
  background: #fff;
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-small);
  border: 1px solid var(--border);
  min-height: 600px;
}

.tab-header {
  margin-bottom: 40px;
}

.tab-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -1px;
}

.tab-header p {
  color: var(--text-muted);
  margin-top: 8px;
}

.info-display-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.info-display-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-display-item label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.info-display-item span {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 500;
}

.profile-form {
  display: grid;
  gap: 24px;
}

.profile-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.profile-input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-input-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.profile-input {
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: all 0.3s var(--easing);
  background: #fcfcfc;
}

.profile-input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.05);
}

.profile-btn {
  padding: 16px 32px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s var(--easing);
  border: none;
  font-size: 1rem;
  width: fit-content;
}

.profile-btn-primary {
  background: var(--primary);
  color: #fff;
}

.profile-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

/* Order History Cards */
.orders-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.order-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s var(--easing);
}

.order-card:hover {
  border-color: var(--primary);
  transform: translateX(5px);
  box-shadow: var(--shadow-small);
}

.order-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-id {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

.order-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.order-status-pill {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-completed {
  background: #dcfce7;
  color: #166534;
}

.status-pending {
  background: #fef9c3;
  color: #854d0e;
}

.status-shipped {
  background: #dbeafe;
  color: #1e40af;
}

.order-price {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
}

@media (max-width: 1024px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-sidebar-card {
    position: static;
  }

  .profile-nav-menu {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .profile-nav-menu::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 768px) {

  .profile-form-row,
  .info-display-grid {
    grid-template-columns: 1fr;
  }

  .profile-main-content {
    padding: 30px 20px;
  }

  .order-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .order-price {
    align-self: flex-end;
  }
}

/* --- Redesigned Cart Page Styles --- */
.cart-page-redesign {
  max-width: 1200px !important;
  margin: 0 auto;
}

.cart-header {
  margin-bottom: 40px;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .cart-header {
    margin-top: -40px;
    margin-bottom: 30px;
  }
}

.cart-header h1 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.cart-count-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  padding: 0 20px;
}

/* Cart Items Section */
.cart-items-section {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.cart-item-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: opacity 0.3s ease;
}

@media (max-width: 600px) {
  .cart-item-card {
    grid-template-columns: 100px 1fr;
    gap: 15px;
  }
}

.cart-item-image {
  width: 150px;
  height: 150px;
  background: #f6f6f6;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-image img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  transition: transform 0.5s var(--easing);
}

.cart-item-card:hover .cart-item-image img {
  transform: scale(1.05);
}

.cart-item-info {
  display: flex;
  flex-direction: column;
}

.item-name-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
}

.item-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.item-price {
  font-weight: 600;
  font-size: 1.1rem;
}

.item-category,
.item-size {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.item-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.qty-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e5e5e5;
  padding: 6px 12px;
  border-radius: 50px;
  width: fit-content;
}

.qty-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: opacity 0.2s;
}

.qty-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.qty-btn svg {
  width: 14px;
  height: 14px;
}

.qty-value {
  font-size: 0.95rem;
  font-weight: 500;
  min-width: 15px;
  text-align: center;
}

.remove-item-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-muted);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-item-btn:hover {
  color: #ff4444;
}

.remove-item-btn svg {
  width: 20px;
  height: 20px;
}

/* Summary Section */
.cart-summary-section {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.summary-card {
  padding: 0;
}

.summary-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 25px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.summary-value {
  font-weight: 500;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 1.1rem;
}

.summary-actions {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-button {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}

.checkout-button:hover {
  background: #333;
  transform: translateY(-2px);
}

.paypal-button {
  background: #ffc439;
  border: none;
  padding: 14px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.paypal-button:hover {
  opacity: 0.9;
}

/* Empty State */
.empty-cart-state {
  padding: 100px 20px;
  text-align: center;
}

.empty-cart-content {
  max-width: 400px;
  margin: 0 auto;
}

.empty-cart-icon {
  margin-bottom: 24px;
  color: #e5e5e5;
}

.empty-cart-state h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.empty-cart-state p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.continue-shopping-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.continue-shopping-btn:hover {
  background: #333;
}

/* Responsive */
@media (max-width: 968px) {
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .cart-summary-section {
    position: static;
  }
}

@media (max-width: 600px) {
  .cart-item-card {
    grid-template-columns: 100px 1fr;
    gap: 16px;
  }

  .cart-item-image {
    width: 100px;
    height: 100px;
  }

  .item-name {
    font-size: 0.95rem;
  }

  .item-price {
    font-size: 0.95rem;
  }

  .item-category,
  .item-size {
    font-size: 0.85rem;
  }

  .qty-selector {
    padding: 4px 10px;
  }

  .item-actions {
    gap: 12px;
  }
}

/* Profile Page Redesign & Orders */
.profile-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border);
}

.tab-header h2 {
  font-size: 2rem;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.tab-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 35px;
}

.info-display-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.info-display-item label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.info-display-item span {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Orders List */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.order-item-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 30px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: center;
  transition: all 0.3s ease;
}

.order-item-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.order-id-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

.order-number {
  font-weight: 700;
  font-size: 1.1rem;
  font-family: 'Outfit', sans-serif;
}

.order-meta-group {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.order-separator {
  margin: 0 8px;
}

.order-total-price {
  font-weight: 600;
  color: var(--primary);
}

.status-badge {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-pending {
  background: #fff7ed;
  color: #c2410c;
}

.status-processing {
  background: #eff6ff;
  color: #1d4ed8;
}

.status-shipped {
  background: #f0fdf4;
  color: #15803d;
}

.status-delivered {
  background: #f0fdf4;
  color: #15803d;
}

.status-cancelled {
  background: #fef2f2;
  color: #b91c1c;
}

.btn-view-details {
  background: #f8fafc;
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}

.btn-view-details:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Modal Styling */
.order-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.order-modal-content {
  background: #fff;
  width: 100%;
  max-width: 700px;
  max-height: 90vh;
  border-radius: 24px;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-header {
  padding: 24px 30px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-body {
  padding: 30px;
}

.modal-order-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.modal-order-header h4 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.modal-order-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.modal-order-total span {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.modal-order-total h4 {
  color: var(--primary);
}

/* Delivery Stepper */
.delivery-stepper {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  padding: 0 20px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  position: relative;
}

.step-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #e2e8f0;
  transition: all 0.3s ease;
}

.step.active .step-icon {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 1px var(--primary);
}

.step.completed .step-icon {
  background: #10b981;
  color: #fff;
  box-shadow: 0 0 0 1px #10b981;
}

.step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.step.active .step-label {
  color: var(--primary);
}

.step-line {
  height: 2px;
  background: #e2e8f0;
  flex: 1;
  margin-bottom: 24px;
  /* Align with icon center */
}

.step-line.completed {
  background: #10b981;
}

/* Modal Items */
.modal-items-section h5,
.modal-shipping-section h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.modal-items-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.modal-item {
  display: flex;
  gap: 20px;
  align-items: center;
}

.modal-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  background: #f8fafc;
}

.modal-item-info h6 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.modal-item-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.modal-shipping-section p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
}

.btn-cancel-order {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fee2e2;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cancel-order:hover {
  background: #fee2e2;
}

.modal-loading {
  padding: 100px 0;
  text-align: center;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f1f5f9;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .order-item-card {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 20px;
  }

  .btn-view-details {
    width: 100%;
  }

  .delivery-stepper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .step-line {
    display: none;
  }
}

/* Product Detail Actions */
.pdp-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 30px;
}

.pdp-add-to-cart {
  width: 100% !important;
  margin-top: 0 !important;
}

.pdp-checkout-btn {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 18px 30px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s var(--easing);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-checkout-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.pdp-checkout-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 3000;
  transition: all 0.3s var(--easing);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  background-color: #20ba5a;
}

/* --- Profile Page Responsiveness --- */
@media (max-width: 900px) {
  
  .profile-sidebar-card { position: static; padding: 30px 20px; text-align: center; }
  .profile-avatar-big { width: 90px; height: 90px; }
  .profile-nav-menu { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .profile-nav-menu li a { padding: 10px 15px; font-size: 0.9rem; border: 1px solid var(--border); }
  .profile-nav-menu li a.logout-btn { margin-top: 0; }
  .profile-main-content { padding: 30px 20px; }
  .info-display-grid { grid-template-columns: 1fr; gap: 20px; }
  .profile-form-row { grid-template-columns: 1fr; gap: 20px; }
  .order-item-card { flex-direction: column; align-items: flex-start; gap: 15px; }
  .order-main-info { flex-direction: column; gap: 5px; }
  .order-meta-group { flex-direction: column; gap: 2px; }
  .order-separator { display: none; }
  .order-actions-group { width: 100%; flex-direction: column; gap: 10px; }
  .btn-track-order, .btn-view-details { width: 100%; }
}


/* --- Final Responsiveness Overrides (Consolidated) --- */
@media (max-width: 900px) {
  .profile-layout { grid-template-columns: 1fr; gap: 30px; }
  .profile-sidebar-card { position: static; padding: 30px 20px; text-align: center; }
  .profile-avatar-big { width: 90px; height: 90px; }
  .profile-nav-menu { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .profile-nav-menu li a { padding: 10px 15px; font-size: 0.9rem; border: 1px solid var(--border); }
  .profile-nav-menu li a.logout-btn { margin-top: 0; }
  .profile-main-content { padding: 30px 20px; }
  .info-display-grid { grid-template-columns: 1fr; gap: 20px; }
  .profile-form-row { grid-template-columns: 1fr; gap: 20px; }
  .order-item-card { flex-direction: column; align-items: flex-start; gap: 15px; }
  .order-main-info { flex-direction: column; gap: 5px; }
  .order-meta-group { flex-direction: column; gap: 2px; }
  .order-separator { display: none; }
  .order-actions-group { width: 100%; flex-direction: column; gap: 10px; }
  .btn-track-order, .btn-view-details { width: 100%; }
}

@media (max-width: 600px) {
  /* Stack PDP buttons on narrow screens */
  .pdp-actions {
    flex-direction: column !important;
    gap: 12px !important;
  }
  .pdp-add-to-cart, .pdp-checkout-btn, .pdp-whatsapp-btn {
    width: 100% !important;
    margin: 0 !important;
  }
}

/* --- Brand4U Redesign Overrides --- */
.hero-left h1 {
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  letter-spacing: -2px;
}

.hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 16px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s var(--easing);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #333;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  padding: 16px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s var(--easing);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
}

.btn-whatsapp:hover {
  background: #20BA56;
  transform: translateY(-2px);
}

.pdp-whatsapp-btn {
  flex: 1;
  background: var(--whatsapp);
  color: white;
  border: none;
  padding: 15px 0;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s var(--easing);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

.pdp-whatsapp-btn:hover {
  background: #20BA56;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.trust-section {
  padding: 60px 5%;
  background: var(--bg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  border: 1px solid var(--border);
}
.trust-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  color: var(--whatsapp);
  border-radius: 50%;
  margin-bottom: 15px;
}
.trust-item h4 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: var(--primary);
  font-weight: 700;
}
.trust-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
@media (max-width: 900px) {
  .trust-section { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .trust-item { padding: 15px; }
  .btn-primary, .btn-whatsapp { width: 100%; }
}

.why-choose-us {
  padding: 80px 5%;
  background: var(--primary);
  color: white;
  text-align: center;
}
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 50px;
}
.why-choose-item h3 {
  font-size: 1.2rem;
  margin-top: 15px;
  margin-bottom: 8px;
}
.why-choose-item p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}
@media (max-width: 900px) {
  .why-choose-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 600px) {
  .why-choose-grid { grid-template-columns: 1fr; }
}

/* Ensure buttons are large and easy to tap on mobile */
@media (max-width: 768px) {
  .size-btn { padding: 12px; font-size: 1rem; }
  .pdp-add-to-cart, .pdp-checkout-btn, .pdp-whatsapp-btn { padding: 18px 0; font-size: 1.15rem; }
}

