/* =============================================
   ZERO COLLECTION — Core Design System
   ============================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Variables ── */
:root {
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-grey-light: #E0E0E0;
  --color-grey: #888888;
  --color-grey-dark: #333333;
  --font-heading: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1280px;
  --header-height: 70px;
  --announcement-height: 40px;
  --transition-speed: 0.3s;
  --transition-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-black);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: calc(var(--announcement-height) + var(--header-height));
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-speed) var(--transition-ease);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1rem, 2vw, 1.3rem); }

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-grey-dark);
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--no-pad-top { padding-top: 0; }
.section--no-pad-bottom { padding-bottom: 0; }

/* ── Utility Classes ── */
.uppercase { text-transform: uppercase; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.font-extra-bold { font-weight: 800; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

.w-full { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 2px solid var(--color-black);
  cursor: pointer;
  transition: all var(--transition-speed) var(--transition-ease);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--color-black);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-white);
  color: var(--color-black);
}

.btn-outline {
  background-color: var(--color-white);
  color: var(--color-black);
  border: 2px solid var(--color-black);
}

.btn-outline:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

.btn-full {
  width: 100%;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.75rem;
}

.btn-lg {
  padding: 18px 48px;
  font-size: 0.95rem;
}

/* ── Badges ── */
.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.badge-sale {
  background-color: var(--color-black);
  color: var(--color-white);
}

/* ── Section Headings ── */
.section-heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 12px;
}

.section-subheading {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-grey);
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: 0.02em;
}

/* ── Product Grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

/* ── Form Elements ── */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  color: var(--color-black);
}

.form-input,
.form-select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-grey-light);
  font-size: 0.95rem;
  transition: border-color var(--transition-speed);
  background-color: var(--color-white);
  color: var(--color-black);
}

.form-input:focus,
.form-select:focus {
  border-color: var(--color-black);
}

.form-input::placeholder {
  color: var(--color-grey);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23000' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

/* ── Divider ── */
.divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-grey-light);
}

.divider--dark {
  background-color: var(--color-black);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .product-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .section {
    padding: 48px 0;
  }

  .container {
    padding: 0 16px;
  }

  .section-heading {
    margin-bottom: 8px;
  }

  .section-subheading {
    margin-bottom: 32px;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.8rem;
  }

  .btn-lg {
    padding: 14px 36px;
    font-size: 0.85rem;
  }

  .desktop-only {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .mobile-only {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.75rem;
  }
}
