/* ==========================================================================
   Garments & Ready Products Page Styles
   ========================================================================== */

.garments-page {
  padding-top: 36px;
  padding-bottom: 96px;
}

/* Hero Title & Subtitle */
.garments-hero-header {
  margin-bottom: 32px;
}

.garments-hero-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.garments-page-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 500;
  line-height: 1.18;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.garments-page-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-secondary);
  font-weight: 400;
}

/* In-Page Quick Search Box */
.garments-title-search-box {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0 16px;
  width: 320px;
  max-width: 100%;
  height: 48px;
  box-shadow: var(--shadow-subtle);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.garments-title-search-box:focus-within {
  border-color: #1A1A1A;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.garments-title-search-box .search-icon {
  width: 17px;
  height: 17px;
  color: var(--text-muted);
  margin-right: 10px;
  flex-shrink: 0;
}

.garments-title-search-input {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: var(--text-primary);
  outline: none;
}

.garments-title-search-input::placeholder {
  color: var(--text-muted);
}

.search-clear-cross {
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.search-clear-cross:hover {
  color: var(--text-primary);
}

/* Active Search Status Bar */
.search-status-bar {
  margin-top: 18px;
  padding: 10px 18px;
  background-color: #F0ECE4;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.92rem;
  color: #383531;
}

.search-status-text {
  font-weight: 500;
}

.clear-search-link {
  background: none;
  border: none;
  color: #1A1A1A;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  text-decoration: underline;
  padding: 2px 4px;
}

.clear-search-link:hover {
  opacity: 0.8;
}

/* ==========================================================================
   FUTURISTIC INTERACTIVE TAXONOMY COMMAND MATRIX
   ========================================================================== */
.cyber-taxonomy-matrix {
  margin-bottom: 20px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  position: relative;
  z-index: 960;
  overflow: visible;
}

/* Ambient Matrix Top Glow - disabled for clean Scandinavian design */
.cyber-taxonomy-matrix::before {
  display: none !important;
}

/* --- HUD Telemetry & Breadcrumb Bar --- */
.hud-telemetry-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.hud-telemetry-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hud-status-indicator {
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #52C49C;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(82, 196, 156, 0.12);
  border: 1px solid rgba(82, 196, 156, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.hud-pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #52C49C;
  border-radius: 50%;
  box-shadow: 0 0 8px #52C49C;
  animation: cyberPulseGlow 1.8s infinite;
}

@keyframes cyberPulseGlow {
  0% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 4px #52C49C; }
  50% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 12px #52C49C; }
  100% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 4px #52C49C; }
}

.hud-breadcrumb-path {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #B2BCB6;
  font-weight: 500;
  flex-wrap: wrap;
}

.hud-step {
  color: #D1DAD5;
  transition: color var(--transition-fast);
}

.hud-root {
  font-family: monospace;
  color: #D6A86B;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.hud-step.active-step {
  color: #FFFFFF;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.hud-sep {
  color: rgba(214, 168, 107, 0.5);
  font-size: 1rem;
}

.hud-telemetry-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hud-count-badge {
  font-family: monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: #E8D3B9;
  background: rgba(214, 168, 107, 0.12);
  border: 1px solid rgba(214, 168, 107, 0.32);
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap;
}

.hud-count-badge strong {
  color: #D6A86B;
  font-size: 0.88rem;
}

.hud-reset-btn {
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 5px 14px;
  cursor: pointer;
  align-items: center;
  gap: 6px;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.hud-reset-btn:hover {
  background: #D6A86B;
  color: #101513;
  border-color: #D6A86B;
  box-shadow: 0 0 16px rgba(214, 168, 107, 0.5);
  transform: translateY(-1px);
}

.hud-telemetry-bar {
  display: none !important;
}

/* --- Level 1: Parent Category Dock Matching Exact Reference Screenshot --- */
.parent-dock-wrap,
.cyber-parent-dock-wrap {
  position: relative;
  width: 100%;
  margin-top: 0;
  z-index: 1000;
}

.parent-cards-grid,
.cyber-parent-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  width: 100%;
  position: relative;
  z-index: 1002;
}

.parent-dock-card,
.cyber-parent-card {
  background: #F6F3ED;
  border: 1px solid #ECE7DE;
  border-radius: 14px;
  padding: 18px 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  min-height: 90px;
  box-shadow: none;
  position: relative;
  z-index: 1003;
}

.parent-dock-card:hover,
.cyber-parent-card:hover {
  background: #FAF8F4;
  border-color: #D6A86B;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.parent-dock-card.active,
.cyber-parent-card.active {
  background: #F6F3ED;
  border-color: #ECE7DE;
}

.parent-card-name {
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 4px 0;
  letter-spacing: -0.01em;
}

.parent-card-desc {
  font-size: 0.78rem;
  color: #7E756B;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Level 2: Futuristic Floating Subcategory Hover Deck --- */
.hover-subcategory-deck {
  margin-top: 16px;
  background: rgba(15, 20, 17, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(214, 168, 107, 0.38);
  border-radius: var(--radius-md, 12px);
  padding: 18px 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(214, 168, 107, 0.12);
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  animation: cyberDeckSlideIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cyberDeckSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.deck-hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-wrap: wrap;
  gap: 10px;
}

.deck-hud-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.deck-hud-prefix {
  font-family: monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #8D9992;
}

.deck-hud-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFFFFF;
}

.deck-hud-badge {
  font-family: monospace;
  font-size: 0.7rem;
  color: #52C49C;
  background: rgba(82, 196, 156, 0.14);
  border: 1px solid rgba(82, 196, 156, 0.3);
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.deck-hud-instruction {
  font-size: 0.78rem;
  color: #A3ACA6;
  letter-spacing: 0.02em;
}

.hover-pills-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Futuristic Subcategory Pill */
.subfilter-pill {
  background: rgba(255, 255, 255, 0.06);
  color: #E2E8E4;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill, 9999px);
  padding: 9px 20px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.subfilter-pill::before {
  content: '•';
  color: #D6A86B;
  font-size: 1.1rem;
  line-height: 0;
  transition: color var(--transition-fast);
}

.subfilter-pill:hover {
  background: rgba(214, 168, 107, 0.18);
  border-color: #D6A86B;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(214, 168, 107, 0.35);
}

.subfilter-pill:hover::before {
  color: #FFFFFF;
}

/* Active Subcategory Pill */
.subfilter-pill.active {
  background: linear-gradient(135deg, #D6A86B 0%, #A87E4C 100%);
  color: #101513;
  border-color: #D6A86B;
  font-weight: 700;
  box-shadow: 0 0 22px rgba(214, 168, 107, 0.55);
  transform: translateY(-1px);
}

.subfilter-pill.active::before {
  color: #101513;
}

.subfilter-pill.active:hover {
  background: linear-gradient(135deg, #E2B980 0%, #B88E5C 100%);
  color: #0c0f0d;
}

/* --- Level 3: Futuristic Further Subcategory ("Cut & Silhouette Matrix") --- */
.further-subcategory-section {
  margin-top: 18px;
  background: rgba(20, 26, 23, 0.88);
  border: 1px dashed rgba(214, 168, 107, 0.35);
  border-radius: var(--radius-md, 12px);
  padding: 16px 20px;
  animation: cyberReveal 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cyberReveal {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.further-sub-hud-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.further-sub-title-group {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #9FAAA3;
  flex-wrap: wrap;
}

.further-tag-bracket {
  color: #D6A86B;
  font-family: monospace;
  font-weight: 700;
}

.further-sub-prefix {
  font-family: monospace;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
}

.further-active-category {
  color: #D6A86B;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.further-sub-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
}

.further-sub-active-name {
  color: #52C49C;
  font-weight: 700;
  font-family: monospace;
}

.further-sub-hint {
  color: #7D8882;
}

.further-pills-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Tier 3 Further Subcategory Pill */
.subfilter-pill-tier3 {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #D3DAD6;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  padding: 6px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.subfilter-pill-tier3::before {
  content: '>';
  font-family: monospace;
  font-size: 0.75rem;
  color: #52C49C;
}

.subfilter-pill-tier3:hover {
  background: rgba(82, 196, 156, 0.16);
  border-color: #52C49C;
  color: #FFFFFF;
  box-shadow: 0 0 14px rgba(82, 196, 156, 0.3);
  transform: translateY(-1px);
}

.subfilter-pill-tier3.active {
  background: #52C49C;
  border-color: #52C49C;
  color: #0c120f;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(82, 196, 156, 0.55);
}

.subfilter-pill-tier3.active::before {
  content: '✓';
  color: #0c120f;
  font-weight: 900;
}

/* --- Cyber Scanning Laser Bar during AJAX fetches --- */
.cyber-scanner-bar {
  width: 100%;
  height: 3px;
  background: rgba(214, 168, 107, 0.15);
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  border-radius: 999px;
}

.cyber-scan-beam {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, transparent, #D6A86B, #52C49C, transparent);
  box-shadow: 0 0 12px #52C49C;
  animation: cyberLaserScan 1.1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes cyberLaserScan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ==========================================================================
   Products Showcase Grid & Holographic Cards
   ========================================================================== */
.products-showcase-section {
  width: 100%;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-item-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-transform), box-shadow var(--transition-smooth), border-color var(--transition-fast);
  cursor: pointer;
  position: relative;
}

.product-item-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(28, 25, 23, 0.12), 0 0 0 1px rgba(214, 168, 107, 0.3);
  border-color: #D6A86B;
}

/* Media Box */
.product-media {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background-color: #E6E2DA;
}

/* Holographic Sheen Layer */
.card-holo-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0.28) 45%,
    rgba(214, 168, 107, 0.22) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.75s ease;
}

.product-item-card:hover .card-holo-sheen {
  transform: translateX(100%);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-item-card:hover .product-image {
  transform: scale(1.05);
}

.product-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(16, 14, 12, 0.75) 0%,
    rgba(16, 14, 12, 0.35) 40%,
    rgba(16, 14, 12, 0.08) 75%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

.product-media-tag {
  position: absolute;
  bottom: 20px;
  left: 22px;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  z-index: 3;
}

.tag-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.15;
}

.tag-subtitle {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.15;
}

/* Card Futuristic Tech Chip Badge */
.card-tech-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: rgba(14, 18, 16, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(214, 168, 107, 0.35);
  padding: 4px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: #E8D3B9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.22s ease;
}

.tech-indicator-dot {
  width: 5px;
  height: 5px;
  background: #52C49C;
  border-radius: 50%;
  box-shadow: 0 0 6px #52C49C;
}

.tech-view-hint {
  color: #D6A86B;
  font-weight: 700;
  margin-left: 2px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.product-item-card:hover .card-tech-badge {
  background: #101513;
  border-color: #D6A86B;
  box-shadow: 0 0 12px rgba(214, 168, 107, 0.35);
}

.product-item-card:hover .tech-view-hint {
  opacity: 1;
}

/* Product Info Footer */
.product-info-footer {
  padding: 22px 24px;
  background-color: #FFFFFF;
}

.product-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.product-attributes {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Empty State Message */
.no-products-message {
  text-align: center;
  padding: 64px 24px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-card);
  margin-top: 20px;
}

.no-products-message p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.custom-inquiry-btn {
  display: inline-block;
  padding: 10px 24px;
  background-color: #171717;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  transition: opacity var(--transition-fast);
}

.custom-inquiry-btn:hover {
  opacity: 0.88;
}

/* ==========================================================================
   Responsive Styles for Garments Page
   ========================================================================== */
@media (max-width: 1024px) {
  .cyber-parent-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .cyber-parent-card {
    padding: 14px 16px;
    min-height: 80px;
  }

  .parent-card-name {
    font-size: 1rem;
  }

  .parent-card-desc {
    font-size: 0.74rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .product-media {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .garments-page {
    padding-top: 24px;
    padding-bottom: 60px;
  }

  .cyber-taxonomy-matrix {
    padding: 0;
  }

  .hud-telemetry-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hud-telemetry-right {
    width: 100%;
    justify-content: space-between;
  }

  .hover-subcategory-deck {
    padding: 14px 14px;
  }

  .hover-pills-wrap {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }

  .further-pills-wrap {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .product-media {
    height: 300px;
  }

  .cyber-parent-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .cyber-parent-card {
    padding: 12px 14px;
    min-height: auto;
    border-radius: 10px;
  }

  .parent-card-name {
    font-size: 0.92rem;
    margin-bottom: 2px;
  }

  .parent-card-desc {
    font-size: 0.7rem;
    -webkit-line-clamp: 1;
  }
}


/* ==========================================================================
   4-LAYER CATEGORY MEGA-MODAL (FLOATING OVER PAGE, STRICTLY NON-SCROLLABLE)
   Matching Reference Design: parent -> macro -> subcategory -> cut
   Positioned as an absolute overlay anchored to parent dock
   ========================================================================== */
.parent-category-mega-modal,
.men-category-mega-modal {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 8px;
  z-index: 1001;
  background: #FFFFFF;
  border: 1px solid #ECE7DE;
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.04);
  animation: megaModalFadeIn 0.15s ease-out;
  color: #1A1A1A;
  overflow: visible !important; /* STRICTLY NON-SCROLLABLE */
  max-height: none !important;  /* NO SCROLL CONTAINER */
  scrollbar-width: none !important;
}

/* Invisible bridge so moving cursor from card to modal never loses hover state */
.parent-category-mega-modal::before,
.men-category-mega-modal::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
  pointer-events: auto;
}

.parent-category-mega-modal *,
.men-category-mega-modal * {
  scrollbar-width: none !important;
}

.parent-category-mega-modal::-webkit-scrollbar,
.men-category-mega-modal::-webkit-scrollbar,
.parent-category-mega-modal *::-webkit-scrollbar,
.men-category-mega-modal *::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Modal floating backdrop - strictly pointer-events: none to avoid stealing hover from cards */
.mega-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  z-index: 950;
  opacity: 0;
  pointer-events: none !important;
  transition: opacity 0.2s ease;
}

.mega-modal-backdrop.is-active {
  opacity: 1;
  pointer-events: none !important;
}

@keyframes megaModalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Modal Top Header - Minimal floating close button to match reference layout */
.mega-modal-header {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  margin: 0;
  border-bottom: none;
}

.mega-header-title-wrap {
  display: none;
}

.mega-close-btn {
  background: #F4F1EA;
  border: 1px solid #E5DFD5;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #555;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.mega-close-btn:hover {
  background: #1A1A1A;
  color: #FFFFFF;
  border-color: #1A1A1A;
  transform: rotate(90deg);
}

/* Modal Body Layout */
.mega-modal-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  align-items: start;
}

/* Left Main Area: Topwear & Bottomwear Cards */
.mega-dept-columns {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mega-dept-card {
  background: #FFFFFF;
  border: 1px solid #ECE7DE;
  border-radius: 16px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 18px;
  transition: all 0.22s ease;
  position: relative;
}

.mega-dept-card:hover {
  border-color: #D6A86B;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

/* Department Brand Column (Left of Card) */
.dept-brand-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 12px;
  border-right: 1px solid #F2EFE9;
}

.dept-icon-circle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  color: #B58943;
}

.dept-svg-icon {
  width: 28px;
  height: 28px;
}

.dept-name {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 3px 0;
  letter-spacing: -0.01em;
}

.dept-tagline {
  font-size: 0.76rem;
  color: #7E756B;
  line-height: 1.35;
  margin: 0 0 10px 0;
}

.dept-view-all {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1A1A1A;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 2px solid #1A1A1A;
  padding-bottom: 2px;
  transition: all 0.2s ease;
}

.dept-view-all:hover {
  color: #8C6A48;
  border-color: #8C6A48;
  transform: translateX(2px);
}

.dept-view-all .arrow {
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.dept-view-all:hover .arrow {
  transform: translateX(4px);
}

/* 2-Column Subcategories Grid */
.dept-items-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
}

.dept-items-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mega-subcat-item {
  display: flex;
  flex-direction: column;
  padding: 4px 6px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.mega-subcat-item:hover {
  background: #F6F3EC;
  transform: translateX(2px);
}

.mega-subcat-item.active-subcat {
  background: #FAF5EB;
  border-left: 3px solid #8C6A48;
  padding-left: 8px;
}

.subcat-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.subcat-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #1A1A1A;
  letter-spacing: -0.01em;
}

.mega-subcat-item:hover .subcat-title {
  color: #8C6A48;
}

.subcat-arrow {
  font-size: 0.88rem;
  color: #B58943;
  transition: transform 0.2s ease, color 0.2s ease;
}

.mega-subcat-item:hover .subcat-arrow {
  color: #8C6A48;
  transform: translateX(3px);
}

.subcat-desc {
  font-size: 0.72rem;
  color: #7E756B;
  margin-top: 1px;
  line-height: 1.25;
}

.subcat-desc-alt {
  font-size: 0.7rem;
  color: #9E958A;
  line-height: 1.25;
}

/* Right Section: Featured Collections */
.mega-featured-column {
  display: flex;
  flex-direction: column;
}

.featured-heading {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
}

.featured-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.featured-image-card {
  background: #FFFFFF;
  border: 1px solid #ECE7DE;
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 165px;
}

.featured-image-card:hover {
  border-color: #D6A86B;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.featured-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 2px;
}

.featured-card-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #1A1A1A;
}

.featured-card-arrow {
  color: #B58943;
  font-size: 0.88rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.featured-image-card:hover .featured-card-arrow {
  color: #8C6A48;
  transform: translateX(3px);
}

.featured-card-subtitle {
  font-size: 0.7rem;
  color: #7E756B;
  margin-bottom: 6px;
  line-height: 1.3;
}

.featured-img-wrap {
  width: 100%;
  height: 98px;
  border-radius: 8px;
  overflow: hidden;
  background: #EAE5DC;
}

.featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.featured-image-card:hover .featured-img-wrap img {
  transform: scale(1.05);
}

/* ==========================================================================
   LEVEL 4 CUT / SILHOUETTE SELECTOR ON RESULTS PAGE
   ========================================================================== */
.results-cut-filter-bar {
  margin-bottom: 24px;
  background: #FFFFFF;
  border: 1px solid #EAE5DC;
  border-radius: 14px;
  padding: 16px 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  animation: layer4SlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.mega-layer4-popover {
  display: none !important;
}

@keyframes layer4SlideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.layer4-popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #F0ECE4;
  flex-wrap: wrap;
  gap: 8px;
}

.layer4-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: monospace;
}

.layer4-tag {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #8C6A48;
  font-weight: 700;
}

.layer4-active-category {
  color: #1A1A1A;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
}

.layer4-prompt {
  font-size: 0.76rem;
  color: #7E756B;
}

.layer4-cuts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.layer4-cut-pill {
  background: #FAF8F5;
  border: 1px solid #EAE5DC;
  border-radius: 999px;
  padding: 8px 18px;
  color: #1A1A1A;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.layer4-cut-pill .pill-sub {
  font-size: 0.72rem;
  color: #7E756B;
  font-weight: 400;
}

.layer4-cut-pill:hover {
  background: #FFFFFF;
  color: #8C6A48;
  border-color: #D6A86B;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(214, 168, 107, 0.25);
}

.layer4-cut-pill:hover .pill-sub {
  color: #8C6A48;
}

.layer4-cut-pill.active {
  background: #1A1A1A;
  color: #D6A86B;
  border-color: #1A1A1A;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.layer4-cut-pill.active .pill-sub {
  color: #FAF7F2;
}

/* Responsive adjustments for Mega Modal */
@media (max-width: 1080px) {
  .mega-modal-body {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MOBILE CATEGORY QUICK BAR & LISTING DRAWER STYLES
   Desktop Default: Hidden
   ========================================================================== */
.mobile-category-quick-bar {
  display: none;
}
.mobile-drawer-backdrop {
  display: none;
}
.mobile-category-drawer {
  display: none;
}

@media (max-width: 768px) {
  /* Strictly disable Desktop Hover Mega Modal and its backdrop on mobile/touch screens */
  .parent-category-mega-modal,
  .men-category-mega-modal,
  .mega-modal-backdrop,
  .mega-layer4-popover {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  .results-cut-filter-bar {
    padding: 12px 14px;
    margin-bottom: 16px;
    border-radius: 10px;
  }
  .results-cut-filter-bar .layer4-cuts-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .results-cut-filter-bar .layer4-cut-pill {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  /* --------------------------------------------------------------------------
     1. Mobile Category Navigation Bar (Inline under Parent Cards)
     -------------------------------------------------------------------------- */
  .mobile-category-quick-bar {
    display: block;
    background: #FFFFFF;
    border: 1px solid #ECE7DE;
    border-radius: 16px;
    padding: 12px 14px;
    margin-top: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  }

  .mobile-cat-bar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
  }

  .mobile-active-breadcrumb {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .mobile-trail-dept {
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #1A1A1A;
    text-transform: uppercase;
  }

  .mobile-trail-sep {
    color: #A89F93;
    font-size: 0.85rem;
  }

  .mobile-trail-detail {
    color: #8C6A48;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-open-listing-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1A1A1A;
    color: #FAF8F5;
    border: 1px solid #1A1A1A;
    border-radius: 999px;
    padding: 6px 13px;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
    flex-shrink: 0;
  }

  .mobile-open-listing-btn:active {
    background: #8C6A48;
    border-color: #8C6A48;
    transform: scale(0.98);
  }

  .mobile-filter-badge {
    background: #D6A86B;
    color: #171717;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 999px;
    line-height: 1.2;
  }

  .mobile-filter-chevron {
    font-size: 0.85rem;
    font-weight: 700;
    color: #D6A86B;
  }

  .mobile-quick-pills-scroll {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-quick-pills-scroll::-webkit-scrollbar {
    display: none;
  }

  .mobile-quick-pill {
    font-size: 0.76rem;
    padding: 6px 13px;
    border-radius: 999px;
    background: #F5F2EB;
    border: 1px solid #E5DFD5;
    color: #4A443E;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }

  .mobile-quick-pill:active {
    transform: scale(0.96);
  }

  .mobile-quick-pill.active {
    background: #8C6A48;
    color: #FFFFFF;
    border-color: #8C6A48;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(140, 106, 72, 0.25);
  }

  /* --------------------------------------------------------------------------
     2. Mobile Category Listing Drawer Backdrop & Slide-up Container
     -------------------------------------------------------------------------- */
  .mobile-drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-drawer-backdrop.is-active {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-category-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 88vh;
    height: 84vh;
    background: #FFFFFF;
    border-radius: 24px 24px 0 0;
    z-index: 9999;
    transform: translateY(105%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
  }

  .mobile-category-drawer.is-open {
    transform: translateY(0);
  }

  .mobile-drawer-handle-bar {
    padding: 10px 0 4px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FFFFFF;
    cursor: grab;
    flex-shrink: 0;
  }

  .mobile-drawer-drag-pill {
    width: 44px;
    height: 4px;
    background: #D8D2C6;
    border-radius: 999px;
  }

  .mobile-drawer-header {
    padding: 4px 18px 12px 18px;
    border-bottom: 1px solid #ECE7DE;
    background: #FFFFFF;
    flex-shrink: 0;
  }

  .mobile-drawer-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .mobile-drawer-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0;
    line-height: 1.25;
  }

  .mobile-drawer-subtitle {
    font-size: 0.74rem;
    color: #7E756B;
    margin: 2px 0 0 0;
  }

  .mobile-drawer-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F4F1EA;
    border: 1px solid #E5DFD5;
    font-size: 1.3rem;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s ease;
    flex-shrink: 0;
  }

  .mobile-drawer-close-btn:active {
    background: #1A1A1A;
    color: #FFFFFF;
    border-color: #1A1A1A;
  }

  .mobile-drawer-dept-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-top: 10px;
    scrollbar-width: none;
  }

  .mobile-drawer-dept-tabs::-webkit-scrollbar {
    display: none;
  }

  .mobile-dept-tab-btn {
    flex: 1;
    min-width: 68px;
    text-align: center;
    padding: 8px 10px;
    border-radius: 10px;
    background: #F4F1EA;
    border: 1px solid #E5DFD5;
    font-size: 0.78rem;
    font-weight: 600;
    color: #4A443E;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
  }

  .mobile-dept-tab-btn.active {
    background: #1A1A1A;
    color: #FAF8F5;
    border-color: #1A1A1A;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  }

  /* --------------------------------------------------------------------------
     3. Active Filter Feedback Bar inside Drawer
     -------------------------------------------------------------------------- */
  .mobile-drawer-active-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 18px;
    background: #FAF8F3;
    border-bottom: 1px solid #ECE7DE;
    font-size: 0.76rem;
    color: #4A443E;
    flex-shrink: 0;
  }

  .mobile-drawer-active-text strong {
    color: #8C6A48;
  }

  .mobile-drawer-clear-filter-btn {
    background: none;
    border: none;
    color: #8C6A48;
    font-weight: 700;
    font-size: 0.76rem;
    cursor: pointer;
    padding: 2px 6px;
  }

  /* --------------------------------------------------------------------------
     4. Mobile Drawer Body: Structured Tree Listing
     -------------------------------------------------------------------------- */
  .mobile-drawer-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 14px 18px 24px 18px;
    background: #FAF9F6;
  }

  /* All Department Garments Card */
  .mobile-all-dept-card {
    background: #FFFFFF;
    border: 1px solid #ECE7DE;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .mobile-all-dept-card.active {
    border-color: #8C6A48;
    background: #FDFBFA;
    box-shadow: 0 2px 10px rgba(140, 106, 72, 0.1);
  }

  .mobile-all-dept-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .mobile-all-dept-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1A1A1A;
  }

  .mobile-all-dept-sub {
    font-size: 0.72rem;
    color: #7E756B;
  }

  .mobile-all-dept-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid #D1C9BC;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 800;
    transition: all 0.2s ease;
  }

  .mobile-all-dept-card.active .mobile-all-dept-indicator {
    border-color: #8C6A48;
    background: #8C6A48;
  }

  /* Macro Accordion Cards */
  .mobile-macro-card {
    background: #FFFFFF;
    border: 1px solid #ECE7DE;
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
  }

  .mobile-macro-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    cursor: pointer;
    background: #FFFFFF;
    user-select: none;
  }

  .mobile-macro-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-macro-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #F4F1EA;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8C6A48;
    flex-shrink: 0;
  }

  .mobile-macro-icon svg {
    width: 15px;
    height: 15px;
  }

  .mobile-macro-name {
    font-weight: 700;
    font-size: 0.84rem;
    letter-spacing: 0.04em;
    color: #1A1A1A;
    text-transform: uppercase;
  }

  .mobile-macro-badge {
    font-size: 0.68rem;
    color: #7E756B;
    background: #F2EFEA;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 600;
  }

  .mobile-macro-chevron {
    font-size: 0.95rem;
    color: #888;
    transition: transform 0.25s ease;
  }

  .mobile-macro-card.is-collapsed .mobile-macro-chevron {
    transform: rotate(-90deg);
  }

  .mobile-macro-card.is-collapsed .mobile-macro-content {
    display: none;
  }

  .mobile-macro-content {
    padding: 0 16px 14px 16px;
    border-top: 1px solid #F5F2EC;
  }

  .mobile-macro-all-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px dashed #EDE8E0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #8C6A48;
    cursor: pointer;
  }

  .mobile-cat-row {
    padding: 11px 0;
    border-bottom: 1px solid #F4F1EB;
  }

  .mobile-cat-row:last-child {
    border-bottom: none;
  }

  .mobile-cat-top-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .mobile-cat-info {
    cursor: pointer;
    flex: 1;
  }

  .mobile-cat-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #26211A;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .mobile-cat-row.active .mobile-cat-name {
    color: #8C6A48;
    font-weight: 700;
  }

  .mobile-cat-subtext {
    font-size: 0.71rem;
    color: #8A8177;
    margin-top: 1px;
    line-height: 1.3;
  }

  .mobile-cat-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
  }

  .mobile-cat-select-btn {
    font-size: 0.72rem;
    padding: 4px 9px;
    border-radius: 12px;
    border: 1px solid #DDD6CA;
    background: #FAF8F5;
    color: #4A443E;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
  }

  .mobile-cat-select-btn.active {
    background: #8C6A48;
    color: #FFFFFF;
    border-color: #8C6A48;
    font-weight: 600;
  }

  .mobile-cuts-toggle-btn {
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid #EAE5DC;
    background: #F4F1EA;
    color: #6E665E;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 3px;
    transition: all 0.2s ease;
  }

  .mobile-cuts-toggle-btn.is-expanded {
    background: #1A1A1A;
    color: #FAF8F5;
    border-color: #1A1A1A;
  }

  /* Cuts Container under Category */
  .mobile-cuts-container {
    padding: 8px 0 2px 10px;
    border-left: 2px solid #E6E0D5;
    margin-top: 7px;
  }

  .mobile-cuts-pill-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .mobile-cut-chip {
    font-size: 0.74rem;
    padding: 6px 12px;
    border-radius: 999px;
    background: #F4F1EA;
    border: 1px solid #E0DAD0;
    color: #4A443E;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  .mobile-cut-chip:active {
    transform: scale(0.96);
  }

  .mobile-cut-chip.active {
    background: #1A1A1A;
    color: #D6A86B;
    border-color: #1A1A1A;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  .mobile-cut-chip .cut-sub {
    font-size: 0.67rem;
    opacity: 0.8;
  }

  /* Featured Collections inside Drawer */
  .mobile-featured-section {
    margin-top: 10px;
    margin-bottom: 8px;
  }

  .mobile-featured-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #7E756B;
    margin-bottom: 8px;
  }

  .mobile-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .mobile-featured-card {
    background: #FFFFFF;
    border: 1px solid #ECE7DE;
    border-radius: 12px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
  }

  .mobile-featured-card:active {
    border-color: #D6A86B;
    transform: scale(0.98);
  }

  .mobile-featured-card img {
    width: 100%;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 6px;
  }

  .mobile-featured-card-title {
    font-size: 0.76rem;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.25;
  }

  .mobile-featured-card-sub {
    font-size: 0.68rem;
    color: #7E756B;
  }

  /* --------------------------------------------------------------------------
     5. Mobile Drawer Sticky Action Footer
     -------------------------------------------------------------------------- */
  .mobile-drawer-footer {
    padding: 12px 18px;
    background: #FFFFFF;
    border-top: 1px solid #ECE7DE;
    display: flex;
    gap: 10px;
    align-items: center;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
  }

  .mobile-drawer-reset-btn {
    padding: 12px 18px;
    background: #F4F1EA;
    border: 1px solid #E0DAD0;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    flex-shrink: 0;
  }

  .mobile-drawer-reset-btn:active {
    background: #E5DFD5;
  }

  .mobile-drawer-apply-btn {
    flex: 1;
    padding: 13px 20px;
    background: #1A1A1A;
    border: 1px solid #1A1A1A;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #FAF8F5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  }

  .mobile-drawer-apply-btn:active {
    background: #8C6A48;
    border-color: #8C6A48;
  }
}

