/* =========================================================
   00. Store Reset + Theme Tokens
========================================================= */

:root {
  --store-bg: #0f172a;
  --store-panel: #1e293b;
  --store-panel-soft: #172033;
  --store-border: rgba(148, 163, 184, 0.22);

  --store-accent: #38bdf8;
  --store-accent-strong: #2563eb;
  --store-accent-glow: rgba(56, 189, 248, 0.45);

  --store-text: #f8fafc;
  --store-muted: #cbd5e1;
  --store-dim: #94a3b8;

  --store-radius: 10px;
  --store-shadow: 0 24px 70px rgba(2, 6, 23, 0.35);

  --page-width: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--store-bg);
  color: var(--store-text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

body.store-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("../assets/images/banner.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

body.store-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(2, 6, 23, 0.28);
}

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

a {
  color: inherit;
  text-decoration: none;
}

body > header,
body > main,
body > footer {
  position: relative;
  z-index: 2;
}

main {
  padding-bottom: 36px;
}

.store-shell {
  width: min(100% - 32px, 1440px);
  margin-left: auto;
  margin-right: auto;
}

.store-nav {
  margin-left: auto;
}

/* =========================================================
   01. Background Effects
========================================================= */

body.store-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;

  background-image: url("../assets/images/banner.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

body.store-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(2, 6, 23, 0.20),
      rgba(2, 6, 23, 0.35)
    );
}

/* =========================================================
02. Shared Layout
========================================================= */

.store-shell,
.store-header,
.store-section,
.store-hero,
.store-footer {
width: var(--page-width);
margin-left: auto;
margin-right: auto;
}

.store-section {
margin-top: 80px;
margin-bottom: 80px;
}

.store-card,
.category-card,
.product-card,
.store-panel {
background: rgba(15, 23, 42, 0.78);
border: 1px solid var(--store-border);
border-radius: 20px;
box-shadow: var(--store-shadow);
backdrop-filter: blur(14px);
}

.store-card:hover,
.category-card:hover,
.product-card:hover {
border-color: rgba(56, 189, 248, 0.35);
transform: translateY(-4px);
transition: all 0.25s ease;
}

.section-eyebrow {
color: var(--store-accent);
font-size: 0.85rem;
font-weight: 700;
letter-spacing: 0.12em;
text-transform: uppercase;
margin-bottom: 12px;
}

.store-note {
color: var(--store-dim);
}

.store-section__header {
display: flex;
justify-content: space-between;
align-items: end;
gap: 24px;
margin-bottom: 32px;
}

.store-section__header h2 {
font-size: clamp(2rem, 4vw, 3rem);
line-height: 1.1;
}

@media (max-width: 768px) {
.store-section__header {
flex-direction: column;
align-items: flex-start;
}

.store-section {
margin-top: 60px;
margin-bottom: 60px;
}
}

/* =========================================================
   03. Header + Navigation
========================================================= */

.store-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 23, 42, 0.88);
  border-bottom: 1px solid rgba(56, 189, 248, 0.18);
  backdrop-filter: blur(18px);
}

.store-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.store-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  color: var(--store-text);
  text-decoration: none;
}

.store-logo__icon {
  width: 48px;
  height: 48px;
  display: inline-block;
  flex: 0 0 auto;
  background-image: url("../assets/images/favicon.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  color: transparent;
  font-size: 0;
  filter:
    drop-shadow(0 0 8px rgba(56, 189, 248, 0.7))
    drop-shadow(0 0 18px rgba(56, 189, 248, 0.35));
}

.store-logo__wordmark {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.store-logo__accent {
  color: var(--store-accent);
  text-shadow:
    0 0 8px rgba(56, 189, 248, 0.65),
    0 0 18px rgba(56, 189, 248, 0.35);
}

a {
  color: var(--store-muted);
  font-size: 0.94rem;
  font-weight: 800;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.store-nav a:hover,
.store-nav a:focus-visible {
  color: var(--store-text);
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.38);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.18);
  transform: translateY(-1px);
}

.store-nav a.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.34), rgba(37, 99, 235, 0.32));
  border-color: rgba(125, 211, 252, 0.55);
  box-shadow:
    0 0 18px rgba(56, 189, 248, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.store-nav .store-cart-link {
  border-color: rgba(56, 189, 248, 0.28);
  background: rgba(15, 23, 42, 0.42);
}

.store-header {
  width: calc(100% - 32px);
  max-width: none;
  margin: 0 auto;
}

/* =========================================================
   04. Typography
========================================================= */

.store-eyebrow,
.section-eyebrow,
.hero-category-label {
  color: var(--store-accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  font-weight: 800;
}

h1 {
  margin: 18px 0 24px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  max-width: 12ch;
}

h2 {
  margin: 16px 0 20px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

h3 {
  margin: 12px 0 14px;
  font-size: 1.25rem;
  line-height: 1.4;
}

p,
li,
label,
input,
textarea,
select {
  font-size: 1rem;
  line-height: 1.8;
}

.store-hero p,
.store-note,
.category-card p {
  color: var(--store-muted);
}

.store-hero p {
  max-width: 650px;
  margin-bottom: 24px;
}

.hero-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 28px 0;
  color: var(--store-dim);
  font-size: 0.95rem;
}

.hero-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: var(--store-muted);
  font-size: 0.92rem;
}

.hero-category-label {
  display: block;
  margin-top: 28px;
  margin-bottom: 12px;
}

.section-eyebrow {
  margin-bottom: 10px;
}

.store-note {
  font-size: 0.95rem;
}

/* =========================================================
   05. Buttons + Link Treatments
========================================================= */

.store-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: auto;
  min-width: 190px;
  min-height: 48px;
  padding: 13px 24px;

  border: 1px solid transparent;
  border-radius: 999px;

  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;

  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.store-button:hover {
  transform: translateY(-1px);
}

.store-button:disabled,
.store-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

.store-button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--store-accent), var(--store-accent-strong));
  border-color: rgba(125, 211, 252, 0.45);
  box-shadow:
    0 0 20px rgba(56, 189, 248, 0.32),
    0 16px 36px rgba(37, 99, 235, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.store-button--primary:hover {
  box-shadow:
    0 0 26px rgba(56, 189, 248, 0.44),
    0 18px 42px rgba(37, 99, 235, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.store-button--secondary {
  color: var(--store-text);
  background: rgba(15, 23, 42, 0.38);
  border-color: rgba(125, 211, 252, 0.35);
  box-shadow:
    0 0 16px rgba(56, 189, 248, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.store-button--secondary:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(125, 211, 252, 0.55);
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.22);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--store-accent);
  outline-offset: 3px;
}

.form-submit-notice,
.form-error-message {
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 700;
  line-height: 1.55;
}

.form-submit-notice {
  color: #e0f2fe;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.25);
}

.form-error-message {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.3);
}

/* =========================================================
   06. Hero
========================================================= */

.store-hero {
  min-height: 680px;
  display: flex;
  align-items: center;
  padding: 112px 0 86px;
}

.store-hero > div {
  max-width: 760px;
}

.store-hero h1,
.store-hero__subheading {
  max-width: 720px;
  font-size: clamp(2.3rem, 4.2vw, 4rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.045em;
  text-shadow: 0 4px 28px rgba(2, 6, 23, 0.9);
}

.store-hero h1 {
  margin: 14px 0 40px;
}

.store-hero__subheading {
  margin: 0 0 42px;
  font-size: clamp(2.15rem, 3.9vw, 3.7rem);
}

.store-hero p {
  max-width: 690px;
  margin: 0;
  color: var(--store-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  text-shadow: 0 3px 18px rgba(2, 6, 23, 0.85);
}

.hero-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
  color: #dbeafe;
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-stat-row span + span::before {
  content: "\2022";
  margin-right: 18px;
  color: var(--store-accent);
}

.hero-category-group {
  margin-top: 26px;
}

.hero-category-label {
  display: block;
  margin-bottom: 12px;
  color: var(--store-accent);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-category-pills a {
  padding: 8px 13px;
  border: 1px solid rgba(125, 211, 252, 0.3);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.42);
  color: #e0f2fe;
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.hero-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 20px;
  color: #e0f2fe;
  font-size: 0.84rem;
  font-weight: 800;
}


.template-browser {
  margin-top: 18px;
}


.template-browser-subtitle {
  max-width: 600px;
  margin: 10px 0 0;
  color: var(--store-muted);
  font-size: 1rem;
  line-height: 1.65;
  text-align: left;
}
.template-filter-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.76);
  box-shadow:
    var(--store-shadow),
    0 0 28px rgba(56, 189, 248, 0.12);
  backdrop-filter: blur(14px);
}

.template-search-field input {
  width: 100%;
  min-height: 54px;
  border-color: rgba(125, 211, 252, 0.34);
  color: var(--store-text);
  background: rgba(2, 6, 23, 0.64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.template-search-field input::placeholder {
  color: var(--store-dim);
}

.template-filter-group,
.template-filter-tags,
.template-filter-actions,
.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.template-filter-button,
.template-tag-button,
.product-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 999px;
  color: var(--store-muted);
  background: rgba(15, 23, 42, 0.54);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1;
}

.template-filter-button,
.template-tag-button {
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.template-filter-button:hover,
.template-tag-button:hover,
.template-filter-button.is-active,
.template-tag-button.is-active {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(125, 211, 252, 0.55);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.18);
  transform: translateY(-1px);
}

.product-card__tags {
  margin-top: 4px;
}

.product-card__tag {
  min-height: 30px;
  padding: 7px 10px;
  color: #dbeafe;
  background: rgba(37, 99, 235, 0.18);
}

.template-filter-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed rgba(125, 211, 252, 0.32);
  border-radius: 16px;
  color: var(--store-muted);
  text-align: center;
  background: rgba(2, 6, 23, 0.38);
}

.product-card[hidden],
.store-section[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .template-filter-panel {
    padding: 18px;
  }

  .template-filter-button,
  .template-tag-button {
    flex: 1 1 auto;
  }

  .template-filter-actions .store-button {
    width: 100%;
  }
}

/* =========================================================
   07. Cards + Grids
========================================================= */

.product-grid,
.category-grid,
.policy-grid,
.cart-layout {
  display: grid;
  gap: 18px;
}

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

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

.category-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card,
.category-card,
.policy-card,
.cart-panel,
.about-card {
  min-width: 0;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--store-border);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: var(--store-shadow);
  backdrop-filter: blur(14px);
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-card img,
.product-card picture {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
}

.product-card h3,
.category-card h3,
.policy-card h3 {
  color: var(--store-text);
  font-size: 1.15rem;
  line-height: 1.25;
}

.product-card p,
.category-card p,
.policy-card p,
.cart-panel p {
  color: var(--store-muted);
}

.product-card:hover,
.category-card:hover,
.policy-card:hover {
  border-color: rgba(56, 189, 248, 0.38);
  box-shadow:
    var(--store-shadow),
    0 0 24px rgba(56, 189, 248, 0.14);
  transform: translateY(-3px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.category-card span {
  color: var(--store-accent);
  font-size: 0.8rem;
  font-weight: 900;
}

.product-card .store-actions,
.cart-panel .store-actions {
  margin-top: auto;
}

.cart-layout {
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: start;
}

@media (max-width: 900px) {
  .product-grid,
  .category-grid,
  .category-grid--three,
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   08. Store Products
========================================================= */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;

  border-radius: 20px;

  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.10);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(59, 130, 246, 0.08);

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);

  border-color: rgba(96, 165, 250, 0.35);

  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.32),
    0 0 24px rgba(96, 165, 250, 0.18);
}

.product-card img {
  width: 100%;
  height: 250px;

  object-fit: cover;
  object-position: top center;
}

.product-content {
  display: flex;
  flex-direction: column;
  gap: 12px;

  padding: 20px;
}

.product-category {
  color: #93c5fd;

  font-size: 0.72rem;
  font-weight: 800;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 800;

  line-height: 1.3;
}

.product-description {
  color: rgba(255,255,255,0.72);

  line-height: 1.7;
}

.product-price {
  margin-top: auto;

  font-size: 1.4rem;
  font-weight: 800;

  color: #ffffff;
}

.product-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 10px;

  margin-top: 16px;
}

/* =========================================================
   Why Buy Section
========================================================= */

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.category-card {
  padding: 24px;

  border-radius: 18px;

  background: rgba(15, 23, 42, 0.72);

  border: 1px solid rgba(255,255,255,0.10);

  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.category-card:hover {
  transform: translateY(-3px);

  border-color: rgba(96,165,250,0.30);
}

.category-card span {
  display: block;

  margin-bottom: 12px;

  color: #60a5fa;

  font-size: 0.8rem;
  font-weight: 800;
}

.category-card h3 {
  margin-bottom: 10px;

  line-height: 1.3;
}

.category-card p {
  color: rgba(255,255,255,0.72);

  line-height: 1.7;
}

/* =========================================================
   10. Utility + Simple Forms
========================================================= */

.hidden {
  display: none !important;
}

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

/* Basic form styling only, for future contact/support forms */

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field > span {
  color: var(--store-text);
  font-size: 0.85rem;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(125, 211, 252, 0.25);
  border-radius: 14px;
  padding: 13px 15px;
  color: #020617;
  background: #ffffff;
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #64748b;
}

.required-indicator {
  color: #38bdf8;
  font-weight: 900;
}

.field-hint {
  display: block;
  color: var(--store-dim);
  font-size: 0.83rem;
  line-height: 1.5;
}

.form-submit-notice,
.form-error-message {
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 700;
  line-height: 1.55;
}

.form-submit-notice {
  color: #e0f2fe;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.25);
}

.form-error-message {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.3);
}

/* =========================================================
   11. Cart
========================================================= */

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
  align-items: start;
}

.cart-panel {
  padding: 24px;
  border: 1px solid var(--store-border);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.76);
  box-shadow: var(--store-shadow);
  backdrop-filter: blur(14px);
}

.cart-panel h2 {
  margin-bottom: 18px;
  font-size: 1.35rem;
}

.cart-items {
  display: grid;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.55);
}

.cart-item img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
}

.cart-item h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.cart-item p {
  margin: 0;
  color: var(--store-muted);
  font-size: 0.9rem;
}

.cart-item strong {
  color: var(--store-text);
  font-size: 1rem;
}

.summary-row,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(125, 211, 252, 0.16);
}

.summary-row span {
  color: var(--store-muted);
}

.summary-row strong,
.summary-total strong {
  color: var(--store-text);
}

.summary-total {
  margin-top: 8px;
  border-bottom: 0;
  font-size: 1.15rem;
  font-weight: 900;
}

#checkoutButton {
  width: 100%;
  margin-top: 20px;
}

.checkout-message {
  margin-top: 14px;
  color: var(--store-muted);
  font-size: 0.9rem;
}

.empty-cart-card,
.payment-placeholder {
  padding: 22px;
  text-align: center;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.58);
  border: 1px dashed rgba(125, 211, 252, 0.28);
  color: var(--store-muted);
}

/* =========================================================
   12. Success + Thank You
========================================================= */

.success-page {
  min-height: 100vh;
}

.success-main {
  width: var(--page-width);
  margin: 60px auto 80px;
}

.success-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 42px;
  text-align: center;
  border: 1px solid var(--store-border);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.76);
  box-shadow: var(--store-shadow);
  backdrop-filter: blur(14px);
}

.thank-you-shell {
  display: grid;
  gap: 24px;
}

.success-icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 2.6rem;
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(135deg, var(--store-accent), var(--store-accent-strong));
  box-shadow:
    0 0 28px rgba(56, 189, 248, 0.45),
    0 18px 42px rgba(37, 99, 235, 0.35);
}

.success-card h1 {
  margin-bottom: 18px;
}

.success-card p,
.thank-you-note,
.thank-you-steps,
.rating-note {
  color: var(--store-muted);
}

.download-box,
.rating-panel,
.thank-you-summary-card,
.thank-you-steps-card,
.thank-you-response-box {
  padding: 24px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.58);
}

.download-box {
  margin-top: 26px;
}

.thank-you-checklist {
  width: min(420px, 100%);
  margin: 0 auto;
  text-align: left;
}

.thank-you-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.thank-you-summary-card,
.thank-you-steps-card {
  text-align: left;
}

.thank-you-summary-card h3,
.thank-you-steps-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
}

.thank-you-summary-list,
.thank-you-list-block {
  display: grid;
  gap: 12px;
}

.thank-you-list-block {
  margin-top: 16px;
}

.thank-you-list-block h4 {
  margin: 0;
  color: var(--store-text);
}

.thank-you-note {
  margin: 16px 0 0;
}

.thank-you-steps {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 10px;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  width: min(100%, 520px);
  margin: 0 auto;
}

.success-actions .store-button {
  min-width: 220px;
}

.rating-panel {
  margin-top: 24px;
}

.rating-stars {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.star-button {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(125, 211, 252, 0.25);
  background: rgba(15, 23, 42, 0.58);
  color: #fde68a;
  font-size: 1.35rem;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.star-button:hover,
.star-button.active {
  transform: translateY(-2px);
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(125, 211, 252, 0.45);
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.22);
}

.rating-note {
  margin-top: 14px;
}

/* =========================================================
   13. CTA + Footer
========================================================= */

.cta {
  width: min(940px, 92%);
  margin: 56px auto 24px;
  padding: 38px 28px;
  text-align: center;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.76);
  box-shadow:
    var(--store-shadow),
    0 0 34px rgba(56, 189, 248, 0.12);
  backdrop-filter: blur(14px);
}

.cta .store-actions {
  justify-content: center;
}

.store-footer {
  margin-top: 80px;
  border-top: 1px solid rgba(56, 189, 248, 0.18);
  background: rgba(15, 23, 42, 0.86);
  backdrop-filter: blur(18px);
}

.store-footer__inner {
  padding: 46px 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 42px;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 12px;
}

.footer-brand img {
  width: 58px;
  filter:
    drop-shadow(0 0 10px rgba(56, 189, 248, 0.7))
    drop-shadow(0 0 22px rgba(56, 189, 248, 0.35));
}

.footer-brand h3 {
  margin: 0;
  font-size: 1.35rem;
}

.footer-brand h3 span {
  color: var(--store-accent);
  text-shadow: 0 0 14px rgba(56, 189, 248, 0.55);
}

.footer-brand p {
  max-width: 340px;
  color: var(--store-muted);
  font-size: 0.95rem;
}

.footer-column {
  display: grid;
  gap: 12px;
}

.footer-column h4 {
  margin: 0 0 6px;
  color: var(--store-text);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.store-footer__links,
.footer-social {
  display: grid;
  gap: 10px;
}

.store-footer__links a,
.footer-social a {
  color: var(--store-muted);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  transition:
    color 180ms ease,
    text-shadow 180ms ease,
    transform 180ms ease;
}

.store-footer__links a:hover,
.store-footer__links a:focus-visible,
.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--store-accent);
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
  transform: translateX(2px);
}

.footer-bottom {
  border-top: 1px solid rgba(56, 189, 248, 0.12);
  padding: 20px 0;
  text-align: center;
  color: var(--store-dim);
  font-size: 0.88rem;
}

/* =========================================================
   14. Utilities
========================================================= */

.preview-info {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.58);
  text-align: center;
}

.preview-info span {
  color: var(--store-accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.preview-info strong {
  display: block;
  margin: 6px 0;
  color: var(--store-text);
  font-size: 1.6rem;
  line-height: 1.1;
}

.preview-info p {
  color: var(--store-muted);
  font-size: 0.9rem;
}

.template-actions .store-button {
  min-width: 148px;
}

@keyframes subtleFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Rebuilt template browser cards */
.template-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.template-results-grid .product-card {
  min-height: 100%;
  padding: 0;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.76);
  border: 1px solid rgba(125, 211, 252, 0.18);
  box-shadow:
    0 18px 36px rgba(2, 6, 23, 0.34),
    0 0 20px rgba(56, 189, 248, 0.08);
}

.template-results-grid .product-card__image {
  position: relative;
  aspect-ratio: 1 / 0.72;
  overflow: hidden;
  background: rgba(2, 6, 23, 0.48);
}


.product-card__sold-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 14px;
  border: 1px solid rgba(125, 211, 252, 0.58);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--store-accent), var(--store-accent-strong));
  color: #ffffff;
  box-shadow:
    0 0 22px rgba(56, 189, 248, 0.42),
    0 10px 24px rgba(37, 99, 235, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.template-results-grid .product-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
}

.template-results-grid .product-card__body {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto;
  gap: 10px;
  padding: 16px;
  min-height: 280px;
}

.template-results-grid .product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.template-results-grid .product-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 9px;
  border: 1px solid rgba(125, 211, 252, 0.25);
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(37, 99, 235, 0.16);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
}

.template-results-grid .product-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.22;
}

.template-results-grid .product-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.template-results-grid .product-card__tags {
  gap: 7px;
}

.template-results-grid .product-card__tag {
  min-height: 26px;
  padding: 6px 8px;
  font-size: 0.72rem;
}

.template-results-grid .product-card__footer {
  align-self: end;
}

.template-results-grid .product-price {
  margin: 0;
  font-size: 1.1rem;
}

.template-results-grid .product-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.template-results-grid .product-card__actions .store-button {
  min-width: 0;
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  font-size: 0.84rem;
  white-space: normal;
}

.template-results-grid .product-card--coming-soon .product-card__actions {
  grid-template-columns: 1fr;
}

.template-results-grid .product-card--coming-soon .store-button {
  pointer-events: none;
}

@media (max-width: 980px) {
  .template-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .template-results-grid .product-card__body {
    min-height: 0;
  }
}
/* Marketplace density refinements */
.template-browser {
  margin-bottom: 100px;
}

.template-results-grid {
  gap: 16px;
}

.template-results-grid .product-card {
  min-height: 0;
  border-radius: 14px;
}

.template-results-grid .product-card__image {
  position: relative;
  aspect-ratio: 1 / 0.56;
}

.template-results-grid .product-card__body {
  grid-template-rows: auto auto auto minmax(3.7em, 1fr) auto auto;
  gap: 8px;
  min-height: 214px;
  padding: 13px;
}

.template-results-grid .product-card__meta,
.template-results-grid .product-card__tags {
  gap: 6px;
}

.template-results-grid .product-card__meta span {
  min-height: 24px;
  padding: 5px 8px;
  font-size: 0.68rem;
}

.template-results-grid .product-card h3 {
  font-size: 0.94rem;
  line-height: 1.18;
}

.template-results-grid .product-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 0.8rem;
  line-height: 1.45;
}

.template-results-grid .product-card__tag {
  min-height: 22px;
  padding: 5px 7px;
  font-size: 0.66rem;
}

.template-results-grid .product-price {
  font-size: 1rem;
}

.template-results-grid .product-card__actions {
  gap: 8px;
}

.template-results-grid .product-card__actions .store-button {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 0.78rem;
}

.template-results-grid .product-card--coming-soon .product-card__body {
  grid-template-rows: auto auto minmax(3em, 1fr) auto;
}

.template-results-grid .product-card--coming-soon p {
  -webkit-line-clamp: 2;
}

.template-results-grid .product-card--coming-soon .product-card__tag:last-child {
  display: none;
}

section[aria-labelledby="why-buy-heading"] {
  margin-top: 0;
}

section[aria-labelledby="why-buy-heading"] > .store-shell {
  padding: 38px;
  border: 1px solid rgba(125, 211, 252, 0.20);
  border-radius: 24px;
  background: rgba(8, 15, 35, 0.85);
  box-shadow:
    0 24px 70px rgba(2, 6, 23, 0.38),
    0 0 28px rgba(56, 189, 248, 0.10);
  backdrop-filter: blur(14px);
}

section[aria-labelledby="why-buy-heading"] .category-grid,
section[aria-labelledby="why-buy-heading"] .category-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

section[aria-labelledby="why-buy-heading"] .category-card {
  padding: 22px;
  background: rgba(15, 23, 42, 0.74);
  border-color: rgba(125, 211, 252, 0.18);
}

@media (max-width: 980px) {
  section[aria-labelledby="why-buy-heading"] .category-grid,
  section[aria-labelledby="why-buy-heading"] .category-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .template-browser {
    margin-bottom: 76px;
  }

  section[aria-labelledby="why-buy-heading"] > .store-shell {
    padding: 24px 18px;
    border-radius: 18px;
  }

  section[aria-labelledby="why-buy-heading"] .category-grid,
  section[aria-labelledby="why-buy-heading"] .category-grid--three {
    grid-template-columns: 1fr;
  }
}
/* Footer and footer-linked pages */
.store-footer {
  width: calc(100% - 32px);
  max-width: none;
  margin: 80px auto 24px;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.88);
  box-shadow:
    0 24px 70px rgba(2, 6, 23, 0.38),
    0 0 28px rgba(56, 189, 248, 0.10);
  backdrop-filter: blur(18px);
}

.store-footer__inner {
  width: min(100% - 32px, 1160px);
  margin: 0 auto;
  padding: 30px 0 18px;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.store-footer__links,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
}

.store-footer__links a,
.footer-social a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(125, 211, 252, 0.14);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.20);
  color: var(--store-muted);
}

.store-footer__links a:hover,
.store-footer__links a:focus-visible,
.footer-social a:hover,
.footer-social a:focus-visible {
  transform: translateY(-1px);
}

.footer-bottom {
  width: 100%;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(56, 189, 248, 0.12);
  text-align: center;
  color: var(--store-dim);
}

.footer-bottom p {
  margin: 0;
  color: var(--store-dim);
  font-size: 0.88rem;
}

.footer-page-main {
  padding-top: 72px;
}

.footer-page-banner {
  display: grid;
  gap: 16px;
  padding: 54px;
  border: 1px solid rgba(125, 211, 252, 0.20);
  border-radius: 24px;
  background: rgba(8, 15, 35, 0.82);
  box-shadow:
    0 24px 70px rgba(2, 6, 23, 0.38),
    0 0 28px rgba(56, 189, 248, 0.10);
  backdrop-filter: blur(14px);
}

.footer-page-banner h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.45rem, 5.4vw, 5rem);
  line-height: 1.02;
}

.footer-page-banner p:not(.section-eyebrow) {
  max-width: 680px;
  color: var(--store-muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.footer-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.footer-page-card,
.footer-policy-card {
  display: grid;
  gap: 14px;
}

.footer-policy-card {
  max-width: 880px;
  margin: 40px auto 0;
}

.footer-about-section {
  margin-top: 40px;
}

@media (max-width: 768px) {
  .store-footer {
    width: calc(100% - 20px);
    margin-bottom: 16px;
    border-radius: 18px;
  }

  .store-footer__inner {
    width: min(100% - 24px, 1160px);
    padding: 24px 0 16px;
  }

  .footer-page-main {
    padding-top: 48px;
  }

  .footer-page-banner {
    padding: 32px 22px;
    border-radius: 18px;
  }

  .footer-page-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .store-footer__links,
  .footer-social {
    gap: 8px;
  }

  .store-footer__links a,
  .footer-social a {
    justify-content: center;
    min-height: 32px;
    padding: 7px 10px;
    font-size: 0.82rem;
  }
}
/* Footer social icon buttons */
.footer-social {
  gap: 12px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  min-height: 44px;
  justify-content: center;
  padding: 0;
  border-color: rgba(125, 211, 252, 0.24);
  border-radius: 50%;
  background: rgba(8, 15, 35, 0.88);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  font-size: 1.05rem;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.66);
  background: rgba(14, 32, 62, 0.95);
  box-shadow:
    0 0 0 3px rgba(56, 189, 248, 0.12),
    0 0 24px rgba(56, 189, 248, 0.36);
  transform: translateY(-3px);
}

.footer-social i {
  line-height: 1;
}

@media (max-width: 520px) {
  .footer-social a {
    width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    font-size: 0.98rem;
  }
}
/* Sticky header and responsive layout fixes */
body.store-page {
  padding-top: 0;
}

.store-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: calc(100% - 32px);
  max-width: none;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.92);
  border-bottom: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.store-header__inner {
  width: min(100% - 32px, 1160px);
  margin: 0 auto;
  min-height: 76px;
}

.store-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.store-nav a {
  white-space: nowrap;
}

.store-logo {
  min-width: 0;
}

.store-logo__wordmark {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.template-filter-group,
.template-filter-tags,
.template-filter-actions,
.hero-category-pills,
.hero-feature-row,
.hero-stat-row,
.store-actions,
.store-footer__links,
.footer-social {
  min-width: 0;
}

.template-filter-button,
.template-tag-button,
.store-button,
.store-footer__links a {
  max-width: 100%;
  text-align: center;
  white-space: normal;
}

@media (max-width: 1100px) {
  .store-header__inner {
    gap: 16px;
  }

  .store-logo__icon {
    width: 42px;
    height: 42px;
  }

  .store-logo__wordmark {
    font-size: 1.1rem;
  }

  .store-nav a {
    padding: 8px 11px;
    font-size: 0.86rem;
  }

  .store-hero {
    min-height: 600px;
    padding-top: 96px;
    padding-bottom: 72px;
  }

  .store-hero h1,
  .store-hero__subheading {
    font-size: clamp(2.1rem, 5.4vw, 3.45rem);
  }

  .template-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.store-page .product-grid,
  body.store-page .category-grid,
  body.store-page .category-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .store-header {
    width: calc(100% - 20px);
  }

  .store-header__inner {
    width: min(100% - 20px, 1160px);
    min-height: 0;
    padding: 10px 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 12px;
  }

  .store-logo {
    flex: 1 1 100%;
    justify-content: center;
  }

  .store-logo__icon {
    width: 38px;
    height: 38px;
  }

  .store-logo__wordmark {
    font-size: clamp(0.98rem, 4vw, 1.12rem);
  }

  .store-nav {
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .store-nav a {
    flex: 0 0 auto;
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .store-hero {
    min-height: auto;
    padding: 58px 0 54px;
  }

  .store-hero > div {
    max-width: 100%;
  }

  .store-hero h1,
  .store-hero__subheading {
    max-width: 11ch;
    font-size: clamp(2.05rem, 10vw, 3rem);
    line-height: 1.04;
  }

  .store-hero h1 {
    margin-bottom: 30px;
  }

  .store-hero__subheading {
    margin-bottom: 28px;
  }

  .store-hero p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-stat-row span + span::before {
    display: none;
  }

  .store-actions,
  .product-card__actions,
  .template-results-grid .product-card__actions {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .store-button,
  .template-filter-actions .store-button {
    width: 100%;
  }

  .template-filter-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .template-filter-group,
  .template-filter-tags,
  .template-filter-actions {
    gap: 8px;
  }

  .template-filter-button,
  .template-tag-button {
    flex: 1 1 calc(50% - 8px);
    min-width: min(100%, 138px);
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .template-results-grid,
  body.store-page .product-grid,
  body.store-page .category-grid,
  body.store-page .category-grid--three {
    grid-template-columns: 1fr;
  }

  .store-footer__inner {
    gap: 16px;
  }

  .store-footer__links {
    width: 100%;
    gap: 8px;
  }

  .store-footer__links a {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .store-header {
    width: calc(100% - 12px);
  }

  .store-header__inner {
    width: min(100% - 12px, 1160px);
  }

  .store-logo__icon {
    width: 34px;
    height: 34px;
  }

  .store-logo__wordmark {
    font-size: 0.98rem;
  }

  .store-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .store-nav a {
    font-size: 0.78rem;
    padding: 7px 9px;
  }

  .store-hero h1,
  .store-hero__subheading {
    font-size: clamp(1.85rem, 11vw, 2.55rem);
  }

  .template-filter-button,
  .template-tag-button,
  .store-footer__links a {
    flex-basis: 100%;
  }

  .footer-social {
    width: 100%;
    justify-content: center;
  }
}
/* Compact About page */
.about-page-main {
  padding-top: 44px;
}

.about-page-hero {
  max-width: 920px;
  padding: 34px 38px;
  gap: 12px;
}

.about-page-hero h1 {
  max-width: 760px;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.about-page-hero p:not(.section-eyebrow) {
  max-width: 620px;
  font-size: 1rem;
  line-height: 1.65;
}

.about-intro-section,
.about-education-section,
.about-recognition-section {
  margin-top: 28px;
}

.about-copy-card,
.about-content-card {
  max-width: 920px;
  padding: 28px;
  border: 1px solid rgba(125, 211, 252, 0.20);
  border-radius: 20px;
  background: rgba(8, 15, 35, 0.80);
  box-shadow:
    0 18px 48px rgba(2, 6, 23, 0.30),
    0 0 22px rgba(56, 189, 248, 0.08);
  backdrop-filter: blur(14px);
}

.about-copy-card h2,
.about-content-card h2,
.about-store-focus .store-section__header h2 {
  max-width: 720px;
  margin: 8px 0 12px;
  font-size: clamp(1.45rem, 2.7vw, 2.25rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.about-copy-card p:not(.store-eyebrow),
.about-readable-copy p,
.recognition-card p {
  max-width: 720px;
  margin: 0;
  color: var(--store-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.about-readable-copy {
  display: grid;
  gap: 12px;
}

.about-copy-card .store-actions {
  margin-top: 20px;
}

.about-store-focus {
  margin-top: 36px;
  margin-bottom: 54px;
}

.about-store-focus .store-section__header {
  margin-bottom: 20px;
}

.about-store-focus .category-grid {
  gap: 14px;
}

.about-store-focus .category-card {
  padding: 18px;
  border-radius: 16px;
}

.about-store-focus .category-card h3,
.recognition-card h3 {
  margin: 8px 0 8px;
  font-size: 1rem;
  line-height: 1.25;
}

.about-store-focus .category-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.about-store-focus .category-card span {
  margin-bottom: 8px;
}

.recognition-badge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.recognition-badge-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.62);
  color: #dbeafe;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
}

.recognition-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.recognition-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.58);
}

.recognition-thumb {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(125, 211, 252, 0.32);
  border-radius: 14px;
  background:
    radial-gradient(circle at 35% 25%, rgba(56, 189, 248, 0.28), rgba(8, 15, 35, 0.86));
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.14);
}

@media (max-width: 900px) {
  .about-page-main {
    padding-top: 34px;
  }

  .about-page-hero,
  .about-copy-card,
  .about-content-card {
    max-width: none;
    padding: 26px 22px;
  }

  .recognition-badge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recognition-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .about-page-main {
    padding-top: 24px;
  }

  .about-page-hero,
  .about-copy-card,
  .about-content-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .about-page-hero h1 {
    font-size: clamp(1.72rem, 9vw, 2.35rem);
  }

  .about-copy-card h2,
  .about-content-card h2,
  .about-store-focus .store-section__header h2 {
    font-size: clamp(1.28rem, 7vw, 1.7rem);
  }

  .recognition-badge-grid,
  .recognition-card {
    grid-template-columns: 1fr;
  }

  .recognition-thumb {
    width: 52px;
    height: 52px;
  }
}
/* About page hierarchy refinements */
.about-page-hero h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.6rem);
  line-height: 1.12;
}

.about-stat-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 760px;
  margin-top: 18px;
}

.about-stat-badges span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.58);
  color: #dbeafe;
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
}

.about-store-focus .category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
}

.recognition-thumb {
  overflow: hidden;
  background: rgba(248, 250, 252, 0.96);
}

.recognition-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

@media (max-width: 900px) {
  .about-store-focus .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .about-page-hero h1 {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .about-stat-badges span {
    flex: 1 1 100%;
  }

  .about-store-focus .category-grid {
    grid-template-columns: 1fr;
  }
}
/* About recognition badge polish */
.recognition-badge-grid span {
  white-space: nowrap;
  font-size: 0.72rem;
  padding-inline: 10px;
}

@media (max-width: 760px) {
  .recognition-badge-grid span {
    white-space: normal;
  }
}

/* Education & Recognition pill and badge refinements */
.recognition-badge-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  max-width: 640px;
  margin: 16px auto 0;
}

.recognition-badge-grid span {
  flex: 0 1 auto;
  max-width: 210px;
  min-height: 30px;
  padding: 6px 10px;
  border-color: rgba(125, 211, 252, 0.22);
  background: rgba(15, 23, 42, 0.54);
  font-size: 0.68rem;
  line-height: 1.18;
  white-space: normal;
}

.recognition-detail-grid {
  align-items: stretch;
}

.recognition-card {
  height: 100%;
  align-items: center;
}

.recognition-thumb {
  width: 104px;
  height: 104px;
  padding: 8px;
  border: 1px solid rgba(125, 211, 252, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.86), rgba(8, 15, 35, 0.68)),
    radial-gradient(circle at 30% 20%, rgba(56, 189, 248, 0.22), transparent 58%);
  box-shadow:
    0 0 22px rgba(56, 189, 248, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.recognition-thumb img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
}

.recognition-card:first-child .recognition-thumb img {
  border-radius: 0;
  background: transparent;
}

@media (max-width: 760px) {
  .recognition-badge-grid {
    max-width: 520px;
    gap: 7px;
  }

  .recognition-badge-grid span {
    max-width: 190px;
    min-height: 28px;
    padding: 5px 9px;
    font-size: 0.66rem;
  }

  .recognition-thumb {
    width: 92px;
    height: 92px;
    padding: 7px;
  }
}
/* 404 page */
.not-found-main {
  min-height: 58vh;
  display: grid;
  align-items: center;
  padding: 72px 0 24px;
}

.not-found-card {
  max-width: 820px;
  padding: 42px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 24px;
  background: rgba(8, 15, 35, 0.84);
  box-shadow:
    0 24px 70px rgba(2, 6, 23, 0.38),
    0 0 28px rgba(56, 189, 248, 0.10);
  backdrop-filter: blur(14px);
}

.not-found-card h1 {
  max-width: 760px;
  margin: 10px 0 14px;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.08;
}

.not-found-card p:not(.section-eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--store-muted);
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .not-found-main {
    padding: 44px 0 10px;
  }

  .not-found-card {
    padding: 28px 20px;
    border-radius: 18px;
  }

  .not-found-card h1 {
    font-size: clamp(1.7rem, 9vw, 2.45rem);
  }
}
/* Mobile filter drawer and responsive tightening */
.template-filter-toggle {
  display: none;
}

.template-filter-options {
  display: grid;
  gap: 18px;
}

@media (max-width: 1100px) {
  .template-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .store-header__inner {
    padding: 7px 0;
    gap: 6px 10px;
  }

  .store-logo {
    flex: 0 1 auto;
    justify-content: flex-start;
  }

  .store-logo__icon {
    width: 30px;
    height: 30px;
  }

  .store-logo__wordmark {
    font-size: 0.95rem;
  }

  .store-nav {
    width: auto;
    flex: 1 1 auto;
    justify-content: flex-end;
    overflow-x: visible;
    gap: 5px;
    padding-bottom: 0;
  }

  .store-nav a {
    padding: 6px 8px;
    font-size: 0.74rem;
  }

  .store-hero {
    padding: 42px 0 44px;
  }

  .store-hero h1,
  .store-hero__subheading {
    max-width: 12ch;
    font-size: clamp(1.65rem, 8.6vw, 2.35rem);
    line-height: 1.05;
  }

  .store-hero h1 {
    margin-bottom: 22px;
  }

  .store-hero__subheading {
    margin-bottom: 22px;
  }

  .template-filter-panel {
    gap: 12px;
    padding: 14px;
  }

  .template-search-field input {
    min-height: 46px;
    padding: 11px 13px;
    font-size: 0.92rem;
  }

  .template-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid rgba(125, 211, 252, 0.32);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.10);
  }

  .template-filter-toggle::after {
    content: "+";
    margin-left: 10px;
    color: var(--store-accent);
    font-weight: 900;
  }

  .template-filter-panel.is-filter-open .template-filter-toggle::after {
    content: "-";
  }

  .template-filter-options {
    display: none;
    gap: 10px;
    padding-top: 2px;
  }

  .template-filter-panel.is-filter-open .template-filter-options {
    display: grid;
  }

  .template-filter-group,
  .template-filter-tags,
  .template-filter-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .template-filter-button,
  .template-tag-button {
    width: 100%;
    min-width: 0;
    min-height: 36px;
    justify-content: center;
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .template-results-grid,
  body.store-page .product-grid,
  body.store-page .category-grid,
  body.store-page .category-grid--three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .store-header__inner {
    justify-content: space-between;
  }

  .store-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .store-nav a {
    flex: 0 0 auto;
  }

  .store-hero h1,
  .store-hero__subheading {
    font-size: clamp(1.5rem, 8.8vw, 2.1rem);
  }
}

/* About page alignment and recognition badge visibility */
.about-page-main > .store-shell,
.about-store-focus > .store-shell {
  width: calc(100% - 48px);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.about-page-hero,
.about-copy-card,
.about-content-card,
.about-store-focus .store-section__header,
.about-store-focus .category-grid {
  width: 100%;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.about-intro-section,
.about-recognition-section,
.about-store-focus {
  margin-top: 70px;
}

.about-store-focus {
  margin-bottom: 70px;
}

.about-store-focus .store-section__header {
  display: block;
}

.recognition-thumb {
  width: 92px;
  height: 92px;
  padding: 14px;
  border: 1px solid rgba(125, 211, 252, 0.34);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 20px rgba(56, 189, 248, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.70);
}

.recognition-thumb img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
}

.recognition-card:first-child .recognition-thumb img {
  border-radius: 50%;
  background: #ffffff;
}

@media (max-width: 760px) {
  .about-page-main > .store-shell,
  .about-store-focus > .store-shell {
    width: calc(100% - 28px);
  }

  .about-intro-section,
  .about-recognition-section,
  .about-store-focus {
    margin-top: 56px;
  }

  .recognition-thumb {
    width: 84px;
    height: 84px;
    padding: 12px;
  }
}


/* Final Education & Recognition badge container override */
.recognition-thumb {
  width: 104px;
  height: 104px;
  padding: 8px;
  border: 1px solid rgba(125, 211, 252, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.86), rgba(8, 15, 35, 0.68)),
    radial-gradient(circle at 30% 20%, rgba(56, 189, 248, 0.22), transparent 58%);
  box-shadow:
    0 0 22px rgba(56, 189, 248, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.recognition-thumb img {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  display: block;
  object-fit: contain;
  object-position: center;
}

.recognition-card:first-child .recognition-thumb img {
  width: 140%;
  height: 140%;
  max-width: none;
  max-height: none;
  border-radius: 0;
  background: transparent;
  transform: translateY(-3%);
}

@media (max-width: 760px) {
  .recognition-thumb {
    width: 92px;
    height: 92px;
    padding: 7px;
  }
}
/* Cart quantity and remove control styling */
.cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.55);
}

.cart-row > div {
  min-width: 0;
}

.cart-row > div strong {
  color: var(--store-text);
  font-size: 1rem;
}

.cart-row > div span {
  color: var(--store-muted);
  font-size: 0.88rem;
}

.cart-row > strong {
  justify-self: end;
  color: var(--store-text);
  font-size: 1rem;
  white-space: nowrap;
}

.cart-row label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-quantity {
  width: 64px;
  max-width: 64px;
  min-height: 38px;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid rgba(125, 211, 252, 0.48);
  border-radius: 12px;
  background: rgba(8, 15, 35, 0.88);
  color: var(--store-text);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 14px rgba(56, 189, 248, 0.10);
}

.cart-quantity:focus {
  border-color: rgba(56, 189, 248, 0.85);
  outline: none;
  box-shadow:
    0 0 0 3px rgba(56, 189, 248, 0.16),
    0 0 18px rgba(56, 189, 248, 0.18);
}

.cart-remove {
  appearance: none;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(125, 211, 252, 0.34);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.74);
  color: #e0f2fe;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.08);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.cart-remove:hover,
.cart-remove:focus-visible {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(125, 211, 252, 0.62);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.18);
  transform: translateY(-1px);
}
@media (max-width: 767px) {
  .cart-page .store-section {
    margin-top: 42px;
  }

  .cart-page .store-section__header {
    gap: 14px;
    margin-bottom: 22px;
  }

  .cart-page .store-section__header h1 {
    margin: 8px 0 0;
    font-size: clamp(1.65rem, 8vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
  }

  .cart-page .store-section__header .store-button {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 10px 16px;
    font-size: 0.86rem;
  }

  .cart-page .cart-layout {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cart-page .cart-panel {
    width: 100%;
    box-sizing: border-box;
    padding: 18px;
  }

  .cart-page .cart-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .cart-page .cart-row > div {
    display: grid;
    gap: 4px;
    grid-column: auto;
  }

  .cart-page .cart-row > div br {
    display: none;
  }

  .cart-page .cart-row > div strong,
  .cart-page .cart-row > div span {
    display: block;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .cart-page .cart-row > strong {
    justify-self: start;
  }

  .cart-page .cart-row label {
    justify-self: start;
  }

  .cart-page .cart-quantity {
    width: 64px;
    max-width: 64px;
    min-height: 36px;
    padding: 7px 8px;
    appearance: textfield;
    -moz-appearance: textfield;
  }

  .cart-page .cart-quantity::-webkit-outer-spin-button,
  .cart-page .cart-quantity::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
  }

  .cart-page .cart-remove {
    grid-column: auto;
    justify-self: start;
    min-height: 36px;
    padding: 8px 14px;
    border-color: rgba(125, 211, 252, 0.38);
    background: rgba(15, 23, 42, 0.78);
    color: #e0f2fe;
  }
}

@media (max-width: 640px) {
  .cart-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
  }

  .cart-row > div {
    grid-column: 1 / -1;
  }

  .cart-row > strong {
    justify-self: start;
  }

  .cart-row label {
    justify-self: end;
  }

  .cart-remove {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

/* Compact mobile store header */
.store-menu-toggle {
  display: none;
}

@media (max-width: 767px) {
  .store-header {
    width: calc(100% - 16px);
  }

  .store-header__inner {
    position: relative;
    width: min(100% - 12px, 1160px);
    min-height: 40px;
    padding: 2px 0;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }

  .store-logo {
    flex: 0 1 auto;
    justify-content: flex-start;
    min-width: 0;
  }

  .store-logo__icon {
    width: 26px;
    height: 26px;
  }

  .store-logo__wordmark {
    font-size: 0.9rem;
    line-height: 1;
  }

  .store-nav {
    width: auto;
    max-width: calc(100% - 142px);
    flex: 0 1 auto;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    overflow-x: auto;
    padding-bottom: 0;
    scrollbar-width: none;
  }

  .store-nav::-webkit-scrollbar {
    display: none;
  }

  .store-nav a {
    flex: 0 0 auto;
    min-height: 28px;
    padding: 4px 7px;
    font-size: 0.7rem;
    line-height: 1;
  }

  .store-hero {
    padding-top: 18px;
  }
}

@media (max-width: 560px) {
  .store-menu-toggle {
    width: 32px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    gap: 3px;
    padding: 7px;
    border: 1px solid rgba(125, 211, 252, 0.34);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.74);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.10);
  }

  .store-menu-toggle span {
    width: 16px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .store-header.is-nav-open .store-menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .store-header.is-nav-open .store-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .store-header.is-nav-open .store-menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .store-nav {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    width: min(220px, calc(100vw - 32px));
    max-width: none;
    display: none;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px;
    border: 1px solid rgba(125, 211, 252, 0.24);
    border-radius: 16px;
    background: rgba(8, 15, 35, 0.96);
    box-shadow:
      0 18px 38px rgba(2, 6, 23, 0.42),
      0 0 22px rgba(56, 189, 248, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .store-header.is-nav-open .store-nav {
    display: grid;
  }

  .store-nav a {
    width: 100%;
    justify-content: center;
    padding: 9px 10px;
    font-size: 0.82rem;
  }

  .store-hero {
    padding-top: 16px;
  }
}
/* Sticky site header normalization */
body.store-page {
  padding-top: 0;
}

.store-header {
  position: sticky;
  top: 0;
  z-index: 3000;
}

.header {
  position: sticky;
  top: 0;
  z-index: 3000;
}
/* Final site-wide sticky navigation guard */
html {
  scroll-padding-top: 96px;
}

.store-header,
.header {
  top: 0;
  z-index: 10000;
}

.store-header {
  position: sticky;
}

.header {
  position: sticky;
}

.store-header__inner {
  position: relative;
}

.store-nav,
.nav {
  z-index: 10001;
}

.hero-sale-promo {
  position: absolute;
  top: 132px;
  right: 0;
  width: min(340px, 30vw);
  padding: 18px 20px;
  border: 1px solid rgba(125, 211, 252, 0.58);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(56, 189, 248, 0.22), rgba(37, 99, 235, 0.16)),
    rgba(15, 23, 42, 0.72);
  color: #ffffff;
  box-shadow:
    0 0 28px rgba(56, 189, 248, 0.30),
    0 18px 44px rgba(2, 6, 23, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-sale-promo__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  margin-bottom: 10px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--store-accent), var(--store-accent-strong));
  color: #ffffff;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.34);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-sale-promo strong {
  display: block;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: clamp(1.28rem, 2vw, 1.65rem);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-shadow: 0 0 18px rgba(56, 189, 248, 0.28);
}

.hero-sale-promo ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-sale-promo li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(125, 211, 252, 0.22);
  color: #dbeafe;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
}

.hero-sale-promo li span {
  flex: 0 0 auto;
  color: #ffffff;
  font-weight: 950;
}

.store-hero,
.about-page-hero {
  position: relative;
}

.about-page-hero {
  padding-right: min(360px, 38vw);
}

.about-page-hero .hero-sale-promo {
  top: 34px;
  right: 34px;
  width: min(286px, 30vw);
}

@media (max-width: 1100px) {
  .hero-sale-promo,
  .about-page-hero .hero-sale-promo {
    position: static;
    width: min(100%, 420px);
    margin-top: 28px;
  }

  .about-page-hero {
    padding-right: 22px;
  }
}

@media (max-width: 640px) {
  .hero-sale-promo,
  .about-page-hero .hero-sale-promo {
    width: 100%;
    margin-top: 22px;
    padding: 16px;
    border-radius: 16px;
  }

  .hero-sale-promo strong {
    font-size: 1.24rem;
  }

  .hero-sale-promo li {
    gap: 8px;
    font-size: 0.88rem;
  }
}

/* Customer reviews and hero trust bar */
.hero-trust-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  width: fit-content;
  max-width: 100%;
  margin-top: 14px;
  padding: 9px 12px;
  border: 1px solid rgba(125, 211, 252, 0.34);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(37, 99, 235, 0.12)),
    rgba(15, 23, 42, 0.62);
  box-shadow:
    0 0 18px rgba(56, 189, 248, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  color: #dbeafe;
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.2;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-trust-bar span:not(:first-child) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust-bar span:not(:first-child)::before {
  content: "\2022";
  color: rgba(125, 211, 252, 0.78);
  font-weight: 900;
}

.hero-trust-bar__stars {
  color: #facc15;
  letter-spacing: 0.04em;
  text-shadow: 0 0 14px rgba(250, 204, 21, 0.34);
}

.customer-reviews {
  margin-top: 0;
  margin-bottom: 84px;
}

.customer-reviews > .store-shell {
  padding: 30px;
  border: 1px solid rgba(125, 211, 252, 0.20);
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 0%, rgba(56, 189, 248, 0.16), transparent 34%),
    rgba(8, 15, 35, 0.82);
  box-shadow:
    0 24px 70px rgba(2, 6, 23, 0.36),
    0 0 30px rgba(56, 189, 248, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.customer-reviews__header {
  margin-bottom: 20px;
}

.customer-reviews__header h2 {
  max-width: none;
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.12;
}

.customer-reviews__header p {
  margin: 0;
  color: var(--store-muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  font-weight: 700;
}

.review-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(125, 211, 252, 0.25);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #dbeafe;
  font-weight: 850;
}

.review-summary strong {
  color: #ffffff;
  font-weight: 950;
}

.review-summary strong span {
  color: #facc15;
  letter-spacing: 0.04em;
  text-shadow: 0 0 14px rgba(250, 204, 21, 0.32);
}

.review-summary > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.review-summary > span::before {
  content: "\2022";
  color: rgba(125, 211, 252, 0.82);
  font-weight: 900;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  display: grid;
  gap: 14px;
  min-height: 100%;
  padding: 20px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(56, 189, 248, 0.10), rgba(37, 99, 235, 0.06)),
    rgba(15, 23, 42, 0.72);
  box-shadow:
    0 18px 38px rgba(2, 6, 23, 0.30),
    0 0 22px rgba(56, 189, 248, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.review-card:hover,
.review-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(125, 211, 252, 0.42);
  box-shadow:
    0 24px 48px rgba(2, 6, 23, 0.36),
    0 0 28px rgba(56, 189, 248, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.review-card__stars {
  color: #facc15;
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-shadow: 0 0 16px rgba(250, 204, 21, 0.36);
}

.review-card p {
  margin: 0;
  color: #e0f2fe;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.62;
}

.review-card cite {
  align-self: end;
  color: #ffffff;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-trust-bar,
  .review-summary {
    border-radius: 16px;
  }

  .hero-trust-bar {
    display: inline-flex;
    align-items: center;
    gap: 8px 10px;
  }

  .review-summary {
    width: 100%;
    align-items: flex-start;
  }

  .review-summary > span::before {
    display: none;
  }

  .customer-reviews {
    margin-bottom: 64px;
  }

  .customer-reviews > .store-shell {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .review-summary {
    display: grid;
    gap: 8px;
    padding: 14px;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    padding: 18px;
  }
}
/* Store video demo modal */
.store-video-modal[hidden] {
  display: none !important;
}

.store-video-modal {
  position: fixed;
  inset: 0;
  z-index: 30000;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 40px);
}

.store-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.store-video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  max-height: min(90vh, 760px);
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.34);
  border-radius: 22px;
  background: rgba(8, 15, 35, 0.94);
  box-shadow:
    0 28px 80px rgba(2, 6, 23, 0.62),
    0 0 34px rgba(56, 189, 248, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.store-video-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(125, 211, 252, 0.18);
}

.store-video-modal__header h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.2;
}

.store-video-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid rgba(125, 211, 252, 0.32);
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.16);
}

.store-video-modal__close:hover,
.store-video-modal__close:focus-visible {
  background: rgba(56, 189, 248, 0.22);
  border-color: rgba(125, 211, 252, 0.58);
}

.store-video-modal__video {
  display: block;
  width: 100%;
  max-height: calc(90vh - 86px);
  aspect-ratio: 16 / 9;
  background: #020617;
}

body.is-store-video-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .store-video-modal {
    padding: 12px;
  }

  .store-video-modal__dialog {
    border-radius: 16px;
  }

  .store-video-modal__header {
    padding: 12px;
  }

  .store-video-modal__close {
    width: 36px;
    height: 36px;
  }
}
/* Fixed header visibility guard */
:root {
  --store-fixed-header-offset: 76px;
  --legacy-fixed-header-offset: 96px;
}

html {
  scroll-padding-top: var(--store-fixed-header-offset);
}

body.store-page {
  padding-top: var(--store-fixed-header-offset);
}

body:not(.store-page) {
  padding-top: var(--legacy-fixed-header-offset);
}

body.store-page > .store-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 20000;
  transform: translateX(-50%);
}

body.store-page > main {
  position: relative;
  z-index: 2;
}

.header {
  position: fixed;
  top: 0;
  z-index: 20000;
}

.store-nav,
.nav {
  position: relative;
  z-index: 20001;
}

@media (min-width: 769px) and (max-width: 1100px) {
  html {
    scroll-padding-top: 104px;
  }

  body.store-page {
    padding-top: var(--store-fixed-header-offset);
  }
}

@media (max-width: 760px) {
  :root {
    --store-fixed-header-offset: 52px;
    --legacy-fixed-header-offset: 148px;
  }

  html {
    scroll-padding-top: var(--legacy-fixed-header-offset);
  }

  body.store-page {
    padding-top: var(--store-fixed-header-offset);
  }

  body:not(.store-page) {
    padding-top: var(--legacy-fixed-header-offset);
  }

  body.store-page > .store-header,
  .header {
    top: 0;
    z-index: 20000;
  }

  .store-nav,
  .nav {
    z-index: 20001;
  }
}

@media (max-width: 560px) {
  :root {
    --store-fixed-header-offset: 56px;
  }
}
/* Legacy header layout guard for fixed desktop pages */
@media (min-width: 1101px) {
  .header {
    left: 50%;
    width: min(1200px, calc(100% - 32px));
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-sizing: border-box;
    margin: 0;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(8, 0, 7, 0.78);
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 0.34),
      0 0 26px rgba(255, 20, 147, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateX(-50%);
  }
  
  .header .logo {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
  }
  
  .header .logo img {
    width: 54px;
    height: auto;
    flex: 0 0 auto;
    filter: drop-shadow(0 0 18px rgba(255, 20, 147, 0.70));
  }
  
  .header .logo span,
  .header .logo-text {
    color: #ffffff;
    font-size: 0.94rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
  
  .header .logo strong {
    color: #ff8bd2;
  }
  
  .header .nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-left: auto;
  }
  
  .header .nav a {
    color: #f7dceb;
    padding: 9px 13px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 800;
  }
  
  .header .nav a:hover,
  .header .nav a:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
  }
  
  .header .nav a.active {
    color: #14000d;
    background: linear-gradient(90deg, #ffffff, #ff9cda);
    box-shadow: 0 0 26px rgba(255, 20, 147, 0.24);
  }
  
  .header .menu-toggle {
    display: none;
  }
}


/* Template results page */
.template-search-form,
.template-search-field {
  display: block;
}

.template-results-section {
  min-height: calc(100vh - 190px);
}

.template-results-header {
  align-items: end;
}

.template-results-header h1 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1;
}

.template-results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}

.template-results-toolbar p {
  margin: 0;
  color: var(--store-muted);
  font-weight: 800;
}

.template-filter-empty + .template-results-grid:empty {
  display: none;
}

.store-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}


/* SEO collection and product pages */
.seo-page-header {
  align-items: end;
}

.seo-page-header h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.seo-page-header p {
  max-width: 760px;
}

.seo-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--store-muted);
  font-size: 0.88rem;
}

.seo-breadcrumbs a,
.seo-product-card h2 a,
.product-card__title-link {
  color: inherit;
  text-decoration: none;
}

.seo-breadcrumbs a:hover,
.seo-product-card h2 a:hover,
.product-card__title-link:hover {
  color: var(--store-accent);
}

.seo-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.seo-product-card {
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 18px;
  background: rgba(8, 18, 40, 0.82);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

.seo-product-card > a {
  display: block;
  aspect-ratio: 1 / 0.62;
  overflow: hidden;
}

.seo-product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seo-product-card__body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.seo-product-card__body h2,
.seo-product-card__body p {
  margin: 0;
}

.seo-product-card__body h2 {
  font-size: 1.1rem;
}

.seo-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.seo-product-card__footer strong {
  font-size: 1.2rem;
}

.seo-empty-collection {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.seo-empty-collection h2,
.seo-empty-collection p {
  margin: 0;
}

.seo-product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.seo-product-detail__media {
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 22px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.seo-product-detail__media img {
  display: block;
  width: 100%;
  height: auto;
}

.seo-product-detail__content {
  display: grid;
  gap: 18px;
}

.seo-product-detail__content h1,
.seo-product-detail__content p {
  margin: 0;
}

.seo-product-detail__content h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.04;
}

.seo-product-detail__description {
  color: var(--store-muted);
  line-height: 1.75;
}

.seo-product-detail__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-product-detail__categories a {
  padding: 8px 11px;
  border: 1px solid rgba(125, 211, 252, 0.3);
  border-radius: 999px;
  color: var(--store-text);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
}

.seo-product-detail__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

.seo-product-detail__price strong {
  font-size: 2rem;
}

.seo-product-detail__price span,
.seo-product-detail__support {
  color: var(--store-muted);
}

@media (max-width: 980px) {
  .seo-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-product-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .seo-product-grid {
    grid-template-columns: 1fr;
  }

  .seo-product-card__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .seo-page-header .store-button {
    width: 100%;
  }
}
