:root {
  --bg: #f4efe7;
  --surface: #fffaf4;
  --surface-strong: #f1e5d6;
  --text: #1f1a17;
  --muted: #63574c;
  --line: #d7c6b1;
  --brand: #ab3b22;
  --brand-dark: #7e2917;
  --accent: #264653;
  --shadow: 0 18px 40px rgba(38, 70, 83, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  min-height: 100vh;
}

input,
textarea,
select,
button {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  background: #ffffff;
}

.container {
  width: min(1120px, calc(100% - 6rem));
  margin: 0 auto;
}

.narrow {
  width: min(760px, calc(100% - 2rem));
}

.section {
  padding: 4.5rem 0;
}

.page-section {
  padding-top: 3rem;
}

.section-contrast {
  background: rgba(255, 250, 244, 0.78);
  border-top: 1px solid rgba(215, 198, 177, 0.75);
  border-bottom: 1px solid rgba(215, 198, 177, 0.75);
}

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

.hero-grid,
.split-panel,
.product-layout,
.cart-layout,
.checkout-layout {
  display: grid;
  gap: 1.5rem;
}

.hero-grid {
  grid-template-columns: 1.3fr 0.9fr;
  align-items: center;
}

.hero h1,
.page-section h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 64ch;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--brand);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  background: var(--brand);
  box-shadow: var(--shadow);
  color: #fff8f2;
}

.button-primary:hover {
  background: var(--brand-dark);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 250, 244, 0.7);
}

.button-dark {
  background: #0b0b0b;
  color: #fff;
  border-color: #0b0b0b;
  box-shadow: none;
}

.button-dark:hover {
  background: #222;
}

.full-width-button {
  width: 100%;
}

.container-wide {
  width: min(1440px, calc(100% - 6rem));
}

.home-hero {
  padding: 1.25rem 0 1.5rem;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.home-feature {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 28px;
  padding: 2rem;
  background: linear-gradient(180deg, #fafafa 0%, #f1f1f1 100%);
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.08);
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.home-feature-explore {
  display: grid;
  align-content: end;
}

.home-feature-explore::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 14%, rgba(0, 0, 0, 0.08), transparent 18%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.2));
  pointer-events: none;
}

.home-feature-explore > * {
  position: relative;
  z-index: 1;
}

.home-feature h1,
.home-feature h2 {
  margin: 0;
  color: var(--text);
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.home-feature h1 {
  max-width: 9ch;
  font-size: clamp(2.5rem, 4vw, 4.2rem);
}

.home-feature h2 {
  max-width: 12ch;
  font-size: clamp(2.1rem, 3.3vw, 3.5rem);
}

.hero-intro {
  margin: 1rem 0 0;
  max-width: 44ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.quick-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.5rem;
  max-width: 38rem;
}

.quick-chip {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-height: 74px;
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(17, 17, 17, 0.07);
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.05);
}

.quick-chip span {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.15;
}

.quick-chip small {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.home-feature-packaging {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(280px, 1fr);
  gap: 1rem;
  align-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.9), transparent 22%),
    linear-gradient(180deg, #f3f3f3 0%, #ececec 100%);
}

.hero-visual {
  position: relative;
  min-height: 100%;
  border-radius: 22px;
}

.hero-visual-packaging {
  height: 100%;
  min-height: 320px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.2)),
    radial-gradient(circle at 30% 30%, rgba(38, 38, 38, 0.08), transparent 22%);
}

.box {
  position: absolute;
  display: block;
  box-shadow: 0 26px 40px rgba(17, 17, 17, 0.16);
}

.box::before,
.box::after {
  content: "";
  position: absolute;
  inset: 0;
}

.box-pizza {
  left: 8%;
  bottom: 12%;
  width: 48%;
  aspect-ratio: 1.2;
  transform: rotate(-8deg);
  background:
    linear-gradient(145deg, #f1d39b 0 30%, #d8a35f 30% 100%),
    #e6b96b;
  border-radius: 12px;
}

.box-pizza::before {
  inset: 10%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.35), transparent 45%),
    linear-gradient(180deg, #c0392b 0 14%, transparent 14% 22%, #f4e2a7 22% 100%);
  border-radius: 8px;
}

.box-mailer {
  left: 37%;
  top: 12%;
  width: 40%;
  aspect-ratio: 1.15;
  transform: rotate(12deg);
  background: linear-gradient(180deg, #e9d8be, #b98f5b);
  border-radius: 14px;
}

.box-mailer::before {
  inset: 12%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), transparent 35%),
    linear-gradient(180deg, #f6e9d7 0 22%, #d9b88d 22% 100%);
  border-radius: 10px;
}

.box-shipping {
  right: 4%;
  top: 22%;
  width: 28%;
  aspect-ratio: 0.84;
  transform: rotate(4deg);
  background: linear-gradient(180deg, #d8d1c6, #a79b8b);
  border-radius: 10px;
}

.box-shipping::before {
  inset: 12%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.65), transparent 32%),
    linear-gradient(135deg, #f6f1e7, #d8c3a4);
  border-radius: 6px;
}

.home-feature-copy {
  position: relative;
  z-index: 1;
  padding: 1rem 0.25rem 1rem 0;
}

.button-row-tight {
  margin-top: 1.25rem;
  gap: 0.7rem;
}

.button-row-tight .button {
  border-radius: 14px;
  padding-inline: 1rem;
}

.section-heading-home {
  margin-bottom: 1.25rem;
}

.section-heading-home h2 {
  max-width: 14ch;
}

.home-packaging {
  padding-top: 0.25rem;
}

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

.packaging-card {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.12);
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.06);
}

.packaging-card strong {
  font-size: 1.2rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.packaging-card small {
  color: var(--muted);
  line-height: 1.4;
  min-height: 2.5em;
}

.packaging-art {
  position: relative;
  min-height: 310px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f8f8f8, #ececec);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.packaging-art::before,
.packaging-art::after {
  content: "";
  position: absolute;
}

.packaging-art-pizza::before {
  left: 18%;
  bottom: 16%;
  width: 46%;
  aspect-ratio: 1;
  transform: rotate(-18deg);
  background: linear-gradient(145deg, #ffffff 0 34%, #efefef 34% 100%);
  border-radius: 18px;
  box-shadow: 0 28px 36px rgba(17, 17, 17, 0.09);
}

.packaging-art-pizza::after {
  left: 34%;
  top: 20%;
  width: 28%;
  height: 30%;
  border-radius: 10px;
  background: linear-gradient(135deg, #29a8db 0 48%, #fff 48% 100%);
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.08);
}

.packaging-art-mailer::before {
  left: 36%;
  top: 10%;
  width: 28%;
  height: 78%;
  background: linear-gradient(180deg, #22314f, #111b2b 72%);
  clip-path: polygon(26% 0, 74% 0, 84% 16%, 100% 36%, 84% 52%, 80% 100%, 20% 100%, 16% 52%, 0 36%, 16% 16%);
}

.packaging-art-mailer::after {
  left: 43%;
  top: 42%;
  width: 14%;
  height: 16%;
  border-radius: 50%;
  background: radial-gradient(circle, #d8bc4e 0 36%, #5b5236 37% 100%);
  box-shadow: 0 22px 0 rgba(216, 188, 78, 0.28);
}

.packaging-art-shipping::before {
  left: 36%;
  top: 10%;
  width: 28%;
  height: 78%;
  background: linear-gradient(180deg, #1f3f8c, #102a63 80%);
  clip-path: polygon(26% 0, 74% 0, 84% 16%, 100% 36%, 84% 52%, 80% 100%, 20% 100%, 16% 52%, 0 36%, 16% 16%);
}

.packaging-art-shipping::after {
  left: 42%;
  top: 36%;
  width: 16%;
  height: 24%;
  border-radius: 999px;
  background: linear-gradient(180deg, #f3c547, #b57a00);
}

.packaging-art-retail::before {
  left: 36%;
  top: 10%;
  width: 28%;
  height: 78%;
  background: linear-gradient(180deg, #5138d4, #2b20a6 78%);
  clip-path: polygon(26% 0, 74% 0, 84% 16%, 100% 36%, 84% 52%, 80% 100%, 20% 100%, 16% 52%, 0 36%, 16% 16%);
}

.packaging-art-retail::after {
  left: 42%;
  top: 36%;
  width: 16%;
  height: 16%;
  border-radius: 50%;
  background: radial-gradient(circle, #72f0bf 0 34%, #272727 35% 100%);
}

.category-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2rem) / 3);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x proximity;
}

.category-rail::-webkit-scrollbar {
  height: 10px;
}

.category-rail::-webkit-scrollbar-thumb {
  background: rgba(17, 17, 17, 0.18);
  border-radius: 999px;
}

.category-tile {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  min-height: 316px;
  width: 100%;
  min-width: 0;
  padding: 0.95rem 1rem 1rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.11);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.05);
  scroll-snap-align: start;
}

.category-tile strong {
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.category-tile small {
  color: var(--muted);
  line-height: 1.4;
}

.category-image-frame {
  position: relative;
  display: block;
  min-height: 220px;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 44%, #f7f7f7 0 48%, #efefef 70%, #ededed 100%);
  overflow: hidden;
}

.category-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1.02);
}

.hero-card,
.panel,
.product-card,
.category-card,
.testimonial-card,
.info-card,
.metric-card,
.spec-card {
  background: var(--surface);
  border: 1px solid rgba(215, 198, 177, 0.85);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1rem;
}

.hero-metric {
  padding: 1.1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(241, 229, 214, 0.65), rgba(255, 250, 244, 0.95));
}

.hero-metric + .hero-metric {
  margin-top: 0.9rem;
}

.hero-metric span,
.spec-card span,
.metric-card span,
.testimonial-card span,
.table-head span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.section-heading {
  margin-bottom: 1.75rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.section-heading p {
  max-width: 70ch;
  color: var(--muted);
}

.category-grid,
.product-grid,
.testimonial-grid,
.metric-grid {
  display: grid;
  gap: 1rem;
}

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

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

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

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.category-card,
.product-card,
.testimonial-card,
.info-card,
.metric-card,
.spec-card,
.panel {
  padding: 1.25rem;
}

.category-label {
  margin: 0;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 700;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-thumbnail,
.product-placeholder {
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 220px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(38, 70, 83, 0.95), rgba(171, 59, 34, 0.78)),
    var(--accent);
  color: #fff9f4;
  text-align: center;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.product-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.product-meta p,
.product-card p,
.category-card p,
.info-card p,
.testimonial-card p,
.cart-item p {
  color: var(--muted);
  line-height: 1.6;
}

.product-layout {
  grid-template-columns: 1fr 1.1fr;
  align-items: start;
}

.product-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.4rem 0;
}

.price-row {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  margin: 1rem 0;
}

.price-row strong {
  font-size: 1.8rem;
}

.feature-list {
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.8;
}

.split-panel {
  grid-template-columns: 1fr 1fr;
}

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

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

.form-grid h1,
.form-grid .eyebrow,
.full-width {
  grid-column: 1 / -1;
}

.form-grid label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  background: #fffdf9;
}

.upload-dropzone {
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: rgba(241, 229, 214, 0.3);
}

.upload-dropzone span {
  color: var(--muted);
  font-weight: 400;
}

.cart-layout,
.checkout-layout {
  grid-template-columns: 1.3fr 0.8fr;
  align-items: start;
}

.cart-list,
.table {
  display: grid;
  gap: 0.75rem;
}

.cart-item,
.table-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(215, 198, 177, 0.75);
}

.table-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.table-head {
  padding-top: 0;
  font-weight: 700;
}

.order-summary {
  position: sticky;
  top: 1.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(215, 198, 177, 0.75);
}

.summary-total {
  font-size: 1.1rem;
}

.admin-page {
  background: linear-gradient(180deg, #f7faff 0%, #eff5ff 100%);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  padding: 0 0 1.5rem;
}

.admin-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: calc(100vh - 160px);
  gap: 0;
  align-items: stretch;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(30, 58, 138, 0.22);
  box-shadow: 0 20px 60px rgba(30, 58, 138, 0.12);
}

.admin-sidebar {
  position: sticky;
  top: 72px;
  display: grid;
  align-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  border-right: 1px solid rgba(30, 58, 138, 0.2);
}

.admin-sidebar-brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0 0.25rem 1rem;
  border-bottom: 1px solid rgba(30, 58, 138, 0.2);
}

.admin-sidebar-brand strong {
  display: block;
  color: #111827;
  font-size: 1rem;
  font-weight: 800;
}

.admin-sidebar-brand span {
  display: block;
  color: #93a1b5;
  font-size: 0.82rem;
}

.admin-sidebar-brandmark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgb(30, 58, 138);
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.03em;
  box-shadow: 0 12px 24px rgba(30, 58, 138, 0.28);
}

.admin-sidebar-section {
  display: grid;
  gap: 0.6rem;
}

.admin-sidebar-title {
  margin: 0;
  padding: 0 0.85rem;
  color: #7690c9;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-sidebar-links {
  display: grid;
  gap: 0.45rem;
}

.admin-sidebar-link {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  color: #5b6b84;
  font-weight: 600;
}

.admin-sidebar-link:hover {
  background: rgba(30, 58, 138, 0.11);
}

.admin-sidebar-link.is-active {
  background: rgb(30, 58, 138);
  color: #fff;
  box-shadow: 0 10px 24px rgba(30, 58, 138, 0.28);
}

.admin-sidebar-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 2px solid currentColor;
  opacity: 0.95;
  position: relative;
}

.admin-sidebar-icon::before,
.admin-sidebar-icon::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  opacity: 0.55;
}

.admin-sidebar-count {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: rgba(30, 58, 138, 0.18);
  color: rgb(30, 58, 138);
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-sidebar-link.is-active .admin-sidebar-count {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.admin-main {
  display: grid;
  gap: 1rem;
  padding: 1.7rem 1.6rem 1.6rem;
}

.admin-page-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.15rem;
}

.admin-page-kicker {
  margin: 0 0 0.45rem;
  color: rgb(30, 58, 138);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-page-header h1 {
  margin: 0;
  color: #111827;
  font-size: clamp(2.4rem, 4.1vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.admin-page-header h1 span {
  color: rgb(30, 58, 138);
}

.admin-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0 0.35rem;
  color: #74829a;
  font-size: 0.95rem;
  font-weight: 600;
}

.admin-breadcrumb a {
  color: #5b6f95;
}

.admin-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

.admin-panel-actions,
.admin-actions,
.admin-form-actions,
.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-actions {
  padding-top: 0.1rem;
}

.admin-button-outline,
.admin-button-solid,
.admin-button-danger {
  border-radius: 999px;
  min-height: 46px;
  padding-inline: 1.2rem;
  font-weight: 800;
}

.admin-button-outline {
  background: #fff;
  border-color: rgba(30, 58, 138, 0.45);
  color: rgb(30, 58, 138);
}

.admin-button-outline:hover {
  background: rgba(30, 58, 138, 0.12);
}

.admin-button-solid {
  background: rgb(30, 58, 138);
  border-color: rgb(30, 58, 138);
  color: #fff;
  box-shadow: 0 12px 24px rgba(30, 58, 138, 0.28);
}

.admin-button-solid:hover {
  background: rgb(17, 35, 82);
}

.admin-button-danger {
  background: #fff;
  border-color: rgba(255, 119, 119, 0.42);
  color: #f05454;
}

.admin-button-danger:hover {
  background: rgba(240, 84, 84, 0.06);
}

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

.panel-heading h2 {
  margin: 0;
  color: #111827;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 800;
}

.panel-heading span {
  color: #91a1b9;
  font-size: 0.95rem;
  font-weight: 600;
}

.admin-list-heading {
  margin-bottom: 0;
}

.admin-form {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.admin-form label {
  display: grid;
  gap: 0.45rem;
  color: #44536b;
  font-weight: 700;
}

.admin-field-help {
  color: #8a98ae;
  font-size: 0.92rem;
  font-weight: 500;
}

.admin-image-preview {
  display: block;
  overflow: hidden;
  min-height: 180px;
  margin-top: 0.4rem;
  border-radius: 18px;
  border: 1px solid rgba(30, 58, 138, 0.2);
  background: rgba(30, 58, 138, 0.06);
}

.admin-image-preview .product-image {
  min-height: 180px;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  border: 1px solid rgba(30, 58, 138, 0.22);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  background: #fff;
  color: #111827;
  outline: none;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
  border-color: rgba(30, 58, 138, 0.62);
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.16);
}

.admin-form textarea {
  resize: vertical;
  min-height: 120px;
}

.button-inline {
  min-height: 40px;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
}

.admin-banner {
  margin-bottom: 0.25rem;
  border-radius: 18px;
  padding: 1rem 1.1rem;
  font-weight: 700;
}

.admin-banner-success {
  background: rgba(30, 58, 138, 0.1);
  border-color: rgba(30, 58, 138, 0.26);
  color: rgb(30, 58, 138);
}

.admin-banner-error {
  background: rgba(240, 84, 84, 0.08);
  border-color: rgba(240, 84, 84, 0.16);
  color: #cc2d2d;
}

.admin-table {
  display: grid;
  gap: 0;
}

.admin-table .table-row {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr) minmax(0, 0.5fr) minmax(0, 0.72fr) minmax(0, 0.7fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 1rem;
}

.admin-table-head {
  font-size: 0.78rem;
  color: rgb(30, 58, 138);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(30, 58, 138, 0.1);
}

.admin-table-row {
  min-height: 78px;
  border-bottom: 1px solid rgba(30, 58, 138, 0.16);
}

.admin-product-name {
  display: grid;
  gap: 0.2rem;
}

.admin-product-name strong {
  color: #111827;
  font-size: 1.02rem;
}

.admin-product-name small {
  color: #97a6be;
  overflow-wrap: anywhere;
  font-size: 0.88rem;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(30, 58, 138, 0.3);
  background: rgba(30, 58, 138, 0.08);
  color: rgb(30, 58, 138);
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-price {
  color: #111827;
  font-size: 1.05rem;
  font-weight: 800;
}

.admin-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
}

.admin-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.admin-status-success {
  color: #2c8f4d;
}

.admin-status-success .admin-status-dot {
  background: #32c15b;
}

.admin-status-warning {
  color: #c77b12;
}

.admin-status-warning .admin-status-dot {
  background: #f4a020;
}

.admin-status-danger {
  color: #c94c4c;
}

.admin-status-danger .admin-status-dot {
  background: #f05252;
}

.admin-updated {
  color: #97a6be;
  font-weight: 600;
}

.admin-row-actions {
  justify-content: flex-start;
}

.admin-empty {
  padding: 1.1rem 0;
  color: #97a6be;
}

.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(11, 20, 48, 0.36);
}

.admin-modal {
  width: min(760px, 100%);
  max-height: min(90vh, 900px);
  overflow: auto;
  background: #ffffff;
  border-color: rgba(30, 58, 138, 0.22);
  box-shadow: 0 28px 70px rgba(13, 42, 124, 0.22);
}

.admin-shell .panel,
.admin-shell .metric-card,
.admin-shell .admin-form,
.admin-shell .admin-list-panel {
  background: #ffffff;
  border-color: rgba(30, 58, 138, 0.18);
}

.admin-shell .metric-card,
.admin-shell .admin-list-panel {
  border-top: 4px solid rgb(30, 58, 138);
}

.admin-shell .metric-card {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.admin-shell .metric-card span {
  color: #98a8c4;
  font-size: 0.9rem;
  font-weight: 700;
}

.admin-shell .metric-card strong {
  color: #111827;
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
}

.admin-shell .metric-card strong,
.admin-shell .panel-heading h2,
.admin-shell .admin-table-head,
.admin-shell .admin-product-name strong {
  color: #111827;
}

.admin-shell .button-dark {
  background: rgb(30, 58, 138);
  border-color: rgb(30, 58, 138);
}

.admin-shell .button-dark:hover {
  background: rgb(17, 35, 82);
}

.centered {
  text-align: center;
}

.site-header,
.site-footer {
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(30, 58, 138, 0.18);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.96);
}

.site-header .container {
  width: 100%;
  margin: 0;
  padding: 0 3rem;
}

.header-inner,
.nav-links,
.footer-inner {
  display: flex;
  align-items: center;
}

.header-inner,
.footer-inner {
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgb(30, 58, 138);
  color: #ffffff;
}

.brand-copy {
  display: grid;
}

.brand-copy strong {
  letter-spacing: -0.03em;
  color: #111827;
  font-size: 1.02rem;
}

.brand-copy span {
  color: rgb(30, 58, 138);
}

.footer-copy p,
.footer-copy small {
  color: #91a1b9;
}

.nav-links {
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: #6d7c93;
  font-weight: 700;
}

.nav-links a:first-child {
  color: rgb(30, 58, 138);
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(30, 58, 138, 0.18);
}

.footer-copy p,
.footer-copy small {
  margin: 0;
}

/* ── Business-card order 2-col layout ── */
.bc-order-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding-top: 2.5rem;
  align-items: start;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-panel,
  .product-layout,
  .cart-layout,
  .checkout-layout,
  .category-grid,
  .product-grid,
  .testimonial-grid,
  .metric-grid,
  .home-hero-grid,
  .bc-order-layout {
    grid-template-columns: 1fr;
  }

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

  .nav-links,
  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-grid,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .admin-header,
  .admin-page-header,
  .admin-board,
  .admin-shell {
    flex-direction: column;
  }

  .admin-shell,
  .admin-board {
    grid-template-columns: 1fr;
  }

  .admin-sidebar,
  .admin-editor-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero h1,
  .page-section h1 {
    font-size: 2.5rem;
  }

  .table-row {
    grid-template-columns: 1fr;
  }

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

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

  .container,
  .container-wide {
    width: calc(100% - 2rem);
  }
}
