/* ============================================================
   WooHoo.lt – Main Stylesheet
   Mobile-first, gaming-inspired, clean & modern
   ============================================================ */

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

:root {
  /* Brand palette */
  --c-primary:     #C92127;   /* WooHoo red */
  --c-primary-dark:#A61B21;
  --c-primary-light:#FBE6E7;
  --c-accent:      #C92127;
  --c-accent-dark: #A61B21;
  --c-danger:      #EF4444;
  --c-success:     #10B981;

  /* Neutral */
  --c-bg:          #FAFAFA;
  --c-surface:     #FFFFFF;
  --c-border:      #E5E7EB;
  --c-text:        #111827;
  --c-text-muted:  #6B7280;
  --c-text-light:  #9CA3AF;

  /* Dark header */
  --c-dark:        #0F0F1A;
  --c-dark-2:      #1A1A2E;

  /* Typography */
  --font-base: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'Courier New', monospace;

  /* Spacing */
  --gap:    1rem;
  --gap-sm: 0.5rem;
  --gap-lg: 2rem;

  /* Border radius */
  --r-sm:  4px;
  --r-md:  8px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);

  /* Layout */
  --max-w: 1280px;
  --header-h: 64px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
button, input, select, textarea {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ---- Layout utilities ------------------------------------ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px)  { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem;   } }

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

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

.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-gap    { display: flex; align-items: center; gap: var(--gap); }
.flex-wrap   { flex-wrap: wrap; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- Typography ------------------------------------------ */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; color: var(--c-text); }
h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.875rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-muted  { color: var(--c-text-muted); }
.text-small  { font-size: 0.875rem; }
.text-center { text-align: center; }

/* ---- Buttons --------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .625rem 1.25rem;
  border-radius: var(--r-md);
  font-size: .9375rem; font-weight: 600;
  cursor: pointer; transition: all .15s;
  text-decoration: none; white-space: nowrap;
  border: 2px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--c-primary); color: #fff;
  border-color: var(--c-primary);
}
.btn-primary:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); }
.btn-accent {
  background: var(--c-accent); color: #fff;
  border-color: var(--c-accent);
}
.btn-accent:hover { background: var(--c-accent-dark); border-color: var(--c-accent-dark); }
.btn-outline {
  background: transparent; color: var(--c-primary);
  border-color: var(--c-primary);
}
.btn-outline:hover { background: var(--c-primary-light); }
.btn-ghost {
  background: transparent; color: var(--c-text-muted);
  border-color: var(--c-border);
}
.btn-ghost:hover { background: var(--c-border); color: var(--c-text); }
.btn-danger { background: var(--c-danger); color: #fff; border-color: var(--c-danger); }
.btn-sm  { padding: .4rem .9rem; font-size: .85rem; }
.btn-lg  { padding: .875rem 1.75rem; font-size: 1.05rem; }
.btn-full { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---- Forms ----------------------------------------------- */
.form-group   { margin-bottom: 1.25rem; }
.form-label   { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .4rem; color: var(--c-text); }
.form-control {
  width: 100%; padding: .625rem .875rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md); background: var(--c-surface);
  font-size: .9375rem; color: var(--c-text);
  transition: border-color .15s, box-shadow .15s;
}
.form-control:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(124,58,237,.15);
}
.form-control::placeholder { color: var(--c-text-light); }
.form-error  { font-size: .8125rem; color: var(--c-danger); margin-top: .3rem; }
.form-hint   { font-size: .8125rem; color: var(--c-text-muted); margin-top: .3rem; }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .75rem center; padding-right: 2.25rem; }

/* ---- Badges ---------------------------------------------- */
.badge {
  display: inline-flex; align-items: center;
  padding: .2rem .6rem; border-radius: 999px;
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
}
.badge-sale    { background: var(--c-primary);  color: #fff; }
.badge-new     { background: var(--c-primary);  color: #fff; }
.badge-hot     { background: var(--c-accent);   color: #111; }
.badge-success { background: var(--c-success);  color: #fff; }
.badge-warning { background: var(--c-accent);   color: #111; }
.badge-info    { background: #3B82F6;           color: #fff; }
.badge-danger  { background: var(--c-danger);   color: #fff; }
.badge-primary { background: var(--c-primary);  color: #fff; }
.badge-secondary{ background: var(--c-text-muted); color: #fff; }

/* ---- Alerts ---------------------------------------------- */
.alert {
  padding: .875rem 1.125rem; border-radius: var(--r-md);
  margin-bottom: 1.25rem; font-size: .9375rem; border: 1.5px solid transparent;
}
.alert-success { background: #D1FAE5; border-color: var(--c-success); color: #065F46; }
.alert-error   { background: #FEE2E2; border-color: var(--c-danger);  color: #991B1B; }
.alert-info    { background: #DBEAFE; border-color: #3B82F6;          color: #1E40AF; }
.alert-warning { background: #FEF3C7; border-color: var(--c-accent);  color: #92400E; }

/* ---- Header ---------------------------------------------- */
.skip-link {
  position: absolute; top: 0; left: 0; z-index: 9999;
  background: var(--c-primary); color: #fff;
  padding: .5rem 1rem; border-radius: 0 0 var(--r-md) 0;
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--c-surface);
  box-shadow: 0 2px 14px rgba(17,24,39,.08);
}

.header-top {
  border-bottom: 1px solid var(--c-border);
  background: #f7f7f8;
  color: var(--c-text-muted);
  font-size: .8125rem;
}
.header-top-inner {
  min-height: 28px;
  display: flex; align-items: center; justify-content: flex-end;
  gap: 1.25rem;
}
.top-contact { display: flex; align-items: center; gap: 1rem; }
.header-top a { color: var(--c-text-muted); text-decoration: none; }
.header-top a:hover { color: var(--c-text); }
.top-contact a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.top-contact svg,
.header-action-icon svg,
.header-search-form button svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.top-contact svg { width: 15px; height: 15px; stroke-width: 1.7; }

.header-main { background: #fff; }
.header-main-inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: 230px minmax(260px, 520px) auto;
  align-items: center;
  gap: 2rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}
.site-logo img {
  width: 184px;
  height: auto;
  display: block;
}
.site-logo:hover { text-decoration: none; }

.header-search-form {
  width: 100%;
  display: flex;
  min-height: 38px;
  border: 1.5px solid #d6d9e0;
  border-radius: var(--r-sm);
  background: #fff;
  overflow: hidden;
}
.header-search-form:focus-within {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(201,33,39,.12);
}
.header-search-form input {
  flex: 1;
  min-width: 0;
  padding: .55rem .875rem;
  color: var(--c-text);
  font-size: .875rem;
}
.header-search-form input::placeholder { color: var(--c-text-muted); }
.header-search-form button {
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  cursor: pointer;
}
.header-search-form button:hover { background: #f5f6f8; }

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-shrink: 0;
}
.header-action-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #17111b;
  font-size: .9rem;
  text-decoration: none;
  white-space: nowrap;
}
.header-action-link:hover { color: var(--c-primary); text-decoration: none; }
.header-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.header-action-icon svg { width: 22px; height: 22px; }
.cart-btn { padding-right: .25rem; }
.cart-count {
  position: absolute;
  top: -.55rem;
  left: .9rem;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--c-primary);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
}

.main-nav {
  background: var(--c-primary);
}
.nav-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: .25rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .9rem;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  background: rgba(255,255,255,.16);
  color: #fff;
  text-decoration: none;
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: #17111b;
  font-size: 1.45rem;
  cursor: pointer;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  background: #fff;
}

@media (max-width: 980px) {
  .header-main-inner {
    grid-template-columns: 1fr auto;
    gap: 1rem;
    min-height: 76px;
  }
  .header-search-form {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-bottom: .85rem;
  }
  .header-actions { gap: .65rem; }
  .header-action-link span:last-child { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .main-nav { display: none; }
  .main-nav.open {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    box-shadow: 0 12px 22px rgba(17,24,39,.18);
  }
  .main-nav.open .nav-inner {
    min-height: 0;
    padding-block: .5rem;
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
  }
  .main-nav a {
    min-height: 40px;
    padding-inline: 1.25rem;
  }
}

@media (max-width: 640px) {
  .header-top { display: none; }
  .header-main-inner { padding-block: .75rem 0; }
  .site-logo img { width: 148px; }
  .header-actions { gap: .45rem; }
  .header-action-icon { font-size: 1.2rem; }
}

/* ---- Hero ------------------------------------------------ */
.hero-slider {
  position: relative;
  min-height: 680px;
  color: #fff;
  overflow: hidden;
  background: #101014;
}
.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}
.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,6,10,.78) 0%, rgba(6,6,10,.55) 34%, rgba(6,6,10,.08) 68%);
}
.hero-slide-light::after {
  background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.76) 36%, rgba(255,255,255,.14) 68%);
}
.hero-content-wrap {
  position: relative;
  z-index: 2;
  min-height: 680px;
  display: flex;
  align-items: center;
}
.hero-copy {
  width: min(560px, 100%);
  padding: 2rem;
  border-radius: var(--r-md);
  background: rgba(8,8,12,.72);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
}
.hero-slide-light .hero-copy {
  background: rgba(255,255,255,.88);
  border-color: rgba(17,24,39,.08);
  color: var(--c-text);
  box-shadow: 0 18px 44px rgba(17,24,39,.12);
}
.hero-eyebrow {
  color: var(--c-primary);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  margin-bottom: .85rem;
}
.hero h1 {
  color: inherit;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 1.75rem;
  max-width: 48ch;
}
.hero-slide-light .hero p { color: var(--c-text-muted); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-hero-secondary {
  color: inherit;
  border-color: currentColor;
  background: transparent;
}
.hero-controls {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  display: flex;
  gap: .55rem;
}
.hero-controls button {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: background .2s, width .2s;
}
.hero-controls button.active {
  width: 54px;
  background: var(--c-primary);
}
@media (max-width: 760px) {
  .hero-slider,
  .hero-content-wrap { min-height: 740px; }
  .hero-slide::after,
  .hero-slide-light::after {
    background: linear-gradient(180deg, rgba(6,6,10,.18) 0%, rgba(6,6,10,.84) 62%);
  }
  .hero-slide-light::after {
    background: linear-gradient(180deg, rgba(255,255,255,.1) 0%, rgba(255,255,255,.92) 58%);
  }
  .hero-content-wrap {
    align-items: flex-end;
    padding-bottom: 4rem;
  }
  .hero-copy { padding: 1.35rem; }
}

/* ---- Section labels -------------------------------------- */
.section-label {
  display: inline-block;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-primary); margin-bottom: .5rem;
}
.section-header { margin-bottom: 2rem; }
.section-header .flex-between { flex-wrap: wrap; gap: 1rem; }

.promo-strip {
  background: linear-gradient(135deg, var(--c-dark) 0%, #2a1114 100%);
  color: #fff;
}
.promo-strip-inner {
  text-align: center;
  padding-top: 0;
  padding-bottom: 0;
}
.promo-strip .section-label { color: var(--c-primary-light); }
.promo-strip h2 { color: #fff; margin-bottom: 1rem; }
.promo-strip p {
  color: rgba(255,255,255,.75);
  margin-bottom: 2rem;
}

.reason-card {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  text-align: center;
}
.reason-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.reason-card h3 { margin-bottom: .5rem; }

/* ---- Homepage reviews ------------------------------------ */
.reviews-section {
  background: var(--c-surface);
}
.review-slider-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.review-arrow {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--c-border);
  border-radius: 50%;
  background: var(--c-surface);
  color: var(--c-text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.review-arrow:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: #fff5f5;
}
.review-slider {
  overflow: hidden;
}
.review-track {
  display: flex;
  gap: 1.25rem;
  transition: transform .28s ease;
}
.home-review-card {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  padding: 1.25rem;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.home-review-stars { margin-bottom: .9rem; }
.home-review-card p {
  color: var(--c-text);
  line-height: 1.55;
  margin-bottom: 1.2rem;
}
.home-review-foot {
  display: grid;
  gap: .25rem;
}
.home-review-foot strong {
  color: var(--c-text);
}
.home-review-foot a {
  color: var(--c-text-muted);
  font-size: .875rem;
  text-decoration: none;
}
.home-review-foot a:hover { color: var(--c-primary); }
@media (max-width: 900px) {
  .home-review-card { flex-basis: calc((100% - 1.25rem) / 2); }
}
@media (max-width: 620px) {
  .home-review-card { flex-basis: 100%; }
}

/* ---- Product card ---------------------------------------- */
.product-card {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  display: flex; flex-direction: column;
  position: relative;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.product-card-img {
  aspect-ratio: 1;
  overflow: hidden; position: relative;
  background: var(--c-bg);
}
.product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s;
}
.product-img-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card:hover .product-img-hover {
  opacity: 1;
}
.product-card:hover .product-img-primary {
  opacity: 0;
}
.product-card-badges {
  position: absolute;
  top: .75rem;
  left: .75rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  align-items: flex-start;
}
.product-card-sale-badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
}
.product-card-sale-badge .badge-sale {
  min-height: 24px;
  justify-content: center;
  border-radius: 999px;
  padding: .2rem .6rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .03em;
  box-shadow: 0 8px 18px rgba(201, 33, 39, .18);
}

.product-card-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.product-cat-link  { font-size: .75rem; color: var(--c-primary); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.product-name      { font-size: 1rem; font-weight: 700; color: var(--c-text); margin: .25rem 0 .45rem; line-height: 1.3; min-height: 3.9em; }
.product-name a    { color: inherit; text-decoration: none; }
.product-name a {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-name a:hover { color: var(--c-primary); }
.product-desc      { font-size: .8125rem; color: var(--c-text-muted); margin-bottom: .75rem; }

.product-rating      { display: flex; align-items: center; gap: .4rem; min-height: 1.25rem; margin-bottom: .55rem; }
.rating-stars        { display: inline-flex; align-items: center; gap: .08rem; color: #D1D5DB; font-size: .875rem; line-height: 1; }
.rating-star.filled  { color: #F5A400; }
.rating-count        { color: var(--c-text-muted); font-size: .8125rem; white-space: nowrap; }
.product-card-colors {
  display: flex;
  align-items: center;
  gap: .35rem;
  min-height: 1.15rem;
  margin-bottom: .65rem;
}
.product-card-color {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}
.product-price       { display: flex; align-items: center; gap: .5rem; margin-bottom: 0; }
.price-current       { font-size: 1.25rem; font-weight: 800; color: var(--c-text); }
.price-current.sale  { color: var(--c-danger); }
.price-original      { font-size: .875rem; color: var(--c-text-muted); text-decoration: line-through; }
.price-savings       { font-size: .75rem; color: var(--c-success); font-weight: 700; }
.product-card-actions {
  position: absolute;
  left: .75rem;
  right: .75rem;
  bottom: .75rem;
  transform: translateY(calc(100% + 1rem));
  opacity: 0;
  transition: transform .2s, opacity .2s;
  pointer-events: none;
}
.product-card:hover .product-card-actions,
.product-card:focus-within .product-card-actions {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.product-card-cart {
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}
.btn-icon {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rating-stars-lg { font-size: 1rem; }
.product-detail-rating {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: -.35rem 0 1rem;
}
.product-detail-rating a {
  color: var(--c-text-muted);
  font-size: .9375rem;
  text-decoration: none;
}
.product-detail-rating a:hover { color: var(--c-primary); }

/* ---- Products grid --------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

/* ---- Category showcase ----------------------------------- */
.category-showcase-section {
  background: linear-gradient(180deg, #fff 0%, #f8f9fb 100%);
}
.category-showcase-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(150px, 1fr));
  grid-auto-rows: 188px;
  gap: 1rem;
}
.category-showcase-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 188px;
  overflow: hidden;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  box-shadow: 0 14px 34px rgba(13, 20, 38, .06);
  color: var(--c-text);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.category-showcase-card.is-featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 392px;
}
.category-showcase-card:hover {
  transform: translateY(-3px);
  border-color: rgba(211, 28, 36, .55);
  box-shadow: 0 22px 46px rgba(13, 20, 38, .12);
  text-decoration: none;
}
.category-showcase-image {
  position: absolute;
  inset: 0;
  display: block;
  background: #f5f6f8;
}
.category-showcase-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(8,12,24,.12) 52%, rgba(8,12,24,.5) 100%);
}
.category-showcase-card.is-featured .category-showcase-image::after {
  background: linear-gradient(90deg, rgba(8,12,24,.68) 0%, rgba(8,12,24,.42) 36%, rgba(8,12,24,.06) 100%);
}
.category-showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .32s ease;
}
.category-showcase-card:hover .category-showcase-image img {
  transform: scale(1.06);
}
.category-showcase-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .35rem;
  width: 100%;
  padding: 1rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.category-showcase-card:not(.is-featured) {
  display: grid;
  grid-template-rows: minmax(118px, 1fr) auto;
  align-items: stretch;
}
.category-showcase-card:not(.is-featured) .category-showcase-image {
  position: relative;
  inset: auto;
  min-height: 118px;
  overflow: hidden;
}
.category-showcase-card:not(.is-featured) .category-showcase-image::after {
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(8,12,24,.08) 100%);
}
.category-showcase-card:not(.is-featured) .category-showcase-content {
  width: 100%;
  margin: 0;
  padding: .8rem .95rem .9rem;
  border-top: 1px solid rgba(229,231,235,.9);
  border-radius: 0;
  background: rgba(255,255,255,.96);
  box-shadow: none;
  color: var(--c-text);
  text-shadow: none;
}
.category-showcase-card.is-featured .category-showcase-content {
  align-self: center;
  max-width: 320px;
  padding: 2rem;
}
.category-showcase-name {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}
.category-showcase-card.is-featured .category-showcase-name {
  font-size: 1.85rem;
}
.category-showcase-text {
  color: rgba(255,255,255,.84);
  font-size: .875rem;
  line-height: 1.35;
}
.category-showcase-card:not(.is-featured) .category-showcase-text {
  color: var(--c-text-muted);
  font-size: .82rem;
}
.category-showcase-link {
  margin-top: .3rem;
  color: #fff;
  font-size: .8125rem;
  font-weight: 800;
}
.category-showcase-card:not(.is-featured) .category-showcase-link {
  color: var(--c-primary);
  margin-top: .15rem;
}
@media (max-width: 980px) {
  .category-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-showcase-card.is-featured {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 260px;
  }
}
@media (max-width: 620px) {
  .category-showcase-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 180px;
  }
  .category-showcase-card,
  .category-showcase-card.is-featured {
    grid-column: auto;
    grid-row: auto;
    min-height: 180px;
  }
  .category-showcase-card:not(.is-featured) {
    grid-template-rows: minmax(130px, 1fr) auto;
  }
  .category-showcase-card.is-featured .category-showcase-content {
    max-width: none;
    padding: 1.25rem;
  }
  .category-showcase-card.is-featured .category-showcase-name {
    font-size: 1.35rem;
  }
}

/* ---- Sections -------------------------------------------- */
.section { padding: 3.5rem 0; }
.section-alt { background: #F3F4F6; }

/* ---- Breadcrumbs ----------------------------------------- */
.breadcrumbs {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  padding: .875rem 0; font-size: .875rem; color: var(--c-text-muted);
}
.breadcrumbs a { color: var(--c-primary); }
.breadcrumbs .sep { color: var(--c-text-light); }

/* ---- Product detail -------------------------------------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 768px) { .product-detail { grid-template-columns: 1fr; gap: 2rem; } }

.product-gallery { position: sticky; top: calc(var(--header-h) + 1rem); }
.gallery-main {
  border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 1; background: var(--c-bg);
  border: 1.5px solid var(--c-border); margin-bottom: .75rem;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery-thumbs   { display: flex; gap: .5rem; flex-wrap: wrap; }
.gallery-thumb {
  width: 72px; height: 72px; border-radius: var(--r-md);
  overflow: hidden; border: 2px solid var(--c-border);
  cursor: pointer; transition: border-color .15s; flex-shrink: 0;
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--c-primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info-sticky {}
.product-badge-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .75rem; }
.product-title     { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .75rem; }
.product-price-row { display: flex; align-items: baseline; gap: .75rem; margin-bottom: 1.5rem; }
.product-price-big { font-size: 2rem; font-weight: 900; color: var(--c-text); }
.product-price-big.sale { color: var(--c-danger); }
.product-price-orig { font-size: 1.125rem; color: var(--c-text-muted); text-decoration: line-through; }

.qty-selector { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; width: fit-content; }
.qty-btn      { padding: .5rem .875rem; background: var(--c-bg); cursor: pointer; font-size: 1.125rem; font-weight: 700; color: var(--c-text); transition: background .15s; }
.qty-btn:hover{ background: var(--c-border); }
.qty-input    { width: 50px; text-align: center; font-size: 1rem; font-weight: 700; padding: .5rem 0; border: none; border-inline: 1.5px solid var(--c-border); }

.add-to-cart-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.25rem; }
.product-meta  { border-top: 1.5px solid var(--c-border); padding-top: 1.25rem; margin-top: 1.5rem; font-size: .875rem; color: var(--c-text-muted); }
.product-meta dl { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; }
.product-meta dt { font-weight: 600; color: var(--c-text); }
.personalization-box {
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1rem;
  margin: 1.25rem 0;
  background: var(--c-surface);
}
.product-attributes {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0;
}
.product-attribute-group {
  border: 0;
  padding: 0;
  margin: 0;
}
.product-attribute-group legend {
  font-size: .9rem;
  font-weight: 800;
  margin-bottom: .55rem;
}
.attribute-swatches,
.attribute-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.attribute-swatch,
.attribute-pill {
  cursor: pointer;
  user-select: none;
}
.attribute-swatch input,
.attribute-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.attribute-swatch span:last-child,
.attribute-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  padding: .5rem .8rem;
  font-weight: 700;
  background: var(--c-surface);
}
.attribute-swatch {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 42px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  padding: .45rem .75rem;
  font-weight: 700;
  background: var(--c-surface);
}
.swatch-dot {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(0,0,0,.22);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}
.attribute-swatch:has(input:checked),
.attribute-pill:has(input:checked) span {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 2px rgba(201,33,39,.12);
}

.product-tabs { margin-top: 3rem; }
.tab-nav { display: flex; border-bottom: 2px solid var(--c-border); gap: 0; }
.tab-btn { padding: .75rem 1.25rem; font-size: .9375rem; font-weight: 600; color: var(--c-text-muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: color .15s, border-color .15s; }
.tab-btn.active, .tab-btn:hover { color: var(--c-primary); border-bottom-color: var(--c-primary); }
.tab-content { padding: 2rem 0; display: none; }
.tab-content.active { display: block; }
.tab-content h3 { margin-bottom: .75rem; }
.tab-content ul { padding-left: 1.25rem; }
.tab-content ul li { margin-bottom: .35rem; }

.product-reviews-section { padding: 3rem 0 1rem; max-width: 980px; }
.reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 2rem;
  align-items: start;
}
.reviews-list { display: grid; gap: .875rem; }
.review-item {
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1rem;
  background: var(--c-surface);
}
.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .5rem;
}
.review-form {
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1rem;
  background: var(--c-surface);
}
@media (max-width: 820px) {
  .reviews-layout { grid-template-columns: 1fr; }
}

/* ---- Cart ------------------------------------------------ */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 9997;
  background: rgba(8, 12, 24, .44);
  opacity: 0;
  transition: opacity .2s ease;
}
.cart-drawer-overlay.is-open { opacity: 1; }
.cart-drawer {
  position: fixed;
  z-index: 9998;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  box-shadow: -22px 0 48px rgba(13, 20, 38, .18);
  transform: translateX(104%);
  transition: transform .24s ease;
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.35rem 1rem;
  border-bottom: 1.5px solid var(--c-border);
}
.cart-drawer-head h2 { font-size: 1.35rem; }
.cart-drawer-close {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--c-border);
  border-radius: 50%;
  color: var(--c-text);
  background: var(--c-surface);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
}
.cart-drawer-close:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}
.cart-drawer-shipping {
  margin: 1rem 1.35rem 0;
  padding: .95rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  background: #fff7f7;
}
.cart-drawer-shipping.is-free {
  background: #ecfdf5;
  border-color: rgba(16,185,129,.28);
}
.cart-drawer-shipping-text {
  font-size: .9rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: .65rem;
}
.cart-drawer-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(201,33,39,.12);
}
.cart-drawer-progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--c-primary);
  transition: width .25s ease;
}
.cart-drawer-shipping.is-free .cart-drawer-progress { background: rgba(16,185,129,.14); }
.cart-drawer-shipping.is-free .cart-drawer-progress span { background: var(--c-success); }
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.35rem;
}
.cart-drawer-empty {
  display: grid;
  place-items: center;
  gap: .35rem;
  min-height: 180px;
  text-align: center;
  color: var(--c-text-muted);
}
.cart-drawer-empty strong {
  color: var(--c-text);
  font-size: 1.1rem;
}
.cart-drawer-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: .85rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--c-border);
}
.cart-drawer-item-img {
  width: 76px;
  height: 76px;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--c-bg);
}
.cart-drawer-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-drawer-item-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--c-text);
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}
.cart-drawer-item-title:hover {
  color: var(--c-primary);
  text-decoration: none;
}
.cart-drawer-item-meta,
.cart-drawer-item-qty {
  color: var(--c-text-muted);
  font-size: .82rem;
  margin-top: .25rem;
}
.cart-drawer-item-price {
  font-weight: 900;
  color: var(--c-text);
  white-space: nowrap;
}
.cart-drawer-remove {
  margin-top: .4rem;
  color: var(--c-text-muted);
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
}
.cart-drawer-remove:hover { color: var(--c-primary); }
.cart-drawer-foot {
  padding: 1rem 1.35rem 1.35rem;
  border-top: 1.5px solid var(--c-border);
  background: var(--c-surface);
}
.cart-drawer-cart-link {
  display: block;
  margin-top: .8rem;
  text-align: center;
  font-weight: 800;
}
body.cart-drawer-open { overflow: hidden; }
@media (max-width: 520px) {
  .cart-drawer { width: 100vw; }
}

.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: .8125rem; text-transform: uppercase; letter-spacing: .07em; color: var(--c-text-muted); padding: .75rem 1rem; border-bottom: 2px solid var(--c-border); }
.cart-table td { padding: 1rem; vertical-align: middle; border-bottom: 1.5px solid var(--c-border); }

.cart-item-img { width: 72px; height: 72px; border-radius: var(--r-md); overflow: hidden; flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-weight: 600; color: var(--c-text); margin-bottom: .2rem; }
.cart-item-meta { font-size: .8125rem; color: var(--c-text-muted); }

.cart-summary {
  background: var(--c-surface); border: 1.5px solid var(--c-border);
  border-radius: var(--r-lg); padding: 1.5rem; position: sticky; top: calc(var(--header-h) + 1rem);
}
.cart-summary h3 { margin-bottom: 1.25rem; padding-bottom: .875rem; border-bottom: 1.5px solid var(--c-border); }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; }
.summary-row.total { font-size: 1.125rem; font-weight: 800; border-top: 2px solid var(--c-border); margin-top: .5rem; padding-top: .875rem; }
.summary-shipping-note { font-size: .8125rem; color: var(--c-success); font-weight: 600; margin-top: .25rem; }

/* ---- Checkout -------------------------------------------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .checkout-layout { grid-template-columns: 1fr; } }

.checkout-section { background: var(--c-surface); border: 1.5px solid var(--c-border); border-radius: var(--r-lg); padding: 1.75rem; margin-bottom: 1.5rem; }
.checkout-section h3 { margin-bottom: 1.25rem; padding-bottom: .875rem; border-bottom: 1.5px solid var(--c-border); }

.payment-method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .75rem;
}

.payment-method-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 64px;
  padding: .75rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-surface);
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.payment-method-card:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-sm);
}

.payment-method-card:has(input:checked) {
  border-color: var(--c-primary);
  background: var(--c-primary-light);
  box-shadow: 0 0 0 3px rgba(214, 29, 36, .12);
}

.payment-method-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-method-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.payment-method-logo img {
  max-width: 34px;
  max-height: 24px;
  object-fit: contain;
}

.payment-method-logo span {
  font-size: .8rem;
  font-weight: 800;
  color: var(--c-primary);
  text-transform: uppercase;
}

.payment-method-name {
  font-size: .9rem;
  font-weight: 800;
  color: var(--c-text);
}

/* ---- Order confirmation ---------------------------------- */
.order-success {
  text-align: center; padding: 4rem 1.5rem;
  max-width: 600px; margin-inline: auto;
}
.order-success-icon { font-size: 4rem; margin-bottom: 1rem; }
.order-success h1 { color: var(--c-success); margin-bottom: 1rem; }

/* ---- Page / static content ------------------------------- */
.page-content { max-width: 800px; margin-inline: auto; padding: 3rem 0; }
.page-content h2 { margin: 2rem 0 .875rem; }
.page-content h3 { margin: 1.5rem 0 .625rem; }
.page-content ul, .page-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.page-content li { margin-bottom: .4rem; }
.page-content table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.page-content table th, .page-content table td { padding: .625rem .875rem; border: 1.5px solid var(--c-border); text-align: left; }
.page-content table th { background: var(--c-bg); font-weight: 700; }

/* ---- Pagination ------------------------------------------ */
.pagination { display: flex; gap: .375rem; justify-content: center; align-items: center; padding: 2rem 0; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-md); font-size: .9375rem; font-weight: 600;
  border: 1.5px solid var(--c-border); color: var(--c-text-muted); text-decoration: none;
  transition: all .15s;
}
.pagination a:hover { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-primary-light); }
.pagination .current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.pagination .disabled { opacity: .4; cursor: not-allowed; }

/* ---- Footer ---------------------------------------------- */
.site-footer {
  background: var(--c-dark);
  color: rgba(255,255,255,.75);
  margin-top: auto;
}
.footer-main { padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-logo { margin-bottom: 1rem; display: inline-flex; }
.footer-logo img { width: 170px; height: auto; display: block; }
.footer-tagline { font-size: .9rem; color: rgba(255,255,255,.6); margin-bottom: 1.5rem; }
.footer-col h4 { color: #fff; font-size: .875rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer-col ul  { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a   { color: rgba(255,255,255,.65); font-size: .9rem; text-decoration: none; transition: color .15s; }
.footer-col a:hover { color: #fff; }

.social-links { display: flex; gap: .5rem; margin-top: 1rem; }
.social-link  { width: 36px; height: 36px; border-radius: var(--r-sm); background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: rgba(255,255,255,.7); transition: background .15s, color .15s; }
.social-link:hover { background: var(--c-primary); color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: .8125rem; color: rgba(255,255,255,.45); }
.footer-bottom a { color: rgba(255,255,255,.5); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,.8); }

/* ---- Trust bar ------------------------------------------- */
.trust-bar { background: var(--c-dark-2); padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,.08); }
.trust-bar .container { display: flex; justify-content: center; flex-wrap: wrap; gap: 2rem; }
.trust-item { display: flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.7); font-size: .8125rem; }
.trust-icon { font-size: 1.375rem; }

/* ---- Empty states ---------------------------------------- */
.empty-state { text-align: center; padding: 5rem 1.5rem; }
.empty-state .icon { font-size: 3.5rem; margin-bottom: 1rem; opacity: .4; }
.empty-state h2   { margin-bottom: .5rem; }
.empty-state p    { color: var(--c-text-muted); margin-bottom: 1.5rem; }

/* ---- Loader ---------------------------------------------- */
.loader { display: inline-block; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(124,58,237,.2); border-top-color: var(--c-primary); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Utilities ------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.hidden { display: none !important; }
