:root {
  color-scheme: light;
  --ink: #181712;
  --muted: #6f7069;
  --paper: #fffaf4;
  --white: #ffffff;
  --blush: #f7d7ce;
  --blush-strong: #df7f74;
  --rose-soft: #f4b8b1;
  --rose-panel: #fff0ed;
  --rose-deep: #a95750;
  --coral: #c9665e;
  --teal: #007f78;
  --teal-dark: #0b4f49;
  --leaf: #26864b;
  --mint: #d8efe5;
  --cream: #fff2df;
  --line: rgba(24, 23, 18, 0.12);
  --shadow: 0 24px 70px rgba(60, 42, 35, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html[data-site-mode="catalog"] [data-shop-only],
html[data-site-mode="shop"] [data-catalog-only] {
  display: none !important;
}

body {
  background:
    linear-gradient(180deg, rgba(247, 215, 206, 0.32), rgba(255, 250, 244, 0) 430px),
    var(--paper);
  color: var(--ink);
  margin: 0;
  overflow-x: clip;
}

body.modal-open {
  overflow: hidden;
}

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

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

.skip-link {
  background: var(--teal-dark);
  color: var(--white);
  font-weight: 900;
  left: 16px;
  padding: 12px 16px;
  position: fixed;
  top: -80px;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

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

.site-header {
  align-items: center;
  backdrop-filter: blur(22px);
  background: rgba(255, 250, 244, 0.88);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  padding: 12px clamp(16px, 4vw, 56px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

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

.brand img {
  aspect-ratio: 1;
  border: 1px solid rgba(201, 102, 94, 0.28);
  border-radius: 50%;
  height: 54px;
  object-fit: cover;
}

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

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.24rem;
}

.brand small {
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 900;
  margin-top: 4px;
  text-transform: uppercase;
}

nav {
  align-items: center;
  display: flex;
  gap: clamp(12px, 2.4vw, 28px);
  justify-content: center;
}

nav a {
  color: #28241f;
  font-size: 0.94rem;
  font-weight: 850;
}

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

.menu-button {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--teal-dark);
  cursor: pointer;
  display: none;
  font-weight: 900;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
}

.menu-symbol,
.menu-symbol::before,
.menu-symbol::after {
  background: currentColor;
  border-radius: 999px;
  display: block;
  height: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
  width: 18px;
}

.menu-symbol {
  position: relative;
}

.menu-symbol::before,
.menu-symbol::after {
  content: "";
  left: 0;
  position: absolute;
}

.menu-symbol::before {
  top: -6px;
}

.menu-symbol::after {
  top: 6px;
}

.site-header.menu-open .menu-symbol {
  background: transparent;
}

.site-header.menu-open .menu-symbol::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.menu-open .menu-symbol::after {
  top: 0;
  transform: rotate(-45deg);
}

.icon-button,
.header-action {
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  min-height: 42px;
  padding: 10px 16px;
}

.icon-button {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--teal-dark);
}

.header-action {
  background: var(--rose-soft);
  box-shadow: 0 12px 26px rgba(169, 87, 80, 0.2);
  color: var(--white);
}

.cart-action {
  align-items: center;
  background: var(--rose-soft);
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(169, 87, 80, 0.2);
  color: var(--white);
  display: inline-flex;
  font-weight: 900;
  gap: 9px;
  min-height: 42px;
  padding: 9px 14px;
}

.cart-symbol {
  border: 2px solid currentColor;
  border-radius: 4px 4px 7px 7px;
  display: inline-block;
  height: 16px;
  position: relative;
  width: 18px;
}

.cart-symbol::before {
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  content: "";
  height: 8px;
  left: 3px;
  position: absolute;
  top: -8px;
  width: 8px;
}

.cart-action strong {
  align-items: center;
  background: var(--white);
  border-radius: 999px;
  color: var(--rose-deep);
  display: inline-flex;
  font-size: 0.78rem;
  height: 24px;
  justify-content: center;
  min-width: 24px;
  padding: 0 7px;
}

.cart-action strong.has-items {
  background: var(--teal-dark);
  color: var(--white);
}

.hero {
  min-height: min(720px, calc(78vh - 24px));
  overflow: hidden;
  position: relative;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(84, 49, 47, 0.62), rgba(244, 184, 177, 0.28) 48%, rgba(255, 250, 244, 0.52)),
    url("https://images.unsplash.com/photo-1526047932273-341f2a7631f9?auto=format&fit=crop&w=1800&q=86") center/cover;
  inset: 0;
  position: absolute;
}

.hero-content {
  color: var(--white);
  display: grid;
  gap: 18px;
  max-width: 760px;
  min-height: min(720px, calc(78vh - 24px));
  padding: clamp(38px, 6vw, 82px) clamp(18px, 6vw, 76px);
  place-content: center start;
  position: relative;
  z-index: 1;
}

.hero-logo {
  background: rgba(255, 250, 244, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: var(--shadow);
  height: clamp(88px, 11vw, 132px);
  object-fit: cover;
  padding: 8px;
  width: clamp(88px, 11vw, 132px);
}

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

.hero .eyebrow,
.business .eyebrow {
  color: var(--rose-deep);
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3rem, 6.5vw, 6.4rem);
  line-height: 0.94;
  margin-bottom: 0;
  max-width: 760px;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.3rem);
  line-height: 1;
  margin-bottom: 0;
}

h3 {
  font-size: 1.13rem;
  margin-bottom: 8px;
}

.hero-copy {
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  line-height: 1.55;
  max-width: 620px;
}

.button {
  align-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.header-action:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.primary {
  background: var(--coral);
  box-shadow: 0 14px 30px rgba(201, 102, 94, 0.25);
  color: var(--white);
}

.dark {
  background: var(--rose-soft);
  box-shadow: 0 12px 28px rgba(169, 87, 80, 0.2);
  color: var(--white);
}

.soft {
  background: rgba(255, 250, 244, 0.92);
  color: var(--ink);
}

.ghost-dark {
  background: transparent;
  border: 1px solid var(--rose-deep);
  color: var(--rose-deep);
}

.ghost-danger {
  background: transparent;
  border: 1px solid #b15b55;
  color: #9b453f;
}

.full {
  width: 100%;
}

.hero-actions,
.social-links,
.owner-status {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 72px);
  scroll-margin-top: 96px;
}

.section > *,
.product-card,
.cart,
.owner-tools > *,
.account-section > *,
.social-contact > *,
.inspiration > * {
  min-width: 0;
}

.about {
  align-items: end;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1fr);
}

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

.product-card,
.cart,
.estimate-panel,
.estimate-result,
.account-card,
.login-preview,
.owner-lock,
.admin-form,
.requests-panel,
.contact-form,
.legal-grid article {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about p,
.product-card p,
.estimate-panel p,
.account-card p,
.social-contact p,
.legal p,
.business-grid p,
.owner-lock p {
  color: var(--muted);
  line-height: 1.65;
}

.seo-strip {
  background: var(--rose-panel);
  color: var(--rose-deep);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 16px;
}

.seo-strip span {
  border: 1px solid rgba(169, 87, 80, 0.22);
  border-radius: 999px;
  font-size: 0.9rem;
  padding: 8px 12px;
}

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 18px clamp(16px, 8vw, 96px);
}

.trust-strip article {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  padding: 14px;
}

.trust-strip strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.google-reviews {
  --review-gap: 16px;
  --reviews-per-view: 3;
  align-items: center;
  background: #fffaf7;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: clamp(28px, 4vw, 64px);
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 2.3fr);
  padding: clamp(42px, 6vw, 76px) clamp(16px, 8vw, 96px);
}

.review-summary {
  align-content: center;
  display: grid;
  gap: 12px;
}

.review-summary h2 {
  font-size: clamp(2rem, 3.4vw, 3.65rem);
  line-height: 0.98;
  margin: 0;
}

.review-summary p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.review-summary-stars,
.review-stars {
  color: #e29a2f;
  letter-spacing: 2px;
}

.review-summary-stars {
  font-size: 1.35rem;
}

.google-attribution strong {
  color: #3569c8;
}

.review-summary-link {
  justify-self: start;
  margin-top: 4px;
}

.reviews-carousel {
  min-width: 0;
}

.reviews-viewport {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: var(--review-gap);
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex: 0 0 calc((100% - (var(--reviews-per-view) - 1) * var(--review-gap)) / var(--reviews-per-view));
  flex-direction: column;
  min-height: 286px;
  padding: 22px;
}

.review-card-head {
  align-items: center;
  display: grid;
  gap: 11px;
  grid-template-columns: auto 1fr auto;
}

.review-avatar {
  align-items: center;
  background: var(--mint);
  border: 1px solid rgba(13, 99, 88, 0.18);
  border-radius: 50%;
  color: var(--green);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.review-card h3 {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.25;
  margin: 0 0 2px;
}

.review-card-head span:not(.review-avatar) {
  color: var(--muted);
  font-size: 0.75rem;
}

.review-google-mark {
  color: #3569c8;
  font-size: 1.1rem;
}

.review-stars {
  font-size: 1rem;
  margin-top: 20px;
}

.review-card p {
  color: var(--ink);
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 12px 0 20px;
}

.review-card a {
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.review-controls {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 22px;
}

.review-arrow {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
  cursor: pointer;
  display: inline-flex;
  font-size: 1.45rem;
  height: 40px;
  justify-content: center;
  line-height: 1;
  width: 40px;
}

.review-arrow:hover,
.review-arrow:focus-visible {
  background: var(--mint);
}

.review-dots {
  align-items: center;
  display: flex;
  gap: 8px;
}

.review-dot {
  background: rgba(13, 99, 88, 0.25);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  height: 9px;
  padding: 0;
  width: 9px;
}

.review-dot.active {
  background: var(--green);
  transform: scale(1.2);
}

.about {
  background: var(--white);
}

.shop-section,
.owner-section {
  background: linear-gradient(180deg, var(--mint), rgba(255, 250, 244, 0.7));
}

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

.segmented {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  padding: 4px;
}

.segmented button,
.auth-tabs button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  min-height: 38px;
  padding: 8px 14px;
}

.segmented button.active,
.auth-tabs button.active {
  background: var(--rose-soft);
  color: var(--white);
}

.shop-controls {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: 1.35fr 1fr 1fr;
  margin: -8px 0 24px;
}

.shop-layout {
  align-items: start;
  display: block;
}

.catalog-notice {
  align-items: center;
  background: linear-gradient(135deg, rgba(216, 239, 229, 0.92), rgba(255, 242, 223, 0.92));
  border: 1px solid rgba(11, 79, 73, 0.16);
  border-radius: 8px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: -8px 0 24px;
  padding: 18px;
}

.catalog-notice > div:first-child {
  display: grid;
  gap: 5px;
  max-width: 66ch;
}

.catalog-notice strong {
  color: var(--teal-dark);
  font-size: 1.02rem;
}

.catalog-notice span {
  color: var(--muted);
  line-height: 1.55;
}

.catalog-notice-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: opacity 160ms ease, transform 160ms ease;
}

.product-card.is-dragging {
  opacity: 0.55;
  transform: scale(0.985);
}

.product-card.is-unavailable .product-body {
  opacity: 0.86;
}

.product-card .button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.product-media {
  background: var(--white);
  overflow: hidden;
  padding: 8px;
  position: relative;
}

.product-media-button {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: block;
  min-height: auto;
  padding: 0;
  width: 100%;
}

.product-media-button:focus-visible {
  outline: 3px solid rgba(15, 108, 100, 0.34);
  outline-offset: -3px;
}

.product-media img {
  aspect-ratio: 4 / 5;
  background: var(--white);
  object-fit: contain;
  object-position: var(--image-x, 50%) var(--image-y, 50%);
  transform: scale(var(--image-scale, 1));
  transform-origin: var(--image-x, 50%) var(--image-y, 50%);
}

.product-image-loading {
  aspect-ratio: 4 / 5;
  background: linear-gradient(100deg, #f4f2ef 30%, #fbfaf8 48%, #f4f2ef 66%);
  background-size: 240% 100%;
  display: block;
  width: 100%;
  animation: product-image-loading 1.35s ease-in-out infinite;
}

@keyframes product-image-loading {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .product-image-loading { animation: none; }
  .product-card { transition: none; }
}

.availability-badge {
  background: rgba(255, 250, 244, 0.94);
  border: 1px solid rgba(169, 87, 80, 0.24);
  border-radius: 999px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 900;
  left: 14px;
  padding: 7px 10px;
  position: absolute;
  top: 14px;
}

.bestseller-badge {
  align-items: center;
  background: #ffd8e6;
  border: 1px solid rgba(193, 62, 112, 0.28);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(193, 62, 112, 0.2);
  color: #c13e70;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  pointer-events: none;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 42px;
  z-index: 1;
}

.bestseller-badge svg {
  fill: currentColor;
  height: 22px;
  width: 22px;
}

.product-body {
  display: grid;
  flex: 1;
  gap: 12px;
  padding: 18px;
}

.product-card-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.product-description {
  display: -webkit-box;
  line-height: 1.58;
  margin-bottom: 4px;
  overflow: hidden;
  text-wrap: pretty;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-description.is-expanded {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.description-toggle {
  background: transparent;
  border: 0;
  color: var(--teal);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 900;
  min-height: auto;
  padding: 0;
  text-align: left;
  width: fit-content;
}

.product-color-select {
  display: grid;
  gap: 7px;
}

.catalog-options {
  background: rgba(216, 239, 229, 0.34);
  border: 1px solid rgba(11, 79, 73, 0.14);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.catalog-options > strong {
  color: var(--teal-dark);
}

.catalog-options dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.catalog-options dl div {
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(92px, 0.4fr) 1fr;
}

.catalog-options dt {
  font-weight: 900;
}

.catalog-options dd,
.catalog-options p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.product-details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}

.product-details summary {
  color: var(--teal-dark);
  cursor: pointer;
  font-weight: 900;
}

.product-details dl {
  display: grid;
  gap: 8px;
  margin: 12px 0 8px;
}

.product-details dl div {
  display: grid;
  gap: 4px;
  grid-template-columns: 110px 1fr;
}

.product-details dt {
  color: var(--ink);
  font-weight: 900;
}

.product-details dd {
  color: var(--muted);
  margin: 0;
}

.product-details p {
  font-size: 0.86rem;
  margin: 0;
}

.product-empty {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  grid-column: 1 / -1;
  padding: 18px;
}

.product-dialog {
  background: transparent;
  border: 0;
  max-width: min(1040px, calc(100vw - 28px));
  padding: 0;
  width: 100%;
}

.product-dialog::backdrop {
  backdrop-filter: blur(10px);
  background: rgba(32, 26, 24, 0.42);
}

.product-dialog-content {
  position: relative;
}

.product-dialog-close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 3;
}

.product-dialog-close .dialog-close {
  position: static;
}

.product-detail-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(50, 35, 28, 0.22);
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(0, 1.08fr);
  max-height: min(86vh, 920px);
  overflow: hidden;
}

.product-detail-media {
  background: linear-gradient(145deg, rgba(212, 238, 228, 0.26), rgba(255, 238, 229, 0.42));
  display: grid;
  min-height: 100%;
  min-width: 0;
  overflow: hidden;
  padding: clamp(10px, 2vw, 22px);
  place-items: center;
  position: relative;
}

.product-detail-media img {
  background: var(--white);
  box-shadow: 0 18px 54px rgba(52, 38, 32, 0.08);
  height: 100%;
  max-height: 820px;
  object-fit: contain;
  object-position: var(--image-x, 50%) var(--image-y, 50%);
  transform: scale(var(--image-scale, 1));
  transform-origin: var(--image-x, 50%) var(--image-y, 50%);
  width: 100%;
}

.product-detail-body {
  display: grid;
  gap: 18px;
  max-height: min(86vh, 920px);
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 72px 34px 30px;
}

.product-detail-body .product-meta {
  padding-right: 0;
}

.product-detail-body h2 {
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  hyphens: auto;
  line-height: 0.96;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.product-detail-description {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.9;
  max-width: 58ch;
  text-wrap: pretty;
  white-space: pre-line;
}

.product-meta,
.cart-head,
.cart-total {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.pill,
.cart-head span,
.owner-status span {
  background: var(--cream);
  border-radius: 999px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 950;
  padding: 7px 10px;
}

.price {
  color: var(--coral);
  font-size: 1.15rem;
  font-weight: 950;
}

.cart {
  padding: 22px;
  margin: 0 auto;
  max-width: 980px;
}

.cart p,
.cart label,
.cart .form-note {
  line-height: 1.72;
}

.cart-section {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.74), var(--rose-panel));
}

body:not(.is-cart-route) .cart-section {
  display: none;
}

body.is-cart-route main > section:not(.cart-section) {
  display: none;
}

body.is-cart-route .cart-section {
  display: block;
  min-height: calc(100svh - 96px);
}

.cart-items {
  display: grid;
  gap: 10px;
  min-height: 46px;
}

.cart-line {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto auto;
  padding-bottom: 10px;
  line-height: 1.65;
}

.cart-line button {
  background: var(--rose-soft);
  border: 0;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  height: 28px;
  width: 28px;
}

.cart-line small {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  line-height: 1.6;
  margin-top: 4px;
}

.empty {
  color: var(--muted);
}

.cart-total {
  border-top: 2px solid var(--rose-soft);
  margin: 16px 0;
  padding-top: 16px;
}

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

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

.checkout-steps span {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 9px 10px;
  text-align: center;
}

.checkout-steps span.active {
  background: var(--rose-soft);
  color: var(--white);
}

label {
  color: var(--ink);
  display: grid;
  font-size: 0.88rem;
  font-weight: 850;
  gap: 7px;
}

input,
select,
textarea {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 44px;
  padding: 11px 12px;
  width: 100%;
}

textarea {
  resize: vertical;
}

.auto-grow-textarea {
  min-height: 96px;
  overflow: hidden;
  resize: none;
}

input,
select,
textarea,
button,
.button,
.icon-button,
.cart-action {
  -webkit-tap-highlight-color: transparent;
}

.checkbox {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: 18px 1fr;
}

.checkbox input {
  min-height: 18px;
  margin-top: 2px;
}

.checkbox span {
  color: var(--muted);
  line-height: 1.45;
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0;
}

.field-error {
  color: #9d302b;
  display: block;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.4;
  margin-top: 6px;
}

.field-error[hidden] {
  display: none;
}

.checkout-cancellation-note {
  background: var(--cream);
  border-left: 3px solid var(--rose);
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
  padding: 10px 12px;
}

.checkout-cancellation-note strong,
.checkout-cancellation-note a {
  color: var(--teal-dark);
}

.checkout-cancellation-note a {
  font-weight: 850;
  text-underline-offset: 3px;
}

.payment-summary {
  background: var(--cream);
  border: 1px solid rgba(201, 102, 94, 0.22);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 14px;
}

.delivery-fields {
  background: rgba(255, 240, 237, 0.72);
  border: 1px solid rgba(169, 87, 80, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 14px;
}

.delivery-fields[hidden] {
  display: none;
}

.card-fields[hidden] {
  display: none;
}

.digital-greeting {
  background: rgba(255, 240, 237, 0.78);
  border: 1px solid rgba(169, 87, 80, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  margin: 16px 0;
  padding: 16px;
}

.digital-greeting-fields {
  display: grid;
  gap: 14px;
}

.digital-greeting-fields[hidden] {
  display: none;
}

.bouquet-builder {
  background: var(--rose-panel);
  border: 1px solid rgba(169, 87, 80, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  margin: 16px 0;
  padding: 16px;
}

.bouquet-builder[hidden] {
  display: none;
}

.bouquet-builder h3 {
  margin-bottom: 4px;
}

.bouquet-builder p,
.upsell-note {
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 0;
}

.builder-items {
  display: grid;
  gap: 8px;
}

.builder-line {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto auto;
  padding: 10px;
}

.builder-line button {
  background: var(--rose-soft);
  border: 0;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  height: 26px;
  width: 26px;
}

.builder-total {
  border-top-color: rgba(169, 87, 80, 0.22);
  margin: 0;
}

.upsell-options {
  background: var(--rose-panel);
  border: 1px solid rgba(169, 87, 80, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.upsell-options [data-packaging-color-wrap][hidden] {
  display: none !important;
}

.admin-upsells {
  border: 1px solid rgba(169, 87, 80, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  padding: 16px;
}

.admin-upsells legend {
  color: var(--ink);
  font-weight: 900;
  padding: 0 8px;
}

.admin-image-controls {
  border: 1px solid rgba(169, 87, 80, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.admin-image-controls legend {
  color: var(--ink);
  font-weight: 900;
  padding: 0 8px;
}

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

.admin-range-grid label {
  background: rgba(255, 250, 244, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.admin-range-grid output {
  color: var(--rose);
  font-weight: 900;
  justify-self: end;
  margin-top: -28px;
}

.admin-range-grid input[type="range"] {
  accent-color: var(--rose-soft);
  min-height: auto;
  width: 100%;
}

.admin-card-preview {
  border: 1px solid rgba(169, 87, 80, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.admin-card-preview h3 {
  margin: 0 0 4px;
}

.preview-card-shell {
  max-width: 380px;
}

.preview-product-card {
  box-shadow: 0 16px 36px rgba(50, 35, 28, 0.12);
  min-height: auto;
}

.preview-product-card .product-media img {
  aspect-ratio: 4 / 5;
}

.preview-product-card .product-body {
  padding: 16px;
}

.preview-product-card .button {
  pointer-events: none;
}

.admin-upsell-group {
  display: grid;
  gap: 10px;
}

.checkbox.compact {
  align-items: center;
  display: flex;
  gap: 10px;
}

.checkbox.compact input {
  min-height: auto;
  width: auto;
}

.admin-option-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-option-grid label {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 96px;
  padding: 10px;
}

.admin-option-grid span {
  align-items: center;
  display: flex;
  gap: 8px;
}

.admin-option-grid input[type="checkbox"] {
  min-height: auto;
  width: auto;
}

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

.admin-color-row {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: auto 1fr auto;
  padding: 10px;
}

.compact-button {
  min-height: 40px;
  padding: 9px 14px;
}

.digital-greeting-copy {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: -4px 0 0 28px;
}

.payment-summary span,
.payment-summary small {
  color: var(--muted);
}

.payment-summary strong {
  color: var(--coral);
  font-size: 1.35rem;
}

.order-success {
  background: rgba(216, 239, 229, 0.88);
  border: 1px solid rgba(0, 127, 120, 0.2);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 20px;
}

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

.order-success h3 {
  margin-bottom: 0;
}

.order-success p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.newsletter-confirmation {
  background:
    radial-gradient(circle at 88% 18%, rgba(247, 215, 206, 0.82), transparent 32%),
    linear-gradient(135deg, var(--mint), var(--paper));
}

.newsletter-confirmation[hidden] {
  display: none;
}

.newsletter-confirmation:focus {
  outline: none;
}

.newsletter-confirmation-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 127, 120, 0.18);
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 28px;
  grid-template-columns: auto minmax(0, 1fr);
  margin: 0 auto;
  max-width: 940px;
  padding: clamp(28px, 5vw, 56px);
}

.newsletter-confirmation-card h2 {
  margin: 8px 0 14px;
}

.newsletter-confirmation-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
  max-width: 700px;
}

.newsletter-confirmation-icon {
  align-self: start;
  color: var(--teal);
  width: clamp(64px, 8vw, 88px);
}

.newsletter-confirmation-icon svg {
  display: block;
  fill: rgba(216, 239, 229, 0.84);
  height: auto;
  overflow: visible;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  width: 100%;
}

.newsletter-confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.inspiration {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.estimate-panel {
  padding: 24px;
}

.estimate-panel p,
.estimate-panel label,
.estimate-panel .form-note {
  line-height: 1.75;
}

.file-drop {
  align-items: center;
  border: 2px dashed rgba(0, 127, 120, 0.5);
  border-radius: 8px;
  cursor: pointer;
  min-height: 130px;
  padding: 22px;
  place-items: center;
  text-align: center;
}

.file-drop input {
  display: none;
}

.file-drop span {
  color: var(--ink);
  font-size: 1.15rem;
}

.file-drop small {
  color: var(--muted);
}

.field-row,
.admin-form {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.estimate-result {
  background:
    linear-gradient(rgba(92, 54, 52, 0.46), rgba(92, 54, 52, 0.58)),
    url("https://images.unsplash.com/photo-1487530811176-3780de880c2d?auto=format&fit=crop&w=1000&q=84") center/cover;
  color: var(--white);
  display: grid;
  gap: 16px;
  padding: 24px;
  place-content: center;
}

.estimate-result span {
  color: var(--rose-panel);
  font-weight: 950;
  text-transform: uppercase;
}

.estimate-result strong {
  font-family: Georgia, serif;
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 1;
}

.estimate-result p {
  line-height: 1.6;
  margin-bottom: 0;
}

.account-section,
.social-contact {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
}

.account-card,
.login-preview,
.owner-lock,
.requests-panel,
.contact-form,
.legal-grid article {
  padding: 24px;
}

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

.account-card .inline-form {
  margin-top: 8px;
}

.inline-form {
  align-items: start;
  grid-template-columns: minmax(220px, 1fr) minmax(240px, 1.1fr) auto;
}

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

.request-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 16px;
}

.request-tabs button {
  background: rgba(255, 250, 244, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--rose-deep);
  cursor: pointer;
  font-weight: 950;
  padding: 9px 14px;
}

.request-tabs button.active {
  background: var(--rose-soft);
  border-color: var(--rose-soft);
  color: var(--white);
}

.mini-item {
  background: var(--cream);
  border-radius: 8px;
  display: grid;
  gap: 3px;
  padding: 12px;
}

.mini-item strong {
  font-size: 0.95rem;
}

.mini-item-head {
  align-items: start;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.mini-item span {
  color: var(--muted);
  font-size: 0.86rem;
}

.mini-link {
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.order-request {
  gap: 7px;
}

.order-status-badge {
  background: rgba(201, 102, 94, 0.12);
  border: 1px solid rgba(169, 87, 80, 0.24);
  border-radius: 999px;
  color: var(--rose-deep) !important;
  font-size: 0.72rem !important;
  font-weight: 950;
  padding: 5px 9px;
  white-space: nowrap;
}

.order-status-badge:not([data-status="new"]) {
  background: rgba(12, 91, 82, 0.1);
  border-color: rgba(12, 91, 82, 0.24);
  color: var(--teal-dark) !important;
}

.order-status-badge[data-status="in-preparation"] {
  background: #fff1c7;
  border-color: #c48c2b;
  color: #6b4300 !important;
}

.order-status-badge[data-status="picked-up"],
.order-status-badge[data-status="delivered"] {
  background: rgba(12, 91, 82, 0.16);
  border-color: rgba(12, 91, 82, 0.34);
}

.order-status-badge[data-status="rejected"] {
  background: rgba(139, 48, 43, 0.1);
  border-color: rgba(139, 48, 43, 0.32);
  color: #8b302b !important;
}

.order-status-actions {
  margin-top: 5px;
}

.order-status-actions--split {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.order-status-button {
  min-height: 44px;
  width: 100%;
}

.order-status-button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.order-reject-button {
  border-color: #a95750;
  color: #8b302b;
}

@media (max-width: 520px) {
  .order-status-actions--split {
    grid-template-columns: 1fr;
  }
}

.order-status-note,
.order-action-feedback {
  color: var(--teal-dark) !important;
  font-size: 0.82rem !important;
  font-weight: 800;
  line-height: 1.4;
  margin: 2px 0 0;
}

.order-action-feedback:not(:empty) {
  color: #8b302b !important;
}

.order-status-note--cutoff {
  background: rgba(255, 241, 199, 0.72);
  border-left: 3px solid #c48c2b;
  border-radius: 6px;
  color: #5d3a00 !important;
  padding: 8px 10px;
}

.business {
  background:
    linear-gradient(135deg, rgba(255, 240, 237, 0.98), rgba(247, 215, 206, 0.86)),
    var(--rose-panel);
  color: var(--ink);
}

.business .eyebrow {
  color: var(--rose-deep);
}

.business-grid {
  margin-top: 30px;
}

.business-grid article {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(169, 87, 80, 0.18);
  border-radius: 8px;
  padding: 22px;
}

.business-grid p {
  color: var(--muted);
}

.owner-section.locked .owner-tools {
  display: none;
}

.owner-tools {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.owner-dashboard {
  display: grid;
  gap: 14px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.owner-dashboard article {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 6px;
  padding: 18px;
}

.owner-dashboard span {
  color: var(--rose-deep);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.owner-dashboard strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1;
}

.owner-dashboard small {
  color: var(--muted);
  line-height: 1.4;
}

.admin-form {
  padding: 22px;
}

.field-hint {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
  margin-top: -4px;
}

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

.product-storage-tools {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 20px 22px;
}

.product-storage-tools h3,
.product-storage-tools p {
  margin: 0;
}

.product-order-save-actions {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: auto auto minmax(12rem, 1fr);
}

.product-order-save-actions [hidden] {
  display: none !important;
}

.product-order-save-actions .button {
  min-height: 44px;
}

#productOrderStatus[data-state="pending"],
#productOrderStatus[data-state="saving"] {
  color: #7a5418;
}

#productOrderStatus[data-state="editing"] {
  color: var(--teal);
  font-weight: 800;
}

#productOrderStatus[data-state="error"] {
  color: #a63831;
  font-weight: 800;
}

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

.product-reorder-controls .button {
  font-size: 0.76rem;
  min-height: 44px;
  padding: 7px 6px;
}

.product-position-control {
  align-items: end;
  display: grid;
  gap: 7px;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 5rem) minmax(0, 1fr);
}

.product-position-control label {
  align-self: center;
  font-size: 0.8rem;
  font-weight: 900;
}

.product-position-control input {
  min-height: 44px;
  min-width: 0;
  padding: 8px;
  text-align: center;
}

.product-reorder-handle:not(:disabled) {
  cursor: grab;
}

.product-reorder-handle:not(:disabled):active {
  cursor: grabbing;
}

@media (max-width: 720px) {
  .product-order-save-actions {
    grid-template-columns: 1fr 1fr;
  }

  .product-order-save-actions .form-note {
    grid-column: 1 / -1;
  }

  .owner-product-actions .product-reorder-controls {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }

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

  .product-position-control label,
  .product-reorder-handle {
    grid-column: 1 / -1;
  }
}

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

.legal {
  background: var(--white);
}

.legal .section-head {
  align-items: end;
}

.legal .section-copy {
  max-width: 66ch;
}

.legal-review-note {
  background: #fff8e8;
  border: 1px solid #e8c97f;
  border-left: 5px solid #b7791f;
  border-radius: 8px;
  color: #5c4217;
  margin: 0 0 18px;
  padding: 18px 20px;
}

.legal-review-note p {
  color: inherit;
  margin: 7px 0 0;
  max-width: 76ch;
}

.legal-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}

.legal-navigation a,
.legal-navigation button {
  -webkit-appearance: none;
  align-items: center;
  appearance: none;
  background: var(--rose-panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  line-height: 1.2;
  min-height: 44px;
  padding: 10px 14px;
  text-decoration: none;
}

.legal-navigation a:hover,
.legal-navigation a:focus-visible,
.legal-navigation button:hover,
.legal-navigation button:focus-visible,
.legal-navigation button[aria-expanded="true"] {
  background: var(--rose);
  color: var(--white);
}

.legal-grid .legal-card--compact {
  grid-column: span 1;
}

.legal-grid .legal-card--compact:first-child {
  grid-column: span 2;
}

.legal-grid .legal-card--wide {
  grid-column: 1 / -1;
}

.legal address {
  color: var(--muted);
  font-style: normal;
  line-height: 1.65;
}

.legal-document {
  position: relative;
  scroll-margin-top: 104px;
}

.legal-document[hidden] {
  display: none;
}

.legal-document:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 4px;
}

.legal-document-close {
  align-items: center;
  background: var(--rose-panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 850;
  justify-content: center;
  min-height: 44px;
  padding: 9px 15px;
  position: absolute;
  right: 24px;
  top: 24px;
}

.legal-document-close:hover,
.legal-document-close:focus-visible {
  background: var(--rose);
  color: var(--white);
}

.legal-document-content {
  margin: 0 auto;
  max-width: 76ch;
}

.legal-document-content > .eyebrow {
  margin-bottom: 8px;
}

.legal-document-content h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0 0 24px;
  padding-right: 110px;
}

.legal-document-content h4 {
  color: var(--ink);
  font-size: 1.08rem;
  margin: 30px 0 8px;
}

.legal-document-content p,
.legal-document-content li {
  line-height: 1.72;
}

.legal-document-content a {
  overflow-wrap: anywhere;
}

.legal-list {
  color: var(--muted);
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.legal-placeholder,
.legal-callout {
  border-radius: 8px;
  padding: 14px 16px;
}

.legal-placeholder {
  background: #fff8e8;
  border: 1px solid #e8c97f;
  color: #5c4217 !important;
}

.legal-placeholder-inline {
  background: #fff1c9;
  box-decoration-break: clone;
  color: #5c4217;
  font-weight: 750;
  padding: 2px 5px;
  -webkit-box-decoration-break: clone;
}

.legal-callout {
  background: var(--mint);
  border: 1px solid rgba(10, 85, 79, 0.22);
  color: var(--ink) !important;
}

.faq-section {
  background: var(--rose-panel);
}

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

.faq-grid details {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.faq-grid summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 950;
}

.faq-grid p {
  color: var(--muted);
  line-height: 1.65;
  margin: 12px 0 0;
}

.social-contact p {
  line-height: 1.82;
  max-width: 720px;
}

.account-section p,
.account-section label,
.account-section .form-note {
  line-height: 1.78;
}

.footer {
  align-items: center;
  background: var(--rose-panel);
  color: var(--ink);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 28px clamp(18px, 5vw, 72px);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.auth-dialog {
  background: transparent;
  border: 0;
  max-width: min(94vw, 620px);
  padding: 0;
}

.auth-dialog::backdrop {
  backdrop-filter: blur(10px);
  background: rgba(24, 23, 18, 0.42);
}

.auth-shell {
  display: contents;
}

.dialog-close {
  background: var(--rose-soft);
  border: 0;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  font-size: 1.2rem;
  height: 38px;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 38px;
}

.auth-content {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 20px;
  padding: 30px;
}

.verification-box {
  background: var(--rose-panel);
  border: 1px solid rgba(169, 87, 80, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.verification-box[hidden] {
  display: none;
}

.verification-box p {
  color: var(--muted);
  margin-bottom: 0;
}

.auth-tabs {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  padding: 4px;
}

.auth-tabs button {
  flex: 1;
}

.text-button {
  background: transparent;
  border: 0;
  color: var(--teal-dark);
  cursor: pointer;
  font-weight: 900;
  justify-self: center;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reset-panel h3 {
  margin-bottom: 6px;
}

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

.reset-panel[hidden],
.auth-form[hidden] {
  display: none;
}

@media (max-width: 1100px) {
  .google-reviews {
    --reviews-per-view: 2;
    grid-template-columns: 1fr;
  }

  .review-summary {
    max-width: 700px;
  }

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

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

@media (max-width: 860px) {
  .section {
    scroll-margin-top: 150px;
  }

  .site-header {
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
    width: auto;
  }

  .menu-button {
    display: inline-flex;
  }

  nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    width: 100%;
  }

  .site-header:not(.menu-open) nav {
    display: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  nav a {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(169, 87, 80, 0.12);
    border-radius: 999px;
    flex: 0 0 auto;
    padding: 8px 11px;
  }

  .hero,
  .hero-content {
    min-height: min(640px, calc(72svh - 24px));
  }

  .about,
  .shop-layout,
  .inspiration,
  .account-section,
  .newsletter-confirmation-card,
  .owner-tools,
  .owner-dashboard,
  .social-contact,
  .business-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .legal-grid .legal-card--compact,
  .legal-grid .legal-card--compact:first-child {
    grid-column: auto;
  }

  .newsletter-confirmation-icon {
    width: 64px;
  }

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

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

  .catalog-notice {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-notice-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

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

  .cart {
    position: static;
  }

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

  .segmented {
    border-radius: 8px;
    flex-wrap: wrap;
    width: 100%;
  }

  .segmented button {
    flex: 1;
  }

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

  .owner-tools {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .google-reviews {
    --reviews-per-view: 1;
    gap: 28px;
    padding-inline: 16px;
  }

  .review-summary-link {
    justify-self: stretch;
    width: 100%;
  }

  .review-card {
    min-height: 300px;
    padding: 20px;
  }

  .site-header {
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    height: 42px;
  }

  .brand strong {
    font-size: 0.98rem;
  }

  .brand small {
    font-size: 0.67rem;
    margin-top: 2px;
  }

  .header-actions {
    gap: 5px;
  }

  .cart-action,
  .icon-button,
  .header-action,
  .menu-button {
    min-height: 44px;
    padding-inline: 11px;
  }

  .cart-action {
    flex: none;
    justify-content: center;
    max-width: none;
  }

  .cart-action span:not(.cart-symbol) {
    font-size: 0.92rem;
  }

  .icon-button {
    min-width: 0;
  }

  h1 {
    font-size: clamp(2.45rem, 12.5vw, 3.8rem);
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  h3 {
    font-size: 1.04rem;
  }

  .hero-content {
    gap: 14px;
    min-height: min(560px, calc(68svh - 18px));
    padding: 28px 18px;
    place-content: center start;
  }

  .hero-logo {
    height: 82px;
    width: 82px;
  }

  .hero-copy {
    font-size: 0.96rem;
  }

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

  nav {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
  }

  nav a {
    align-items: center;
    display: flex;
    font-size: 0.82rem;
    justify-content: center;
    min-height: 44px;
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 8px 7px;
    text-align: center;
  }

  .field-row,
  .inline-form,
  .admin-form,
  .admin-range-grid,
  .product-storage-tools {
    grid-template-columns: 1fr;
  }

  .preview-card-shell {
    max-width: none;
  }

  #productGrid {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #productGrid .product-card,
  #productGrid .product-body,
  #productGrid .product-meta {
    min-width: 0;
  }

  .product-media {
    cursor: pointer;
    padding: 8px;
    touch-action: manipulation;
  }

  .account-section,
  .social-contact,
  .inspiration,
  .owner-tools {
    gap: 16px;
  }

  .product-media img {
    aspect-ratio: 4 / 5;
  }

  .product-body {
    gap: 7px;
    padding: 9px;
  }

  .product-meta {
    align-items: center;
    flex-direction: row;
    gap: 5px;
    justify-content: space-between;
  }

  .pill {
    font-size: 0.62rem;
    padding: 5px 7px;
  }

  .price {
    font-size: 0.98rem;
  }

  .product-body h3 {
    font-size: 0.92rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .product-description {
    font-size: 0.78rem;
    line-height: 1.42;
    -webkit-line-clamp: 2;
  }

  .product-body p:not(.product-description) {
    font-size: 0.76rem;
    line-height: 1.42;
  }

  .product-card-actions {
    gap: 7px;
  }

  .product-body .button {
    font-size: 0.74rem;
    min-height: 44px;
    padding: 9px 8px;
  }

  .product-dialog {
    max-width: calc(100vw - 14px);
  }

  .product-detail-panel {
    grid-template-columns: 1fr;
    max-height: 90vh;
  }

  .product-detail-media {
    min-height: auto;
    padding: 10px;
  }

  .product-detail-media img {
    aspect-ratio: 4 / 5;
    height: auto;
  }

  .product-detail-body {
    max-height: none;
    padding: 64px 18px 18px;
  }

  .product-detail-body .product-meta {
    padding-right: 56px;
  }

  .product-dialog-close {
    right: 14px;
    top: 14px;
  }

  .product-detail-body h2 {
    font-size: clamp(2rem, 13vw, 3.4rem);
    max-width: 10ch;
  }

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

  .section {
    padding: 46px 14px;
  }

  .section-head {
    gap: 16px;
    margin-bottom: 20px;
  }

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

  .cart {
    padding: 16px;
  }

  .cart-head {
    align-items: start;
    flex-direction: column;
  }

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

  .cart-line,
  .builder-line {
    grid-template-columns: 1fr auto;
  }

  .cart-line button,
  .builder-line button {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .digital-greeting,
  .bouquet-builder,
  .delivery-fields {
    padding: 13px;
  }

  .payment-summary strong {
    font-size: 1.18rem;
  }

  .owner-dashboard {
    grid-template-columns: 1fr;
  }

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

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

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

  .owner-dashboard article,
  .account-card,
  .login-preview,
  .owner-lock,
  .requests-panel,
  .contact-form,
  .legal-grid article,
  .estimate-panel {
    padding: 16px;
  }

  .legal-document-close {
    margin: 0 0 16px auto;
    position: static;
  }

  .legal-document-content h3 {
    padding-right: 0;
  }

  .owner-status {
    width: 100%;
  }

  .owner-status .button,
  .owner-status span {
    flex: 1;
    justify-content: center;
    text-align: center;
  }

  .auth-dialog {
    max-width: 100vw;
  }

  .auth-content {
    border-radius: 8px 8px 0 0;
    max-height: 92svh;
    overflow-y: auto;
    padding: 24px 16px;
  }

  .wide {
    grid-column: auto;
  }

  .footer {
    align-items: start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-track {
    transition: none;
  }
}

@media (max-width: 480px) {
  .menu-label,
  .cart-action > span:not(.cart-symbol) {
    display: none;
  }

  .menu-button,
  .cart-action {
    min-width: 44px;
  }

  .hero,
  .hero-content {
    min-height: min(520px, calc(66svh - 12px));
  }

  .hero-content {
    padding-top: 22px;
  }

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

  .catalog-notice-actions,
  .catalog-options dl div {
    grid-template-columns: 1fr;
  }

  .checkout-steps span {
    min-height: 44px;
  }
}
