/* ==========================================================================
   DYOS™ Design System - Clean Fashion E-Commerce (Light Theme)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  /* Color Palette - Premium Fashion & Custom Streetwear */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;
  --bg-alt: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.92);

  /* Deep High-Contrast Obsidian / Near Black Text */
  --text-primary: #0F172A;     /* Deep Navy / Near Black */
  --text-secondary: #64748B;   /* Slate Gray */
  --text-muted: #94A3B8;       /* Subtle text */
  --text-light: #FFFFFF;

  /* Refined Fashion Accents */
  --brand-primary: #0F172A;    /* Electric Violet / Indigo */
  --brand-primary-hover: #1E293B;
  --brand-primary-light: #F3FFE0;
  --brand-secondary: #0F172A;

  /* Subtle Accent Tones */
  --accent-neon-violet: #3F7A00;
  --accent-neon-pink: #EC4899;
  --accent-coral: #E11D48;
  --accent-coral-light: #FFF1F2;
  --accent-emerald: #059669;
  --accent-emerald-light: #ECFDF5;
  --accent-cyan: #0284C7;
  --accent-cyan-light: #F0F9FF;
  --accent-amber: #D97706;
  --accent-amber-light: #FFFBEB;
  --accent-purple: #3F7A00;

  /* Tasteful, Controlled Gradients - Accents Only */
  --grad-primary: linear-gradient(135deg, #0F172A 0%, #3F7A00 50%, #1E293B 100%);
  --grad-primary-hover: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  --grad-accent: linear-gradient(135deg, #0F172A 0%, #3F7A00 100%);
  --grad-dark: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
  --grad-subtle-glow: radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.08) 0%, transparent 70%);

  /* Borders & Dividers */
  --border-light: #E2E8F0;
  --border-subtle: #F1F5F9;
  --border-vibrant: rgba(15, 23, 42, 0.25);
  --border-focus: #0F172A;

  /* Tasteful Subtle Shadows - No Excessive Glow */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 40px -6px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 14px 30px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.04);

  /* Modern Pill Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Typography: Cohesive Pairing */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Accessibility: Universal Focus Ring */
:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2.5px;
}

/* Accessibility: Skip to Content */
.skip-to-content-link {
  position: absolute;
  top: -100px;
  left: 1.25rem;
  z-index: 100000;
  padding: 0.75rem 1.25rem;
  background: #0F172A;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  transition: top 0.2s ease;
}

.skip-to-content-link:focus {
  top: 1rem;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: all var(--transition-fast);
}

input, select, textarea {
  font-family: inherit;
  font-size: 0.95rem;
}

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

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-tertiary);
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-wide {
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Universal Button Styles - Clean, Tactile & Fashion-Forward */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius-full);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  user-select: none;
  border: none;
  cursor: pointer;
}

.btn:active {
  transform: scale(0.97) !important;
}

/* Primary Button: Deep Obsidian Near-Black with Clean Lift */
.btn-primary {
  background: #0F172A;
  color: #FFFFFF !important;
  border: 1px solid #0F172A;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.btn-primary:hover {
  background: #1E293B;
  border-color: #1E293B;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

/* Accent Indigo Button: Electric Violet Accent */
.btn-indigo {
  background: #0F172A;
  color: #FFFFFF !important;
  border: 1px solid #0F172A;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

.btn-indigo:hover {
  background: #1E293B;
  border-color: #1E293B;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.35);
}

/* Secondary Button: Clean Crisp Slate Rim */
.btn-secondary {
  background: #FFFFFF;
  color: #0F172A !important;
  border: 1.5px solid #E2E8F0;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: #0F172A !important;
  transform: translateY(-1.5px);
  box-shadow: var(--shadow-md);
}

/* Dark Button */
.btn-dark {
  background: #1E293B;
  color: #FFFFFF !important;
  border: 1px solid #334155;
}

.btn-dark:hover {
  background: #0F172A;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
}

/* Accent Button: Coral Pink Accent */
.btn-accent {
  background: var(--accent-coral);
  color: #FFFFFF !important;
  border: 1px solid var(--accent-coral);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.25);
}

.btn-accent:hover {
  background: #BE123C;
  border-color: #BE123C;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.35);
}

/* Light / White Button */
.btn-light {
  background: #FFFFFF;
  color: #1E1B4B !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.btn-light:hover {
  background: #F8FAFC;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Outline Buttons */
.btn-outline-primary {
  background: transparent;
  color: var(--brand-primary) !important;
  border: 2px solid var(--brand-primary);
}

.btn-outline-primary:hover {
  background: var(--brand-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(95, 174, 0, 0.2);
}

.btn-outline-light {
  background: transparent;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

/* Outline Danger */
.btn-outline-danger {
  background: transparent;
  color: var(--accent-coral) !important;
  border: 1.5px solid var(--accent-coral);
}
.btn-outline-danger:hover {
  background: var(--accent-coral-light);
}

/* Sizes */
.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.84rem;
  font-weight: 700;
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
  font-weight: 800;
}

/* Badge System */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
}

.badge-coral {
  background: var(--accent-coral-light);
  color: var(--accent-coral);
  border: 1px solid rgba(244, 63, 94, 0.2);
}

.badge-emerald {
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-indigo {
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  border: 1px solid rgba(15, 23, 42, 0.2);
}

.badge-amber {
  background: var(--accent-amber-light);
  color: #B45309;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

/* Card Container System */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.animate-fade {
  animation: fadeIn 0.3s ease forwards;
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 300px;
  max-width: 420px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  animation: fadeIn 0.25s ease forwards;
}

.toast.toast-success { border-left-color: var(--accent-emerald); }
.toast.toast-error { border-left-color: var(--accent-coral); }
.toast.toast-warning { border-left-color: var(--accent-amber); }

/* ==========================================================================
   Antigravity Floating Animation
   ========================================================================== */
/* Defines the floating movement */
@keyframes antigravity {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); } /* Moves up by 20 pixels */
  100% { transform: translateY(0px); }
}

/* Applies the animation to a specific class */
.floating-element {
  animation: antigravity 4s ease-in-out infinite;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .floating-element {
    animation: none;
  }
}

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 620px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.22);
  padding: 1.25rem 1.5rem;
  z-index: 99990;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  animation: fadeIn 0.3s ease forwards;
}

.cookie-consent-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.cookie-consent-text {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-wrap: wrap;
}


