:root {
  --bg: #f5f9ff;
  --panel: #ffffff;
  --ink: #111f33;
  --muted: #55647e;
  --line: #d5e0ef;
  --brand: #0f7d7c;
  --brand-deep: #0a4f69;
  --focus: rgba(15, 125, 124, 0.35);
  --radius: 16px;
  --shadow: 0 14px 30px rgba(10, 27, 51, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  color: var(--ink);
  background:
    radial-gradient(circle at 4% -12%, #d0f1ef 0%, rgba(208, 241, 239, 0) 32%),
    radial-gradient(circle at 90% 0%, #deebff 0%, rgba(222, 235, 255, 0) 30%),
    var(--bg);
  line-height: 1.5;
}

.top-bar {
  background: linear-gradient(90deg, var(--brand-deep), var(--brand));
  color: #fff;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.65rem 1rem;
}

.container {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
}

.site-header {
  background: rgba(245, 249, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 900;
  white-space: nowrap;
}

.brand-dot {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: conic-gradient(from 220deg, #0f7d7c, #f3bd55, #0a4f69, #0f7d7c);
}

.nav {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
  padding: 0.45rem 0.55rem;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(10, 27, 51, 0.06);
}

.nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(15, 125, 124, 0.12);
  box-shadow: inset 0 0 0 1px rgba(15, 125, 124, 0.18);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-toggle {
  display: none;
}

.main-layout {
  padding: 1.75rem 0 3.75rem;
}

.hero {
  position: relative;
  overflow: hidden;
  background-image: url("/heroimages/hero-desktop.jpg");
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  background-color: #0a2a3a;
  color: #e8f8ff;
  border-radius: 24px;
  padding: clamp(2.2rem, 4vw, 3.2rem);
  min-height: clamp(360px, 55vh, 560px);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 16, 22, 0.52) 0%, rgba(6, 16, 22, 0.22) 46%, rgba(6, 16, 22, 0) 72%),
    radial-gradient(900px 520px at 18% 28%, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 62%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 64ch;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.35);
}

@media (max-width: 640px) {
  .hero {
    min-height: clamp(420px, 60vh, 680px);
  }
}

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 0.8rem;
}

.hero p {
  max-width: 58ch;
  font-size: 1.03rem;
  font-weight: 650;
  opacity: 0.96;
}

.hero-actions {
  margin-top: 1.05rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.hero-actions .hero-link {
  color: rgba(232, 248, 255, 0.92);
  font-weight: 800;
  text-decoration: none;
  padding: 0.4rem 0.25rem;
  border-radius: 10px;
}

.hero-actions .hero-link:hover {
  color: #fff;
  text-decoration: underline;
}

.hero-chips {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-chips span {
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 700;
}

.section {
  margin-top: 2rem;
}

.section-head {
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-head h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
}

.grid {
  display: grid;
  gap: 1rem;
}

.products-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.choose-section {
  background: #f4f4f4;
  border: 1px solid #e6e6e6;
  border-radius: 24px;
  padding: clamp(1.2rem, 2.8vw, 2rem);
}

.choose-head {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.choose-head h2 {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #b19859;
  text-align: center;
}

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

.choose-card {
  position: relative;
  background: #fbfbfb;
  border: 1px solid #dddddd;
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(12, 20, 34, 0.06);
  padding: 3.2rem 1.15rem 1.15rem;
  text-align: center;
  min-height: 205px;
}

.choose-icon {
  position: absolute;
  top: -2.1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 50%;
  background: #ede9df;
  border: 1px solid #e3dece;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.choose-icon svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: none;
  stroke: #b19859;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.choose-title {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9a9a9a;
  font-size: 0.94rem;
  margin-bottom: 0.62rem;
  font-weight: 700;
}

.choose-card p:last-child {
  color: #505050;
  font-size: 1.03rem;
  line-height: 1.4;
  font-weight: 700;
  max-width: 31ch;
  margin-inline: auto;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 18px rgba(7, 28, 52, 0.06);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(7, 28, 52, 0.1);
  border-color: rgba(15, 125, 124, 0.22);
}

.thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: linear-gradient(140deg, #dff2ff 0%, #c4e8ff 50%, #a6d9d5 100%);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.card-body {
  padding: 0.9rem;
}

.card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.card .muted {
  min-height: 40px;
}

.price {
  font-size: 1rem;
  font-weight: 900;
  margin: 0.5rem 0;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.62rem 1rem;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn-primary {
  background: linear-gradient(90deg, var(--brand-deep), var(--brand));
  color: #fff;
  box-shadow: 0 10px 20px rgba(10, 79, 105, 0.18);
}

.btn-secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
.tab-btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.nav a:focus-visible,
.nav-toggle:focus-visible,
.icon-btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.btn-secondary:hover {
  border-color: rgba(15, 125, 124, 0.25);
  box-shadow: 0 10px 20px rgba(7, 28, 52, 0.06);
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 18px rgba(7, 28, 52, 0.05);
  padding: 1rem;
}

.panel h3 {
  font-size: 1.1rem;
  font-weight: 800;
}

.legal {
  max-width: 920px;
  margin-inline: auto;
}

.legal h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.15;
  margin-bottom: 0.7rem;
}

.legal h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.12rem;
  line-height: 1.25;
  margin: 1.25rem 0 0.5rem;
}

.legal p,
.legal li {
  color: var(--muted);
  font-weight: 650;
}

.legal ul {
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.legal .lead {
  color: var(--muted);
  font-weight: 750;
  margin-bottom: 1rem;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.checkout-stack {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.btn-small {
  padding: 0.42rem 0.75rem;
  font-size: 0.9rem;
}

.cart-list {
  display: grid;
}

.cart-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #edf2fa;
}

.cart-row:last-child {
  border-bottom: 0;
}

.cart-row-main {
  display: grid;
  gap: 0.25rem;
}

.cart-row-title {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}

.cart-row-title img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(10, 27, 51, 0.12);
  object-fit: cover;
  background: #fff;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.qty-controls button {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(10, 27, 51, 0.16);
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  font-weight: 900;
}

.qty-controls button:hover {
  box-shadow: 0 10px 20px rgba(7, 28, 52, 0.06);
  transform: translateY(-1px);
}

.qty-controls .qty {
  min-width: 2ch;
  text-align: center;
  font-weight: 850;
}

.cart-totals {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #edf2fa;
  font-size: 0.95rem;
}

.cart-total-row {
  font-size: 1.05rem;
}

.form-stack,
.form-row {
  display: grid;
  gap: 0.8rem;
}

label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.92rem;
  font-weight: 700;
}

input,
textarea,
select {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.66rem 0.72rem;
  font: inherit;
}

textarea {
  min-height: 84px;
  resize: vertical;
}

.bank-box {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.muted {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 600;
}

.hidden {
  display: none !important;
}

.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.tab-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.46rem 0.95rem;
  cursor: pointer;
  font-weight: 800;
}

.tab-btn.active {
  background: var(--ink);
  color: #fff;
}

.status-list {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.45rem;
}

.status-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem;
  font-size: 0.9rem;
}

.admin-list {
  display: grid;
  gap: 0.9rem;
}

.admin-controls {
  margin-bottom: 0.9rem;
  padding: 0.9rem;
}

.admin-controls-row {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 0.7fr;
  gap: 0.7rem;
  align-items: end;
}

.admin-controls-meta {
  margin-top: 0.6rem;
  font-size: 0.9rem;
}

.admin-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.admin-order {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem;
  display: grid;
  gap: 0.6rem;
}

.admin-head {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-head .muted {
  font-weight: 750;
}

.admin-actions {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 0.6rem;
}

.admin-actions input[disabled],
.admin-actions select[disabled],
.admin-actions button[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.admin-history {
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
  display: grid;
  gap: 0.6rem;
}

.admin-history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.admin-history-grid ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
}

.admin-console-actions {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

#admin-session-meta {
  margin-top: 0.2rem;
}

.support-layout {
  padding: 0.9rem;
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 0.9rem;
}

.support-sidebar-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
}

.support-list {
  display: grid;
  gap: 0.6rem;
  max-height: 560px;
  overflow: auto;
  padding-right: 0.15rem;
}

.support-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  cursor: pointer;
  background: #fff;
  display: grid;
  gap: 0.25rem;
}

.support-item.unread {
  border-color: rgba(15, 125, 124, 0.4);
}

.support-item.active {
  box-shadow: 0 0 0 2px rgba(10, 27, 51, 0.12);
}

.support-item-title {
  font-weight: 900;
}

.support-item-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.support-detail {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.6);
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.support-message {
  display: grid;
  gap: 0.6rem;
}

.support-message pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.92rem;
  background: rgba(250, 250, 250, 0.9);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem;
}

.support-reply textarea {
  width: 100%;
  resize: vertical;
}

.support-reply-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.toast-host {
  position: fixed;
  right: 1rem;
  top: 5.2rem;
  z-index: 80;
  display: grid;
  gap: 0.6rem;
  width: min(420px, calc(100% - 2rem));
}

.toast {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(213, 224, 239, 0.9);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(10, 27, 51, 0.18);
  backdrop-filter: blur(10px);
  padding: 0.75rem 0.9rem;
  display: grid;
  gap: 0.25rem;
}

.toast-title {
  font-weight: 900;
}

.toast.toast-error {
  border-color: rgba(185, 38, 55, 0.35);
}

.toast.toast-success {
  border-color: rgba(15, 125, 124, 0.35);
}

.disclaimer-card {
  padding: 1.05rem 1.1rem;
}

.disclaimer-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.disclaimer-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 249, 255, 0.9);
  border: 1px solid rgba(213, 224, 239, 0.85);
  color: var(--ink);
}

.ops-table {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.ops-row {
  display: grid;
  grid-template-columns: 2.2fr 0.9fr 0.8fr 0.8fr;
  gap: 0.65rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid #edf2fa;
}

.ops-row:last-child {
  border-bottom: 0;
}

.ops-head {
  background: rgba(245, 249, 255, 0.7);
  font-weight: 900;
}

.ops-input {
  width: 100%;
}

.cart-drawer {
  position: fixed;
  right: 1rem;
  top: 5.4rem;
  width: min(380px, calc(100% - 2rem));
  max-height: calc(100vh - 7rem);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  z-index: 40;
}

.cart-header,
.cart-footer {
  padding: 0.85rem;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.icon-btn {
  border: 0;
  background: transparent;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid #edf2fa;
}

.cart-footer {
  display: grid;
  gap: 0.5rem;
}

@media (max-width: 960px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

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

  .nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(10, 27, 51, 0.14);
    background: rgba(255, 255, 255, 0.75);
  }
}

@media (max-width: 600px) {
  .choose-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .choose-card {
    min-height: auto;
    padding: 2.9rem 1rem 1rem;
  }

  .admin-controls-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .admin-history-grid {
    grid-template-columns: 1fr;
  }

  .ops-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

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

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

.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(9, 16, 25, 0.46);
  z-index: 60;
  padding: 1rem;
}

.mobile-nav-panel {
  margin-left: auto;
  width: min(420px, 100%);
  background: rgba(245, 249, 255, 0.92);
  border: 1px solid rgba(213, 224, 239, 0.85);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(10, 27, 51, 0.22);
  backdrop-filter: blur(12px);
  padding: 0.9rem;
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.25rem 0.25rem 0.6rem;
  border-bottom: 1px solid rgba(213, 224, 239, 0.7);
}

.mobile-nav-links {
  display: grid;
  gap: 0.25rem;
  padding: 0.6rem 0.25rem 0.25rem;
}

.mobile-nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 850;
  padding: 0.85rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(213, 224, 239, 0.65);
}

.mobile-nav-links a:hover {
  border-color: rgba(15, 125, 124, 0.22);
  background: rgba(255, 255, 255, 0.9);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.35rem 0;
  background: rgba(245, 249, 255, 0.7);
}

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

.footer-links {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-admin {
  padding: 0 0 1.4rem;
  display: flex;
  justify-content: flex-end;
}

.btn-admin-link {
  padding: 0.36rem 0.68rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #6a7589;
  background: #f4f7fb;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
}

.btn-admin-link:hover {
  color: #4f5a6d;
  background: #eef3f9;
}
