/* ===================================================================
   UNIFIED BUTTON SYSTEM
   Primary:   solid #6147bd fill · shine sweep on hover · pulse glow
   Secondary: transparent · white border · same shine · border lifts
   Applies site-wide via !important; each page keeps its own sizing.
   =================================================================== */

@keyframes uxpBtnGlow {
  0%, 100% { box-shadow: 0 4px 18px rgba(97,71,189,0.20); }
  50%       { box-shadow: 0 8px 28px rgba(97,71,189,0.42); }
}

/* ── Shared structural base ── */
.btn-primary, .btn.btn-primary,
.btn-secondary, .btn.btn-secondary,
.btn-ghost, .btn.btn-ghost,
.btn-outline, .btn.btn-outline,
.uxp-card-btn-primary, .uxp-card-btn-secondary,
.mp-btn-buy, .mp-btn-cart,
.bundle-btn.primary,
.figma-cta-btn,
.oc-btn-primary, .oc-btn-ghost, .oc-btn-outline,
.header-signin-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  position: relative !important;
  overflow: hidden !important;
  transition: background 0.25s ease, box-shadow 0.25s ease,
              transform 0.18s ease, border-color 0.25s ease !important;
}

/* ── Shine sweep via ::before (keeps ::after free for loading spinners) ── */
.btn-primary::before, .btn.btn-primary::before,
.btn-secondary::before, .btn.btn-secondary::before,
.btn-ghost::before, .btn.btn-ghost::before,
.btn-outline::before,
.uxp-card-btn-primary::before, .uxp-card-btn-secondary::before,
.mp-btn-buy::before, .mp-btn-cart::before,
.bundle-btn.primary::before,
.figma-cta-btn::before,
.oc-btn-primary::before, .oc-btn-ghost::before, .oc-btn-outline::before,
.header-signin-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -115%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.btn-primary:hover:not(:disabled)::before, .btn.btn-primary:hover:not(:disabled)::before,
.btn-secondary:hover:not(:disabled)::before, .btn.btn-secondary:hover:not(:disabled)::before,
.btn-ghost:hover:not(:disabled)::before, .btn.btn-ghost:hover:not(:disabled)::before,
.btn-outline:hover:not(:disabled)::before,
.uxp-card-btn-primary:hover:not(:disabled)::before,
.uxp-card-btn-secondary:hover:not(:disabled)::before,
.mp-btn-buy:hover:not(:disabled)::before, .mp-btn-cart:hover:not(:disabled)::before,
.bundle-btn.primary:hover:not(:disabled)::before,
.figma-cta-btn:hover:not(:disabled)::before,
.oc-btn-primary:hover:not(:disabled)::before,
.oc-btn-ghost:hover:not(:disabled)::before,
.oc-btn-outline:hover:not(:disabled)::before,
.header-signin-cta:hover::before {
  left: 130%;
}

/* ── PRIMARY — purple fill ── */
.btn-primary, .btn.btn-primary,
.uxp-card-btn-primary,
.mp-btn-buy,
.bundle-btn.primary,
.figma-cta-btn.figma-btn-primary,
.oc-btn-primary,
.header-signin-cta {
  background: #6147bd !important;
  border: none !important;
  color: #ffffff !important;
  animation: uxpBtnGlow 2.8s ease-in-out infinite !important;
}

.btn-primary:hover:not(:disabled), .btn.btn-primary:hover:not(:disabled),
.uxp-card-btn-primary:hover:not(:disabled),
.mp-btn-buy:hover:not(:disabled),
.bundle-btn.primary:hover:not(:disabled),
.figma-cta-btn.figma-btn-primary:hover:not(:disabled),
.oc-btn-primary:hover:not(:disabled),
.header-signin-cta:hover {
  background: #5136a8 !important;
  box-shadow: 0 8px 28px rgba(97,71,189,0.50) !important;
  transform: translateY(-2px) !important;
  animation: none !important;
}

.btn-primary:active:not(:disabled), .btn.btn-primary:active:not(:disabled),
.uxp-card-btn-primary:active:not(:disabled),
.mp-btn-buy:active:not(:disabled),
.bundle-btn.primary:active:not(:disabled),
.oc-btn-primary:active:not(:disabled),
.header-signin-cta:active {
  transform: translateY(0) !important;
  box-shadow: 0 3px 10px rgba(97,71,189,0.30) !important;
}

.btn-primary:focus-visible, .btn.btn-primary:focus-visible,
.uxp-card-btn-primary:focus-visible,
.mp-btn-buy:focus-visible,
.header-signin-cta:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(97,71,189,0.35), 0 6px 20px rgba(97,71,189,0.40) !important;
}

.btn-primary:disabled, .btn.btn-primary:disabled,
.uxp-card-btn-primary:disabled,
.mp-btn-buy:disabled {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
  animation: none !important;
  transform: none !important;
}

/* ── SECONDARY / GHOST / OUTLINE — transparent with border ── */
.btn-secondary, .btn.btn-secondary,
.btn-ghost, .btn.btn-ghost,
.btn-outline, .btn.btn-outline,
.uxp-card-btn-secondary,
.mp-btn-cart,
.figma-cta-btn.figma-btn-outline,
.oc-btn-ghost,
.oc-btn-outline {
  background: transparent !important;
  border: 1.5px solid rgba(255,255,255,0.18) !important;
  color: #ffffff !important;
  animation: none !important;
}

.btn-secondary:hover:not(:disabled), .btn.btn-secondary:hover:not(:disabled),
.btn-ghost:hover:not(:disabled), .btn.btn-ghost:hover:not(:disabled),
.btn-outline:hover:not(:disabled),
.uxp-card-btn-secondary:hover:not(:disabled),
.mp-btn-cart:hover:not(:disabled),
.figma-cta-btn.figma-btn-outline:hover:not(:disabled),
.oc-btn-ghost:hover:not(:disabled),
.oc-btn-outline:hover:not(:disabled) {
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(255,255,255,0.38) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.22) !important;
}

.btn-secondary:active:not(:disabled), .btn.btn-secondary:active:not(:disabled),
.btn-ghost:active:not(:disabled), .btn.btn-ghost:active:not(:disabled),
.btn-outline:active:not(:disabled),
.uxp-card-btn-secondary:active:not(:disabled),
.mp-btn-cart:active:not(:disabled) {
  transform: translateY(0) !important;
}

.btn-secondary:disabled, .btn.btn-secondary:disabled,
.btn-ghost:disabled, .btn.btn-ghost:disabled,
.uxp-card-btn-secondary:disabled,
.mp-btn-cart:disabled {
  opacity: 0.50 !important;
  cursor: not-allowed !important;
}

/* Server-rendered hidden state — 2-class specificity (0,2,0) beats unified base (0,1,0) */
.header-signin-cta.uxp-sr-hide {
  display: none !important;
}

/* ===================================================================
   UX PACIFIC SHOP - MAIN STYLESHEET
   ===================================================================
   This stylesheet contains all styles for the e-commerce platform.
   Sections are organized by page/component with clear comments.
   =================================================================== */

/* ==================== SECTION 1: CSS VARIABLES & RESET ====================
   Purpose: Global design tokens and base reset styles
   Used by: All pages
   =================================================================== */

/* CSS Custom Properties (Design Tokens) */
:root {
  --bg-main: #01010d;
  --card-bg: #050519;
  --card-bg-soft: #07071d;
  --accent: #6f4bff;
  --accent-soft: #9b8cff;
  --accent-dark: #251f33;
  --border-soft: rgba(255, 255, 255, 0.15);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --text-muted: rgba(255, 255, 255, 0.75);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  /* background-color: #01010d; */
  background-color: #000;
  color: #ffffff;
  line-height: 1.4;
}

img {
  max-width: 100%;
  display: block;
}

/* Prevent iOS Safari from zooming on input focus (requires font-size >= 16px) */
input, textarea, select {
  font-size: 16px;
}

/* Override for desktop where smaller text is fine */
@media (min-width: 769px) {
  input, textarea, select {
    font-size: inherit;
  }
}

/* Screen reader only - for accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Skip to content link - visible when focused */
.sr-only:focus {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: auto;
  height: auto;
  padding: 1rem;
  margin: 0;
  background: var(--accent);
  color: white;
  text-decoration: none;
  clip: auto;
  overflow: visible;
}

.page {
  /* min-height: 100vh; */
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1;
}

/* ==================== SECTION 2: NAVIGATION BAR ====================
   Purpose: Site header and navigation bar
   Used by: All pages
   Features: Logo, desktop menu, mobile menu, cart icon, user menu, responsive toggle
   =================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 16px 0;
  background: linear-gradient(to bottom, rgba(1, 1, 13, 0.98) 0%, rgba(1, 1, 13, 0.9) 50%, rgba(1, 1, 13, 0) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: backdrop-filter 0.3s ease, background 0.3s ease;
}

.nav-bar {
  height: 80px;
  max-width: 1240px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-logo img {
  height: 50px;
}

/* Desktop links */
.nav-links {
  list-style: none;
  display: none;
  /* mobile first: hidden */
  gap: 28px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links a {
  white-space: nowrap;
}

.nav-links li {
  display: inline-block;
}

.nav-link {
  display: inline-block;
  padding: 8px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-link.active {
  background-color: var(--accent-dark);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

/* Contact button desktop */
.nav-cta {
  display: inline-flex;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background-color: var(--accent);
  color: #ffffff;
  white-space: nowrap;
  transition: background-color 0.2s ease;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  width: 114px;
}

.nav-cta:hover {
  background-color: #7c59ff;
}

.nav-cta-icon {
  display: none;
  width: 20px;
  height: 20px;
}

.nav-cta-text {
  display: inline;
}

/* Mobile hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background-color: #ffffff;
}

/* Mobile menu dropdown */
.nav-mobile-menu {
  max-width: 1200px;
  margin: 12px auto 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 16px 24px;
  display: none;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.nav-mobile-menu.open {
  display: flex;
}

.nav-mobile-link {
  padding: 8px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-mobile-link:last-child {
  border-bottom: none;
  width: 200px;
  /* background: #000; */
  display: flex;
}

.nav-mobile-cta {
  margin-top: 8px;
  text-align: center;
  border-radius: 999px;
  background-color: var(--accent);
  padding: 10px 0;
  font-weight: 600;
}

/* Desktop breakpoint for nav */
@media (min-width: 768px) {
  .site-header {
    padding: 32px 32px 0;
  }

  .nav-bar {
    padding-inline: 40px;
  }

  .nav-bar:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.25);
  }

  /* nav-links display handled by 901px+ media query for hamburger menu */
  
  .nav-search {
    display: block;
    /* Show search on desktop */
  }

  .nav-cta {
    display: inline-flex;
  }

  .nav-actions {
    gap: 16px;
  }

  .nav-user {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-mobile-menu {
    display: none !important;
  }
}

/* ==================== SECTION 4: HERO SECTION ====================
   Purpose: Hero/banner section on homepage
   Used by: index.html
   Features: Animated card deck, hero text, CTA buttons
   =================================================================== */

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 16px 72px;
  display: flex;
  flex-direction: column;
  /* mobile: stack */
  gap: 32px;
}

.hero-left,
.hero-right {
  flex: 1;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.1;
}

.hero-title-secondary {
  display: block;
  margin-top: 8px;
  font-style: italic;
  font-weight: 300;
}

.hero-text {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 460px;
}

/* ==================== SECTION 2.1: BUTTON STYLES ====================
   Purpose: Reusable button components
   Used by: All pages
   Features: Primary, ghost, outline button variants, hover effects, responsive sizing
   =================================================================== */

/* Primary button - Purple filled button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 999px;
  background-color: var(--accent);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background-color: #7c59ff;
  transform: translateY(-1px);
}

.btn-primary:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary:active {
  transform: translateY(0);
}

/* Ghost button - Transparent with border */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background-color: transparent;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: var(--border-soft);
}

.btn-ghost:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Outline button - Border with hover fill effect */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background-color: transparent;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  background-color: #ffffff;
  color: #000000;
}

/* Small button variant for product cards */
.btn-primary.small,
.btn-ghost.small {
  padding: 8px 16px;
  margin-top: 16px;
  font-size: 14.5px;
  width: auto;
  min-width: 100px;
  /* flex: 1 1 auto; */
}

.hero-note {
  margin-top: 10px;
  padding: 16px 24px;
  max-width: 458px;
  border: 1px solid var(--border-soft);
  background-color: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  font-style: italic;
  font-size: 14px;
}

/* HERO IMAGES – mobile first (stacked) */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: auto;
}

/* big image */
.hero-main-img {
  width: 100%;
  height: 260px;
  overflow: hidden;
}

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

/* right column images – on mobile side-by-side */
.hero-side-imgs {
  display: flex;
  flex-direction: row;
  gap: 12px;
  width: 100%;
}

.hero-side-img {
  flex: 1;
  height: 160px;
  overflow: hidden;
}

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

/* Hero tablet layout */
@media (min-width: 640px) {
  .hero {
    padding-inline: 24px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-main-img {
    height: 320px;
  }

  .hero-side-img {
    height: 170px;
  }
}

/* Hero desktop layout – match Figma proportions */
@media (min-width: 1024px) {
  .hero {
    flex-direction: row;
    align-items: flex-end;
    gap: 80px;
    padding-inline: 0;
  }

  .hero-title {
    font-size: 60px;
  }

  .hero-right {
    flex-direction: row;
    gap: 16px;
    height: 460px;
    /* total height like Figma */
  }

  .hero-main-img {
    flex: 1;
    height: 100%;
  }

  .hero-side-imgs {
    flex-direction: column;
    width: 278px;
    /* ~278px from Figma */
  }

  .hero-side-img:first-child {
    height: 140px;
    /* 278x140 like Figma */
    margin-bottom: 16px;
  }

  .hero-side-img:last-child {
    flex: 1;
    /* fills remaining height */
    height: auto;
  }
}

/* ==================== SECTION 3: OUR STORY SECTION ====================
   Purpose: About Us/Story section with card layout
   Used by: index.html
   Features: Centered card, story text, section title styling
   =================================================================== */

.section-title {
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 40px;
}

.title-accent {
  font-style: italic;
  font-weight: 300;
}

.section-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.56);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 640px;
  margin: -20px auto 40px;
}

.story {
  padding: 0 16px 64px;
}

.story-card {
  max-width: 1200px;
  margin: 36px auto;
  border: 1px solid var(--border-soft);
  background-color: var(--card-bg);
  padding: 32px 20px 40px;
  text-align: center;
  border-radius: 24px;
}

@media (min-width: 768px) {
  .story-card {
    padding: 40px 32px 48px;
  }
}

.story-text {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==================== SECTION 4: HOW IT WORKS SECTION ====================
   Purpose: Three-step process explanation cards
   Used by: index.html
   Features: Three-column grid, icon cards, responsive layout
   =================================================================== */

.how-it-works {
  padding: 0 16px 72px;
  max-width: 1200px;
  margin: 0 auto;
}

.how-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.how-card {
  flex: 1;
  border-radius: 24px;
  border: 1px solid var(--border-subtle);
  background-color: var(--card-bg-soft);
  padding: 24px 22px;
  text-align: left;
}

.how-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  text-align: center;
}

.how-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}

.how-icon {
  width: 50px;
  height: 45px;
  border-radius: 12px;
  background-color: #191934;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  /* centered on all screens */
  font-size: 20px;
}

/* grid on larger screens */
@media (min-width: 768px) {
  .how-cards {
    flex-direction: row;
    margin-top: 25px;
  }
}

/* ==================== SECTION 5: SHOP BY CATEGORY SECTION ====================
   Purpose: Category cards with images and action buttons
   Used by: index.html (currently commented out in HTML)
   Features: Category grid, image cards, pill badges, action buttons
   =================================================================== */

:root {
  --uxp-line: rgba(141, 92, 255, 0.42);
  --uxp-line-strong: rgba(141, 92, 255, 0.78);
}

.uxp-category-section {
  padding: 70px 0 84px;
  background: #05050b;
  font-family: Inter, system-ui, sans-serif;
}

.uxp-container {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
}

.uxp-category-heading {
  margin-bottom: 58px;
  text-align: center;
}

.uxp-category-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
}

.uxp-category-heading p {
  max-width: 700px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 1rem;
  line-height: 1.5;
}

.uxp-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.uxp-category-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 11px 11px 14px;
  overflow: hidden;
  border: 1px solid var(--uxp-line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(9, 10, 22, 0.98), rgba(6, 7, 17, 0.98));
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.uxp-category-card:hover {
  transform: translateY(-5px);
  border-color: var(--uxp-line-strong);
  background: linear-gradient(180deg, rgba(141, 92, 255, 0.14), rgba(255, 255, 255, 0.04));
}

.uxp-category-art {
  position: relative;
  aspect-ratio: 1.45 / 1;
  overflow: hidden;
  border-radius: 14px;
  background: transparent;
}

.uxp-category-art::before,
.uxp-category-art::after {
  display: none;
}

.uxp-category-art::before {
  display: none;
}

.uxp-category-art::after {
  display: none;
}

.uxp-category-bubble {
  display: none;
}

.uxp-category-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background: transparent;
  color: #ffffff;
}

.uxp-category-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.uxp-category-icon img.is-loaded { opacity: 1; }

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

.uxp-category-pink .uxp-category-art {
  background: transparent;
}

.uxp-category-purple .uxp-category-art {
  background: transparent;
}

.uxp-category-orange .uxp-category-art {
  background: transparent;
}

.uxp-category-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 1px 0;
}

.uxp-category-body h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 1.18rem;
  line-height: 1.18;
  font-weight: 500;
}

.uxp-category-body span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
}

.uxp-category-body p {
  margin: 12px 0 16px;
  color: rgba(255, 255, 255, 0.47);
  font-size: 0.77rem;
  line-height: 1.55;
}

.uxp-category-body strong {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  min-height: 30px;
  padding: 0 18px;
  border: 1px solid rgba(141, 92, 255, 0.76);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.015);
  font-size: 0.8rem;
  font-weight: 500;
}

.uxp-category-body strong svg {
  width: 17px;
  height: 17px;
  transition: transform 180ms ease;
}

.uxp-category-card:hover .uxp-category-body strong svg {
  transform: translateX(4px);
}

.uxp-category-pills {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.uxp-category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.uxp-category-pill:hover {
  transform: translateY(-1px);
  color: #fff;
  border-color: rgba(124, 92, 255, 0.45);
  background: rgba(124, 92, 255, 0.12);
}

.uxp-category-pill.is-active {
  background: rgba(124, 92, 255, 0.95);
  border-color: rgba(124, 92, 255, 0.95);
  color: #fff;
  box-shadow: 0 10px 24px rgba(124, 92, 255, 0.25);
}

.uxp-category-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1100px) {
  .uxp-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .uxp-category-section {
    padding: 52px 0 62px;
  }

  .uxp-category-heading {
    margin-bottom: 32px;
  }

  .uxp-category-grid {
    grid-template-columns: 1fr;
  }

  .uxp-category-pills {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .uxp-category-pills::-webkit-scrollbar {
    display: none;
  }

  .uxp-category-pill {
    flex-shrink: 0;
  }
}

/* ==================== SECTION 5: PRODUCT GRID ====================
   Purpose: Product listing and grid display
   Used by: index.html (top products), shopAll.html (all products)
   Features: Product cards, filters, ratings, prices, action buttons
   =================================================================== */
:root {
  --uxp-purple: #7e54eb;
  --uxp-blue: #5b6dff;
  --uxp-line: rgba(141, 92, 255, 0.42);
  --uxp-line-strong: rgba(141, 92, 255, 0.78);
}

.uxp-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.uxp-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 11px 11px 14px;
  border: 1px solid var(--uxp-line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(9, 10, 22, 0.98), rgba(6, 7, 17, 0.98));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.uxp-product-card:hover {
  transform: translateY(-5px);
  border-color: var(--uxp-line-strong);
  background: linear-gradient(180deg, rgba(141, 92, 255, 0.14), rgba(255, 255, 255, 0.04));
}

.uxp-product-media {
  position: relative;
  display: block;
  aspect-ratio: 1.45 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.uxp-product-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 260ms ease;
}

.uxp-product-card:hover .uxp-product-media img {
  transform: scale(1.045);
}


.uxp-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px 1px 0;
}

.uxp-product-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.uxp-product-body h3 {
  min-width: 0;
  margin: 0;
  color: #ffffff;
  font-size: 1.18rem;
  line-height: 1.18;
  font-weight: 500;
}

.uxp-rating {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 5px;
  color: #ff9f2d;
  font-size: 1.12rem;
  line-height: 1;
}

.uxp-rating b {
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 500;
}

.uxp-product-body p {
  margin: 0 0 9px;
  color: rgba(255, 255, 255, 0.47);
  font-size: 0.77rem;
  line-height: 1.55;
}

.uxp-product-spec {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.66) !important;
  font-size: 0.72rem !important;
}

.uxp-product-meta {
  margin-top: auto;
  padding-top: 2px;
}

.uxp-product-price {
  color: #ffffff;
  font-size: 1.06rem;
  font-weight: 800;
}

.uxp-old-price {
  margin-left: 3px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.66rem;
  font-weight: 400;
  text-decoration: line-through;
}

.uxp-product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 14px;
}

.uxp-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.uxp-card-btn:hover {
  transform: translateY(-2px);
  border-color: var(--uxp-line-strong);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.22);
}

.uxp-card-btn-primary {
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, var(--uxp-purple), var(--uxp-blue));
  color: #ffffff;
}

.uxp-card-btn-secondary {
  border-color: var(--uxp-line);
  background: rgba(255, 255, 255, 0.06);
  color: #eef2ff;
}

@media (max-width: 1100px) {
  .uxp-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .uxp-product-grid {
    grid-template-columns: 1fr;
  }

  .uxp-product-actions {
    grid-template-columns: 1fr;
  }
}

/* ==================== SECTION 6: CTA (CALL TO ACTION) SECTION ====================
   Purpose: Call-to-action sections with gradient backgrounds
   Used by: index.html, shopAll.html, contact.html
   Features: Gradient cards, centered text, action buttons
   =================================================================== */

.cta-section {
  padding: 0 16px 80px;
}

.cta-card {
  max-width: 1200px;
  margin: 64px auto;
  border-radius: 28px;
  border: 1px solid var(--border-soft);
  background: radial-gradient(circle at top left,
      #5f3dff,
      #22104b 40%,
      #0a081a);
  padding: 40px 24px 32px;
  text-align: center;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn-shop {
  width: 200px;
}

/* ==================== SECTION 7: FOOTER ====================
   Purpose: Site footer with brand info, social links, contact
   Used by: All pages
   Features: Brand logo, social media icons, contact info, policy links
   =================================================================== */

.site-footer {
  margin-top: auto;
  color: #ffffff;
  background: linear-gradient(120deg, #59168b, #1c398e, #59168b);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 16px 24px;
}

/* main container width like 1440 layout */
.footer-main,
.footer-bottom {
  width: 100%;
  max-width: 1100px;
}

/* ===== TOP SECTION ===== */
.footer-main {
  display: flex;
  justify-content: center;
}

.footer-top {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* ⬅ This ensures proper centering */
  justify-content: center;
  width: 100%;
}

.footer-brand img {
  display: block;
  height: 48px;
  /* Slightly bigger like Figma */
  margin: 0 auto 12px;
  /* ⬅ True centering */
}

.footer-brand p {
  margin: 0;
  font-size: 14px;
  max-width: 620px;
  line-height: 1.7;
  color: rgba(243, 246, 255, 0.9);
  margin-bottom: 15px;
}

/* Social icons row */
.footer-socials {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 28px;
}

/* reset default link styles */
.footer-socials a {
  text-decoration: none;
}

/* the rounded glass boxes */
/* .footer-socials a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
} */

/* icon inside */
.footer-socials a img {
  width: 46px;
  height: 46px;
  display: block;
}

/* hover effect (same tilt you liked) */
/* .footer-socials a:hover {
  transform: rotateZ(-10deg) scale(1.06);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
} */

/* Contact line */
.footer-contact {
  display: flex;
  flex-direction: column;
  /* mobile: stacked */
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(233, 237, 255, 0.95);
  margin-top: 10px;
}

.footer-contact p {
  margin: 0;
  white-space: nowrap;
}

/* ===== BOTTOM SECTION ===== */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 24px;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  /* mobile: stacked */
  gap: 10px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(230, 235, 255, 0.95);
}

.footer-bottom p {
  margin: 0;
}

/* Links row */
.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 12px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Dot between links */
.footer-links span {
  display: inline-block;
  font-size: 13px;
  transform: translateY(-1px);
}

.footer-socials img:hover {
  transform: rotateZ(-12deg) scale(1.06);
  filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.18));
}

/* ===== TABLET & DESKTOP ===== */
@media (min-width: 768px) {
  .site-footer {
    padding: 50px 24px 28px;
  }

  .footer-contact {
    flex-direction: row;
    /* row on tablet+ */
    gap: 28px;
    margin-top: 16px;
    margin-bottom: 40px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    margin-top: 32px;
  }

  .footer-bottom p {
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .site-footer {
    padding: 60px 32px 32px;
    /* min-height: 474px; */
    /* match Figma height on desktop */
  }

  .footer-top {
    gap: 28px;
  }
}

/* ==================== SECTION 8: CONTACT PAGE ====================
   Purpose: Contact form and image layout
   Used by: contact.html
   Features: Two-column layout (image + form), form fields, submit button
   =================================================================== */

.contact-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 16px 80px;
}

.contact-title {
  font-size: 40px;
}

.contact-subtitle {
  max-width: 640px;
}

/* GRID: image + form */
.contact-grid {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* LEFT IMAGE CARD */
.contact-image {
  flex: 1;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RIGHT FORM – sits directly on page background */
.contact-form {
  flex: 1.15;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 4px 0;
  /* just a little spacing */
  background: transparent;
  border: none;
}

/* two-column rows (desktop) */
.contact-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* labels + fields */
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-field label {
  font-size: 16px;
  color: var(--text-muted);
}

.contact-field input,
.contact-field textarea {
  height: 64px;
  width: 100%;
  background: linear-gradient(#121212, #121212) padding-box,
    linear-gradient(to right, #ffffff 0%, #2e2e3e 100%) border-box;
  border: 2px solid transparent;
  border-radius: 6px;
  color: #eee;
  padding: 16px 20px;
  font-size: 1.1rem;
  outline: none;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--accent);
}

/* make message big like screenshot */
.contact-field textarea {
  min-height: 180px;
  resize: vertical;
}

/* checkbox row */
.contact-footer {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.contact-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--text-muted);
}

.contact-checkbox input {
  width: 14px;
  height: 14px;
  accent-color: var(--accent);
}

.contact-link {
  color: var(--accent-soft);
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

/* submit button – centered under form */
.contact-submit {
  margin-top: 24px;
  align-self: center;
  padding: 12px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
  width: 150px;
  height: 40px;
}

.contact-submit:hover {
  background-color: #7c59ff;
  transform: translateY(-1px);
}

.contact-submit:active {
  transform: translateY(0);
}

.contact-submit:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

/* tablet / desktop: two columns */
@media (min-width: 900px) {
  .contact-grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }

  .contact-row {
    flex-direction: row;
  }

  .contact-field {
    flex: 1;
  }
}

/* small screens tweaks */
@media (max-width: 480px) {
  .contact-title {
    font-size: 32px;
  }

  .contact-submit {
    width: 156px;
    justify-content: center;
  }

  .contact-form {
    gap: 16px;
  }
}

/* ==================== SECTION 9: ANIMATED HERO SECTION ====================
   Purpose: Scroll-animated hero with glass panel and card deck
   Used by: index.html
   Features: Scroll-triggered card animations, glass panel effect, sticky viewport
   =================================================================== */

/* Scroll container - Tall for smooth scroll duration */
.hero-scroll-container {
  position: relative;
  height: 300vh;
  background: #000;
  /* same as navbar */
}

/* Keeps hero centered while scrolling */
.sticky-viewport {
  position: sticky;
  top: 0;
  height: 85vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* GLASS PANEL THAT HOLDS TEXT + CARDS */
/* GLASS PANEL WITH SOFT GLOW EDGE */
/* HERO GLASS PANEL – refined to look cleaner & more premium */
.hero-glass-box {
  position: relative;
  width: min(1190px, 92vw);
  height: 80vh;
  max-height: 620px;

  padding: 64px 56px 96px;
  border-radius: 40px;

  /* softer, less harsh spotlight */
  background: radial-gradient(circle at top,
      rgba(255, 255, 255, 0.12),
      transparent 60%),
    linear-gradient(180deg, #050509 0%, #020205 100%);
  background-color: #050509;

  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.9), inset 0 0 48px rgba(0, 0, 0, 0.7);

  overflow: hidden;
}

/* soft top highlight instead of full “sheet” glow */
.hero-glass-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top,
      rgba(255, 255, 255, 0.14),
      transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

/* TEXT BLOCK */
.cards-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
  padding: 0 20px;
}

.cards-hero-title {
  font-size: 3.2rem;
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.cards-hero-title span {
  color: #ffffff;
  font-style: italic;
  font-weight: 300;
}

.cards-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.62);
  max-width: 540px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.hero-buttons .btn-primary {
  padding: 14px 36px;
}

/* -------------------------------------------------------------- */
/* CARDS – still controlled by your JS (top:100% + transform)     */
/* -------------------------------------------------------------- */

.hero-card {
  position: absolute;
  top: 100%;
  /* anchored near bottom area */
  left: 50%;

  width: 190px;
  height: 260px;
  border-radius: 26px;

  background-color: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  overflow: hidden;

  /* JS will override transform during scroll */
  transform: translate(-50%, -50%);
  will-change: transform;
  z-index: 5;
}

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

/* middle card stays above others */
.card-5 {
  z-index: 20;
}

@media (min-width: 1024px) {
  .cards-hero-title {
    font-size: 46px;
  }

  .hero-card {
    width: 220px;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .cards-hero-title {
    font-size: 28px;
  }

  .hero-card {
    width: 160px;
    height: 220px;
  }

  .cards-hero-subtitle {
    font-size: 16px;
  }
}

/* ==================== SECTION 10: SHOP IMAGE HOVER EFFECT ====================
   Purpose: Subtle hover animation for shop images
   Used by: index.html (currently commented out in HTML)
   Features: Slight rotation on hover
   =================================================================== */

.shop-image {
  width: 80px;
  display: flex;
  margin: 80px;
}

/* Rotate half degree on hover */
.shop-image:hover {
  transform: rotate(0.5deg);
  transition: transform 0.3s ease;
}

/* ======================================================
   ShopAll page — unified visual style + responsive rules
   Scoped to body.shopAll (no nesting, ready for browsers)
   ====================================================== */

/* ==================== SECTION 16: SHOP ALL PAGE ====================
   Purpose: Complete product listing page with filters
   Used by: shopAll.html
   Features: Sidebar filters, product grid, category filtering, responsive layout
   =================================================================== */

/* Shop All page variables removed to match index */

/* ---------- main container ---------- */
/* layout */
body.shopAll .shop-all-main {
  max-width: 1200px;
  margin: 40px auto 80px;
  padding: 0 16px;
}




/* ---------- header ---------- */
body.shopAll .shop-all-header {
  margin-bottom: 32px;
  text-align: center;
}

body.shopAll .shop-all-title {
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 10px;
}

body.shopAll .shop-all-title span {
  font-style: italic;
  font-weight: 300;
}

body.shopAll .shop-all-subtitle {
  max-width: 640px;
  margin: 10px auto 26px;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.56);
}

body.shopAll .shop-all-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
body.shopAll .shop-all-breadcrumb a {
  color: var(--accent, #7c3aed);
  text-decoration: none;
}
body.shopAll .shop-all-breadcrumb a:hover { text-decoration: underline; }

.shop-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.shop-empty-state svg { opacity: .35; }
.shop-empty-state p { font-size: 1rem; }

/* ---------- grid layout (sidebar + products) - MOBILE FIRST ---------- */
body.shopAll .shop-all-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Ensure aside (filter bar) doesn't cause layout issues */
/* Ensure aside (filter bar) doesn't cause layout issues */
body.shopAll .shop-all-layout>aside {
  width: 100%;
  display: flex;
}

/* ---------- filter bar: horizontal pill rail - STABLE AND CENTERED ---------- */
body.shopAll .shop-all-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 26px;
  background: rgba(12, 12, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  position: relative;
}

/* Desktop: Keep centered layout */
@media (min-width: 768px) {
  body.shopAll .shop-all-filters {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* pill buttons inside bar - PREMIUM AND STABLE */
body.shopAll .shop-all-filters .filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: auto;
  min-width: fit-content;
  padding: 10px 18px;
  border-radius: 999px;
  /* Shop All – pill buttons default: light on dark container */
  background: #f9fafb;
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: #020617;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s cubic-bezier(0.4, 0.2, 0.1, 1),
    transform 0.2s cubic-bezier(0.16, 0.9, 0.3, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 40px;
  letter-spacing: 0.01em;
  /* Prevent size changes */
  box-sizing: border-box;
  user-select: none;
}


/* hover and active states - NO SIZE CHANGES */
body.shopAll .shop-all-filters .filter-pill:hover:not(.active) {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
  background: #ffffff;
}

body.shopAll .shop-all-filters .filter-pill.active {
  /* Shop All – active pill: saturated purple with stable size */
  background: linear-gradient(90deg,
      rgba(124, 89, 255, 0.98),
      rgba(104, 88, 255, 0.96));
  border-color: rgba(167, 139, 250, 0.85);
  color: #ffffff;
  text-align: center;
  box-shadow:
    0 8px 24px rgba(124, 89, 255, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform: translateY(0);
  /* Ensure same size as inactive */
  padding: 10px 18px;
  min-height: 40px;
}

body.shopAll .shop-all-filters .filter-pill .pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  color: #0f172a;
  font-size: 0.82rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  transition: background 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

body.shopAll .shop-all-filters .filter-pill.active .pill-count {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Mobile: Real-world ecommerce filter bar (like Amazon/Shopify) */
@media (max-width: 767px) {
  body.shopAll .shop-all-layout {
    gap: 20px;
  }

  body.shopAll .shop-all-layout>aside {
    width: 100%;
    overflow: visible;
    margin-bottom: 0;
  }

  body.shopAll .shop-all-filters {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    padding: 14px 16px;
    gap: 12px;
    border-radius: 16px;
    background: rgba(18, 18, 23, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    box-shadow:
      0 4px 24px rgba(0, 0, 0, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 100%;
    margin: 0;
    /* Custom scrollbar - visible and styled */
    scrollbar-width: thin;
    scrollbar-color: rgba(111, 75, 255, 0.5) rgba(255, 255, 255, 0.05);
  }

  /* Visible scrollbar for filters on mobile */
  body.shopAll .shop-all-filters::-webkit-scrollbar {
    height: 6px;
    display: block;
  }

  body.shopAll .shop-all-filters::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin: 0 4px;
  }

  body.shopAll .shop-all-filters::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(111, 75, 255, 0.6), rgba(124, 89, 255, 0.5));
    border-radius: 10px;
    transition: background 0.2s ease;
  }

  body.shopAll .shop-all-filters::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, rgba(111, 75, 255, 0.8), rgba(124, 89, 255, 0.7));
  }

  /* Filter pills - optimized for mobile touch */
  body.shopAll .shop-all-filters .filter-pill {
    flex-shrink: 0;
    min-height: 44px;
    padding: 11px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.98);
    border: 1.5px solid rgba(148, 163, 184, 0.35);
    color: #1e293b;
    box-shadow:
      0 2px 8px rgba(0, 0, 0, 0.08),
      0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    touch-action: manipulation;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.01em;
    /* Better touch target */
    min-width: fit-content;
    scroll-snap-align: start;
    /* Ensure proper tap target size */
    min-width: max-content;
  }

  body.shopAll .shop-all-filters .filter-pill:hover:not(.active) {
    background: #ffffff;
    border-color: rgba(111, 75, 255, 0.4);
    transform: translateY(-1px);
    box-shadow:
      0 4px 12px rgba(0, 0, 0, 0.12),
      0 2px 4px rgba(0, 0, 0, 0.08);
  }

  body.shopAll .shop-all-filters .filter-pill:active {
    transform: scale(0.96);
  }

  body.shopAll .shop-all-filters .filter-pill.active {
    background: linear-gradient(135deg,
        rgba(124, 89, 255, 1),
        rgba(104, 88, 255, 0.98));
    border-color: rgba(167, 139, 250, 0.7);
    color: #ffffff;
    box-shadow:
      0 6px 20px rgba(124, 89, 255, 0.4),
      0 3px 10px rgba(0, 0, 0, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: translateY(0);
    font-weight: 600;
  }

  /* Add subtle fade gradients at edges to indicate scrollability */
  body.shopAll .shop-all-filters {
    position: relative;
  }

  /* Left fade (hidden initially, shows when scrolled) */
  body.shopAll .shop-all-filters::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(to right, rgba(18, 18, 23, 0.95), transparent);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  /* Right fade (visible when there's more content to scroll) */
  body.shopAll .shop-all-filters::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(to left, rgba(18, 18, 23, 0.95), transparent);
    pointer-events: none;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.3s ease;
  }

  /* Ensure filters container has proper spacing */
  body.shopAll .shop-all-layout {
    padding: 0;
  }
}

/* Shop All specific grid styles removed to inherit global product-grid styles */

/* ---------- FILTER ANIMATIONS: Smooth exit and entrance ---------- */
body.shopAll .product-card.is-exiting {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  pointer-events: none;
  /* Keep in layout during exit animation */
  visibility: visible;
}

body.shopAll .product-card.will-show {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  /* Keep in layout during entrance */
  visibility: visible;
}

body.shopAll .product-card[hidden],
body.shopAll .product-card.is-hidden {
  display: none !important;
  visibility: hidden;
  /* Remove from layout after animation */
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- CTA card below ---------- */
body.shopAll .cta-card {
  max-width: 1200px;
  margin: 64px auto;
  border-radius: 28px;
  padding: 40px 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  background: radial-gradient(circle at top left, #5f3dff, #22104b 40%, #0a081a);
}

/* ---------- Mobile-only polish (360px–640px) ---------- */
@media (max-width: 640px) and (min-width: 360px) {
  body.shopAll {
    overflow-x: hidden;
  }

  body.shopAll .shop-all-main {
    margin: 28px auto 64px;
    padding: 0 14px;
  }

  body.shopAll .shop-all-header {
    margin-bottom: 18px;
  }

  body.shopAll .shop-all-title {
    font-size: clamp(1.5rem, 4.6vw, 2.2rem);
    margin-bottom: 6px;
  }

  body.shopAll .shop-all-subtitle {
    margin: 0 auto 12px;
    font-size: 0.82rem;
  }

  body.shopAll .shop-all-layout>aside {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
    justify-content: center;
  }

  body.shopAll .shop-all-grid,
  body.shopAll .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body.shopAll .shop-all-grid .product-card,
  body.shopAll .product-grid .product-card {
    border-radius: 16px;
  }

  body.shopAll .shop-all-grid .product-img,
  body.shopAll .product-grid .product-img {
    aspect-ratio: 1 / 1;
  }

  /* Medium-size mobile: Balanced spacing */
  body.shopAll .shop-all-grid .product-body,
  body.shopAll .shop-all-grid .product-info,
  body.shopAll .product-grid .product-body,
  body.shopAll .product-grid .product-info {
    padding: 14px 16px 16px;
    gap: 8px;
    background: #050519;
  }

  body.shopAll .product-title,
  body.shopAll .shop-all-grid .product-title,
  body.shopAll .product-body h3 {
    font-size: 0.9rem;
    line-height: 1.35;
    min-height: 2.52em;
    max-height: 2.52em;
    margin-bottom: 4px;
  }

  /* Size info - very subtle on mobile */
  body.shopAll .product-body>p {
    font-size: 0.7rem;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.55);
  }

  body.shopAll .product-price {
    font-size: 1rem;
  }

  body.shopAll .product-rating {
    font-size: 0.8rem;
  }

  body.shopAll .product-meta {
    font-size: 0.8rem;
    margin: 4px 0 0 0;
  }

  /* Medium-size: Both buttons side by side */
  body.shopAll .product-actions {
    margin-top: 10px;
    gap: 6px;
  }

  body.shopAll .product-actions .btn-primary.small,
  body.shopAll .product-actions .btn-ghost.small {
    padding: 10px 14px;
    font-size: 0.85rem;
    min-height: 40px;
    flex: 1 1 auto;
  }

  /* Both buttons visible on mobile - side by side */
  body.shopAll .product-actions .btn-ghost.small {
    display: flex;
  }
}

/* body.shopAll .shop-all-filters {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00));
    border: 1px solid rgba(255,255,255,0.04);
    box-shadow: 0 14px 30px rgba(0,0,0,0.45);
    justify-content: center;
  } */

/* ==================== SECTION 16.1: SHOP ALL PAGE - RESPONSIVE STYLES ====================
   Purpose: Mobile and tablet responsive adjustments for shopAll page
   Used by: shopAll.html
   Features: Sidebar stacking, filter pills layout, product grid adjustments, button visibility
   =================================================================== */

/* ---------- Mobile adjustments: Maintain stability ---------- */
/* ======================================================
   SHOP ALL PAGE – CLEAN, RESPONSIVE, PRODUCTION READY
   Scoped to body.shopAll only
====================================================== */

/* Invalid and redundant shopAll blocks removed */

/* Specific ShopAll card overrides removed to match index page */

/* ---------- Mobile improvements ---------- */
@media (max-width: 520px) {

  /* Filter styles already handled in @media (max-width: 767px) above */
  /* Just handle product actions here */
  body.shopAll .product-actions {
    gap: 6px;
  }

  body.shopAll .product-actions .btn-primary.small,
  body.shopAll .product-actions .btn-ghost.small {
    padding: 9px 12px;
    font-size: 0.8rem;
    min-height: 38px;
  }
}


/* =========================================
   MOBILE FIX – SHOPALL FILTER + CARD
   Safe to add at bottom of style.css
========================================= */

@media (max-width: 600px) {
  /* Filter styles consolidated in @media (max-width: 767px) above */
  /* Only card-specific adjustments here */

  /* --- Card --- */
  body.shopAll .product-card {
    border-radius: 18px;
  }

  /* --- Image medium size --- */
  body.shopAll .product-img {
    aspect-ratio: 1 / 1;
  }

  /* --- Text spacing cleaner --- */
  body.shopAll .product-body {
    padding: 14px;
    gap: 8px;
  }

  body.shopAll .product-body p {
    font-size: 13px;
    display: none;
  }

  /* --- Buttons side by side on mobile --- */
  body.shopAll .product-actions {
    gap: 6px;
  }

  body.shopAll .product-actions .btn-primary.small,
  body.shopAll .product-actions .btn-ghost.small {
    padding: 9px 12px;
    font-size: 11px;
    min-height: 38px;
    border-radius: 999px;
  }

  body.shopAll .product-actions {
    flex-direction: row;
    gap: 8px;
  }

  body.shopAll .btn-primary.small,
  body.shopAll .btn-ghost.small {
    width: 100%;
    font-size: 14px;
    padding: 10px;
  }
}

/* ==================== SECTION 11: POLICIES PAGE ====================
   Purpose: Policy content display with tabs/sections
   Used by: policies.html
   Features: Policy sections, content blocks, responsive typography
   =================================================================== */

.policy-section {
  display: none;
}

.policy-section.active {
  display: block;
}

/* POLICY CONTENT STYLING */
.policy-title {
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.policy-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.policy-intro {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
}

.policy-block {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-block h2 {
  font-size: 20px;
  margin-bottom: 14px;
}

.policy-block h3 {
  font-size: 16px;
  margin: 18px 0 10px;
  color: rgba(255, 255, 255, 0.85);
}

.policy-block p {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
}

.policy-block ul {
  padding-left: 18px;
  margin-bottom: 12px;
}

.policy-block ul li {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
}

.policy-note {
  font-size: 13px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
}

/* ==================== SECTION 11.1: POLICIES PAGE - RESPONSIVE ====================
   Purpose: Mobile and tablet responsive styles for policies page
   Used by: policies.html
   Features: Stacked layout, adjusted typography, compact spacing
   =================================================================== */

/* Tablet & below */
@media (max-width: 768px) {

  /* Layout: sidebar goes on top */
  .shop-all-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Sidebar → horizontal scroll */
  .shop-all-filters {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .shop-all-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-pill {
    flex-shrink: 0;
    font-size: 13px;
    padding: 8px 14px;
    white-space: nowrap;
  }

  /* Content box */
  .policy-content {
    padding: 22px;
  }

  .policy-title {
    font-size: clamp(24px, 7vw, 32px);
    letter-spacing: -0.01em;
  }

  .policy-meta {
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
  }

  .policy-intro {
    font-size: 14px;
    line-height: 1.7;
  }

  .policy-block {
    margin-top: 22px;
    padding-top: 22px;
  }

  .policy-block h2 {
    font-size: 18px;
  }

  .policy-block h3 {
    font-size: 15px;
  }

  .policy-block p,
  .policy-block li {
    font-size: 14px;
    line-height: 1.7;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .policy-content {
    padding: 18px;
  }

  .policy-title {
    font-size: 22px;
  }

  .policy-intro {
    font-size: 13.5px;
  }

  .policy-block h2 {
    font-size: 17px;
  }

  .policy-block h3 {
    font-size: 14px;
  }

  .policy-block p,
  .policy-block li {
    font-size: 13.5px;
  }
}

/* ==================== SECTION 12: PRODUCT PAGE ====================
   Purpose: Individual product detail page
   Used by: product.html
   Features: Image gallery, product info, size selector, quantity selector, tabs
   =================================================================== */

.product-page {
  max-width: 1200px;
  margin: auto;
  padding: 80px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

/* IMAGE GALLERY */
.product-gallery {
  position: relative;
}

.main-image {
  position: relative;
  background: #111;
  border-radius: 18px;
  overflow: hidden;
}

.main-image img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 26px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.thumbnail-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.thumb {
  width: 70px;
  border-radius: 10px;
  opacity: 0.5;
  cursor: pointer;
  border: 2px solid transparent;
}

.thumb.active {
  opacity: 1;
  border-color: #7c5cff;
}

/* PRODUCT INFO */
.product-info h1 {
  font-size: 34px;
  margin-bottom: 12px;
}

.description {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 18px;
}

.rating {
  font-size: 14px;
  color: gold;
  margin-bottom: 14px;
}

.rating span {
  color: rgba(255, 255, 255, 0.6);
}

.price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.price .current {
  font-size: 28px;
  font-weight: 700;
}

.price .old {
  text-decoration: line-through;
  opacity: 0.5;
}

.badge {
  background: #7c5cff;
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 12px;
}

.option {
  margin-bottom: 18px;
}

.option label {
  font-size: 13px;
  display: block;
  margin-bottom: 6px;
}

.icon {
  height: 40px;
  width: 40px;
}

.option select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Product buttons container */
.product-buttons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  width: 100%;
}

/* Size buttons to fill the row, override global btn constraints */
.product-buttons .product-page-btn {
  flex: 1;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 600;
  width: auto;
  height: auto;
  min-width: 0;
  margin-top: 0;
  justify-content: center;
}

/* Product buttons responsive */
@media (max-width: 768px) {
  .product-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .product-page {
    grid-template-columns: 1fr;
  }


}

@media (min-width: 768px) {
  .main-image {
    width: 350px;
  }
}

/* ==================== SECTION 12.1: PRODUCT PAGE - TRUST CARDS ====================
   Purpose: Trust indicators on product page
   Used by: product.html
   Features: Security badges, payment options, refund policy
   =================================================================== */

.right-trust {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  line-height: 0;
}

.trust-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.trust-card h4 {
  font-size: 14px;
}

.trust-card p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* ==================== SECTION 12.2: PRODUCT PAGE - TABS & DETAILS ====================
   Purpose: Product description tabs and specifications
   Used by: product.html
   Features: Tab navigation, description content, feature lists, file specs
   =================================================================== */

.product-extra {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.product-tabs {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.tab-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 12px;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-soft);
  color: rgba(255, 255, 255, 0.9);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--accent), #8b6fff);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 8px rgba(111, 75, 255, 0.3);
}

/* ---------- TAB CONTENT CARD ---------- */
.tab-box {
  display: none;
  padding: 34px 36px;
  border-radius: 22px;
  background: radial-gradient(circle at top left,
      rgba(124, 92, 255, 0.12),
      transparent 45%),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.tab-box.active {
  display: block;
}

.tab-box h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

/* ---------- FEATURE LIST ---------- */
.feature-list {
  margin-top: 16px;
  padding-left: 18px;
}

.feature-list li {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- FILE SPEC ROWS ---------- */
#specs {
  padding: 0;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 36px;
  font-size: 15px;
}

.spec-row:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-row span {
  color: rgba(255, 255, 255, 0.7);
}

.spec-row strong {
  color: #fff;
  font-weight: 500;
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
  .product-tabs {
    gap: 6px;
  }

  .tab-btn {
    font-size: 13px;
    padding: 7px;
  }

  .spec-row {
    padding: 16px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ==================== SECTION 12.3: PRODUCT PAGE - RELATED PRODUCTS ====================
   Purpose: Related product recommendations
   Used by: product.html
   Features: Product grid, cards with images, ratings, prices
   =================================================================== */

.related-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.section-title {
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 30px;
}

/* GRID - MOBILE FIRST: 2 columns */
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
}

/* 3 columns on medium screens */
@media (min-width: 768px) {
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* Auto-fit on desktop */
@media (min-width: 1024px) {
  .related-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
  }
}

/* CARD */
.related-card {
  background: linear-gradient(180deg, #12121c, #0d0d16);
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: all 0.35s ease;
}

.related-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(124, 92, 255, 0.18),
    0 0 0 1px rgba(124, 92, 255, 0.35);
}

/* IMAGE */
.card-img {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

/* WISHLIST */
.wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}

/* BODY */
.card-body {
  padding: 16px 6px 6px;
}

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

.title-row h4 {
  font-size: 16px;
  font-weight: 500;
}

.rating {
  font-size: 14px;
  color: #ffc75a;
}

/* TEXT */
.desc {
  font-size: 13px;
  color: #b6b6c9;
  margin: 10px 0;
  line-height: 1.5;
}

.size {
  font-size: 13px;
  color: #8f8fb1;
  margin-bottom: 12px;
}

/* PRICE */
.price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.price {
  font-size: 18px;
  font-weight: 600;
}

.old {
  font-size: 13px;
  color: #777;
  text-decoration: line-through;
}

.off {
  font-size: 12px;
  background: rgba(124, 92, 255, 0.2);
  color: #9f8cff;
  padding: 3px 8px;
  border-radius: 8px;
}


/* MOBILE */
@media (max-width: 480px) {
  .section-title {
    font-size: clamp(24px, 7vw, 32px);
    letter-spacing: -0.01em;
  }
}

/* ==================== SECTION 12.4: PRODUCT PAGE - SIZE & QUANTITY SELECTORS ====================
   Purpose: Product options (size, quantity)
   Used by: product.html
   Features: Size buttons, quantity selector with +/- buttons
   =================================================================== */

.block {
  margin-top: 28px;
}

.block label {
  display: block;
  font-size: 15px;
  color: #cfd0e8;
  margin-bottom: 12px;
}

/* Size selection buttons */
.sizes {
  display: flex;
  gap: 12px;
}

.sizes button {
  width: 54px;
  height: 54px;
  background: linear-gradient(180deg, #141420, #0c0c14);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e6e6f0;
  font-size: 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.sizes button:hover {
  border-color: rgba(124, 92, 255, 0.6);
}

.sizes .active {
  background: linear-gradient(180deg, #3f2f7a, #2a1f55);
  border-color: #7c5cff;
  box-shadow: 0 0 0 2px rgba(124, 92, 255, 0.35);
}

/* Quantity selector with increment/decrement buttons */
.qty {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(180deg, #141420, #0c0c14);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.qty button {
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  color: #e6e6f0;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.qty button:hover {
  background: rgba(124, 92, 255, 0.15);
}

.qty span {
  width: 48px;
  text-align: center;
  font-size: 16px;
  color: #fff;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==================== SECTION 12.5: PRODUCT PAGE - IMAGE SLIDER ====================
   Purpose: Product image gallery with navigation
   Used by: product.html
   Features: Main image display, thumbnail navigation, dot indicators, prev/next buttons
   =================================================================== */

.main-image {
  position: relative;
  width: 500px;
}

@media (max-width: 768px) {
  .main-image {
    width: 350px;
  }
}

/* Dot indicators for image slider */
.image-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.image-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: 0.3s;
}

.image-dots span.active {
  background: #7c5cff;
  transform: scale(1.2);
}

/* Slider counter indicator */
.slider-indicator {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #aaa;
}

/* Hide UXPacific options initially (if platform selector is used) */
#uxOptions {
  display: none;
}

/* ==================== NEW PAGES STYLES ==================== */

/* Cart Badge in Nav */
/* Search bar in header */
.nav-search {
  position: relative;
  display: none;
  /* Hidden by default, show on desktop */
  flex: 1;
  max-width: 300px;
  margin: 0 16px;
}

.nav-search-input {
  width: 100%;
  padding: 8px 40px 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.nav-search-input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.nav-search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.nav-search-button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.nav-search-button:hover {
  color: var(--accent);
}

.nav-search-button svg {
  width: 18px;
  height: 18px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Wishlist icon in header */
.nav-wishlist {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-wishlist:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.nav-wishlist svg {
  width: 22px;
  height: 22px;
}

.nav-wishlist-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
}

/* Improved Cart Icon - Matches website dark theme */
.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 10px;
  background-color: #000000;
  /* border: 1px solid var(--border-subtle); */
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.nav-cart:hover {
  /* background-color: rgba(111, 75, 255, 0.15); */
  /* border-color: rgba(111, 75, 255, 0.3); */
  transform: translateY(-1px);
  /* box-shadow: 0 4px 12px rgba(111, 75, 255, 0.2); */
}

.nav-cart:active {
  transform: translateY(0);
}

.nav-cart:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-cart img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
  transition: transform 0.2s ease, filter 0.2s ease;
  object-fit: contain;
}

.nav-cart:hover img {
  transform: scale(1.1);
  filter: brightness(0) invert(1) drop-shadow(0 0 4px rgba(111, 75, 255, 0.5));
}

#cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: linear-gradient(135deg, #ff4444, #ff6666);
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  font-weight: 700;
  border: 2px solid #000;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(255, 68, 68, 0.4);
  animation: pulse 2s infinite;
  z-index: 10;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

/* Toast animations */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* User Menu - Pill Design */
.nav-user {
  position: relative;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 6px 9px 6px 12px;
  border-radius: 999px;
  background-color: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #fff;
  min-height: 44px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-user:hover {
  background-color: #0d0d0d;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-user:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-user.active {
  /* background-color: #8a8590; */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #2c1b3f;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

.user-avatar svg {
  width: 18px;
  height: 18px;
  stroke: white;
  fill: none;
}

.user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.user-name {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-role {
  display: none;
  /* Hide role, show only name like in image */
}

/* Dropdown chevron for user menu */
.nav-user::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.7);
  margin-left: auto;
  transition: transform 0.2s ease;
}

.nav-user.active::after {
  transform: rotate(180deg);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 8px;
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1000;
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-user.active .user-dropdown {
  display: flex;
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.user-dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.user-dropdown-item svg {
  width: 18px;
  height: 18px;
  fill: var(--text-muted);
  flex-shrink: 0;
}

.user-dropdown-item:hover svg {
  fill: var(--accent);
}

.user-dropdown-divider {
  height: 1px;
  background: var(--border-soft);
  margin: 4px 0;
}

.user-dropdown-item.logout {
  color: #ff4444;
}

.user-dropdown-item.logout:hover {
  background-color: rgba(255, 68, 68, 0.1);
}

.user-dropdown-item.logout svg {
  fill: #ff4444;
}

/* Mobile: Hide user name on small screens, show only avatar */
@media (max-width: 480px) {
  .nav-user .user-info {
    display: none;
  }

  .nav-user {
    padding: 8px;
    min-width: 44px;
  }

  .user-avatar {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
}

@media (min-width: 768px) {
  .nav-actions {
    display: flex;
  }

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

/* ==================== AUTH PAGES (Sign In/Sign Up) ==================== */
.auth-section {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.auth-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.auth-card {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 40px;
}

.auth-title {
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 10px 0;
}

.auth-subtitle {
  color: rgba(255, 255, 255, 0.56);
  text-align: center;
  margin-bottom: 32px;
  font-size: 1rem;
  line-height: 1.5;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  /* gap: 8px; */
}

.form-field label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.form-field input.error {
  border-color: #ff4444;
}

.field-error {
  color: #ff4444;
  font-size: 12px;
  display: none;
}

.form-field input.error+.field-error {
  display: block;
}

.field-hint {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 4px;
}

.form-field input:focus+.field-hint {
  color: var(--accent-soft);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-muted);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-field {
  margin-top: 12px;
}

.checkbox-text {
  color: var(--text-primary);
  font-size: 14px;
}

.forgot-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
}

.forgot-link:hover {
  text-decoration: underline;
}

.auth-submit {
  width: 100%;
  margin-top: 8px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-soft);
}

.social-auth {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-btn {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.social-btn:hover {
  background: rgba(111, 75, 255, 0.15);
  border-color: rgba(111, 75, 255, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(111, 75, 255, 0.2);
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 14px;
}

.auth-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.auth-link:hover {
  text-decoration: underline;
}

.error-message {
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.3);
  color: #ff4444;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 16px;
}

.success-message {
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #4caf50;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 16px;
}

/* ==================== MODAL STYLES ==================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background: transparent;
}

.modal[style*="display: flex"] {
  display: flex !important;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.modal-content {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  margin: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  z-index: 1001;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--border-soft);
}

.modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 28px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal>form,
#address-form {
  padding: 24px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.modal-actions .btn-primary,
.modal-actions .btn-ghost {
  flex: 1;
  min-width: 120px;
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .modal-header {
    padding: 16px;
  }

  .modal>form,
  #address-form {
    padding: 16px;
  }

  .modal-actions {
    flex-direction: column-reverse;
  }

  .modal-actions .btn-primary,
  .modal-actions .btn-ghost {
    flex: 1;
    min-width: auto;
  }
}

/* ==================== CART PAGE ==================== */
.cart-section {
  padding: 40px 20px;
  max-width: 1240px;
  margin: 0 auto;
}

.cart-title {
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
}

.cart-items-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 24px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: all 0.2s ease;
}

.cart-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-soft);
}

.cart-item-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* gap: 0px; */
}

.cart-item-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.cart-item-meta {
  font-size: 14px;
  color: var(--text-muted);
}

.cart-item-price {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 4px 8px;
}

.cart-item-qty button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.cart-item-qty button:hover {
  background: rgba(111, 75, 255, 0.2);
  border-color: rgba(111, 75, 255, 0.4);
  transform: scale(1.05);
}

.cart-item-qty button:active {
  transform: scale(0.95);
}

.cart-item-qty span {
  min-width: 30px;
  text-align: center;
  font-weight: 500;
}

.remove-item {
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.3);
  color: #ff4444;
  font-size: 14px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.remove-item:hover {
  background: rgba(255, 68, 68, 0.2);
  border-color: rgba(255, 68, 68, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 68, 68, 0.2);
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
}

.cart-empty img {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  opacity: 0.5;
}

.cart-empty h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.cart-empty p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Cart Type Sections (Digital / Physical) */
.cart-type-section {
  margin-bottom: 24px;
}

.cart-type-section:last-of-type {
  margin-bottom: 0;
}

.cart-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-section-header svg {
  color: var(--accent);
  flex-shrink: 0;
}

.cart-section-header h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary, #fff);
}

/* Digital delivery info message */
.digital-delivery-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  color: #a5b4fc;
}

.digital-delivery-info svg {
  flex-shrink: 0;
}

/* Shipping fields wrapper for conditional show/hide */
#shipping-fields {
  transition: opacity 0.3s ease, max-height 0.3s ease;
}

#shipping-fields.hidden {
  display: none;
}

.cart-summary-wrapper {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.cart-summary {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 24px;
}

.summary-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.summary-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: var(--text-muted);
}

.summary-row.total-row {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-top: 8px;
}

.summary-divider {
  height: 1px;
  background: var(--border-soft);
  margin: 8px 0;
}

.checkout-btn {
  width: 100%;
  margin-bottom: 12px;
  text-align: center;
}

.checkout-btn.checkout-signin-prompt {
  background: linear-gradient(135deg, var(--accent), #8b6fff);
  border: 1px solid rgba(111, 75, 255, 0.3);
}

.checkout-btn.checkout-signin-prompt:hover {
  background: linear-gradient(135deg, #8b6fff, var(--accent));
  box-shadow: 0 4px 16px rgba(111, 75, 255, 0.3);
}

.continue-shopping {
  width: 100%;
  text-align: center;
}

.cart-security {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}

.security-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text-muted);
}

.security-item img {
  width: 40px;
  height: 40px;
}

/* ==================== CHECKOUT PAGE ==================== */
.checkout-section {
  padding: 40px 20px;
  max-width: 1240px;
  margin: 0 auto;
}

.checkout-title {
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
}

.checkout-form-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 32px;
}

.checkout-block {
  margin-bottom: 32px;
}

.checkout-block:last-child {
  margin-bottom: 0;
}

.block-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-option {
  display: flex;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid var(--border-soft);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.payment-option:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent);
}

.payment-option input[type="radio"] {
  margin-right: 12px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.payment-option input[type="radio"]:checked+.payment-option-content {
  color: var(--accent);
}

.payment-option:has(input[type="radio"]:checked) {
  border-color: var(--accent);
  background: rgba(111, 75, 255, 0.1);
}

.payment-option-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.payment-icon {
  font-size: 24px;
}

.card-details {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}

.checkout-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
}

.checkout-summary-wrapper {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.checkout-summary {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 24px;
}

.checkout-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  max-height: 300px;
  overflow-y: auto;
}

.checkout-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}

.checkout-item-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.checkout-item-info {
  flex: 1;
  font-size: 14px;
}

.checkout-item-name {
  font-weight: 500;
  margin-bottom: 4px;
}

.checkout-item-details {
  color: var(--text-muted);
  font-size: 12px;
}

.checkout-item-price {
  font-weight: 600;
  color: var(--accent);
}

.checkout-security {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}

/* ==================== 404 ERROR PAGE ==================== */
.error-section {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.error-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.error-content {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 60px 40px;
}

.error-code {
  font-size: 120px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* Fallback for browsers that don't support text-fill-color */
  margin: 0;
  line-height: 1;
}

.error-title {
  font-size: 32px;
  font-weight: 700;
  margin: 16px 0;
}

.error-message {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 968px) {

  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary-wrapper,
  .checkout-summary-wrapper {
    position: static;
    margin-top: 32px;
  }

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

  .checkout-actions {
    flex-direction: column;
  }

  .checkout-actions .btn-ghost {
    order: 2;
  }

  .checkout-actions .btn-primary {
    order: 1;
  }
}

@media (max-width: 640px) {
  .auth-card {
    padding: 24px 20px;
  }

  .auth-title {
    font-size: 28px;
  }

  .auth-subtitle {
    font-size: 14px;
  }

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

  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .checkbox-label {
    font-size: 13px;
  }

  .social-btn {
    font-size: 14px;
    padding: 10px 14px;
  }

  .cart-section,
  .checkout-section {
    padding: 20px 16px;
  }

  .cart-title,
  .checkout-title {
    font-size: clamp(26px, 7vw, 36px);
    letter-spacing: -0.01em;
  }

  .cart-item {
    flex-direction: column;
  }

  .cart-item-image {
    width: 100%;
    height: 200px;
  }

  .error-code {
    font-size: 80px;
  }

  .error-title {
    font-size: 24px;
  }

  .checkout-form-wrapper {
    padding: 20px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-cart {
    padding: 8px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 8px;
  }

  .nav-cart img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
  }

  #cart-count {
    width: 18px;
    height: 18px;
    font-size: 10px;
    top: -4px;
    right: -4px;
  }

  .nav-user {
    padding: 6px 8px;
    gap: 8px;
  }

  .user-avatar {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .user-name {
    font-size: 13px;
    max-width: 100px;
  }

  .user-role {
    font-size: 10px;
  }

  .user-dropdown {
    min-width: 180px;
    right: -10px;
    top: calc(100% + 4px);
  }

  .user-info {
    display: none;
  }

  .nav-cta {
    padding: 8px;
    font-size: 14px;
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .nav-cta-icon {
    display: block;
  }

  .nav-cta-text {
    display: none;
  }
}

/* ==================== SECTION 17: UTILITY STYLES & ANIMATIONS ====================
   Purpose: Reusable utility classes, animations, and helper styles
   Used by: All pages
   Features: Toast animations, button enhancements, form improvements, loading states
   =================================================================== */

/* Toast notification animations */
@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

/* Enhanced button styles - Global button improvements */
.btn-primary,
.btn-ghost,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
  font-family: inherit;
  font-weight: 500;
  white-space: nowrap;
  /* height: 46px; */
  /* width: 170px; */
}

.btn-primary:disabled,
.btn-ghost:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Form field improvements - Validation states and styling */
.form-field {
  position: relative;
  line-height: 3;
}

.form-field input[type="password"] {
  padding-right: 40px;
}

.form-field input:valid:not(:placeholder-shown) {
  border-color: rgba(76, 175, 80, 0.5);
}

/* Form validation styles can be added here if needed */

/* Password strength indicator - Visual feedback for password input */
.password-strength {
  margin-top: 8px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.password-strength-bar {
  height: 100%;
  width: 0%;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.password-strength.weak .password-strength-bar {
  width: 33%;
  background: #ff4444;
}

.password-strength.medium .password-strength-bar {
  width: 66%;
  background: #ffa500;
}

.password-strength.strong .password-strength-bar {
  width: 100%;
  background: #4caf50;
}

/* Loading spinner - For async operations and form submissions */
.loader {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==================== SECTION 18: GLOBAL RESPONSIVE STYLES ====================
   Purpose: Global mobile and tablet responsive adjustments
   Used by: All pages
   Features: Mobile breakpoints, touch targets, form adjustments
   =================================================================== */

/* Small mobile devices (phones) */
@media (max-width: 480px) {
  .auth-section {
    padding: 40px 16px;
    min-height: calc(100vh - 150px);
  }

  .auth-card {
    padding: 20px 16px;
  }

  .auth-title {
    font-size: 24px;
  }

  .form-field input,
  .form-field select {
    font-size: 16px;
    /* Prevents zoom on iOS */
    padding: 14px 16px;
  }

  .btn-primary,
  .btn-ghost {
    padding: 14px 20px;
    font-size: 15px;
  }

  .nav-bar {
    padding: 8px 16px;
    height: 70px;
  }

  .nav-logo img {
    height: 30px;
  }

  .cart-item-actions {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 12px;
  }

  .checkout-actions {
    flex-direction: column-reverse;
  }

  .checkout-actions .btn-primary {
    order: 1;
  }

  .checkout-actions .btn-ghost {
    order: 2;
  }
}

/* Tablet and mobile - Better touch targets for accessibility */
@media (max-width: 768px) {

  button,
  .btn-primary,
  .btn-ghost,
  .btn-outline,
  a.nav-link,
  .nav-mobile-link {
    min-height: 44px;
    /* iOS recommended touch target */
    min-width: 44px;
  }

  .cart-item-qty button,
  .remove-item {
    min-height: 36px;
    min-width: 36px;
  }
}

/* Focus states for keyboard navigation accessibility */
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Smooth transitions for form state changes */
.auth-form,
#verify-code-form,
#new-password-form,
#reset-success {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Error and success message animations */
.error-message,
.success-message {
  animation: fadeIn 0.3s ease;
}

/* Fade in animation for messages */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== SECTION 19: ORDER CONFIRMATION PAGE ====================
   Purpose: Order confirmation page after successful checkout
   Used by: order-confirmation.html
   Features: Success icon, order details, shipping info, action buttons
   =================================================================== */

.confirmation-section {
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirmation-container {
  width: 100%;
}

.confirmation-content {
  text-align: center;
}

.confirmation-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #4caf50, #66bb6a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.5s ease;
}

.confirmation-icon svg {
  width: 40px;
  height: 40px;
  color: white;
  stroke-width: 3;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.confirmation-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.confirmation-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.confirmation-card {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 32px;
  text-align: left;
}

.confirmation-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-soft);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
}

.detail-label {
  color: var(--text-muted);
}

.detail-value {
  font-weight: 600;
  color: #fff;
}

.detail-value.highlight {
  color: var(--accent);
  font-size: 18px;
}

.confirmation-items {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-soft);
}

.items-title,
.shipping-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.confirmation-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}

.confirmation-item .item-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.confirmation-item .item-info {
  flex: 1;
}

.confirmation-item .item-info h4 {
  margin: 0 0 4px;
  font-size: 14px;
}

.confirmation-item .item-info p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.confirmation-item .item-price {
  font-weight: 600;
  color: var(--accent);
}

.confirmation-shipping {
  margin-bottom: 0;
}

.shipping-details {
  color: var(--text-muted);
  line-height: 1.8;
}

.shipping-details p {
  margin: 4px 0;
}

.confirmation-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.confirmation-info {
  background: rgba(111, 75, 255, 0.1);
  border: 1px solid rgba(111, 75, 255, 0.2);
  border-radius: 12px;
  padding: 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.confirmation-info strong {
  color: #fff;
}

/* ==================== SECTION 20: ORDERS PAGE ====================
   Purpose: My orders listing page
   Used by: orders.html
   Features: Order cards, status badges, order items, reorder functionality
   =================================================================== */

.orders-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.orders-container {
  width: 100%;
}

.orders-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.orders-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 32px;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.orders-empty {
  text-align: center;
  padding: 60px 20px;
}

.orders-empty img {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  opacity: 0.5;
}

.orders-empty h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.orders-empty p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.order-card {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 24px;
  transition: all 0.2s ease;
}

.order-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(111, 75, 255, 0.1);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-soft);
}

.order-info h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.order-date {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

.order-status {
  display: flex;
  align-items: center;
}

.status-badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

.status-badge.status-Pending {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-badge.status-Processing {
  background: rgba(33, 150, 243, 0.2);
  color: #2196f3;
  border: 1px solid rgba(33, 150, 243, 0.3);
}

.status-badge.status-Shipped {
  background: rgba(156, 39, 176, 0.2);
  color: #9c27b0;
  border: 1px solid rgba(156, 39, 176, 0.3);
}

.status-badge.status-Delivered {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-badge.status-Cancelled {
  background: rgba(244, 67, 54, 0.2);
  color: #f44336;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Lowercase lifecycle (API / DB) */
.status-badge.status-pending {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.3);
}
.status-badge.status-awaiting_payment {
  background: rgba(33, 150, 243, 0.15);
  color: #1976d2;
  border: 1px solid rgba(33, 150, 243, 0.35);
}
.status-badge.status-paid {
  background: rgba(76, 175, 80, 0.2);
  color: #2e7d32;
  border: 1px solid rgba(76, 175, 80, 0.35);
}
.status-badge.status-processing {
  background: rgba(33, 150, 243, 0.2);
  color: #2196f3;
  border: 1px solid rgba(33, 150, 243, 0.3);
}
.status-badge.status-shipped {
  background: rgba(156, 39, 176, 0.2);
  color: #9c27b0;
  border: 1px solid rgba(156, 39, 176, 0.3);
}
.status-badge.status-delivered {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}
.status-badge.status-failed {
  background: rgba(244, 67, 54, 0.2);
  color: #c62828;
  border: 1px solid rgba(244, 67, 54, 0.35);
}
.status-badge.status-cancelled {
  background: rgba(244, 67, 54, 0.2);
  color: #f44336;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

.order-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.order-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}

.order-item-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.order-item-details {
  flex: 1;
}

.order-item-details h4 {
  margin: 0 0 4px;
  font-size: 14px;
}

.order-item-details p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.order-item-price {
  font-weight: 600;
  color: var(--accent);
}

.order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  flex-wrap: wrap;
  gap: 16px;
}

.order-total {
  font-size: 18px;
  font-weight: 600;
}

.order-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==================== SECTION 21: ACCOUNT PAGE ====================
   Purpose: User account management page
   Used by: account.html
   Features: Profile editing, address management, order history, settings
   =================================================================== */

.account-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.add-address-btn {
  margin-bottom: 25px;
}

.account-container {
  width: 100%;
}

.account-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 32px;
}

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

/* Account Sidebar */
.account-sidebar {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 24px;
  position: sticky;
  top: 100px;
}

.account-profile {
  text-align: center;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-soft);
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 32px;
  font-weight: 700;
  color: white;
}

.account-profile h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.account-profile p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.account-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 15px;
}

.account-nav-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.account-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.account-nav-item.active {
  background: rgba(111, 75, 255, 0.15);
  color: var(--accent);
  border: 1px solid rgba(111, 75, 255, 0.3);
}

/* Account Content */
.account-content {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 32px;
}

.account-tab {
  display: none;
}

.account-tab.active {
  display: block;
}

.tab-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
}

.tab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.account-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

/* Addresses */
.addresses-list,
.addresses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.checkout-block .address-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .checkout-block .address-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* Account Page Address Cards */
.address-card-account {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.2s ease;
}

.address-card-account:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-muted);
}

.address-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 12px;
}

.address-card-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.address-card-label,
.address-card-default {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(105, 89, 255, 0.15);
  color: #6959ff;
  white-space: nowrap;
}

.address-card-default {
  background: rgba(76, 175, 80, 0.15);
  color: #4caf50;
}

.address-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.address-card-actions .btn-icon {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.address-card-actions .btn-icon:hover {
  color: var(--text-primary);
}

.address-card-actions .btn-icon.btn-danger {
  color: #f44336;
}

.address-card-actions .btn-icon.btn-danger:hover {
  color: #d32f2f;
}

.address-card-body {
  margin-top: 12px;
}

.address-card-body h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.address-card-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Checkout Address Cards */
.address-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: block; /* Ensure label fills space */
      width: 300px;
}

/* Glassmorphism subtle glow on hover */
.address-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.address-card input[type="radio"] {
  display: none;
}

/* Selected State */
.address-card.selected,
.address-card:has(input[type="radio"]:checked) {
  background: rgba(105, 89, 255, 0.08);
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(105, 89, 255, 0.15);
      width: 300px;
}

.address-card.selected::after,
.address-card:has(input[type="radio"]:checked)::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  border-radius: 4px 0 0 4px;
}

/* Hover State */
.address-card:hover:not(.selected) {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}
.address-card:hover::before {
  opacity: 1;
}

.address-card-content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* Custom Radio Button Visualization */
.address-card .address-card-content::before {
  content: '';
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: inline-block;
  transition: all 0.2s ease;
  position: relative;
  margin-top: 2px; /* Align with first line of text */
}

.address-card.selected .address-card-content::before,
.address-card input[type="radio"]:checked + .address-card-content::before {
  border-color: var(--accent);
  background: rgba(105, 89, 255, 0.2);
}

/* Better way to do the dot using box-shadow inset on the ::before element */
.address-card.selected .address-card-content::before,
.address-card input[type="radio"]:checked + .address-card-content::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: inset 0 0 0 4px var(--card-bg); /* The "dot" effect by hiding the center */
}


.address-card-info {
  flex: 1;
}

.address-card-info h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.address-card-label {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(105, 89, 255, 0.15);
  color: #8c7cff; /* Slightly brighter for dark theme */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.address-card-default {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(76, 175, 80, 0.15);
  color: #66bb6a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.address-card-info p {
  margin: 0 0 4px 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}
.address-card-info p:last-child {
  margin-bottom: 0;
}

.address-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.address-header h4 {
  margin: 0;
  font-size: 16px;
  color: #fff;
}

.address-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
}

.address-form h3 {
  margin: 0 0 20px;
  font-size: 18px;
}

/* Account Orders */
.account-order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  margin-bottom: 12px;
}

.account-order-item h4 {
  margin: 0 0 4px;
  font-size: 16px;
}

.account-order-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.tab-actions {
  margin-top: 24px;
}

/* Settings */
.settings-section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-soft);
}

.settings-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.settings-section h3 {
  font-size: 18px;
  margin-bottom: 16px;
}

.settings-section.danger-zone {
  border-color: rgba(244, 67, 54, 0.3);
}

.settings-section.danger-zone h3 {
  color: #f44336;
}

.settings-section.danger-zone p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 14px;
}

.empty-message {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 20px;
  font-size: 15px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.6;
}

.empty-state p:first-child {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
}

.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.loading-spinner::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  border: 2px solid var(--border-soft);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==================== RESPONSIVE STYLES FOR NEW PAGES ==================== */

@media (max-width: 968px) {
  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    position: static;
    margin-bottom: 24px;
  }

  .account-nav {
    flex-direction: row;
    flex-wrap: wrap;
    overflow-x: auto;
  }

  .account-nav-item {
    flex: 1 1 auto;
    min-width: 120px;
    justify-content: center;
  }

  .order-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .order-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .order-actions {
    width: 100%;
    justify-content: stretch;
  }

  .order-actions .btn-primary,
  .order-actions .btn-ghost {
    flex: 1;
  }
}

@media (max-width: 640px) {

  .confirmation-section,
  .orders-section,
  .account-section {
    padding: 20px 16px;
  }

  .confirmation-title,
  .orders-title,
  .account-title {
    font-size: 28px;
  }

  .confirmation-card {
    padding: 20px;
  }

  .detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .confirmation-actions {
    flex-direction: column;
  }

  .confirmation-actions .btn-primary,
  .confirmation-actions .btn-ghost {
    width: 100%;
  }

  .order-card {
    padding: 16px;
  }

  .account-content {
    padding: 20px;
  }

  .tab-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn-primary,
  .form-actions .btn-ghost {
    width: 100%;
  }
}

/* ==================== SECTION 22: SEARCH PAGE ====================
   Purpose: Search results page with filters and sorting
   Used by: search.html
   Features: Search bar, filters, sort options, results grid, suggestions
   =================================================================== */

.search-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.search-container {
  width: 100%;
}

.search-header {
  margin-bottom: 32px;
}

.search-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
}

.search-bar-wrapper {
  position: relative;
  max-width: 600px;
  margin-bottom: 8px;
}

.search-input {
  width: 100%;
  padding: 14px 50px 14px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: var(--card-bg);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease;
}

.search-input:focus {
  border-color: var(--accent);
}

.search-button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: background 0.2s ease;
}

.search-button:hover {
  background: #7c59ff;
}

.search-button svg {
  width: 18px;
  height: 18px;
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  margin-top: 4px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 100;
  display: none;
}

.suggestion-item {
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 14px;
  color: var(--text-muted);
}

.suggestion-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.search-filters {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-group label {
  font-size: 14px;
  color: var(--text-muted);
  white-space: nowrap;
}

.filter-select {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: var(--card-bg);
  color: #fff;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.filter-select:focus {
  border-color: var(--accent);
}

.search-results {
  margin-top: 32px;
}

.results-header {
  margin-bottom: 24px;
}

.results-header h2 {
  font-size: 24px;
  margin-bottom: 4px;
}

.results-header p {
  color: var(--text-muted);
  font-size: 14px;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
}

.no-results img {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  opacity: 0.5;
}

.no-results h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.no-results p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ==================== SECTION 23: WISHLIST PAGE ====================
   Purpose: User wishlist/favorites page
   Used by: wishlist.html
   Features: Wishlist grid, remove functionality, empty state
   =================================================================== */

.wishlist-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.wishlist-container {
  width: 100%;
}

.wishlist-header {
  margin-bottom: 32px;
}

.wishlist-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.wishlist-subtitle {
  color: var(--text-muted);
  font-size: 16px;
}

.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.wishlist-card {
  position: relative;
}

.wishlist-remove {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, transform 0.2s ease;
  color: #fff;
}

.wishlist-remove:hover {
  background: rgba(244, 67, 54, 0.9);
  transform: scale(1.1);
}

.wishlist-remove svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.wishlist-empty {
  text-align: center;
  padding: 80px 20px;
}

.wishlist-empty svg {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.wishlist-empty h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.wishlist-empty p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ==================== SECTION 24: ORDER TRACKING PAGE ====================
   Purpose: Order tracking and status page
   Used by: order-tracking.html
   Features: Order search, timeline, shipping info, order details
   =================================================================== */

.tracking-section {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.tracking-container {
  width: 100%;
}

.tracking-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.tracking-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 32px;
}

.tracking-search {
  margin-bottom: 40px;
}

.tracking-input-wrapper {
  display: flex;
  gap: 12px;
  max-width: 600px;
}

.tracking-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: var(--card-bg);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease;
}

.tracking-input:focus {
  border-color: var(--accent);
}

.tracking-results {
  margin-top: 32px;
}

.tracking-order-info {
  margin-bottom: 32px;
}

.order-info-card {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 24px;
}

.order-info-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.order-date {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.order-status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

.tracking-timeline {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 32px;
}

.tracking-timeline h3 {
  margin: 0 0 24px;
  font-size: 18px;
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  padding-left: 24px;
}

.timeline-items::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border-soft);
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.timeline-dot {
  position: absolute;
  left: -20px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--border-soft);
  border: 3px solid var(--bg-main);
  z-index: 1;
}

.timeline-item.active .timeline-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(111, 75, 255, 0.2);
}

.timeline-content h4 {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--text-muted);
}

.timeline-item.active .timeline-content h4 {
  color: #fff;
}

.timeline-content p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.tracking-shipping,
.tracking-items {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 32px;
}

.tracking-shipping h3,
.tracking-items h3 {
  margin: 0 0 20px;
  font-size: 18px;
}

.shipping-info-card {
  color: var(--text-muted);
  line-height: 1.8;
}

.shipping-info-card p {
  margin: 4px 0;
}

.tracking-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tracking-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}

.tracking-item-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.tracking-item-details {
  flex: 1;
}

.tracking-item-details h4 {
  margin: 0 0 4px;
  font-size: 14px;
}

.tracking-item-details p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.tracking-item-price {
  font-weight: 600;
  color: var(--accent);
}

.tracking-no-results {
  text-align: center;
  padding: 60px 20px;
}

.tracking-no-results img {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  opacity: 0.5;
}

.tracking-no-results h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.tracking-no-results p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ==================== SECTION 25: 500 ERROR PAGE ====================
   Purpose: Server error page
   Used by: 500.html
   Features: Error message, help information, navigation
   =================================================================== */

.error-section {
  padding: 80px 20px;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-container {
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.error-content {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 48px 32px;
}

.error-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  color: #f44336;
}

.error-icon svg {
  width: 100%;
  height: 100%;
}

.error-title {
  font-size: 72px;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #f44336, #ff9800);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* Fallback for browsers that don't support text-fill-color */
}

.error-subtitle {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
}

.error-message {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.error-help {
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
  color: var(--text-muted);
  font-size: 14px;
}

.error-help p {
  margin: 8px 0;
}

.error-help a {
  color: var(--accent);
  text-decoration: none;
}

.error-help a:hover {
  text-decoration: underline;
}

/* Search and Wishlist responsive */
@media (max-width: 768px) {
  .search-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-group {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-select {
    width: 100%;
  }

  .tracking-input-wrapper {
    flex-direction: column;
  }

  .timeline-items {
    padding-left: 20px;
  }

  .error-title {
    font-size: 48px;
  }

  .error-subtitle {
    font-size: 24px;
  }
}

.category-box {
  max-width: 690px;
  margin: 20px auto 0;
  padding: 12px 18px;
  background: rgba(15, 15, 25, 0.85);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  margin-bottom: 36px;
}

.category-box span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  user-select: none;
  cursor: default;
  position: relative;
  padding: 0 10px;
}

.category-box span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.18);
}

/* ==================== MEDIA UPLOAD STYLES ==================== */
.media-upload-container {
  margin-bottom: 20px;
}

.media-upload-area {
  border: 2px dashed var(--border-soft);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.media-upload-area:hover {
  border-color: var(--accent);
  background: rgba(111, 75, 255, 0.05);
}

.media-upload-area input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.media-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.media-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-soft);
}

.media-preview-item img,
.media-preview-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-type-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
}

.media-remove-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ff4444;
  color: white;
  border: 2px solid var(--card-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  z-index: 10;
}

.media-doc-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  flex-direction: column;
  color: #aaa;
  background: rgba(255, 255, 255, 0.05);
}

.media-size-badge {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 9px;
  padding: 2px 5px;
  border-radius: 4px;
}

/* =============================================================================
   SHOP ALL PAGE V2 - Modern Design with Sidebar Filters
   ============================================================================= */

/* Shop Controls: Category Tabs + Sort */
.shop-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.category-tab {
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.category-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.category-tab.active {
  background: linear-gradient(135deg, #7c59ff, #6858ff);
  border-color: rgba(124, 89, 255, 0.6);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 89, 255, 0.3);
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-control label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.sort-control select {
  padding: 10px 16px 10px 12px;
  padding-right: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
  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='white' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 28px;
}

.sort-control select option {
  background-color: var(--bg-main);
  color: #ffffff;
}

.sort-control select:focus {
  border-color: #7c59ff;
}

/* Main Shop Layout */
.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
}

/* Sidebar */
.shop-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
  height: fit-content;
}

.filter-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
}

.filter-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #fff;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Custom Checkbox */
.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.filter-checkbox:hover {
  color: #fff;
}

.filter-checkbox input[type="checkbox"] {
  display: none;
}

.filter-checkbox .checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.filter-checkbox input:checked+.checkmark {
  background: #7c59ff;
  border-color: #7c59ff;
}

.filter-checkbox input:checked+.checkmark::after {
  content: '';
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

/* Price Range */
.price-range-wrapper {
  padding: 8px 0;
}

.price-inputs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.price-label {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 500;
}

.price-separator {
  color: var(--text-muted);
}

.range-slider input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #7c59ff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(124, 89, 255, 0.4);
}

.range-slider input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #7c59ff;
  cursor: pointer;
  border: none;
}

/* Sidebar Promo Card */
.sidebar-promo {
  background: linear-gradient(135deg, rgba(124, 89, 255, 0.15), rgba(104, 88, 255, 0.1));
  border: 1px solid rgba(124, 89, 255, 0.3);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.promo-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #7c59ff, #6858ff);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.sidebar-promo h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #fff;
}

.sidebar-promo p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.promo-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #7c59ff;
  color: #fff;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s;
}

.promo-btn:hover {
  background: #6a4be0;
  transform: translateY(-2px);
}

/* Product Grid Container */
.shop-products {
  flex: 1;
}

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

/* Product Card V2 */
.product-card-v2 {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-card-v2:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 89, 255, 0.3);
  box-shadow: 0 12px 40px rgba(124, 89, 255, 0.15);
}

.card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: rgba(14, 14, 42, 0.5);
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.badge-popular {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #7c59ff, #9b7dff);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 6px;
  text-transform: uppercase;
}

.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  opacity: 0;
}

.product-card-v2:hover .wishlist-btn {
  opacity: 1;
}

.wishlist-btn:hover {
  background: #fff;
  transform: scale(1.1);
}

.wishlist-btn svg {
  width: 18px;
  height: 18px;
  color: #333;
}

.wishlist-btn:hover svg {
  color: #e74c3c;
  fill: #e74c3c;
}

/* Card Content */
.card-content {
  padding: 20px;
}

.card-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #7c59ff;
  margin-bottom: 8px;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}

.card-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.card-title a:hover {
  color: #7c59ff;
}

/* Rating */
.card-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
}

.star.filled {
  color: #fbbf24;
}

.rating-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Card Footer */
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.current-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.old-price {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.btn-add-cart {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #7c59ff;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-add-cart:hover:not(:disabled) {
  background: #6a4be0;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(124, 89, 255, 0.4);
}

.btn-add-cart:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-add-cart svg {
  width: 16px;
  height: 16px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}

.page-btn,
.page-num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
}

.page-btn:hover:not(.disabled),
.page-num:hover:not(.active) {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.page-num.active {
  background: #7c59ff;
  border-color: #7c59ff;
  color: #fff;
}

.page-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.page-btn svg {
  width: 18px;
  height: 18px;
}

.page-ellipsis {
  color: var(--text-muted);
  padding: 0 8px;
}

.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
  font-size: 1rem;
}

/* Responsive: Tablet */
@media (max-width: 1024px) {

  .addresses-list,
  .addresses-grid {
    grid-template-columns: 1fr;
  }

  .shop-layout {
    grid-template-columns: 240px 1fr;
  }

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

/* Responsive: Mobile */
@media (max-width: 768px) {

  .addresses-list,
  .addresses-grid {
    grid-template-columns: 1fr;
  }

  .address-card-content {
    gap: 8px;
  }

  .address-card-info h4 {
    font-size: 14px;
  }

  .address-card-info p {
    font-size: 13px;
  }

  .address-card-actions {
    gap: 4px;
  }

  .address-card-actions .btn-icon {
    padding: 2px;
  }

  .modal-content {
    width: 95%;
  }

  .shop-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .category-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    flex-wrap: nowrap;
  }

  .category-tab {
    flex-shrink: 0;
  }

  .sort-control {
    justify-content: flex-end;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    display: none;
    /* Hide sidebar on mobile, could show as modal */
  }

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

  .card-content {
    padding: 16px;
  }

  .card-title {
    font-size: 0.95rem;
  }

  .card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .btn-add-cart {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {

  .addresses-list,
  .addresses-grid,
  .checkout-block .address-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .address-card-account,
  .address-card {
    padding: 16px;
  }

  .address-card-header {
    gap: 4px;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }

  .category-tabs {
    gap: 6px;
  }

  .category-tab {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}
/* ---- UX PACIFIC NEW DESIGN OVERRIDES ---- */
body {
    background-color: #03010b; /* Very dark purple-black */
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 20px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 100%;
}
.nav-container {
    height: 80px;
    background: rgba(20, 18, 30, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 0 28px;
    width: 100%;
    max-width: 1200px;
    gap: 28px;
}
/* Desktop-only nav styles (min-width: 901px ensures mobile hamburger works) */
@media (min-width: 901px) {
  .nav-links {
      display: flex;
      gap: 8px;
  }
  .nav-links a {
      color: #cfcde0;
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
      padding: 10px 24px;
      border-radius: 99px;
      transition: all 0.3s;
      white-space: nowrap;
  }
  .nav-links a.active {
      background: rgba(255, 255, 255, 0.1);
      color: #ffffff;
  }
  .nav-links a:hover {
      color: #ffffff;
  }
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-search {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    width: 42px;
    max-width: none;
    height: 42px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    background: rgba(255,255,255,0.025);
    transition: width 0.32s ease, background 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}
.nav-search:focus-within,
.nav-search.is-open {
    width: min(280px, 36vw);
    background: rgba(255,255,255,0.08);
    border-color: rgba(109, 61, 255, 0.65);
    box-shadow: 0 10px 30px rgba(109, 61, 255, 0.18);
    overflow: visible;
}
.nav-search:hover {
    border-color: rgba(255,255,255,0.22);
}
.nav-search-input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 14px;
    padding: 0 42px 0 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.nav-search:focus-within .nav-search-input,
.nav-search.is-open .nav-search-input {
    opacity: 1;
    pointer-events: auto;
}
.nav-search-input::placeholder {
    color: rgba(207, 205, 224, 0.72);
}
.nav-search-trigger {
    position: absolute;
    right: 0;
    top: 0;
    width: 42px;
    height: 42px;
    border-color: transparent;
    background: transparent;
}
.icon-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}
.icon-btn:hover { background: rgba(255,255,255,0.1); }
.icon-btn img,
.user-menu img,
.prod-badge img,
.cat-icon-container img,
.work-icon img,
.icon-wrap img,
.social-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}
.prod-badge i,
.rating i,
.cat-icon-container i,
.work-icon i,
.icon-wrap i,
.social-icon i {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
}
.work-icon img,
.icon-wrap img {
    width: 26px !important;
    height: 26px !important;
}
.work-icon i,
.icon-wrap i {
    width: 32px;
    height: 32px;
    font-size: 32px;
}
.cat-link img,
.bundle-link img {
    width: 10px !important;
    height: 10px !important;
    object-fit: contain;
}
.user-menu {
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 99px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.user-menu:hover { background: rgba(255,255,255,0.05); }

/* Typography */
.highlight-italic {
    font-style: italic;
    font-weight: 300;
    color: #dfdfff;
}
.section-heading {
    text-align: center;
    font-size: clamp(28px, 6vw, 42px);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
}

.freebies-benefits-eyebrow {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(167, 139, 250, 0.8);
    margin-bottom: 14px;
}

.freebies-benefits-title {
    font-size: clamp(28px, 6vw, 42px);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    text-align: center;
    margin: 0 0 40px;
}

/* Hero Section */
.hero-section {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}
.hero-container {
    background: radial-gradient(circle at center, #1b163a 0%, #060410 70%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 32px;
    padding: 70px 40px;
    text-align: center;
    max-width: 1200px;
    width: 100%;
}
.hero-title {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 600;
    margin: 0 0 24px 0;
    letter-spacing: -1px;
}
.hero-subtitle {
    font-size: 18px;
    color: #8c89a0;
    margin: 0 auto 48px auto;
    max-width: 752px;
    line-height: 1.5;
    font-weight: 400;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Shine now handled by unified ::before block at top of file */

.btn-secondary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  border-radius: 999px;
  /* background: #6147bd; */
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  /* box-shadow: 0 4px 15px rgba(97, 71, 189, 0.4); */
  transition: all 0.3s ease;
  border: 2px solid rgba(255,255,255,0.1);

}

/* How Works */
.how-works {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.work-card {
    background: #0d0a1b;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.work-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(109, 61, 255, 0.16);
    border: 1px solid rgba(109, 61, 255, 0.34);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
}
.work-icon i {
    font-size: 32px;
    color: #9275ff;
    background: rgba(146, 117, 255, 0.1);
    padding: 12px;
    border-radius: 12px;
}
.work-text h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 600;
}
.work-text p {
    margin: 0;
    color: #8c89a0;
    font-size: 14px;
    line-height: 1.6;
}

/* Top UX Pacific Products — homepage section */
.uxp-top-products-section {
    padding: 70px 0 84px;
    background: #05050b;
    font-family: Inter, system-ui, sans-serif;
}

.uxp-top-products-heading {
    margin-bottom: 40px;
    text-align: center;
}

.uxp-top-products-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: 42px;
    line-height: 0.95;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.uxp-top-products-heading p {
    max-width: 640px;
    margin: 18px auto 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 1rem;
    line-height: 1.5;
}

.uxp-product-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.uxp-product-filters .filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--uxp-line, rgba(141, 92, 255, 0.42));
    color: rgba(255, 255, 255, 0.72);
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 0.8125rem;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.uxp-product-filters .filter-btn.active,
.uxp-product-filters .filter-btn:hover {
    background: linear-gradient(135deg, var(--uxp-purple, #7e54eb), var(--uxp-blue, #5b6dff));
    color: #fff;
    border-color: transparent;
}

.uxp-top-products-section .uxp-product-grid {
    margin-bottom: 40px;
}

/* ponytail: combined selector wins over either class alone — fixes shop-grid 3-col override on index */
.uxp-product-grid.shop-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1100px) {
    .uxp-product-grid.shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .uxp-product-grid.shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.uxp-product-card.is-filter-hidden,
.shop-product-card.is-filter-hidden {
    display: none !important;
}

.uxp-product-media .uxp-product-featured-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}

.uxp-product-media .uxp-product-free-pill {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #34d399;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.38);
}

.mp-price-row--free {
    align-items: center;
    gap: 10px;
}

.uxp-top-products-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    padding: 48px 20px;
}

.uxp-top-products-cta {
    display: flex;
    justify-content: center;
}

/* Legacy product grid (other pages) */
.top-products {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}
.product-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}
.filter-btn {
    background: #141221;
    border: 1px solid rgba(255,255,255,0.08);
    color: #aca8c4;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
}
.filter-btn.active, .filter-btn:hover {
    background: #6D3DFF;
    color: white;
    border-color: #6D3DFF;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.prod-card {
    background: #0d0a1b;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.prod-img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}
.prod-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: rgba(255,255,255,0.05);
}
.prod-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.8);
    color: #6D3DFF;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.prod-info {
    padding: 16px 0 0 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.prod-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.prod-header h3 {
    margin: 0;
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rating {
    font-size: 14px;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}
.prod-desc {
    color: #8c89a0;
    font-size: 14px;
    margin: 0 0 16px 0;
    line-height: 1.5;
    flex: 1;
}
.prod-specs {
    color: #6c6980;
    font-size: 12px;
    margin: 0 0 16px 0;
}
.prod-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}
.prod-price .current {
    font-size: 20px;
    font-weight: 700;
}
.prod-price .old {
    text-decoration: line-through;
    color: #6c6980;
    font-size: 14px;
}
.prod-price .discount {
    color: #10b981;
    font-size: 12px;
    font-weight: 600;
}
.prod-actions {
    display: flex;
    gap: 12px;
}

/* Bundles Section */
:root {
  --uxp-purple: #7e54eb;
  --uxp-blue: #5b6dff;
  --uxp-line: rgba(141, 92, 255, 0.42);
  --uxp-line-strong: rgba(141, 92, 255, 0.78);
}

.uxp-bundles-section {
  padding: 70px 0 84px;
  background: #05050b;
  font-family: Inter, system-ui, sans-serif;
}

.uxp-container {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
}

.uxp-bundle-heading {
  margin-bottom: 44px;
  text-align: center;
}

.uxp-bundle-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: 42px;
  line-height: 0.95;
  font-weight: 700;
}

.uxp-bundle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.uxp-bundle-card {
  display: flex;
  min-height: 0;
  padding: 11px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--uxp-line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 80% 0%, rgba(112, 81, 255, 0.08), transparent 13rem),
    linear-gradient(180deg, rgba(10, 11, 23, 0.98), rgba(6, 7, 16, 0.99));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 18px 42px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  cursor: pointer;
}

.uxp-bundle-card:hover {
  transform: translateY(-5px);
  border-color: var(--uxp-line-strong);
  background:
    radial-gradient(circle at 80% 0%, rgba(141, 92, 255, 0.16), transparent 13rem),
    linear-gradient(180deg, rgba(17, 15, 34, 0.98), rgba(8, 8, 18, 0.99));
}

.uxp-bundle-image {
  position: relative;
  aspect-ratio: 2.15 / 1;
  overflow: hidden;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
}

.uxp-bundle-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 260ms ease;
}

.uxp-bundle-card:hover .uxp-bundle-image img {
  transform: scale(1.04);
}

.uxp-bundle-image span {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 500;
}

.uxp-bundle-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 2px 7px;
}

.uxp-bundle-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.uxp-bundle-title-row h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.38rem, 2vw, 1.55rem);
  line-height: 1.12;
  font-weight: 700;
}

.uxp-bundle-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  color: #ff9b2c;
  font-size: 1.05rem;
}

.uxp-bundle-rating b {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
}

.uxp-bundle-content p {
  margin: 12px 0 0;
  color: #aeb0bc;
  font-size: 0.96rem;
  line-height: 1.45;
}

.uxp-bundle-content ul {
  display: grid;
  gap: 5px;
  margin: 13px 0 16px;
  padding-left: 20px;
  list-style: disc;
}

.uxp-bundle-content li {
  color: #aeb0bc;
  font-size: 0.94rem;
  line-height: 1.18;
}

.uxp-bundle-footer {
  display: flex;
  margin-top: auto;
  flex-direction: column;
  gap: 20px;
}

.uxp-bundle-footer strong {
  color: #ffffff;
  font-size: 1.28rem;
  line-height: 1;
}

.uxp-bundle-footer strong span {
  margin-left: 5px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: line-through;
}

.uxp-bundle-footer div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.uxp-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.uxp-card-btn:hover {
  transform: translateY(-2px);
  border-color: var(--uxp-line-strong);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.22);
}

.uxp-card-btn-primary {
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, var(--uxp-purple), var(--uxp-blue));
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(89, 92, 255, 0.28);
}

.uxp-card-btn-secondary {
  border-color: var(--uxp-line);
  background: rgba(255, 255, 255, 0.06);
  color: #eef2ff;
}

.uxp-bundle-see-all {
  align-self: center;
  justify-self: center;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, color 180ms ease;
}

.uxp-bundle-see-all span {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.uxp-bundle-see-all:hover {
  transform: translateY(-2px);
  color: #f3efff;
}

.uxp-bundle-see-all:hover span {
  border-color: rgba(139, 97, 255, 0.95);
  background: rgba(124, 86, 255, 0.08);
  box-shadow: 0 0 32px rgba(124, 86, 255, 0.3);
}

.uxp-bundle-see-all svg {
  width: 42px;
  height: 42px;
}

.uxp-bundle-see-all b {
  font: inherit;
  font-weight: 500;
}

@media (max-width: 1100px) {
  .uxp-bundle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .uxp-bundle-grid {
    grid-template-columns: 1fr;
  }

  .uxp-bundle-footer div {
    grid-template-columns: 1fr;
  }

  .uxp-card-btn {
    width: 100%;
  }
}
/* What You'll Achieve */
.achieve-section {
    background: #0d0a1b;
    padding: 100px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.achieve-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.achieve-card {
    text-align: center;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 40px 24px;
    border-radius: 20px;
}
.achieve-card .icon-wrap {
    width: 54px;
    height: 54px;
    background: #191630;
    border: 1px solid rgba(255,255,255,0.1);
    color: #9275ff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin: 0 auto 20px auto;
}
.achieve-card h4 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
}
.achieve-card p {
    margin: 0;
    color: #8c89a0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

/* Explore More CTA */
.explore-more {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}
.explore-banner {
    background: linear-gradient(135deg, #1b163a 0%, #3e248b 100%);
    border-radius: 32px;
    padding: 80px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.explore-banner h2 {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 20px 0;
}
.explore-banner p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}
.explore-actions {
    display: flex;
    gap: 16px;
}
.cta-secondary {
    border: 1px solid rgba(255,255,255,0.18);
    background: transparent;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.cta-secondary:hover {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #59168B 0%, #1C398E 50%, #59168B 100%);
    padding: 40px 20px 40px 20px;
    text-align: center;
}
.footer-content {
    max-width: 800px;
    margin: 0 auto 20px auto;
}
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    color: #8c89a0;
}
.footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}
.social-icon {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: 0.3s;
}
.social-icon:hover {
    background: #6D3DFF;
}
.social-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}
.contact-info, .address {
    margin: 0 0 12px 0;
    color: #dfdfff;
    font-size: 15px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    color: #aca8c4;
    font-size: 14px;
}
.legal-links a {
    color: #aca8c4;
    text-decoration: none;
    margin: 0 4px;
}
.legal-links a:hover {
    color: white;
}

/* Hover Effects Added */
.prod-card:hover { transform: translateY(-5px); border-color: #6D3DFF; transition: all 0.3s ease; box-shadow: 0 10px 30px rgba(109, 61, 255, 0.15); }
.bundle-card:hover { transform: translateY(-5px); border-color: #6D3DFF; transition: all 0.3s ease; box-shadow: 0 10px 30px rgba(109, 61, 255, 0.15); }
.achieve-card:hover { transform: translateY(-5px); border-color: #6D3DFF; background: rgba(109, 61, 255, 0.05); transition: all 0.3s ease; }
.social-icon:hover { transform: scale(1.1); background: #6D3DFF; box-shadow: 0 4px 15px rgba(109, 61, 255, 0.4); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(109, 61, 255, 0.3); }
.icon-btn:hover { background: #6D3DFF; border-color: #6D3DFF; transform: scale(1.05); }
.nav-search .icon-btn:hover { transform: none; }
.nav-search-trigger img {
    width: 15px !important;
    height: 15px !important;
}
.prod-badge img,
.cat-icon-container img,
.icon-btn img,
.user-menu img {
    width: 22px !important;
    height: 22px !important;
    object-fit: contain;
}
.work-icon img {
    width: 24px !important;
    height: 24px !important;
}
.achieve-card .icon-wrap img {
    width: 22px !important;
    height: 22px !important;
}
.see-all-btn img {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain;
}
.social-icon img,
.footer-socials a img {
    width: 22px !important;
    height: 22px !important;
    object-fit: contain;
}
.footer-socials {
    gap: 16px;
}
.footer-socials a {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

html {
    scroll-padding-top: 125px;
}
#products,
#category,
#bundles {
    scroll-margin-top: 10px;
}
.footer-socials a:hover {
    transform: translateY(-2px);
    background: #6D3DFF;
    box-shadow: 0 4px 15px rgba(109, 61, 255, 0.4);
}

/* Categories Overlay Styles */
.categories-section { max-width: 1200px; margin: 100px auto; padding: 0 20px; text-align: center; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.cat-card { background: #0d0a1b; border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; text-align: left; overflow: hidden; transition: all 0.3s; }
.cat-card:hover { transform: translateY(-5px); border-color: #6D3DFF; }
.cat-gradient { height: 160px; position: relative; }
.cat-gradient.green { background: linear-gradient(135deg, #0f766e, #064e3b); }
.cat-gradient.pink { background: linear-gradient(135deg, #be185d, #831843); }
.cat-gradient.purple { background: linear-gradient(135deg, #6d28d9, #4c1d95); }
.cat-gradient.orange { background: linear-gradient(135deg, #c2410c, #7c2d12); }
.cat-icon-container { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,0.2); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; font-size: 20px; color: white; }
.cat-content { padding: 24px; }
.cat-title { font-size: 20px; font-weight: 600; margin: 0 0 8px 0; }
.cat-count { color: #8c89a0; font-size: 14px; margin: 0 0 16px 0; display: block; }
.cat-desc { color: #cfcde0; font-size: 15px; margin: 0 0 24px 0; line-height: 1.5; }
.cat-link { color: #6147bd; text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }

/* Connect Section Updates */
.contact-section { max-width: 1100px; margin: 80px auto; padding: 0 20px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; margin-bottom: 60px; }
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form .form-row { grid-template-columns: 1fr !important; gap: 12px; }
  .contact-left h2 { font-size: 32px; }
  .contact-features { grid-template-columns: 1fr 1fr !important; gap: 16px; margin-top: 40px; }
}
@media (max-width: 480px) {
  .contact-features { grid-template-columns: 1fr !important; }
  .contact-left h2 { font-size: 26px; }
}
.contact-left .contact-badge { display: inline-flex; align-items: center; background: #6D3DFF; color: white; padding: 6px 16px; border-radius: 99px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.contact-left h2 { font-size: 48px; margin: 0 0 16px 0; font-weight: 700; line-height: 1.1; }
.contact-left h2 span { color: #7B52FF; }
.contact-left p { color: #8c89a0; font-size: 16px; margin: 0 0 32px 0; line-height: 1.6; }
.contact-box { background: linear-gradient(135deg, rgba(20,18,30,0.8), rgba(27,22,58,0)); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; height: 160px; margin-bottom: 32px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-info-item i { width: 44px; height: 44px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; color: white; }
.contact-info-item .info-text { display: flex; flex-direction: column; }
.contact-info-item .label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #6c6980; margin: 0 0 4px 0; font-weight: 600; }
.contact-info-item .value { margin: 0; color: white; font-size: 15px; font-weight: 500; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.contact-form label { display: block; font-size: 13px; color: #8c89a0; margin-bottom: 8px; font-weight: 500; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; background: #14121e; border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 12px 16px; color: white; font-family: inherit; font-size: 16px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: #6D3DFF; }
.contact-form textarea { height: 120px; resize: none; }
.form-check { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.form-check input[type="checkbox"] { width: auto; accent-color: #6D3DFF; }
.form-check label { margin: 0; color: #8c89a0; }
.contact-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 80px; }
.c-feat-card { background: linear-gradient(to bottom, rgba(20,18,30,0.8), rgba(0,0,0,0)); border: 1px solid rgba(255,255,255,0.05); border-radius: 20px; padding: 32px 20px; text-align: center; }
.c-feat-icon { width: 56px; height: 56px; border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 20px auto; color: #aca8c4; background: rgba(255,255,255,0.02); }
.c-feat-card h4 { font-size: 18px; margin: 0 0 12px 0; }
.c-feat-card p { color: #8c89a0; font-size: 13px; line-height: 1.5; margin: 0; }

/* Final homepage polish */
body {
    background-color: #01010d;
}

.main-content,
.how-works,
.top-products,
.bundles-section,
.categories-section,
.explore-more {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.hero-section {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.how-works,
.top-products,
.bundles-section,
.categories-section,
.achieve-section,
.explore-more {
    margin-top: 100px;
    margin-bottom: 100px;
}

.nav-search,
.icon-btn {
    width: 44px;
    height: 44px;
}

.nav-search {
    justify-content: center;
}

.nav-search:focus-within,
.nav-search.is-open {
    width: min(260px, 36vw);
}

.nav-search-trigger {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-search-trigger img {
    width: 18px !important;
    height: 18px !important;
}

.cart-btn img {
    width: 22px !important;
    height: 22px !important;
}

.user-menu {
    min-height: 44px;
    padding: 7px 18px 7px 14px;
}

.user-menu img {
    width: 24px !important;
    height: 24px !important;
    padding: 2px;
    border: 1px solid #6147bd;
    border-radius: 5px;
    background: rgba(97, 71, 189, 0.28);
}

.user-menu .ph-caret-down {
    display: none;
}

.products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bundles-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.prod-badge {
    display: none !important;
}

.filter-btn.active,
.filter-btn:hover {
    background: #6147bd !important;
    border-color: #6147bd !important;
}

.icon-btn:hover,
.social-icon:hover,
.footer-socials a:hover,
.prod-card:hover,
.bundle-card:hover,
.achieve-card:hover,
.cat-card:hover {
    border-color: #6147bd !important;
}

.icon-btn:hover,
.social-icon:hover,
.footer-socials a:hover {
    background: #6147bd !important;
}

.cta-secondary {
    border-color: rgba(255,255,255,0.18) !important;
}

.social-icon,
.footer-socials a {
    width: 48px !important;
    height: 48px !important;
    border-radius: 10px !important;
}

.social-icon img,
.footer-socials a img {
    width: 48px !important;
    height: 48px !important;
    object-fit: contain;
}

@media (max-width: 1100px) {
    .main-content,
    .how-works,
    .top-products,
    .bundles-section,
    .categories-section,
    .explore-more,
    .hero-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bundles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .main-content,
    .how-works,
    .top-products,
    .bundles-section,
    .categories-section,
    .explore-more,
    .hero-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .products-grid,
    .bundles-grid {
        grid-template-columns: 1fr;
    }
}

.main-content {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.prod-actions .btn,
.bundle-card .prod-actions .btn {
    height: 48px !important;
    min-height: 48px;
    border-radius: 999px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px !important;
    font-size: 14px !important;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    text-decoration: none;
}

.prod-actions .btn-outline,
.bundle-card .prod-actions .btn-outline {
    background: transparent !important;
    border: 1px solid #6147bd !important;
    color: #ffffff !important;
}

.prod-actions .btn-outline:hover,
.bundle-card .prod-actions .btn-outline:hover {
    background: rgba(97, 71, 189, 0.14) !important;
    box-shadow: 0 4px 15px rgba(97, 71, 189, 0.25);
}

/* Bundles page */
body.bundles-page {
    --bundle-bg: #01010d;
    --bundle-card: #090912;
    --bundle-card-soft: #11111b;
    --bundle-border: rgba(255, 255, 255, 0.13);
    --bundle-muted: rgba(255, 255, 255, 0.66);
    --bundle-purple: #6147bd;
    background: var(--bundle-bg);
    color: #f7f6fb;
    font-family: "Inter", system-ui, sans-serif;
}

.bundles-page h1,
.bundles-page h2,
.bundles-page h3,
.bundles-page .bundles-nav,
.bundles-page .bundle-btn {
    font-family: "Gabarito", "Inter", system-ui, sans-serif;
}

.bundles-page main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 100px;
}

.bundles-nav {
    width: min(1200px, calc(100% - 40px));
    min-height: 66px;
    margin: 30px auto 0;
    padding: 12px 24px;
    border: 1px solid var(--bundle-border);
    border-radius: 999px;
    background: rgba(4, 4, 10, 0.72);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.bundles-logo img {
    height: 34px;
    display: block;
}

.bundles-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
}

.bundles-links a,
.bundles-contact {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.bundles-links a {
    padding: 9px 24px;
    border-radius: 999px;
}

.bundles-links a.active {
    background: rgba(255, 255, 255, 0.11);
    color: #ffffff;
}

.bundles-contact {
    background: var(--bundle-purple);
    color: #fff;
    border-radius: 999px;
    padding: 12px 32px;
    font-weight: 700;
}

.bundles-hero {
    padding: 165px 0 145px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.bundles-hero h1 {
    max-width: 990px;
    margin: 0 auto;
    font-size: clamp(48px, 5.5vw, 68px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1px;
}

.bundles-hero h1 em,
.bundles-hero h1 span {
    font-weight: 400;
    font-style: italic;
}

.bundles-hero h1 strong {
    font-weight: 700;
    font-style: normal;
}

.bundles-hero h1 span {
    display: block;
}

.bundles-hero p {
    max-width: 620px;
    margin: 28px auto 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 17px;
    line-height: 1.5;
}

.featured-bundle {
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid var(--bundle-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
    padding: 28px;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 34px;
    align-items: center;
}

.featured-media {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

.featured-media span {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 1;
    background: linear-gradient(90deg, #ff7a2f, #f8c528);
    color: #121212;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 800;
}

.featured-media img,
.bundle-product > img {
    width: 100%;
    display: block;
    object-fit: cover;
    background: #ededed;
}

.featured-media img {
    aspect-ratio: 1.35;
}

.featured-copy h2 {
    margin: 0 0 12px;
    font-size: 32px;
    font-weight: 700;
}

.bundle-rating {
    margin-bottom: 18px;
    font-size: 15px;
    color: #ffffff;
}

.bundle-rating span,
.bundle-title-row b,
.testimonial-row article > strong {
    color: #ffd21f;
    letter-spacing: 1px;
}

.featured-copy p,
.bundle-product p,
.included-grid p,
.growth-steps p,
.testimonial-row p,
.bundles-final-cta p,
.bundles-footer p {
    color: var(--bundle-muted);
    line-height: 1.55;
}

.featured-copy h3 {
    margin: 24px 0 12px;
    font-size: 16px;
    font-weight: 800;
}

.featured-copy ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 52px;
}

.featured-copy li {
    color: rgba(255,255,255,0.82);
    font-size: 15px;
}

.featured-copy li::before {
    content: "✓";
    color: #8b6cff;
    margin-right: 10px;
}

.bundle-price {
    margin: 32px 0 22px;
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.bundle-price strong {
    font-size: 34px;
    font-weight: 900;
}

.bundle-price del {
    color: rgba(255,255,255,0.55);
    font-size: 18px;
}

.bundle-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.bundle-btn {
    min-height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
}

.bundle-btn.primary {
    background: var(--bundle-purple);
    color: #ffffff;
}

.bundle-btn.secondary {
    border: 1px solid var(--bundle-purple);
    color: #ffffff;
    background: transparent;
}

.bundle-card-grid {
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.bundle-product,
.included-grid article,
.testimonial-row article {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
}

.bundle-product > img {
    aspect-ratio: 1.63;
}

.bundle-product-body {
    padding: 20px 22px 24px;
}

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

.bundle-title-row h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.bundle-title-row span {
    white-space: nowrap;
    font-size: 13px;
}

.bundle-product p {
    margin: 10px 0 0;
    font-size: 14px;
}

.bundle-product p strong {
    color: #ffffff;
}

.bundle-price.small {
    margin: 18px 0 22px;
}

.bundle-price.small strong {
    font-size: 24px;
}

.bundle-price.small del {
    font-size: 14px;
}

.included-section,
.growth-section,
.community-section {
    margin-top: 120px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.included-section h2,
.growth-section h2,
.community-section h2 {
    text-align: center;
    margin: 0 0 42px;
    font-size: 42px;
    line-height: 1.1;
    font-weight: 700;
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.included-grid article {
    min-height: 140px;
    padding: 28px 26px;
}

.included-grid span {
    display: block;
    font-size: 30px;
    margin-bottom: 18px;
}

.included-grid h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 800;
}

.included-grid p {
    margin: 0;
    font-size: 14px;
}

.growth-steps {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
}

.growth-steps article {
    position: relative;
    min-height: 118px;
    padding: 24px 14px;
    border: 1px solid var(--bundle-purple);
    border-radius: 14px;
    background: rgba(97, 71, 189, 0.08);
    text-align: center;
}

.growth-steps article:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    width: 22px;
    height: 1px;
    background: var(--bundle-purple);
}

.growth-steps strong {
    display: block;
    color: var(--bundle-purple);
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 12px;
}

.growth-steps h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
}

.growth-steps p {
    margin: 0;
    font-size: 12px;
}


.testimonial-row {
    display: flex;
    gap: 26px;
    overflow: hidden;
    animation: scroll-testimonials 30s linear infinite;
    padding: 0;
}

.testimonial-row article {
    padding: 32px;
    min-width: 330px;
    flex-shrink: 0;
}

.testimonial-row article div {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}

.testimonial-row article div span {
    grid-row: span 2;
    font-size: 28px;
}

.testimonial-row b {
    font-size: 18px;
}

.testimonial-row small {
    color: rgba(255, 255, 255, 0.58);
}

.testimonial-row p {
    margin-bottom: 0;
}

.bundles-final-cta {
    max-width: 1200px;
    margin: 110px auto 120px;
    border: 1px solid var(--bundle-border);
    border-radius: 18px;
    background: radial-gradient(circle at right, rgba(97, 71, 189, 0.28), transparent 38%), #070812;
    padding: 80px 40px;
    text-align: center;
}

.bundles-final-cta h2 {
    margin: 0;
    font-size: 56px;
    line-height: 1.05;
    font-weight: 800;
}

.bundles-final-cta p {
    max-width: 750px;
    margin: 22px auto 36px;
}

.bundles-final-cta div {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.bundles-final-cta .bundle-btn {
    min-width: 180px;
}

.bundles-footer {
    background: linear-gradient(120deg, #59168b, #1c398e, #59168b);
    text-align: center;
    padding: 70px 20px 34px;
}

.bundles-footer > img {
    height: 62px;
    margin-bottom: 24px;
}

.bundles-footer p {
    max-width: 520px;
    margin: 0 auto 34px;
    color: rgba(255, 255, 255, 0.82);
}

.bundles-socials {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 44px;
}

.bundles-socials a {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bundles-socials img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.bundles-contact-line {
    display: flex;
    justify-content: center;
    gap: 28px;
    color: rgba(255, 255, 255, 0.82);
}

.bundles-contact-line span + span {
    border-left: 1px solid rgba(255, 255, 255, 0.44);
    padding-left: 28px;
}

.bundles-footer-bottom {
    max-width: 1200px;
    margin: 54px auto 0;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.28);
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,0.74);
}

.bundles-footer-bottom a {
    color: inherit;
    text-decoration: none;
    margin-left: 28px;
}

@media (max-width: 980px) {
    .bundles-nav,
    .featured-bundle,
    .bundle-card-grid,
    .included-grid,
    .growth-steps,
    .testimonial-row {
        grid-template-columns: 1fr;
    }

    .bundles-nav {
        border-radius: 28px;
        flex-wrap: wrap;
    }

    .bundles-links {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
        gap: 10px;
    }

    .testimonial-row {
        width: auto;
        margin-left: 0;
        padding: 0;
    }

    .growth-steps article::after {
        display: none;
    }

    .bundles-hero {
        padding: 90px 0;
    }

    .bundles-final-cta h2 {
        font-size: 38px;
    }
}

@media (max-width: 640px) {
    .featured-copy ul,
    .bundle-actions,
    .bundles-final-cta div,
    .bundles-contact-line,
    .bundles-footer-bottom {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .bundles-hero h1 {
        font-size: 42px;
    }
}

/* ==================== FIGMA BUNDLES PAGE EXACT ==================== */
body.figma-bundles {
    --figma-bg: #01010d;
    --figma-card: rgba(32, 32, 32, 0.20);
    --figma-purple: #6147bd;
    --figma-white: #f5f5f5;
    --figma-muted: #e0e0e0;
    --figma-soft: #9ea1a6;
    --figma-lavender: #e9d4ff;
    background: var(--figma-bg);
    color: var(--figma-white);
    overflow-x: hidden;
}

body.figma-bundles,
body.figma-bundles * {
    box-sizing: border-box;
}

body.figma-bundles main.bundles-figma-main {
    max-width: none;
    margin: 0;
    padding: 0;
}

.figma-bundles-nav {
    width: min(1240px, calc(100% - 40px));
    height: 80px;
    margin: 32px auto 0;
    padding: 0 32px;
    position: relative;
    z-index: 20;
    display: grid;
    grid-template-columns: 168px 1fr 151px;
    align-items: center;
    gap: 48px;
    background: rgba(0, 0, 0, 0.20);
    border-radius: 110px;
    overflow: hidden;
    animation: figma-enter-down 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.figma-bundles-logo img {
    width: 168px;
    height: 32px;
    object-fit: contain;
}

.figma-bundles-links {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.figma-bundles-links a {
    min-height: 42px;
    padding: 7px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 230px;
    color: #e0e0e0;
    font-size: 18px;
    font-family: "DM Sans", sans-serif;
    font-weight: 300;
    line-height: 28px;
    text-decoration: none;
    overflow-wrap: break-word;
    transition: transform 0.26s ease, color 0.26s ease, background 0.26s ease, box-shadow 0.26s ease;
}

.figma-bundles-links a.active {
    color: #ffffff;
    font-weight: 600;
    background: rgba(37, 31, 51, 0.60);
}

.figma-bundles-links a:hover {
    color: #ffffff;
    background: rgba(37, 31, 51, 0.60);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(97, 71, 189, 0.16);
}

.figma-contact-btn {
    width: 151px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    line-height: 28px;
    text-decoration: none;
    overflow-wrap: break-word;
    background: var(--figma-purple);
    border: 1px solid rgba(238, 238, 238, 0.20);
    border-radius: 24px;
    transition: transform 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.figma-contact-btn:hover,
.figma-contact-btn.is-clicking {
    transform: translateY(-2px) scale(1.02);
    background: #7358d8;
    box-shadow: 0 18px 36px rgba(97, 71, 189, 0.34);
}

.figma-hero {
    width: min(1017px, calc(100% - 40px));
    margin: 132px auto 0;
    text-align: center;
}

.figma-hero h1 {
    margin: 0;
    color: var(--figma-white);
    overflow-wrap: break-word;
    animation: figma-fade-up 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.figma-hero h1 span {
    color: var(--figma-white);
    font-size: 72px;
    font-family: Gabarito, sans-serif;
    font-weight: 700;
    line-height: 80px;
    overflow-wrap: break-word;
}

.figma-hero h1 em {
    color: var(--figma-white);
    font-size: 72px;
    font-family: "DM Sans", sans-serif;
    font-style: italic;
    font-weight: 200;
    line-height: 80px;
    overflow-wrap: break-word;
}

.figma-hero p {
    width: min(689px, 100%);
    margin: 24px auto 0;
    color: #e0e0e0;
    font-size: 20px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 28px;
    overflow-wrap: break-word;
    animation: figma-fade-up 0.75s 0.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.figma-featured-card {
    width: min(1240px, calc(100% - 40px));
    min-height: 484px;
    margin: 165px auto 0;
    padding: 32px;
    position: relative;
    display: grid;
    grid-template-columns: 508.8px 1fr;
    gap: 32.4px;
    background: var(--figma-card);
    border: 0.8px solid rgba(255, 255, 255, 0.20);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.figma-featured-image {
    width: 508.8px;
    height: 418px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #111111;
}

.figma-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.figma-featured-image span {
    min-width: 97.84px;
    height: 28px;
    padding: 4px 16px;
    position: absolute;
    left: 16px;
    top: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0a;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 600;
    line-height: 20px;
    overflow-wrap: break-word;
    background: linear-gradient(90deg, #ff6f47 0%, #ff7746 7%, #ff7e44 14%, #ff8542 21%, #ff8c40 29%, #ff933e 36%, #ff9a3b 43%, #ffa038 50%, #ffa735 57%, #ffad31 64%, #ffb42d 71%, #ffba28 79%, #ffc022 86%, #ffc71a 93%, #ffcd0f 100%);
    border-radius: 26843500px;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.figma-featured-content {
    position: relative;
    z-index: 1;
    padding-top: 0.2px;
}

.figma-featured-content h2 {
    margin: 0 0 8px;
    color: var(--figma-white);
    font-size: 32px;
    font-family: Gabarito, sans-serif;
    font-weight: 500;
    line-height: 48px;
    overflow-wrap: break-word;
}

.figma-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 20px;
    overflow-wrap: break-word;
}

.figma-stars,
.figma-product-rating span:not(.empty) {
    color: #ffcd0f;
    letter-spacing: 1px;
}

.figma-product-rating .empty {
    color: #4a5565;
}

.figma-featured-desc {
    width: min(589px, 100%);
    margin: 0 0 29px;
    color: #9ea1a6;
    font-size: 16px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 24px;
    overflow-wrap: break-word;
}

.figma-featured-content h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 16px;
    font-family: Inter, sans-serif;
    font-weight: 600;
    line-height: 24px;
    overflow-wrap: break-word;
}

.figma-featured-list {
    width: min(508.8px, 100%);
    min-height: 84px;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    row-gap: 12px;
    list-style: none;
}

.figma-featured-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e9d4ff;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 20px;
    overflow-wrap: break-word;
    transition: color 0.22s ease, transform 0.22s ease;
}

.figma-featured-list li::before {
    content: "";
    width: 10.67px;
    height: 7.33px;
    border-left: 1.33px solid var(--figma-purple);
    border-bottom: 1.33px solid var(--figma-purple);
    transform: rotate(-45deg) translateY(-1px);
    flex: 0 0 auto;
}

.figma-featured-list li:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.figma-featured-price {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.figma-featured-price strong {
    color: var(--figma-white);
    font-size: 28px;
    font-family: Inter, sans-serif;
    font-weight: 700;
    line-height: 42px;
    overflow-wrap: break-word;
}

.figma-featured-price del {
    color: #c1c1c1;
    font-size: 16px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 24px;
    overflow-wrap: break-word;
}

.figma-featured-actions {
    width: min(508.8px, 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.figma-btn,
.figma-btn-sm,
.figma-cta-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-family: Inter, sans-serif;
    font-weight: 500;
    border-radius: 24px;
    transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.figma-btn {
    height: 44px;
    font-size: 16px;
    line-height: 24px;
}

.figma-btn-sm {
    height: 36px;
    font-size: 14px;
    line-height: 20px;
}

.figma-btn-primary,
.figma-cta-btn.figma-btn-primary {
    background: var(--figma-purple);
    border: 0.8px solid rgba(238, 238, 238, 0.20);
}

.figma-btn-outline,
.figma-cta-btn.figma-btn-outline {
    background: transparent;
    border: 0.8px solid var(--figma-purple);
}

.figma-btn:hover,
.figma-btn-sm:hover,
.figma-cta-btn:hover,
.figma-btn.is-clicking,
.figma-btn-sm.is-clicking,
.figma-cta-btn.is-clicking {
    transform: translateY(-2px) scale(1.015);
    box-shadow: 0 14px 32px rgba(97, 71, 189, 0.28);
}

.figma-btn-outline:hover,
.figma-cta-btn.figma-btn-outline:hover {
    background: rgba(97, 71, 189, 0.16);
}

.figma-card-grid {
    width: min(1240px, calc(100% - 40px));
    margin: 38px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 38px 24px;
}

.figma-product-card {
    height: 433px;
    position: relative;
    background: var(--figma-card);
    border: 0.8px solid rgba(255, 255, 255, 0.10);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.figma-product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.figma-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.42s ease, filter 0.42s ease;
}

.figma-product-body {
    position: relative;
    z-index: 1;
    height: 232px;
    padding: 9px 13px 0;
}

.figma-product-title-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: start;
}

.figma-product-title-row h3 {
    margin: 0;
    color: var(--figma-white);
    font-size: 20px;
    font-family: Gabarito, sans-serif;
    font-weight: 400;
    line-height: 30px;
    overflow-wrap: break-word;
}

.figma-product-rating {
    padding-top: 7px;
    color: #ffffff;
    font-size: 12px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 16px;
    overflow-wrap: break-word;
    white-space: nowrap;
}

.figma-product-desc {
    width: min(323px, 100%);
    margin: 4px 0 15px;
    color: #9ea1a6;
    font-size: 12px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 18px;
    overflow-wrap: break-word;
}

.figma-product-included {
    width: min(285px, 100%);
    margin: 0 0 9px;
    color: #9ea1a6;
    font-size: 12px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 16px;
    overflow-wrap: break-word;
}

.figma-product-included strong {
    color: #ffffff;
    font-weight: 700;
}

.figma-product-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 19px;
}

.figma-product-price strong {
    color: var(--figma-white);
    font-size: 18px;
    font-family: Inter, sans-serif;
    font-weight: 700;
    line-height: 27px;
    overflow-wrap: break-word;
}

.figma-product-price del {
    color: #c1c1c1;
    font-size: 12px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 18px;
    overflow-wrap: break-word;
}

.figma-product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.figma-grow-section {
    width: min(1240px, calc(100% - 40px));
    margin: 100px auto 0;
}

.figma-grow-section h2,
.figma-community-section h2 {
    margin: 0 0 43px;
    text-align: center;
    color: var(--figma-white);
    font-size: 40px;
    font-family: Gabarito, sans-serif;
    font-weight: 500;
    line-height: 60px;
    overflow-wrap: break-word;
}

.figma-grow-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.figma-grow-grid article {
    min-height: 170px;
    padding: 30px 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    background: rgba(97, 71, 189, 0.10);
    border: 0.8px solid var(--figma-purple);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.figma-grow-grid article:not(:last-child)::after {
    content: "";
    width: 24px;
    height: 2px;
    position: absolute;
    top: 89px;
    left: calc(100% + 0px);
    background: linear-gradient(90deg, #6147bd 0%, rgba(78, 56, 153, 0.86) 14%, rgba(59, 42, 119, 0.71) 29%, rgba(41, 28, 87, 0.57) 43%, rgba(24, 15, 56, 0.43) 57%, rgba(9, 5, 28, 0.29) 71%, rgba(1, 1, 5, 0.14) 86%, rgba(0, 0, 0, 0) 100%);
}

.figma-grow-grid strong {
    color: var(--figma-purple);
    font-size: 30px;
    font-family: Inter, sans-serif;
    font-weight: 700;
    line-height: 36px;
    overflow-wrap: break-word;
}

.figma-grow-grid h3 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-family: Inter, sans-serif;
    font-weight: 600;
    line-height: 27px;
    overflow-wrap: break-word;
}

.figma-grow-grid p {
    margin: 0;
    color: #9ea1a6;
    font-size: 12px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 16px;
    overflow-wrap: break-word;
}

.figma-community-section {
    width: 100%;
    margin: 100px auto 0;
    overflow: hidden;
}

.figma-testimonial-track {
    width: max-content;
    display: flex;
    gap: 24px;
    padding-left: max(20px, calc((100vw - 1240px) / 2 + 62px));
    animation: figma-testimonial-scroll 28s linear infinite;
}

.figma-testimonial-track:hover {
    animation-play-state: paused;
}

.figma-testimonial-track article {
    width: 355.73px;
    min-height: 225.85px;
    padding: 32.8px;
    position: relative;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 0.8px solid rgba(255, 255, 255, 0.10);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.figma-person {
    display: flex;
    align-items: center;
    gap: 16px;
}

.figma-person > span {
    color: #0a0a0a;
    font-size: 36px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 40px;
    overflow-wrap: break-word;
}

.figma-person h3 {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    font-family: Inter, sans-serif;
    font-weight: 600;
    line-height: 24px;
    overflow-wrap: break-word;
}

.figma-person p {
    margin: 0;
    color: #9ea1a6;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 20px;
    overflow-wrap: break-word;
}

.figma-testimonial-track article > p {
    margin: 0;
    color: #e9d4ff;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 22.75px;
    overflow-wrap: break-word;
}

.figma-explore-cta {
    width: min(1240px, calc(100% - 40px));
    min-height: 385px;
    margin: 100px auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--figma-card);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.figma-cta-content {
    width: min(1154px, 100% - 40px);
    position: relative;
    z-index: 1;
    text-align: center;
}

.figma-cta-content h2 {
    margin: 0 0 20px;
    color: var(--figma-white);
    font-size: 64px;
    font-family: Gabarito, sans-serif;
    font-weight: 500;
    line-height: 72px;
    overflow-wrap: break-word;
}

.figma-cta-content p {
    width: min(908px, 100%);
    margin: 0 auto 52px;
    color: #99a1af;
    font-size: 16px;
    font-family: Arial, sans-serif;
    font-weight: 400;
    line-height: 24px;
    overflow-wrap: break-word;
}

.figma-cta-content div {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.figma-cta-btn {
    width: 202px;
    height: 44px;
    font-size: 16px;
    line-height: 28px;
}

.figma-cta-glow {
    width: 384px;
    height: 384px;
    position: absolute;
    border-radius: 999px;
    filter: blur(64px);
    pointer-events: none;
}

.figma-cta-glow-left {
    left: -61px;
    bottom: -158px;
    opacity: 0.05;
    background: #2b7fff;
}

.figma-cta-glow-right {
    right: -292px;
    top: -78px;
    opacity: 0.19;
    background: #ad46ff;
}

.figma-footer {
    min-height: 474px;
    padding: 55px 100px 32px;
    background: linear-gradient(135deg, #59168b 0%, #1c398e 50%, #59168b 100%);
    text-align: center;
}

.figma-footer > img {
    width: 315px;
    height: 60px;
    margin: 0 auto 24px;
    object-fit: contain;
}

.figma-footer > p {
    max-width: 518px;
    margin: 0 auto 48px;
    color: #e9d4ff;
    font-size: 16px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 24px;
    overflow-wrap: break-word;
}

.figma-socials {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.figma-socials a {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 8px;
    transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.figma-socials a:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.figma-socials img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.figma-footer-contact {
    display: flex;
    justify-content: center;
    gap: 24px;
    color: #e9d4ff;
    font-size: 16px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 24px;
    overflow-wrap: break-word;
}

.figma-footer-contact span + span,
.figma-footer-bottom nav a + a {
    padding-left: 24px;
    border-left: 1px solid #ffffff;
}

.figma-footer-bottom {
    max-width: 1240px;
    margin: 63px auto 0;
    padding-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.40);
    color: #dab2ff;
    font-size: 16px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 24px;
    overflow-wrap: break-word;
}

.figma-footer-bottom nav {
    display: flex;
    gap: 24px;
}

.figma-footer-bottom a {
    color: #e9d4ff;
    text-decoration: none;
}

@keyframes figma-fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes figma-enter-down {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes figma-testimonial-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-760px);
    }
}

@media (max-width: 1180px) {
    .figma-bundles-nav {
        height: auto;
        min-height: 80px;
        grid-template-columns: 1fr;
        justify-items: center;
        border-radius: 32px;
        padding: 24px;
    }

    .figma-featured-card {
        grid-template-columns: 1fr;
    }

    .figma-featured-image {
        width: 100%;
    }

    .figma-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .figma-grow-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .figma-grow-grid article::after {
        display: none;
    }
}

@media (max-width: 720px) {
    .figma-bundles-links {
        flex-wrap: wrap;
        gap: 8px;
    }

    .figma-bundles-links a {
        font-size: 15px;
        line-height: 22px;
        padding: 8px 14px;
    }

    .figma-hero {
        margin-top: 82px;
    }

    .figma-hero h1 span,
    .figma-hero h1 em {
        font-size: 42px;
        line-height: 50px;
    }

    .figma-hero p {
        font-size: 17px;
    }

    .figma-featured-card {
        margin-top: 80px;
        padding: 20px;
    }

    .figma-featured-image {
        height: 300px;
    }

    .figma-featured-list,
    .figma-featured-actions,
    .figma-product-actions {
        grid-template-columns: 1fr;
    }

    .figma-card-grid,
    .figma-grow-grid {
        grid-template-columns: 1fr;
    }

    .figma-product-card {
        height: auto;
        min-height: 433px;
    }

    .figma-cta-content h2 {
        font-size: 40px;
        line-height: 48px;
    }

    .figma-cta-content div,
    .figma-footer-contact,
    .figma-footer-bottom,
    .figma-footer-bottom nav {
        flex-direction: column;
    }

    .figma-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .figma-bundles *,
    .figma-bundles *::before,
    .figma-bundles *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==================== WORKING SHOP UX ==================== */
.nav-actions { position: relative; }
.header-signin-cta,
.nav-cta {
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 18px;
    border-radius: 999px;
    background: #6147BD;
    color: #fff;
    text-decoration: none;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
    width: 110px;
}
.header-signin-cta:hover,
.nav-cta:hover {
    transform: translateY(-1px);
    background: #7358d5;
    box-shadow: 0 12px 28px rgba(97, 71, 189, 0.35);
}
.cart-btn,
.nav-cart,
.wishlist-btn {
    position: relative;
}
.wishlist-btn { color: #fff; text-decoration: none; }
.wishlist-heart { font-size: 22px; line-height: 1; }
.nav-count-badge,
#cart-count,
#wishlist-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #FFCD0F;
    color: #0A0A0A;
    font: 700 11px/18px Inter, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.profile-menu { position: relative; }
.nav-user { display: none; }
.user-menu.profile-menu { display: flex; align-items: center; }
html.auth-preloaded .header-signin-cta,
html.auth-preloaded .nav-cta[href="signin.php"] {
    display: none !important;
}
html.auth-preloaded .nav-user,
html.auth-preloaded .user-menu.profile-menu {
    display: flex !important;
}
.profile-menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-radius: 999px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease;
}
.profile-menu-toggle:hover { background: rgba(97, 71, 189, 0.28); transform: translateY(-1px); }
.profile-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    min-width: 168px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(8, 8, 22, 0.96);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    z-index: 2000;
}
.profile-menu.is-open .profile-dropdown,
.profile-menu:hover .profile-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.profile-dropdown a,
.profile-dropdown button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #E9D4FF;
    text-align: left;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
    font: 500 14px/20px Inter, sans-serif;
    cursor: pointer;
}
.profile-dropdown a:hover,
.profile-dropdown button:hover { background: rgba(97, 71, 189, 0.22); color: #fff; }
.profile-dropdown .nav-menu-icon,
.profile-dropdown a i,
.profile-dropdown button i {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  opacity: 0.75;
}
.nav-search { position: relative; }
.nav-search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(380px, 92vw);
    padding: 6px;
    border: 1px solid rgba(111, 75, 255, 0.2);
    border-radius: 18px;
    background: rgba(6, 6, 18, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255,255,255,0.04);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(.98);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    z-index: 2100;
}
.nav-search-suggestions.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.nav-search-suggestion {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 10px;
    align-items: center;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #fff;
    text-align: left;
    cursor: pointer;
    transition: background 130ms ease;
}
.nav-search-suggestion:hover,
.nav-search-suggestion.is-focused { background: rgba(111, 75, 255, 0.18); }
.nav-search-suggestion img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.nss-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nss-name { color: #f0eeff; font: 500 13.5px/1.3 Inter, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nss-meta { display: flex; align-items: center; gap: 5px; }
.nss-type-badge { font: 600 10px/1 Inter, sans-serif; letter-spacing: .04em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; }
.nss-type-product { background: rgba(99,102,241,.18); color: #a5b4fc; }
.nss-type-bundle { background: rgba(111,75,255,.2); color: #c4b5fd; }
.nss-cat { color: #7e7a99; font: 400 11px/1 Inter, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nss-price { color: #c4b5fd; font: 700 13px/1 Inter, sans-serif; white-space: nowrap; flex-shrink: 0; }
.nss-section-label { padding: 8px 10px 4px; color: #5c5880; font: 600 10px/1 Inter, sans-serif; letter-spacing: .07em; text-transform: uppercase; }
.nss-section-label em { font-style: normal; color: #9892c8; }
.nss-trends { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 6px 8px; }
.nss-trend-pill { border: 1px solid rgba(111,75,255,.3); border-radius: 999px; background: rgba(111,75,255,.1); color: #c4b5fd; padding: 5px 12px; font: 500 12px/1 Inter, sans-serif; cursor: pointer; transition: background 130ms ease; }
.nss-trend-pill:hover { background: rgba(111,75,255,.25); }
.nss-view-all { display: block; margin: 4px 4px 2px; padding: 9px 12px; border-radius: 10px; background: rgba(111,75,255,.08); border: 1px solid rgba(111,75,255,.18); color: #a78bfa; font: 500 12.5px/1 Inter, sans-serif; text-decoration: none; text-align: center; transition: background 130ms ease; }
.nss-view-all:hover { background: rgba(111,75,255,.18); }
.nss-view-all em { font-style: normal; }
.nss-empty-hint { padding: 6px 10px 8px; color: #6e6a8a; font: 400 12px/1.4 Inter, sans-serif; }
.nss-empty-hint a { color: #a78bfa; text-decoration: underline; }
.nss-loading { display: flex; align-items: center; gap: 7px; padding: 14px 12px; }
.nss-loading span { display: block; width: 6px; height: 6px; border-radius: 50%; background: rgba(167,139,250,.5); animation: nss-pulse 1s ease-in-out infinite; }
.nss-loading span:nth-child(2) { animation-delay: .15s; }
.nss-loading span:nth-child(3) { animation-delay: .3s; }
@keyframes nss-pulse { 0%,100%{opacity:.35;transform:scale(.8)} 50%{opacity:1;transform:scale(1)} }
.nav-search-empty { padding: 14px; color: #9EA1A6; font: 400 13px/18px Inter, sans-serif; }
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    opacity: 0;
    visibility: hidden;
    transition: opacity 220ms ease, visibility 220ms ease;
    z-index: 3000;
}
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 94vw);
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #080816;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: -24px 0 80px rgba(0, 0, 0, 0.45);
    transform: translateX(102%);
    transition: transform 260ms cubic-bezier(.2, .8, .2, 1);
    z-index: 3001;
}
.cart-drawer-open .cart-drawer-overlay { opacity: 1; visibility: visible; }
.cart-drawer-open .cart-drawer { transform: translateX(0); }
.cart-drawer-head,
.cart-drawer-foot { padding: 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.cart-drawer-foot { margin-top: auto; border-top: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 0; }
.cart-drawer-head { display: flex; align-items: center; justify-content: space-between; }
.cart-drawer-head span { display: block; color: #fff; font: 700 22px/28px Gabarito, sans-serif; }
.cart-drawer-head strong { color: #9EA1A6; font: 400 13px/20px Inter, sans-serif; }
.cart-drawer-close {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
}
.cart-drawer-items { flex: 1; overflow: auto; padding: 16px 18px; }
.cart-drawer-empty { margin-top: 30px; text-align: center; color: #9EA1A6; font: 400 15px/24px Inter, sans-serif; }
.cart-drawer-item {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cart-drawer-item img { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; }
.cart-drawer-item h4 { margin: 0 0 4px; color: #F5F5F5; font: 600 15px/20px Inter, sans-serif; }
.cart-drawer-item p { margin: 0 0 6px; color: #9EA1A6; font: 400 12px/18px Inter, sans-serif; text-transform: capitalize; }
.cart-drawer-item strong { display: block; margin-bottom: 8px; color: #E9D4FF; font: 700 14px/20px Inter, sans-serif; }
.cart-drawer-qty { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cart-drawer-qty button {
    min-width: 28px;
    height: 28px;
    border: 1px solid rgba(97, 71, 189, 0.8);
    border-radius: 999px;
    background: rgba(97, 71, 189, 0.16);
    color: #fff;
    cursor: pointer;
}
.cart-drawer-qty button:last-child { padding: 0 10px; width: auto; }
.cart-drawer-total { display: flex; align-items: center; justify-content: space-between; color: #fff; font: 600 16px/24px Inter, sans-serif; }
.cart-drawer-total strong { color: #F5F5F5; }
.cart-drawer-message { min-height: 20px; color: #E9D4FF; font: 400 13px/20px Inter, sans-serif; }
.cart-drawer-message a { color: #fff; font-weight: 700; }
.cart-drawer-checkout {
    width: 100%;
    height: 46px;
    border: 1px solid rgba(238, 238, 238, 0.2);
    border-radius: 999px;
    background: #6147BD;
    color: #fff;
    font: 700 15px/22px Inter, sans-serif;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease;
}
.cart-drawer-checkout:hover { transform: translateY(-1px); background: #7358d5; }
.figma-bundles button.figma-btn,
.figma-bundles button.figma-btn-sm { border: 0; cursor: pointer; }
.figma-bundles button.figma-btn-outline,
.figma-bundles button.figma-btn-sm.figma-btn-outline { border: 0.8px solid #6147BD; background: transparent; }

/* ── Search results page ───────────────────────────────────────────────────── */
.search-results-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 140px 20px 80px;
}

/* Hero */
.search-hero {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
    padding: 36px 20px 8px;
}
.search-hero::before {
    content: "";
    position: absolute;
    inset: 0 10% auto;
    height: 180px;
    background: radial-gradient(ellipse at center, rgba(97, 71, 189, 0.22), transparent 70%);
    pointer-events: none;
}
.search-hero h1 {
    position: relative;
    margin: 0 0 8px;
    color: #F5F5F5;
    font: 700 44px/1.15 Gabarito, sans-serif;
    letter-spacing: -0.02em;
}
.search-hero > p {
    position: relative;
    margin: 0 0 28px;
    color: #9EA1A6;
    font: 400 16px/1.6 Inter, sans-serif;
}

/* Inline search bar inside hero */
.search-page-bar { width: 100%; max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.search-page-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(12, 12, 18, 0.85);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    padding: 6px 6px 6px 18px;
    gap: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
    transition: border-color .2s, box-shadow .2s;
}
.search-page-input-wrap:focus-within {
    border-color: rgba(124, 89, 255, 0.65);
    box-shadow: 0 0 0 4px rgba(97, 71, 189, 0.16), 0 16px 48px rgba(0, 0, 0, 0.28);
}
.search-page-input-wrap > svg {
    width: 18px; height: 18px;
    color: #8b8fa3; flex-shrink: 0;
}
.search-page-input-wrap input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: #F5F5F5;
    font: 500 16px/1.4 Inter, sans-serif;
    padding: 12px 0;
}
.search-page-input-wrap input::placeholder { color: #6b7280; }
.search-page-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #6147BD, #7c3aed);
    border: none;
    border-radius: 14px;
    color: #fff;
    font: 600 14px/1 Inter, sans-serif;
    padding: 12px 18px;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .15s, box-shadow .15s;
}
.search-page-submit svg { width: 16px; height: 16px; }
.search-page-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(97, 71, 189, 0.35);
}

/* Controls row */
.search-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    background: rgba(255,255,255,0.02);
}
.search-results-meta {
    margin: 0;
    color: #9ca3af;
    font: 600 13px/1 Inter, sans-serif;
    white-space: nowrap;
}
.search-type-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.search-type-chip {
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: transparent;
    color: #9EA1A6;
    font: 500 13px/1 Inter, sans-serif;
    text-decoration: none;
    transition: border-color .2s, color .2s, background .2s;
}
.search-type-chip:hover { border-color: rgba(255,255,255,0.3); color: #fff; }
.search-type-chip.active {
    border-color: #6147BD;
    background: rgba(97,71,189,0.2);
    color: #C4B5FD;
}
.search-sort-form { display: flex; align-items: center; }
.search-sort-select {
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.05);
    color: #F5F5F5;
    font: 400 13px/1 Inter, sans-serif;
    outline: none;
    cursor: pointer;
    transition: border-color .2s;
}
.search-sort-select:focus { border-color: #7c59ff; }

/* Results grid — reuses homepage product card grid */
.search-results-grid {
    margin-bottom: 8px;
}
.search-results-grid .search-empty-state {
    grid-column: 1 / -1;
}
.search-results-grid .uxp-bundle-card {
    min-height: 100%;
}

/* Empty state */
.search-empty-state {
    grid-column: 1 / -1;
    padding: 60px 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
}
.search-empty-state h2 {
    color: #F5F5F5;
    font: 500 28px/38px Gabarito, sans-serif;
    margin: 0 0 8px;
}
.search-empty-state p {
    color: #9EA1A6;
    margin: 0 0 20px;
}
.search-empty-state a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 999px;
    background: #6147BD;
    color: #fff;
    font: 600 14px/20px Inter, sans-serif;
    text-decoration: none;
    transition: background .2s;
}
.search-empty-state a:hover { background: #7c59ff; }

/* Screen-reader only */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .search-hero h1 { font-size: 40px; line-height: 50px; }
}
@media (max-width: 620px) {
    .search-hero h1 { font-size: 30px; line-height: 1.2; }
    .search-controls { flex-direction: column; align-items: stretch; }
    .search-results-meta { order: -1; }
    .search-page-submit-label { display: none; }
    .search-page-submit { padding: 12px; }
}
/* Marketplace production extensions */
.nav-heart { font-size: 20px; line-height: 1; color: #fff; }
.mobile-nav-toggle { display: none; }
.mobile-nav-panel { display: none; }
.mobile-nav-backdrop { display: none; }
.navbar-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.hamburger-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
  height: 18px;
}
.hamburger-line {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.navbar.mobile-open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar.mobile-open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.navbar.mobile-open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-title-break { display: none; }
.shop-hero {
  max-width: 1200px;
  margin: 48px auto 24px;
  padding: 56px 24px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 32px;
  align-items: end;
}
.shop-hero.compact { grid-template-columns: 1fr; max-width: 960px; }
.shop-hero h1 {
  margin: 8px 0 12px;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: .95;
  letter-spacing: 0;
}
.shop-hero p, .listing-header p { color: #8c89a0; line-height: 1.7; }
.marketplace-kicker {
  display: inline-flex;
  color: #bdb4ff;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.shop-filter-panel, .profile-card {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
}
.shop-filter-panel { display: grid; gap: 12px; }
.shop-filter-panel input, .shop-filter-panel select,
.profile-card input, .profile-card textarea {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(5,5,25,.92);
  color: #fff;
  padding: 0 16px;
  outline: none;
}
.profile-card textarea { border-radius: 18px; padding-top: 14px; resize: vertical; }
.profile-card label { display: grid; gap: 8px; color: #d8d4ff; font-weight: 600; }
.profile-card { display: grid; gap: 16px; color: #fff; }
.profile-card a { color: #bdb4ff; text-decoration: none; }
.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.marketplace-category-strip { padding-top: 24px; }
.shop-listing { padding-top: 24px; }
.listing-header { max-width: 1200px; margin: 0 auto 24px; padding: 0 24px; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.marketplace-card { position: relative; }
.wishlist-float {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(5,5,25,.72);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(14px);
}
.pagination-row, .confirmation-actions { display: flex; justify-content: center; gap: 14px; margin: 32px 0; }
.marketplace-empty { grid-column: 1 / -1; color: #fff; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; }
/* ═══════════════════════════════════════════════════════════════════════════
   PREMIUM PRODUCT DETAIL MODAL - Redesigned for UX Pacific Shop
   ═══════════════════════════════════════════════════════════════════════════ */

.marketplace-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  /* Hidden state — opacity/visibility allows CSS transitions */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0s linear 0.28s;
}
.marketplace-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0s linear 0s;
}
.marketplace-modal.is-closing {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transition: opacity 0.2s ease-in,
              visibility 0s linear 0.2s;
}

/* Backdrop with blur — inherits parent opacity, no extra animation needed */
.marketplace-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 15, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* Modal Panel */
.marketplace-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1120px, 94vw);
  height: min(90vh, 800px);
  max-height: min(90vh, 800px);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(97, 71, 189, 0.25);
  border-radius: 24px;
  background: linear-gradient(165deg, #151521 0%, #0c0c14 40%, #080812 100%);
  color: #f5f5f7;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 50px 100px -20px rgba(0, 0, 0, 0.7),
    0 30px 60px -30px rgba(97, 71, 189, 0.25);
  overflow: hidden;
  /* Default resting state (for transitions) */
  transform: translateY(28px) scale(0.95);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.marketplace-modal.is-open .marketplace-modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.marketplace-modal.is-closing .marketplace-modal-panel {
  transform: translateY(10px) scale(0.97);
  opacity: 0;
  transition: transform 0.2s ease-in,
              opacity 0.18s ease-in;
}

/* Close Button - Premium Round Style */
.mp-modal-toolbar {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mp-toolbar-btn,
.marketplace-modal-close {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(20, 20, 32, 0.9);
  backdrop-filter: blur(8px);
  color: #e5e7eb;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mp-toolbar-btn:hover,
.marketplace-modal-close:hover {
  background: rgba(97, 71, 189, 0.3);
  border-color: rgba(97, 71, 189, 0.5);
  transform: scale(1.05);
}

.marketplace-modal-close {
  font-size: 22px;
  font-weight: 300;
}

/* Modal Content Container */
.marketplace-modal-content {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* Two-Column Layout */
.marketplace-modal-body {
  display: grid;
  grid-template-columns: minmax(320px, 52%) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  flex: 1;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

/* Scrollable columns inside modal */
.mp-scroll-col {
  min-height: 0;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.marketplace-modal-content.is-loading .marketplace-modal-body {
  animation: mpContentFadeIn 0.2s ease both;
}

.marketplace-modal-content--error .marketplace-modal-body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  color: #bdb4ff;
  text-align: center;
}

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

/* ─────────────────────────────────────────────────────────────────────────────
   LEFT COLUMN - Gallery
   ───────────────────────────────────────────────────────────────────────────── */
.mp-gallery-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #07070f;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0;
  overflow: hidden;
}
.mp-gallery-col::-webkit-scrollbar { display: none; }

.mp-gallery-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  height: 100%;
  min-height: 0;
}

/* Main Image Stage */
.mp-gallery-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  max-height: none;
  border-radius: 0;
  background: #07070f;
  border: none;
  overflow: hidden;
}

.mp-gallery-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 280px;
  padding: 24px;
}

.mp-gallery-frame img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.5));
  opacity: 0;
}
.mp-gallery-frame img.is-loaded { opacity: 1; }

.mp-gallery-frame img:hover {
  transform: scale(1.04);
}

/* Image Counter Badge — top-left, zoom button owns top-right */
.mp-gallery-counter {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: .03em;
  pointer-events: none;
}

/* Gallery Navigation Arrows — hidden until stage is hovered */
.mp-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  z-index: 3;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(12, 12, 20, 0.85);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.mp-gallery-stage:hover .mp-gallery-nav {
  opacity: 0.85;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}

.mp-gallery-nav:hover {
  background: rgba(97, 71, 189, 0.6);
  border-color: rgba(97, 71, 189, 0.7);
  opacity: 1;
  transform: translateY(-50%) scale(1.06);
}

.mp-gallery-prev { left: 12px; }
.mp-gallery-next { right: 12px; }

/* Gallery Dots */
.mp-gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
}

.mp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mp-dot:hover { background: rgba(255, 255, 255, 0.5); }

.mp-dot.is-active {
  background: #6147BD;
  box-shadow: 0 0 10px rgba(97, 71, 189, 0.8);
  transform: scale(1.2);
}

/* Thumbnail Strip — horizontal, pinned to bottom of image panel */
.mp-gallery-thumbs {
  display: flex;
  flex-direction: row;
  gap: 8px;
  padding: 12px 16px;
  order: 0;
  width: auto;
  flex-shrink: 0;
  overflow-x: auto;
  overflow-y: hidden;
  max-height: none;
  background: rgba(5, 5, 12, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  scrollbar-width: none;
}
.mp-gallery-thumbs::-webkit-scrollbar { display: none; }

.mp-thumb {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  padding: 0;
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s ease;
}

.mp-thumb:hover {
  border-color: rgba(97, 71, 189, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(97, 71, 189, 0.2);
}

.mp-thumb.is-active {
  border-color: #6147BD;
  box-shadow: 0 0 0 1px rgba(97, 71, 189, 0.5), 0 4px 16px rgba(97, 71, 189, 0.3);
}

.mp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─────────────────────────────────────────────────────────────────────────────
   RIGHT COLUMN - Product Details (Scrollable)
   ───────────────────────────────────────────────────────────────────────────── */
.mp-details-scroll {
  min-height: 0;
  max-height: 100%;
  overflow-y: auto !important;
  overflow-x: hidden;
  padding: 28px 28px 40px 28px;
  padding-top: 48px;
  scrollbar-width: thin;
  scrollbar-color: rgba(97, 71, 189, 0.6) rgba(255, 255, 255, 0.06);
}

.mp-details-scroll::-webkit-scrollbar {
  width: 6px;
}
.mp-details-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}
.mp-details-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6147BD, #4338ca);
  border-radius: 10px;
}
.mp-details-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #7c5ce7, #6147BD);
}

/* Remove gradient overlays - clean scroll */
.mp-details-scroll::before,
.mp-details-scroll::after {
  display: none;
}

.mp-details {
  min-width: 0;
  padding-bottom: 40px;
}

/* Loading Shimmer */
.mp-shimmer-block {
  display: none;
  gap: 12px;
  margin-top: 16px;
}

.mp-details.is-hydrating .mp-shimmer-block {
  display: grid;
}

.mp-shimmer-line {
  height: 14px;
  border-radius: 8px;
  background: linear-gradient(90deg,
    rgba(255,255,255,0.04) 0%,
    rgba(255,255,255,0.1) 50%,
    rgba(255,255,255,0.04) 100%);
  background-size: 200% 100%;
  animation: mpShimmer 1.2s ease-in-out infinite;
}

.mp-shimmer-line.short { width: 55%; }

@keyframes mpShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.uxp-product-card,
.shop-product-card,
.marketplace-card { cursor: pointer; }

/* ─────────────────────────────────────────────────────────────────────────────
   PRODUCT DETAILS - Tags, Title, Rating, Price
   ───────────────────────────────────────────────────────────────────────────── */

/* Category/Type Tags */
.mp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.mp-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.mp-tag-pill--muted {
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.03);
}

.mp-tag-pill--accent {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #6147BD, #4338ca);
}

/* Product Title */
.mp-details h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: #fff;
}

/* Star Rating */
.mp-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.mp-rating-row--loading .mp-rating-text {
  color: #fbbf24;
}

.mp-star {
  color: rgba(255, 255, 255, 0.15);
  font-size: 1rem;
  line-height: 1;
  transition: color 0.15s ease;
}

.mp-star.is-filled {
  color: #fbbf24;
}

.mp-rating-text {
  margin-left: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #9ca3af;
}

/* Description */
.mp-description,
.mp-about-text {
  margin: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #a1a1aa;
}

/* Price Row */
.mp-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.mp-price-row strong {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.mp-old-price {
  color: #555566;
  text-decoration: line-through;
  font-size: 1.1rem;
  font-weight: 500;
}

.mp-discount {
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(34,197,94,0.2), rgba(16,185,129,0.15));
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.25);
  letter-spacing: 0.02em;
}

/* ─────────────────────────────────────────────────────────────────────────────
   FORM FIELDS - Size, Quantity
   ───────────────────────────────────────────────────────────────────────────── */
.mp-field {
  margin-bottom: 18px;
}

.mp-field-label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Size Selector */
.mp-size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mp-size-btn {
  min-width: 52px;
  height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: #e5e7eb;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mp-size-btn:hover {
  border-color: rgba(97, 71, 189, 0.5);
  background: rgba(97, 71, 189, 0.1);
}

.mp-size-btn.is-active {
  border-color: #6147BD;
  background: rgba(97, 71, 189, 0.2);
  color: #fff;
  box-shadow: 0 0 12px rgba(97, 71, 189, 0.25);
}

/* Quantity Stepper */
.mp-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.mp-qty-btn {
  width: 46px;
  height: 46px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.mp-qty-btn:hover {
  background: rgba(97, 71, 189, 0.25);
}

.mp-qty-value {
  min-width: 50px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ACTION BUTTONS - Buy Now (primary) + Add to Cart (secondary)
   ───────────────────────────────────────────────────────────────────────────── */
.mp-action-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.mp-btn-buy {
  order: -1;  /* Buy Now always first */
  height: 58px;
  border: none;
  border-radius: 14px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #7c5ce7 0%, #6147BD 40%, #4338ca 100%);
  box-shadow: 0 8px 28px rgba(97, 71, 189, 0.45), 0 2px 8px rgba(0,0,0,0.3);
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}

.mp-btn-buy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.2s;
}

.mp-btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(97, 71, 189, 0.55), 0 4px 12px rgba(0,0,0,0.4);
}

.mp-btn-buy:hover::before { opacity: 1; }

.mp-btn-cart {
  height: 50px;
  border-radius: 14px;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.04);
  color: #e5e7eb;
  transition: all 0.2s ease;
}

.mp-btn-cart:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  transform: translateY(-1px);
}

.mp-btn-cart:disabled,
.mp-btn-buy:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.mp-btn-cart.is-loading,
.mp-btn-buy.is-loading {
  position: relative;
  color: transparent;
}

.mp-btn-cart.is-loading::after,
.mp-btn-buy.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btnSpin 0.6s linear infinite;
}

@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

/* Trust strip below buttons */
.mp-trust-strip {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 22px;
  padding: 14px 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mp-trust-item {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 500;
  color: #9ca3af;
  text-align: center;
  padding: 0 4px;
}

.mp-trust-item + .mp-trust-item {
  border-left: 1px solid rgba(255,255,255,0.06);
}

.mp-trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(97, 71, 189, 0.12);
  border: 1px solid rgba(97, 71, 189, 0.2);
  color: #a78bfa;
  margin-bottom: 2px;
}

.mp-trust-icon svg { width: 15px; height: 15px; }

/* Inline description block (shown directly below price) */
.mp-desc-inline {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-left: 2px solid rgba(124, 107, 196, 0.45);
  border-radius: 0 8px 8px 0;
  background: rgba(97, 71, 189, 0.055);
}

.mp-desc-inline .mp-about-text {
  margin: 0;
  font-size: 0.875rem;
  color: #b0adc0;
  line-height: 1.65;
}

/* Lower panels section (always visible, below action buttons) */
.mp-lower-panels {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* View full product page link */
.mp-view-full-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  margin-bottom: 24px;
  padding: 0;
  border: none;
  background: none;
  color: #6147BD;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s ease, gap 0.18s ease;
}

.mp-view-full-btn:hover {
  color: #8b5cf6;
  gap: 10px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   PRODUCT INFORMATION CARD (Compact)
   ───────────────────────────────────────────────────────────────────────────── */
.mp-info-card {
  margin: 0 0 16px;
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(0,0,0,0.15) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mp-info-card-note {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #9ca3af;
}

.mp-info-card-title {
  margin: 0 0 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
}

.mp-info-card-table {
  margin: 0;
}

.mp-info-card-table .mp-info-row {
  display: grid;
  grid-template-columns: minmax(120px, 42%) 1fr;
  gap: 12px 16px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mp-info-card-table .mp-info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mp-info-card-table .mp-info-row:first-child {
  padding-top: 0;
}

.mp-info-card-table .mp-info-label {
  font-size: 0.8125rem;
  color: #9ca3af;
  font-weight: 500;
  font-weight: 400;
}

.mp-info-card-table .mp-info-value {
  font-size: 0.8125rem;
  color: #f3f4f6;
  font-weight: 500;
  text-align: right;
}

/* Related Products - Compact Version */
.mp-related--compact {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mp-related--compact .mp-related-head h3 {
  font-size: 0.9375rem;
}

/* Product information panels */
.mp-panel {
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.mp-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}
.mp-panel-icon {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  color: #7c6bc4;
  opacity: 0.85;
}
.mp-panel-head-text {
  flex: 1;
  min-width: 0;
}
.mp-panel-head h3 {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #e2e0ea;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.mp-panel-sub {
  display: block;
  margin-top: 2px;
  font-size: 0.7rem;
  color: #6b7280;
  letter-spacing: 0.01em;
}
.mp-panel--about {
  padding-bottom: 0;
}
.mp-panel--about .mp-about-text {
  padding: 14px 16px 16px;
}

.mp-info-table {
  margin: 0;
  padding: 0;
}
.mp-info-row {
  display: grid;
  grid-template-columns: minmax(130px, 38%) 1fr;
  gap: 12px 16px;
  padding: 12px 16px;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  align-items: start;
}
.mp-info-row:last-child {
  border-bottom: none;
}
.mp-info-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}
.mp-info-label,
.mp-info-value {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.mp-info-label {
  color: #9ca3af;
  font-weight: 500;
}
.mp-info-value {
  color: #f3f4f6;
  font-weight: 500;
  text-align: right;
  word-break: break-word;
}

.mp-bullet-list {
  margin: 0;
  padding: 12px 16px 14px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.mp-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #c4c0d4;
}
.mp-bl-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 2px;
}

.mp-panel--tags .mp-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 16px 16px;
}
.mp-tag {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  color: #d8d4ff;
  background: rgba(109, 61, 255, 0.15);
  border: 1px solid rgba(109, 61, 255, 0.28);
}

.mp-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.mp-btn-ghost {
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #e5e7eb;
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.mp-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

/* Related products — horizontal carousel */
.mp-related {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mp-related-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.mp-related-kicker {
  margin: 0 0 4px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a78bfa;
}
.mp-related-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}
.mp-related-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.mp-related-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.mp-related-arrow:hover {
  background: rgba(109, 61, 255, 0.25);
  border-color: rgba(167, 139, 250, 0.5);
  transform: scale(1.05);
}
.mp-related-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 4px 12px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #6d3dff rgba(255, 255, 255, 0.06);
}
.mp-related-track::-webkit-scrollbar {
  height: 6px;
}
.mp-related-track::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #6d3dff, #ec4899);
  border-radius: 99px;
}
.mp-related-item {
  flex: 0 0 min(200px, 72vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  text-align: left;
  cursor: pointer;
  font: inherit;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.mp-related-item:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow: 0 16px 40px rgba(109, 61, 255, 0.22);
}
.mp-related-item-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1a1a24;
}
.mp-related-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.mp-related-item:hover .mp-related-item-media img {
  transform: scale(1.06);
}
.mp-related-item-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 9, 18, 0.85) 0%, transparent 55%);
}
.mp-related-item-cat {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(109, 61, 255, 0.85);
  color: #fff;
}
.mp-related-item-body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mp-related-item-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #f3f4f6;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mp-related-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mp-related-item-meta strong {
  font-size: 0.9375rem;
  color: #c4b5fd;
}
.mp-related-item-meta em {
  font-style: normal;
  font-size: 0.75rem;
  color: #fbbf24;
}

/* ─────────────────────────────────────────────────────────────────────────────
   BUNDLE POPUP — dedicated components
   ───────────────────────────────────────────────────────────────────────────── */

/* Savings badge beside price */
.mp-bundle-savings {
  display: inline-flex;
  align-items: center;
  background: rgba(16, 185, 129, 0.13);
  color: #4ade80;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* What's Included box */
.mp-bundle-box {
  background: rgba(111, 75, 255, 0.07);
  border: 1px solid rgba(111, 75, 255, 0.22);
  border-radius: 13px;
  padding: 15px 16px;
  margin: 0 0 20px;
}
.mp-bundle-box-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #a89fff;
}
.mp-bundle-pkg-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.8;
}
.mp-bundle-count {
  margin-left: auto;
  font-size: 0.68rem;
  background: rgba(111, 75, 255, 0.2);
  color: #b9b0ff;
  padding: 2px 9px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.mp-bundle-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}
.mp-bundle-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.84rem;
  color: #e2e0f0;
  line-height: 1.45;
}
.mp-bundle-check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  color: #7c5fff;
}
.mp-bundle-checklist-more {
  color: #9792b3 !important;
  font-style: italic;
}
.mp-bundle-checklist-more .mp-bundle-check {
  opacity: 0.45;
}

/* Everything Inside grid panel */
.mp-bundle-items-panel .mp-panel-head {
  padding: 16px 20px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mp-bundle-items-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 14px 16px 18px;
}
.mp-bundle-item-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 9px;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.mp-bundle-item-card:hover {
  background: rgba(111, 75, 255, 0.07);
  border-color: rgba(111, 75, 255, 0.2);
}
.mp-bundle-item-num {
  font-size: 0.6rem;
  font-weight: 800;
  color: #7c5fff;
  opacity: 0.75;
  line-height: 1.75;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}
.mp-bundle-item-label {
  font-size: 0.8rem;
  color: #d4d0e8;
  line-height: 1.4;
}

/* Related item old-price */
.mp-related-item-old {
  font-style: normal;
  font-size: 0.7rem;
  color: #6b7280;
  text-decoration: line-through;
}

/* Responsive: single column items on very narrow screens */
@media (max-width: 420px) {
  .mp-bundle-items-grid { grid-template-columns: 1fr; }
}

.marketplace-error {
  padding: 24px;
  text-align: center;
  color: #fca5a5;
}

.marketplace-modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 24px; }
.prod-actions a.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.review-row, .related-chip {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  padding: 12px;
}
.marketplace-related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.related-chip { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 10px; color: #fff; text-align: left; cursor: pointer; }
.related-chip img { width: 54px; height: 54px; object-fit: cover; border-radius: 10px; }
.bundle-carousel-shell { max-width: 1240px; margin: 0 auto; padding: 0 54px; position: relative; }
.bundle-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 360px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.bundle-carousel > * { scroll-snap-align: start; }
.carousel-nav {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
[data-carousel-prev] { left: 4px; }
[data-carousel-next] { right: 4px; }
.confirmation-panel, .account-grid { max-width: 960px; margin: 56px auto; padding: 24px; color: #fff; }
.confirmation-panel { text-align: center; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: rgba(255,255,255,.04); }
.delivery-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 28px 0; }
.delivery-timeline span { border-radius: 999px; padding: 10px; background: rgba(255,255,255,.06); color: #8c89a0; }
.delivery-timeline span.active { background: #6147bd; color: #fff; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; }
body.modal-open { overflow: hidden; }
/* nss-info already handles inner layout; legacy em rule kept for fallback */
.nav-search-suggestion em { display: inline; color: #8c89a0; font-style: normal; font-size: .72rem; }
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 16px 24px;
  background: rgba(4, 4, 12, 0.72);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.search-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.search-modal-backdrop {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}
.search-modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(82vh, 760px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(120% 80% at 50% -20%, rgba(97, 71, 189, 0.28), transparent 55%),
    linear-gradient(180deg, rgba(22, 22, 30, 0.98) 0%, rgba(10, 10, 14, 0.98) 100%);
  color: #f5f5f5;
  box-shadow:
    0 0 0 1px rgba(97, 71, 189, 0.12),
    0 24px 80px rgba(0, 0, 0, 0.55);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.search-modal.is-open .search-modal-panel {
  transform: translateY(0) scale(1);
}
.search-modal-header {
  padding: 22px 22px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.search-modal-kicker {
  margin: 0 0 4px;
  color: #a78bfa;
  font: 600 11px/1 Inter, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.search-modal-panel h2 {
  margin: 0 0 16px;
  color: #fff;
  font: 700 22px/1.2 Gabarito, Inter, sans-serif;
  letter-spacing: -0.02em;
}
.search-modal-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 8px 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-modal-box:focus-within {
  border-color: rgba(167, 139, 250, 0.65);
  box-shadow: 0 0 0 4px rgba(97, 71, 189, 0.18);
}
.search-modal-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.55;
}
.search-modal-box input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f8fafc;
  font: 500 16px/1.4 Inter, sans-serif;
}
.search-modal-box input::placeholder { color: #6b7280; }
.search-modal-box input::-webkit-search-cancel-button,
.search-modal-box input::-webkit-search-decoration,
.search-page-input-wrap input::-webkit-search-cancel-button,
.search-page-input-wrap input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.search-modal-submit {
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #6147bd, #7c3aed);
  color: #fff;
  font: 600 13px/1 Inter, sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.search-modal-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(97, 71, 189, 0.35);
}
.search-modal-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 12px 2px 0;
  color: #6b7280;
  font: 500 11px/1 Inter, sans-serif;
}
.search-modal-shortcuts kbd {
  display: inline-block;
  margin-right: 4px;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #9ca3af;
  font: 600 10px/1.2 ui-monospace, monospace;
  text-transform: uppercase;
}
.search-modal-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
}
.search-modal-results {
  padding: 18px 22px 22px;
}
.search-modal-results.is-loading {
  min-height: 120px;
}
.search-modal-section-label {
  margin: 0 0 12px;
  color: #9ca3af;
  font: 700 11px/1 Inter, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.search-modal-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin: 8px 0 0;
  padding: 12px 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: none;
  color: #a78bfa;
  font: 600 14px/1 Inter, sans-serif;
  justify-content: flex-end;
  cursor: pointer;
  transition: color 0.15s ease, gap 0.15s ease;
}
.search-modal-view-all:hover {
  color: #c4b5fd;
  gap: 10px;
}
.search-modal-trends {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}
.search-trend-pill {
  border: 1px solid rgba(167, 139, 250, 0.35);
  border-radius: 999px;
  background: rgba(97, 71, 189, 0.12);
  color: #e9d5ff;
  padding: 8px 14px;
  font: 500 13px/1 Inter, sans-serif;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.search-trend-pill:hover {
  background: rgba(97, 71, 189, 0.22);
  border-color: rgba(167, 139, 250, 0.55);
  transform: translateY(-1px);
}
.search-result-count {
  color: #6b7280;
  font: 500 13px/1.4 Inter, sans-serif;
  margin-bottom: 14px;
}
.search-modal-result {
  width: 100%;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  color: #f5f5f5;
  padding: 12px;
  margin-bottom: 10px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.search-modal-result:hover,
.search-modal-result.is-active {
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(97, 71, 189, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}
.search-modal-result img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
}
.search-modal-result strong {
  display: block;
  color: #f8fafc;
  font: 600 15px/1.35 Inter, sans-serif;
}
.search-modal-result em {
  display: block;
  margin-top: 4px;
  color: #9ca3af;
  font: normal 12px/1.4 Inter, sans-serif;
}
.search-modal-result b {
  color: #f8fafc;
  font: 700 16px/1 Inter, sans-serif;
  white-space: nowrap;
}
.search-modal-empty {
  padding: 28px 12px;
  text-align: center;
  color: #9ca3af;
  font: 500 14px/1.5 Inter, sans-serif;
}
.search-modal-skeleton {
  display: grid;
  gap: 10px;
}
.search-modal-skeleton-line {
  height: 72px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.09) 50%, rgba(255,255,255,0.04) 100%);
  background-size: 200% 100%;
  animation: searchShimmer 1.2s ease-in-out infinite;
}
@keyframes searchShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.category-main {
  background: #03030d;
  color: #f5f5f5;
}
.category-hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 128px 24px 72px;
  text-align: center;
}
.category-kicker { display: none; }
.category-hero h1 {
  margin: 0 0 22px;
  color: #fff;
  font: 800 44px/1.12 Gabarito, Inter, sans-serif;
  letter-spacing: 0;
}
.category-hero p {
  margin: 0 auto;
  max-width: 580px;
  color: #a2a0b4;
  font: 400 16px/1.7 Inter, sans-serif;
}
.category-grid-section {
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 24px 88px;
}
.category-grid-final {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.category-final-card {
  min-height: 480px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: #050510;
  color: #f5f5f5;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease;
}
.category-final-card:hover,
.category-final-card.is-active {
  transform: translateY(-4px);
  border-color: rgba(160,32,255,.65);
}
.category-final-media {
  position: relative;
  min-height: 315px;
  overflow: hidden;
}
.category-final-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.94);
}
.category-final-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 10px;
  padding: 10px 16px;
  background: rgba(160,32,255,.72);
  color: #fff;
  font: 700 13px/1 Inter, sans-serif;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}
.category-final-content {
  padding: 30px 32px 26px;
  position: relative;
}
.category-final-content h2 {
  margin: 0 0 18px;
  color: #fff;
  font: 800 28px/1.1 Gabarito, Inter, sans-serif;
}
.category-final-content p {
  margin: 0;
  color: #a2a0b4;
  font: 400 15px/1.65 Inter, sans-serif;
}
.category-final-arrow {
  position: absolute;
  right: 32px;
  top: 34px;
  color: #a020ff;
  font: 500 28px/1 Inter, sans-serif;
}
.category-products {
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.category-products-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.category-products-heading h2 { color: #fff; margin: 0; }
.category-products-heading a { color: #a020ff; text-decoration: none; }
@media (max-width: 900px) {
  .shop-hero, .account-grid { grid-template-columns: 1fr; }
  
  /* ─── Modal Tablet/Mobile Layout ─── */
  .marketplace-modal {
    padding: 12px;
  }
  
  .marketplace-modal-panel {
    width: 94vw;
    height: min(92vh, 800px);
    max-height: 92vh;
    border-radius: 20px;
  }
  
  .marketplace-modal-body {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 38%) minmax(0, 1fr);
    overflow: hidden;
  }
  
  .mp-gallery-col {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px;
    padding-top: 52px;
    max-height: none;
    overflow-y: auto;
  }

  .mp-gallery-inner {
    flex-direction: column;
    gap: 12px;
  }

  .mp-gallery-stage {
    flex: none;
    width: 100%;
    min-height: 180px;
    max-height: 280px;
  }

  .mp-gallery-frame {
    min-height: 180px;
    padding: 12px;
  }

  .mp-gallery-thumbs {
    flex-direction: row;
    order: 0;
    width: auto;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 0 0;
    scrollbar-width: none;
  }

  .mp-gallery-thumbs::-webkit-scrollbar { display: none; }

  .mp-thumb {
    width: 54px;
    height: 54px;
  }
  
  .mp-details-scroll {
    padding: 20px 16px 28px;
    overflow-y: auto !important;
    min-height: 0;
    max-height: 100%;
  }
  
  .mp-details h2 {
    font-size: 1.25rem;
  }
  
  .mp-action-stack {
    grid-template-columns: 1fr;
  }
  
  .mp-btn-cart,
  .mp-btn-buy {
    width: 100%;
  }
  
  .mp-info-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  
  .mp-info-card-table .mp-info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .mp-info-card-table .mp-info-value {
    text-align: left;
  }
  
  .three-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .three-col, .marketplace-related, .marketplace-modal-actions, .delivery-timeline { grid-template-columns: 1fr; }
  .listing-header { display: block; }
  .bundle-carousel-shell { padding: 0 16px; }
  .carousel-nav { display: none; }
  
  /* ─── Modal Small Mobile Layout ─── */
  .marketplace-modal {
    padding: 8px;
  }
  
  .marketplace-modal-panel {
    width: 100%;
    max-width: calc(100vw - 16px);
    height: min(94vh, 800px);
    max-height: 94vh;
    border-radius: 18px;
  }
  
  .marketplace-modal-body {
    grid-template-rows: minmax(0, 36%) minmax(0, 1fr);
  }
  
  .mp-modal-toolbar {
    top: 10px;
    right: 10px;
    gap: 6px;
  }
  
  .mp-toolbar-btn,
  .marketplace-modal-close {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  
  .mp-gallery-col {
    padding: 12px;
    padding-top: 48px;
    max-height: none;
    overflow-y: auto;
  }

  .mp-gallery-inner {
    flex-direction: column;
  }

  .mp-gallery-stage {
    flex: none;
    width: 100%;
    min-height: 150px;
    max-height: 220px;
  }

  .mp-gallery-thumbs {
    flex-direction: row;
    order: 0;
    width: auto;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  .mp-gallery-nav {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .mp-gallery-counter {
    padding: 4px 8px;
    font-size: 0.7rem;
  }

  .mp-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
  }
  
  .mp-details-scroll {
    padding: 16px 12px 28px;
    overflow-y: auto !important;
    min-height: 0;
  }
  
  .mp-tags {
    gap: 6px;
  }
  
  .mp-tag-pill {
    padding: 4px 10px;
    font-size: 0.7rem;
  }
  
  .mp-details h2 {
    font-size: 1.15rem;
    margin-bottom: 8px;
  }
  
  .mp-price-row {
    margin-bottom: 16px;
    padding-bottom: 16px;
  }
  
  .mp-price-row strong {
    font-size: 1.5rem;
  }
  
  .mp-size-btn {
    min-width: 44px;
    height: 40px;
    padding: 0 12px;
  }
  
  .mp-qty-btn {
    width: 40px;
    height: 40px;
  }
  
  .mp-btn-cart,
  .mp-btn-buy {
    height: 48px;
    font-size: 0.875rem;
    border-radius: 12px;
  }
  
  .mp-info-card {
    padding: 14px 16px;
  }
  
  .mp-related-item {
    min-width: 160px;
  }
}
@media (max-width: 760px) {
  .search-modal { padding: 16px 12px; align-items: flex-start; }
  .search-modal-panel { max-height: calc(100vh - 32px); border-radius: 20px; }
  .search-modal-header { padding: 16px 16px 12px; }
  .search-modal-panel h2 { font-size: 18px; margin-bottom: 12px; }
  .search-modal-box { min-height: 52px; padding: 0 6px 0 14px; }
  .search-modal-box input { font-size: 15px; }
  .search-modal-submit { padding: 9px 12px; font-size: 12px; }
  .search-modal-shortcuts { display: none; }
  .search-modal-results { padding: 14px 16px 18px; }
  .search-modal-result { grid-template-columns: 56px 1fr auto; gap: 10px; }
  .search-modal-result img { width: 56px; height: 56px; }
  .category-hero { padding-top: 88px; }
  .category-hero h1 { font-size: 34px; }
  .category-grid-final { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .navbar {
    top: 10px;
    padding: 0 10px;
    box-sizing: border-box;
    flex-direction: column;
    align-items: stretch;
  }

  .navbar-shell {
    width: 100%;
    max-width: calc(100vw - 20px);
    position: relative;
    z-index: 1002;
  }

  .nav-container {
    width: 100%;
    max-width: none;
    height: 64px;
    padding: 0 10px 0 16px;
    gap: 10px;
    box-sizing: border-box;
    border-radius: 24px;
    transition: border-radius 0.25s ease, border-color 0.25s ease;
  }

  .navbar.mobile-open .nav-container {
    border-radius: 24px 24px 0 0;
    border-bottom-color: transparent;
  }

  .nav-links {
    display: none !important;
  }

  .nav-actions {
    margin-left: auto;
    gap: 6px;
  }

  .nav-search {
    display: none !important;
  }

  .header-signin-cta,
  .profile-menu {
    display: none !important;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(4, 4, 15, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1001;
  }

  .navbar.mobile-open .mobile-nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav-panel {
    display: grid;
    gap: 4px;
    padding: 8px 12px 16px;
    background: rgba(20, 18, 30, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    border-radius: 0 0 24px 24px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.32s ease, opacity 0.22s ease, visibility 0.32s ease, padding 0.32s ease;
  }

  .navbar.mobile-open .mobile-nav-panel {
    max-height: 480px;
    opacity: 1;
    visibility: visible;
    padding: 10px 12px 18px;
  }

  .mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border: none;
    border-radius: 14px;
    background: transparent;
    color: #e8e6f5;
    font: 500 15px/1.2 Inter, sans-serif;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .mobile-nav-link i {
    font-size: 18px;
    width: 20px;
    flex-shrink: 0;
    opacity: 0.85;
  }

  .mobile-nav-link:hover,
  .mobile-nav-link:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    outline: none;
  }

  .mobile-nav-link.active {
    background: rgba(97, 71, 189, 0.22);
    color: #fff;
    border: 1px solid rgba(109, 61, 255, 0.35);
  }

  .mobile-nav-link.mobile-nav-cta {
    margin-top: 6px;
    justify-content: center;
    background: linear-gradient(135deg, #6147bd 0%, #7c59ff 100%);
    color: #fff;
    font-weight: 600;
    border: none;
  }

  .mobile-nav-link.mobile-nav-cta:hover {
    background: linear-gradient(135deg, #7055d4 0%, #8d6aff 100%);
  }

  .mobile-nav-link.mobile-nav-logout {
    color: #f5b0b0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 4px;
    padding-top: 14px;
    border-radius: 14px 14px 14px 14px;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }

  .hero-section {
    padding: 42px 14px;
  }

  .hero-container {
    padding: 64px 18px;
    border-radius: 24px;
  }

  .hero-title {
    font-size: clamp(34px, 11vw, 44px);
    line-height: 1.12;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  .hero-title br {
    display: none;
  }

  .hero-title .highlight-italic {
    display: block;
  }

  .hero-subtitle {
    font-size: 16px;
    max-width: 100%;
  }

  .hero-buttons {
    flex-wrap: wrap;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100% !important;
    max-width: 260px;
  }

  .section-heading {
    max-width: calc(100vw - 32px);
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(26px, 7vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.01em;
    padding: 0 12px;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .works-grid,
  .how-works .works-grid {
    grid-template-columns: 1fr !important;
    padding: 0 16px;
  }

  .shop-all-title {
    max-width: calc(100vw - 32px);
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(26px, 7vw, 42px) !important;
    letter-spacing: -0.01em !important;
    line-height: 1.15;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  body.shopAll .shop-all-title {
    max-width: calc(100vw - 32px);
    font-size: clamp(26px, 7vw, 42px) !important;
    letter-spacing: -0.01em !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .shop-all-title span {
    display: block;
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  body.shopAll .shop-all-title span {
    display: block;
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .mobile-title-break {
    display: block;
  }

  .shop-all-subtitle {
    padding: 0 16px;
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  body.shopAll .shop-all-subtitle {
    max-width: calc(100vw - 36px);
    font-size: 13px;
    line-height: 1.45;
    white-space: normal !important;
  }

  body.shopAll .shop-all-main,
  .category-products,
  .listing-page,
  .marketplace-shell {
    max-width: 100%;
    overflow-x: hidden;
  }

  body.shopAll .product-grid,
  body.shopAll .shop-all-grid,
  .product-grid,
  .shop-grid,
  .marketplace-grid {
    grid-template-columns: 1fr !important;
  }

  body.shopAll .product-card,
  .product-card,
  .prod-card,
  .marketplace-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .product-img,
  .prod-img,
  .card-image {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .product-img img,
  .prod-img img,
  .card-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }
}

/* ==================== PRODUCT PAGE MODERN OVERRIDES ==================== */
.product-page {
  max-width: 1240px;
  gap: 40px;
  padding: 64px 20px 40px;
}

.product-gallery .main-image {
  background: linear-gradient(165deg, #141422, #0f0f1a);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.product-gallery .main-image img {
  aspect-ratio: 4 / 4.2;
  object-fit: contain;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 60%);
  transition: opacity 0.28s ease;
}

.product-gallery .main-image img.fit-cover {
  object-fit: cover;
}

.product-gallery .main-image img.fit-contain {
  object-fit: contain;
}

.product-gallery .thumbnail-row .thumb.fit-cover {
  object-fit: cover;
}

.product-gallery .thumbnail-row .thumb.fit-contain {
  object-fit: contain;
}

.product-gallery .main-image {
  width: 100%;
  max-width: 560px;
}

.thumbnail-row { flex-wrap: wrap; }

.thumb {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 12px;
}

.modern-product-info {
  padding: 24px 24px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(20, 20, 35, 0.95), rgba(10, 10, 20, 0.95));
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.32);
}

.product-head-kicker {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.product-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.product-chip-muted {
  color: #c4b5fd;
  border-color: rgba(97, 71, 189, 0.35);
  background: rgba(97, 71, 189, 0.12);
}

.modern-product-info h1 {
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  margin-bottom: 10px;
}

.modern-product-info .description {
  color: #b8bfd1;
  margin-bottom: 12px;
}

.modern-product-info .rating { margin-bottom: 12px; }

.modern-product-info .price {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.product-config-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.product-config-card .option label,
.product-config-card .block label {
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  font-weight: 600;
}

.product-config-card select {
  border-radius: 12px;
  min-height: 44px;
}

.modern-product-buttons .product-page-btn {
  border-radius: 12px;
  min-height: 48px;
}

.right-trust { margin-top: 18px; }

.right-trust .trust-card {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.related-section .section-title {
  margin-bottom: 24px;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-related-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, #141424, #0d0d18);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.product-related-media { display: block; position: relative; }

.product-related-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.product-related-tag {
  position: absolute;
  left: 10px;
  top: 10px;
  background: rgba(8, 8, 18, 0.86);
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.7rem;
  padding: 5px 8px;
  border-radius: 999px;
}

.product-related-body { padding: 12px; }

.product-related-body h3 {
  font-size: 1rem;
  margin: 0 0 8px;
  line-height: 1.35;
}

.product-related-body p {
  margin: 0 0 10px;
  color: #a7aec2;
  font-size: 0.85rem;
  line-height: 1.45;
}

.product-related-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.product-related-price {
  font-weight: 700;
  color: #f3f4f6;
}

.product-related-price span {
  margin-left: 6px;
  color: #8f96ac;
  text-decoration: line-through;
  font-weight: 500;
  font-size: 0.8rem;
}

.product-related-rating {
  font-size: 0.8rem;
  color: #fbbf24;
}

.product-related-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.product-related-actions .small {
  min-height: 38px;
  font-size: 0.78rem;
  border-radius: 10px;
  padding: 8px 10px;
}

@media (max-width: 1100px) {
  .related-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .product-page {
    padding-top: 64px;
    gap: 22px;
  }
  .modern-product-info { padding: 16px; }
  .related-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .related-products-grid { grid-template-columns: 1fr; }
  .product-related-media img { height: 200px; }
  .product-related-actions { grid-template-columns: 1fr; }
}

/* ==================== PRODUCT DETAIL - Layout & Spacing Fixes ==================== */
.slide-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #f5f5f7;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Tabs should sit close to the top section and feel connected */
.product-extra {
  margin: 44px auto 0;
  padding: 0 20px 48px;
}

.product-tabs {
  margin-bottom: 16px;
  position: sticky;
  top: 112px;
  z-index: 30;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(3, 3, 11, 0.62);
}

.tab-box {
  padding: 22px 22px;
  border-radius: 20px;
}

.tab-box h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.feature-list {
  margin-top: 0;
  padding-left: 0;
}

.feature-bullets {
  margin: 0;
  padding-left: 18px;
}

/* Related section spacing (avoid large empty gaps) */
.related-section {
  margin: 44px auto 0;
}

.related-section .section-title {
  margin-bottom: 24px;
}

.empty-state {
  color: #9ca3af;
  font-size: 0.95rem;
  padding: 6px 0;
}

/* Mobile: keep tabs usable without horizontal scroll */
@media (max-width: 768px) {
  .product-extra {
    margin-top: 28px;
    padding-bottom: 36px;
  }
  .product-tabs {
    top: 88px;
    padding: 8px;
    flex-wrap: wrap;
    border-radius: 18px;
  }
  .tab-btn {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   PRODUCT PREVIEW ENHANCEMENTS  2026-06
   ═══════════════════════════════════════════════════════════════════ */

/* ── Quick-view hover overlay on every product card image ─────────── */
.uxp-product-media,
.uxp-bundle-image,
.bs-card-media { position: relative; overflow: hidden; }

.uxp-qv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,20,.52);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .22s ease;
  z-index: 2;
  pointer-events: none;
}
.uxp-product-card:hover .uxp-qv-overlay,
.uxp-bundle-card:hover .uxp-qv-overlay,
.bs-card:hover .uxp-qv-overlay { opacity: 1; pointer-events: auto; }

.uxp-qv-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.96);
  color: #0f0e1a;
  border: none;
  border-radius: 999px;
  padding: 9px 20px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .15s, transform .15s;
  white-space: nowrap;
}
.uxp-qv-btn:hover { background: #fff; transform: scale(1.06); }
.uxp-qv-btn svg { flex-shrink: 0; }

/* ── Type badge on cards ───────────────────────────────────────────── */
.uxp-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 5px;
  line-height: 1;
  margin-bottom: 4px;
}
.uxp-type-badge--digital  { background: rgba(97,71,189,.18); color: #a78bfa; border: 1px solid rgba(97,71,189,.35); }
.uxp-type-badge--physical { background: rgba(251,191,36,.13); color: #fbbf24; border: 1px solid rgba(251,191,36,.3); }
.uxp-type-badge--bundle   { background: rgba(16,185,129,.14); color: #34d399; border: 1px solid rgba(16,185,129,.3); }
.uxp-type-badge--freebie  { background: rgba(59,130,246,.14); color: #60a5fa; border: 1px solid rgba(59,130,246,.3); }

/* ── Format chips in modal ─────────────────────────────────────────── */
.mp-format-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 14px;
}
.mp-format-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid;
  line-height: 1;
}
.mp-format-chip--figma  { color: #ff7262; border-color: rgba(255,114,98,.35); background: rgba(255,114,98,.08); }
.mp-format-chip--canva  { color: #00c4cc; border-color: rgba(0,196,204,.35); background: rgba(0,196,204,.08); }
.mp-format-chip--zip    { color: #fbbf24; border-color: rgba(251,191,36,.35); background: rgba(251,191,36,.08); }
.mp-format-chip--pdf    { color: #f87171; border-color: rgba(248,113,113,.35); background: rgba(248,113,113,.08); }
.mp-format-chip--png    { color: #a78bfa; border-color: rgba(167,139,250,.35); background: rgba(167,139,250,.08); }
.mp-format-chip--xd     { color: #ff61f6; border-color: rgba(255,97,246,.35); background: rgba(255,97,246,.08); }
.mp-format-chip--sketch { color: #f6a623; border-color: rgba(246,166,35,.35); background: rgba(246,166,35,.08); }
.mp-format-chip--psd    { color: #31a8ff; border-color: rgba(49,168,255,.35); background: rgba(49,168,255,.08); }

/* ── Delivery badge in modal ───────────────────────────────────────── */
.mp-delivery-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  font-weight: 600;
  color: #34d399;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.25);
  border-radius: 8px;
  padding: 7px 12px;
  margin: 12px 0;
  width: 100%;
  box-sizing: border-box;
}
.mp-delivery-badge svg { flex-shrink: 0; opacity: .9; }
.mp-delivery-badge--physical { color: #fbbf24; background: rgba(251,191,36,.1); border-color: rgba(251,191,36,.25); }

/* ── Gallery fullscreen/zoom button ───────────────────────────────── */
.mp-gallery-zoom-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, opacity .15s;
  opacity: .65;
}
.mp-gallery-zoom-btn:hover { opacity: 1; background: rgba(97,71,189,.8); }

/* ── Lightbox overlay ─────────────────────────────────────────────── */
#mp-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,.92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
}
#mp-lightbox.is-open { display: flex; }
#mp-lightbox img {
  max-width: min(92vw, 1200px);
  max-height: 82vh;
  border-radius: 10px;
  object-fit: contain;
}
#mp-lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: .7;
}
#mp-lightbox-close:hover { opacity: 1; }

/* ── Product-page format badges section ───────────────────────────── */
.pp-format-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 6px;
}
.pp-format-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid;
}
.pp-format-badge--figma  { color: #ff7262; border-color: rgba(255,114,98,.4); background: rgba(255,114,98,.1); }
.pp-format-badge--canva  { color: #00c4cc; border-color: rgba(0,196,204,.4); background: rgba(0,196,204,.1); }
.pp-format-badge--zip    { color: #fbbf24; border-color: rgba(251,191,36,.4); background: rgba(251,191,36,.1); }
.pp-format-badge--pdf    { color: #f87171; border-color: rgba(248,113,113,.4); background: rgba(248,113,113,.1); }
.pp-format-badge--png    { color: #a78bfa; border-color: rgba(167,139,250,.4); background: rgba(167,139,250,.1); }
.pp-format-badge--instructions { color: #34d399; border-color: rgba(52,211,153,.4); background: rgba(52,211,153,.1); }

/* ── FAQ accordion on product page ───────────────────────────────── */
.pp-faq {
  margin: 40px 0 20px;
}
.pp-faq-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f5f5f7;
  margin-bottom: 14px;
}
.pp-faq-item {
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.pp-faq-item:first-of-type { border-top: 1px solid rgba(255,255,255,.08); }
.pp-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 2px;
  background: none;
  border: none;
  color: #d4d4d8;
  font-size: .92rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  gap: 12px;
  transition: color .15s;
}
.pp-faq-question:hover { color: #a78bfa; }
.pp-faq-icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: #6147BD;
  font-style: normal;
  transition: transform .2s;
  line-height: 1;
}
.pp-faq-item.is-open .pp-faq-icon { transform: rotate(45deg); }
.pp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease, padding .28s ease;
  font-size: .88rem;
  color: #a1a1aa;
  line-height: 1.65;
  padding: 0 2px;
}
.pp-faq-item.is-open .pp-faq-answer {
  max-height: 500px;
  padding: 0 2px 14px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS — glassmorphic stack (UX Pacific)
   ═══════════════════════════════════════════════════════════════════════════ */
#uxp-toast-host {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100000;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  max-width: min(400px, calc(100vw - 32px));
  pointer-events: none;
}

.uxp-toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(18, 16, 32, 0.82);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    0 0 0 1px rgba(97, 71, 189, 0.08) inset,
    0 16px 40px rgba(0, 0, 0, 0.45),
    0 4px 12px rgba(97, 71, 189, 0.12);
  color: #f0eef8;
  pointer-events: all;
  position: relative;
  overflow: hidden;
  min-width: 280px;
  animation: uxpToastIn 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
  cursor: default;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.uxp-toast:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(97, 71, 189, 0.14) inset,
    0 20px 48px rgba(0, 0, 0, 0.5),
    0 6px 16px rgba(97, 71, 189, 0.18);
}

.uxp-toast.uxp-toast-out {
  animation: uxpToastOut 0.32s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes uxpToastIn {
  from {
    opacity: 0;
    transform: translateX(28px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes uxpToastOut {
  to {
    opacity: 0;
    transform: translateX(24px) scale(0.92);
    max-height: 0;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
  }
}

.uxp-toast-icon-wrap {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uxp-toast-icon-wrap i {
  font-size: 18px;
  line-height: 1;
}

.uxp-toast-body {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.uxp-toast-title {
  font: 600 14px/1.35 Inter, system-ui, sans-serif;
  color: #fff;
  letter-spacing: -0.01em;
}

.uxp-toast-close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: -2px -4px 0 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.uxp-toast-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.uxp-toast-close i {
  font-size: 14px;
}

.uxp-toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform-origin: left;
  border-radius: 0 0 16px 16px;
  opacity: 0.85;
}

.uxp-toast--success .uxp-toast-icon-wrap {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}
.uxp-toast--success {
  border-color: rgba(16, 185, 129, 0.22);
}
.uxp-toast--success .uxp-toast-progress {
  background: linear-gradient(90deg, #10b981, #34d399);
  animation: uxpToastProgress 4s linear forwards;
}

.uxp-toast--error .uxp-toast-icon-wrap {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}
.uxp-toast--error {
  border-color: rgba(239, 68, 68, 0.22);
}
.uxp-toast--error .uxp-toast-progress {
  background: linear-gradient(90deg, #dc2626, #f87171);
  animation: uxpToastProgress 5s linear forwards;
}

.uxp-toast--info .uxp-toast-icon-wrap {
  background: rgba(97, 71, 189, 0.2);
  color: #a78bfa;
}
.uxp-toast--info {
  border-color: rgba(109, 61, 255, 0.25);
}
.uxp-toast--info .uxp-toast-progress {
  background: linear-gradient(90deg, #6147bd, #8b6dff);
  animation: uxpToastProgress 4s linear forwards;
}

.uxp-toast--warning .uxp-toast-icon-wrap {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}
.uxp-toast--warning {
  border-color: rgba(251, 191, 36, 0.22);
}
.uxp-toast--warning .uxp-toast-progress {
  background: linear-gradient(90deg, #d97706, #fbbf24);
  animation: uxpToastProgress 4.5s linear forwards;
}

@keyframes uxpToastProgress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@media (max-width: 620px) {
  #uxp-toast-host {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
    align-items: stretch;
  }

  .uxp-toast {
    min-width: 0;
    width: 100%;
    animation-name: uxpToastInMobile;
  }

  .uxp-toast.uxp-toast-out {
    animation-name: uxpToastOutMobile;
  }

  @keyframes uxpToastInMobile {
    from {
      opacity: 0;
      transform: translateY(20px) scale(0.96);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  @keyframes uxpToastOutMobile {
    to {
      opacity: 0;
      transform: translateY(12px) scale(0.94);
      max-height: 0;
      margin: 0;
      padding: 0;
      border-width: 0;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .uxp-toast {
    animation: none;
  }
  .uxp-toast.uxp-toast-out {
    animation: none;
    opacity: 0;
  }
  .uxp-toast-progress {
    animation: none;
    display: none;
  }
}
