/* ============================================================
   STRYVA — Main Storefront Stylesheet
   Dark-themed design system faithful to the React/Tailwind origin
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;500;600;700&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  --background: #0b0c0f;
  --foreground: #e9e6e0;
  --card: #16181d;
  --primary: #d2b07b;
  --primary-foreground: #161208;
  --secondary: #23262d;
  --muted: #1b1e24;
  --muted-foreground: #9a968c;
  --border: rgba(255,255,255,0.14);
  --input: rgba(255,255,255,0.2);
  --destructive: #e8443a;
  --ring: #d2b07b;
  --mauve: #927c8b;
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-sans: "Barlow", system-ui, sans-serif;
  --radius: 0.25rem;
  --gradient-fade: linear-gradient(to top, var(--background) 4%, rgba(18,19,24,0.55) 45%, transparent 100%);
  --shadow-glow: 0 18px 60px -20px rgba(210,176,123,0.4);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

/* ── Base ──────────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  line-height: 0.95;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
}

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

input, textarea, select {
  background-color: var(--card);
  border: 1px solid var(--input);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.2s ease;
}

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

input::placeholder, textarea::placeholder {
  color: var(--muted-foreground);
  opacity: 0.6;
}

/* ── Container ─────────────────────────────────────────────── */
.container {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ── Eyebrow ───────────────────────────────────────────────── */
.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-solid:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.btn-solid:disabled {
  opacity: 0.5;
  transform: none;
  box-shadow: none;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  color: var(--foreground);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}

.btn-outline:hover {
  background: var(--secondary);
}

/* ── Surface Fade ──────────────────────────────────────────── */
.surface-fade {
  background-image: var(--gradient-fade);
}

/* ── Grid System ───────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background-color: rgba(26,26,30,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.header-logo,
.site-header .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-header .logo img,
.logo-img {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: var(--radius);
  object-fit: cover;
}

.header-logo img,
.header-logo .logo-text,
.site-header .logo .logo-text,
.logo .logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.3em;
  color: var(--foreground);
}

.header-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.header-nav a {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--foreground);
}

/* Dropdown */
.nav-drop {
  position: relative;
}

.nav-drop-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  min-width: 13rem;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--card);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-drop-menu a {
  display: block;
  padding: 0.55rem 0.9rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
  border-radius: var(--radius);
}

.nav-drop-menu a:hover {
  color: var(--foreground);
  background-color: var(--muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-cart {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--foreground);
}

.header-cart-count {
  display: inline-flex;
  height: 1.25rem;
  min-width: 1.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: var(--primary);
  padding: 0 0.375rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--primary-foreground);
  margin-left: 0.5rem;
}

.header-menu-btn {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
  background: none;
  border: none;
  cursor: pointer;
}

/* Mobile nav */
.mobile-nav {
  border-top: 1px solid var(--border);
  display: none;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
}

.mobile-nav a:hover {
  color: var(--foreground);
}

.mobile-nav-label {
  display: block;
  padding: 0.75rem 1.25rem 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--primary);
}

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
}

/* Slider */
.hero-slider {
  height: 78vh;
  min-height: 36rem;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity 0.9s ease, visibility 0.9s, transform 7s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}

.hero-slide .hero-image {
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Content slide-in */
.hero-slide .hero-inner {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-slide.active .hero-inner {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

.hero-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 5;
}

.hero-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--primary);
  transition: width 0.35s linear;
}

.hero-progress-bar.animating {
  width: 100%;
  transition: width var(--hero-duration, 6.5s) linear;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(22, 24, 29, 0.55);
  color: var(--muted-foreground);
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  opacity: 0;
}

.hero-slider:hover .hero-arrow,
.hero-arrow:focus-visible {
  opacity: 1;
}

.hero-arrow:hover {
  color: var(--foreground);
  border-color: var(--ring);
  background: rgba(22, 24, 29, 0.85);
}

.hero-arrow-prev {
  left: 1.25rem;
}

.hero-arrow-next {
  right: 1.25rem;
}

.hero-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1.75rem;
  z-index: 6;
  display: flex;
  gap: 0.6rem;
}

.hero-dots button {
  width: 0.6rem;
  height: 0.6rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-dots button:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.15);
}

.hero-dots button.active {
  background: var(--primary);
  transform: scale(1);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  z-index: 3;
}

.hero-inner {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-bottom: 3.5rem;
}

.hero-heading {
  margin-top: 1rem;
  max-width: 40rem;
}

.hero-description {
  margin-top: 1.25rem;
  max-width: 28rem;
  color: var(--muted-foreground);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ── Pillars / Features Strip ──────────────────────────────── */
.pillars {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: var(--card);
}

.pillars-grid {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 2rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.pillars-grid h3 {
  font-size: 1.5rem;
}

.pillars-grid p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ── Section ───────────────────────────────────────────────── */
.section {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section-sm {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section-xs {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section-sub {
  max-width: 42rem;
  color: var(--muted-foreground);
}

.service-card {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--card);
}

.service-card h3 {
  margin-top: 1rem;
  font-size: 1.125rem;
}

.service-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.service-card:hover {
  border-color: var(--ring);
  box-shadow: var(--shadow-glow);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.75rem;
  border-radius: var(--radius);
  background-color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: 0.12em;
  color: var(--primary-foreground);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.section-header .view-all {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
}

/* ── Product Card ──────────────────────────────────────────── */
.product-card {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--card);
  transition: border-color 0.2s ease;
}

.product-card:hover {
  border-color: rgba(200,230,74,0.6);
}

.product-card-image {
  position: relative;
  overflow: hidden;
  background-color: var(--background);
}

.product-card-image img {
  aspect-ratio: 4/5;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  border-radius: var(--radius);
  background-color: var(--primary);
  padding: 0.25rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary-foreground);
}

.product-card-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem;
}

.product-card-name {
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}

.product-card-category {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
}

.product-card-price {
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 600;
}

/* ── Category Cards ────────────────────────────────────────── */
.category-grid {
  display: grid;
  gap: 1rem;
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.category-card img {
  aspect-ratio: 3/4;
  width: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.category-card:hover img {
  transform: scale(1.05);
  opacity: 1;
}

.category-card-overlay {
  position: absolute;
  inset: 0;
}

.category-card-label {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  letter-spacing: 0.14em;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  background-color: var(--card);
}

.footer-grid {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 2.5rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.footer-brand .footer-logo-img {
  height: 4rem;
  width: 4rem;
  border-radius: var(--radius);
  object-fit: cover;
}

.footer-brand .footer-logo-text {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.3em;
}

.footer-brand .footer-tagline {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--primary);
}

.footer-brand .footer-desc {
  margin-top: 0.75rem;
  max-width: 24rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-col .eyebrow {
  margin-bottom: 1rem;
}

.footer-col ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col li {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-col a:hover {
  color: var(--foreground);
}

.footer-newsletter-form {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

.footer-newsletter-form input {
  flex: 1;
  min-width: 0;
}

.footer-newsletter-form .btn-solid {
  padding: 0.5rem 1rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ── Cart Page ─────────────────────────────────────────────── */
.cart-grid {
  display: grid;
  gap: 2.5rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1rem;
}

.cart-item img {
  height: 7rem;
  width: 6rem;
  border-radius: var(--radius);
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.cart-item-name {
  font-size: 1.25rem;
}

.cart-item-size {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
}

.cart-item-controls {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.qty-btn {
  height: 2rem;
  width: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: none;
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  cursor: pointer;
}

.qty-btn:hover {
  background-color: var(--secondary);
}

.cart-item-remove {
  margin-left: auto;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
  background: none;
  border: none;
  cursor: pointer;
}

.cart-item-remove:hover {
  color: var(--foreground);
}

.cart-summary {
  height: fit-content;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.5rem;
}

.cart-summary h2 {
  font-size: 1.5rem;
}

.cart-summary dl {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
}

.cart-summary-row dt {
  color: var(--muted-foreground);
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.cart-summary .btn-solid {
  margin-top: 1.5rem;
  width: 100%;
}

.cart-summary .cart-note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: center;
}

/* Empty cart state */
.cart-empty {
  margin-top: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 2.5rem;
  text-align: center;
}

.cart-empty .btn-solid {
  margin-top: 1.5rem;
}

/* Order confirmation */
.cart-confirmed {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  padding: 6rem 1.25rem;
  text-align: center;
}

.cart-confirmed .btn-solid {
  margin-top: 2rem;
}

/* ── Product Detail ────────────────────────────────────────── */
.product-detail-grid {
  display: grid;
  gap: 2.5rem;
}

.product-detail-image {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  object-fit: cover;
}

.product-detail-price {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.product-detail-desc {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.size-selector {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.size-btn {
  min-width: 3.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-foreground);
  background: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.size-btn:hover {
  color: var(--foreground);
}

.size-btn.active {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
  font-weight: 700;
}

.product-detail-details {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.product-detail-details li::before {
  content: "— ";
}

/* Related products */
.related-section {
  margin-top: 5rem;
}

.related-section h2 {
  font-size: 1.875rem;
}

.related-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.25rem;
}

/* ── Shop Page ─────────────────────────────────────────────── */
.shop-filters {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
  background: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  color: var(--foreground);
}

.filter-btn.active {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
  font-weight: 700;
}

.shop-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
}

/* ── About Page ────────────────────────────────────────────── */
.about-hero {
  margin-top: 2.5rem;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  object-fit: cover;
}

.about-text {
  margin-top: 2.5rem;
  display: grid;
  gap: 2rem;
}

.about-text p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

.about-stats {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
}

.about-stat-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.5rem;
}

.about-stat-card .stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--primary);
}

.about-stat-card .stat-label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.about-cta {
  margin-top: 3rem;
}

/* ── Contact Page ──────────────────────────────────────────── */
.contact-form {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}

.form-label {
  display: grid;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
}

.form-label input,
.form-label textarea {
  border-radius: var(--radius);
  border: 1px solid var(--input);
  background-color: var(--card);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--foreground);
}

.form-label input:focus,
.form-label textarea:focus {
  border-color: var(--primary);
}

.contact-sent {
  margin-top: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(200,230,74,0.5);
  background-color: var(--card);
  padding: 2rem;
}

.contact-sent h2 {
  font-size: 1.875rem;
}

.contact-sent p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ── Flash Messages ────────────────────────────────────────── */
.flash {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.flash-success {
  background-color: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  color: #22c55e;
}

.flash-error {
  background-color: rgba(232,68,58,0.15);
  border: 1px solid rgba(232,68,58,0.3);
  color: #e8443a;
}

/* ── Auth Forms ────────────────────────────────────────────── */
.auth-page {
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  padding: 4rem 1.25rem;
}

.auth-page h1 {
  text-align: center;
}

.auth-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-form .btn-solid {
  width: 100%;
}

.auth-footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.auth-footer a {
  color: var(--primary);
  font-weight: 600;
}

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

/* ── Page Utility ──────────────────────────────────────────── */
.page-padding {
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

.text-center { text-align: center; }
.text-muted { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.mt-3 { margin-top: 0.75rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-8 { margin-top: 2rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.w-full { width: 100%; }
.max-w-lg { max-width: 32rem; }
.max-w-2xl { max-width: 42rem; }
.block { display: block; }
.inline { display: inline; }

/* ============================================================
   Responsive — Mobile-first breakpoints
   ============================================================ */

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .about-text { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: repeat(3, 1fr); }

  .h1-xl { font-size: 5rem; }
  .text-6xl { font-size: 3.75rem; }
}

@media (max-width: 640px) {
  .hero-arrow {
    width: 2.4rem;
    height: 2.4rem;
  }

  .hero-arrow-prev { left: 0.75rem; }
  .hero-arrow-next { right: 0.75rem; }
}

@media (min-width: 768px) {
  .header-nav { display: flex; }
  .header-menu-btn { display: none; }
  .mobile-nav { display: none; }

  .cart-grid { grid-template-columns: 1.6fr 1fr; }
  .product-detail-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }

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

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }

  .cart-grid { grid-template-columns: 1.6fr 1fr; }
  .product-detail-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Scrollbar (subtle dark theme) ─────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--muted-foreground);
}
