/* =========================================================
   Anthem One Store
   Store-specific styles layered on top of styles.css
   ========================================================= */

.store-page {
  background: #f6f5f3;
}

.store-page .site-header {
  z-index: 50;
}

/* ---------- Shared store typography ---------- */

.store-eyebrow {
  margin: 0 0 0.75rem;
  color: #ff6f61;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.store-eyebrow.dark {
  color: #4a3a63;
}

.store-title-rule {
  width: 84px;
  height: 3px;
  margin: 1.4rem 0 1.6rem;
  background: #ff6f61;
}

/* ---------- Hero ---------- */

.store-hero {
  position: relative;
  overflow: hidden;
  padding: 7.25rem 0 6.25rem;
  background:
    radial-gradient(circle at 82% 18%, rgba(116, 78, 172, 0.23), transparent 32%),
    linear-gradient(135deg, #0b0620 0%, #160a33 58%, #241044 100%);
}

.store-hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -28vw;
  width: 56vw;
  height: 56vw;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.018),
    0 0 0 140px rgba(255, 255, 255, 0.014);
  pointer-events: none;
}

.store-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.store-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.1rem, 6.5vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.store-hero-copy h1 span {
  color: #ff6f61;
}

.store-hero-deck {
  max-width: 700px;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.65;
}

.store-value-panel {
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.store-value-panel article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.store-value-panel article:last-child {
  border-bottom: 0;
}

.store-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
}

.store-feature-icon img {
  display: block;
  width: 42px;
  height: 42px;
}


.store-value-panel h2 {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: 1.08rem;
}

.store-value-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ---------- Products ---------- */

.store-products {
  padding: 6.5rem 0;
  background: #f8f7f5;
}

.store-section-heading {
  max-width: 780px;
  margin-bottom: 3rem;
}

.store-section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.store-section-heading h2 {
  margin: 0 0 1rem;
  color: #170f2b;
  font-size: clamp(2.15rem, 4vw, 3.75rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.store-section-heading > p:last-child {
  margin: 0;
  color: #6c6672;
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border: 1px solid #e7e2e8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(32, 16, 59, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #d9cedf;
  box-shadow: 0 18px 48px rgba(32, 16, 59, 0.1);
}

.product-image-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 290px;
  padding: 2rem;
  background:
    radial-gradient(circle at center, #ffffff 0%, #f5f3f6 72%, #efedf1 100%);
}

.product-image-wrap img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: 230px;
  object-fit: contain;
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 0.65rem;
  border-radius: 999px;
  background: #1a1030;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.55rem;
}

.product-kicker {
  margin: 0 0 0.55rem;
  color: #ff6f61;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0 0 0.75rem;
  color: #160d29;
  font-size: 1.55rem;
  line-height: 1.08;
}

.product-summary {
  min-height: 5.7rem;
  margin: 0;
  color: #6d6771;
  font-size: 0.96rem;
  line-height: 1.6;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.2rem;
}

.product-meta span {
  padding: 0.4rem 0.55rem;
  border: 1px solid #e7e0eb;
  border-radius: 999px;
  background: #faf9fa;
  color: #5d5368;
  font-size: 0.71rem;
  font-weight: 700;
}

.product-purchase-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.6rem;
  padding-top: 1.35rem;
  border-top: 1px solid #eee9ef;
}

.product-price {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.price-label {
  color: #928b96;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-price strong {
  color: #160d29;
  font-size: 1.35rem;
}

.quantity-control {
  display: grid;
  grid-template-columns: 34px 48px 34px;
  overflow: hidden;
  border: 1px solid #ddd6e1;
  border-radius: 10px;
  background: #fff;
}

.qty-button,
.qty-input {
  height: 36px;
  border: 0;
  background: #fff;
  color: #1b1230;
  font: inherit;
}

.qty-button {
  cursor: pointer;
  font-size: 1.1rem;
}

.qty-button:hover {
  background: #f4f1f6;
}

.qty-input {
  width: 48px;
  padding: 0;
  border-right: 1px solid #ece6ef;
  border-left: 1px solid #ece6ef;
  text-align: center;
  appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.product-actions .button {
  width: 100%;
  min-height: 46px;
  justify-content: center;
  text-align: center;
}

.button-secondary {
  border: 1px solid #2a1e40;
  background: transparent;
  color: #24183a;
}

.button-secondary:hover {
  background: #f1edf4;
}

.add-to-cart[disabled] {
  cursor: not-allowed;
  opacity: 0.48;
}

.store-launch-note {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid #ff6f61;
  background: #fff5f2;
  color: #655d67;
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ---------- Trust ---------- */

.store-trust-strip {
  padding: 1.25rem 0 0.7rem;
  background: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #e6e1e8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(25, 12, 45, 0.035);
}

.trust-grid article {
  min-width: 0;
  padding: 1.35rem 1.5rem 1.45rem;
  border-right: 1px solid #ece7ee;
}

.trust-grid article:last-child {
  border-right: 0;
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 0.65rem;
}

.trust-icon img {
  display: block;
  width: 48px;
  height: 48px;
}

.trust-grid h2 {
  margin: 0 0 0.45rem;
  color: #170f2b;
  font-size: 0.9rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.trust-grid p {
  margin: 0;
  color: #625c67;
  font-size: 0.78rem;
  line-height: 1.5;
}

/* ---------- More than hardware ---------- */

.store-more-hardware {
  padding: 0.65rem 0 2.2rem;
  background: #fff;
}

.more-hardware-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.98fr) minmax(520px, 1.52fr);
  gap: 1.8rem;
  align-items: center;
  min-height: 260px;
  padding: 1.6rem 2rem;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 94% 22%, rgba(255,111,97,0.14), transparent 23%),
    linear-gradient(135deg, #0d061f 0%, #15092c 58%, #24103f 100%);
}

.more-hardware-copy {
  padding-right: 1.55rem;
  border-right: 1px solid rgba(255,255,255,0.14);
}

.more-hardware-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.more-hardware-rule {
  width: 72px;
  height: 2px;
  margin: 0.75rem 0 0.95rem;
  background: #ff786a;
}

.more-hardware-copy > p {
  margin: 0 0 1rem;
  color: rgba(255,255,255,0.74);
  font-size: 0.86rem;
  line-height: 1.55;
}

.more-hardware-copy .button {
  min-height: 42px;
  padding: 0.72rem 1rem;
  font-size: 0.82rem;
}

.more-hardware-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0.45rem;
  align-items: center;
}

.more-hardware-flow article {
  min-width: 0;
  text-align: center;
}

.more-hardware-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 60px;
  margin-bottom: 0.35rem;
}

.more-hardware-icon img {
  display: block;
  width: 64px;
  height: 60px;
}

.more-hardware-flow h3 {
  margin: 0;
  color: rgba(255,255,255,0.94);
  font-size: 0.72rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.flow-arrow {
  color: #ff786a;
  font-size: 1.55rem;
  line-height: 1;
  transform: translateY(-8px);
}

/* ---------- Footer ---------- */

.store-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
}

/* ---------- Responsive ---------- */

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

  .store-value-panel {
    max-width: 760px;
  }

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

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

  .trust-grid article:nth-child(2) {
    border-right: 0;
  }

  .trust-grid article:nth-child(-n+2) {
    border-bottom: 1px solid #ece7ee;
  }

  .more-hardware-panel {
    grid-template-columns: 1fr;
  }

  .more-hardware-copy {
    padding-right: 0;
    padding-bottom: 1.25rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.14);
  }
}

@media (max-width: 720px) {
  .store-hero {
    padding: 5.2rem 0 4.2rem;
  }

  .store-products {
    padding: 4.5rem 0;
  }

  .store-more-hardware {
    padding-top: 1rem;
  }

  .store-hero-copy h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .product-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid article,
  .trust-grid article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #ece7ee;
  }

  .trust-grid article:last-child {
    border-bottom: 0;
  }

  .more-hardware-panel {
    padding: 1.45rem;
  }

  .more-hardware-flow {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }

  .flow-arrow {
    display: none;
  }

  .product-image-wrap {
    min-height: 250px;
  }

  .product-summary {
    min-height: 0;
  }

  .product-purchase-row {
    align-items: center;
  }

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

}

@media (max-width: 430px) {
  .product-purchase-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .quantity-control {
    width: 100%;
    grid-template-columns: 1fr 64px 1fr;
  }

  .qty-input {
    width: 64px;
  }
}


/* ---------- Live purchase + volume quote additions ---------- */

.product-actions .button-primary,
.preorder-button,
.volume-submit {
  border: 1px solid #ff6f61;
  background: #ff6f61;
  color: #160d29;
  font-weight: 800;
}

.product-actions .button-primary:hover,
.preorder-button:hover,
.volume-submit:hover {
  background: #ff8175;
  border-color: #ff8175;
}

.preorder-badge {
  background: #ff6f61;
  color: #170f2b;
}

.volume-quote-block {
  margin-top: 0.7rem;
}

.volume-quote-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 46px;
  padding: 0.75rem 1rem;
  border: 1px solid #2a1e40;
  border-radius: 8px;
  background: #fff;
  color: #24183a;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.volume-quote-toggle:hover {
  background: #f6f1f7;
}

.volume-quote-toggle.is-active {
  border-color: #ff6f61;
  background: linear-gradient(135deg, #1a1030 0%, #2d1554 100%);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,111,97,0.22);
}

.volume-toggle-icon {
  color: #ff6f61;
  font-size: 1.1rem;
  line-height: 1;
}

.volume-qualifier {
  margin: 0.5rem 0 0;
  color: #827987;
  font-size: 0.72rem;
  line-height: 1.4;
  text-align: center;
}

.volume-quote-panel {
  margin-top: 0.8rem;
  padding: 1rem;
  border: 1px solid #e3dce8;
  border-radius: 12px;
  background: #faf8fb;
}

.volume-intro {
  margin: 0 0 0.9rem;
  color: #675f6d;
  font-size: 0.78rem;
  line-height: 1.5;
}

.volume-intro strong {
  color: #24183a;
}

.volume-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.volume-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #4d4455;
  font-size: 0.7rem;
  font-weight: 700;
}

.volume-form-grid input {
  width: 100%;
  min-height: 38px;
  padding: 0.55rem 0.65rem;
  border: 1px solid #ddd5e2;
  border-radius: 8px;
  background: #fff;
  color: #24183a;
  font: inherit;
}

.volume-form-grid input:focus {
  outline: 2px solid rgba(255,111,97,0.18);
  border-color: #ff6f61;
}

.volume-submit {
  width: 100%;
  min-height: 42px;
  margin-top: 0.8rem;
  justify-content: center;
}

@media (max-width: 430px) {
  .volume-form-grid {
    grid-template-columns: 1fr;
  }
}


/* ---------- Volume quote Phase 1 ---------- */

.volume-notes-field {
  grid-column: 1 / -1;
}

.volume-form-grid textarea {
  width: 100%;
  min-height: 112px;
  padding: 0.7rem 0.75rem;
  border: 1px solid #ddd5e2;
  border-radius: 8px;
  background: #fff;
  color: #24183a;
  font: inherit;
  line-height: 1.5;
  resize: vertical;
}

.volume-form-grid textarea:focus {
  outline: 2px solid rgba(255,111,97,0.18);
  border-color: #ff6f61;
}

.volume-submit[disabled] {
  cursor: wait;
  opacity: 0.68;
}

.volume-quote-result {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #ded7e4;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 18, 52, 0.05);
}

.quote-result-header {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  justify-content: space-between;
}

.quote-result-eyebrow {
  margin: 0 0 0.3rem;
  color: #ff6f61;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.quote-result-header h4 {
  margin: 0;
  color: #24183a;
  font-size: 1rem;
  line-height: 1.3;
}

.quote-status-badge {
  flex: 0 0 auto;
  padding: 0.36rem 0.5rem;
  border-radius: 999px;
  background: #ff6f61;
  color: #24183a;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.quote-result-number {
  margin-top: 0.75rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #eee9ef;
  color: #716976;
  font-size: 0.72rem;
}

.quote-result-number strong {
  color: #24183a;
}

.quote-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.quote-result-grid div,
.quote-status-lines div {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.quote-result-grid span,
.quote-status-lines span {
  color: #8a828d;
  font-size: 0.65rem;
  font-weight: 700;
}

.quote-result-grid strong,
.quote-status-lines strong {
  color: #24183a;
  font-size: 0.75rem;
}

.quote-status-lines {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.9rem;
  padding: 0.8rem;
  border-radius: 9px;
  background: #f8f6f9;
}

.quote-status-lines div {
  flex-direction: row;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid #e7e1e9;
}

.quote-status-lines div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.quote-result-note {
  margin-top: 0.8rem;
  padding: 0.75rem;
  border-left: 3px solid #ff6f61;
  background: #fff5f2;
  color: #5f5665;
  font-size: 0.72rem;
  line-height: 1.45;
}

.quote-result-note strong {
  display: block;
  margin-bottom: 0.12rem;
  color: #24183a;
}

.quote-download-button {
  width: 100%;
  min-height: 42px;
  margin-top: 0.8rem;
  justify-content: center;
  border: 1px solid #24183a;
  background: #24183a;
  color: #fff;
  font-weight: 800;
}

.quote-download-button:hover {
  background: #35224f;
}

@media (max-width: 430px) {
  .quote-result-header {
    flex-direction: column;
  }

  .quote-result-grid {
    grid-template-columns: 1fr;
  }

  .quote-status-lines div {
    flex-direction: column;
    gap: 0.16rem;
  }
}


/* ---------- Space Pro pre-order spacing refinement ---------- */

.preorder-status {
  margin-top: 0.9rem;
}
