/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  color-scheme: dark;
  --bg: #091018;
  --panel: rgba(10, 19, 29, 0.86);
  --panel-strong: #0f1a25;
  --card: linear-gradient(180deg, rgba(18, 30, 42, 0.98), rgba(10, 18, 27, 0.98));
  --text: #f5f1e8;
  --muted: #94a8b7;
  --line: rgba(164, 194, 214, 0.14);
  --accent: #ff8a3d;
  --accent-soft: #ffc766;
  --success: #8ce99a;
  --danger: #ff8d84;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  background:
    radial-gradient(circle at top left, rgba(255, 138, 61, 0.15), transparent 22%),
    radial-gradient(circle at 85% 12%, rgba(255, 199, 102, 0.09), transparent 18%),
    linear-gradient(180deg, #091018 0%, #0d1721 50%, #081018 100%);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.top-status-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 16, 24, 0.82);
  box-shadow: var(--shadow);
}

.status-chip strong {
  font-size: 0.95rem;
}

.status-chip span:last-child {
  color: var(--muted);
  font-size: 0.88rem;
}

.status-login-button {
  margin-left: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #11161c;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent) 100%);
  font-weight: 700;
  cursor: pointer;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 141, 132, 0.9);
  box-shadow: 0 0 0 4px rgba(255, 141, 132, 0.12);
}

.status-dot.is-active {
  background: rgba(140, 233, 154, 0.95);
  box-shadow: 0 0 0 4px rgba(140, 233, 154, 0.12);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 380px);
  gap: 20px;
  margin-bottom: 24px;
}

.hero-panel,
.category-block,
.status-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
}

.hero-copy-panel {
  overflow: hidden;
  position: relative;
  min-height: 320px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(130deg, rgba(255, 138, 61, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(10, 19, 29, 0.82), rgba(10, 19, 29, 0.96));
}

.hero-copy-wrap {
  max-width: 760px;
}

.hero-copy-panel::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 61, 0.28), transparent 68%);
  pointer-events: none;
}

.hero-copy-panel h1,
.category-header h2,
.panel-header h2,
.modal-copy h2,
.status-card h1 {
  margin: 0;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-copy-panel h1 {
  max-width: 11ch;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.panel-header h2,
.category-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.hero-copy,
.category-header p,
.package-description,
.status-card p,
.empty-state,
.cart-item-copy span,
.modal-description {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-soft);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.stat-chip {
  padding: 16px 18px;
  border: 1px solid rgba(255, 199, 102, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.stat-chip strong,
.cart-badge {
  display: block;
  font-size: 1.45rem;
}

.stat-chip span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.checkout-panel {
  position: sticky;
  top: 16px;
  align-self: start;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 138, 61, 0.06), transparent 24%),
    rgba(9, 16, 24, 0.94);
}

.panel-header,
.cart-item,
.category-header,
.package-actions,
.package-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.panel-header {
  align-items: end;
}

.cart-badge {
  color: var(--accent-soft);
  text-align: right;
}

.checkout-panel label {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.94rem;
}

.checkout-panel input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

.checkout-panel input:focus {
  border-color: rgba(255, 199, 102, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 199, 102, 0.08);
}

.cart-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.cart-item {
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.cart-item-copy strong {
  display: block;
  margin-bottom: 2px;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qty-controls button,
.ghost-button,
.add-button,
.checkout-button,
.status-card a,
.modal-close {
  border-radius: 999px;
  cursor: pointer;
}

.qty-controls button {
  width: 32px;
  height: 32px;
  color: var(--text);
  background: var(--panel-strong);
}

.ghost-button {
  padding: 11px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.checkout-button,
.add-button,
.status-card a {
  color: #11161c;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent) 100%);
  font-weight: 700;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    opacity 140ms ease;
}

.checkout-button:hover,
.add-button:hover,
.ghost-button:hover,
.status-card a:hover {
  transform: translateY(-1px);
}

.checkout-button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.checkout-button {
  width: 100%;
  padding: 14px 18px;
}

.catalog-shell {
  display: grid;
  gap: 18px;
}

.category-nav {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(9, 16, 24, 0.88);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.category-nav-link {
  padding: 10px 14px;
  border: 1px solid rgba(255, 199, 102, 0.12);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  transition:
    color 140ms ease,
    border-color 140ms ease,
    background 140ms ease;
}

.category-nav-link:hover,
.category-nav-link.is-active {
  color: var(--text);
  border-color: rgba(255, 199, 102, 0.28);
  background: rgba(255, 199, 102, 0.08);
}

.category-block {
  padding: 24px;
}

.category-header {
  align-items: start;
  margin-bottom: 20px;
}

.category-header > p {
  max-width: 420px;
  margin: 8px 0 0;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.package-card {
  display: grid;
  gap: 16px;
  min-height: 360px;
  padding: 14px;
  border: 1px solid rgba(255, 199, 102, 0.1);
  border-radius: 24px;
  background: var(--card);
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.package-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 199, 102, 0.28);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.package-media,
.modal-media {
  overflow: hidden;
  position: relative;
  height: 220px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 138, 61, 0.1), rgba(255, 199, 102, 0.08));
}

.package-media img,
.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: rgba(255, 255, 255, 0.02);
}

.media-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 220px;
  padding: 20px;
  color: var(--accent-soft);
  background:
    radial-gradient(circle at top left, rgba(255, 138, 61, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02));
}

.media-fallback span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 199, 102, 0.16);
  border-radius: 999px;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.package-topline {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  align-items: center;
}

.package-index,
.package-price {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.82rem;
}

.package-index {
  color: var(--text);
  background: rgba(9, 16, 24, 0.68);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.package-price {
  color: #11161c;
  background: var(--accent-soft);
}

.package-meta {
  padding: 0 4px;
}

.package-meta h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  line-height: 1.12;
}

.package-description {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.package-actions {
  margin-top: auto;
}

.add-button,
.status-card a,
.modal-action {
  padding: 11px 16px;
}

.toast {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  transform: translateX(-50%);
  padding: 12px 18px;
  border: 1px solid rgba(140, 233, 154, 0.22);
  border-radius: 999px;
  color: #eaffef;
  background: rgba(16, 43, 28, 0.92);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 9, 14, 0.74);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: 24px;
  width: min(960px, 100%);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, #0d1721, #091119);
  box-shadow: var(--shadow);
}

.modal-gallery {
  display: grid;
  gap: 12px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.modal-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 22px;
}

.modal-copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.gallery-thumb {
  overflow: hidden;
  height: 84px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-price {
  margin: 14px 0 8px;
  color: var(--accent-soft);
  font-size: 1.1rem;
  font-weight: 700;
}

.modal-action {
  width: fit-content;
  margin-top: 16px;
}

.error-text {
  color: var(--danger);
  font-size: 0.92rem;
}

.status-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.status-card {
  width: min(560px, 100%);
  padding: 32px;
}

@media (max-width: 980px) {
  .hero-grid,
  .modal-card {
    grid-template-columns: 1fr;
  }

  .checkout-panel {
    position: static;
  }

  .category-header {
    flex-direction: column;
  }

  .modal-copy {
    padding-right: 0;
  }

  .category-nav {
    top: 8px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 18px, 1320px);
    padding-top: 12px;
  }

  .top-status-bar {
    justify-content: stretch;
  }

  .status-chip {
    width: 100%;
    border-radius: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy-panel,
  .checkout-panel,
  .category-block,
  .status-card,
  .modal-card {
    padding: 18px;
  }

  .hero-copy-panel h1 {
    max-width: none;
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .panel-header,
  .package-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ghost-button,
  .add-button,
  .modal-action {
    width: 100%;
  }

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

