:root {
  --ink: #16181d;
  --muted: #667085;
  --paper: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #f0f3f8;
  --line: #e3e7ee;
  --red: #d71920;
  --red-dark: #a80f15;
  --blue: #133b63;
  --blue-dark: #0c2947;
  --gold: #ffbe3d;
  --green: #13795b;
  --shadow: 0 22px 60px rgba(19, 59, 99, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--red));
  border-radius: 8px;
  font-size: 13px;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.btn,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
}

.btn-primary,
.header-cta {
  color: #fff;
  background: var(--red);
  box-shadow: 0 14px 30px rgba(215, 25, 32, 0.24);
}

.btn-primary:hover,
.header-cta:hover {
  background: var(--red-dark);
}

.btn-secondary {
  color: var(--blue);
  background: #fff;
  border-color: #cdd6e3;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  padding: clamp(54px, 7vw, 96px) clamp(16px, 5vw, 72px);
  background:
    radial-gradient(circle at 92% 12%, rgba(215, 25, 32, 0.16), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #eef3f8 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(42px, 6.4vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 21px;
  line-height: 1.18;
}

.hero-text {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-badges span {
  padding: 9px 12px;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.hero-showcase {
  display: grid;
  align-items: center;
}

.hero-product-card {
  position: relative;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 330px;
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-product-image {
  width: min(210px, 100%);
  height: 270px;
  object-fit: contain;
  object-position: center;
  justify-self: center;
  filter: drop-shadow(0 18px 24px rgba(16, 31, 51, 0.14));
}

.discount-pill,
.discount-badge,
.stock-badge,
.status-badge {
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  font-weight: 950;
}

.discount-pill {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 9px 12px;
  font-size: 14px;
}

.mini-label {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.price-row,
.price-stack {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.old-price {
  color: #8992a1;
  font-size: 18px;
  font-weight: 800;
  text-decoration-line: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--red);
}

.new-price {
  color: var(--red);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
}

.pending-price {
  color: var(--blue);
  font-size: 24px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.trust-strip span {
  padding: 18px;
  background: #fff;
  color: var(--blue);
  font-weight: 900;
  text-align: center;
}

section:not(.hero):not(.trust-strip) {
  padding: 76px clamp(16px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.section-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.catalog-heading {
  max-width: 940px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(19, 59, 99, 0.07);
}

.filter-head,
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.filter-head h3 {
  margin: 0;
}

.link-button {
  padding: 0;
  color: var(--red);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.price-filter {
  display: grid;
  gap: 8px;
}

.price-filter > span {
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 900;
}

.price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

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

.results-bar {
  min-height: 52px;
  padding: 14px 16px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.results-bar strong {
  color: var(--blue-dark);
}

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

.product-card,
.benefit-grid article,
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-card {
  display: grid;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(19, 59, 99, 0.08);
}

.product-card.featured {
  border-color: rgba(215, 25, 32, 0.34);
  box-shadow: var(--shadow);
}

.product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 0;
}

.brand-chip {
  color: var(--blue);
  background: #eef3f8;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 900;
}

.discount-badge {
  padding: 7px 10px;
  font-size: 13px;
}

.stock-badge {
  padding: 7px 10px;
  color: var(--blue);
  background: #fff4d8;
  border: 1px solid #f4d184;
  font-size: 13px;
}

.product-visual {
  display: grid;
  min-height: 270px;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 60%, rgba(215, 25, 32, 0.13), transparent 38%),
    var(--surface-2);
}

.product-visual img {
  display: block;
  width: 100%;
  max-width: 230px;
  height: 235px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 16px 22px rgba(16, 31, 51, 0.13));
  transition: transform 180ms ease;
}

.product-card:hover .product-visual img {
  transform: translateY(-4px);
}

.image-fallback {
  display: grid;
  width: min(230px, 100%);
  min-height: 220px;
  place-items: center;
  padding: 18px;
  color: var(--blue);
  background: #fff;
  border: 1px dashed #cdd6e3;
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
}

.product-content {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 22px;
}

.product-content p {
  margin: 0;
  color: var(--muted);
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.product-meta span {
  padding: 6px 8px;
  color: var(--blue);
  background: #eef3f8;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.commerce-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sku-badge {
  padding: 7px 10px;
  color: var(--blue);
  background: #fff;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 950;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.favorite-button.is-active {
  color: var(--red);
  border-color: rgba(215, 25, 32, 0.36);
  background: #fff4f4;
}

.product-content .btn {
  margin-top: 4px;
  width: 100%;
}

.product-card.is-hidden {
  display: none;
}

.empty-results {
  padding: 24px;
  color: var(--blue);
  background: #fff;
  border: 1px dashed #cdd6e3;
  border-radius: 8px;
  font-weight: 900;
}

.benefits {
  background: #101f33;
  color: #fff;
}

.benefits h2,
.benefits h3 {
  color: #fff;
}

.benefits .eyebrow {
  color: var(--gold);
}

.benefit-grid article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.benefit-grid p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.faq {
  background: #fff;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--blue-dark);
  font-weight: 950;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.order-page {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  min-height: calc(100vh - 68px);
  background:
    radial-gradient(circle at 12% 16%, rgba(215, 25, 32, 0.12), transparent 30%),
    linear-gradient(135deg, #fff 0%, #eef3f8 100%);
}

.order-intro {
  position: sticky;
  top: 96px;
}

.order-intro p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 19px;
}

.order-form {
  display: grid;
  gap: 22px;
  padding: clamp(18px, 3vw, 30px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.selected-product {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.selected-product img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(16, 31, 51, 0.12));
}

.selected-product h2 {
  margin-top: 10px;
  font-size: clamp(22px, 3vw, 30px);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cdd6e3;
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(215, 25, 32, 0.16);
  border-color: var(--red);
}

.full-field {
  grid-column: 1 / -1;
}

.order-note {
  padding: 14px 16px;
  color: var(--blue);
  background: #eef3f8;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
}

.submit-order {
  width: 100%;
  min-height: 54px;
}

.single-message {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.admin-login {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background:
    radial-gradient(circle at 15% 18%, rgba(215, 25, 32, 0.12), transparent 30%),
    linear-gradient(135deg, #fff 0%, #eef3f8 100%);
}

.admin-login-card {
  display: grid;
  gap: 20px;
  width: min(460px, 100%);
  padding: clamp(22px, 5vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-login-card h1 {
  font-size: clamp(34px, 5vw, 48px);
}

.form-alert {
  padding: 12px 14px;
  color: var(--red-dark);
  background: #fff1f1;
  border: 1px solid #f4bbbb;
  border-radius: 8px;
  font-weight: 900;
}

.admin-page {
  background: var(--paper);
}

.admin-page .section-heading {
  max-width: 980px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.admin-stats article {
  display: grid;
  gap: 6px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(19, 59, 99, 0.06);
}

.admin-stats span {
  color: var(--muted);
  font-weight: 800;
}

.admin-stats strong {
  color: var(--blue-dark);
  font-size: 30px;
}

.orders-board {
  display: grid;
  gap: 16px;
}

.order-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(19, 59, 99, 0.06);
}

.order-card-main,
.status-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.order-card h2 {
  margin-top: 10px;
  font-size: clamp(22px, 3vw, 32px);
}

.order-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.status-badge {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  font-size: 13px;
}

.order-price {
  display: grid;
  gap: 4px;
  justify-items: end;
  text-align: right;
}

.order-price span {
  color: var(--muted);
  font-weight: 900;
}

.order-price strong {
  color: var(--red);
  font-size: 28px;
}

.order-details {
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.status-form {
  grid-template-columns: minmax(220px, 320px) auto;
  justify-content: end;
}

.floating-order {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(215, 25, 32, 0.24);
  font-weight: 950;
}

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

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

  .filter-panel {
    position: static;
  }

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

  .hero-showcase {
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  .main-nav {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-product-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .discount-pill {
    top: 14px;
    right: 14px;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }

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

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-topline {
    grid-column: 1 / -1;
  }

  .product-visual {
    min-height: 230px;
    padding: 16px;
  }

  .product-content {
    padding: 16px;
  }

  .product-visual img {
    max-width: 150px;
    height: 180px;
  }

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

  .order-intro {
    position: static;
  }
}

@media (max-width: 540px) {
  .site-header {
    padding-inline: 12px;
  }

  .brand {
    font-size: 16px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .header-cta {
    min-height: 40px;
    padding-inline: 12px;
  }

  h1 {
    font-size: 39px;
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-actions .btn,
  .hero-badges span {
    width: 100%;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

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

  .filter-head,
  .results-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-inputs {
    grid-template-columns: 1fr;
  }

  .product-visual {
    min-height: 230px;
  }

  .product-visual img {
    max-width: 210px;
    height: 210px;
  }

  .price-stack {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .new-price {
    font-size: 36px;
  }

  .selected-product,
  .form-grid,
  .admin-stats,
  .order-card-main,
  .status-form {
    grid-template-columns: 1fr;
  }

  .selected-product {
    text-align: center;
  }

  .selected-product img {
    max-width: 180px;
    justify-self: center;
  }

  .order-price {
    justify-items: start;
    text-align: left;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 14px;
  color: var(--blue);
  background: #fff;
  border: 1px solid #cdd6e3;
  border-radius: 8px;
  font-weight: 950;
}

.cart-link span {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-size: 12px;
}

.commerce-hero {
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.78fr);
  min-height: 620px;
  align-items: center;
  padding-block: clamp(36px, 4.8vw, 66px);
}

.commerce-hero h1 {
  font-size: clamp(42px, 5.2vw, 68px);
}

.hero-packshot {
  width: min(360px, 100%);
  max-height: 380px;
  object-fit: contain;
  justify-self: center;
  filter: drop-shadow(0 26px 38px rgba(16, 31, 51, 0.18));
}

.hero-price-panel {
  display: grid;
  gap: 8px;
  width: min(360px, 100%);
  margin: 12px auto 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(19, 59, 99, 0.12);
}

.hero-price-panel .new-price {
  font-size: 36px;
}

.hero-price-panel strong {
  color: var(--blue-dark);
  font-size: 18px;
}

.category-strip {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  background: #fff;
  border-block: 1px solid var(--line);
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-chips a {
  padding: 10px 13px;
  color: var(--blue);
  background: #eef3f8;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
}

.delivery-band {
  background: #fff;
}

.delivery-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.delivery-points article {
  display: grid;
  gap: 6px;
  padding: 22px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.delivery-points strong {
  color: var(--blue-dark);
  font-size: 18px;
}

.delivery-points span {
  color: var(--muted);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px clamp(16px, 5vw, 72px) 0;
  color: var(--muted);
  font-weight: 800;
}

.breadcrumb a {
  color: var(--red);
}

.product-detail-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 58px);
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #eef3f8 100%);
}

.product-detail-media {
  position: relative;
  display: grid;
  min-height: 500px;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-detail-media img {
  width: min(420px, 90%);
  height: 440px;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(16, 31, 51, 0.16));
}

.product-detail-info {
  display: grid;
  gap: 18px;
}

.product-detail-info h1,
.checkout-form h1,
.cart-layout h1,
.cart-empty h1,
.thanks-card h1 {
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.04;
}

.detail-summary {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.detail-meta {
  margin-top: 4px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 18px;
  background: #fff;
}

.detail-panel {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-panel h2,
.reviews-section h2,
.buy-panel h2,
.cart-summary h2,
.checkout-form h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.detail-panel p {
  margin: 0;
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--blue-dark);
  font-weight: 800;
}

.shipping-box {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.shipping-box img {
  width: 100%;
  max-width: 150px;
  height: auto;
}

.shipping-box p {
  margin: 4px 0 0;
  color: var(--muted);
}

.reviews-section {
  background: var(--paper);
}

.review-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.review-item,
.review-form {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.review-item {
  display: grid;
  gap: 10px;
}

.review-item div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.review-item span {
  color: #f59e0b;
  letter-spacing: 0;
}

.review-item p {
  margin: 0;
  color: var(--muted);
}

.review-form {
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) minmax(140px, 0.25fr) minmax(0, 1fr);
  gap: 14px;
  align-items: end;
}

.buy-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 22px;
  align-items: center;
  background: #fff;
  border-top: 1px solid var(--line);
}

.buy-panel-meta {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 900;
}

.buy-controls {
  display: grid;
  grid-template-columns: 110px minmax(150px, 1fr);
  gap: 10px;
  align-items: end;
}

.buy-controls .btn-secondary {
  grid-column: 1 / -1;
}

.cart-empty,
.thanks-page {
  display: grid;
  min-height: calc(100vh - 72px);
  place-items: center;
  background: linear-gradient(135deg, #fff 0%, #eef3f8 100%);
}

.cart-empty {
  text-align: center;
}

.cart-empty p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 22px;
  align-items: start;
  min-height: calc(100vh - 72px);
}

.cart-items {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.cart-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 100px 120px auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-item img,
.summary-product img {
  width: 100%;
  height: 96px;
  object-fit: contain;
}

.cart-item h2 {
  margin: 0;
  font-size: 18px;
}

.cart-item span,
.summary-product span {
  color: var(--muted);
  font-weight: 800;
}

.cart-summary {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(19, 59, 99, 0.08);
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
}

.summary-row span {
  color: var(--muted);
}

.summary-row strong,
.summary-row.total strong {
  color: var(--blue-dark);
}

.summary-row.total strong {
  font-size: 26px;
}

.checkout-form {
  display: grid;
  gap: 22px;
  padding: clamp(18px, 3vw, 30px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.checkout-shipping {
  background: var(--surface-2);
}

.payment-methods {
  display: grid;
  gap: 10px;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #cdd6e3;
  border-radius: 8px;
}

.payment-option input {
  width: 18px;
  min-height: 18px;
}

.payment-option.disabled {
  color: var(--muted);
  background: #f3f5f8;
}

.checkout-summary {
  gap: 12px;
}

.summary-product {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.summary-product strong {
  display: block;
  color: var(--blue-dark);
}

.thanks-card {
  display: grid;
  gap: 18px;
  width: min(760px, 100%);
  padding: clamp(24px, 5vw, 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.thanks-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.thanks-summary {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.thanks-summary img {
  width: 100%;
  max-width: 160px;
}

.thanks-summary span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.thanks-summary strong {
  color: var(--blue-dark);
}

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

.admin-filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(180px, 240px) auto auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(19, 59, 99, 0.06);
}

.admin-order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 14px;
}

.admin-item-list {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-item-list > strong {
  color: var(--blue-dark);
}

.admin-item-list div {
  display: grid;
  gap: 5px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.admin-item-list span {
  color: var(--blue-dark);
  font-weight: 800;
}

.admin-item-list b {
  color: var(--red);
}

.status-history {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.status-history strong {
  color: var(--blue-dark);
}

.status-history span {
  padding: 6px 8px;
  color: var(--muted);
  background: var(--surface-2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.tracking-page {
  display: grid;
  gap: 22px;
  min-height: calc(100vh - 72px);
  background: linear-gradient(135deg, #fff 0%, #eef3f8 100%);
}

.tracking-intro {
  max-width: 820px;
}

.tracking-intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.tracking-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) auto;
  gap: 14px;
  align-items: end;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.tracking-result {
  max-width: 980px;
}

@media (max-width: 980px) {
  .commerce-hero,
  .category-strip,
  .product-detail-shell,
  .detail-grid,
  .cart-layout,
  .checkout-layout,
  .buy-panel,
  .admin-order-grid,
  .admin-filter-bar,
  .tracking-form {
    grid-template-columns: 1fr;
  }

  .delivery-points,
  .review-list,
  .admin-stats {
    grid-template-columns: 1fr 1fr;
  }

  .product-detail-media {
    min-height: 420px;
  }

  .cart-summary {
    position: static;
  }
}

@media (max-width: 760px) {
  .cart-link {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 13px;
  }

  .hero-packshot {
    max-height: 360px;
  }

  .delivery-points,
  .review-list,
  .review-form,
  .admin-stats,
  .thanks-summary {
    grid-template-columns: 1fr;
  }

  .shipping-box,
  .summary-product {
    grid-template-columns: 1fr;
  }

  .shipping-box img {
    max-width: 170px;
  }

  .cart-item {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .cart-item label,
  .cart-item strong,
  .cart-item button {
    grid-column: 1 / -1;
  }

  .buy-controls {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .commerce-hero {
    min-height: auto;
  }

  .product-detail-media {
    min-height: 330px;
  }

  .product-detail-media img {
    height: 300px;
  }

  .product-detail-info h1,
  .checkout-form h1,
  .cart-layout h1,
  .cart-empty h1,
  .thanks-card h1 {
    font-size: 34px;
  }
}

body {
  background: #f4f6f8;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.04);
}

.hero,
.commerce-hero,
.order-page,
.cart-empty,
.thanks-page,
.tracking-page {
  background: #f4f6f8;
}

.product-card,
.filter-panel,
.results-bar,
.product-detail-media,
.detail-panel,
.review-item,
.review-form,
.buy-panel,
.cart-item,
.cart-summary,
.checkout-form,
.thanks-card,
.tracking-form,
.order-card,
.admin-filter-bar,
.admin-stats article {
  border-color: #dfe4ea;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.product-card,
.filter-panel,
.checkout-form,
.cart-summary,
.tracking-form,
.thanks-card {
  background: rgba(255, 255, 255, 0.98);
}

.product-visual {
  background: #f7f9fc;
}

.commerce-hero .hero-showcase,
.checkout-layout,
.cart-layout,
.product-detail-shell {
  isolation: isolate;
}

.checkout-page,
.cart-page,
.product-page {
  background:
    linear-gradient(180deg, #f7f9fc 0%, #eef2f6 100%);
}

.checkout-layout {
  max-width: 1220px;
  margin: 0 auto;
}

.checkout-form {
  position: relative;
  overflow: hidden;
}

.checkout-form::before,
.cart-summary::before,
.tracking-form::before {
  content: "";
  display: block;
  height: 4px;
  margin: calc(clamp(18px, 3vw, 30px) * -1) calc(clamp(18px, 3vw, 30px) * -1) 18px;
  background: var(--red);
}

.checkout-form h1 {
  max-width: 680px;
}

.checkout-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #667085 50%),
    linear-gradient(135deg, #667085 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 12px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.checkout-form select:disabled {
  color: #98a2b3;
  background-color: #f3f5f8;
}

.payment-option {
  transition: border-color 160ms ease, background 160ms ease;
}

.payment-option:has(input:checked) {
  border-color: rgba(215, 25, 32, 0.5);
  background: #fff5f5;
}

@media (min-width: 981px) {
  .checkout-page {
    padding-block: 48px;
  }

  .checkout-layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  }

  .checkout-form,
  .checkout-summary {
    border-radius: 8px;
  }
}

@media (max-width: 760px) {
  .checkout-page {
    padding: 0;
  }

  .checkout-layout {
    gap: 0;
    padding: 18px 0 0;
  }

  .checkout-form {
    order: 2;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 8px 8px 0 0;
  }

  .checkout-summary {
    order: 1;
    margin: 0 12px 14px;
    border-radius: 8px;
  }

  .checkout-form h1 {
    font-size: 32px;
  }

  .form-grid {
    gap: 12px;
  }

  .payment-option {
    min-height: 58px;
  }
}

/* 2026 flat popup UI layer */
:root {
  --popup-bg: #f5f7fb;
  --popup-surface: #ffffff;
  --popup-border: #dde4ee;
  --popup-soft: #eef3f8;
  --popup-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --popup-shadow-light: 0 14px 34px rgba(15, 23, 42, 0.08);
}

body {
  background:
    linear-gradient(180deg, #ffffff 0, var(--popup-bg) 360px),
    var(--popup-bg);
}

.site-header {
  border-bottom: 1px solid rgba(221, 228, 238, 0.92);
  backdrop-filter: blur(18px);
}

.btn,
.cart-link,
.link-button {
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

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

.commerce-hero {
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
  border-bottom: 1px solid var(--popup-border);
}

.commerce-hero .hero-showcase {
  position: relative;
  min-height: 460px;
  padding: clamp(18px, 3vw, 30px);
  background: var(--popup-surface);
  border: 1px solid var(--popup-border);
  border-radius: 8px;
  box-shadow: var(--popup-shadow);
}

.commerce-hero .hero-showcase::before {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: -1;
  background: #eef3f8;
  border: 1px solid #e5ebf3;
  border-radius: 8px;
}

.hero-packshot {
  position: relative;
  z-index: 1;
}

.hero-price-panel {
  position: relative;
  z-index: 2;
  border-color: var(--popup-border);
  box-shadow: var(--popup-shadow-light);
}

.category-strip {
  background: #ffffff;
  border-block: 1px solid var(--popup-border);
}

.category-chips a,
.product-meta span,
.brand-chip,
.stock-badge,
.sku-badge {
  border-color: var(--popup-border);
  background: #ffffff;
  box-shadow: none;
}

.catalog-layout {
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 118px);
  overflow: auto;
  padding: 18px;
  background: var(--popup-surface);
  border: 1px solid var(--popup-border);
  border-radius: 8px;
  box-shadow: var(--popup-shadow-light);
}

.filter-panel::-webkit-scrollbar {
  width: 8px;
}

.filter-panel::-webkit-scrollbar-thumb {
  background: #cad4e2;
  border-radius: 8px;
}

.filter-head {
  position: sticky;
  top: -18px;
  z-index: 1;
  margin: -18px -18px 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--popup-border);
  backdrop-filter: blur(14px);
}

.results-bar {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--popup-border);
  border-radius: 8px;
  box-shadow: var(--popup-shadow-light);
}

.product-grid {
  align-items: stretch;
}

.product-card {
  position: relative;
  background: var(--popup-surface);
  border: 1px solid var(--popup-border);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #ccd7e6;
  box-shadow: var(--popup-shadow-light);
}

.product-topline {
  background: #ffffff;
  border-bottom: 1px solid var(--popup-border);
}

.product-visual {
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}

.product-content {
  display: grid;
  grid-template-rows: auto auto auto auto auto 1fr;
  gap: 12px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-self: end;
}

.card-actions .favorite-button {
  grid-column: 1 / -1;
}

.quick-add-button {
  box-shadow: 0 12px 22px rgba(215, 25, 32, 0.16);
}

.product-detail-shell,
.detail-panel,
.review-item,
.review-form,
.buy-panel,
.cart-item,
.cart-summary,
.checkout-form,
.thanks-card,
.tracking-form,
.order-card {
  border-color: var(--popup-border);
  box-shadow: var(--popup-shadow-light);
}

.checkout-layout {
  gap: clamp(16px, 2.6vw, 28px);
}

.checkout-form,
.checkout-summary {
  border: 1px solid var(--popup-border);
  box-shadow: var(--popup-shadow);
}

.checkout-form::before,
.cart-summary::before,
.tracking-form::before {
  width: 76px;
  height: 5px;
  margin: 0 auto 6px;
  background: var(--red);
  border-radius: 8px;
}

.checkout-form h1,
.cart-layout h1,
.cart-empty h1,
.thanks-card h1 {
  letter-spacing: 0;
}

.form-grid label,
.filter-panel label,
.price-filter,
.payment-option {
  background: #ffffff;
  border-color: var(--popup-border);
}

.form-grid input,
.form-grid textarea,
.form-grid select,
.filter-panel input,
.filter-panel select,
.price-inputs input,
.review-form input,
.review-form textarea,
.review-form select,
.buy-controls input {
  min-height: 48px;
  background-color: #f8fafc;
  border-color: var(--popup-border);
  border-radius: 8px;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus,
.filter-panel input:focus,
.filter-panel select:focus,
.price-inputs input:focus,
.review-form input:focus,
.review-form textarea:focus,
.review-form select:focus,
.buy-controls input:focus {
  background: #ffffff;
  border-color: rgba(215, 25, 32, 0.46);
  box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.09);
  outline: 0;
}

.shipping-box {
  border-color: var(--popup-border);
  background: #f8fafc;
}

.payment-option {
  cursor: pointer;
}

.payment-option:has(input:checked) {
  border-color: rgba(215, 25, 32, 0.52);
  background: #fff7f7;
  box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.06);
}

.cart-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  justify-items: end;
  align-items: start;
  padding: 92px clamp(16px, 4vw, 56px) 24px;
  background: rgba(15, 23, 42, 0);
  pointer-events: none;
  transition: background 180ms ease;
}

.cart-popup-overlay.is-visible {
  background: rgba(15, 23, 42, 0.24);
  pointer-events: auto;
}

.cart-popup {
  position: relative;
  width: min(420px, 100%);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--popup-border);
  border-radius: 8px;
  box-shadow: var(--popup-shadow);
  transform: translateY(-10px) scale(0.98);
  opacity: 0;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.cart-popup-overlay.is-visible .cart-popup {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.cart-popup::before {
  content: "";
  display: block;
  width: 74px;
  height: 5px;
  margin: 14px auto 0;
  background: var(--red);
  border-radius: 8px;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--ink);
  background: #f2f5f9;
  border: 1px solid var(--popup-border);
  border-radius: 8px;
  cursor: pointer;
}

.cart-popup-body {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
}

.cart-popup-media {
  display: grid;
  min-height: 132px;
  place-items: center;
  background: #f7f9fc;
  border: 1px solid var(--popup-border);
  border-radius: 8px;
}

.cart-popup-media img {
  width: 100%;
  height: 118px;
  object-fit: contain;
}

.cart-popup-copy {
  display: grid;
  gap: 8px;
  align-content: center;
}

.popup-kicker {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cart-popup-copy strong {
  color: var(--blue-dark);
  font-size: 18px;
  line-height: 1.2;
}

.cart-popup-copy p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.cart-popup-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

@media (min-width: 981px) {
  .checkout-page {
    padding: clamp(34px, 5vw, 64px) clamp(16px, 5vw, 72px);
  }

  .checkout-layout {
    align-items: start;
  }
}

@media (max-width: 980px) {
  .filter-panel {
    position: static;
    max-height: none;
  }

  .filter-head {
    position: static;
  }
}

@media (max-width: 760px) {
  .commerce-hero .hero-showcase {
    min-height: auto;
    padding: 16px;
  }

  .card-actions,
  .cart-popup-actions {
    grid-template-columns: 1fr;
  }

  .checkout-layout {
    padding-top: 12px;
  }

  .checkout-form {
    padding-bottom: max(28px, env(safe-area-inset-bottom));
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -18px 48px rgba(15, 23, 42, 0.12);
  }

  .cart-popup-overlay {
    align-items: end;
    justify-items: stretch;
    padding: 0;
    background: rgba(15, 23, 42, 0);
  }

  .cart-popup-overlay.is-visible {
    background: rgba(15, 23, 42, 0.34);
  }

  .cart-popup {
    width: 100%;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 8px 8px 0 0;
    transform: translateY(100%);
  }

  .cart-popup-overlay.is-visible .cart-popup {
    transform: translateY(0);
  }

  .cart-popup-body {
    grid-template-columns: 96px minmax(0, 1fr);
    padding: 18px 16px max(22px, env(safe-area-inset-bottom));
  }

  .cart-popup-media {
    min-height: 104px;
  }

  .cart-popup-media img {
    height: 96px;
  }
}

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

  .cart-popup-media {
    min-height: 170px;
  }

  .cart-popup-media img {
    height: 150px;
  }
}

/* CanineLab full UIX commerce shell */
:root {
  --uix-bg: #eef2f7;
  --uix-ink: #111827;
  --uix-muted: #5f6b7a;
  --uix-panel: #ffffff;
  --uix-panel-soft: #f7f9fc;
  --uix-line: #d9e1ec;
  --uix-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
  --uix-shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
}

html {
  scroll-padding-top: 96px;
}

body {
  color: var(--uix-ink);
  background:
    linear-gradient(180deg, #ffffff 0, #f5f7fb 330px, var(--uix-bg) 760px),
    var(--uix-bg);
}

.site-header {
  top: 10px;
  width: min(1240px, calc(100% - 24px));
  margin: 10px auto 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(217, 225, 236, 0.96);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.brand {
  min-height: 42px;
  padding: 5px 10px 5px 5px;
  border-radius: 8px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  background: var(--red);
  box-shadow: none;
}

.main-nav {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.main-nav a {
  min-height: 36px;
  padding: 8px 12px;
  color: #334155;
  border-radius: 6px;
}

.main-nav a:hover {
  color: var(--red);
  background: #ffffff;
}

.cart-link {
  min-height: 42px;
  color: #ffffff;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 12px 24px rgba(215, 25, 32, 0.18);
}

.cart-link span {
  color: var(--red);
  background: #ffffff;
}

.commerce-hero {
  min-height: auto;
  padding: 46px max(18px, calc((100vw - 1240px) / 2)) 64px;
  background: transparent;
  border-bottom: 0;
}

.hero-copy {
  padding: 30px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--uix-line);
  border-radius: 8px;
  box-shadow: var(--uix-shadow);
}

.commerce-hero h1 {
  max-width: 660px;
  font-size: 56px;
  line-height: 1.02;
}

.hero-text {
  max-width: 600px;
  color: var(--uix-muted);
  font-size: 18px;
}

.commerce-hero .hero-showcase {
  position: relative;
  min-height: 510px;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  isolation: isolate;
}

.commerce-hero .hero-showcase::before {
  content: "";
  position: absolute;
  inset: 42px 18px 26px 48px;
  z-index: 0;
  background: var(--uix-panel);
  border: 1px solid var(--uix-line);
  border-radius: 8px;
  box-shadow: var(--uix-shadow);
}

.hero-packshot {
  z-index: 1;
  width: min(390px, 78%);
  max-height: 430px;
}

.hero-price-panel {
  position: absolute;
  right: 0;
  bottom: 44px;
  z-index: 2;
  width: min(360px, 80%);
  margin: 0;
  border: 1px solid var(--uix-line);
  border-radius: 8px;
}

.hero-price-panel .new-price {
  font-size: 34px;
}

.category-strip,
.products-section,
.delivery-band {
  background: transparent;
}

.category-strip {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--uix-line);
  border-radius: 8px;
  box-shadow: var(--uix-shadow-soft);
}

.category-strip h2,
.section-heading h2 {
  font-size: 36px;
  line-height: 1.08;
}

.category-chips a {
  min-height: 42px;
  color: #1f2937;
  background: #f8fafc;
  border: 1px solid var(--uix-line);
}

.category-chips a:hover {
  color: var(--red);
  background: #ffffff;
  border-color: rgba(215, 25, 32, 0.32);
}

.products-section {
  padding-top: 58px;
}

.catalog-heading {
  width: min(1240px, calc(100% - 36px));
  max-width: none;
  margin-inline: auto;
}

.catalog-layout {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  grid-template-columns: minmax(250px, 292px) minmax(0, 1fr);
  gap: 22px;
}

.filter-panel,
.results-bar,
.product-card,
.detail-panel,
.review-item,
.review-form,
.buy-panel,
.cart-item,
.cart-summary,
.checkout-form,
.thanks-card,
.tracking-form,
.order-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--uix-line);
  border-radius: 8px;
}

.filter-panel {
  top: 96px;
  box-shadow: var(--uix-shadow-soft);
}

.results-bar {
  min-height: 64px;
  padding: 14px 16px;
}

.product-grid {
  gap: 16px;
}

.product-card {
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--uix-shadow-soft);
}

.product-visual {
  min-height: 252px;
  background: #f7f9fc;
}

.product-visual img {
  height: 230px;
}

.product-card h3 {
  min-height: 58px;
}

.product-card p {
  min-height: 66px;
}

.product-detail-shell,
.detail-grid,
.reviews-section,
.buy-panel,
.cart-layout,
.checkout-layout,
.thanks-page,
.tracking-page {
  width: min(1240px, calc(100% - 36px));
  margin-inline: auto;
}

.product-detail-shell {
  margin-top: 26px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--uix-line);
  border-radius: 8px;
  box-shadow: var(--uix-shadow);
}

.product-detail-media {
  min-height: 520px;
  background: #f7f9fc;
  box-shadow: none;
}

.product-detail-info {
  align-self: center;
  padding: 18px 16px;
}

.product-detail-info h1 {
  font-size: 44px;
  line-height: 1.06;
}

.detail-grid,
.reviews-section {
  margin-top: 22px;
}

.buy-panel {
  margin-top: 22px;
  box-shadow: var(--uix-shadow);
}

.cart-layout,
.checkout-layout {
  margin-top: 28px;
}

.checkout-page,
.cart-page,
.product-page,
.order-page {
  background: transparent;
}

.checkout-form,
.checkout-summary,
.cart-summary {
  box-shadow: var(--uix-shadow);
}

.shipping-box {
  grid-template-columns: minmax(132px, 190px) minmax(0, 1fr);
  background: #f8fafc;
  border: 1px solid var(--uix-line);
}

.shipping-box img,
.delivery-logo-card img {
  width: 100%;
  max-width: 190px;
  height: 92px;
  object-fit: cover;
  object-position: center;
  background: #00599c;
  border: 1px solid #d4deeb;
  border-radius: 8px;
}

.delivery-band {
  padding-bottom: 86px;
}

.delivery-band .section-heading {
  width: min(1240px, calc(100% - 36px));
  max-width: none;
  margin-inline: auto;
}

.delivery-points {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
}

.delivery-points article {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 164px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--uix-line);
  border-radius: 8px;
  box-shadow: var(--uix-shadow-soft);
}

.delivery-logo-card img {
  max-width: 210px;
  height: 104px;
}

.form-grid label,
.price-filter,
.payment-option {
  border-radius: 8px;
}

.cart-popup {
  border-radius: 8px;
}

@media (max-width: 980px) {
  .site-header {
    top: 8px;
    width: calc(100% - 20px);
  }

  .commerce-hero {
    padding: 28px 18px 44px;
  }

  .commerce-hero h1 {
    font-size: 44px;
  }

  .hero-copy {
    padding: 22px;
  }

  .commerce-hero .hero-showcase {
    min-height: 460px;
  }

  .commerce-hero .hero-showcase::before {
    inset: 34px 0 22px;
  }

  .hero-packshot {
    width: min(360px, 72%);
  }

  .hero-price-panel {
    right: 18px;
  }

  .catalog-layout,
  .product-detail-shell,
  .detail-grid,
  .reviews-section,
  .buy-panel,
  .cart-layout,
  .checkout-layout,
  .category-strip,
  .catalog-heading,
  .delivery-band .section-heading,
  .delivery-points {
    width: calc(100% - 28px);
  }

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

  .product-detail-info {
    padding: 8px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 78px;
  }

  .site-header {
    width: calc(100% - 16px);
    margin-top: 8px;
    padding: 8px;
  }

  .main-nav {
    display: none;
  }

  .brand {
    min-height: 38px;
    padding-right: 6px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .commerce-hero {
    padding: 22px 12px 34px;
    gap: 16px;
  }

  .hero-copy {
    padding: 18px;
  }

  .commerce-hero h1 {
    font-size: 34px;
  }

  .hero-text {
    font-size: 16px;
  }

  .commerce-hero .hero-showcase {
    min-height: auto;
    padding: 14px;
  }

  .commerce-hero .hero-showcase::before {
    inset: 0;
  }

  .hero-packshot {
    width: min(285px, 86%);
    max-height: 330px;
  }

  .hero-price-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 10px;
  }

  .category-strip,
  .catalog-layout,
  .catalog-heading,
  .product-detail-shell,
  .detail-grid,
  .reviews-section,
  .buy-panel,
  .cart-layout,
  .checkout-layout,
  .delivery-band .section-heading,
  .delivery-points {
    width: calc(100% - 20px);
  }

  .category-strip,
  .filter-panel,
  .checkout-summary,
  .checkout-form,
  .cart-summary {
    box-shadow: var(--uix-shadow-soft);
  }

  .category-strip h2,
  .section-heading h2 {
    font-size: 28px;
  }

  .product-visual {
    min-height: 230px;
  }

  .product-visual img {
    height: 210px;
  }

  .product-card h3,
  .product-card p {
    min-height: auto;
  }

  .product-detail-shell {
    padding: 10px;
  }

  .product-detail-media {
    min-height: 330px;
  }

  .product-detail-media img {
    height: 290px;
  }

  .product-detail-info h1 {
    font-size: 32px;
  }

  .shipping-box {
    grid-template-columns: 1fr;
  }

  .shipping-box img,
  .delivery-logo-card img {
    max-width: 100%;
    height: 96px;
  }
}

/* Final premium storefront and admin dashboard layer */
.announcement-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 38px;
  padding: 8px 16px;
  color: #ffffff;
  background: #111827;
  font-size: 13px;
  font-weight: 800;
}

.announcement-bar strong {
  color: #ffffff;
}

.announcement-bar span {
  color: #cbd5e1;
}

.hero-search-card {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--uix-line);
  border-radius: 8px;
}

.hero-search-card > span {
  color: var(--uix-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-search-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-search-card a {
  padding: 9px 12px;
  color: #1f2937;
  background: #ffffff;
  border: 1px solid var(--uix-line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.hero-search-card a:hover {
  color: var(--red);
  border-color: rgba(215, 25, 32, 0.35);
}

.hero-trust-grid,
.storefront-metrics,
.flow-grid,
.collection-grid,
.admin-insight-grid {
  display: grid;
  gap: 14px;
}

.hero-trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.hero-trust-grid article,
.storefront-metrics article,
.flow-grid article,
.admin-insight-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--uix-line);
  border-radius: 8px;
  box-shadow: var(--uix-shadow-soft);
}

.hero-trust-grid article {
  padding: 12px;
}

.hero-trust-grid strong {
  display: block;
  color: var(--red);
  font-size: 28px;
  line-height: 1;
}

.hero-trust-grid span {
  color: var(--uix-muted);
  font-size: 12px;
  font-weight: 900;
}

.hero-mini-stack {
  position: absolute;
  left: 0;
  bottom: 26px;
  z-index: 3;
  display: grid;
  gap: 10px;
  width: min(270px, 58%);
}

.hero-mini-stack article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--uix-line);
  border-radius: 8px;
  box-shadow: var(--uix-shadow-soft);
}

.hero-mini-stack img {
  width: 56px;
  height: 62px;
  object-fit: contain;
}

.hero-mini-stack span {
  display: block;
  color: var(--uix-muted);
  font-size: 12px;
  font-weight: 900;
}

.hero-mini-stack strong {
  color: var(--red);
  font-size: 17px;
}

.storefront-metrics,
.featured-collections,
.shopping-flow {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
}

.storefront-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 0 34px;
}

.storefront-metrics article,
.flow-grid article {
  padding: 18px;
}

.storefront-metrics span,
.flow-grid span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.storefront-metrics strong,
.flow-grid strong {
  display: block;
  margin-top: 6px;
  color: #111827;
  font-size: 19px;
}

.storefront-metrics p,
.flow-grid p {
  margin: 8px 0 0;
  color: var(--uix-muted);
  font-size: 14px;
}

.featured-collections,
.shopping-flow {
  padding: 58px 0 0;
}

.featured-collections .section-heading,
.shopping-flow .section-heading {
  max-width: 860px;
}

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

.collection-card {
  display: grid;
  gap: 12px;
  min-height: 330px;
  padding: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--uix-line);
  border-radius: 8px;
  box-shadow: var(--uix-shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--uix-shadow);
}

.collection-card img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid #e6edf5;
  border-radius: 8px;
}

.collection-card span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.collection-card strong {
  color: #111827;
  font-size: 20px;
  line-height: 1.2;
}

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

body[data-page="admin"] {
  background: #eef2f7;
}

.admin-shell {
  display: grid;
  grid-template-columns: minmax(240px, 292px) minmax(0, 1fr);
  gap: 20px;
  width: min(1440px, calc(100% - 32px));
  margin: 28px auto 80px;
}

.admin-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
  align-self: start;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--uix-line);
  border-radius: 8px;
  box-shadow: var(--uix-shadow-soft);
}

.admin-sidebar h2 {
  margin: 6px 0 8px;
  font-size: 27px;
  line-height: 1.05;
}

.admin-sidebar p {
  margin: 0;
  color: var(--uix-muted);
}

.admin-side-nav {
  display: grid;
  gap: 8px;
}

.admin-side-nav a {
  padding: 11px 12px;
  color: #1f2937;
  background: #f8fafc;
  border: 1px solid var(--uix-line);
  border-radius: 8px;
  font-weight: 900;
}

.admin-side-nav a:hover {
  color: var(--red);
  background: #ffffff;
}

.admin-side-card {
  padding: 16px;
  color: #ffffff;
  background: #111827;
  border-radius: 8px;
}

.admin-side-card span {
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-side-card strong {
  display: block;
  margin-top: 8px;
  font-size: 42px;
  line-height: 1;
}

.admin-side-card p {
  margin-top: 8px;
  color: #cbd5e1;
}

.admin-page {
  padding: 0;
  background: transparent;
}

.admin-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.admin-topline .section-heading {
  margin-bottom: 0;
}

.admin-top-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-stats-extended {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-stats-extended article {
  min-height: 118px;
  background: #ffffff;
  border: 1px solid var(--uix-line);
  border-radius: 8px;
  box-shadow: var(--uix-shadow-soft);
}

.admin-insight-grid {
  grid-template-columns: 1fr 1fr 1.05fr;
  margin-bottom: 18px;
}

.admin-insight-card {
  padding: 18px;
}

.insight-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.insight-head span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.insight-head strong {
  color: #111827;
  font-size: 18px;
}

.pipeline-list,
.catalog-health {
  display: grid;
  gap: 8px;
}

.pipeline-list div,
.catalog-health div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e3eaf3;
  border-radius: 8px;
}

.pipeline-list span,
.catalog-health span {
  color: var(--uix-muted);
  font-size: 13px;
  font-weight: 800;
}

.pipeline-list strong,
.catalog-health strong {
  color: #111827;
}

.catalog-health {
  grid-template-columns: 1fr 1fr;
}

.admin-filter-advanced {
  grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(150px, 190px)) minmax(96px, auto) minmax(92px, auto);
  box-shadow: var(--uix-shadow-soft);
}

.order-card {
  border-left: 5px solid var(--red);
}

.order-card.is-preparing {
  border-left-color: #f59e0b;
}

.order-card.is-shipped {
  border-left-color: #2563eb;
}

.order-card.is-done {
  border-left-color: #16a34a;
}

.order-card.is-cancelled {
  border-left-color: #64748b;
}

.status-form-advanced {
  grid-template-columns: repeat(3, minmax(160px, 1fr)) minmax(220px, 1.2fr) auto;
  align-items: end;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--uix-line);
  border-radius: 8px;
}

.status-actions {
  display: grid;
  gap: 8px;
}

.admin-note-field {
  min-width: 0;
}

@media print {
  .site-header,
  .admin-sidebar,
  .admin-filter-bar,
  .admin-top-actions,
  .status-form {
    display: none !important;
  }

  .admin-shell,
  .admin-page {
    display: block;
    width: 100%;
    margin: 0;
  }

  .order-card {
    break-inside: avoid;
    box-shadow: none;
  }
}

@media (max-width: 1180px) {
  .storefront-metrics,
  .collection-grid,
  .flow-grid,
  .admin-stats-extended,
  .admin-insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .admin-sidebar {
    position: static;
  }

  .admin-filter-advanced,
  .status-form-advanced {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .announcement-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    min-height: auto;
    padding: 9px 12px;
  }

  .hero-trust-grid,
  .storefront-metrics,
  .collection-grid,
  .flow-grid,
  .admin-stats-extended,
  .admin-insight-grid,
  .admin-filter-advanced,
  .status-form-advanced,
  .catalog-health {
    grid-template-columns: 1fr;
  }

  .hero-mini-stack {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 10px;
  }

  .hero-mini-stack article {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .storefront-metrics,
  .featured-collections,
  .shopping-flow {
    width: calc(100% - 20px);
  }

  .collection-card {
    min-height: auto;
  }

  .admin-shell {
    width: calc(100% - 20px);
    margin-top: 18px;
  }

  .admin-topline,
  .admin-top-actions {
    display: grid;
    justify-content: stretch;
  }

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