.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: 720px;
  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-media {
  position: absolute;
  inset: 0;
}

.store-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  filter: saturate(0.92) contrast(1.04);
}

.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.1rem;
}

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

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

.store-intro-grid span {
  margin-top: 0.3rem;
  color: #53666a;
}

.store-filters {
  display: grid;
  grid-template-columns: 1.3fr repeat(2, minmax(180px, 0.65fr));
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.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(3, minmax(0, 1fr));
  gap: 1rem;
}

.store-product-card {
  display: grid;
  overflow: hidden;
  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-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::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(16, 45, 49, 0.76));
}

.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.3rem;
  line-height: 1.05;
}

.store-product-body p {
  margin: 0;
  color: #53666a;
}

.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.83rem;
  font-weight: 800;
}

.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 {
  padding: clamp(1.2rem, 3vw, 2rem);
}

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

.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: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.2rem;
}

.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-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-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: 660px;
    align-items: end;
  }

  .store-facts,
  .store-intro,
  .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: 620px;
    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;
  }
}
