/* ========================================
   DRIFT — Global Styles
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

/* === CSS Variables === */
:root {
  --bg-primary: #FAF8F5;
  /* خلفية أساسية - أبيض دافئ، ليس أبيض ثلجي صارخ */
  --bg-secondary: #F2F0EC;
  /* خلفية بطاقات/سكاشن متبادلة */
  --text-primary: #1A1A1A;
  /* نص أساسي - أسود ناعم، ليس #000 خام */
  --text-secondary: #6B6B66;
  /* نص ثانوي/وصفي */
  --accent: #1A1A1A;
  /* لون تمييز واحد فقط (أو حسب هوية البراند) */
  --border-soft: #E5E2DC;
  /* حدود خفيفة بدلاً من ظلال قوية */
  --border: var(--border-soft);
  --overlay-dark: rgba(0, 0, 0, 0.45);
  /* طبقة تظليل فوق صور الهيرو فقط */
  --font-heading-serif: 'Cinzel', serif;
}

/* === Reset === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text-secondary);
  background: var(--bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

body.loaded {
  opacity: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
select,
textarea {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.3s ease;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--text-secondary);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-secondary);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* Remove up/down spin buttons in number inputs */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

/* === Typography === */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-primary);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.02em;
  font-weight: 400;
}

h1 {
  font-size: clamp(48px, 8vw, 96px);
}

h2 {
  font-size: clamp(24px, 3vw, 36px);
}

h3 {
  font-size: clamp(28px, 4vw, 48px);
}

h4 {
  font-size: 24px;
}

h5 {
  font-size: 20px;
}

h6 {
  font-size: 16px;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.price {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
}

.price-original {
  text-decoration: line-through;
  color: var(--text-secondary);
  font-size: 0.85em;
  margin-right: 8px;
}

/* === Layout === */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 40px 0;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.flex {
  display: flex;
  align-items: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center {
  text-align: center;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 8px;
  transition: all 0.3s ease;
  min-height: 48px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  border: 2px solid var(--accent);
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-soft);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
}

.btn-ghost:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 13px;
  min-height: 36px;
}

.btn-full {
  width: 100%;
}

.btn:active {
  transform: scale(0.98);
}

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.05);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-transform: none;
  display: flex;
  align-items: center;
  transition: color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-icon {
  height: 28px;
  width: auto;
  margin-right: 8px;
  object-fit: contain;
  filter: brightness(0);
  transition: filter 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* On transparent navbar, make the logo icon white */
.navbar-transparent .logo-icon {
  filter: brightness(0) invert(1);
}

/* On transparent navbar scrolled state, make it black again */
.navbar-transparent.scrolled .logo-icon {
  filter: brightness(0);
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
  text-transform: none;
  letter-spacing: 0;
  transition: color 300ms cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a::after {
  display: none !important;
}

.nav-links a.active::after {
  content: '•' !important;
  position: absolute !important;
  bottom: -4px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  color: var(--text-primary) !important;
  font-size: 14px !important;
  line-height: 1 !important;
  display: block !important;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-right a,
.nav-right button {
  color: var(--text-secondary);
  transition: color 300ms cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  background: transparent;
  border: none;
  position: relative;
}

.nav-right a:hover,
.nav-right button:hover {
  color: var(--text-primary);
}

.nav-right svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--text-primary);
  color: var(--bg-primary);
  font-size: 9px;
  font-weight: 700;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Homepage Transparent Header Support */
.navbar-transparent {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

.navbar-transparent .logo {
  color: #FFFFFF;
}

.navbar-transparent .nav-links a {
  color: rgba(255, 255, 255, 0.85);
}

.navbar-transparent .nav-links a:hover,
.navbar-transparent .nav-links a.active {
  color: #FFFFFF;
}

.navbar-transparent .nav-links a.active::after {
  color: #FFFFFF !important;
}

.navbar-transparent .nav-right a,
.navbar-transparent .nav-right button {
  color: rgba(255, 255, 255, 0.85);
}

.navbar-transparent .nav-right a:hover,
.navbar-transparent .nav-right button:hover {
  color: #FFFFFF;
}

.navbar-transparent .hamburger span {
  background: #FFFFFF;
}

/* Homepage Transparent Header Scrolled state */
.navbar-transparent.scrolled {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.05);
}

/* Standard navbar scrolled state (for non-homepage pages) */
.navbar.scrolled:not(.navbar-transparent) {
  height: 60px;
  background: rgba(250, 250, 248, 0.88) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.navbar-transparent.scrolled .logo {
  color: var(--text-primary);
}

.navbar-transparent.scrolled .nav-links a {
  color: var(--text-secondary);
}

.navbar-transparent.scrolled .nav-links a:hover,
.navbar-transparent.scrolled .nav-links a.active {
  color: var(--text-primary);
}

.navbar-transparent.scrolled .nav-links a.active::after {
  color: var(--text-primary) !important;
}

.navbar-transparent.scrolled .nav-right a,
.navbar-transparent.scrolled .nav-right button {
  color: var(--text-secondary);
}

.navbar-transparent.scrolled .nav-right a:hover,
.navbar-transparent.scrolled .nav-right button:hover {
  color: var(--text-primary);
}

.navbar-transparent.scrolled .hamburger span {
  background: var(--text-primary);
}

.cart-badge.visible {
  opacity: 1;
  transform: scale(1);
}

.cart-badge.pulse {
  animation: pulse-badge 0.5s ease;
}

/* Wishlist Badge */
.wishlist-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--text-primary);
  color: var(--bg-primary);
  font-size: 9px;
  font-weight: 700;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.wishlist-badge.visible {
  opacity: 1;
  transform: scale(1);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1002;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay (Drawer layout copied from Tannis) */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Align drawer content to the right */
  justify-content: flex-start;
  padding: 20px 0 20px; /* Reduced top padding to raise menu items */
  opacity: 0;
  pointer-events: none;
  transition: background-color 0.4s ease, opacity 0.4s ease;
}

.mobile-nav::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 260px;
  max-width: 75%;
  height: 100%;
  background: #ffffff;
  z-index: -1;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -5px 0 25px rgba(0,0,0,0.12);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
  background-color: rgba(0, 0, 0, 0.4);
}

.mobile-nav.open::after {
  transform: translateX(0);
}

.mobile-nav a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px !important;
  font-weight: 500;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(20px);
  padding: 18px 24px;
  width: 260px;
  max-width: 75%;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Staggered links animation */
.mobile-nav.open a {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav.open a:nth-child(1) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s; }
.mobile-nav.open a:nth-child(2) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.15s; }
.mobile-nav.open a:nth-child(3) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s; }
.mobile-nav.open a:nth-child(4) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.25s; }
.mobile-nav.open a:nth-child(5) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s; }

.mobile-nav a::after {
  content: '→';
  font-size: 14px;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
  opacity: 0.5;
}

.mobile-nav a:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.mobile-nav a:hover::after {
  transform: translateX(4px);
  opacity: 1;
}

/* === Footer === */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-soft);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 280px;
  line-height: 1.7;
}

.footer h6 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-links a svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  vertical-align: middle;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* === Badges === */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 2px;
}

.badge-sale {
  background: #CC2200;
  color: #fff;
}

.badge-new {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Status badges */
.status-badge {
  padding: 4px 12px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-pending {
  background: rgba(255, 200, 0, 0.15);
  color: #FFD700;
}

.status-confirmed {
  background: rgba(0, 120, 255, 0.15);
  color: #4da6ff;
}

.status-shipped {
  background: rgba(150, 0, 255, 0.15);
  color: #b366ff;
}

.status-delivered {
  background: rgba(0, 200, 80, 0.15);
  color: #00e676;
}

.status-cancelled {
  background: rgba(255, 0, 0, 0.15);
  color: #ff4444;
}

/* === Modal / Overlay === */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-primary);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  box-shadow: 0 8px 60px rgba(0, 0, 0, 0.08);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h4 {
  font-size: 20px;
}

.modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 20px;
  transition: color 0.3s ease;
  border-radius: 4px;
}

.modal-close:hover {
  color: var(--text-primary);
  background: var(--border-soft);
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* === Toast Notifications === */
.toast-container {
  position: fixed;
  top: 88px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--bg-primary);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text-primary);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transform: translateX(120%);
  transition: transform 0.4s ease;
  max-width: 360px;
}

.toast.show {
  transform: translateX(0);
}

.toast-success {
  border-left: 3px solid #00e676;
}

.toast-error {
  border-left: 3px solid #CC2200;
}

.toast-info {
  border-left: 3px solid #4da6ff;
}

/* === Form Groups === */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group .error-msg {
  font-size: 12px;
  color: #CC2200;
  margin-top: 4px;
  display: none;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #CC2200;
}

.form-group.has-error .error-msg {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Toggle Switch */
.toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--border-soft);
  border-radius: 24px;
  transition: background 0.3s ease;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: var(--text-primary);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.toggle input:checked+.toggle-slider {
  background: #00e676;
}

.toggle input:checked+.toggle-slider::before {
  transform: translateX(20px);
}

/* === Scrollbar === */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #FFFFFF;
}

::-webkit-scrollbar-thumb {
  background: var(--border-soft);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}
/* === Selection === */
::selection {
  background: #3399FF !important;
  color: #FFFFFF !important;
}
::-moz-selection {
  background: #3399FF !important;
  color: #FFFFFF !important;
}
/* === Breadcrumb === */
.breadcrumb {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--text-primary);
}

.breadcrumb span {
  margin: 0 8px;
  opacity: 0.5;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 768px) {
  .navbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 64px !important;
    padding: 0 16px !important;
  }

  .hamburger {
    display: flex !important;
    padding: 8px 0 !important;
  }

  .logo {
    font-size: 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    gap: 8px !important;
  }

  .nav-right {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
  }

  .nav-links {
    display: none !important;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 40px 0;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 22px;
  }

  h4 {
    font-size: 20px;
  }

  /* Mobile featured scroll */
  .featured-scroll .product-card {
    min-width: 200px !important;
  }

  /* Mobile footer adjustments */
  .footer {
    padding: 40px 0 24px !important;
  }

  .footer-grid {
    gap: 24px !important;
  }

  .footer h6 {
    font-size: 11px !important;
    margin-bottom: 14px !important;
  }

  .footer-links a {
    font-size: 13px !important;
    padding: 3px 0 !important;
  }

  .footer-brand p {
    font-size: 13px !important;
  }

  .footer-bottom {
    font-size: 12px !important;
    padding-top: 16px !important;
  }

  /* Mobile toast positioning */
  .toast-container {
    top: 72px !important;
    right: 16px !important;
    left: 16px !important;
  }

  .toast {
    max-width: 100% !important;
    font-size: 13px !important;
  }

  /* Mobile modal adjustments */
  .modal-overlay {
    padding: 16px !important;
  }

  .modal-header {
    padding: 16px !important;
  }

  .modal-header h4 {
    font-size: 16px !important;
  }

  .modal-body {
    padding: 16px !important;
  }

  /* Mobile mobile-nav links */
  .mobile-nav a {
    font-size: 15px !important;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 36px;
  }
}

/* Hide admin link in the footer on all views */
.footer a[href*="admin"],
.footer-bottom a[href*="admin"] {
  display: none !important;
}

/* === Floating Contact Buttons === */
.floating-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.floating-btn:active {
  transform: scale(0.95);
}

.floating-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Phone Call button: Green/Teal theme */
.floating-btn.phone-btn {
  background-color: #00bfa5;
}

/* WhatsApp button: Green theme */
.floating-btn.whatsapp-btn {
  background-color: #25d366;
}

/* On mobile, adjust positions or sizes slightly */
@media (max-width: 768px) {
  .floating-contact {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
  }

  .floating-btn svg {
    width: 22px;
    height: 22px;
  }
}

/* === Hero Redesign === */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  background-color: var(--bg-secondary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 80px;
  animation: heroFadeIn 0.8s ease 0.3s both;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(45px, 6vw, 80px);
  font-weight: 900;
  line-height: 1;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title .purple-dot {
  color: var(--accent);
}

.hero-description {
  font-family: 'Inter', sans-serif;
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

/* Redesigned Pill Buttons */
.btn-shop-now {
  background: transparent !important;
  color: #FFFFFF !important;
  border: 2px solid #FFFFFF !important;
  border-radius: 80px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 12px 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  min-height: 46px !important;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-shop-now:hover {
  background: #FFFFFF !important;
  color: #000000 !important;
  border-color: #FFFFFF !important;
  transform: scale(1.02) !important;
}

.btn-explore {
  background: transparent !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 80px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 12px 28px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  min-height: 46px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-explore:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #FFFFFF !important;
  transform: scale(1.02) !important;
}

/* Scroll Indicators */
.scroll-indicator-wrapper {
  position: absolute;
  bottom: 40px;
  left: 10%;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-indicator-wrapper svg {
  stroke-width: 1.5;
}

.scroll-indicator-wrapper .chevron-icon {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    position: relative !important;
    height: 70vh !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    overflow: hidden !important;
    background-color: var(--bg-secondary) !important;
  }

  .hero-bg {
    position: absolute !important;
    inset: 0 !important;
    background-size: cover !important;
    background-position: center !important;
    z-index: 1 !important;
  }

  .hero-overlay {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.45) !important;
    z-index: 2 !important;
  }

  .hero-content {
    position: absolute !important;
    bottom: 80px !important;
    left: 20px !important;
    right: 20px !important;
    top: auto !important;
    z-index: 3 !important;
    max-width: calc(100% - 40px) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    text-align: left !important;
    align-items: flex-start !important;
    margin: 0 !important;
    padding: 0 10px !important;
    animation: none !important;
  }

  .hero-title {
    color: #ffffff !important;
    font-size: clamp(32px, 8vw, 44px) !important;
    line-height: 1.1 !important;
    text-align: left !important;
    margin: 0 !important;
  }

  .hero-description {
    display: block !important;
    text-align: left !important;
    font-size: 13px !important;
    margin-top: 4px !important;
  }

  .hero-buttons {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 10px !important;
    margin-top: 6px !important;
  }

  .hero-buttons .btn {
    flex: 1 !important;
    max-width: 200px !important;
    font-size: 13px !important;
    padding: 11px 20px !important;
    min-height: 44px !important;
    text-align: center !important;
    justify-content: center !important;
    border-radius: 60px !important;
  }

  .hero-buttons .btn-explore {
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
    background: transparent !important;
  }

  .hero-buttons .btn-explore:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #ffffff !important;
  }

  .scroll-indicator-wrapper {
    display: none !important;
  }
}

/* Hide Search and Account Icons Globally */
.search-btn,
.account-btn {
  display: none !important;
}



/* Hide Hamburger Menu on Desktop */
@media (min-width: 769px) {
  .hamburger {
    display: none !important;
  }
}

/* === Shop by Category — Editorial Grid === */
.categories-bar-section {
  padding: 60px 0;
  background: transparent;
}

.hk-category-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  gap: 20px !important;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 20px 24px !important;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.hk-category-grid::-webkit-scrollbar {
  display: none;
}

.hk-category-card {
  position: relative;
  flex: 0 0 380px !important;
  aspect-ratio: 1.55 / 1 !important;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
  scroll-snap-align: start !important;
}

.hk-category-card-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.hk-category-card:hover .hk-category-card-img {
  transform: scale(1.06);
}

.hk-category-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15); /* light overlay for image readability */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 24px;
  transition: background 0.4s ease;
}

.hk-category-card:hover .hk-category-card-overlay {
  background: rgba(0, 0, 0, 0.25);
}

.hk-category-card-overlay .cat-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  text-transform: capitalize;
  margin-bottom: 0;
  text-align: left;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hk-category-card-overlay .cat-cta {
  display: none !important;
}

.hk-category-card:hover .hk-category-card-overlay .cat-cta {
  display: none !important;
}

.categories-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.categories-section-header h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(38px, 5.5vw, 58px);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none; /* normal case */
  color: var(--text-primary);
  margin-bottom: 0;
}

.categories-section-header p {
  display: none !important; /* hide subtitle */
}

/* ==========================================================================
   Collection Spotlight — Full-Width Editorial Banner
   ========================================================================== */
.lookbook-section {
  padding: 0;
  background: transparent;
  overflow: hidden;
  position: relative;
}

.collection-spotlight {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 65vh;
  min-height: 400px;
  max-height: 700px;
  overflow: hidden;
}

.collection-spotlight-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.collection-spotlight:hover .collection-spotlight-bg {
  transform: scale(1.03);
}

.collection-spotlight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.25) 45%, rgba(0,0,0,0) 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
  padding: 60px 40px;
}

.collection-spotlight-overlay .eyebrow {
  display: none;
}

.collection-spotlight-overlay h2 {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(48px, 8vw, 84px);
  font-weight: 400;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 8px;
  max-width: 600px;
}

.collection-spotlight-overlay p {
  display: none;
}

.collection-spotlight-overlay .spotlight-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #000000;
  background: #FFFFFF;
  border: none;
  padding: 14px 44px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.collection-spotlight-overlay .spotlight-cta:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.collection-spotlight-overlay .spotlight-cta svg {
  display: none;
}

/* Mobile responsive for categories grid and spotlight */
@media (max-width: 768px) {
  .categories-bar-section {
    padding: 40px 0;
  }

  .hk-category-grid {
    gap: 12px !important;
    padding: 0 16px 20px 16px !important;
  }

  .hk-category-card {
    flex: 0 0 280px !important;
  }

  .hk-category-card-overlay .cat-name {
    font-size: 20px;
  }

  .categories-section-header {
    margin-bottom: 24px;
  }

  .categories-section-header h2 {
    font-size: 32px;
  }

  .collection-spotlight {
    height: 50vh;
    min-height: 320px;
  }

  .collection-spotlight-overlay {
    padding: 32px 20px;
  }

  .collection-spotlight-overlay h2 {
    font-size: clamp(32px, 8vw, 44px);
  }

  .collection-spotlight-overlay p {
    font-size: 13px;
  }

  .collection-spotlight-overlay .spotlight-cta {
    padding: 12px 32px;
    font-size: 14px;
  }
}

/* === Checkout Authentication Gate === */
.checkout-gate-warning {
  background: var(--bg-secondary);
  border: 1px solid var(--border-soft);
  padding: 28px 24px;
  border-radius: 12px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.checkout-gate-warning p {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  max-width: 450px;
  line-height: 1.5;
  margin: 0;
}

.checkout-form-disabled {
  position: relative;
}

.checkout-form-disabled > *:not(.checkout-gate-warning) {
  opacity: 0.5;
  pointer-events: none;
}

/* === Customer Account Button in Header === */
.customer-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.customer-account-btn:hover {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.03);
}

.customer-account-btn svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}

/* Homepage transparent header support */
.navbar-transparent:not(.scrolled) .customer-account-btn {
  color: rgba(255, 255, 255, 0.85);
}

.navbar-transparent:not(.scrolled) .customer-account-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 480px) {
  .customer-account-btn {
    padding: 4px 6px;
    gap: 4px;
  }
  .customer-account-btn .account-text {
    font-size: 11px;
  }
}

/* === Global Page Header === */
.shop-header {
  position: relative;
  padding: 120px 0 40px;
  text-align: center;
  overflow: hidden;
  background-image: linear-gradient(to bottom, rgba(250, 250, 248, 0.25), rgba(250, 250, 248, 0.85)), url('https://images.unsplash.com/photo-1556821840-3a63f95609a7?q=80&w=1200&auto=format&fit=crop');
  background-size: cover;
  background-position: center 30%;
  background-blend-mode: lighten;
  border-bottom: 1px solid var(--border-soft);
}

.shop-header .container {
  position: relative;
  z-index: 2;
}

.shop-header h1 {
  font-size: clamp(48px, 8vw, 80px);
  margin-bottom: 8px;
}

/* Hero Bottom-Left Alignment */
.hero-content {
  position: absolute !important;
  bottom: 80px !important;
  left: 5% !important;
  right: auto !important;
  top: auto !important;
  z-index: 3 !important;
  max-width: 600px !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  animation: heroFadeIn 0.8s ease 0.3s both !important;
}

.hero-eyebrow {
  display: block;
  font-family: var(--font-heading-serif);
  font-style: italic;
  font-size: clamp(20px, 3vw, 26px);
  color: #FFFFFF;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.05em;
}

.hero-title {
  font-family: var(--font-heading-serif);
  font-size: clamp(36px, 5vw, 64px) !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  color: #FFFFFF !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  margin: 0 !important;
  text-align: left !important;
}

.hero-description {
  display: block !important;
  font-family: 'Inter', sans-serif;
  font-size: clamp(13px, 1.5vw, 16px) !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  line-height: 1.5 !important;
  max-width: 480px !important;
  margin: 4px 0 0 0 !important;
  text-align: left !important;
}

@media (max-width: 768px) {
  .hero-content {
    left: 0% !important;
    bottom: 60px !important;
  }
}

/* === Section 2: Featured Product Showcase === */
.featured-product-showcase {
  background: var(--bg-primary);
  padding: 96px 0;
  border-bottom: 1px solid var(--border-soft);
}

.featured-product-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.featured-product-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 4 / 5;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.featured-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-product-media:hover img {
  transform: scale(1.05);
}

.featured-product-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--accent);
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 8px 16px;
  border-radius: 4px;
  text-transform: uppercase;
}

.featured-product-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.featured-product-info .vendor {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.featured-product-info .title {
  font-family: var(--font-heading-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.featured-product-info .price {
  font-family: 'Inter', sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
}

.featured-product-info .description {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
}

@media (max-width: 768px) {
  .featured-product-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .featured-product-showcase {
    padding: 64px 0;
  }
}

/* === Section 3: Summer Drops Banner === */
.summer-drops-banner {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.summer-drops-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  transition: transform 10s ease;
}

.summer-drops-banner:hover .summer-drops-bg {
  transform: scale(1.05);
}

.summer-drops-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.summer-drops-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 600px;
  padding: 0 24px;
  color: #FFFFFF;
}

.summer-drops-content .eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.summer-drops-content h2 {
  font-family: var(--font-heading-serif);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.summer-drops-content p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.btn-outline-white {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

.btn-outline-white:hover {
  background: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

/* === Section 8: Quick Collection Links === */
.quick-collection-links {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-soft);
  padding: 80px 0;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.quick-link-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.quick-link-card span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.quick-link-card svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
  color: var(--text-secondary);
}

.quick-link-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.quick-link-card:hover svg {
  transform: translateX(4px);
  color: var(--accent);
}

/* === Desktop Mega Menu & Mobile Accordion styles === */
.nav-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  z-index: 1000;
  background: var(--bg-primary);
  border: 1px solid var(--border-soft);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  border-radius: 12px;
  padding: 16px 20px;
  width: 660px;
  display: block;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
}

/* Custom Scrollbar for Mega Menu */
.mega-menu::-webkit-scrollbar {
  width: 6px;
}
.mega-menu::-webkit-scrollbar-track {
  background: transparent;
}
.mega-menu::-webkit-scrollbar-thumb {
  background: #cccccc;
  border-radius: 4px;
}
.mega-menu::-webkit-scrollbar-thumb:hover {
  background: #999999;
}

.nav-dropdown-wrapper:hover .mega-menu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mega-menu-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mega-menu-col h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 4px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.mega-menu-parent {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-menu-parent .parent-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary) !important;
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.02em;
}

.mega-menu-parent .parent-link:hover {
  color: var(--accent) !important;
}

.mega-menu-parent .sub-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 8px;
}

.mega-menu-parent .sub-links a {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--text-secondary) !important;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

.mega-menu-parent .sub-links a:hover {
  color: var(--accent) !important;
  text-decoration: underline;
}

/* Mobile Accordion Styles */
.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 10px 24px;
  overflow-y: auto;
  max-height: 100vh;
}

.mobile-nav-item {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary) !important;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-accordion-item {
  width: 100%;
}

.mobile-accordion-trigger {
  background: none;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
}

/* Mobile Accordion Styles */
.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 260px;
  max-width: 75%;
  height: 100%;
  padding: 10px 0;
  overflow-y: auto;
}

/* Style all direct children of mobile-nav-inner */
.mobile-nav-inner > a,
.mobile-nav-inner > .mobile-sub-accordion {
  width: 100% !important;
  max-width: 100% !important;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
}

/* Stagger transition when open */
.mobile-nav.open .mobile-nav-inner > a,
.mobile-nav.open .mobile-nav-inner > .mobile-sub-accordion {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav.open .mobile-nav-inner > *:nth-child(1) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.05s; }
.mobile-nav.open .mobile-nav-inner > *:nth-child(2) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s; }
.mobile-nav.open .mobile-nav-inner > *:nth-child(3) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.15s; }
.mobile-nav.open .mobile-nav-inner > *:nth-child(4) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s; }
.mobile-nav.open .mobile-nav-inner > *:nth-child(5) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.25s; }
.mobile-nav.open .mobile-nav-inner > *:nth-child(6) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s; }
.mobile-nav.open .mobile-nav-inner > *:nth-child(7) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.35s; }
.mobile-nav.open .mobile-nav-inner > *:nth-child(8) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.4s; }
.mobile-nav.open .mobile-nav-inner > *:nth-child(9) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.45s; }
.mobile-nav.open .mobile-nav-inner > *:nth-child(10) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.5s; }
.mobile-nav.open .mobile-nav-inner > *:nth-child(11) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.55s; }
.mobile-nav.open .mobile-nav-inner > *:nth-child(12) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.6s; }
.mobile-nav.open .mobile-nav-inner > *:nth-child(13) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.65s; }
.mobile-nav.open .mobile-nav-inner > *:nth-child(14) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.7s; }
.mobile-nav.open .mobile-nav-inner > *:nth-child(15) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.75s; }
.mobile-nav.open .mobile-nav-inner > *:nth-child(16) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.8s; }
.mobile-nav.open .mobile-nav-inner > *:nth-child(17) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.85s; }
.mobile-nav.open .mobile-nav-inner > *:nth-child(18) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.9s; }

/* Apply the exact link styling to direct links, accordion triggers, and direct categories */
.mobile-nav-inner > a,
.mobile-sub-trigger,
.mobile-sub-link-direct {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px !important;
  font-weight: 500;
  color: var(--text-primary) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 18px 24px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.mobile-sub-trigger svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-secondary);
}

.mobile-sub-trigger.active svg {
  transform: rotate(180deg);
  color: var(--accent);
}

.mobile-sub-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  width: 100%;
}

.mobile-sub-content.open {
  max-height: 300px;
}

/* Nested subcategory links styling */
.mobile-sub-content a {
  font-family: 'Inter', sans-serif;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--text-secondary) !important;
  text-decoration: none;
  padding: 10px 24px 10px 40px !important; /* Indented left padding */
  width: 100% !important;
  max-width: 100% !important;
  border-bottom: none !important;
  text-transform: none !important;
  opacity: 1 !important;
  transform: none !important;
  display: block !important;
  box-sizing: border-box;
}

.mobile-sub-content a::after {
  display: none !important; /* Hide arrow for nested subcategory links */
}

.mobile-sub-content a:hover {
  color: var(--accent) !important;
}

