/* Online Games Store — public storefront theme */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --bg-deep: #06080f;
  --bg-base: #0c101c;
  --bg-elevated: #141b2d;
  --bg-card: #1a2238;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #eef2ff;
  --text-muted: #94a3b8;
  --accent: #7c5cff;
  --accent-hover: #9278ff;
  --accent-glow: rgba(124, 92, 255, 0.45);
  --mint: #2ee59d;
  --mint-dim: rgba(46, 229, 157, 0.15);
  --danger: #ff6b8a;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  --header-h: 72px;
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.storefront {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 92, 255, 0.22), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(46, 229, 157, 0.08), transparent);
  min-height: 100vh;
}

a { color: var(--accent-hover); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--mint); }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Top bar */
.site-topbar {
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.site-topbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1.5rem;
  padding: 0.5rem 0;
}
.site-topbar a { color: var(--text-muted); }
.site-topbar a:hover { color: var(--text); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(12, 16, 28, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text) !important;
  white-space: nowrap;
}
.site-brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #5b8def);
  display: grid;
  place-items: center;
  font-size: 1rem;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.site-brand img { max-height: 40px; width: auto; }

.site-search {
  flex: 1;
  max-width: 420px;
  display: none;
}
@media (min-width: 992px) { .site-search { display: block; } }
.site-search form { display: flex; gap: 0; }
.site-search input {
  flex: 1;
  border: 1px solid var(--border);
  border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--text);
  padding: 0.55rem 1rem;
  font-size: 0.9375rem;
}
.site-search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.site-search button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0 1rem;
  font-weight: 600;
  cursor: pointer;
}
.site-search button:hover { background: var(--accent-hover); }

.site-nav { margin-left: auto; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.site-nav a {
  display: block;
  padding: 0.5rem 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
}
.site-nav a:hover, .site-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.site-nav__cart {
  position: relative;
}
.site-nav__badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--mint);
  color: #041510;
  border-radius: 999px;
  display: grid;
  place-items: center;
}

.site-nav-toggle {
  display: flex;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.65rem;
}
@media (min-width: 992px) { .site-nav-toggle { display: none; } }

.site-nav-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  box-shadow: var(--shadow);
}
.site-nav-panel.is-open { display: block; }
@media (min-width: 992px) {
  .site-nav-panel {
    display: contents;
    position: static;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
  }
}
.site-nav-panel .site-search { display: block; max-width: none; margin-bottom: 1rem; }
@media (min-width: 992px) { .site-nav-panel .site-search { display: none; } }
.site-nav-panel ul { flex-direction: column; align-items: stretch; }
@media (min-width: 992px) { .site-nav-panel ul { flex-direction: row; align-items: center; } }

/* Main */
.site-main { padding-bottom: 4rem; flex: 1; }
.site-main--flush { padding-bottom: 0; }

.store-flash {
  position: relative;
  z-index: 1;
  padding-top: 1rem;
}
.store-alert {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.store-alert--success { border-color: rgba(46, 229, 157, 0.35); background: var(--mint-dim); }
.store-alert--danger { border-color: rgba(255, 107, 138, 0.35); background: rgba(255, 107, 138, 0.1); }
.store-alert__close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}

/* Buttons */
.btn-store-primary,
.btn-store-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  text-align: center;
}
.btn-store-primary {
  background: linear-gradient(135deg, var(--accent), #6366f1);
  color: #fff !important;
  box-shadow: 0 8px 28px var(--accent-glow);
}
.btn-store-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px var(--accent-glow);
  color: #fff !important;
}
.btn-store-outline {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text) !important;
}
.btn-store-outline:hover {
  border-color: var(--accent);
  background: rgba(124, 92, 255, 0.1);
  color: var(--text) !important;
}
.btn-store-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text) !important;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.btn-lg { padding: 0.85rem 1.75rem; font-size: 1rem; }

/* Hero landing */
.landing-hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
  overflow: hidden;
}
.landing-hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 992px) {
  .landing-hero__grid { grid-template-columns: 1.1fr 0.9fr; }
}
.landing-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mint);
  margin-bottom: 1rem;
}
.landing-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}
.landing-hero__title span {
  background: linear-gradient(90deg, #fff, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.landing-hero__lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 2rem;
}
.landing-hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.landing-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.landing-hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
}
.landing-hero__stat span { font-size: 0.875rem; color: var(--text-muted); }

.landing-hero__visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.landing-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.landing-hero__visual-fallback {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(160deg, rgba(124, 92, 255, 0.35), transparent 50%),
    linear-gradient(20deg, rgba(46, 229, 157, 0.2), transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.landing-carousel {
  margin-top: -2rem;
  margin-bottom: 3rem;
}
.landing-carousel .carousel-item img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* Sections */
.store-section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.store-section--alt {
  background: rgba(0, 0, 0, 0.25);
  border-block: 1px solid var(--border);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-head__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0;
}
.section-head__sub {
  color: var(--text-muted);
  margin: 0.35rem 0 0;
  font-size: 1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.35rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.product-card__media {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-elevated);
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--bg-elevated), var(--accent-glow));
}
.product-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  background: var(--mint);
  color: #041510;
}
.product-card__badge--muted { background: rgba(0,0,0,0.65); color: var(--text); }
.product-card__body { padding: 1.1rem; flex: 1; display: flex; flex-direction: column; }
.product-card__meta { font-size: 0.75rem; color: var(--text-muted); margin: 0 0 0.35rem; text-transform: uppercase; letter-spacing: 0.04em; }
.product-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  line-height: 1.3;
}
.product-card__title a { color: var(--text); }
.product-card__title a:hover { color: var(--accent-hover); }
.product-card__brand { font-size: 0.8125rem; color: var(--text-muted); margin: 0 0 auto; }
.product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
}
.product-card__price-current { font-weight: 700; font-size: 1.1rem; }
.product-card__price-old { font-size: 0.8125rem; color: var(--text-muted); text-decoration: line-through; margin-left: 0.35rem; }
.product-card__rating { font-size: 0.8125rem; color: #fbbf24; }

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card__media { aspect-ratio: 16/10; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.service-card__placeholder {
  height: 100%;
  min-height: 140px;
  background: linear-gradient(135deg, var(--bg-elevated), rgba(46, 229, 157, 0.15));
}
.service-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.service-card__meta { font-size: 0.75rem; color: var(--mint); text-transform: uppercase; letter-spacing: 0.06em; margin: 0; }
.service-card__title { font-family: var(--font-display); font-size: 1.15rem; margin: 0; }
.service-card__title a { color: var(--text); }
.service-card__price { color: var(--text-muted); margin: 0 0 0.5rem; }
.service-card__price span { opacity: 0.85; }

/* Category pills */
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.category-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}
.category-pill:hover {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(124, 92, 255, 0.12);
}

/* Offers */
.offer-strip { display: grid; gap: 1rem; }
@media (min-width: 768px) { .offer-strip { grid-template-columns: repeat(3, 1fr); } }
.offer-card {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(46, 229, 157, 0.25);
  background: linear-gradient(135deg, var(--mint-dim), transparent);
}
.offer-card strong { display: block; font-family: var(--font-display); margin-bottom: 0.25rem; }

/* Trust / steps */
.trust-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.trust-item {
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}
.trust-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(124, 92, 255, 0.2);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}
.trust-item h3 { font-family: var(--font-display); font-size: 1rem; margin: 0 0 0.35rem; }
.trust-item p { margin: 0; font-size: 0.875rem; color: var(--text-muted); }

/* CTA band */
.cta-band {
  padding: clamp(2.5rem, 5vw, 3.5rem);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(124, 92, 255, 0.25), rgba(99, 102, 241, 0.15));
  border: 1px solid var(--border-strong);
  text-align: center;
}
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 0.75rem; }
.cta-band p { color: var(--text-muted); max-width: 36rem; margin: 0 auto 1.5rem; }

/* Page hero (inner pages) */
.page-hero {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
  background: rgba(0, 0, 0, 0.2);
}
.page-hero__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  margin: 0;
}
.page-hero__subtitle { color: var(--text-muted); margin: 0.5rem 0 0; max-width: 40rem; }

.breadcrumbs { margin-bottom: 1rem; }
.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 0.35rem; opacity: 0.5; }
.breadcrumbs a { color: var(--text-muted); }

/* Catalog layout */
.catalog-layout {
  display: grid;
  gap: 2rem;
}
@media (min-width: 992px) {
  .catalog-layout { grid-template-columns: 280px 1fr; align-items: start; }
}
.filter-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.filter-panel h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 1rem;
}
.filter-panel label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.filter-panel .form-control,
.filter-panel .form-select,
.store-form .form-control,
.store-form .form-select {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.85rem;
  width: 100%;
  margin-bottom: 1rem;
}
.filter-panel .form-control:focus,
.store-form .form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Product detail */
.product-detail {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 992px) { .product-detail { grid-template-columns: 1fr 1fr; } }
.product-gallery__main {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  aspect-ratio: 1;
}
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumbs {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.product-gallery__thumbs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.75;
}
.product-gallery__thumbs img:hover { opacity: 1; border-color: var(--accent); }

.product-info__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.product-tag {
  font-size: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.product-info__price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin: 1rem 0;
}
.product-info__price del { font-size: 1rem; color: var(--text-muted); font-weight: 400; margin-left: 0.5rem; }
.product-info__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }
.product-specs {
  margin-top: 2rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.product-specs h3 { font-family: var(--font-display); font-size: 1rem; margin: 0 0 0.75rem; }

.review-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.review-card {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.review-card__head { display: flex; justify-content: space-between; margin-bottom: 0.5rem; font-size: 0.875rem; }
.review-card__stars { color: #fbbf24; }

/* Auth */
.auth-page {
  min-height: calc(100vh - var(--header-h) - 200px);
  display: grid;
  place-items: center;
  padding: 2rem 0;
}
.auth-card {
  width: min(100%, 440px);
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.auth-card h1 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0 0 0.35rem;
}
.auth-card__sub { color: var(--text-muted); margin-bottom: 1.75rem; font-size: 0.9375rem; }
.store-form label { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.35rem; display: block; }

/* Content pages */
.content-prose {
  max-width: 720px;
  color: var(--text-muted);
  line-height: 1.75;
}
.content-prose h2 { color: var(--text); font-family: var(--font-display); }

.store-pagination { margin-top: 2.5rem; }
.store-pagination__list { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.store-pagination__link {
  min-width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
}
.store-pagination__link:hover,
.store-pagination__link.is-active {
  border-color: var(--accent);
  background: rgba(124, 92, 255, 0.15);
  color: var(--text);
}

/* Footer */
.site-footer {
  background: #05070d;
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 1.5rem;
  margin-top: auto;
}
.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 2.5rem;
}
.site-footer__brand p { color: var(--text-muted); font-size: 0.9375rem; margin: 0.75rem 0 0; max-width: 280px; }
.site-footer h4 {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: var(--text-muted); font-size: 0.9375rem; }
.site-footer a:hover { color: var(--text); }
.site-footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Account / cart tables on storefront */
.store-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.store-table {
  width: 100%;
  border-collapse: collapse;
}
.store-table th,
.store-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.store-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.store-table tbody tr:hover { background: rgba(255,255,255,0.02); }

/* Bootstrap overrides inside storefront */
body.storefront .alert { display: none; }
body.storefront .text-muted { color: var(--text-muted) !important; }
body.storefront .card {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text);
}
body.storefront .list-group-item {
  background: var(--bg-elevated);
  border-color: var(--border);
  color: var(--text);
}

/* Admin + invoice (keep in style.css) */
.admin-sidebar .nav-link:hover { background: rgba(255,255,255,.1); border-radius: 4px; }
.invoice-print { max-width: 800px; }
@media print {
  .no-print { display: none !important; }
  main, body { margin: 0; }
}
