:root {
  --bg: #f7f2ea;
  --paper: #fffdf8;
  --surface: #ffffff;
  --surface-ink: #0f1d22;
  --surface-mist: #eef5f0;
  --text: #172126;
  --muted: #66737b;
  --line: #e2d9cb;
  --line-strong: #cdbfaaa;
  --brand: #0f766e;
  --brand-deep: #063f3b;
  --gold: #d9911b;
  --coral: #d84f35;
  --blue: #2563eb;
  --soft-gold: #fff1cf;
  --soft-green: #e6f4ee;
  --shadow: 0 24px 70px rgba(15, 29, 34, 0.14);
  --shadow-soft: 0 14px 34px rgba(15, 29, 34, 0.09);
  --radius: 8px;
  --font: Cairo, Tahoma, Arial, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

.public-body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(15, 29, 34, 0.98) 0, rgba(15, 29, 34, 0.98) 470px, transparent 470px),
    linear-gradient(90deg, rgba(216, 79, 53, 0.12), transparent 34%, rgba(15, 118, 110, 0.12)),
    var(--bg);
}

.page-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 62%);
}

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

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

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

button,
.buy-button,
.card-link {
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

button,
.buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: #19130b;
  padding: 12px 18px;
  box-shadow: 0 16px 34px rgba(217, 145, 27, 0.25);
}

button:hover,
.buy-button:hover {
  background: #f3b23c;
  transform: translateY(-2px);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(217, 145, 27, 0.55);
  outline-offset: 3px;
}

.shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 12px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.92);
  padding: 10px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-compact {
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 16px 44px rgba(15, 29, 34, 0.16);
}

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

.brand-logo-wrap,
.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 29, 34, 0.1);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-mark {
  background: var(--brand-deep);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.brand-text strong,
.brand-text small,
.brand strong,
.brand small {
  display: block;
}

.brand-text strong,
.brand strong {
  color: var(--surface-ink);
  font-size: 18px;
  line-height: 1.3;
}

.brand-text small,
.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav a,
.footer-links a,
.category-strip a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 900;
  padding: 8px 13px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav a:hover,
.footer-links a:hover,
.category-strip a:hover {
  border-color: rgba(15, 118, 110, 0.22);
  background: var(--soft-green);
  color: var(--brand-deep);
  transform: translateY(-1px);
}

.disclosure {
  margin: 0 0 18px;
  border: 1px solid rgba(217, 145, 27, 0.32);
  border-radius: var(--radius);
  background: #fff8e6;
  color: #65410c;
  padding: 10px 14px;
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 30px;
  align-items: center;
  min-height: 590px;
  padding: 34px 0 28px;
  color: #fff;
}

.hero-copy {
  padding: 20px 0;
}

.eyebrow,
.category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.eyebrow::before,
.category::before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 6px 0 14px;
  color: #fff;
  font-size: 62px;
  font-weight: 900;
  line-height: 1.08;
}

.hero-lead {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 19px;
}

.search-bar,
.filters {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-bar {
  position: relative;
  max-width: 740px;
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  padding: 8px;
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.22);
}

.search-icon {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-inline-start: 8px;
  border: 3px solid var(--brand);
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 3px;
  inset: 13px auto auto -6px;
  border-radius: 999px;
  background: var(--brand);
  transform: rotate(-45deg);
}

.search-bar input,
.filters input,
.filters select,
.admin-form input,
.admin-form select,
.admin-form textarea,
.login-card input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  padding: 11px 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.search-bar input {
  border: 0;
  background: transparent;
}

.search-bar input:focus,
.filters input:focus,
.filters select:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus,
.login-card input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.13);
}

.search-bar input:focus {
  box-shadow: none;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-stats span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 11px;
}

.hero-stats strong {
  color: #fff;
  font-weight: 900;
}

.hero-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--text);
  box-shadow: var(--shadow);
}

.hero-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
}

.hero-panel-top span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.hero-panel-top strong {
  border-radius: var(--radius);
  background: var(--surface-ink);
  color: #fff;
  padding: 6px 10px;
  font-size: 13px;
}

.spotlight-image {
  display: grid;
  place-items: center;
  min-height: 330px;
  background:
    linear-gradient(135deg, rgba(238, 245, 240, 0.92), rgba(255, 241, 207, 0.7)),
    #fff;
}

.spotlight-image img {
  width: 100%;
  height: 330px;
  object-fit: contain;
  padding: 38px;
  filter: drop-shadow(0 22px 18px rgba(15, 29, 34, 0.16));
  transition: transform 0.3s ease;
}

.hero-panel:hover img,
.deal-card:hover .deal-image img {
  transform: scale(1.04);
}

.spotlight-body {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 18px;
}

.spotlight-body span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.spotlight-body strong {
  display: block;
  margin-top: 4px;
  color: var(--surface-ink);
  font-size: 21px;
  line-height: 1.45;
}

.spotlight-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.spotlight-price b {
  direction: ltr;
  color: var(--brand-deep);
  font-size: 24px;
}

.spotlight-price a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: var(--radius);
  background: var(--soft-green);
  color: var(--brand-deep);
  font-weight: 900;
  padding: 8px 12px;
}

.category-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-top: 2px;
  padding: 12px 0 28px;
  scrollbar-width: thin;
}

.category-strip a {
  flex: 0 0 auto;
  border-color: rgba(15, 29, 34, 0.1);
  background: rgba(255, 255, 255, 0.86);
  white-space: nowrap;
}

.section,
.page-head {
  padding: 34px 0;
}

.section-head,
.page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.section h2,
.page-head h1,
.prose h2 {
  margin: 0;
  color: var(--surface-ink);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.25;
}

.page-head {
  align-items: center;
  min-height: 250px;
  color: #fff;
}

.page-head h1 {
  color: #fff;
}

.page-head p {
  max-width: 620px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.filters {
  min-width: min(560px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  padding: 10px;
  box-shadow: var(--shadow-soft);
}

.filters select {
  flex: 0 0 190px;
}

.text-link,
.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--brand-deep);
  font-weight: 900;
}

.text-link::after,
.card-link::after {
  content: "";
  width: 9px;
  height: 9px;
  border-block-start: 2px solid currentColor;
  border-inline-start: 2px solid currentColor;
  transform: rotate(-45deg);
}

.text-link:hover,
.card-link:hover {
  color: var(--coral);
}

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

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

.deal-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 29, 34, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.deal-card:hover {
  border-color: rgba(15, 118, 110, 0.32);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.deal-image {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 38%;
  min-height: 238px;
  border-inline-end: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(238, 245, 240, 0.92), rgba(255, 241, 207, 0.62)),
    #fff;
}

.featured-grid .deal-card {
  min-height: 300px;
}

.deal-image img {
  width: 100%;
  height: 100%;
  max-height: 250px;
  object-fit: contain;
  padding: 18px;
  filter: drop-shadow(0 14px 12px rgba(15, 29, 34, 0.12));
  transition: transform 0.28s ease;
}

.image-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 180px;
  color: var(--brand-deep);
  font-weight: 900;
}

.image-placeholder::before {
  content: "";
  position: absolute;
  width: 72px;
  height: 48px;
  border: 3px solid rgba(15, 118, 110, 0.22);
  border-radius: var(--radius);
  transform: rotate(-8deg);
}

.image-placeholder.large {
  min-height: 420px;
}

.discount {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  border-radius: var(--radius);
  background: var(--coral);
  color: #fff;
  padding: 5px 10px;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(216, 79, 53, 0.24);
}

.deal-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 17px;
}

.deal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.deal-meta .category,
.product-info .category {
  color: var(--brand);
}

.rating {
  flex: 0 0 auto;
  border-radius: var(--radius);
  background: var(--soft-gold);
  color: #7c4f08;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 8px;
}

.deal-body h3 {
  margin: 7px 0 8px;
  color: var(--surface-ink);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.45;
}

.deal-body p,
.summary,
.site-footer p,
.note,
.empty-state p {
  color: var(--muted);
}

.deal-body p {
  display: -webkit-box;
  min-height: 52px;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: auto;
  padding-top: 14px;
}

.price-row strong {
  color: var(--brand-deep);
  font-size: 22px;
  font-weight: 900;
}

.price-row del {
  color: var(--muted);
  font-weight: 700;
}

.card-link {
  align-self: flex-start;
  min-height: 0;
  margin-top: 12px;
}

.deal-show {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: start;
  padding: 42px 0 30px;
}

.product-media,
.product-info,
.prose {
  border: 1px solid rgba(15, 29, 34, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.product-media {
  position: sticky;
  top: 104px;
  display: grid;
  place-items: center;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(238, 245, 240, 0.95), rgba(255, 241, 207, 0.76)),
    #fff;
  padding: 28px;
}

.product-media img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 20px 18px rgba(15, 29, 34, 0.14));
}

.product-discount {
  z-index: 2;
}

.product-info {
  padding: 28px;
}

.product-info h1 {
  margin: 8px 0 12px;
  color: var(--surface-ink);
  font-size: 42px;
  font-weight: 900;
  line-height: 1.22;
}

.price-row.big {
  margin: 22px 0 6px;
  padding-top: 0;
}

.price-row.big strong {
  font-size: 34px;
}

.highlights {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0;
  list-style: none;
}

.highlights li {
  position: relative;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: var(--radius);
  background: var(--soft-green);
  padding: 11px 42px 11px 12px;
  font-weight: 800;
}

.highlights li::before {
  content: "";
  position: absolute;
  inset-block-start: 17px;
  inset-inline-start: 16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(15, 118, 110, 0.12);
}

.action-panel {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.buy-button {
  min-width: 220px;
}

.prose {
  max-width: 900px;
  padding: 24px;
}

.prose p:last-child {
  margin-bottom: 0;
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  padding: 34px;
  text-align: center;
}

.empty-state strong {
  display: block;
  color: var(--surface-ink);
  font-size: 24px;
}

nav[role="navigation"] {
  margin-top: 24px;
}

nav[role="navigation"] > div:first-child {
  color: var(--muted);
}

nav[role="navigation"] svg {
  width: 20px;
  height: 20px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 52px;
  border-top: 1px solid rgba(15, 29, 34, 0.14);
  padding: 28px 0 36px;
}

.site-footer p {
  max-width: 620px;
  margin: 12px 0 0;
}

.footer-brand .brand-logo-wrap {
  width: 46px;
  height: 46px;
}

.reveal {
  opacity: 1;
  transform: none;
}

html.can-reveal .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease var(--delay, 0ms), transform 0.55s ease var(--delay, 0ms);
}

html.can-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.login-body,
.admin-body {
  min-height: 100vh;
  background: #f4f7fb;
  color: var(--text);
  font-family: var(--font);
}

.login-body {
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card,
.admin-panel,
.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.login-card {
  width: min(430px, 100%);
  padding: 28px;
}

.login-card label,
.admin-form label {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  color: var(--surface-ink);
  font-weight: 800;
}

.check-row {
  display: flex !important;
  grid-column: auto;
  align-items: center;
  gap: 8px;
}

.check-row input {
  width: auto;
}

.error-box,
.status-message {
  margin: 16px 0;
  border-radius: var(--radius);
  padding: 12px 14px;
}

.error-box {
  background: #fce7e7;
  color: #8f1f1f;
}

.error-box ul {
  margin: 8px 0 0;
  padding-inline-start: 22px;
}

.status-message {
  background: var(--soft-green);
  color: var(--brand-deep);
}

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

.admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100vh;
  padding: 22px;
  background: var(--surface-ink);
  color: #fff;
}

.admin-sidebar .brand strong,
.admin-sidebar .brand small {
  color: #fff;
}

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

.admin-sidebar nav a,
.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  padding: 10px 12px;
}

.admin-sidebar nav a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.ghost-button {
  color: var(--surface-ink);
  background: #fff;
  box-shadow: none;
}

.ghost-button:hover {
  background: var(--surface-mist);
  color: var(--surface-ink);
  box-shadow: none;
}

.admin-sidebar .ghost-button {
  width: 100%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.admin-sidebar .ghost-button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.admin-main {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.admin-head h1 {
  margin: 0;
  color: var(--surface-ink);
  font-size: 34px;
  font-weight: 900;
}

.admin-head p {
  color: var(--muted);
}

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

.stat,
.admin-panel {
  padding: 18px;
}

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

.stat strong {
  display: block;
  margin-top: 8px;
  color: var(--surface-ink);
  font-size: 30px;
}

.admin-panel {
  margin-top: 18px;
}

.inline-editor {
  min-width: 220px;
}

.inline-editor summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--surface-ink);
  font-weight: 900;
  padding: 8px 12px;
  cursor: pointer;
}

.compact-form {
  min-width: min(760px, 82vw);
  margin: 8px 0 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-mist);
}

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

.grid-form .wide {
  grid-column: 1 / -1;
}

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

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

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: right;
  vertical-align: top;
}

td small {
  display: block;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  .deal-show {
    grid-template-columns: 1fr;
  }

  .product-media {
    position: relative;
    top: auto;
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 24px, 680px);
  }

  .site-header,
  .site-footer,
  .section-head,
  .page-head,
  .filters,
  .search-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .site-header {
    position: relative;
    top: auto;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding-top: 8px;
  }

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

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

  .spotlight-image img {
    height: 280px;
  }

  .deal-grid,
  .featured-grid,
  .stats-grid,
  .grid-form {
    grid-template-columns: 1fr;
  }

  .deal-card {
    flex-direction: column;
  }

  .deal-image {
    flex-basis: auto;
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
    min-height: 250px;
  }

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

  .price-row.big strong {
    font-size: 28px;
  }

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

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

@media (max-width: 520px) {
  .shell {
    width: calc(100% - 20px);
  }

  .brand-logo-wrap,
  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand small {
    display: none;
  }

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

  .hero-copy h1 {
    font-size: 36px;
  }

  .section h2,
  .page-head h1,
  .prose h2 {
    font-size: 28px;
  }

  .spotlight-image img {
    height: 250px;
    padding: 24px;
  }

  .product-media {
    min-height: 360px;
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
