/* Scoop Bands Child Theme - Main Stylesheet */

/* Import Utilities */
@import url('./utilities/_reset.css');
@import url('./utilities/_spacing.css');
@import url('./utilities/_layout.css');

/* Import Components */
@import url('./components/_header.css');
@import url('./components/_button.css');
@import url('./components/_carousel.css');
@import url('./components/_banner.css');
@import url('./components/_product-grid.css');
@import url('./components/_page-presentation.css');
@import url('./components/_trending.css');
@import url('./components/_new-collections.css');
@import url('./components/_footer.css');
@import url('./components/_product-page.css');
@import url('./components/_shop-filter.css');
@import url('./components/_shop.css');
@import url('./components/_free-shipping-bar.css');
@import url('./components/_separator.css');
@import url('./components/_personaliza-headband.css');
@import url('./components/_cart.css');
@import url('./components/_product-rating.css');

/* Color Variables */
:root {
  --color-primary: #000;
  --color-secondary: #fff;
  --color-accent: #d32f2f;
  --scoop-primary: #d32f2f;
  --color-text: #1a1a1a;
  --color-text-light: #666;
  --color-bg: #fff;
  --color-bg-light: #f5f5f5;
  --color-border: #ddd;

  /* Typography */
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;

  /* Spacing */
  --spacing-unit: 1rem;
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.6s ease;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);

  /* Border Radius */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;

  /* Z-Index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* Global Text Color Classes */
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-light); }
.text-white { color: #fff; }
.text-black { color: #000; }

/* Global Background Color Classes */
.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-light { background-color: var(--color-bg-light); }
.bg-white { background-color: #fff; }
.bg-black { background-color: #000; }
.bg-transparent { background-color: transparent; }

/* Global Border Color Classes */
.border { border: 1px solid var(--color-border); }
.border-top { border-top: 1px solid var(--color-border); }
.border-bottom { border-bottom: 1px solid var(--color-border); }
.border-left { border-left: 1px solid var(--color-border); }
.border-right { border-right: 1px solid var(--color-border); }

/* Font Weight Classes */
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* Font Size Classes */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }

/* Text Transform */
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.normal-case { text-transform: none; }

/* Letter Spacing */
.tracking-tight { letter-spacing: -0.02em; }
.tracking-normal { letter-spacing: 0em; }
.tracking-wide { letter-spacing: 0.05em; }
.tracking-wider { letter-spacing: 0.1em; }

/* Shadow Classes */
.shadow { box-shadow: var(--shadow-md); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-none { box-shadow: none; }

/* Opacity */
.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

/* Cursor */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.cursor-disabled { cursor: not-allowed; }

/* Section Spacing */
section {
  padding: 4rem 0;
}

section.section--large {
  padding: 6rem 0;
}

section.section--small {
  padding: 2rem 0;
}

@media (max-width: 768px) {
  section {
    padding: 2.5rem 0;
  }

  section.section--large {
    padding: 3.5rem 0;
  }
}

/* Links */
a {
  color: var(--color-primary);
  transition: color var(--transition-normal);
}

a:hover {
  color: var(--color-text-light);
}

a:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Lists */
ol, ul {
  margin-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Code */
code, pre {
  background-color: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: 0.25rem 0.5rem;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

pre {
  padding: 1rem;
  overflow-x: auto;
  margin: 1rem 0;
}

pre code {
  padding: 0;
  background-color: transparent;
  border-radius: 0;
}

/* Blockquote */
blockquote {
  border-left: 4px solid var(--color-primary);
  padding-left: 1rem;
  margin-left: 0;
  margin-right: 0;
  color: var(--color-text-light);
  font-style: italic;
}

/* Divider */
.divider {
  height: 1px;
  background-color: var(--color-border);
  margin: 2rem 0;
}

/* Skip to main content link */
.skip-to-main {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px;
  z-index: var(--z-tooltip);
}

.skip-to-main:focus {
  top: 0;
}

/* Print Styles */
@media print {
  body {
    background: #fff;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .no-print {
    display: none;
  }
}
