/** Shopify CDN: Minification failed

Line 89:0 Unexpected "{"
Line 89:1 Unexpected "{"
Line 89:11 Expected ":"
Line 90:0 Unexpected "{"
Line 90:1 Unexpected "{"
Line 90:11 Expected ":"

**/
/* ============================================
   DISTRITO 305 - Global Base Styles
   Streetwear E-commerce Theme
   ============================================ */

/* --- CSS Custom Properties (fallback values, overridden by theme.liquid) --- */
:root {
  /* Colors */
  --color-bg: #000000;
  --color-text: #FFFFFF;
  --color-accent: #FFFFFF;
  --color-accent-secondary: #888888;
  --color-border: #333333;
  --color-card-bg: #111111;
  --color-button-bg: #FFFFFF;
  --color-button-text: #000000;
  --color-button-secondary-bg: #000000;
  --color-button-secondary-text: #FFFFFF;
  --color-overlay: rgba(0, 0, 0, 0.6);
  --color-success: #22c55e;
  --color-error: #ef4444;
  --color-warning: #f59e0b;

  /* Typography */
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-size-base: 16px;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3.5rem;
  --heading-letter-spacing: 2px;

  /* Layout */
  --max-width: 1400px;
  --grid-gap: 16px;
  --header-height: 70px;
  --announcement-height: 40px;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-section: 5rem;

  /* Borders */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Transitions */
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-drawer: 400;
  --z-modal: 500;
  --z-toast: 600;
}

/* --- Font Face --- */
{{ settings.font_heading | font_face: font_display: 'swap' }}
{{ settings.font_body | font_face: font_display: 'swap' }}

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

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: var(--heading-letter-spacing);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-md); }

@media (max-width: 749px) {
  h1 { font-size: var(--font-size-3xl); }
  h2 { font-size: var(--font-size-2xl); }
  h3 { font-size: var(--font-size-xl); }
}

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--color-accent-secondary);
}

strong, b { font-weight: 700; }

small { font-size: var(--font-size-sm); }

/* --- Images --- */
img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* --- Lists --- */
ul, ol {
  list-style: none;
}

/* --- Buttons --- */
button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1;
  border: 2px solid transparent;
  transition: all var(--duration-base) var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-button-bg);
  color: var(--color-button-text);
  border-color: var(--color-button-bg);
}

.btn--primary:hover {
  background-color: transparent;
  color: var(--color-button-bg);
}

.btn--secondary {
  background-color: var(--color-button-secondary-bg);
  color: var(--color-button-secondary-text);
  border-color: var(--color-button-secondary-text);
}

.btn--secondary:hover {
  background-color: var(--color-button-secondary-text);
  color: var(--color-button-secondary-bg);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-text);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--font-size-xs);
}

.btn--lg {
  padding: 1.125rem 2.5rem;
  font-size: var(--font-size-md);
}

.btn--full {
  width: 100%;
}

.btn--icon {
  padding: 0.625rem;
  border: none;
}

/* --- Forms --- */
input,
textarea,
select {
  font-family: var(--font-body);
  font-size: var(--font-size-md);
  color: var(--color-text);
  background-color: transparent;
  border: 1px solid var(--color-border);
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color var(--duration-fast) var(--ease-out);
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--color-text);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-accent-secondary);
}

label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-xs);
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

@media (max-width: 749px) {
  .container {
    padding: 0 var(--space-md);
  }
}

.section {
  padding: var(--space-section) 0;
}

.section--sm {
  padding: var(--space-2xl) 0;
}

.section--flush {
  padding: 0;
}

/* Grid */
.grid {
  display: grid;
  gap: var(--grid-gap);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 989px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 749px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 449px) {
  .grid--2 {
    grid-template-columns: 1fr;
  }
}

/* Flex */
.flex { display: flex; }
.flex--center { align-items: center; justify-content: center; }
.flex--between { align-items: center; justify-content: space-between; }
.flex--column { flex-direction: column; }
.flex--wrap { flex-wrap: wrap; }
.flex--gap-sm { gap: var(--space-sm); }
.flex--gap-md { gap: var(--space-md); }
.flex--gap-lg { gap: var(--space-lg); }

/* --- Text Utilities --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-uppercase { text-transform: uppercase; }
.text-sm { font-size: var(--font-size-sm); }
.text-xs { font-size: var(--font-size-xs); }
.text-muted { color: var(--color-accent-secondary); }

/* --- Display Utilities --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden { display: none !important; }

@media (max-width: 749px) {
  .hide-mobile { display: none !important; }
}

@media (min-width: 750px) {
  .hide-desktop { display: none !important; }
}

/* --- Overlay --- */
.overlay {
  position: fixed;
  inset: 0;
  background-color: var(--color-overlay);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-base) var(--ease-out),
              visibility var(--duration-base) var(--ease-out);
}

.overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* --- Badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.625rem;
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
  background-color: var(--color-text);
  color: var(--color-bg);
}

.badge--sale {
  background-color: var(--color-error);
  color: #fff;
}

.badge--new {
  background-color: var(--color-success);
  color: #fff;
}

/* --- Skip to Content --- */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-text);
  color: var(--color-bg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: var(--font-size-sm);
}

.skip-to-content:focus {
  top: var(--space-md);
}

/* --- Loading Spinner --- */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-text);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* --- Page Transitions --- */
.main-content {
  min-height: 50vh;
}

/* --- Shopify Section Spacing --- */
.shopify-section + .shopify-section {
  /* Sections handle their own spacing via .section class */
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-secondary);
}

/* --- Selection --- */
::selection {
  background-color: var(--color-text);
  color: var(--color-bg);
}

/* --- Focus Styles --- */
:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

/* --- Cart Count Badge --- */
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  background-color: var(--color-text);
  color: var(--color-bg);
  border-radius: var(--radius-full);
}

/* --- Price Styles --- */
.price {
  font-weight: 700;
}

.price--on-sale .price__regular {
  text-decoration: line-through;
  color: var(--color-accent-secondary);
  font-weight: 400;
}

.price--on-sale .price__sale {
  color: var(--color-error);
}

/* --- Aspect Ratio --- */
.aspect-ratio {
  position: relative;
  overflow: hidden;
}

.aspect-ratio::before {
  content: '';
  display: block;
}

.aspect-ratio--square::before { padding-top: 100%; }
.aspect-ratio--portrait::before { padding-top: 125%; }
.aspect-ratio--landscape::before { padding-top: 66.67%; }

.aspect-ratio > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Animations --- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes slideOutRight {
  from { transform: translateX(0); }
  to { transform: translateX(100%); }
}

.animate-fade-in {
  animation: fadeIn var(--duration-base) var(--ease-out) forwards;
}

.animate-slide-up {
  animation: slideUp var(--duration-slow) var(--ease-out) forwards;
}
