/*
  Ocean Market theme
  ------------------
  Palette (edit these to re-skin the whole store):
    --ocean-deep   darkest navy background
    --ocean-mid    card / panel surfaces
    --ocean-panel  slightly lighter panels
    --ocean-accent primary action (teal-blue)
    --ocean-foam   light text / highlights
    --ocean-mist   muted secondary text
*/

:root {
  --ocean-deep: #0a1628;
  --ocean-mid: #0f2744;
  --ocean-panel: #153a5f;
  --ocean-accent: #1a8cff;
  --ocean-accent-hover: #3d9fff;
  --ocean-teal: #20c6b7;
  --ocean-foam: #e8f4ff;
  --ocean-mist: #8fb3d9;
  --ocean-danger: #ff6b8a;
  --ocean-success: #3dd68c;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(0, 10, 30, 0.45);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ocean-foam);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, #1a4a7a 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 100%, #0d3a5c 0%, transparent 50%),
    var(--ocean-deep);
  line-height: 1.5;
}

a {
  color: var(--ocean-teal);
  text-decoration: none;
}

a:hover {
  color: var(--ocean-foam);
}

/* ---------- Layout ---------- */

.site-header {
  border-bottom: 1px solid rgba(143, 179, 217, 0.15);
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner,
.main,
.site-footer {
  width: min(1100px, 92%);
  margin-inline: auto;
}

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

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ocean-foam);
}

.logo-tagline {
  font-size: 0.8rem;
  color: var(--ocean-mist);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  color: var(--ocean-mist);
  font-size: 0.95rem;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.nav-link:hover {
  background: var(--ocean-panel);
  color: var(--ocean-foam);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--ocean-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.cart-badge[hidden] {
  display: none !important;
}

.main {
  padding: 2rem 0 3rem;
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid rgba(143, 179, 217, 0.12);
  color: var(--ocean-mist);
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- Typography ---------- */

.page-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
}

.page-sub {
  margin: 0 0 1.75rem;
  color: var(--ocean-mist);
  max-width: 40rem;
}

.meta-chip {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--ocean-mist);
  background: rgba(21, 58, 95, 0.7);
  border: 1px solid rgba(143, 179, 217, 0.2);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 1.25rem;
}

/* ---------- Product grid (4 per row; panel size +25% from prior) ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.875rem;
}

@media (max-width: 720px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: linear-gradient(160deg, var(--ocean-mid), #0c1f36);
  border: 1px solid rgba(143, 179, 217, 0.18);
  border-radius: calc(var(--radius) * 0.625);
  overflow: hidden;
  box-shadow: 0 5px 16px rgba(0, 10, 30, 0.35);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(26, 140, 255, 0.45);
}

.product-image {
  width: 100%;
  height: 188px;
  object-fit: cover;
  background: var(--ocean-panel);
  display: block;
}

.product-body {
  padding: 0.25rem 0.5rem 0.375rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.125rem;
}

.product-name {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hide description on main inventory to keep panels short */
.product-desc {
  display: none;
}

.product-stock {
  margin: 0;
  font-size: 0.725rem;
  color: var(--ocean-teal);
  font-weight: 600;
  line-height: 1.1;
}

.product-stock-out {
  color: var(--ocean-danger);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.3rem;
  margin-top: 0.125rem;
  flex-wrap: wrap;
}

.product-card .price {
  font-size: 0.875rem;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.product-card .btn-sm {
  padding: 0.225rem 0.44rem;
  font-size: 0.725rem;
  border-radius: 6px;
}

.inline-form {
  display: inline;
  margin: 0;
}

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 9px;
  padding: 0.65rem 1.15rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(180deg, var(--ocean-accent-hover), var(--ocean-accent));
  color: #fff;
  box-shadow: 0 4px 14px rgba(26, 140, 255, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #55aeff, var(--ocean-accent-hover));
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--ocean-mist);
  border: 1px solid rgba(143, 179, 217, 0.35);
}

.btn-secondary:hover {
  background: var(--ocean-panel);
  color: var(--ocean-foam);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
}

.alert-success {
  background: rgba(61, 214, 140, 0.12);
  border: 1px solid rgba(61, 214, 140, 0.4);
  color: #9aefc4;
  border-radius: 9px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* ---------- Cart ---------- */

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

.cart-product img {
  width: 56px;
  height: 28px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--ocean-panel);
  flex-shrink: 0;
}

.qty-form {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.qty-input {
  width: 4rem;
  padding: 0.4rem 0.45rem;
  border-radius: 8px;
  border: 1px solid rgba(143, 179, 217, 0.3);
  background: rgba(10, 22, 40, 0.65);
  color: var(--ocean-foam);
  font: inherit;
}

.cart-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(143, 179, 217, 0.15);
}

.cart-total {
  font-size: 1.1rem;
  color: var(--ocean-mist);
}

.confirm-items .product-summary-compact {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
}

.confirm-items .product-summary-compact:last-of-type {
  border-bottom: 1px solid rgba(143, 179, 217, 0.15);
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
}

.confirm-items .product-summary-compact img {
  width: 64px;
  height: 32px;
}

.confirm-items .product-summary-compact h2 {
  font-size: 1.05rem;
}

.confirm-total {
  margin: 0 0 1rem;
  color: var(--ocean-mist);
  font-size: 1.05rem;
}

/* ---------- Admin product management ---------- */

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.35rem;
  padding: 0.55rem;
  background: rgba(15, 39, 68, 0.85);
  border: 1px solid rgba(143, 179, 217, 0.2);
  border-radius: 12px;
  position: sticky;
  top: 4.25rem;
  z-index: 5;
  backdrop-filter: blur(8px);
}

.admin-nav-link {
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--ocean-mist);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.admin-nav-link:hover,
.admin-nav-link:focus-visible {
  background: var(--ocean-panel);
  color: var(--ocean-foam);
}

.admin-nav-link.is-active {
  background: var(--ocean-accent);
  color: #fff;
}

.admin-panel[hidden] {
  display: none !important;
}

.section-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.section-heading-row .section-title {
  margin: 0;
}

.admin-thumb {
  width: 64px;
  height: 32px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--ocean-panel);
  display: block;
}

.admin-photo-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.admin-pricing-form {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 9.5rem;
}

.admin-field-label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ocean-mist);
}

.admin-inline-input {
  width: 100%;
  max-width: 8rem;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  border: 1px solid rgba(143, 179, 217, 0.3);
  background: rgba(10, 22, 40, 0.65);
  color: var(--ocean-foam);
  font: inherit;
  font-size: 0.9rem;
}

.admin-inline-input:focus {
  outline: 2px solid var(--ocean-accent);
  outline-offset: 1px;
  border-color: var(--ocean-accent);
}

.admin-photo-form input[type="file"],
.admin-add-form input[type="file"] {
  color: var(--ocean-mist);
  font-size: 0.85rem;
  max-width: 100%;
}

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

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

.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 9px;
  border: 1px solid rgba(143, 179, 217, 0.3);
  background: rgba(10, 22, 40, 0.65);
  color: var(--ocean-foam);
  font: inherit;
  resize: vertical;
  min-height: 5rem;
}

.form-group textarea:focus {
  outline: 2px solid var(--ocean-accent);
  outline-offset: 1px;
  border-color: var(--ocean-accent);
}

.form-group input[type="number"] {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 9px;
  border: 1px solid rgba(143, 179, 217, 0.3);
  background: rgba(10, 22, 40, 0.65);
  color: var(--ocean-foam);
  font: inherit;
}

.form-group input[type="number"]:focus {
  outline: 2px solid var(--ocean-accent);
  outline-offset: 1px;
  border-color: var(--ocean-accent);
}

.admin-add-form .form-group {
  margin-bottom: 1.1rem;
}

/* Clickable order rows */
.order-row {
  cursor: pointer;
  transition: background 0.12s ease;
}

.order-row:hover td,
.order-row:focus-visible td {
  background: rgba(26, 140, 255, 0.12);
}

.order-row:focus-visible {
  outline: 2px solid var(--ocean-accent);
  outline-offset: -2px;
}

/* ---------- Receipt / invoice ---------- */

.receipt-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.receipt {
  max-width: 720px;
  margin: 0 auto;
}

.receipt-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid rgba(143, 179, 217, 0.2);
}

.receipt-store {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ocean-foam);
}

.receipt-tagline {
  margin: 0.2rem 0 0;
  color: var(--ocean-mist);
  font-size: 0.9rem;
}

.receipt-meta {
  text-align: right;
}

.receipt-title {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.receipt-order-id {
  margin: 0.3rem 0 0;
  color: var(--ocean-teal);
  font-size: 1.05rem;
  font-weight: 600;
}

.receipt-info {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.35rem;
}

@media (max-width: 640px) {
  .receipt-info {
    grid-template-columns: 1fr;
  }

  .receipt-meta {
    text-align: left;
  }
}

.receipt-label {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ocean-mist);
}

.receipt-dl {
  margin: 0;
}

.receipt-dl > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

.receipt-dl dt {
  margin: 0;
  color: var(--ocean-mist);
}

.receipt-dl dd {
  margin: 0;
  color: var(--ocean-foam);
}

.receipt-status {
  background: rgba(10, 22, 40, 0.45);
  border: 1px solid rgba(143, 179, 217, 0.15);
  border-radius: 10px;
  padding: 0.9rem 1rem;
}

.receipt-status p {
  margin: 0.55rem 0 0;
  color: var(--ocean-mist);
  font-size: 0.9rem;
}

.receipt-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(61, 214, 140, 0.15);
  border: 1px solid rgba(61, 214, 140, 0.4);
  color: var(--ocean-success);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.receipt-lines {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.receipt-line {
  display: flex;
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(143, 179, 217, 0.12);
}

.receipt-thumb {
  width: 72px;
  height: 36px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--ocean-panel);
  flex-shrink: 0;
}

.receipt-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ocean-mist);
  border: 1px dashed rgba(143, 179, 217, 0.3);
}

.receipt-line-body {
  flex: 1;
  min-width: 0;
}

.receipt-line-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
}

.receipt-item-name {
  margin: 0;
  font-size: 1.05rem;
}

.receipt-item-meta {
  margin: 0.25rem 0 0;
  color: var(--ocean-mist);
  font-size: 0.8rem;
}

.receipt-item-desc {
  margin: 0.4rem 0 0;
  color: var(--ocean-mist);
  font-size: 0.88rem;
}

.receipt-item-note {
  margin: 0.4rem 0 0;
  color: var(--ocean-danger);
  font-size: 0.8rem;
}

.receipt-totals {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(143, 179, 217, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: 18rem;
  margin-left: auto;
}

.receipt-total-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ocean-mist);
  font-size: 0.95rem;
}

.receipt-total-grand {
  margin-top: 0.25rem;
  padding-top: 0.55rem;
  border-top: 1px dashed rgba(143, 179, 217, 0.25);
  color: var(--ocean-foam);
  font-size: 1.1rem;
  font-weight: 700;
}

.receipt-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(143, 179, 217, 0.15);
  text-align: center;
  color: var(--ocean-mist);
  font-size: 0.85rem;
}

.receipt-footer p {
  margin: 0.2rem 0;
}

@media print {
  .site-header,
  .site-footer,
  .receipt-toolbar {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  .receipt {
    box-shadow: none;
    border: 1px solid #ccc;
    max-width: none;
  }
}

/* ---------- Confirm / success panels ---------- */

.panel {
  background: linear-gradient(160deg, var(--ocean-mid), #0c1f36);
  border: 1px solid rgba(143, 179, 217, 0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  max-width: 560px;
}

.panel-wide {
  max-width: 960px;
}

.product-summary {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(143, 179, 217, 0.15);
}

.product-summary img {
  width: 96px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--ocean-panel);
}

.product-summary h2 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
}

.product-summary .price {
  font-size: 1.05rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ocean-foam);
}

.form-group .hint {
  display: block;
  font-size: 0.8rem;
  color: var(--ocean-mist);
  font-weight: 400;
  margin-top: 0.25rem;
}

.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="text"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 9px;
  border: 1px solid rgba(143, 179, 217, 0.3);
  background: rgba(10, 22, 40, 0.65);
  color: var(--ocean-foam);
  font: inherit;
}

.contact-summary {
  margin: 0 0 1rem;
  color: var(--ocean-mist);
  font-size: 0.9rem;
}

.contact-summary p {
  margin: 0.2rem 0;
}

.contact-summary strong {
  color: var(--ocean-foam);
  font-weight: 600;
}

.save-it-wrap {
  display: flex;
  justify-content: center;
  margin-top: 0.85rem;
}

.save-it-callout {
  appearance: none;
  border: none;
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 6px;
  background: linear-gradient(180deg, #ffd54a, #ffb300);
  color: #1a1000;
  font: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 0 0 2px rgba(255, 196, 0, 0.55),
    0 0 18px rgba(255, 196, 0, 0.45);
  animation: save-it-pulse 1.6s ease-in-out infinite;
}

.save-it-callout:hover {
  filter: brightness(1.06);
}

.save-it-callout:active {
  transform: scale(0.97);
}

.save-it-callout.is-copied {
  animation: none;
  background: linear-gradient(180deg, #5dffb0, #3dd68c);
  color: #042416;
  box-shadow:
    0 0 0 2px rgba(61, 214, 140, 0.55),
    0 0 18px rgba(61, 214, 140, 0.4);
}

@keyframes save-it-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 2px rgba(255, 196, 0, 0.55),
      0 0 14px rgba(255, 196, 0, 0.4);
  }
  50% {
    transform: scale(1.06);
    box-shadow:
      0 0 0 3px rgba(255, 220, 80, 0.85),
      0 0 26px rgba(255, 196, 0, 0.7);
  }
}

.form-group input:focus {
  outline: 2px solid var(--ocean-accent);
  outline-offset: 1px;
  border-color: var(--ocean-accent);
}

.instructions {
  background: rgba(10, 22, 40, 0.55);
  border-left: 3px solid var(--ocean-teal);
  border-radius: 0 8px 8px 0;
  padding: 0.9rem 1rem;
  margin: 1.1rem 0 1.35rem;
  color: var(--ocean-mist);
  font-size: 0.92rem;
}

.instructions strong {
  color: var(--ocean-foam);
}

.instructions ol {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.instructions li {
  margin-bottom: 0.35rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* ---------- Success ---------- */

.order-id-box {
  background: rgba(10, 22, 40, 0.7);
  border: 1px dashed rgba(32, 198, 183, 0.5);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  margin: 1rem 0;
  text-align: center;
}

.order-id-box .label {
  font-size: 0.8rem;
  color: var(--ocean-mist);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.order-id-box .value {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 3.15rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ocean-teal);
  word-break: break-all;
  user-select: all;
}

.success-banner {
  color: var(--ocean-success);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.alert {
  border-radius: 9px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.alert-error {
  background: rgba(255, 107, 138, 0.12);
  border: 1px solid rgba(255, 107, 138, 0.4);
  color: #ffb3c1;
}

/* ---------- Admin ---------- */

.table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
}

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

table.data th,
table.data td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(143, 179, 217, 0.15);
  vertical-align: top;
}

table.data th {
  color: var(--ocean-mist);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

table.data tr:hover td {
  background: rgba(21, 58, 95, 0.35);
}

.mono {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.85rem;
}

.empty-state {
  color: var(--ocean-mist);
  padding: 1.5rem 0;
}

.admin-sections {
  display: grid;
  gap: 1.5rem;
}

.section-title {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}

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

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

  .actions {
    flex-direction: column;
  }

  .actions .btn {
    width: 100%;
  }
}
