:root {
  --bs-primary: #0b4f72;
  --bs-primary-rgb: 11, 79, 114;
  --bs-secondary: #2d4358;
  --bs-secondary-rgb: 45, 67, 88;
  --bs-success: #1d8a52;
  --bs-success-rgb: 29, 138, 82;
  --bs-info: #1e7ca6;
  --bs-info-rgb: 30, 124, 166;
  --bs-warning: #f19d49;
  --bs-warning-rgb: 241, 157, 73;
  --bs-danger: #bc3d24;
  --bs-danger-rgb: 188, 61, 36;
  --bs-light: #e7f3fb;
  --bs-light-rgb: 231, 243, 251;
  --bs-dark: #032742;
  --bs-dark-rgb: 3, 39, 66;
  --ocean-900: #032742;
  --ocean-700: #0b4f72;
  --ocean-500: #1e7ca6;
  --sand-300: #f3d9a4;
  --sand-200: #f8e8c3;
  --sunset-500: #ef8555;
  --foam-100: #f8fbfd;
  --ink-900: #112233;
  --ink-700: #2d4358;
  --white: #ffffff;
  --success: #1d8a52;
  --warn: #c07a00;
  --danger: #bc3d24;
  --shadow-soft: 0 14px 30px rgba(6, 38, 62, 0.16);
  --shadow-card: 0 10px 24px rgba(7, 39, 63, 0.14);
  --radius-lg: 18px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(circle at 18% 12%, rgba(30, 124, 166, 0.1) 0, transparent 42%),
    radial-gradient(circle at 82% 6%, rgba(239, 133, 85, 0.12) 0, transparent 38%),
    linear-gradient(180deg, #f8fbfd 0%, #eef6fb 40%, #ffffff 100%);
}

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

a:hover {
  text-decoration: underline;
}

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

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

.admin-page .container {
  width: min(1720px, calc(100% - 1.25rem));
}

@media (max-width: 1720px) {
  .admin-page .container {
    width: calc(100% - 0.6rem);
  }
}

.site-header,
.admin-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(6px);
  background: color-mix(in srgb, var(--ocean-900) 78%, black 22%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-wrap,
.admin-nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  font-family: "Bebas Neue", Impact, sans-serif;
  color: var(--white);
  letter-spacing: 1.2px;
  font-size: 2rem;
  line-height: 1;
}

.admin-header .brand {
  font-size: 1.75rem;
  white-space: nowrap;
}

.site-nav,
.admin-nav {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}

.site-nav a,
.admin-nav a {
  color: #d8ebf7;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
}

.site-nav a.active,
.admin-nav a.active,
.site-nav a:hover,
.admin-nav a:hover {
  background: rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

.admin-user {
  color: #d8ebf7;
  font-size: 0.83rem;
}

.admin-user a {
  color: #d8ebf7;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.admin-user a:hover {
  color: #ffffff;
}

.hero {
  position: relative;
  padding: 5rem 0 4rem;
  color: var(--white);
  overflow: clip;
}

.obx-hero {
  background:
    linear-gradient(105deg, rgba(3, 39, 66, 0.95) 15%, rgba(11, 79, 114, 0.74) 55%, rgba(239, 133, 85, 0.35) 100%),
    url("../../images/dolphins-image.png") center/cover no-repeat;
}

.order-hero {
  background:
    linear-gradient(100deg, rgba(3, 39, 66, 0.94), rgba(30, 124, 166, 0.74)),
    url("../../images/pier-image.jpg") center/cover no-repeat;
  padding-bottom: 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #f7e1b4;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink-900);
}

.hero h1,
.order-hero h1 {
  color: var(--white);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: 0.5px;
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.3rem;
  color: #eef6fb;
}

.service-line {
  font-size: 0.9rem;
  color: #f5dfa9;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: #edf8ff;
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  font-weight: 700;
}

.hero-stat strong {
  color: #ffd98f;
}

.hero-panel {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
}

.hero-panel h2 {
  color: var(--white);
  margin-bottom: 0.9rem;
}

.hero-panel ul {
  margin: 0 0 0.9rem;
  padding-left: 1.2rem;
  line-height: 1.5;
}

.panel-note {
  margin: 0;
  font-size: 0.92rem;
}

.section {
  padding: 3.4rem 0;
}

.section-subtitle {
  max-width: 760px;
  color: var(--ink-700);
  margin-bottom: 1.2rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.step-card {
  background: linear-gradient(164deg, #ffffff, #f4faff);
  border: 1px solid rgba(10, 68, 104, 0.12);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-card);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #0a3f60;
  background: linear-gradient(120deg, #ffe0ab, #f6b568);
  margin-bottom: 0.6rem;
}

.pain-band {
  background:
    linear-gradient(100deg, rgba(4, 49, 74, 0.95) 5%, rgba(13, 95, 132, 0.84) 58%, rgba(239, 133, 85, 0.45) 100%),
    url("../../images/hang-gliding-image.jpg")
      center/cover no-repeat;
  color: #edf8ff;
}

.pain-band h2,
.pain-band p {
  color: #edf8ff;
}

.pain-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.3rem;
  align-items: center;
}

.pain-list {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
}

.pain-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow-soft);
}

.pain-photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.split-band {
  background: linear-gradient(120deg, var(--sand-200), #f6d39d 40%, #f8e9c8 100%);
}

.alt-bg {
  background: linear-gradient(180deg, #ebf5fb 0%, #f7fcff 100%);
}

.split-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.8rem;
  align-items: center;
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.1rem;
  align-items: start;
}

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

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

.cooler-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(8, 51, 81, 0.1);
}

.cooler-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 1rem;
}

.product-band {
  background: linear-gradient(180deg, #f8fcff 0%, #eaf4fb 100%);
}

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

.product-card {
  background: #ffffff;
  border: 1px solid rgba(10, 68, 104, 0.14);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 0.95rem;
}

.product-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0b4f72;
}

.product-card h3 {
  margin-bottom: 0.5rem;
}

.product-card p {
  margin: 0.22rem 0;
  color: #365064;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.feature-grid article {
  background: var(--white);
  border: 1px solid rgba(11, 79, 114, 0.15);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.access-list-wrap {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(7, 52, 78, 0.13);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.access-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.city-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.6rem 0 1rem;
}

.city-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(7, 52, 78, 0.16);
  color: #0b4f72;
  font-weight: 700;
  font-size: 0.82rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.landmark-banner {
  margin: 0 0 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(11, 79, 114, 0.16);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.landmark-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.landmark-banner figcaption {
  margin: 0;
  padding: 0.7rem 0.9rem;
  color: #3c5b70;
  font-size: 0.88rem;
  font-weight: 600;
  background: #f3f9fe;
  border-top: 1px solid rgba(11, 79, 114, 0.14);
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 260px;
  box-shadow: var(--shadow-card);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.9rem;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 34, 53, 0.9) 65%);
}

.gallery-overlay h3 {
  color: #fff;
  margin-bottom: 0.25rem;
}

.gallery-overlay p {
  color: #d9ecf9;
  margin: 0;
  font-size: 0.88rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.33);
  color: #eff8ff;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.order-step-strip {
  padding-top: 1.1rem;
  padding-bottom: 0.4rem;
}

.step-pill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.step-pill {
  margin: 0;
  background: linear-gradient(168deg, #ffffff, #f3faff);
  border: 1px solid rgba(10, 68, 104, 0.14);
  border-radius: 12px;
  padding: 0.8rem;
  display: grid;
  gap: 0.25rem;
}

.step-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
  color: #0b4f72;
  background: linear-gradient(140deg, #ffe4b8, #f7bf78);
}

.step-pill strong {
  font-size: 0.92rem;
}

.step-pill p {
  margin: 0;
  font-size: 0.8rem;
  color: #4e677a;
}

.order-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 1.2rem;
  align-items: start;
}

.order-form fieldset {
  border: 1px solid rgba(11, 79, 114, 0.18);
  border-radius: var(--radius-md);
  background: var(--white);
  margin: 0 0 1rem;
  padding: 1rem;
  border-top: 4px solid rgba(30, 124, 166, 0.28);
}

.order-form legend {
  padding: 0 0.35rem;
  font-weight: 800;
  color: var(--ocean-700);
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.93rem;
}

input,
select,
textarea,
button {
  font-family: inherit;
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(7, 52, 78, 0.25);
  border-radius: 10px;
  padding: 0.62rem 0.7rem;
  background: #fcfeff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(30, 124, 166, 0.28);
  border-color: var(--ocean-500);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
}

.delivery-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) minmax(220px, 1fr) minmax(220px, 1fr);
  gap: 0.8rem;
  align-items: end;
}

.delivery-address {
  grid-column: 1 / -1;
}

.capacity-panel {
  margin-top: 0.8rem;
  border: 1px dashed rgba(11, 79, 114, 0.38);
  border-radius: var(--radius-md);
  padding: 0.8rem;
  background: #f4fbff;
}

progress {
  width: 100%;
  height: 14px;
}

progress::-webkit-progress-bar {
  background: #d6e9f7;
  border-radius: 999px;
}

progress::-webkit-progress-value {
  background: linear-gradient(90deg, var(--ocean-500), #2eb4c5);
  border-radius: 999px;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.stock-alert {
  margin-top: 0.65rem;
  white-space: pre-line;
}

.activity-feed-wrap {
  max-height: 560px;
  overflow-y: auto;
}

.product-table,
.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.product-table th,
.product-table td,
.admin-table th,
.admin-table td {
  border-bottom: 1px solid rgba(8, 51, 81, 0.12);
  padding: 0.55rem 0.45rem;
  text-align: left;
  vertical-align: top;
}

.product-table th,
.admin-table th {
  color: var(--ocean-700);
  background: #f1f8fd;
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.55px;
}

.table-meta {
  display: block;
  color: #577187;
  font-size: 0.77rem;
  margin-top: 0.2rem;
}

.product-cell {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 210px;
}

.product-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(7, 52, 78, 0.2);
  background: #edf7ff;
  flex-shrink: 0;
}

.product-image-cell {
  min-width: 220px;
}

.product-image-cell input {
  margin-top: 0.45rem;
}

.family-variant-select {
  min-width: 220px;
}

.family-variant-price {
  font-weight: 700;
  color: var(--ocean-700);
}

.family-selected-list {
  display: grid;
  gap: 0.45rem;
  padding: 0.35rem 0 0.05rem;
}

.family-selected-item {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) 95px auto;
  gap: 0.55rem;
  align-items: center;
  border: 1px solid rgba(8, 51, 81, 0.14);
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  background: #f5fbff;
}

.family-selected-empty {
  margin: 0;
}

.qty-hidden-inputs {
  display: none;
}

.image-file-input {
  min-width: 190px;
  padding: 0.32rem 0.45rem;
  background: #f8fcff;
}

.image-file-input::file-selector-button {
  margin-right: 0.55rem;
  border: 0;
  border-radius: 8px;
  padding: 0.4rem 0.72rem;
  background: #0d6efd;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.image-file-input:hover::file-selector-button {
  background: #0b5ed7;
}

.image-file-input::-webkit-file-upload-button {
  margin-right: 0.55rem;
  border: 0;
  border-radius: 8px;
  padding: 0.4rem 0.72rem;
  background: #0d6efd;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.product-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: #4c6980;
  background: #edf7ff;
}

.checkout-summary {
  border: 2px solid rgba(11, 79, 114, 0.22);
  background: #f5fbff;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1rem;
}

.summary-total {
  font-size: 1.15rem;
  margin-top: 0.4rem;
}

#paypal-button-container {
  max-width: 360px;
}

#paypal-status {
  margin-top: 0.45rem;
}

.order-aside {
  background: linear-gradient(170deg, #0f4d6d, #073d58);
  color: #e7f6ff;
  padding: 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.sticky-aside {
  position: sticky;
  top: 88px;
}

.order-aside h2 {
  color: var(--white);
}

.order-aside ul {
  margin: 0;
  padding-left: 1rem;
  line-height: 1.65;
}

.order-aside-gallery {
  display: grid;
  gap: 0.7rem;
  margin: 0.95rem 0;
}

.mini-photo {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
}

.mini-photo img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.mini-photo figcaption {
  padding: 0.45rem 0.55rem;
  font-size: 0.78rem;
  color: #d2ecfc;
}

.mini-photo-cooler {
  border-color: rgba(118, 201, 234, 0.55);
  background: rgba(255, 255, 255, 0.14);
}

.mini-photo-cooler img {
  height: 170px;
  object-fit: contain;
  background: rgba(8, 34, 53, 0.55);
}

.mini-photo-cooler-focus {
  margin: 0.6rem 0 0.95rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.muted {
  color: #567084;
}

.small {
  font-size: 0.84rem;
}

.confirmation-card {
  background: var(--white);
  border: 1px solid rgba(8, 51, 81, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
}

.receipt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.admin-main {
  padding: 1.35rem 0 2.4rem;
}

.admin-section {
  margin-bottom: 1rem;
}

.panel {
  border: 1px solid rgba(8, 51, 81, 0.14);
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-card);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.stat-card {
  border-radius: var(--radius-md);
  padding: 0.95rem;
  background: linear-gradient(150deg, #0f4d6d, #0a3953);
  color: #e6f5ff;
  box-shadow: var(--shadow-card);
}

.stat-card h2 {
  color: var(--white);
  margin: 0.2rem 0;
}

.stat-card .label {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
  margin: 0;
  color: #aad5ed;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

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

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  background: #e7f3fb;
  border: 1px solid rgba(7, 52, 78, 0.16);
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.quick-actions {
  display: grid;
  gap: 0.55rem;
}

.plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.badge {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.73rem;
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
}

.status-good {
  color: var(--success);
}

.status-warn {
  color: #8e5900;
}

.status-bad {
  color: var(--danger);
}

.badge.status-good {
  background: #e6f7ef;
}

.badge.status-warn {
  background: #fff5df;
}

.badge.status-bad {
  background: #ffebe7;
}

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: end;
}

.compact-form {
  display: grid;
  gap: 0.35rem;
}

.filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.report-filter-panel .muted.small {
  margin: 0;
}

.report-filter-form {
  align-items: end;
  margin-bottom: 0.55rem;
}

.report-filter-form label {
  flex: 1 1 180px;
  min-width: 170px;
}

.report-filter-form .btn {
  min-width: 110px;
  white-space: nowrap;
}

.report-controls-panel h2 {
  margin-bottom: 0.55rem;
}

.report-controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
  align-items: end;
}

.report-column-picker {
  grid-column: 1 / -1;
  border: 1px solid rgba(8, 51, 81, 0.14);
  border-radius: 12px;
  padding: 0.7rem;
  margin: 0;
  background: #f8fcff;
}

.report-column-picker legend {
  font-size: 0.82rem;
  font-weight: 700;
  color: #204760;
  padding: 0 0.3rem;
  margin-bottom: 0.35rem;
}

.report-column-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.45rem 0.75rem;
}

.report-column-option {
  font-size: 0.9rem;
  font-weight: 500;
}

.report-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.report-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.report-summary-card {
  border: 1px solid rgba(8, 51, 81, 0.14);
  border-radius: 10px;
  padding: 0.7rem 0.75rem;
  background: linear-gradient(160deg, #f8fcff, #eef8ff);
}

.report-summary-card .label {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #4f7086;
}

.report-summary-card .value {
  margin: 0.18rem 0 0;
  font-size: 1.18rem;
  font-weight: 700;
  color: #0c3551;
}

.employees-page .employee-panel {
  border-width: 2px;
}

.employees-page .employee-panel-summary {
  border-color: rgba(var(--bs-info-rgb), 0.55);
}

.employees-page .employee-panel-accounts {
  border-color: rgba(var(--bs-primary-rgb), 0.45);
}

.employees-page .employee-panel-activity {
  border-color: rgba(var(--bs-warning-rgb), 0.55);
}

.employees-page .employee-panel h2 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.employees-page .employee-heading-chip {
  margin-left: 0;
  font-size: 0.74rem;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}

.employees-page .employee-status-pill,
.employees-page .employee-activity-pill,
.employees-page .employee-panel .badge {
  margin-left: 0;
}

.employees-page .employee-status-pill {
  margin-bottom: 0.35rem;
}

.employees-page .employee-actions .btn {
  width: 100%;
  min-width: 140px;
}

.employees-page .employee-row-active td {
  background: rgba(var(--bs-success-rgb), 0.03);
}

.employees-page .employee-row-inactive td {
  background: rgba(var(--bs-danger-rgb), 0.035);
}

.settings-page .settings-panel {
  border-width: 2px;
}

.settings-page .settings-panel-operations {
  border-color: rgba(var(--bs-primary-rgb), 0.5);
}

.settings-page .settings-panel-security {
  border-color: rgba(var(--bs-warning-rgb), 0.5);
}

.settings-page .settings-panel-checklist {
  border-color: rgba(var(--bs-secondary-rgb), 0.5);
}

.settings-page .settings-panel h2 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.settings-page .settings-heading-chip {
  margin-left: 0;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  font-size: 0.74rem;
}

.settings-page .settings-group {
  grid-column: 1 / -1;
  border: 1px solid rgba(8, 51, 81, 0.16);
  border-radius: 12px;
  padding: 0.75rem;
  margin: 0;
  background: #f8fcff;
}

.settings-page .settings-group-ops {
  border-color: rgba(var(--bs-primary-rgb), 0.4);
  background: linear-gradient(165deg, rgba(var(--bs-primary-rgb), 0.06), rgba(255, 255, 255, 0.95));
}

.settings-page .settings-group-payments {
  border-color: rgba(var(--bs-info-rgb), 0.4);
  background: linear-gradient(165deg, rgba(var(--bs-info-rgb), 0.06), rgba(255, 255, 255, 0.95));
}

.settings-page .settings-group legend {
  margin-bottom: 0.45rem;
  padding: 0 0.3rem;
  color: #1f455e;
  font-size: 0.85rem;
  font-weight: 700;
}

.settings-page .settings-toggle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem;
}

.settings-page .settings-toggle-card {
  border: 1px solid rgba(8, 51, 81, 0.14);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-height: 88px;
}

.settings-page .settings-toggle-card input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
}

.settings-page .settings-toggle-card .table-meta {
  margin-top: 0.18rem;
}

.settings-page .settings-payments-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 1.1fr);
  gap: 0.7rem;
  align-items: end;
}

.settings-page .settings-toggle-paypal {
  min-height: 112px;
}

.settings-page .settings-paypal-client-id {
  margin: 0;
}

.settings-page .settings-inline-note {
  margin: 0.45rem 0 0;
}

.report-bars {
  display: grid;
  gap: 0.75rem;
}

.report-bar-row {
  display: grid;
  gap: 0.35rem;
}

.report-bar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  font-size: 0.93rem;
}

.report-bar-label {
  color: #204760;
  font-weight: 700;
}

.report-bar-track {
  width: 100%;
  height: 16px;
  border-radius: 999px;
  overflow: hidden;
  background: #e2eef7;
  border: 1px solid rgba(10, 59, 90, 0.16);
}

.report-bar-fill {
  height: 100%;
  border-radius: inherit;
}

.report-bar-sales {
  background: linear-gradient(90deg, #0d6efd, #4fa7ff);
}

.report-bar-spend {
  background: linear-gradient(90deg, #f59f00, #f7c35d);
}

.report-bar-profit {
  background: linear-gradient(90deg, #198754, #2dbd82);
}

.report-bar-loss {
  background: linear-gradient(90deg, #dc3545, #f06f7a);
}

.report-pl-list {
  gap: 0;
  border-top: 1px solid rgba(8, 51, 81, 0.12);
}

.report-pl-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.6rem 0.2rem;
  border-bottom: 1px solid rgba(8, 51, 81, 0.1);
}

.report-pl-list li span {
  color: #2b4d64;
  font-weight: 700;
}

.add-product-form {
  align-items: end;
}

.inventory-editor-panel {
  padding: 0.8rem;
}

.inventory-scroll-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.inventory-scroll-controls .muted.small {
  margin: 0;
}

.inventory-scroll-buttons {
  display: inline-flex;
  gap: 0.4rem;
}

.inventory-scroll-buttons .btn {
  min-width: 40px;
  font-weight: 800;
}

.inventory-editor-panel .table-wrap {
  margin-inline: -0.2rem;
  padding-inline: 0.2rem;
  max-width: 100%;
  max-height: none;
  overflow-x: auto;
  overflow-y: visible;
  cursor: grab;
}

.inventory-editor-panel .table-wrap.dragging {
  cursor: grabbing;
}

.auto-name-locked {
  background: #f0f7fd;
  color: #315468;
}

.inventory-table td input[readonly],
.add-product-form input[readonly] {
  background: #f0f7fd;
  color: #315468;
}

.inventory-table {
  min-width: 2720px;
}

.inventory-table th,
.inventory-table td {
  padding: 0.4rem 0.28rem;
  font-size: 0.95rem;
}

.inventory-table td input,
.inventory-table td select {
  min-height: 38px;
}

.inventory-table td input[type="text"] {
  min-width: 140px;
}

.inventory-table td input[type="url"] {
  min-width: 180px;
}

.inventory-table td input[type="number"] {
  min-width: 68px;
}

.inventory-table td select {
  min-width: 95px;
}

.inventory-table td .inventory-pack-shape {
  min-width: 132px;
}

.inventory-table .product-image-cell {
  min-width: 220px;
}

.inventory-table td:first-child {
  min-width: 170px;
}

.inventory-table thead th {
  position: static;
  background: #f1f8fd;
  box-shadow: inset 0 -1px 0 rgba(8, 51, 81, 0.12);
}

.inventory-sticky-head {
  position: sticky;
  top: var(--inventory-sticky-top, 78px);
  z-index: 24;
  display: none;
  margin-inline: -0.2rem;
  padding-inline: 0.2rem;
  overflow: hidden;
  pointer-events: none;
}

.inventory-sticky-head.is-visible {
  display: block;
}

.inventory-sticky-head .inventory-sticky-clone-table {
  min-width: 2720px;
  margin: 0;
  transform: translateX(0);
  will-change: transform;
}

.inventory-inline-supplier-fields {
  margin-top: 0.45rem;
  display: grid;
  gap: 0.35rem;
}

.inventory-inline-supplier-fields[hidden] {
  display: none !important;
}

.inventory-inline-supplier-fields input {
  min-width: 180px;
}

.cooler-table {
  min-width: 2300px;
  border-collapse: separate;
  border-spacing: 0 12px;
}

.cooler-table th,
.cooler-table td {
  padding: 0.4rem 0.3rem;
  font-size: 0.95rem;
}

.cooler-table tbody td {
  background: #ffffff;
  border-top: 2px solid rgba(var(--bs-primary-rgb), 0.28);
  border-bottom: 2px solid rgba(var(--bs-primary-rgb), 0.28);
}

.cooler-table tbody tr td:first-child {
  border-left: 2px solid rgba(var(--bs-primary-rgb), 0.28);
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.cooler-table tbody tr td:last-child {
  border-right: 2px solid rgba(var(--bs-primary-rgb), 0.28);
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.cooler-table tbody tr:nth-child(4n + 1) td {
  border-color: rgba(var(--bs-primary-rgb), 0.4);
  background: rgba(var(--bs-primary-rgb), 0.04);
}

.cooler-table tbody tr:nth-child(4n + 2) td {
  border-color: rgba(var(--bs-info-rgb), 0.42);
  background: rgba(var(--bs-info-rgb), 0.04);
}

.cooler-table tbody tr:nth-child(4n + 3) td {
  border-color: rgba(var(--bs-success-rgb), 0.42);
  background: rgba(var(--bs-success-rgb), 0.04);
}

.cooler-table tbody tr:nth-child(4n) td {
  border-color: rgba(var(--bs-warning-rgb), 0.5);
  background: rgba(var(--bs-warning-rgb), 0.08);
}

.cooler-table td input,
.cooler-table td select,
.cooler-table td textarea {
  min-height: 38px;
}

.cooler-table td input[type="text"] {
  min-width: 180px;
}

.cooler-table td input[type="url"] {
  min-width: 260px;
}

.cooler-table td input[type="number"] {
  min-width: 78px;
}

.cooler-table td select {
  min-width: 120px;
}

.cooler-table td:first-child input[type="text"] {
  min-width: 220px;
}

.cooler-table .cooler-description-input {
  min-width: 280px;
  min-height: 72px;
  resize: vertical;
}

.cooler-table .cooler-image-cell {
  min-width: 320px;
}

.cooler-table .cooler-image-cell .product-thumb {
  margin-bottom: 0.4rem;
}

.cooler-table .cooler-image-cell .image-file-input {
  margin-top: 0.4rem;
}

.cooler-editor-panel .table-wrap {
  margin-inline: -0.2rem;
  padding-inline: 0.2rem;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-gutter: stable;
}

.cooler-table thead th {
  position: sticky;
  top: 0;
  z-index: 12;
  background: #f1f8fd;
  box-shadow: inset 0 -1px 0 rgba(8, 51, 81, 0.12);
}

.new-supplier-fields {
  grid-column: 1 / -1;
  border: 1px dashed rgba(11, 79, 114, 0.35);
  border-radius: 10px;
  background: #f3f9fe;
  padding: 0.85rem;
  display: grid;
  gap: 0.7rem;
}

.new-supplier-fields[hidden] {
  display: none !important;
}

.new-supplier-fields .subheading {
  margin: 0;
}

.supplier-directory-panel {
  padding: 1rem;
}

.supplier-directory-form {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: end;
}

.supplier-directory-form .supplier-notes-field {
  grid-column: span 2;
}

.supplier-directory-table {
  min-width: 1560px;
}

.supplier-directory-table th:nth-child(1),
.supplier-directory-table td:nth-child(1) {
  min-width: 210px;
}

.supplier-directory-table th:nth-child(2),
.supplier-directory-table td:nth-child(2) {
  min-width: 190px;
}

.supplier-directory-table th:nth-child(3),
.supplier-directory-table td:nth-child(3) {
  min-width: 240px;
}

.supplier-directory-table th:nth-child(4),
.supplier-directory-table td:nth-child(4) {
  min-width: 150px;
}

.supplier-directory-table th:nth-child(5),
.supplier-directory-table td:nth-child(5) {
  min-width: 260px;
}

.supplier-directory-table th:nth-child(6),
.supplier-directory-table td:nth-child(6) {
  min-width: 120px;
}

.supplier-directory-table th:nth-child(7),
.supplier-directory-table td:nth-child(7) {
  min-width: 290px;
}

.supplier-directory-table th:nth-child(8),
.supplier-directory-table td:nth-child(8) {
  min-width: 90px;
}

.supplier-directory-table th:nth-child(9),
.supplier-directory-table td:nth-child(9) {
  min-width: 110px;
}

.inventory-movements-panel .table-wrap {
  overflow-x: auto;
}

.inventory-movements-table {
  min-width: 920px;
}

.inventory-movements-table th,
.inventory-movements-table td {
  white-space: nowrap;
  vertical-align: middle;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.inventory-movements-table .movement-time {
  font-variant-numeric: tabular-nums;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  letter-spacing: 0.01em;
}

.inventory-movements-table .movement-note-cell {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.supplier-directory-table td input[type="checkbox"] {
  width: auto;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.checkbox-row input {
  width: auto;
}

.subheading {
  margin: 1rem 0 0.55rem;
}

.site-footer {
  padding: 1.3rem 0;
  background: #072d45;
  color: #badcf0;
  margin-top: 2rem;
}

.site-footer a {
  color: #e5f6ff;
  text-decoration: underline;
}

.admin-login-page {
  min-height: 100vh;
  background:
    linear-gradient(125deg, rgba(3, 39, 66, 0.94), rgba(15, 77, 109, 0.78)),
    url("../../images/wright-brothers-memorial-image.jpg") center/cover no-repeat fixed;
}

.admin-login-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.login-card {
  width: min(460px, 100%);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(11, 79, 114, 0.2);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem;
}

.login-form {
  display: grid;
  gap: 0.75rem;
}

.client-auth-page {
  background:
    linear-gradient(135deg, rgba(3, 39, 66, 0.9), rgba(30, 124, 166, 0.62)),
    url("../../images/kitty-hawk-sign.jpg")
      center/cover no-repeat fixed;
}

.client-auth-main {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  padding: 1.2rem 0;
}

.client-auth-card {
  width: min(560px, calc(100% - 2rem));
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(11, 79, 114, 0.25);
  box-shadow: var(--shadow-soft);
  padding: 1.3rem;
}

.client-auth-card.wide-card {
  width: min(920px, calc(100% - 2rem));
}

.client-auth-card h1 {
  margin-bottom: 0.6rem;
}

.register-card {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(244, 251, 255, 0.94)),
    radial-gradient(circle at 10% 8%, rgba(30, 124, 166, 0.12), transparent 45%);
}

.register-hero {
  border-bottom: 1px solid rgba(11, 79, 114, 0.18);
  padding-bottom: 0.7rem;
  margin-bottom: 1rem;
}

.register-hero .eyebrow {
  color: var(--ocean-700);
}

.register-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.register-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 1rem;
  align-items: start;
}

.register-form {
  display: grid;
  gap: 0.85rem;
}

.register-section-title {
  font-size: 1.05rem;
  margin: 0.3rem 0 0.15rem;
  color: #0b4f72;
}

.register-submit {
  justify-self: start;
}

.register-aside {
  border-radius: 12px;
  border: 1px solid rgba(11, 79, 114, 0.16);
  background: linear-gradient(165deg, #0d4f71, #0a3c57);
  color: #def2ff;
  padding: 0.95rem;
  box-shadow: var(--shadow-card);
}

.register-aside h2 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.register-aside p {
  margin-top: 0;
  color: #d3ebf9;
}

.pack-check-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.6rem;
  font-size: 0.9rem;
  color: #0b4f72;
}

.pack-check-inline input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: #0f8f45;
}

.scanner-ops-box {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(11, 79, 114, 0.18);
}

.scanner-ops-box h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: #0b4f72;
}

.scanner-ops-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.scanner-form {
  display: grid;
  gap: 0.35rem;
  align-items: end;
}

.cooler-label-print {
  display: none;
}

.cooler-label-card {
  width: min(560px, calc(100% - 2rem));
  margin: 1rem auto;
  padding: 1rem 1.15rem;
  border: 2px solid #0f2940;
  border-radius: 12px;
  background: #fff;
  color: #091a28;
}

.cooler-label-card h1 {
  margin: 0 0 0.45rem;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.cooler-label-card h2 {
  margin: 0.7rem 0 0.35rem;
  font-size: 1.1rem;
}

.cooler-label-card p {
  margin: 0.2rem 0;
}

.cooler-label-card ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

.cooler-label-card li {
  margin: 0.2rem 0;
}

.cooler-label-card li span {
  display: inline-block;
  margin-right: 0.45rem;
}

@media print {
  body.print-label-only .admin-header,
  body.print-label-only .admin-main {
    display: none !important;
  }

  body.print-label-only #cooler-label-print {
    display: block !important;
  }

  body.print-label-only {
    background: #fff;
  }

  body.print-label-only .cooler-label-card {
    width: 100%;
    max-width: none;
    margin: 0;
    border-color: #000;
    border-radius: 0;
    box-shadow: none;
  }
}

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

  .sticky-aside {
    position: static;
  }
}

@media (max-width: 960px) {
  .admin-page .container {
    width: calc(100% - 1rem);
  }

  .inventory-scroll-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-grid,
  .order-layout,
  .split-grid,
  .coverage-grid,
  .pain-grid,
  .register-layout,
  .scanner-ops-grid,
  .two-col,
  .three-col {
    grid-template-columns: 1fr;
  }

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

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

  .report-filter-form label,
  .report-filter-form .btn {
    flex: 1 1 100%;
  }

  .supplier-directory-form .supplier-notes-field {
    grid-column: 1 / -1;
  }

  .settings-page .settings-payments-grid {
    grid-template-columns: 1fr;
  }

  .family-selected-item {
    grid-template-columns: 1fr;
  }

  .sticky-aside {
    position: static;
  }

  .admin-user {
    display: none;
  }
}

@media (max-width: 1100px) {
  .nav-wrap,
  .admin-nav-wrap {
    min-height: auto;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 0.55rem 0;
    gap: 0.5rem;
  }

  .site-nav,
  .admin-nav {
    width: 100%;
    order: 3;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .site-nav a,
  .admin-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 1.6rem;
  }

  .admin-header .brand {
    font-size: 1.35rem;
  }

  .site-nav,
  .admin-nav {
    gap: 0.35rem;
  }

  .site-nav a,
  .admin-nav a {
    padding: 0.35rem 0.5rem;
    font-size: 0.8rem;
  }

  .section {
    padding: 2.3rem 0;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .step-pill-grid {
    grid-template-columns: 1fr;
  }

  .delivery-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats,
  .city-chip-row,
  .trust-row {
    gap: 0.4rem;
  }

  input,
  select,
  textarea,
  button {
    font-size: 16px;
  }
}
