: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;
}

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;
}

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;
}

.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) 88px;
  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);
}

.hero-peek {
  align-items: center;
  background: rgba(255, 250, 244, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  bottom: 0;
  box-shadow: var(--shadow);
  color: var(--ink);
  display: flex;
  gap: 12px;
  left: clamp(18px, 6vw, 76px);
  padding: 16px 18px;
  position: absolute;
  z-index: 2;
}

.hero-peek span {
  background: var(--cream);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 900;
  padding: 8px 10px;
}

.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;
}

.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;
}

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

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

.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%);
}

.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;
}

.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;
}

.rating-line {
  color: var(--rose);
  font-size: 0.88rem;
  font-weight: 900;
  margin: -4px 0 0;
}

.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;
}

.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%;
  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);
  overflow: auto;
  padding: 72px 34px 30px;
}

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

.product-detail-body h2 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.92;
  max-width: 9.5ch;
}

.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;
}

.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;
}

.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 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;
}

.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;
}

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

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

.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) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .site-header {
    gap: 10px;
    grid-template-columns: 1fr;
  }

  .brand {
    grid-column: 1;
  }

  .header-actions {
    grid-column: 1;
    justify-content: space-between;
    width: 100%;
  }

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

  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,
  .owner-tools,
  .owner-dashboard,
  .social-contact,
  .business-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

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

  .shop-controls {
    grid-template-columns: 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) {
  .site-header {
    align-items: start;
    padding: 10px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    height: 46px;
  }

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

  .header-actions {
    gap: 6px;
  }

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

  .cart-action {
    flex: 1;
    justify-content: center;
    max-width: 190px;
  }

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

  .icon-button {
    min-width: 92px;
  }

  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 82px;
    place-content: center start;
  }

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

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

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

  .hero-peek {
    left: 18px;
    right: 18px;
    overflow-x: auto;
    padding: 12px;
  }

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

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

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

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

  .product-grid {
    gap: 14px;
  }

  .product-media {
    padding: 8px;
  }

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

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

  .product-body {
    gap: 10px;
    padding: 14px;
  }

  .product-body .button {
    min-height: 48px;
  }

  .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;
  }

  .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;
  }
}
