.store-page {
  background: #f7f8f5;
  color: var(--ink);
}

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

.store-page .site-header {
  top: 0;
}

.store-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #102d31;
  color: #fff;
  padding: calc(var(--nav-height) + 5rem) 1.5rem 4.5rem;
}

.store-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 28, 31, 0.96), rgba(8, 28, 31, 0.78) 42%, rgba(8, 28, 31, 0.24)),
    radial-gradient(circle at 78% 24%, rgba(224, 178, 75, 0.24), transparent 32%),
    linear-gradient(180deg, rgba(8, 28, 31, 0.08), rgba(8, 28, 31, 0.68));
  z-index: 1;
}

.store-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (prefers-reduced-motion: reduce) {
  .store-hero-video {
    display: none;
  }
}

.store-hero-shell {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.store-kicker {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.store-hero h1 {
  width: min(760px, 100%);
  margin: 0;
  font-size: clamp(4.2rem, 12vw, 10.5rem);
  line-height: 0.85;
  font-weight: 950;
  letter-spacing: 0;
}

.store-hero p:not(.store-kicker) {
  width: min(680px, 100%);
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.store-hero-actions,
.store-section-heading,
.store-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.store-hero-actions {
  margin-top: 2rem;
}

.store-button,
.store-cart-trigger {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 7px;
  padding: 0.8rem 1rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

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

.store-button-light {
  background: #fff;
  color: var(--ink-2);
}

.store-button-outline {
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.store-button-dark,
.store-cart-trigger {
  background: var(--ink-2);
  color: #fff;
}

.store-button-outline-dark {
  border: 1px solid rgba(16, 45, 49, 0.28);
  background: transparent;
  color: var(--ink-2);
}

.store-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: min(1040px, 100%);
  margin: 3rem 0 0;
}

.store-facts div,
.store-intro-grid article,
.store-checkout-panel,
.store-status-panel,
.store-admin {
  border: 1px solid rgba(16, 45, 49, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 80px rgba(16, 45, 49, 0.12);
}

.store-facts div {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.store-facts dt {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.store-facts dd {
  margin: 0.35rem 0 0;
  color: #fff;
  font-weight: 850;
}

.store-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 5rem 0;
}

.store-section-heading {
  justify-content: space-between;
  margin-bottom: 1.6rem;
}

.store-section h2 {
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.store-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.store-intro-grid {
  display: grid;
  gap: 0.9rem;
}

.store-intro-grid article {
  padding: 1.4rem 1.4rem 1.4rem 1.2rem;
  background: #fff;
  border: 1px solid rgba(16,45,49,0.08);
  border-left: 3px solid var(--teal, #347f82);
  border-radius: 0 10px 10px 0;
  box-shadow: 0 2px 12px rgba(16,45,49,0.05);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.store-intro-grid article:hover {
  box-shadow: 0 8px 24px rgba(16,45,49,0.1);
  transform: translateX(3px);
}

.store-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(52,127,130,0.1);
  color: var(--teal, #347f82);
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
}

.store-intro-grid strong,
.store-intro-grid span {
  display: block;
}

.store-intro-grid strong {
  color: var(--ink-2);
  font-size: 1.04rem;
  font-weight: 800;
}

.store-intro-grid span {
  margin-top: 0.3rem;
  color: #53666a;
  font-size: 0.9rem;
  line-height: 1.5;
}

.store-filters {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, minmax(160px, 0.6fr));
  gap: 0.75rem;
  margin-bottom: 1.6rem;
  background: #fff;
  border: 1px solid rgba(16,45,49,0.1);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  box-shadow: 0 2px 12px rgba(16,45,49,0.05);
}

.store-filters label,
.store-form label {
  display: grid;
  gap: 0.4rem;
}

.store-filters span,
.store-form span {
  color: #53666a;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.store-filters input,
.store-filters select,
.store-form input,
.store-form select,
.store-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(16, 45, 49, 0.16);
  border-radius: 7px;
  background: #fff;
  color: var(--ink-2);
  padding: 0.82rem 0.9rem;
}

.store-form textarea {
  min-height: 120px;
  resize: vertical;
}

.store-alert {
  margin: 1rem 0;
  border-left: 4px solid var(--gold);
  border-radius: 7px;
  background: #fff;
  padding: 0.95rem 1rem;
  color: var(--ink-2);
  font-weight: 850;
}

.store-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.2rem;
}

.store-product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(16, 45, 49, 0.09);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(16, 45, 49, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.store-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(16, 45, 49, 0.14);
}

.store-product-image {
  position: relative;
  min-height: 210px;
  background: var(--ink-2);
}

.store-product-image img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.store-product-image-product {
  background:
    radial-gradient(circle at 25% 18%, rgba(224, 178, 75, 0.14), transparent 34%),
    #ffffff;
}

.store-product-image-product img {
  object-fit: contain;
  padding: 1.2rem;
  filter: drop-shadow(0 14px 18px rgba(16, 45, 49, 0.18));
}

.store-product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(16, 45, 49, 0.76));
}

.store-product-image-product::after {
  background: linear-gradient(180deg, transparent 44%, rgba(16, 45, 49, 0.16));
}

.store-badges {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.store-badge {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-2);
  padding: 0.28rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.store-badge-warning {
  background: var(--gold);
}

.store-product-body {
  display: grid;
  gap: 0.75rem;
  padding: 1.1rem;
}

.store-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #53666a;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.store-product-body h3 {
  margin: 0;
  color: var(--ink-2);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.store-product-body p {
  margin: 0;
  color: #53666a;
  font-size: 0.88rem;
  line-height: 1.5;
}

.store-product-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-approval-hint {
  font-size: 0.8rem !important;
  color: #7a5c00 !important;
  background: #fff7df;
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
}

.store-product-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: end;
}

.store-price {
  color: var(--ink-2);
  font-size: 1.4rem;
  font-weight: 950;
}

.store-stock {
  color: #53666a;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

.store-stock-low {
  color: #a85000;
}

.store-stock-out {
  color: #c0392b;
}

.store-qty {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.store-qty input {
  width: 70px;
  min-height: 44px;
  border: 1px solid rgba(16, 45, 49, 0.18);
  border-radius: 7px;
  padding: 0.45rem;
  text-align: center;
}

.store-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 1.2rem;
}

.store-checkout-panel,
.store-status-panel,
.store-admin,
.store-account-card {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.store-checkout-panel p,
.store-status-panel p,
.store-account-card p {
  color: #53666a;
}

.store-account-section {
  padding-top: 1rem;
}

.store-session {
  display: grid;
  gap: 0.2rem;
  min-width: min(360px, 100%);
  border: 1px solid rgba(16, 45, 49, 0.12);
  border-radius: 8px;
  background: #fff;
  padding: 0.9rem 1rem;
  color: var(--ink-2);
  box-shadow: 0 18px 48px rgba(16, 45, 49, 0.08);
}

.store-session span {
  color: #53666a;
  font-weight: 750;
}

.store-account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.store-account-card {
  border: 1px solid rgba(16, 45, 49, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(16, 45, 49, 0.1);
}

.store-account-card h3 {
  margin: 0 0 0.8rem;
  color: var(--ink-2);
  font-size: 1.25rem;
}

.store-compact-form {
  grid-template-columns: 1fr;
}

.store-full-button {
  width: 100%;
  margin-top: 0.8rem;
}

.store-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.store-form-wide,
.store-approval-note,
.store-form button,
.store-status-form {
  grid-column: 1 / -1;
}

.store-approval-note {
  border: 1px solid rgba(224, 178, 75, 0.45);
  border-radius: 7px;
  background: #fff7df;
  color: #684d0f;
  padding: 0.9rem;
  font-weight: 850;
}

.store-status-result {
  margin-top: 1rem;
  border-radius: 8px;
  background: #f2faf9;
  padding: 1rem;
}

.store-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.store-product-editor {
  margin-bottom: 1.4rem;
  border: 1px solid rgba(16, 45, 49, 0.1);
  border-radius: 8px;
  background: #fff;
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: 0 22px 60px rgba(16, 45, 49, 0.1);
}

.store-editor-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.store-editor-heading h3 {
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.store-editor-heading p {
  margin: 0.35rem 0 0;
  color: #53666a;
}

.store-product-form {
  align-items: end;
}

.store-product-preview {
  display: grid;
  gap: 0.4rem;
}

.store-product-preview span {
  color: #53666a;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.store-product-preview img {
  width: 100%;
  height: 126px;
  border: 1px solid rgba(16, 45, 49, 0.12);
  border-radius: 8px;
  background: #f7f8f5;
  object-fit: contain;
  padding: 0.55rem;
}

.store-check {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(16, 45, 49, 0.12);
  border-radius: 7px;
  background: #f7f8f5;
  padding: 0.7rem 0.8rem;
}

.store-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--ink-2);
}

.store-check span {
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 850;
  text-transform: none;
}

.store-admin h3 {
  margin: 0 0 0.8rem;
  color: var(--ink-2);
}

.store-admin-list {
  display: grid;
  gap: 0.75rem;
}

.store-admin-card,
.store-cart-item {
  border: 1px solid rgba(16, 45, 49, 0.1);
  border-radius: 8px;
  background: #fff;
  padding: 0.9rem;
}

.store-admin-card header,
.store-cart-item header {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
}

.store-admin-card h4,
.store-cart-item h3 {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.15;
}

.store-admin-card p,
.store-cart-item p {
  margin: 0.45rem 0 0;
  color: #53666a;
}

.store-admin-product-media {
  margin-top: 0.75rem;
  border-radius: 8px;
  background: #f7f8f5;
  overflow: hidden;
}

.store-admin-product-media img {
  display: block;
  width: 100%;
  height: 110px;
  object-fit: contain;
  padding: 0.5rem;
}

.store-admin-items {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  color: #53666a;
  font-weight: 750;
}

.store-admin-items li + li {
  margin-top: 0.25rem;
}

.store-admin-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.store-admin-controls select,
.store-admin-controls input {
  min-height: 42px;
  border: 1px solid rgba(16, 45, 49, 0.16);
  border-radius: 7px;
  padding: 0.55rem 0.65rem;
}

.store-cart {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  visibility: hidden;
}

.store-cart.is-open {
  pointer-events: auto;
  visibility: visible;
}

.store-cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 20, 0.52);
  opacity: 0;
  transition: opacity 180ms ease;
}

.store-cart.is-open .store-cart-backdrop {
  opacity: 1;
}

.store-cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(480px, 100%);
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.store-cart.is-open .store-cart-drawer {
  transform: translateX(0);
}

.store-cart-head,
.store-cart-footer {
  padding: 1rem;
  border-bottom: 1px solid rgba(16, 45, 49, 0.1);
}

.store-cart-footer {
  display: grid;
  gap: 0.9rem;
  border-top: 1px solid rgba(16, 45, 49, 0.1);
  border-bottom: 0;
}

.store-cart-footer div {
  display: flex;
  justify-content: space-between;
  color: var(--ink-2);
}

.store-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.store-cart-head h2 {
  margin: 0;
}

.store-cart-head button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #f1f5f4;
  color: var(--ink-2);
  font-size: 1.5rem;
  cursor: pointer;
}

.store-cart-items {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  overflow: auto;
  padding: 1rem;
}

.store-cart-empty {
  text-align: center;
  padding: 2rem 1rem !important;
  background: #f7f8f5 !important;
}

.store-cart-empty p { color: var(--ink-2); font-weight: 700; }

.store-cart-empty-hint {
  color: #6b8084 !important;
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  margin-top: 0.25rem !important;
}

.store-cart-item footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.store-cart-item button {
  border: 1px solid rgba(16, 45, 49, 0.16);
  border-radius: 7px;
  background: transparent;
  color: var(--ink-2);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
}

.store-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 3rem max(1.5rem, calc((100% - 1180px) / 2));
  background: var(--ink-2);
  color: #fff;
}

.store-footer p {
  margin: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.store-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.store-footer a {
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 980px) {
  .store-hero {
    min-height: 100svh;
    align-items: end;
  }

  .store-facts,
  .store-intro,
  .store-account-grid,
  .store-product-grid,
  .store-checkout-grid,
  .store-admin-grid {
    grid-template-columns: 1fr;
  }

  .store-filters {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .store-hero {
    min-height: 100svh;
    padding: calc(var(--nav-height) + 4rem) 1rem 2.5rem;
  }

  .store-section {
    width: min(100% - 24px, 1180px);
    padding: 3.5rem 0;
  }

  .store-form {
    grid-template-columns: 1fr;
  }

  .store-product-bottom {
    grid-template-columns: 1fr;
  }

  .store-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .store-editor-heading {
    display: grid;
  }
}

/* ─── Auth section (tabbed login / create account) ─── */
.store-auth-section {
  padding: 5rem max(16px, calc((100vw - 1180px) / 2));
  background: var(--quiet, #f4f4f2);
}

.store-auth-inner {
  display: grid;
  justify-items: center;
  gap: 1.8rem;
}

.store-auth-header {
  text-align: center;
  max-width: 540px;
}

.store-auth-header .store-kicker {
  display: block;
  text-align: center;
}

.store-auth-header h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--ink-2);
}

.store-auth-header p {
  margin: 0;
  color: #53666a;
  font-size: 1.02rem;
}

.store-auth-session-bar {
  display: grid;
  gap: 0.2rem;
  width: min(540px, 100%);
  border: 1px solid rgba(16, 45, 49, 0.12);
  border-radius: 8px;
  background: #fff;
  padding: 0.9rem 1rem;
  color: var(--ink-2);
  box-shadow: 0 12px 36px rgba(16, 45, 49, 0.07);
}

.store-auth-session-bar strong {
  display: block;
  font-size: 1rem;
}

.store-auth-session-bar span {
  color: #53666a;
  font-size: 0.88rem;
  font-weight: 750;
}

.store-auth-card {
  width: min(540px, 100%);
  border: 1px solid rgba(16, 45, 49, 0.1);
  border-radius: 12px;
  background: #fff;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: 0 32px 80px rgba(16, 45, 49, 0.12);
}

.store-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 9px;
  background: #edf0ef;
  margin-bottom: 1.8rem;
}

.store-auth-tab {
  min-height: 46px;
  border: 0;
  border-radius: 7px;
  padding: 0.6rem;
  color: #53666a;
  background: transparent;
  font-weight: 850;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.store-auth-tab.is-active {
  color: var(--ink-2);
  background: #fff;
  box-shadow: 0 2px 10px rgba(16, 45, 49, 0.12);
}

.store-auth-form {
  display: grid;
  gap: 1.1rem;
}

.store-auth-field {
  display: grid;
  gap: 0.45rem;
}

.store-auth-field > span {
  color: var(--ink-2);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.store-auth-field em {
  font-style: normal;
  color: #53666a;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.store-auth-field input,
.store-auth-field select {
  width: 100%;
  min-height: 52px;
  border: 1.5px solid rgba(16, 45, 49, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-2);
  padding: 0.88rem 1rem;
  font-size: 1rem;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.store-auth-field input:focus,
.store-auth-field select:focus {
  outline: none;
  border-color: var(--teal, #347f82);
  box-shadow: 0 0 0 3px rgba(52, 127, 130, 0.18);
}

.store-auth-field input::placeholder {
  color: #a8b8ba;
}

.store-auth-meta {
  display: flex;
  justify-content: flex-end;
  margin-top: -0.4rem;
}

.store-auth-link {
  border: 0;
  background: transparent;
  color: var(--teal, #347f82);
  font-weight: 850;
  font-size: 0.88rem;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.store-auth-link:hover {
  color: var(--ink-2);
}

.store-auth-submit {
  width: 100%;
  min-height: 52px;
  font-size: 1rem;
  border-radius: 8px;
  margin-top: 0.2rem;
}

.store-auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.4rem 0;
  color: #a8b8ba;
  font-size: 0.82rem;
}

.store-auth-divider::before,
.store-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(16, 45, 49, 0.1);
}

.store-auth-switch {
  text-align: center;
  color: #53666a;
  font-size: 0.9rem;
  margin: 0;
}

.store-auth-back {
  margin-bottom: 1.2rem;
}

#auth-panel-reset h3 {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
  color: var(--ink-2);
}

#auth-panel-reset p {
  color: #53666a;
  margin-bottom: 1.2rem;
}

@media (max-width: 680px) {
  .store-auth-section {
    padding: 3.5rem max(16px, calc((100vw - 1180px) / 2));
  }

  .store-auth-card {
    padding: 1.4rem;
  }
}

/* ─── Size picker ──────────────────────────────────────── */
.store-qty.has-sizes {
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
}

.store-qty-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.store-size-select {
  width: 100%;
  min-height: 44px;
  border: 1.5px solid rgba(16, 45, 49, 0.2);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-2);
  padding: 0.5rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.store-size-select:focus {
  outline: none;
  border-color: var(--teal, #347f82);
  box-shadow: 0 0 0 3px rgba(52, 127, 130, 0.18);
}

.store-cart-size {
  color: #53666a;
  font-size: 0.88rem;
  margin: 0.1rem 0 0;
}

/* ─── Member access bar (store homepage) ──────────────── */
.store-member-bar {
  background: linear-gradient(135deg, #102d31 0%, #1c4e54 60%, #0f3a3e 100%);
  padding: 2.5rem max(16px, calc((100vw - 1180px) / 2));
  position: relative;
  overflow: hidden;
}

.store-member-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(52,127,130,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.store-member-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}

.store-member-bar-text {
  display: grid;
  gap: 0.3rem;
}

.store-member-bar-text strong {
  font-size: 1.15rem;
  color: #fff;
  font-weight: 800;
}

.store-member-bar-text span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}

.store-member-bar-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.store-member-bar .store-button-dark {
  background: var(--gold, #c49a1a);
  color: #102d31;
  font-weight: 900;
}

.store-member-bar .store-button-dark:hover {
  background: #d4aa22;
}

.store-member-bar .store-button-outline-dark {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.store-member-bar .store-button-outline-dark:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.12);
}

/* ─── Department cards (store homepage → catalog) ─────── */
.store-browse-cta .store-intro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 860px) {
  .store-browse-cta .store-intro-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .store-browse-cta .store-intro-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.store-dept-card {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  padding: 1.6rem 1rem;
  border: 1.5px solid rgba(16, 45, 49, 0.1);
  border-radius: 12px;
  background: #fff;
  text-align: center;
  text-decoration: none;
  color: var(--ink-2);
  transition: border-color 150ms, box-shadow 150ms, transform 120ms;
}

.store-dept-card:hover {
  border-color: var(--teal, #347f82);
  box-shadow: 0 8px 28px rgba(16, 45, 49, 0.1);
  transform: translateY(-2px);
}

.store-dept-card {
  border-top-width: 3px;
}

.store-browse-cta .store-intro-grid a:nth-child(1) { border-top-color: #2d6a4f; }
.store-browse-cta .store-intro-grid a:nth-child(2) { border-top-color: #1b4f8a; }
.store-browse-cta .store-intro-grid a:nth-child(3) { border-top-color: #4a235a; }
.store-browse-cta .store-intro-grid a:nth-child(4) { border-top-color: #b84c00; }

.store-dept-card .store-dept-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #f0f4f3;
  margin-bottom: 0.2rem;
  transition: background 150ms;
}

.store-dept-card:hover .store-dept-icon {
  background: rgba(52,127,130,0.1);
}

.store-dept-card img {
  width: 34px;
  height: 34px;
  opacity: 0.82;
}

.store-dept-card strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink-2);
}

.store-dept-card span {
  font-size: 0.82rem;
  color: #53666a;
  line-height: 1.4;
}
