:root {
  --ink: #111111;
  --muted: #68625c;
  --line: #ded8cf;
  --paper: #fbf7ef;
  --panel: #ffffff;
  --charcoal: #202326;
  --accent: #8f7340;
  --gold: #b8924d;
  --rose: #d7a2a6;
  --shadow: 0 20px 60px rgba(17, 17, 17, 0.12);
  --radius: 8px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.72), rgba(251,247,239,0.9) 38%, rgba(241,244,240,0.82)),
    var(--paper);
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 247, 239, 0.92);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  font-size: 1.35rem;
}

.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 13px;
  border-radius: var(--radius);
  color: #34312d;
  font-size: 0.95rem;
  font-weight: 720;
}

.nav-links a:hover,
.nav-links a.active {
  background: #111111;
  color: #fffaf0;
}

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

.cart-pill {
  min-width: 44px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--panel);
  font-weight: 850;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 42px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--panel);
  font-size: 1.3rem;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fffaf0;
  font-weight: 800;
  cursor: pointer;
}

.button {
  text-align: center;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.gold {
  border-color: #2f7d50;
  background: #2f7d50;
  color: #ffffff;
  font-weight: 500;
}

.button.gold:hover {
  border-color: #256a43;
  background: #256a43;
}

.payment-status {
  width: min(var(--max), calc(100% - 32px));
  margin: 18px auto 0;
  padding: 14px 16px;
  border: 1px solid rgba(47, 125, 80, 0.24);
  border-radius: var(--radius);
  background: rgba(47, 125, 80, 0.08);
  color: #244d36;
  display: grid;
  gap: 3px;
}

.payment-status strong {
  font-weight: 650;
}

.payment-status span {
  color: #5f695f;
}

.payment-status.cancelled {
  border-color: rgba(184, 146, 77, 0.32);
  background: rgba(184, 146, 77, 0.1);
  color: #6b5326;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.product-card,
.portfolio-card,
.card,
.contact-card,
.cart-panel {
  content-visibility: auto;
  contain-intrinsic-size: 420px;
}

.hero {
  width: min(1360px, calc(100% - 32px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(420px, 1.14fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: 42px 0 70px;
}

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

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.5vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 1.2rem;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

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

.hero-media {
  position: relative;
}

.hero-media img,
.feature-image img,
.banner-image img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-media img {
  aspect-ratio: 1.1 / 1;
}

.hero-badge {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: min(270px, calc(100% - 40px));
  padding: 18px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.14);
}

.hero-badge strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1rem;
}

.hero-badge span,
.mini {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.stat {
  padding: 18px;
  border-top: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: 1.6rem;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.services-showcase {
  display: grid;
  grid-template-columns: minmax(460px, 1.08fr) minmax(420px, 0.92fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
}

.service-feature-image {
  min-height: 520px;
}

.service-feature-image img {
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

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

.section-head p {
  max-width: 520px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card,
.product-card,
.contact-card,
.cart-panel {
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 36px rgba(17, 17, 17, 0.06);
}

.card {
  padding: 24px;
}

.card p,
.product-card p,
.contact-card p,
.footer p,
.hours li {
  color: var(--muted);
  line-height: 1.65;
}

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

.product-thumb {
  height: 255px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffffff, #f3eee4);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  overflow: hidden;
}

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

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.product-info p {
  flex: 1;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}

.price {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(184, 146, 77, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.72);
  color: #2e2a25;
  font-size: 0.98rem;
  font-weight: 650;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

.tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  color: var(--accent);
  background: #ffffff;
  font-size: 0.78rem;
  font-weight: 760;
}

.banner {
  min-height: 430px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: stretch;
  padding: 30px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: var(--radius);
  background: #151515;
  color: #fffaf0;
  overflow: hidden;
}

.banner .lead {
  color: rgba(255, 250, 240, 0.74);
}

.banner .button.secondary {
  border-color: rgba(255, 250, 240, 0.58);
  color: #fffaf0;
}

.banner-image img {
  height: 100%;
}

.quote-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius);
  background: #111111;
  color: #fffaf0;
}

.quote-strip p {
  margin: 0;
  color: rgba(255, 250, 240, 0.72);
}

.page-hero {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0 38px;
}

.page-hero .lead {
  max-width: 780px;
}

.contact-layout,
.store-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 22px;
  align-items: start;
}

.checkout-layout {
  grid-template-columns: 380px 1fr;
}

.checkout-card {
  display: grid;
  gap: 18px;
}

.confirmation-hero {
  padding: 42px 0 22px;
}

.confirmation-hero h1 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 1;
}

.confirmation-hero .lead {
  max-width: 620px;
  font-size: 1rem;
}

.confirmation-layout {
  padding-top: 18px;
}

.confirmation-card {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  padding: 24px;
}

.confirmation-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
}

.confirmation-head h2 {
  margin: 2px 0 0;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.confirmation-mark {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1.5px solid #2f7d50;
  border-radius: 999px;
  color: #2f7d50;
  background: rgba(47, 125, 80, 0.06);
}

.confirmation-mark::before {
  content: "";
  width: 18px;
  height: 9px;
  border-left: 3px solid #2f7d50;
  border-bottom: 3px solid #2f7d50;
  transform: rotate(-45deg) translate(1px, -1px);
}

.confirmation-summary,
.confirmation-lines,
.confirmation-meta {
  display: grid;
  gap: 12px;
}

.confirmation-meta {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.confirmation-meta p {
  margin: 0;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  color: var(--muted);
}

.confirmation-meta strong {
  color: #2e2a25;
  font-weight: 600;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.confirmation-actions .button {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.94rem;
  font-weight: 500;
}

.email-status {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid rgba(184, 146, 77, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.7);
  color: #4a4034;
}

.email-status strong {
  font-weight: 620;
}

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

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

.payment-method {
  min-height: 92px;
  display: grid;
  place-items: center;
  gap: 8px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.72);
  color: #2e2a25;
  font-weight: 450;
  cursor: pointer;
}

.payment-method.active,
.payment-method:hover {
  border-color: #2f7d50;
  box-shadow: 0 12px 30px rgba(47, 125, 80, 0.12);
}

.payment-logo {
  display: inline-flex;
  width: auto;
  min-height: 31px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid #111111;
  border-radius: 5px;
  background: #ffffff;
  color: #111111;
  box-shadow: none;
}

.payment-logo svg {
  width: 16px;
  height: auto;
  display: block;
}

.card-logo {
  border: 0;
  padding: 0;
  background: transparent;
  gap: 7px;
}

.visa-word {
  color: #26338c;
  font-size: 1.18rem;
  font-style: italic;
  font-weight: 850;
  letter-spacing: -0.06em;
}

.mastercard-mark {
  position: relative;
  display: inline-flex;
  width: 31px;
  height: 19px;
  align-items: center;
}

.mastercard-mark i {
  position: absolute;
  width: 19px;
  height: 19px;
  border-radius: 999px;
}

.mastercard-mark i:first-child {
  left: 0;
  background: #eb001b;
}

.mastercard-mark i:last-child {
  right: 0;
  background: #f79e1b;
  mix-blend-mode: multiply;
}

.apple-pay-logo {
  font-weight: 750;
}

.apple-pay-logo svg {
  fill: #111111;
}

.google-pay-logo {
  border-radius: 999px;
  border: 0;
  padding: 0;
  font-weight: 650;
}

.google-pay-logo svg {
  width: 92px;
  height: auto;
}

.checkout-form {
  margin-top: 4px;
}

.size-total {
  color: var(--muted);
  font-size: 0.9rem;
}

.size-total strong {
  color: #2e2a25;
  font-weight: 650;
}

.dimension-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.contact-card,
.cart-panel {
  padding: 24px;
}

.contact-card a {
  color: #8c8780;
  font-weight: 450;
}

.contact-value {
  display: inline-block;
  margin-top: 4px;
  color: #8c8780;
  font-weight: 450;
  line-height: 1.55;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.social-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 50%;
  background: #fffaf0;
  color: #2e2a25;
  font-size: 0.78rem;
  font-weight: 720;
}

.social-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social-icon:hover {
  border-color: var(--gold);
  color: #111111;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.08);
}

.store-layout .product-meta {
  align-items: flex-start;
  flex-direction: column;
}

.store-layout .product-meta .button {
  width: 100%;
}

.quote-details {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.quote-details textarea {
  min-height: 96px;
}

.quote-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}

.quote-actions .button {
  width: 100%;
}

.hidden-form {
  display: none;
}

.qty-control {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(76px, auto) minmax(118px, 1fr);
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.qty-control.locked input {
  background: rgba(17, 17, 17, 0.045);
  color: #7d7468;
  cursor: not-allowed;
}

.qty-control input {
  width: 100%;
  box-sizing: border-box;
  min-height: 40px;
  padding: 8px 10px;
  text-align: center;
}

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

.portfolio-card {
  display: grid;
  grid-template-rows: 250px 1fr;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 36px rgba(17, 17, 17, 0.06);
}

.portfolio-logo-panel {
  position: relative;
  min-height: 250px;
  display: grid;
  place-items: center;
  padding: 30px;
  background:
    radial-gradient(circle at 25% 18%, rgba(255,255,255,0.95), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(247,240,223,0.92)),
    var(--panel);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.portfolio-logo-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
}

.portfolio-logo-panel img {
  position: relative;
  z-index: 1;
  max-width: 78%;
  max-height: 135px;
  object-fit: contain;
  filter: saturate(0.95) contrast(1.02);
}

.portfolio-logo-panel.logo-circle img {
  width: 148px;
  height: 148px;
  max-width: none;
  max-height: none;
  padding: 10px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 50%;
  background: #ffffff;
  object-fit: cover;
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.1);
}

.portfolio-copy {
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.portfolio-copy p {
  flex: 1;
  color: var(--muted);
  line-height: 1.7;
}

.portfolio-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.portfolio-breakdown span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(184, 146, 77, 0.32);
  border-radius: 999px;
  color: #4b4338;
  background: rgba(255, 250, 240, 0.7);
  font-size: 0.82rem;
  font-weight: 650;
}

.hours {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: #3f3a34;
  font-size: 0.95rem;
  font-weight: 560;
}

.field-hint {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 450;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  font-weight: 430;
}

input[type="file"] {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.9rem;
}

input[type="file"]::file-selector-button {
  min-height: 38px;
  margin-right: 12px;
  padding: 0 14px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: var(--radius);
  background: #111111;
  color: #fffaf0;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 650;
  cursor: pointer;
}

.file-upload {
  gap: 7px;
  padding: 14px;
  border: 1px dashed rgba(184, 146, 77, 0.5);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.62);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

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

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.cart-line strong {
  color: #2e2a25;
  font-weight: 620;
}

.cart-line button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin: 18px 0;
  color: #2e2a25;
  font-weight: 650;
  font-size: 1.06rem;
}

.footer {
  margin-top: 50px;
  background: #111111;
  color: #fffaf0;
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
  padding: 54px 0;
}

.footer a {
  display: block;
  margin: 9px 0;
  color: rgba(255, 250, 240, 0.78);
}

.footer .brand {
  color: #fffaf0;
}

.footer .brand-logo {
  background: #f7f0df;
}

.copyright {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 250, 240, 0.12);
  color: rgba(255, 250, 240, 0.6);
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 18px;
    background: rgba(251, 247, 239, 0.98);
    border-bottom: 1px solid rgba(17, 17, 17, 0.1);
    box-shadow: 0 24px 44px rgba(17, 17, 17, 0.12);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    min-height: 46px;
    display: flex;
    align-items: center;
  }

  .hero,
  .split,
  .services-showcase,
  .banner,
  .contact-layout,
  .store-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .service-feature-image,
  .service-feature-image img {
    min-height: 390px;
  }

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

  .hero-media img {
    max-height: 560px;
  }

  .banner {
    min-height: 0;
  }

  .banner-image img {
    max-height: 440px;
  }

  .cards-3,
  .cards-2,
  .cards-4,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  body {
    background: var(--paper);
  }

  .nav {
    width: min(100% - 24px, var(--max));
    min-height: 74px;
    gap: 10px;
  }

  .brand {
    font-size: 1.12rem;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .cart-pill,
  .menu-toggle {
    width: 40px;
    min-width: 40px;
    height: 40px;
  }

  .product-thumb {
    height: clamp(220px, 68vw, 320px);
  }

  .service-feature-image,
  .service-feature-image img {
    min-height: 300px;
  }

  .nav-links {
    top: 74px;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
    line-height: 1.04;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.68;
  }

  .section,
  .page-hero {
    width: min(100% - 24px, var(--max));
    padding: 48px 0;
  }

  .hero {
    width: min(100% - 24px, 1360px);
    padding: 28px 0 48px;
  }

  .hero-actions,
  .inline-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .inline-actions .button {
    width: 100%;
  }

  .stats {
    gap: 4px;
  }

  .stat {
    padding: 14px 0;
  }

  .stat strong {
    font-size: 1.3rem;
  }

  .section-head {
    margin-bottom: 22px;
  }

  .cards-3,
  .cards-2,
  .cards-4,
  .portfolio-grid,
  .stats,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .portfolio-logo-panel {
    min-height: 220px;
  }

  .portfolio-logo-panel.logo-circle img {
    width: 132px;
    height: 132px;
  }

  .card,
  .product-info,
  .contact-card,
  .cart-panel,
  .portfolio-copy {
    padding: 18px;
  }

  .quote-strip,
  .banner {
    padding: 22px;
  }

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

  .payment-methods {
    grid-template-columns: 1fr;
  }

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

  .confirmation-meta p {
    grid-template-columns: 1fr;
    gap: 3px;
  }

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

  .hours li {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .section-head,
  .quote-strip {
    align-items: start;
    flex-direction: column;
  }

  .hero-badge {
    position: static;
    width: 100%;
    margin-top: 12px;
  }
}

@media (max-width: 390px) {
  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .nav {
    width: min(100% - 18px, var(--max));
  }

  .section,
  .page-hero,
  .hero {
    width: min(100% - 18px, var(--max));
  }

  .button,
  button.button {
    padding: 0 14px;
    font-size: 0.92rem;
  }
}

.policy-layout {
  display: grid;
  gap: 18px;
  padding-top: 30px;
}

.policy-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px;
}

.policy-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.policy-list {
  display: grid;
  gap: 12px;
}

.policy-list p {
  margin: 0;
}

.policy-list strong {
  color: #2e2a25;
  font-weight: 650;
}

.policy-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
/* Premium policy page */
.policy-hero {
  display: grid;
  gap: 12px;
  padding: clamp(42px, 7vw, 78px) 0 clamp(22px, 4vw, 38px);
}

.policy-hero h1 {
  max-width: 920px;
  margin-bottom: 8px;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 1.02;
}

.policy-hero .lead {
  max-width: 720px;
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  line-height: 1.72;
}

.policy-layout {
  max-width: 980px;
  gap: 16px;
  padding-top: 24px;
}

.policy-card {
  position: relative;
  width: 100%;
  max-width: none;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.055);
}

.policy-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), rgba(184, 146, 77, 0.18));
  border-radius: var(--radius) 0 0 var(--radius);
}

.policy-card .mini {
  margin-bottom: 12px;
}

.policy-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.08;
}

.policy-card > p {
  max-width: 790px;
  margin-bottom: 18px;
}

.policy-list {
  gap: 10px;
}

.policy-list p {
  padding-top: 10px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  line-height: 1.68;
}

.policy-list strong {
  font-weight: 600;
}

@media (max-width: 620px) {
  .policy-hero {
    padding-top: 34px;
    padding-bottom: 10px;
  }

  .policy-hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.35rem);
    line-height: 1.05;
  }

  .policy-layout {
    padding-top: 18px;
  }

  .policy-card {
    padding: 20px;
  }

  .policy-card h2 {
    font-size: 1.55rem;
  }

  .policy-contact .button {
    width: 100%;
  }
}
/* Align policy hero with policy cards */
.policy-hero {
  width: min(980px, calc(100% - 32px));
}

.policy-hero h1,
.policy-hero .lead {
  max-width: 100%;
}

@media (max-width: 620px) {
  .policy-hero {
    width: min(100% - 24px, 980px);
  }
}
/* Widen policy content to match main pages */
.policy-hero,
.policy-layout {
  width: min(var(--max), calc(100% - 32px));
  max-width: var(--max);
}

.policy-hero h1 {
  max-width: 1040px;
}

.policy-hero .lead {
  max-width: 980px;
}

@media (max-width: 620px) {
  .policy-hero,
  .policy-layout {
    width: min(100% - 24px, var(--max));
  }
}
/* Mobile overflow fix for policy page */
@media (max-width: 620px) {
  .policy-hero,
  .section.policy-layout {
    width: calc(100% - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    overflow-x: hidden;
  }

  .policy-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .policy-hero h1,
  .policy-hero .lead,
  .policy-card,
  .policy-card p,
  .policy-list p,
  .policy-contact,
  .policy-contact .button {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .policy-contact {
    display: grid;
    grid-template-columns: 1fr;
  }

  .policy-contact .button {
    width: 100%;
    height: auto;
    min-height: 46px;
    padding: 12px 14px;
    white-space: normal;
  }
}
/* Strong mobile policy containment */
@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  main,
  .policy-hero,
  .section.policy-layout {
    max-width: 100vw !important;
    overflow-x: clip;
  }

  .policy-hero,
  .section.policy-layout {
    width: calc(100vw - 24px) !important;
    margin-left: 12px !important;
    margin-right: 12px !important;
  }

  .policy-hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.15rem, 10.2vw, 3.05rem);
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  .policy-hero .lead {
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.62;
    overflow-wrap: break-word;
  }

  .policy-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 18px 16px;
    contain: layout paint;
  }

  .policy-card h2 {
    font-size: clamp(1.45rem, 7vw, 1.85rem);
    line-height: 1.12;
  }

  .policy-card p,
  .policy-list p {
    width: 100%;
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.62;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
  }
}
/* Site-wide mobile responsiveness pass */
@media (max-width: 920px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  main,
  .site-header,
  .footer {
    max-width: 100vw;
    overflow-x: clip;
  }

  .nav,
  .section,
  .page-hero,
  .hero {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero,
  .split,
  .services-showcase,
  .banner,
  .contact-layout,
  .store-layout,
  .checkout-layout,
  .grid,
  .cards-2,
  .cards-3,
  .cards-4,
  .portfolio-grid,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr) !important;
    min-width: 0;
  }

  .product-card,
  .portfolio-card,
  .card,
  .contact-card,
  .cart-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    content-visibility: visible;
    contain-intrinsic-size: auto;
    overflow: hidden;
  }

  .hero-media,
  .feature-image,
  .banner-image,
  .product-thumb,
  .portfolio-logo-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .hero-media img,
  .feature-image img,
  .banner-image img,
  .product-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .product-thumb {
    aspect-ratio: 16 / 11;
    height: auto !important;
    min-height: 0;
    display: block;
    background: #f3eee4;
  }

  .hero-media,
  .feature-image,
  .banner-image {
    aspect-ratio: 4 / 3;
  }

  .hero-media img,
  .feature-image img,
  .banner-image img {
    aspect-ratio: 4 / 3;
    max-height: none;
  }

  .service-feature-image,
  .service-feature-image img {
    min-height: 0 !important;
  }

  h1,
  h2,
  h3,
  p,
  .lead,
  .tag,
  .price,
  label,
  input,
  textarea,
  select,
  .button {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .product-info,
  .product-meta,
  .dimension-controls,
  .qty-control,
  .quote-details,
  .quote-actions,
  .cart-line,
  .hours li {
    min-width: 0;
    max-width: 100%;
  }

  .qty-control {
    grid-template-columns: minmax(82px, auto) minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .page-hero {
    padding: 38px 0 28px;
  }

  .page-hero h1,
  .hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.45rem);
    line-height: 1.06;
  }

  .section {
    padding: 44px 0;
  }

  .store-layout {
    gap: 18px;
  }

  .product-info,
  .contact-card,
  .cart-panel,
  .portfolio-copy,
  .card {
    padding: 18px;
  }

  .product-meta,
  .quote-actions,
  .hero-actions,
  .inline-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-meta .button,
  .quote-actions .button,
  .hero-actions .button,
  .inline-actions .button {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .nav,
  .section,
  .page-hero,
  .hero {
    width: calc(100vw - 18px) !important;
    max-width: calc(100vw - 18px) !important;
  }
}
/* Mobile menu fix after overflow pass */
@media (max-width: 920px) {
  .site-header,
  .nav {
    overflow: visible !important;
  }

  .nav-links {
    z-index: 100;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }

  .nav-links.open {
    display: flex !important;
  }

  .nav-actions,
  .menu-toggle,
  .cart-pill {
    position: relative;
    z-index: 110;
  }
}
/* Admin dashboard */
.admin-page {
  min-height: 100vh;
}

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

.admin-login {
  min-height: calc(100vh - 70px);
  display: grid;
  align-content: center;
  gap: 24px;
}

.admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 750;
}

.admin-login-card {
  max-width: 620px;
  padding: clamp(24px, 4vw, 44px);
}

.admin-login-card h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

.admin-dashboard {
  display: grid;
  gap: 24px;
}

.admin-topbar,
.admin-section-head,
.admin-product-head,
.admin-product-meta,
.admin-product-actions,
.admin-form-actions,
.admin-actions,
.admin-checks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.admin-editor {
  position: sticky;
  top: 102px;
}

.admin-two,
.admin-three {
  display: grid;
  gap: 12px;
}

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

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

.admin-preview {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(17, 17, 17, 0.1);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: #2f7d50;
  font-size: 0.92rem;
}

.form-status.error {
  color: #9a342d;
}

.admin-products {
  display: grid;
  gap: 16px;
}

.admin-product-list {
  display: grid;
  gap: 14px;
}

.admin-product-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  padding: 14px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.055);
}

.admin-product-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius);
}

.admin-product-card p {
  color: var(--muted);
  line-height: 1.55;
}

.admin-product-meta {
  justify-content: flex-start;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .admin-shell {
    width: calc(100vw - 24px);
  }

  .admin-grid,
  .admin-two,
  .admin-three,
  .admin-product-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-editor {
    position: static;
  }

  .admin-product-card img {
    height: auto;
    aspect-ratio: 16 / 10;
  }
}
/* Admin login nav button */
.admin-login-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: #2e2a25;
  font-size: 0.92rem;
  font-weight: 650;
}

.admin-login-link:hover {
  border-color: #111111;
  background: #111111;
  color: #fffaf0;
}

@media (max-width: 920px) {
  .admin-login-link {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.88rem;
  }
}

@media (max-width: 390px) {
  .admin-login-link {
    padding: 0 10px;
    font-size: 0.82rem;
  }
}
/* Refined admin login placement */
.admin-login-link {
  min-width: 128px;
  min-height: 42px;
  padding: 0 20px;
}

.mobile-admin-link {
  display: none !important;
}

@media (max-width: 920px) {
  .nav-actions > .admin-login-link {
    display: none;
  }

  .mobile-admin-link {
    display: flex !important;
  }
}
/* Admin visibility and clean layout fix */
.admin-login[hidden],
.admin-dashboard[hidden] {
  display: none !important;
}

.admin-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.82), rgba(251,247,239,0.94) 45%, rgba(242,239,232,0.86)),
    var(--paper);
}

.admin-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  padding: clamp(28px, 5vw, 66px) 0 80px;
}

.admin-login {
  width: min(520px, 100%);
  min-height: auto;
  align-content: start;
  margin: 0 auto;
  padding-top: clamp(18px, 5vw, 46px);
}

.admin-login .admin-brand {
  margin-bottom: 18px;
}

.admin-login-card {
  width: 100%;
  max-width: none;
  padding: clamp(24px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.86);
}

.admin-login-card .eyebrow {
  margin-bottom: 14px;
  font-size: 0.7rem;
}

.admin-login-card h1 {
  max-width: 360px;
  margin-bottom: 12px;
  font-size: clamp(2.3rem, 5.6vw, 3.45rem);
  line-height: 0.98;
}

.admin-login-card .lead {
  max-width: 390px;
  margin-bottom: 22px;
  font-size: 0.94rem;
  line-height: 1.6;
}

.admin-login-card form {
  gap: 12px;
}

.admin-login-card label {
  font-size: 0.82rem;
  font-weight: 560;
}

.admin-login-card input {
  min-height: 42px;
  padding: 10px 12px;
}

.admin-login-card .button {
  width: 100%;
  min-height: 42px;
  margin-top: 2px;
}

.admin-dashboard {
  gap: 28px;
}

.admin-topbar {
  padding-bottom: 18px;
}

.admin-grid {
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  gap: 22px;
}

.admin-editor h2,
.admin-section-head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

@media (max-width: 620px) {
  .admin-shell {
    width: calc(100vw - 24px);
    padding-top: 24px;
  }

  .admin-login {
    width: 100%;
    padding-top: 18px;
  }

  .admin-login-card h1 {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }

  .admin-topbar,
  .admin-actions,
  .admin-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-actions .button,
  .admin-form-actions .button {
    width: 100%;
  }
}
/* Final nav/admin polish */
.nav-actions > .admin-login-link {
  min-width: 134px;
  border-color: #111111;
  background: #111111;
  color: #fffaf0;
  font-weight: 760;
}

.nav-actions > .admin-login-link:hover,
.nav-actions > .admin-login-link.active {
  border-color: #111111;
  background: #111111;
  color: #fffaf0;
}

.admin-page .site-header {
  display: block;
}

.admin-page .admin-shell {
  min-height: calc(100vh - 82px);
}

.admin-page .admin-login {
  padding-top: clamp(34px, 7vw, 86px);
}

@media (max-width: 920px) {
  .nav .nav-actions > a.admin-login-link,
  .nav-actions > a.admin-login-link,
  a.admin-login-link {
    display: none !important;
  }

  .nav-links .mobile-admin-link {
    display: flex !important;
  }
}

@media (max-width: 620px) {
  .admin-page .admin-shell {
    min-height: calc(100vh - 74px);
  }

  .admin-page .admin-login {
    padding-top: 34px;
  }
}
/* Admin product manager redesign */
body.modal-open {
  overflow: hidden;
}

.admin-manager-hero {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 8px;
  background: #111111;
  color: #fffaf0;
  box-shadow: 0 22px 52px rgba(17, 17, 17, 0.14);
}

.admin-manager-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.admin-manager-hero p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 250, 240, 0.72);
  line-height: 1.6;
}

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

.admin-manager-hero .button.secondary {
  border-color: rgba(255, 250, 240, 0.3);
  color: #fffaf0;
}

.admin-filter-bar {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(170px, 220px) minmax(160px, 210px) auto;
  align-items: end;
  gap: 12px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 34px rgba(17, 17, 17, 0.06);
}

.admin-filter-bar label {
  gap: 6px;
}

.admin-filter-bar label span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  text-transform: uppercase;
}

.admin-filter-bar input,
.admin-filter-bar select {
  min-height: 46px;
}

.admin-filter-bar strong {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.admin-products {
  width: min(1080px, 100%);
  margin: 0 auto;
}

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

.admin-catalog-card {
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 36px rgba(17, 17, 17, 0.06);
}

.admin-catalog-image {
  aspect-ratio: 16 / 12;
  overflow: hidden;
  background: #f2eee5;
}

.admin-catalog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-catalog-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.admin-catalog-top,
.admin-catalog-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-catalog-top {
  justify-content: space-between;
}

.admin-catalog-body h3 {
  margin: 0;
  font-size: 1.12rem;
}

.admin-catalog-body p {
  min-height: 52px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.admin-catalog-meta {
  color: var(--muted);
  font-size: 0.86rem;
}

.admin-catalog-card .button {
  width: 100%;
  margin-top: 4px;
}

.admin-empty {
  padding: 34px;
}

.admin-modal[hidden] {
  display: none !important;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 22px;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.72);
}

.admin-modal-panel {
  position: relative;
  width: min(880px, 100%);
  max-height: min(90vh, 820px);
  overflow: auto;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.admin-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #f1eee7;
  color: #111111;
  font-size: 1.6rem;
  cursor: pointer;
}

.admin-modal-panel h2 {
  max-width: 520px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.admin-modal-grid {
  display: grid;
  grid-template-columns: minmax(230px, 320px) minmax(0, 1fr);
  gap: 26px;
}

.admin-modal-media {
  display: grid;
  align-content: start;
  gap: 12px;
}

.admin-modal-media .admin-preview {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

.admin-upload-button {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #111111;
  color: #fffaf0;
  font-weight: 700;
  cursor: pointer;
}

.admin-upload-button input {
  display: none;
}

.admin-modal-fields {
  display: grid;
  gap: 12px;
}

.admin-modal-footer {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}

.button.danger {
  border-color: rgba(154, 52, 45, 0.28);
  background: transparent;
  color: #9a342d;
}

@media (max-width: 920px) {
  .admin-manager-hero,
  .admin-filter-bar,
  .admin-products {
    width: 100%;
  }

  .admin-manager-hero,
  .admin-filter-bar,
  .admin-modal-grid,
  .admin-modal-footer {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-manager-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-hero-actions,
  .admin-modal-footer {
    align-items: stretch;
  }

  .admin-hero-actions .button,
  .admin-modal-footer .button {
    width: 100%;
  }

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

@media (max-width: 620px) {
  .admin-manager-hero,
  .admin-filter-bar,
  .admin-modal-panel {
    padding: 18px;
  }

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

  .admin-modal {
    padding: 12px;
    align-items: start;
  }

  .admin-modal-panel {
    max-height: calc(100vh - 24px);
  }
}
/* Final admin/category/footer refinements */
.nav {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr);
}

.nav .brand {
  justify-self: start;
}

.nav .nav-links {
  justify-self: center;
}

.nav .nav-actions {
  justify-self: end;
}

.nav-links > .mobile-admin-link {
  display: none !important;
}

.nav-actions > .admin-login-link {
  border-color: #111111;
  background: #111111;
  color: #fffaf0;
}

.admin-footer {
  margin-top: 0;
}

.admin-preview {
  display: block;
  background: #fffaf0;
  object-fit: contain !important;
  padding: 18px;
}

.admin-catalog-image img[src*="6c54b731"] {
  object-fit: contain;
  padding: 38px;
  background: #fffaf0;
}

.category-modal-panel {
  width: min(640px, 100%);
}

.category-form {
  grid-template-columns: minmax(0, 1fr) 120px auto auto;
  align-items: end;
  margin-bottom: 18px;
}

.category-list {
  display: grid;
  gap: 10px;
}

.category-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.category-row > div:last-child {
  display: flex;
  gap: 8px;
}

.admin-modal .button.danger {
  background: transparent;
}

@media (max-width: 920px) {
  .nav {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .nav .nav-links {
    justify-self: stretch;
  }

  .nav .nav-actions > a.admin-login-link {
    display: none !important;
  }

  .nav-links > .mobile-admin-link {
    display: flex !important;
  }

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

  .category-row > div:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
/* Admin modal and footer icon polish */
.admin-hidden-field {
  display: none !important;
}

.admin-checks {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  justify-content: stretch;
  flex-wrap: nowrap;
}

.admin-checks label {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  color: #3f3a34;
  font-size: 0.92rem;
  font-weight: 520;
  line-height: 1.3;
}

.admin-checks input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
  accent-color: #111111;
}

.footer-icon-link {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 10px 0 !important;
  color: rgba(255, 250, 240, 0.78);
  line-height: 1.35;
}

.footer-icon-link::before {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.08);
  color: #fffaf0;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
}

.footer-icon-link span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-icon-link:hover::before {
  border-color: rgba(184, 146, 77, 0.62);
  background: rgba(184, 146, 77, 0.18);
}

.footer-email::before {
  content: "@";
}

.footer-phone::before {
  content: "TEL";
  font-size: 0.62rem;
}

.footer-location::before {
  content: "CPT";
  font-size: 0.62rem;
}

.footer-instagram::before {
  content: "IG";
}

.footer-tiktok::before {
  content: "TK";
}

.footer-whatsapp::before {
  content: "WA";
}

@media (max-width: 620px) {
  .admin-checks {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-icon-link {
    align-items: flex-start;
  }
}

/* Homepage alignment and website CTA */
.hero {
  width: min(var(--max), calc(100% - 32px));
  max-width: var(--max);
  grid-template-columns: minmax(360px, 0.88fr) minmax(420px, 1.12fr);
}

.website-cta {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.92);
  color: #111111;
  font-size: 0.95rem;
  font-weight: 760;
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.12);
  backdrop-filter: blur(12px);
}

.website-cta:hover {
  border-color: #111111;
  background: #111111;
  color: #fffaf0;
}

@media (max-width: 920px) {
  .hero {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .website-cta {
    top: 12px;
    left: 12px;
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.88rem;
  }
}

/* Footer real icon marks */
.footer-icon-link::before {
  content: "" !important;
  background-color: rgba(255, 250, 240, 0.08);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
}

.footer-email::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fffaf0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
}

.footer-phone::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fffaf0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.89.33 1.76.63 2.6a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.48-1.2a2 2 0 0 1 2.11-.45c.84.3 1.71.51 2.6.63A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.footer-location::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fffaf0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.footer-instagram::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fffaf0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='20' x='2' y='2' rx='5' ry='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cline x1='17.5' x2='17.51' y1='6.5' y2='6.5'/%3E%3C/svg%3E");
}

.footer-tiktok::before {
  background-size: 19px 19px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23fffaf0'%3E%3Cpath d='M16.6 5.82c-1.02-.66-1.7-1.79-1.82-3.07h-3.09v12.35a2.57 2.57 0 1 1-1.78-2.45V9.52a5.65 5.65 0 1 0 4.87 5.58V8.86a7.23 7.23 0 0 0 4.24 1.36V7.13a4.15 4.15 0 0 1-2.42-1.31Z'/%3E%3C/svg%3E");
}

.footer-whatsapp::before {
  background-size: 19px 19px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fffaf0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21l1.65-3.8A9 9 0 1 1 8.12 20.1L3 21Z'/%3E%3Cpath d='M9 10c.22 1.18 1.64 3.01 3.03 3.83.83.49 1.37.62 1.82.39.33-.17.72-.86.84-1.12.12-.25.05-.46-.15-.57l-1.36-.67c-.18-.08-.39-.06-.54.09l-.5.49c-.16.16-.4.19-.58.06-.78-.55-1.39-1.18-1.86-1.92-.1-.17-.08-.39.06-.53l.43-.45c.14-.15.18-.37.09-.56L9.64 7.7c-.1-.22-.33-.34-.56-.29-.33.07-.92.25-1.14.54-.33.44-.32 1.06-.15 1.6'/%3E%3C/svg%3E");
}

/* Correct WhatsApp footer logo */
.footer-whatsapp::before {
  background-size: 20px 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23fffaf0' d='M16.04 3C8.88 3 3.06 8.82 3.06 15.98c0 2.28.6 4.51 1.73 6.47L3 29l6.72-1.76a12.9 12.9 0 0 0 6.31 1.61h.01c7.16 0 12.98-5.82 12.98-12.98C29.02 8.82 23.2 3 16.04 3Zm0 23.66h-.01c-1.92 0-3.8-.52-5.44-1.51l-.39-.23-3.99 1.04 1.07-3.89-.25-.4a10.74 10.74 0 0 1-1.66-5.69c0-5.89 4.79-10.68 10.68-10.68 2.85 0 5.53 1.11 7.55 3.13a10.6 10.6 0 0 1 3.13 7.55c0 5.89-4.79 10.68-10.69 10.68Zm5.86-8c-.32-.16-1.9-.94-2.2-1.05-.29-.11-.51-.16-.72.16-.21.32-.83 1.05-1.02 1.26-.19.21-.38.24-.7.08-.32-.16-1.36-.5-2.59-1.59-.96-.85-1.6-1.91-1.79-2.23-.19-.32-.02-.49.14-.65.15-.14.32-.38.48-.57.16-.19.21-.32.32-.54.11-.21.05-.4-.03-.57-.08-.16-.72-1.74-.99-2.38-.26-.62-.53-.54-.72-.55l-.62-.01c-.21 0-.57.08-.86.4-.29.32-1.13 1.1-1.13 2.68s1.16 3.12 1.32 3.33c.16.21 2.28 3.47 5.52 4.87.77.33 1.37.53 1.84.68.77.25 1.48.21 2.03.13.62-.09 1.9-.78 2.17-1.53.27-.75.27-1.39.19-1.53-.08-.13-.29-.21-.62-.37Z'/%3E%3C/svg%3E") !important;
}

/* Admin polish and matched feature media */
.admin-modal-close {
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 560;
  line-height: 1;
}

.admin-preview,
.admin-modal-media .admin-preview {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  padding: 0 !important;
  object-fit: cover !important;
  background: #f3eee4;
}

.admin-modal-media {
  align-self: stretch;
}

.admin-upload-button,
.admin-manager-hero .button,
.admin-catalog-card .button,
.category-row .button,
.category-form .button,
.admin-modal-footer .button {
  font-weight: 540 !important;
}

.admin-hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(118px, 1fr));
  align-items: center;
  gap: 10px;
  min-width: min(390px, 100%);
}

.admin-hero-actions .button {
  width: 100%;
  min-height: 46px;
}

.admin-hero-actions [data-logout] {
  grid-column: 3;
}

.admin-catalog-top {
  align-items: center;
  gap: 10px;
}

.sort-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.82);
  color: #6f624f;
  font-size: 0.78rem;
  font-weight: 560;
  white-space: nowrap;
}

.category-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.services-showcase,
.split {
  align-items: stretch;
}

.services-showcase > .feature-image,
.split > .feature-image {
  height: 100%;
  min-height: 100%;
  display: flex;
}

.services-showcase > .feature-image img,
.split > .feature-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1;
  object-fit: cover;
}

.services-showcase > .feature-image img {
  min-height: 520px;
}

.split > .feature-image img {
  min-height: 420px;
}

@media (max-width: 920px) {
  .admin-hero-actions {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }

  .admin-hero-actions [data-logout] {
    grid-column: auto;
  }

  .services-showcase > .feature-image,
  .split > .feature-image {
    min-height: 0;
  }

  .services-showcase > .feature-image img,
  .split > .feature-image img {
    min-height: 320px;
  }
}

/* Hide product order badges and compact store cards */
.admin-catalog-card .sort-badge {
  display: none !important;
}

.store-layout .product-card {
  align-self: start;
}

.store-layout .product-thumb {
  height: clamp(190px, 18vw, 245px);
}

.store-layout .product-info {
  gap: 10px;
  padding: 18px;
}

.store-layout .product-info h3 {
  margin-bottom: 2px;
}

.store-layout .product-info p {
  flex: 0 0 auto;
  margin-bottom: 8px;
  line-height: 1.55;
}

.store-layout .product-meta {
  gap: 10px;
  padding-top: 8px;
}

.store-layout .dimension-controls {
  grid-template-columns: 1fr;
  gap: 8px;
}

.store-layout .qty-control {
  grid-template-columns: minmax(72px, 92px) minmax(0, 1fr);
  gap: 9px;
  font-size: 0.84rem;
}

.store-layout .qty-control input {
  min-height: 38px;
  padding: 7px 10px;
}

.store-layout .price {
  min-height: 36px;
}

.store-layout .button {
  min-height: 42px;
  font-weight: 620;
}

@media (max-width: 620px) {
  .store-layout .product-card {
    max-width: 360px;
    margin: 0 auto;
  }

  .store-layout .product-thumb {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .store-layout .product-info {
    padding: 16px;
  }
}

/* Premium restrained type scale */
h1 {
  font-size: clamp(2.7rem, 5.2vw, 5.25rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.65rem);
  line-height: 1.04;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(3rem, 5.2vw, 5.4rem);
  line-height: 1.02;
}

.page-hero h1,
.policy-hero h1,
.contact-hero h1,
.contact-hero-v2 h1,
.shop-hero-v2 h1,
.checkout-hero h1 {
  max-width: 980px;
  font-size: clamp(2.75rem, 5.4vw, 5.1rem);
  line-height: 1.03;
}

.contact-card h2,
.cart-panel h2,
.confirmation-card h2,
.policy-card h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
}

.admin-manager-hero h1 {
  font-size: clamp(2.25rem, 4vw, 3.9rem);
}

.admin-modal-panel h2 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
}

@media (max-width: 920px) {
  h1 {
    font-size: clamp(2.25rem, 9vw, 3.6rem);
  }

  h2 {
    font-size: clamp(1.75rem, 7vw, 2.8rem);
  }

  .hero h1,
  .page-hero h1,
  .policy-hero h1,
  .contact-hero h1,
  .contact-hero-v2 h1,
  .shop-hero-v2 h1,
  .checkout-hero h1 {
    font-size: clamp(2.35rem, 9.5vw, 3.5rem);
    line-height: 1.06;
  }

  .contact-card h2,
  .cart-panel h2,
  .confirmation-card h2,
  .policy-card h2 {
    font-size: clamp(1.65rem, 6.5vw, 2.35rem);
  }
}

@media (max-width: 420px) {
  .hero h1,
  .page-hero h1,
  .policy-hero h1,
  .contact-hero h1,
  .contact-hero-v2 h1,
  .shop-hero-v2 h1,
  .checkout-hero h1 {
    font-size: clamp(2.1rem, 10.2vw, 3rem);
  }
}

/* Product image hover details */
.product-thumb {
  position: relative;
}

.product-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.08), rgba(17, 17, 17, 0.72));
  color: #fffaf0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.product-card:hover .product-overlay,
.product-card:focus-within .product-overlay {
  opacity: 1;
  transform: translateY(0);
}

.product-overlay p {
  max-width: 100%;
  margin: 0;
  color: #fffaf0;
  font-size: 0.94rem;
  line-height: 1.55;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
}

.store-layout .product-info > p,
[data-featured-products] .product-info > p {
  display: none !important;
}

.store-layout .product-card {
  height: auto;
}

.store-layout .product-info {
  flex: 0 0 auto;
}

.store-layout .product-meta {
  margin-top: 0;
}

@media (hover: none) {
  .product-overlay {
    opacity: 1;
    transform: none;
    padding: 14px;
    background: linear-gradient(180deg, transparent 20%, rgba(17, 17, 17, 0.68));
  }

  .product-overlay p {
    font-size: 0.86rem;
  }
}

/* Product overlay reliability and equal-height cards */
.store-layout .cards-3,
[data-store-products] {
  align-items: stretch;
}

.store-layout .product-card,
[data-store-products] .product-card {
  height: 100%;
  align-self: stretch;
}

.store-layout .product-info,
[data-store-products] .product-info {
  flex: 1 1 auto;
}

.store-layout .product-meta,
[data-store-products] .product-meta {
  margin-top: auto;
}

.product-thumb img {
  position: relative;
  z-index: 0;
  transition: transform 220ms ease, filter 220ms ease;
}

.product-overlay {
  z-index: 2;
  visibility: hidden;
}

.product-card:hover .product-thumb img,
.product-card:focus-within .product-thumb img {
  transform: scale(1.035);
  filter: grayscale(0.18) brightness(0.78);
}

.product-card:hover .product-overlay,
.product-card:focus-within .product-overlay,
.product-thumb:hover .product-overlay {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  .product-overlay {
    visibility: visible;
  }
}

/* Softer premium heading weights */
h1,
h2,
h3,
.hero h1,
.page-hero h1,
.policy-hero h1,
.contact-card h2,
.cart-panel h2,
.admin-manager-hero h1,
.admin-modal-panel h2 {
  font-weight: 650;
}

.product-info h3,
.card h3,
.portfolio-copy h3,
.footer h3 {
  font-weight: 620;
}

.eyebrow,
.nav-links a,
.button,
button.button,
.admin-login-link,
.cart-pill,
.tag,
.price {
  font-weight: 600;
}

/* Final lightweight heading pass */
h1,
h2,
h3,
.hero h1,
.hero-copy h1,
.page-hero h1,
.policy-hero h1,
.contact-hero h1,
.contact-hero-v2 h1,
.shop-hero-v2 h1,
.checkout-hero h1,
.section-head h2,
.banner h2,
.quote-strip h2,
.contact-card h2,
.cart-panel h2,
.policy-card h2,
.admin-manager-hero h1,
.admin-modal-panel h2,
.admin-login-card h1 {
  font-weight: 520 !important;
}

.product-info h3,
.card h3,
.portfolio-copy h3,
.footer h3,
.admin-catalog-body h3 {
  font-weight: 500 !important;
}

strong,
.stat strong,
.cart-total,
.confirmation-meta strong,
.cart-line strong {
  font-weight: 560 !important;
}

/* Force requested 420 heading weight */
h1,
h2,
h3,
.hero h1,
.hero-copy h1,
.page-hero h1,
.policy-hero h1,
.contact-hero h1,
.contact-hero-v2 h1,
.shop-hero-v2 h1,
.checkout-hero h1,
.section-head h2,
.banner h2,
.quote-strip h2,
.contact-card h2,
.cart-panel h2,
.policy-card h2,
.admin-manager-hero h1,
.admin-modal-panel h2,
.admin-login-card h1,
.product-info h3,
.card h3,
.portfolio-copy h3,
.footer h3,
.admin-catalog-body h3 {
  font-weight: 420 !important;
}

/* Policy page redesign */
.policy-hero-v2 {
  padding-top: clamp(52px, 7vw, 88px);
  padding-bottom: 28px;
}

.policy-hero-v2 h1 {
  max-width: 900px;
}

.policy-hero-v2 .lead {
  max-width: 760px;
}

.policy-summary {
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.policy-summary div {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 36px rgba(17, 17, 17, 0.045);
}

.policy-summary span {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
}

.policy-summary strong {
  color: var(--ink);
  font-size: 1.15rem;
}

.policy-layout-v2 {
  width: min(var(--max), calc(100% - 32px));
  max-width: var(--max);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 24px;
}

.policy-card-v2 {
  min-height: 100%;
  padding: clamp(24px, 3vw, 34px);
  border-color: rgba(17, 17, 17, 0.09);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,250,240,0.72)),
    #ffffff;
  box-shadow: 0 18px 48px rgba(17, 17, 17, 0.06);
}

.policy-card-v2::before {
  width: 0;
}

.policy-card-wide,
.policy-help-card {
  grid-column: 1 / -1;
}

.policy-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}

.policy-card-head > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184, 146, 77, 0.36);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.9);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
}

.policy-card-head .mini {
  margin: 0 0 6px;
}

.policy-card-v2 h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.8vw, 2.55rem);
}

.policy-card-v2 > p {
  max-width: 860px;
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.policy-card-v2 .policy-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.policy-card-wide .policy-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.policy-card-v2 .policy-list p {
  min-height: 100%;
  padding: 14px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  line-height: 1.58;
}

.policy-help-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #111111;
  color: #fffaf0;
}

.policy-help-card h2 {
  color: #fffaf0;
}

.policy-help-card p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 250, 240, 0.72);
}

.policy-help-card .button.secondary {
  border-color: rgba(255, 250, 240, 0.48);
  color: #fffaf0;
}

@media (max-width: 920px) {
  .policy-summary,
  .policy-layout-v2,
  .policy-card-v2 .policy-list,
  .policy-card-wide .policy-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .policy-help-card {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .policy-hero-v2,
  .section.policy-layout-v2 {
    width: calc(100vw - 24px) !important;
    margin-left: 12px !important;
    margin-right: 12px !important;
  }

  .policy-card-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .policy-card-head > span {
    width: 38px;
    height: 38px;
  }
}

/* Full-width policy summary tiles */
.policy-hero-v2 .policy-summary {
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.policy-hero-v2 .policy-summary div {
  width: 100%;
}

@media (max-width: 760px) {
  .policy-hero-v2 .policy-summary {
    grid-template-columns: minmax(0, 1fr);
  }
}
