﻿@import url("./base.css");
.panel-float {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 1;
  min-width: 220px;
}
.glass-card, .product-card, .summary-card, .download-card, .checkout-card, .case-card, .timeline-item, .metric, .feature, .faq-item { padding: 24px; }

.cta-row, .stat-row, .chip-row, .sort-row, .tab-row { grid-auto-flow: column; justify-content: start; gap: 12px; }
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid.featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.logo-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.feature-grid, .case-grid, .metrics-grid, .support-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer-grid { grid-template-columns: 1.2fr repeat(3, 1fr); }
.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.badge { color: #04111d; background: var(--success); border-radius: 999px; padding: 4px 10px; font-size: 12px; }
.summary-card > .badge { display: inline-flex; align-items: center; margin-bottom: 14px; }
.price { font: 700 32px/1 "Exo", sans-serif; }

.product-card { overflow: hidden; min-height: 320px; }
.product-card .orb {
  aspect-ratio: 5 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  border-radius: 20px;
  margin-bottom: 20px;
  padding: 12px;
  background-color: #ffffff;
}
.product-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-card.compact { min-height: 280px; }

.section--products .product-card.compact {
  min-height: 0;
  padding: 14px;
}
.section--products .featured-card {
  display: grid;
  grid-template-columns: minmax(230px, 38%) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  overflow: hidden;
}
.section--products .featured-card .featured-media {
  aspect-ratio: 4 / 3;
  height: 100%;
  min-height: 172px;
  margin-bottom: 0;
  border-radius: 16px;
  background-size: contain;
  background-position: center;
  padding: 12px;
}
.section--products .featured-card .featured-content {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 9px;
  width: 100%;
  min-width: 0;
  max-width: 420px;
  justify-self: start;
  overflow: hidden;
}
.section--products .featured-card .featured-content h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.section--products .featured-card .product-desc {
  min-height: calc(1.7em * 2);
  max-height: calc(1.7em * 2);
  margin: 0;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
.section--products .featured-card .product-meta {
  margin: 2px 0 0;
  gap: 8px;
}
.section--products .featured-card .product-meta .pill {
  padding: 6px 10px;
  font-size: 13px;
}
.section--products .featured-card .product-head.single-tag {
  justify-content: flex-end;
}
.section--products .featured-card .product-head.single-tag .pill {
  color: var(--accent-strong);
}
.section--products .featured-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  align-items: end;
  gap: 10px;
  margin-top: 6px;
}
.section--products .featured-footer .price {
  font-size: 34px;
  line-height: 1;
}
.section--products .featured-card .compact-actions {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  width: 100%;
}
.section--products .featured-card .compact-actions > .button,
.section--products .featured-card .compact-actions > .ghost-button {
  min-height: 40px;
  padding: 0 12px;
  font-size: 13px;
  flex: initial;
  width: 100%;
}
.product-head, .summary-row, .option-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
  color: var(--muted);
  font-size: 14px;
}
.pill {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 166, 201, 0.18);
  background: rgba(255, 255, 255, 0.03);
}
.notice-bar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(90, 169, 255, 0.08);
  border: 1px solid rgba(90, 169, 255, 0.18);
  color: var(--muted);
}
.notice-bar.demo-note {
  background: rgba(90, 169, 255, 0.12);
  border-color: rgba(90, 169, 255, 0.28);
  color: var(--text);
  font-weight: 600;
}
.spotlight-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}
.stack-list { display: grid; gap: 14px; }
.stack-list .glass-card { padding: 20px; }
.detail-media {
  min-height: auto;
  padding: 16px;
}
.detail-media-card {
  height: 100%;
  display: grid;
  gap: 14px;
}
.detail-media-frame {
  border-radius: 20px;
  border: 1px solid rgba(148, 166, 201, 0.18);
  background: #ffffff;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.detail-media-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.detail-media > .detail-back-row {
  margin-bottom: 10px;
}
.detail-back-row {
  margin: 0;
  justify-content: flex-start;
}

.actions { gap: 10px; margin-top: 18px; }

.product-card .actions { flex-wrap: wrap; }
.product-card .actions > .button,
.product-card .actions > .ghost-button {
  flex: 1 1 160px;
  padding: 0 16px;
  white-space: nowrap;
}

.product-card .product-desc {
  min-height: calc(1.8em * 4);
  max-height: calc(1.8em * 4);
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spec-table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.spec-table td, .spec-table th { padding: 16px 18px; border-bottom: 1px solid rgba(148, 166, 201, 0.12); text-align: left; }

.faq-item button {
  width: 100%;
  background: none;
  border: 0;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.faq-answer { display: none; padding-top: 12px; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open { border-color: rgba(120, 240, 255, 0.38); }
.field, .select, textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--text);
  padding: 14px 16px;
}

.field::placeholder, textarea::placeholder { color: rgba(18, 36, 68, 0.55); }

.full { grid-column: 1 / -1; }
.reveal { opacity: 0; transform: translateY(24px); transition: 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.countdown { color: var(--warn); font-weight: 700; }
.checkout-card .form-grid { margin-top: 20px; }
.checkout-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(31, 111, 255, 0.12);
  background: rgba(255, 255, 255, 0.72);
}
.checkout-item-content {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.payment-option {
  position: relative;
  overflow: hidden;
}
.payment-option::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 240, 255, 0.22), transparent 70%);
}
.support-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}
.map-card .visual { min-height: 240px; margin-top: 16px; }
.map-card .visual {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
}
.map-card .visual::before,
.map-card .visual::after {
  display: none;
  content: none;
}
.map-card .visual iframe,
.map-card .visual img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.account-dashboard, .account-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
}
.account-panel, .news-list, .patent-grid, .job-list, .order-list {
  display: grid;
  gap: 16px;
}
.account-profile-card,
.account-overview-card {
  min-height: 100%;
}
.account-profile-card h2,
.order-zone-title {
  margin: 6px 0 10px;
  font: 700 clamp(26px, 3.5vw, 34px) / 1.2 "Exo", sans-serif;
}
.section-subtitle-en {
  margin-bottom: 8px;
  font: 600 12px/1.4 "Exo", sans-serif;
  letter-spacing: 0.2em;
  color: var(--accent-strong);
}
.account-contact-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.account-contact-grid span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--muted);
}
.account-contact-grid strong {
  display: block;
  line-height: 1.55;
}
.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}
.status-card, .news-item, .patent-item, .job-item {
  padding: 20px;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.status-card strong {
  display: block;
  margin: 6px 0 8px;
}
.order-filter-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.order-filter {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(31, 111, 255, 0.14);
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}
.order-filter:hover,
.order-filter.active {
  border-color: rgba(31, 111, 255, 0.3);
  color: var(--text);
  box-shadow: 0 8px 24px rgba(31, 111, 255, 0.16);
}
.order-filter:focus-visible {
  outline: 3px solid rgba(0, 182, 255, 0.24);
  outline-offset: 2px;
}
.order-zone {
  margin-top: 24px;
}
.order-zone-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 16px;
}
.order-card {
  padding: 20px 22px;
  border-radius: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.order-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.order-card h3 {
  margin: 6px 0 0;
}
.order-meta-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.order-meta {
  border-radius: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(31, 111, 255, 0.12);
  background: rgba(255, 255, 255, 0.7);
}
.order-meta span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.order-meta strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
}
.order-items {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.order-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(31, 111, 255, 0.1);
  background: rgba(255, 255, 255, 0.72);
}
.order-item-media {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(31, 111, 255, 0.12);
  background: rgba(255, 255, 255, 0.9);
}
.order-item-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.order-item-image--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
}
.order-item-content {
  min-width: 0;
}
.order-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.order-item-head strong,
.order-item-head span {
  font-size: 14px;
}
.success-detail-grid {
  display: grid;
  gap: 14px;
}
.success-detail-card {
  padding: 16px;
}
.success-detail-title {
  margin: 8px 0 12px;
  font: 700 20px/1.3 "Exo", sans-serif;
}
.success-info-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(31, 111, 255, 0.1);
}
.success-info-row:last-child {
  border-bottom: 0;
}
.success-info-row span {
  color: var(--muted);
  font-size: 13px;
}
.success-info-row strong {
  line-height: 1.5;
}
.success-empty-note,
.success-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}
.order-dialog-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 24, 42, 0.25);
  backdrop-filter: blur(4px);
  z-index: 70;
}
.order-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(440px, calc(100vw - 24px));
  padding: 20px;
  border-radius: 20px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  z-index: 71;
}
.order-dialog h3 {
  margin: 0 0 10px;
}
body.order-dialog-open {
  overflow: hidden;
}
.badge--paid { background: var(--success); }
.badge--pending { background: var(--warn); }
.badge--expired { background: rgba(66, 80, 107, 0.22); color: var(--text); }
.timeline-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.metric-chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(90, 169, 255, 0.08);
  border: 1px solid rgba(90, 169, 255, 0.14);
  color: var(--muted);
}

.site-footer { padding: 28px 0 46px; border-top: 1px solid rgba(90, 169, 255, 0.12); }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100vh;
  z-index: 60;
  padding: 18px;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(239, 245, 255, 0.94) 58%, rgba(248, 250, 255, 0.98)),
    radial-gradient(circle at top right, rgba(31, 111, 255, 0.16), transparent 42%);
  backdrop-filter: blur(24px);
  border-left: 1px solid rgba(31, 111, 255, 0.14);
  box-shadow: -28px 0 70px rgba(18, 34, 74, 0.18);
}

.drawer::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  height: 132px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.88), transparent 48%),
    radial-gradient(circle at 78% 18%, rgba(31, 111, 255, 0.14), transparent 44%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(227, 237, 255, 0.36));
  pointer-events: none;
}

.drawer-shell {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 16px;
}

.drawer-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.drawer-topbar .drawer-heading { flex: 1 1 auto; }

.drawer-heading h3 {
  margin: 6px 0 4px;
  font: 700 30px/1.02 "Exo", sans-serif;
}

.drawer-heading .muted {
  margin: 0;
  max-width: 230px;
  font-size: 14px;
}

.drawer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.drawer-meta-pill,
.drawer-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(31, 111, 255, 0.12);
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.drawer-meta-pill {
  padding: 8px 12px;
  font-size: 13px;
}

.drawer-meta-pill strong { color: var(--text); }

.drawer-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(31, 111, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  cursor: pointer;
  transition: 0.2s ease;
}

.drawer-clear:hover:not(:disabled) {
  color: var(--text);
  border-color: rgba(31, 111, 255, 0.22);
  background: rgba(255, 255, 255, 0.9);
}

.drawer-clear:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.drawer-body {
  min-height: 0;
  overflow: hidden;
}

.drawer-items {
  height: 100%;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 12px;
  padding-right: 4px;
}

.drawer-items::-webkit-scrollbar { width: 8px; }
.drawer-items::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(31, 111, 255, 0.16);
}

.drawer-item,
.drawer-empty,
.drawer-summary {
  border-radius: 24px;
  border: 1px solid rgba(31, 111, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(237, 243, 255, 0.92));
  box-shadow: 0 18px 40px rgba(31, 111, 255, 0.08);
}

.drawer-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  padding: 14px;
}

.drawer-item-media {
  aspect-ratio: 1;
  border-radius: 18px;
  border: 1px solid rgba(31, 111, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.92);
}

.drawer-item-body {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.drawer-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.drawer-item-head strong {
  display: -webkit-box;
  margin-top: 2px;
  font-size: 15px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.drawer-item-total {
  flex: 0 0 auto;
  color: var(--accent);
  font: 700 22px/1 "Exo", sans-serif;
  white-space: nowrap;
}

.drawer-item-desc {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.drawer-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.drawer-item-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.drawer-chip {
  padding: 6px 10px;
  font-size: 12px;
}

.drawer-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(31, 111, 255, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.drawer-stepper-button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(31, 111, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  font: 700 18px/1 "Exo", sans-serif;
  transition: 0.2s ease;
}

.drawer-stepper-button:hover {
  background: rgba(31, 111, 255, 0.16);
}

.drawer-stepper-value {
  min-width: 58px;
  text-align: center;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.drawer-remove {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(11, 16, 32, 0.58);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.drawer-remove:hover {
  color: #c2410c;
}

.drawer-empty {
  padding: 28px 20px;
  text-align: center;
}

.drawer-empty-orb {
  width: 82px;
  height: 82px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.98), rgba(115, 176, 255, 0.38) 48%, rgba(31, 111, 255, 0.16) 70%, transparent 71%);
}

.drawer-empty h4 {
  margin: 0 0 8px;
  font: 700 24px/1.08 "Exo", sans-serif;
}

.drawer-empty p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.drawer-summary {
  padding: 18px;
}

.drawer-summary-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.drawer-summary .price {
  color: var(--text);
  font-size: 40px;
}

.drawer-summary-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.drawer-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.drawer-actions > .button,
.drawer-actions > .ghost-button {
  width: 100%;
}

.drawer [data-drawer-close] {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-height: 38px;
  width: auto;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(31, 111, 255, 0.08);
  color: var(--muted);
  box-shadow: none;
  font-weight: 500;
}

.drawer [data-drawer-close] .icon { width: 18px; height: 18px; flex: 0 0 auto; }
.drawer [data-drawer-close] span { line-height: 1; font-size: 13px; }
.drawer [data-drawer-close]:hover {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(31, 111, 255, 0.18);
  color: var(--text);
}
.drawer [data-drawer-close]:focus-visible {
  outline: 3px solid rgba(0, 182, 255, 0.28);
  outline-offset: 2px;
}

body.drawer-open { overflow: hidden; }

.drawer.open { transform: translateX(0); }
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 24, 42, 0.16);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 55;
}

.drawer-backdrop.show { opacity: 1; pointer-events: auto; }

@keyframes floatSphere {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(12px, -18px, 0) scale(1.06); }
}

@media (max-width: 980px) {
  .hero-grid, .detail-grid, .checkout-grid, .about-grid, .tech-grid,
  .metrics-grid, .feature-grid, .product-grid, .logo-grid, .case-grid,
  .card-grid, .support-grid, .footer-grid, .form-grid, .hero-meta,
  .spotlight-grid, .support-shell, .account-shell, .account-dashboard, .status-grid { grid-template-columns: 1fr; }
  .order-filter-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .order-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .order-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .order-item-media {
    width: 72px;
    height: 72px;
  }
  .checkout-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .order-zone-head {
    align-items: stretch;
    flex-direction: column;
  }
  .cta-row, .stat-row, .tab-row {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    grid-auto-flow: row;
    justify-content: stretch;
    justify-items: stretch;
  }
  .cta-row > .button,
  .cta-row > .ghost-button {
    width: 100%;
  }
  .chip-row, .sort-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 4px;
  }
  .chip-row .tag,
  .sort-row .ghost-button {
    width: auto;
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .section--products .featured-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .section--products .featured-card .featured-media {
    min-height: 146px;
    height: auto;
  }
  .section--products .featured-footer {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .section--products .featured-footer .price {
    font-size: 30px;
  }
  .section--products .featured-card .featured-content {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .hero { padding-top: 56px; }
  .cta-row, .tab-row, .sort-row, .chip-row, .stat-row, .nav-actions { grid-auto-flow: row; }
  .cta-row, .stat-row, .tab-row { grid-template-columns: 1fr; }
  .button, .ghost-button, .tag { width: 100%; }
  .account-contact-grid,
  .order-filter-row,
  .order-meta-grid {
    grid-template-columns: 1fr;
  }
  .checkout-item {
    grid-template-columns: 1fr;
  }
  .order-item {
    grid-template-columns: 1fr;
  }
  .order-item-media {
    width: 100%;
    height: 160px;
  }
  .order-item-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .success-info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    padding: 18px;
    border-radius: 24px;
    background: var(--panel-strong);
    border: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .nav-links.open { display: flex; }
  .nav-links .nav-link {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .menu-toggle { display: inline-flex; }
  .nav-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
  }
  .nav-actions .ghost-button {
    width: auto;
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0 14px;
    min-height: 40px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .footer-grid > :first-child,
  .footer-grid > :last-child { grid-column: 1 / -1; }
  .section-head { align-items: start; }
  .notice-bar, .product-head, .summary-row, .option-row, .eyebrow-row { flex-direction: column; align-items: start; }
  .section--products .featured-card .product-head.single-tag {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
  }
  .section--products .featured-card .featured-media {
    min-height: 136px;
  }
  .section--products .featured-card .featured-content h3 {
    font-size: 22px;
  }
  .section--products .featured-footer .price {
    font-size: 28px;
  }
  .section--products .featured-card .compact-actions {
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr;
  }
  .drawer {
    width: 100vw;
    padding: 14px;
  }
  .drawer-topbar,
  .drawer-summary-head {
    flex-direction: column;
    align-items: start;
  }
  .drawer-heading .muted {
    max-width: none;
  }
  .drawer-item {
    grid-template-columns: 72px 1fr;
    gap: 12px;
  }
  .drawer-item-tools {
    flex-direction: column;
    align-items: stretch;
  }
  .drawer-stepper {
    justify-content: space-between;
  }
  .drawer-item-total,
  .drawer-summary .price {
    font-size: 30px;
  }
  .drawer-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (hover: hover) and (pointer: fine) {
  .menu-toggle { display: none !important; }
  .nav-links { display: grid !important; position: static !important; }
}







