﻿/* Shop navigation */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.nav-link-icon {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link-icon:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #020203;
  background: var(--cyan);
  border-radius: 999px;
}

/* Shop pages â€” shared */
main.page-shop {
  position: relative;
  overflow-x: clip;
  padding-top: max(2rem, calc(var(--brand-logo-h) * 0.35));
  padding-bottom: max(clamp(3rem, 8vw, 5rem), calc(var(--brand-logo-h) * 0.35));
}

.shop-page-section {
  position: relative;
  z-index: 1;
}

.shop-page-inner {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.shop-page-head {
  margin-bottom: 2rem;
}

.shop-page-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.shop-page-lead {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 40rem;
}

.shop-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.shop-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.shop-breadcrumb a:hover {
  color: var(--cyan);
}

.shop-breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: rgba(255, 255, 255, 0.25);
}

.shop-layout {
  display: grid;
  gap: 2rem;
}

.shop-layout-sidebar {
  grid-template-columns: 1fr min(320px, 100%);
}

.shop-panel {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(165deg, var(--bg-card), rgba(0, 180, 255, 0.04));
}

.shop-panel-title {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.shop-section-spaced {
  margin-top: 2rem;
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.shop-result-count {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.shop-filter-btn {
  padding: 0.4rem 0.85rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.shop-filter-btn:hover,
.shop-filter-btn.is-active {
  color: var(--text);
  border-color: rgba(0, 180, 255, 0.45);
  background: var(--cyan-dim);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  border-color: rgba(0, 180, 255, 0.25);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.product-card-link {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  color: inherit;
  text-decoration: none;
}

.product-card-link:hover {
  text-decoration: none;
}

.product-card-media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, var(--bg-elevated), rgba(0, 180, 255, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card-media img,
.product-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card-placeholder {
  font-size: 2rem;
  color: var(--cyan);
  opacity: 0.85;
  line-height: 1;
}

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

.product-card-cat {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
}

.product-card-name {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.product-card-desc {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.product-price-old {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 0.35rem;
}

/* Single product */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.product-gallery-main {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(160deg, var(--bg-card), rgba(168, 85, 247, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.product-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
}

.product-thumb {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
}

.product-thumb.is-active {
  border-color: rgba(0, 180, 255, 0.55);
  color: var(--cyan);
}

.product-detail-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-detail-price {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.product-detail-desc {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

.product-meta-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.product-meta-list li {
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.product-meta-list strong {
  color: var(--text);
  font-weight: 600;
}

.product-add-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.qty-input {
  width: 4.5rem;
  text-align: center;
}

.product-features {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-features li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.product-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

/* Cart table */
.cart-table-wrap {
  overflow-x: auto;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.cart-table th,
.cart-table td {
  padding: 1rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-table th {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-product-thumb {
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--cyan);
  overflow: hidden;
}

.cart-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-product .form-hint {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
}

.cart-product-name {
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.cart-product-name:hover {
  color: var(--cyan);
}

.cart-remove {
  color: var(--text-muted);
  font-size: 0.85rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.cart-remove:hover {
  color: var(--accent-red);
}

.cart-coupon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.cart-coupon-row .form-input {
  flex: 1;
  min-width: 10rem;
}

.cart-summary-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.cart-summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.cart-summary-list li:last-child {
  border-bottom: none;
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.cart-summary-total {
  color: var(--cyan) !important;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart-empty-panel {
  text-align: center;
}

.cart-empty-message {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  color: var(--text-muted);
}

/* Checkout steps */
.checkout-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.checkout-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid var(--border-subtle);
}

.checkout-step.is-complete .checkout-step-num,
.checkout-step.is-active .checkout-step-num {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #020203;
}

.checkout-step.is-active {
  color: var(--text);
}

.checkout-step.is-complete {
  color: var(--cyan);
}

.checkout-form-section {
  margin-bottom: 2rem;
}

.checkout-form-section h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.checkout-order-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
}

.checkout-order-item:last-of-type {
  border-bottom: none;
}

/* Payment */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.payment-method {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.payment-method:has(input:checked) {
  border-color: rgba(0, 180, 255, 0.55);
  background: var(--cyan-dim);
}

.payment-method input {
  margin-top: 0.2rem;
  accent-color: var(--cyan);
}

.payment-method-label {
  flex: 1;
}

.payment-method-label strong {
  display: block;
  margin-bottom: 0.15rem;
}

.payment-method-label span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.payment-card-fields {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.secure-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Account */
.account-layout {
  display: grid;
  grid-template-columns: min(220px, 100%) 1fr;
  gap: 2rem;
  align-items: start;
}

.account-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-nav a {
  display: block;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
}

.account-nav a:hover,
.account-nav a.is-active {
  color: var(--text);
  background: var(--bg-elevated);
  border-color: var(--border-subtle);
}

.account-nav a.is-active {
  border-color: rgba(0, 180, 255, 0.35);
}

.account-greeting {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.account-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.account-orders-table th,
.account-orders-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.account-orders-table th {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.order-status {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
}

.order-status-complete {
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
}

.order-status-processing {
  color: #bae6fd;
  background: rgba(0, 180, 255, 0.12);
}

.account-login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.account-login-grid h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Pricing page */
.page-pricing {
  position: relative;
  overflow-x: clip;
  padding-top: max(2rem, calc(var(--brand-logo-h) * 0.35));
}

.pricing-page-section {
  position: relative;
  z-index: 1;
}

.pricing-page-inner {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.pricing-page-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.pricing-page-lead {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pricing-card:hover {
  border-color: rgba(0, 180, 255, 0.25);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.pricing-card-featured {
  border-color: rgba(249, 115, 22, 0.35);
  background: linear-gradient(165deg, var(--bg-card) 0%, rgba(249, 115, 22, 0.08) 100%);
  box-shadow: 0 0 60px rgba(249, 115, 22, 0.1);
}

.pricing-badge {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-warm);
}

.pricing-card-name {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.pricing-card-price {
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.pricing-price {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.pricing-period {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-price-quote {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--cyan);
}

.pricing-card-desc {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-features {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  flex-grow: 1;
}

.pricing-features li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

.pricing-card-featured .pricing-features li::before {
  color: var(--accent-warm);
}

.pricing-card-cta {
  margin-top: auto;
}

.pricing-footnote {
  margin: 2rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 40rem;
  margin-inline: auto;
}

.pricing-page-head {
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .site-nav {
    align-items: stretch;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

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

  .shop-layout-sidebar {
    grid-template-columns: 1fr;
  }

  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-login-grid {
    grid-template-columns: 1fr;
  }

  .cart-table th:nth-child(3),
  .cart-table td:nth-child(3) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn-primary:hover,
  .service-card:hover,
  .product-card:hover,
  .pricing-card:hover {
    transform: none;
  }
}
