:root {
  --blue: #0564d7;
  --blue-deep: #053a8a;
  --yellow: #ffe124;
  --yellow-soft: #fff4a8;
  --yellow-pale: #fff9d9;
  --ink: #111827;
  --muted: #667085;
  --line: #e8dca8;
  --surface: #ffffff;
  --soft: #fff7c7;
  --green: #17875d;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.12);
}

.quick-links {
  grid-template-columns: repeat(3, 1fr);
}

.hours-metric dt {
  font-size: 1.28rem;
}

.product-visual img,
.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.call-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.admin-body {
  min-height: 100vh;
  background: #f4f6f8;
}

.admin-shell {
  min-height: 100vh;
}

.login-panel {
  width: min(100% - 28px, 470px);
  margin: 8vh auto;
  padding: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.login-panel img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border: 2px solid var(--blue);
  border-radius: 8px;
}

.login-panel h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.admin-app {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  color: #ffffff;
  background: #071932;
}

.admin-brand {
  color: #ffffff;
}

.admin-brand img {
  width: 48px;
  height: 48px;
}

.admin-tabs {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.admin-tabs button {
  min-height: 42px;
  padding: 0 12px;
  color: #dbeafe;
  text-align: left;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-weight: 850;
}

.admin-tabs button.active,
.admin-tabs button:hover {
  color: var(--blue-deep);
  background: var(--yellow);
}

.admin-sidebar .secondary-link,
.admin-sidebar .ghost-button {
  width: 100%;
}

.admin-content {
  min-width: 0;
  padding: clamp(18px, 3vw, 34px);
}

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

.admin-header h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.admin-view {
  display: none;
}

.admin-view.active {
  display: block;
}

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

.stat-grid article,
.admin-card {
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(7, 25, 50, 0.08);
}

.stat-grid article {
  padding: 20px;
}

.stat-grid span {
  display: block;
  color: var(--blue-deep);
  font-size: 2.2rem;
  font-weight: 950;
}

.stat-grid p {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 850;
}

.admin-card {
  padding: 18px;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.admin-toolbar input,
.editor-form input,
.editor-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #d9e2ec;
  border-radius: 6px;
}

.field-help {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 0.82rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(360px, 1fr);
  gap: 16px;
  align-items: start;
}

.product-list {
  display: grid;
  gap: 8px;
  max-height: 72vh;
  overflow: auto;
}

.product-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  text-align: left;
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
}

.product-row.active,
.product-row:hover {
  border-color: var(--blue);
  background: #fff9d9;
}

.product-row span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 950;
  overflow: hidden;
}

.product-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-row small {
  color: var(--muted);
}

.editor-form {
  display: grid;
  gap: 12px;
}

.editor-form h3 {
  margin-bottom: 0;
}

.editor-form label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 0.9rem;
  font-weight: 850;
}

.two-cols,
.button-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.image-preview {
  display: grid;
  place-items: center;
  min-height: 170px;
  color: var(--muted);
  background: #f7fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
}

.image-preview img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #ffffff;
}

.danger {
  color: #b42318;
  border-color: #f3b4ad;
}

.table-wrap {
  overflow-x: auto;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
}

.table-wrap th,
.table-wrap td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
}

.table-wrap th {
  color: #344054;
  background: #f8fafc;
  font-size: 0.85rem;
  text-transform: uppercase;
}

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

  .admin-sidebar {
    position: static;
    height: auto;
  }
}

@media (max-width: 760px) {
  .call-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .admin-header,
  .admin-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .two-cols,
  .button-row {
    grid-template-columns: 1fr;
  }
}

* { box-sizing: border-box; }

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(255, 225, 36, 0.58), transparent 34%),
    linear-gradient(180deg, var(--yellow-soft), var(--yellow-pale) 360px, #fffdf2 860px);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

body.drawer-open {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(240px, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(255, 252, 227, 0.96);
  border-bottom: 2px solid rgba(255, 225, 36, 0.7);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid var(--blue);
  background: var(--yellow);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  text-transform: uppercase;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
}

.search {
  display: grid;
  grid-template-columns: 1fr 48px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  overflow: hidden;
}

.search input {
  width: 100%;
  min-width: 0;
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
}

.search button,
.icon-button {
  border: 0;
  background: var(--yellow);
  color: var(--blue-deep);
  font-weight: 900;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #263244;
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  border-color: var(--blue);
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  color: #ffffff;
  background: var(--blue);
  border: 0;
  border-radius: 6px;
  font-weight: 800;
}

.cart-button strong {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  color: var(--blue-deep);
  background: var(--yellow);
  border-radius: 999px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 124px);
  padding: clamp(42px, 7vw, 92px) clamp(18px, 5vw, 72px) 44px;
  border-bottom: 1px solid rgba(232, 220, 168, 0.9);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 5.2vw, 5.2rem);
  line-height: 0.98;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 660px;
  color: #334155;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}

.hero-actions,
.catalog-tools,
.product-bottom,
.results-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.primary-link,
.secondary-link,
.primary-button,
.ghost-button,
.add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 900;
}

.primary-link,
.primary-button,
.add-button {
  color: #ffffff;
  background: var(--blue);
}

.secondary-link,
.ghost-button {
  color: var(--blue-deep);
  background: #ffffff;
  border-color: var(--line);
}

.metrics {
  display: grid;
  grid-template-columns: minmax(300px, 1.65fr) repeat(2, minmax(145px, 1fr));
  gap: 12px;
  max-width: 820px;
  margin: 34px 0 0;
}

.metrics div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(240, 206, 0, 0.38);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(5, 58, 138, 0.06);
}

.metrics dt {
  color: var(--blue-deep);
  font-size: 1.55rem;
  font-weight: 950;
}

.metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.hero-media {
  position: relative;
}

.hero-media::before {
  display: none;
}

.hero-media img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  padding: 0;
  background: transparent;
  border-radius: 8px;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  background: var(--line);
  border: 1px solid var(--line);
  border-top: 0;
}

.quick-links a {
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 14px;
  background: #fffdf0;
  color: var(--blue-deep);
  font-weight: 900;
}

.section {
  padding: clamp(52px, 8vw, 94px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.04;
}

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

.family-card,
.filters,
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.family-card {
  position: relative;
  overflow: hidden;
  min-height: 284px;
  padding: 0;
  text-align: left;
  box-shadow: 0 16px 34px rgba(5, 58, 138, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.family-card:hover {
  transform: translateY(-4px);
  border-color: rgba(5, 100, 215, 0.4);
  box-shadow: 0 22px 42px rgba(5, 58, 138, 0.14);
}

.family-card img {
  display: block;
  width: 100%;
  height: 138px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.family-label {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  color: var(--blue-deep);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.family-card strong {
  display: block;
  margin: 18px 18px 8px;
  color: var(--blue-deep);
  font-size: 1.04rem;
}

.family-card > span:not(.family-label) {
  display: block;
  margin: 0 18px 18px;
  color: var(--muted);
  line-height: 1.5;
}

.catalog-section {
  background:
    linear-gradient(180deg, rgba(255, 225, 36, 0.22), rgba(255, 247, 199, 0.82)),
    var(--soft);
  border-block: 1px solid var(--line);
}

.catalog-heading {
  align-items: center;
}

.catalog-tools label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

select,
.checkout input,
.checkout textarea {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
}

select {
  min-height: 40px;
  padding: 0 34px 0 12px;
}

.shop-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.filters {
  position: sticky;
  top: 96px;
  padding: 18px;
}

.filter-block {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.filter-block strong {
  display: block;
  margin-bottom: 12px;
}

.filter-list,
.variant-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip,
.variant-chip {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #344054;
  background: #ffffff;
  font-weight: 800;
  font-size: 0.82rem;
}

.filter-chip.active,
.variant-chip.active {
  color: var(--blue-deep);
  background: var(--yellow);
  border-color: #f0ce00;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  color: #344054;
}

.results-bar {
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.product-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 188px;
  background:
    linear-gradient(145deg, #ffffff, #f2f6fb),
    repeating-linear-gradient(90deg, transparent 0 11px, rgba(5, 100, 215, 0.05) 11px 12px);
  border-bottom: 1px solid var(--line);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  color: var(--blue-deep);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.product-visual {
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  color: #ffffff;
  background: linear-gradient(145deg, var(--blue), var(--blue-deep));
  border: 8px solid var(--yellow);
  border-radius: 8px;
  box-shadow: 0 16px 28px rgba(5, 58, 138, 0.25);
  font-size: 2.6rem;
  font-weight: 950;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.product-body h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.product-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.92rem;
}

.product-bottom {
  justify-content: space-between;
  margin-top: auto;
  padding-top: 4px;
}

.price {
  display: grid;
  gap: 2px;
  color: var(--blue-deep);
  font-size: 1.24rem;
  font-weight: 950;
}

.price small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.quote-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(34px, 5vw, 56px) clamp(18px, 5vw, 72px);
  color: #ffffff;
  background: linear-gradient(120deg, var(--blue-deep), var(--blue));
}

.quote-band .eyebrow,
.quote-band p {
  color: #ffffff;
}

.quote-band h2 {
  margin-bottom: 8px;
  font-size: clamp(1.65rem, 3vw, 2.7rem);
}

.location-section {
  background: #fffdf0;
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(360px, 1fr);
  gap: 22px;
  align-items: stretch;
}

.location-card,
.map-frame {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(5, 58, 138, 0.08);
}

.location-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(22px, 4vw, 36px);
}

.location-kicker {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  margin-bottom: 18px;
  color: var(--blue-deep);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.location-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  line-height: 1.08;
}

.location-card p {
  color: #344054;
  line-height: 1.6;
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 20px;
}

.contact-list a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 12px;
  color: var(--blue-deep);
  background: #fff7c7;
  border: 1px solid rgba(240, 206, 0, 0.5);
  border-radius: 6px;
  font-weight: 900;
}

.map-frame {
  min-height: 380px;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: #dbeafe;
  background: #06162f;
}

.site-footer img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--blue);
  background: var(--yellow);
}

.site-footer p {
  max-width: 420px;
  margin: 14px 0 0;
  line-height: 1.55;
}

.site-footer nav {
  display: grid;
  gap: 10px;
  align-content: start;
  font-weight: 800;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  justify-content: end;
  background: rgba(6, 22, 47, 0.46);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.cart-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel {
  width: min(100%, 480px);
  height: 100%;
  overflow-y: auto;
  padding: 22px;
  background: #ffffff;
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 0.24s ease;
}

.cart-drawer.open .drawer-panel {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.drawer-head h2 {
  margin: 0;
}

.icon-button {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  font-size: 1.65rem;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-empty {
  padding: 28px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fffdf0;
}

.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: start;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(232, 220, 168, 0.95);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #fffbed);
  box-shadow: 0 10px 24px rgba(5, 58, 138, 0.06);
}

.cart-thumb {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: #ffffff;
  background: linear-gradient(145deg, var(--blue), var(--blue-deep));
  border: 6px solid var(--yellow);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 950;
  text-align: center;
}

.cart-thumb span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-line h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
}

.cart-line p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.line-price {
  color: var(--blue-deep);
  white-space: nowrap;
}

.quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.quantity button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  font-weight: 900;
}

.remove-line {
  margin-top: 10px;
  border: 0;
  color: #b42318;
  background: transparent;
  font-weight: 850;
}

.cart-summary {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 16px;
  background: #fff7c7;
  border: 1px solid rgba(240, 206, 0, 0.45);
  border-radius: 8px;
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
}

.cart-summary .total {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--blue-deep);
  font-size: 1.08rem;
}

.checkout {
  display: grid;
  gap: 12px;
}

.checkout h3 {
  margin: 0;
}

.checkout label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-weight: 800;
  font-size: 0.9rem;
}

.checkout input,
.checkout textarea,
.checkout select {
  width: 100%;
  padding: 11px 12px;
}

.pickup-note {
  display: grid;
  gap: 5px;
  padding: 13px;
  color: #344054;
  background: #fff7c7;
  border: 1px solid rgba(240, 206, 0, 0.55);
  border-radius: 8px;
}

.pickup-note strong {
  color: var(--blue-deep);
}

.pickup-note span {
  font-weight: 900;
}

.pickup-note small {
  color: var(--muted);
  line-height: 1.45;
}

.checkout-message {
  display: none;
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 850;
}

.success-message,
.error-message {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 8px;
  line-height: 1.45;
}

.success-message {
  margin-top: 2px;
  color: #064e3b;
  background: #dcfce7;
  border: 1px solid #22c55e;
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.16);
}

.success-message strong,
.success-message span {
  display: block;
}

.cart-success-banner {
  margin: 0 0 14px;
  font-size: 1rem;
}

.cart-success-view {
  display: grid;
  gap: 12px;
  margin: 10px 0 18px;
  padding: 22px;
  color: #064e3b;
  background: #dcfce7;
  border: 1px solid #22c55e;
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(22, 163, 74, 0.18);
}

.cart-success-view[hidden] {
  display: none;
}

.cart-success-view strong {
  font-size: 1.35rem;
  font-weight: 950;
}

.cart-success-view span {
  font-size: 1.05rem;
  font-weight: 900;
}

.cart-success-view p {
  margin: 0;
  color: #0f766e;
  line-height: 1.55;
}

.success-popup {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 24, 39, 0.45);
}

.success-popup[hidden] {
  display: none;
}

.success-popup-card {
  display: grid;
  gap: 14px;
  width: min(100%, 430px);
  padding: 28px;
  text-align: center;
  color: #064e3b;
  background: #dcfce7;
  border: 1px solid #22c55e;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.26);
}

.success-popup-card strong {
  color: #047857;
  font-size: 1.75rem;
  font-weight: 950;
}

.success-popup-card span {
  color: #064e3b;
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.5;
}

.success-popup-card .primary-button {
  margin-top: 4px;
}

.whatsapp-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #ffffff;
  background: #25d366;
  border: 2px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.35), 0 8px 20px rgba(17, 24, 39, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(37, 211, 102, 0.42), 0 10px 24px rgba(17, 24, 39, 0.2);
}

.whatsapp-button svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.error-message {
  color: #991b1b;
  background: #fff1f2;
  border: 1px solid #fecdd3;
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.order-notes {
  min-width: 220px;
  color: #344054;
  line-height: 1.45;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .search,
  .main-nav {
    grid-column: 1 / -1;
  }

  .main-nav {
    overflow-x: auto;
  }

  .hero,
  .shop-layout,
  .location-layout {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }

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

@media (max-width: 760px) {
  .hero-actions,
  .quote-band,
  .site-footer,
  .section-heading,
  .results-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand span {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .metrics,
  .family-grid,
  .product-grid,
  .quick-links {
    grid-template-columns: 1fr;
  }

  .quick-links {
    margin-inline: 14px;
  }

  .product-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .add-button,
  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .whatsapp-button {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }

  .cart-line {
    grid-template-columns: 60px 1fr;
  }

  .cart-thumb {
    width: 60px;
    height: 60px;
  }

  .line-price {
    grid-column: 2;
  }
}

.quick-links {
  grid-template-columns: repeat(3, 1fr);
}

.product-visual img,
.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

@media (max-width: 760px) {
  .quick-links,
  .call-actions {
    grid-template-columns: 1fr;
  }
}
