/* =========================================================
   AME STORE PAGE — SHOPIFY READY DARK GLASS SYSTEM
   ========================================================= */

html,
body {
  background: #02040a !important;
}

body {
  overflow-x: hidden;
}

.aurora {
  display: none !important;
}

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: block !important;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.045) 1px, transparent 1px);
  background-size: 86px 86px;
  opacity: 0.55;
}

#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.store-main,
footer {
  position: relative;
  z-index: 1;
}

.store-main {
  padding-top: clamp(122px, 14vh, 156px);
}

.store-container {
  width: min(calc(100% - 48px), var(--max));
}

.store-hero {
  padding: 0 0 clamp(44px, 7vh, 82px);
  isolation: isolate;
}

.store-hero-card,
.flow-card,
.shopify-code-card,
.store-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 2px solid rgba(255, 255, 255, 0.055);
  border-radius: clamp(24px, 2.2vw, 35px);
  background: rgba(8, 14, 28, 0.70);
}

.store-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: clamp(24px, 4vw, 62px);
  align-items: center;
  min-height: clamp(420px, 54vh, 610px);
  padding: clamp(30px, 5vw, 70px);
}

.store-kicker {
  margin: 0 0 clamp(18px, 2vw, 26px);
  color: rgba(142, 230, 255, 0.86);
  font-size: clamp(0.72rem, 0.82vw, 0.92rem);
  font-weight: 800;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(0, 220, 255, 0.28);
}

.store-title {
  margin: 0;
  max-width: 960px;
  color: #f7fdff;
  font-size: clamp(2.2rem, 5.4vw, 7rem);
  line-height: 0.90;
  font-weight: 900;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.10), 0 0 52px rgba(0, 140, 255, 0.10);
}

.store-title span {
  display: block;
  background: linear-gradient(90deg, #ffffff 0%, #9dfbff 42%, #59b8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.store-title::after,
.store-section-head h2::after,
.flow-copy h2::after,
.shopify-code-card h2::after {
  content: "";
  display: block;
  width: min(720px, 88%);
  height: 3px;
  margin: clamp(24px, 3vw, 34px) 0 0;
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.74), rgba(49, 255, 138, 0.30), transparent);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.18);
}

.store-copy-text,
.store-section-head p,
.integration-card p,
.product-card p,
.category-card p,
.flow-copy p,
.shopify-code-card p,
.store-cta p {
  color: rgba(216, 232, 244, 0.76);
  font-weight: 650;
  line-height: 1.82;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.store-copy-text {
  max-width: 820px;
  margin: clamp(22px, 3vw, 32px) 0 0;
  font-size: clamp(0.9rem, 1.06vw, 1.08rem);
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3vw, 38px);
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(0, 240, 255, 0.32);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.16), rgba(58, 141, 255, 0.10));
  color: #f4fdff;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.store-btn::after,
.product-bottom a::after {
  content: ">";
  margin-left: 10px;
}

.store-btn-muted {
  border-color: rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.026);
  color: rgba(230, 244, 252, 0.84);
}

.store-btn:hover,
.store-btn:focus-visible,
.product-bottom a:hover,
.product-bottom a:focus-visible {
  transform: translateY(-3px);
  outline: none;
  border-color: rgba(0, 240, 255, 0.62);
  box-shadow: 0 0 34px rgba(0, 240, 255, 0.18), 0 18px 46px rgba(0, 0, 0, 0.24);
}

.store-command {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: clamp(20px, 2vw, 35px);
  background: rgba(7, 17, 31, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.050), inset 0 0 44px rgba(0, 180, 255, 0.026);
}

.command-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.command-header span,
.command-header strong {
  color: rgba(142, 230, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.command-header strong {
  color: #31ff8a;
}

.store-core {
  display: grid;
  place-items: center;
  min-height: 220px;
  border: 2px solid rgba(0, 240, 255, 0.10);
  border-radius: 28px;
  background: radial-gradient(circle at 50% 35%, rgba(0, 240, 255, 0.12), transparent 58%), rgba(255, 255, 255, 0.018);
  text-align: center;
}

.store-core span,
.store-core em {
  color: rgba(142, 230, 255, 0.72);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.20em;
}

.store-core strong {
  color: #f7fdff;
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-shadow: 0 0 24px rgba(0, 240, 255, 0.16);
}

.command-metrics,
.integration-grid,
.product-grid,
.category-grid {
  display: grid;
  gap: 16px;
}

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

.command-metrics div,
.integration-card,
.category-card,
.product-card {
  border: 2px solid rgba(0, 240, 255, 0.11);
  border-radius: 22px;
  background: rgba(7, 17, 31, 0.44);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 42px rgba(0, 180, 255, 0.026);
}

.command-metrics div {
  min-height: 100px;
  padding: 18px;
  display: grid;
  align-content: center;
  gap: 8px;
}

.command-metrics strong,
.integration-card span,
.product-tag {
  color: #31ff8a;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.command-metrics span {
  color: rgba(185, 210, 230, 0.72);
  font-size: 0.6rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-section {
  padding: clamp(42px, 7vh, 86px) 0;
}

.store-section-head {
  max-width: 1100px;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.store-section-head h2,
.flow-copy h2,
.shopify-code-card h2,
.store-cta h2 {
  margin: 0;
  color: #f7fdff;
  font-size: clamp(1.7rem, 3.5vw, 4.6rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(0, 240, 255, 0.1), 0 0 42px rgba(58, 141, 255, 0.08);
}

.store-section-head p,
.flow-copy p,
.shopify-code-card p,
.store-cta p {
  max-width: 900px;
  margin: clamp(18px, 2.4vw, 26px) 0 0;
}

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

.integration-card,
.category-card {
  min-height: 240px;
  padding: 24px;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.integration-card:hover,
.category-card:hover,
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.22);
  background: rgba(10, 18, 32, 0.72);
}

.integration-card h3,
.category-card h3,
.product-card h3 {
  margin: 16px 0 0;
  color: #f5fcff;
  font-size: 1.02rem;
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.integration-card p,
.category-card p,
.product-card p {
  margin: 12px 0 0;
  font-size: 0.76rem;
}

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

.product-card {
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.product-image {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 26px;
  text-align: center;
  background: radial-gradient(circle at 50% 28%, rgba(0, 240, 255, 0.14), transparent 58%), linear-gradient(180deg, rgba(12, 27, 48, 0.76), rgba(3, 8, 18, 0.88));
}

.product-image span {
  color: rgba(142, 230, 255, 0.74);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.28em;
}

.product-image strong {
  color: #f7fdff;
  font-size: clamp(1.25rem, 1.8vw, 2rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-shadow: 0 0 22px rgba(0, 240, 255, 0.16);
}

.product-body {
  padding: 22px;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.product-bottom strong {
  color: rgba(142, 230, 255, 0.82);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.product-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.026);
  color: rgba(230, 244, 252, 0.84);
  text-decoration: none;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.flow-card,
.shopify-code-card,
.store-cta {
  padding: clamp(28px, 4.4vw, 58px);
}

.flow-card,
.shopify-code-card {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
}

.flow-steps {
  display: grid;
  gap: 12px;
}

.flow-steps div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 16px;
  border: 2px solid rgba(0, 240, 255, 0.10);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.024);
}

.flow-steps strong {
  color: #31ff8a;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.flow-steps span {
  color: rgba(235, 248, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.flow-steps i {
  justify-self: center;
  width: 2px;
  height: 22px;
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.58), rgba(49, 255, 138, 0.26));
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.18);
}

.shopify-code-card pre {
  min-width: 0;
  overflow-x: auto;
  margin: 0;
  padding: 24px;
  border: 2px solid rgba(0, 240, 255, 0.10);
  border-radius: 22px;
  background: rgba(2, 6, 14, 0.78);
}

.shopify-code-card code {
  color: rgba(210, 245, 255, 0.88);
  font-size: 0.82rem;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.store-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.store-cta-wrap {
  padding: clamp(32px, 5vh, 56px) 0 clamp(92px, 10vh, 130px);
}

.cta-actions {
  margin-top: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .store-hero-card,
  .flow-card,
  .shopify-code-card {
    grid-template-columns: 1fr;
  }

  .store-copy,
  .flow-copy,
  .shopify-code-card > div {
    text-align: center;
    justify-self: center;
  }

  .store-title::after,
  .store-section-head h2::after,
  .flow-copy h2::after,
  .shopify-code-card h2::after {
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.72), rgba(49, 255, 138, 0.32), transparent);
  }

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

  .store-command {
    width: min(760px, 100%);
    justify-self: center;
  }

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

@media (max-width: 860px) {
  .store-main {
    padding-top: clamp(132px, 16vh, 178px);
  }

  .store-container {
    width: min(calc(100% - 28px), var(--max));
  }

  .store-hero-card,
  .flow-card,
  .shopify-code-card,
  .store-cta {
    padding: 34px 18px;
    border-radius: 24px;
  }

  .store-title {
    font-size: clamp(2.45rem, 12vw, 5.4rem);
  }

  .store-copy-text,
  .store-section-head p,
  .flow-copy p,
  .shopify-code-card p,
  .store-cta p {
    font-size: 0.84rem;
    letter-spacing: 0.055em;
  }
}

@media (max-width: 620px) {
  .store-container {
    width: min(calc(100% - 22px), var(--max));
  }

  .integration-grid,
  .product-grid,
  .category-grid,
  .command-metrics {
    grid-template-columns: 1fr;
  }

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

  .store-btn {
    width: 100%;
  }

  .store-title {
    font-size: clamp(2.18rem, 13vw, 4rem);
    letter-spacing: -0.06em;
  }

  .store-kicker {
    letter-spacing: 0.24em;
  }

  .product-image {
    min-height: 210px;
  }

  .flow-steps div {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .shopify-code-card pre {
    padding: 18px;
  }

  .shopify-code-card code {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================
   SHOPIFY PRODUCT CATALOGUE
   ========================================================= */

.store-catalogue {
  width: min(100% - 40px, 1480px);
  margin: 0 auto;
  padding: 72px 0 120px;
}

.store-section-heading {
  margin-bottom: 32px;
}

.store-section-label {
  display: block;
  margin-bottom: 10px;
  color: #00f0ff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.store-section-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
}

.store-loading-message,
.store-error-message,
.store-empty-message {
  padding: 24px;
  border: 1px solid rgba(78, 164, 255, 0.28);
  background: rgba(5, 19, 48, 0.74);
  color: rgba(255, 255, 255, 0.78);
}

.store-error-message {
  border-color: rgba(255, 74, 99, 0.48);
  color: #ff8293;
}

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

.store-product-card {
  overflow: hidden;
  border: 1px solid rgba(79, 167, 255, 0.26);
  background:
    linear-gradient(
      145deg,
      rgba(12, 37, 77, 0.88),
      rgba(5, 17, 42, 0.92)
    );
  backdrop-filter: blur(18px);
}

.store-product-card__image-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: rgba(4, 15, 36, 0.9);
}

.store-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.store-product-card:hover .store-product-card__image {
  transform: scale(1.025);
}

.store-product-card__image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(255, 255, 255, 0.28);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.store-product-card__content {
  padding: 20px;
}

.store-product-card__type {
  display: block;
  margin-bottom: 10px;
  color: #00f0ff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.store-product-card__title {
  margin: 0;
  font-size: 1.05rem;
}

.store-product-card__title a {
  color: #ffffff;
  text-decoration: none;
}

.store-product-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.store-product-card__price {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
}

.store-product-card__availability {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.store-product-card__availability.is-available {
  color: #60f5ae;
}

.store-product-card__availability.is-unavailable {
  color: #ff8293;
}

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

@media (max-width: 780px) {
  .store-catalogue {
    width: min(100% - 24px, 1480px);
    padding: 48px 0 96px;
  }

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

  .store-product-card__content {
    padding: 15px;
  }

  .store-product-card__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

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

/* =========================================================
   PREMIUM CATALOGUE CONTROLS
   ========================================================= */

.store-commerce-controls {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 1.6fr) 210px;
  gap: 14px;
  align-items: end;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid rgba(79, 167, 255, 0.2);
  border-radius: 20px;
  background: rgba(5, 17, 42, 0.72);
  backdrop-filter: blur(18px);
}

.store-search,
.store-sort {
  display: grid;
  gap: 8px;
}

.store-search > span,
.store-sort > span {
  color: rgba(142, 230, 255, 0.74);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.store-search input,
.store-sort select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(79, 167, 255, 0.24);
  border-radius: 12px;
  outline: 0;
  background: rgba(2, 10, 27, 0.78);
  color: #ffffff;
  font: inherit;
  font-size: 0.76rem;
}

.store-search input:focus,
.store-sort select:focus {
  border-color: #00f0ff;
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.08);
}

.store-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-filter-list button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(79, 167, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.66);
  font: inherit;
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.store-filter-list button:hover,
.store-filter-list button.is-active {
  border-color: #00f0ff;
  background: rgba(0, 240, 255, 0.09);
  color: #ffffff;
}

.store-results-summary {
  margin: -12px 0 24px;
  color: rgba(142, 230, 255, 0.68);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.store-product-card__media {
  position: relative;
  overflow: hidden;
}

.store-product-card__image-link {
  position: relative;
}

.store-product-card__image.is-secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.store-product-card:hover .store-product-card__image.is-primary {
  opacity: 0;
}

.store-product-card:hover .store-product-card__image.is-secondary {
  opacity: 1;
  transform: scale(1.025);
}

.store-product-card__image {
  transition:
    opacity 320ms ease,
    transform 350ms ease;
}

.store-product-card__quick-view {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  min-height: 44px;
  border: 1px solid rgba(0, 240, 255, 0.42);
  border-radius: 999px;
  background: rgba(2, 10, 27, 0.88);
  color: #ffffff;
  font: inherit;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    background 220ms ease;
  backdrop-filter: blur(14px);
}

.store-product-card:hover .store-product-card__quick-view,
.store-product-card:focus-within .store-product-card__quick-view {
  opacity: 1;
  transform: translateY(0);
}

.store-product-card__quick-view:hover {
  background: rgba(0, 240, 255, 0.14);
}

/* =========================================================
   QUICK VIEW
   ========================================================= */

body.quick-view-open {
  overflow: hidden;
}

.store-quick-view-overlay {
  position: fixed;
  inset: 0;
  z-index: 209;
  background: rgba(0, 4, 13, 0.78);
  opacity: 0;
  transition: opacity 220ms ease;
  backdrop-filter: blur(8px);
}

.store-quick-view-overlay.is-visible {
  opacity: 1;
}

.store-quick-view {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 210;
  width: min(calc(100% - 32px), 1080px);
  max-height: min(820px, calc(100dvh - 40px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  overflow: auto;
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(12, 37, 77, 0.98), rgba(3, 12, 31, 0.99));
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.62);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -47%) scale(0.98);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.store-quick-view.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.store-quick-view__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(79, 167, 255, 0.3);
  border-radius: 50%;
  background: rgba(2, 10, 27, 0.82);
  color: #ffffff;
  font: inherit;
  font-size: 1.5rem;
  cursor: pointer;
}

.store-quick-view__media {
  min-height: 590px;
  background: rgba(3, 12, 31, 0.86);
}

.store-quick-view__media img {
  width: 100%;
  height: 100%;
  min-height: 590px;
  display: block;
  object-fit: cover;
}

.store-quick-view__content {
  padding: clamp(32px, 5vw, 64px);
  align-self: center;
}

.store-quick-view__type {
  margin: 0 0 14px;
  color: #00f0ff;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.store-quick-view__content h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.store-quick-view__price {
  display: block;
  margin-top: 22px;
  color: #ffffff;
  font-size: 1.45rem;
}

.store-quick-view__description {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.84rem;
  line-height: 1.75;
}

.store-quick-view__options {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.store-quick-view__option {
  margin: 0;
  padding: 0;
  border: 0;
}

.store-quick-view__option legend {
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.store-quick-view__values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-quick-view__values button {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(79, 167, 255, 0.26);
  border-radius: 10px;
  background: rgba(2, 10, 27, 0.68);
  color: rgba(255, 255, 255, 0.7);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.store-quick-view__values button.is-selected {
  border-color: #00f0ff;
  background: rgba(0, 240, 255, 0.09);
  color: #ffffff;
}

.store-quick-view__purchase {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.store-quick-view__purchase label {
  display: grid;
  gap: 8px;
}

.store-quick-view__purchase label span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.store-quick-view__purchase input,
.store-quick-view__purchase button {
  min-height: 50px;
  border-radius: 12px;
  font: inherit;
}

.store-quick-view__purchase input {
  width: 100%;
  padding: 0 12px;
  border: 1px solid rgba(79, 167, 255, 0.26);
  background: rgba(2, 10, 27, 0.68);
  color: #ffffff;
}

.store-quick-view__purchase button {
  align-self: end;
  border: 1px solid #00f0ff;
  background: linear-gradient(
    135deg,
    rgba(0, 240, 255, 0.18),
    rgba(58, 141, 255, 0.22)
  );
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  cursor: pointer;
}

.store-quick-view__purchase button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.store-quick-view__message {
  margin: 14px 0 0;
  color: #9dfff0;
  font-size: 0.75rem;
}

.store-quick-view__message.is-error {
  color: #ff93a2;
}

.store-quick-view__details {
  display: inline-flex;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
}

/* Shared basket styling for the Store page */
body.basket-open {
  overflow: hidden;
}

.ame-basket-trigger {
  position: fixed;
  top: 118px;
  right: 24px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 240, 255, 0.36);
  background: rgba(4, 16, 40, 0.92);
  color: #ffffff;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.ame-basket-trigger strong {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  background: #00f0ff;
  color: #041126;
}

.ame-basket-overlay {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(0, 4, 13, 0.72);
  opacity: 0;
  transition: opacity 220ms ease;
  backdrop-filter: blur(6px);
}

.ame-basket-overlay.is-visible {
  opacity: 1;
}

.ame-basket-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 200;
  width: min(100%, 470px);
  height: 100dvh;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  border-left: 1px solid rgba(0, 240, 255, 0.28);
  background:
    linear-gradient(160deg, rgba(10, 34, 72, 0.98), rgba(2, 10, 27, 0.99));
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.42);
  transform: translateX(102%);
  transition: transform 260ms ease;
}

.ame-basket-drawer.is-open {
  transform: translateX(0);
}

.ame-basket-drawer.is-busy {
  pointer-events: none;
  opacity: 0.82;
}

.ame-basket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 26px 22px;
  border-bottom: 1px solid rgba(79, 167, 255, 0.18);
}

.ame-basket-header p {
  margin: 0 0 5px;
  color: #00f0ff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.ame-basket-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.45rem;
}

.ame-basket-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(79, 167, 255, 0.28);
  background: transparent;
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
}

.ame-basket-notice {
  margin: 0;
  padding: 12px 20px;
  background: rgba(0, 240, 255, 0.07);
  color: #bafaff;
  font-size: 0.75rem;
}

.ame-basket-notice.is-error {
  background: rgba(255, 92, 114, 0.08);
  color: #ff9eaa;
}

.ame-basket-empty {
  align-self: center;
  padding: 42px 28px;
  text-align: center;
}

.ame-basket-empty > span {
  color: rgba(0, 240, 255, 0.34);
  font-size: 2.4rem;
  font-weight: 900;
}

.ame-basket-empty h3 {
  margin: 18px 0 8px;
  color: #ffffff;
}

.ame-basket-empty p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
}

.ame-basket-empty button,
.ame-basket-continue {
  border: 1px solid rgba(79, 167, 255, 0.28);
  background: transparent;
  color: #ffffff;
  font: inherit;
  cursor: pointer;
}

.ame-basket-empty button {
  margin-top: 24px;
  padding: 11px 17px;
}

.ame-basket-items {
  overflow-y: auto;
  padding: 8px 22px 22px;
}

.ame-basket-item {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(79, 167, 255, 0.16);
}

.ame-basket-item__image {
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(79, 167, 255, 0.22);
  color: #ffffff;
  text-decoration: none;
}

.ame-basket-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ame-basket-item__title {
  color: #ffffff;
  font-size: 0.83rem;
  font-weight: 700;
  text-decoration: none;
}

.ame-basket-item__options {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
}

.ame-basket-item__price {
  display: block;
  margin-top: 11px;
  color: #ffffff;
  font-size: 0.82rem;
}

.ame-basket-item__controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 13px;
}

.ame-basket-line-quantity {
  display: grid;
  grid-template-columns: 30px 30px 30px;
  border: 1px solid rgba(79, 167, 255, 0.24);
}

.ame-basket-line-quantity button,
.ame-basket-line-quantity span {
  display: grid;
  min-height: 32px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #ffffff;
}

.ame-basket-item__remove {
  border: 0;
  background: transparent;
  color: #ff8c9b;
  font-size: 0.61rem;
  font-weight: 800;
  cursor: pointer;
}

.ame-basket-footer {
  padding: 20px 24px 24px;
  border-top: 1px solid rgba(79, 167, 255, 0.18);
  background: rgba(2, 10, 27, 0.94);
}

.ame-basket-subtotal {
  display: flex;
  justify-content: space-between;
  color: #ffffff;
}

.ame-basket-footer > p {
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.67rem;
}

.ame-basket-checkout,
.ame-basket-continue {
  width: 100%;
  min-height: 50px;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.ame-basket-checkout {
  border: 1px solid #00f0ff;
  background: rgba(0, 240, 255, 0.12);
  color: #ffffff;
}

.ame-basket-checkout:disabled {
  opacity: 0.38;
}

.ame-basket-continue {
  margin-top: 10px;
}

@media (max-width: 920px) {
  .store-commerce-controls {
    grid-template-columns: 1fr;
  }

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

  .store-quick-view__media,
  .store-quick-view__media img {
    min-height: 380px;
    max-height: 46vh;
  }
}

@media (max-width: 620px) {
  .store-product-card__quick-view {
    opacity: 1;
    transform: none;
  }

  .store-quick-view {
    width: min(calc(100% - 18px), 1080px);
    max-height: calc(100dvh - 18px);
    border-radius: 20px;
  }

  .store-quick-view__content {
    padding: 26px 18px;
  }

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

  .ame-basket-trigger {
    top: 92px;
    right: 12px;
  }
}
