@font-face {
  font-family: Pretendard;
  src: url("/fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
/* Photo-led catalog and supplier editing share the existing flat showroom. */
.photo {
  position: relative;
}
.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.new-badge,
.best-badge {
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: var(--brand);
  color: white;
  font-size: 12px;
  letter-spacing: 0.04em;
  font-weight: 750;
}
.best-badge {
  background: var(--surface);
  color: var(--brand);
  border-color: var(--brand);
}
.catalog-note {
  text-align: right;
  font-size: 16px;
  font-weight: 650;
}
.catalog-note span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}
.admin-link {
  font-size: 13px;
  padding: 10px;
}
.inquiry-note {
  padding: 20px 0;
  color: var(--muted);
}
.product-story {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding: 32px 0;
}
.product-story p {
  white-space: pre-wrap;
  line-height: 1.8;
  max-width: 70ch;
  margin: 16px auto;
}
.product-story h3 {
  font-size: 25px;
  margin: 32px 0 16px;
}
.product-story figure {
  margin: 28px 0;
}
.product-story img {
  max-width: 100%;
  height: auto;
  margin: auto;
}
.product-story figcaption {
  color: var(--muted);
  text-align: center;
  margin: 12px;
}
.product-story li {
  line-height: 1.8;
}
.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: start;
}
.editor-main,
.editor-sidebar {
  min-width: 0;
}
.editor-form h2 {
  font-size: 20px;
}
.editor-actions {
  display: flex;
  gap: 10px;
}
.product-title-label {
  font-weight: 650;
}
.product-title-label input {
  font-size: 24px;
  margin-top: 10px;
}
.field-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 34px 0 14px;
}
.field-heading span {
  color: var(--muted);
  font-size: 13px;
}
.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  padding: 24px;
  border: 1px dashed var(--control-border, #afc0c9);
  border-radius: 12px;
  background: white;
  cursor: pointer;
  text-align: center;
  gap: 8px;
}
.dropzone:focus-within,
.dropzone.drag-active {
  outline: 3px solid var(--action);
  outline-offset: 3px;
}
.dropzone > span {
  font-size: 13px;
  color: var(--muted);
}
.dropzone .upload-label {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 16px;
  color: var(--action);
}
.dropzone input {
  width: 100%;
  max-width: 270px;
  font-size: 12px;
}
#upload-progress {
  min-height: 28px;
  color: var(--muted);
  font-size: 14px;
  padding-top: 8px;
}
.gallery-editor {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.gallery-item {
  min-width: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.gallery-photo {
  position: relative;
  aspect-ratio: 1;
}
.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: var(--brand);
  color: white;
  padding: 3px 8px;
  font-size: 12px;
  border-radius: 5px;
}
.item-controls {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
.item-controls button {
  white-space: nowrap;
  font-size: 12px;
  padding: 6px;
  min-height: 38px;
  flex: 1;
}
.reference-price {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0;
}
.danger-text {
  color: var(--danger);
}
.text-action {
  background: transparent;
  color: var(--action);
  width: 100%;
  font-size: 13px;
  border: 0;
  padding: 8px;
}
.editor-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 20px;
}
.editor-section h2 {
  margin-bottom: 18px;
}
.editor-section label {
  margin-top: 16px;
}
.editor-section .fine {
  margin-top: 9px;
}
.feature-schedule {
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}
.feature-schedule h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 750;
}
.feature-schedule .schedule-fields {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.feature-schedule .schedule-fields label {
  margin-top: 0;
  font-size: 13px;
}
.feature-schedule input[type="datetime-local"] {
  min-width: 0;
  font-size: 13px;
  padding-inline: 10px;
}
.feature-schedule .schedule-reset {
  margin-top: 8px;
  min-height: 36px;
  padding: 6px 0;
  color: var(--action);
  font-size: 13px;
}
.editor-section summary {
  cursor: pointer;
  font-weight: 650;
}
.editor-option {
  border-top: 1px solid var(--line);
  margin: 18px 0;
  padding-top: 14px;
}
.editor-option label {
  margin-top: 10px;
  font-size: 13px;
}
.block-toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.block-toolbar button {
  font-size: 13px;
}
.editor-block {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: white;
  margin-bottom: 14px;
}
.block-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.block-top .item-controls {
  flex-wrap: nowrap;
}
.editor-block textarea {
  width: 100%;
  resize: vertical;
}
.block-image {
  max-height: 320px;
  width: auto;
  margin: 12px auto;
}
.editor-empty {
  color: var(--muted);
  padding: 26px 0;
  line-height: 1.7;
}
@media (max-width: 1000px) {
  .editor-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 22px;
  }
  .gallery-editor {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .editor-layout {
    grid-template-columns: 1fr;
  }
  .editor-actions {
    width: 100%;
  }
  .editor-actions button {
    flex: 1;
  }
  .catalog-note {
    display: none;
  }
  .editor-form .page-heading {
    flex-wrap: wrap;
    gap: 20px;
  }
  .gallery-editor {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .block-top {
    flex-wrap: wrap;
  }
  .dropzone {
    padding: 18px 10px;
  }
  .admin-link {
    padding: 8px 4px;
  }
}
:root {
  --ink: #183441;
  --brand: #163f51;
  --action: #1b6481;
  --bg: #f4f7f8;
  --surface: #fff;
  --muted: #526b77;
  --line: #d9e2e6;
  --danger: #a62d2d;
  --radius: 12px;
  font-family: Pretendard, "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  font-size: 16px;
  line-height: 1.5;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  min-height: 44px;
  padding: 10px 18px;
  background: var(--action);
  color: white;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
button:hover {
  filter: brightness(0.94);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  line-height: 1.28;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 17px;
  margin: 24px 0 12px;
}
p {
  color: var(--muted);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #72b6d2;
  outline-offset: 3px;
}
::selection {
  background: #c4e8f2;
  color: var(--ink);
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #afc0c9;
  border-radius: 7px;
  padding: 11px 12px;
  background: white;
  color: var(--ink);
  min-height: 44px;
  caret-color: var(--action);
}
input::placeholder,
textarea::placeholder {
  color: #627782;
}
textarea {
  resize: vertical;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
label > input,
label > select,
label > textarea {
  margin-top: 6px;
}
small,
.fine {
  font-size: 13px;
  color: var(--muted);
}
.fine {
  line-height: 1.65;
}
strong,
td {
  font-variant-numeric: tabular-nums;
}
.secondary {
  background: white;
  color: var(--action);
  border-color: #b3cad5;
}
.quiet {
  background: transparent;
  color: inherit;
  border: 0;
  padding: 8px 10px;
}
.small {
  min-height: 36px;
  padding: 6px 12px;
  font-size: 13px;
}
.wide {
  width: 100%;
}
.danger {
  color: var(--danger);
  border-color: #e5bdbd;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  position: absolute;
  z-index: 100;
  background: white;
  padding: 10px;
}
#main[tabindex="-1"]:focus {
  outline: none;
}
.muted {
  color: var(--muted);
}
header {
  background: var(--brand);
  color: white;
}
.head-inner,
nav {
  max-width: 1280px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
}
.head-inner {
  height: 87px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand strong {
  font-weight: 450;
  color: #b4d5e1;
}
.brand-mark {
  background: #dcebf0;
  color: var(--brand);
  font-size: 20px;
  letter-spacing: -0.07em;
  font-weight: 800;
  width: 40px;
  height: 40px;
  display: grid;
  place-content: center;
  border-radius: 10px;
}
.account {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.account > button:not(.quiet) {
  background: white;
  color: var(--brand);
}
nav {
  justify-content: flex-start;
  gap: 28px;
  padding-top: 0;
  padding-bottom: 0;
  min-height: 56px;
}
.nav-links {
  display: flex;
  align-items: stretch;
  flex: 1;
  min-width: 0;
  gap: 8px;
  overflow-x: auto;
}
nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 18px;
  white-space: nowrap;
  color: #c7dce5;
  border-bottom: 3px solid transparent;
}
nav a.active {
  background: #205367;
  color: white;
  border-bottom-color: #a7d9e6;
}
nav a:hover {
  color: white;
}
.nav-cart {
  margin-left: auto;
  flex-shrink: 0;
  color: #d7e8ee;
}
.count {
  display: inline-grid;
  place-content: center;
  background: #dcebf0;
  color: var(--brand);
  font-size: 11px;
  min-width: 19px;
  height: 19px;
  border-radius: 20px;
  padding: 0 4px;
}
.demo {
  padding: 8px 24px;
  text-align: center;
  font-size: 12px;
  color: #46626e;
  background: #e6eef1;
}
main {
  max-width: 1280px;
  margin: auto;
  padding: 36px 32px 64px;
  min-height: calc(100vh - 270px);
}
footer {
  border-top: 1px solid var(--line);
  max-width: 1216px;
  margin: auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}
.footer-brand {
  display: grid;
  gap: 5px;
}
.footer-brand > span {
  font-weight: 700;
}
.footer-brand small {
  font-size: 12px;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  text-decoration: none;
}
.shipping-page p {
  margin-top: 24px;
  color: var(--muted);
}
.open-source-page {
  max-width: 800px;
}
.open-source-page > p {
  color: var(--muted);
  margin: 16px 0 32px;
}
.license-list article {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.license-list h2 {
  font-size: 20px;
  margin-bottom: 8px;
}
.license-list h2 small {
  font-size: 14px;
  font-weight: 400;
  margin-left: 5px;
  color: var(--muted);
}
.license-list p {
  margin: 8px 0;
}
.license-author {
  font-size: 13px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.license-links {
  display: flex;
  gap: 24px;
}
.license-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--action);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2px 0 34px;
  padding: 10px 0 30px;
  border-bottom: 1px solid var(--line);
}
.intro h1 {
  font-size: 36px;
  margin-bottom: 15px;
}
.intro p {
  font-size: 15px;
}
.order-rule {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px 0 15px 42px;
  border-left: 1px solid #c2d1d8;
  font-size: 13px;
  color: var(--muted);
}
.order-rule strong {
  font-size: 28px;
  color: var(--brand);
  letter-spacing: -0.03em;
}
.catalog-tools {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.tabs button {
  background: transparent;
  color: var(--muted);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 14px;
}
.tabs .featured-category {
  background: #e3edf2;
  color: var(--brand);
  border-color: var(--secondary-border, #b3cad5);
  font-weight: 800;
}
.tabs .selected {
  background: var(--brand);
  color: white;
}
.search {
  width: 240px;
  flex-shrink: 0;
}
.search input {
  background: var(--surface);
  margin-top: 0;
}
.catalog-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 40px;
}
.catalog-contact p {
  margin: 0;
  font-weight: 650;
}
.catalog-contact button {
  flex-shrink: 0;
}
.result-line {
  display: flex;
  justify-content: space-between;
  margin: 22px 0 16px;
  color: var(--muted);
  font-size: 13px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 22px;
}
.product {
  min-width: 0;
}
.photo {
  padding: 0;
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #e9edee;
}
.photo img {
  width: 100%;
  height: 100%;
  transition: transform 0.18s ease-out;
}
.photo:hover img {
  transform: scale(1.035);
}
.photo-hint {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffffeb;
  padding: 8px 10px;
  color: var(--brand);
  font-size: 12px;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.15s;
}
.photo:hover .photo-hint,
.photo:focus-visible .photo-hint {
  opacity: 1;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin: 16px 0 2px;
}
.product-name {
  background: none;
  color: var(--ink);
  padding: 3px 0;
  min-height: 32px;
  font-size: 18px;
  justify-content: flex-start;
  text-align: left;
  letter-spacing: -0.02em;
}
.swatches {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
  margin: 7px 0 15px;
}
.swatch {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--swatch);
  border: 1px solid #0002;
}
.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}
.product-bottom strong {
  font-size: 19px;
  letter-spacing: -0.02em;
}
.product-bottom span {
  font-size: 12px;
  color: var(--muted);
}
.contact-strip {
  margin-top: 52px;
  padding: 28px 30px;
  background: #e1edf1;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.contact-strip h2 {
  font-size: 20px;
  margin-bottom: 5px;
}
.contact-strip p {
  font-size: 14px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 8px 0 30px;
}
.page-heading p {
  margin-top: 9px;
  font-size: 14px;
}
.page-heading > span {
  font-size: 14px;
}
.empty {
  padding: 80px 20px;
  text-align: center;
  grid-column: 1/-1;
}
.empty h2 {
  font-size: 20px;
  margin-bottom: 8px;
}
.empty p {
  font-size: 14px;
}
.table-wrap {
  overflow: auto;
  background: white;
  border-radius: 10px;
  border: 1px solid var(--line);
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
  font-size: 14px;
}
th {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  padding: 14px 20px;
  background: #edf3f5;
}
td {
  padding: 20px;
  border-top: 1px solid var(--line);
}
td small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
}
.status {
  display: inline-block;
  font-size: 12px;
  background: #edf2f4;
  color: #45626f;
  border-radius: 5px;
  padding: 5px 8px;
  white-space: nowrap;
}
.status.accepted,
.status.preparing {
  background: #e4edf8;
  color: #245184;
}
.status.shipped,
.status.delivered {
  background: #e5f2e9;
  color: #246145;
}
.status.cancelled {
  background: #f7e7e7;
  color: #962d2d;
}
.table-product {
  display: flex;
  align-items: center;
  gap: 12px;
}
.table-product img {
  border-radius: 6px;
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
  align-items: start;
}
.cart-list {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.cart-item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto 35px;
  gap: 15px;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.cart-item:last-child {
  border-bottom: 0;
}
.cart-item h2 {
  font-size: 16px;
}
.cart-item p,
.cart-item span {
  font-size: 12px;
}
.cart-item img {
  border-radius: 6px;
}
.cart-item strong {
  font-size: 14px;
}
.cart-item .quiet {
  padding: 3px;
}
.bulk-quantity {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
}
.bulk-quantity legend {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 650;
}
.quantity-presets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
}
.quantity-presets button {
  padding: 8px 3px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.quantity-presets button[aria-pressed="true"] {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}
.quantity-stepper {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 8px;
}
.quantity-stepper button {
  padding: 10px;
}
.quantity-stepper input {
  width: 100%;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.quantity-total {
  margin: 0;
  padding: 16px 0;
  border-block: 1px solid var(--line);
  display: grid;
  gap: 8px;
}
.quantity-total > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.quantity-total dt {
  font-size: 13px;
  color: var(--muted);
}
.quantity-total dd {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.quantity-total > div:last-child dd {
  font-size: 22px;
}
.quantity-price-table {
  margin: 0;
  font-size: 13px;
}
.quantity-price-table caption {
  text-align: left;
  font-weight: 650;
  margin-bottom: 8px;
}
.quantity-price-table th,
.quantity-price-table td {
  padding: 8px 10px;
  font-size: 13px;
}
.quantity-price-table th:last-child,
.quantity-price-table td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.cart-item .bulk-quantity {
  grid-column: 2 / -1;
}
.price-tier-editor {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.price-tier-editor h3 {
  font-size: 15px;
}
.price-tier-editor > p {
  margin: 8px 0 14px;
}
.price-tier-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
  margin-bottom: 12px;
}
.price-tier-row label {
  font-size: 12px;
}
.price-tier-row input {
  min-width: 0;
  width: 100%;
  padding-inline: 8px;
}
.price-tier-row button {
  padding-inline: 5px;
  font-size: 12px;
}
.checkout-panel {
  background: white;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  gap: 16px;
  position: sticky;
  top: 20px;
}
.checkout-panel h2 {
  font-size: 19px;
  margin-bottom: 4px;
}
.total {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.total strong {
  font-size: 23px;
}
.form-error {
  color: var(--danger);
  font-size: 13px;
}
.auth {
  width: min(460px, 100%);
  margin: 30px auto;
  padding: 34px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.auth h1 {
  font-size: 27px;
}
.auth p {
  font-size: 14px;
  margin: 10px 0 26px;
}
.auth form {
  display: grid;
  gap: 18px;
}
.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.demo-actions span {
  width: 100%;
  font-size: 12px;
  color: var(--muted);
}
.demo-actions button {
  flex: 1;
  font-size: 13px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.metrics section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-right: 1px solid var(--line);
}
.metrics section:last-child {
  border: 0;
}
.metrics span {
  font-size: 13px;
  color: var(--muted);
}
.metrics strong {
  font-size: 27px;
  letter-spacing: -0.03em;
}
.metrics small {
  font-size: 12px;
}
.report-section {
  margin-top: 32px;
}
.report-section h2 {
  font-size: 20px;
  margin-bottom: 18px;
}
.bars {
  padding: 20px 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.bar-row {
  display: grid;
  grid-template-columns: 55px 1fr 130px;
  gap: 16px;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
}
.bar-row > div {
  height: 16px;
  background: #eff4f6;
  border-radius: 3px;
  overflow: hidden;
}
.bar-row i {
  display: block;
  height: 100%;
  background: #4385a0;
  border-radius: 3px;
}
.bar-row strong {
  text-align: right;
}
.chat-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  height: 600px;
}
.thread-list {
  border-right: 1px solid var(--line);
  overflow: auto;
  background: #f9fbfc;
}
.thread {
  display: block;
  width: 100%;
  padding: 20px;
  border: 0;
  border-radius: 0;
  text-align: left;
  background: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.thread strong {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.thread > span {
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-top: 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.thread.selected {
  background: #e4eef3;
}
.conversation {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.conversation > .conversation-heading,
.conversation > .quick-replies,
.conversation > #message-form {
  flex-shrink: 0;
}
.conversation-heading {
  border-bottom: 1px solid var(--line);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
}
.conversation-heading span {
  font-size: 12px;
  color: var(--muted);
}
.messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scrollbar-color: #b1c6d1 #f7fafb;
}
.message {
  max-width: 80%;
  align-self: flex-start;
}
.message > span {
  font-size: 11px;
  color: var(--muted);
}
.message p {
  background: #edf2f4;
  padding: 12px 15px;
  border-radius: 3px 12px 12px;
  color: var(--ink);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
  margin-top: 4px;
}
.message.mine {
  align-self: flex-end;
}
.message.mine > span {
  display: none;
}
.message.mine p {
  background: #dfeef4;
  border-radius: 12px 3px 12px 12px;
}
.message time {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  color: var(--muted);
}
.message.mine time {
  text-align: right;
}
.message.system p {
  background: #f1f3e9;
}
.message button {
  font-size: 11px;
  min-height: 25px;
  padding: 3px;
}
.message .chat-product-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 320px;
  max-width: 100%;
  margin-top: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 3px 12px 12px;
  background: #edf2f4;
  color: var(--ink);
  text-align: left;
  white-space: normal;
}
.message.mine .chat-product-card {
  border-color: #b8d4e1;
  border-radius: 12px 3px 12px 12px;
  background: #dfeef4;
}
.chat-product-card img {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}
.chat-product-info {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.chat-product-info strong {
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.chat-product-action {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--action);
}
.chat-product-action svg {
  width: 14px;
  height: 14px;
}
.chat-product-card.unavailable .chat-product-action {
  color: var(--muted);
}
.pending-product-consult {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
}
.pending-product-consult p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.pending-consult-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .message .chat-product-card {
    width: 280px;
    gap: 10px;
    padding: 10px;
  }
  .chat-product-card img {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
  }
  .pending-product-consult {
    align-items: flex-start;
    flex-direction: column;
  }
}
.quick-replies {
  display: flex;
  gap: 8px;
  padding: 8px 20px;
  overflow-x: auto;
}
.quick-replies button {
  font-size: 12px;
  white-space: nowrap;
}
#message-form {
  display: flex;
  gap: 10px;
  padding: 14px 20px 20px;
}
#message-form textarea {
  flex: 1;
  min-width: 0;
  min-height: 60px;
  max-height: 130px;
  font-size: 14px;
}
#message-form button {
  align-self: stretch;
  flex-shrink: 0;
  white-space: nowrap;
  min-width: 68px;
}
.connection {
  color: #25694a;
  font-size: 12px;
}
dialog {
  border: 0;
  border-radius: 15px;
  box-shadow: 0 18px 65px #17344645;
  padding: 40px;
  max-width: 980px;
  width: calc(100% - 40px);
  max-height: 90dvh;
  overflow: auto;
  color: var(--ink);
}
dialog::backdrop {
  background: #142c3ab3;
}
.dialog-close {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 38px;
  min-height: 38px;
  z-index: 2;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}
.detail-image {
  padding: 0;
  background: #f1f4f5;
  display: block;
  color: var(--brand);
  width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
}
.detail-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}
.detail-image span {
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  padding: 12px 15px;
  align-items: center;
}
.detail-info > span {
  font-size: 13px;
  color: var(--muted);
}
.detail-info h2 {
  font-size: 29px;
  margin: 6px 0 13px;
}
.detail-info > p {
  font-size: 14px;
  margin-bottom: 22px;
}
.detail-info form {
  display: grid;
  gap: 14px;
}
.thumbnails {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 4px 0 8px;
  margin-top: 10px;
}
.thumbnails button {
  padding: 0;
  background: none;
  overflow: hidden;
  border-radius: 6px;
  flex: 0 0 64px;
  min-height: 64px;
}
.thumbnails img {
  border-radius: 6px;
  object-fit: cover;
}
.specs {
  display: grid;
  grid-template-columns: 115px 1fr;
  font-size: 13px;
  line-height: 1.65;
  gap: 0;
  margin: 22px 0;
}
.specs dt,
.specs dd {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.specs dt {
  color: var(--muted);
}
.specs dd {
  overflow-wrap: anywhere;
}
.order-detail {
  max-width: 680px;
  margin: auto;
}
.order-detail h2 {
  margin-bottom: 15px;
}
.order-lines {
  margin: 25px 0;
}
.order-lines p {
  display: flex;
  flex-direction: column;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.order-lines span {
  font-size: 13px;
  margin-top: 4px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.action-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.timeline {
  padding-left: 20px;
  font-size: 13px;
}
.timeline li {
  padding: 8px 0;
}
.timeline p {
  font-size: 12px;
  margin-top: 4px;
}
.product-form {
  display: grid;
  gap: 16px;
}
.product-form h2 {
  margin-bottom: 6px;
}
.checkbox {
  display: flex;
  gap: 8px;
  align-items: center;
}
.checkbox input {
  width: 18px;
  min-height: 18px;
  margin: 0;
}
.variant-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr 30px;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: end;
}
.variant-row label {
  font-size: 12px;
}
.variant-row input {
  font-size: 13px;
  padding: 9px;
}
.save-product {
  margin-top: 10px;
}
#zoom {
  max-width: 1100px;
  padding: 20px;
}
#zoom img {
  width: 100%;
  object-fit: contain;
  max-height: 83dvh;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  background: var(--brand);
  color: white;
  padding: 13px 22px;
  border-radius: 9px;
  font-size: 14px;
  z-index: 100;
  max-width: calc(100% - 30px);
  box-shadow: 0 8px 25px #163f5133;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}
#toast.show {
  opacity: 1;
}
#toast.error {
  background: #922e2e;
}
@media (max-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .checkout-panel {
    position: static;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics section:nth-child(2) {
    border-right: 0;
  }
  .metrics section:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .cart-item {
    grid-template-columns: 65px minmax(0, 1fr) auto 28px;
  }
  .brand {
    font-size: 18px;
  }
  nav {
    gap: 16px;
  }
  nav a {
    padding: 12px;
  }
  .variant-row {
    grid-template-columns: repeat(3, 1fr);
  }
  footer {
    margin: 0 24px;
  }
}
@media (max-width: 600px) {
  .head-inner {
    padding: 16px 18px;
    height: 76px;
  }
  .brand {
    font-size: 16px;
    gap: 8px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }
  .account > span {
    display: none;
  }
  .account {
    gap: 2px;
  }
  .account button {
    font-size: 12px;
    padding: 7px;
  }
  .account .quiet {
    display: inline-flex;
  }
  nav {
    padding: 0 12px;
    gap: 12px;
    min-height: 49px;
  }
  nav a {
    font-size: 12px;
    padding: 12px 10px;
    gap: 5px;
  }
  nav svg {
    width: 17px;
    height: 17px;
  }
  .nav-links {
    gap: 0;
  }
  nav .nav-cart {
    padding-left: 12px;
    padding-right: 6px;
  }
  .catalog-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .catalog-contact p {
    max-width: 24em;
    line-height: 1.7;
  }
  .demo {
    font-size: 10px;
    padding: 8px 12px;
  }
  main {
    padding: 26px 18px 40px;
  }
  .intro {
    display: block;
    margin-bottom: 24px;
    padding-bottom: 22px;
  }
  .intro h1 {
    font-size: 29px;
  }
  .intro p {
    font-size: 13px;
    max-width: 30ch;
  }
  .order-rule {
    border: 0;
    padding: 15px 0 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    font-size: 10px;
  }
  .order-rule > span:first-child {
    display: none;
  }
  .order-rule strong {
    font-size: 17px;
  }
  .catalog-tools {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }
  .tabs {
    gap: 4px;
    flex-wrap: nowrap;
    overflow: auto;
  }
  .tabs button {
    font-size: 12px;
    white-space: nowrap;
    padding: 7px 11px;
    min-height: 44px;
  }
  .search {
    width: 100%;
  }
  .search input {
    font-size: 14px;
  }
  .result-line {
    margin: 18px 0 12px;
    font-size: 11px;
  }
  .product-grid {
    gap: 24px 13px;
  }
  .product-meta {
    font-size: 10px;
    margin-top: 11px;
  }
  .product-meta > span:last-child {
    display: none;
  }
  .product-name {
    font-size: 15px;
    line-height: 1.35;
  }
  .swatches {
    font-size: 10px;
    margin: 6px 0 10px;
    gap: 5px;
  }
  .swatch {
    width: 10px;
    height: 10px;
  }
  .product-bottom {
    display: block;
  }
  .product-bottom strong {
    font-size: 17px;
  }
  .product-bottom button {
    width: 100%;
    margin-top: 10px;
  }
  .photo {
    border-radius: 9px;
  }
  .photo-hint {
    display: none;
  }
  .contact-strip {
    display: block;
    padding: 22px;
    margin-top: 35px;
  }
  .contact-strip h2 {
    font-size: 18px;
  }
  .contact-strip p {
    font-size: 12px;
  }
  .contact-strip button {
    margin-top: 18px;
    font-size: 13px;
  }
  .page-heading {
    align-items: flex-start;
    margin-bottom: 22px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading p {
    font-size: 12px;
    max-width: 32ch;
  }
  .page-heading > button {
    font-size: 12px;
    white-space: nowrap;
    padding: 9px 12px;
  }
  .page-heading > label {
    font-size: 12px;
    max-width: 140px;
  }
  td {
    padding: 15px 12px;
    font-size: 12px;
  }
  th {
    padding: 12px;
    font-size: 11px;
  }
  .cart-item {
    grid-template-columns: 60px 1fr 30px;
    gap: 10px;
    padding: 16px;
  }
  .cart-item .bulk-quantity {
    grid-column: 1 / -1;
  }
  .cart-item strong {
    grid-column: 2;
  }
  .cart-item > .quiet {
    grid-row: 1;
    grid-column: 3;
  }
  .cart-item h2 {
    font-size: 15px;
  }
  .checkout-panel {
    padding: 20px;
  }
  .metrics section {
    padding: 18px 14px;
  }
  .metrics strong {
    font-size: 20px;
  }
  .metrics span,
  .metrics small {
    font-size: 11px;
  }
  .bar-row {
    grid-template-columns: 40px 1fr 90px;
    gap: 10px;
    font-size: 11px;
  }
  .bars {
    padding: 16px;
  }
  .auth {
    margin: 5px auto;
    padding: 25px 20px;
  }
  .chat-layout {
    grid-template-columns: 1fr;
    height: 65dvh;
    min-height: 460px;
  }
  .thread-list {
    display: flex;
    border: 0;
    border-bottom: 1px solid var(--line);
    max-height: 75px;
  }
  .thread {
    min-width: 160px;
    padding: 12px;
    font-size: 12px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
  .thread > span {
    font-size: 10px;
    margin-top: 3px;
  }
  .conversation {
    min-height: 0;
  }
  .conversation-heading {
    padding: 12px 15px;
    font-size: 12px;
  }
  .conversation-heading span {
    font-size: 10px;
  }
  .messages {
    padding: 16px 13px;
  }
  .message {
    max-width: 90%;
  }
  .message p {
    font-size: 13px;
  }
  .quick-replies {
    padding: 8px 10px;
  }
  .quick-replies button {
    font-size: 10px;
    min-height: 44px;
  }
  #message-form {
    padding: 9px 10px 14px;
    gap: 8px;
  }
  #message-form button {
    font-size: 13px;
    padding: 9px 12px;
  }
  .chat-layout:has(.thread-list) {
    grid-template-rows: auto minmax(0, 1fr);
  }
  dialog {
    width: calc(100% - 20px);
    padding: 34px 18px 24px;
    border-radius: 12px;
    max-height: 94dvh;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .detail-info h2 {
    font-size: 24px;
  }
  .detail-image img {
    max-height: 38dvh;
    object-fit: contain;
  }
  .specs {
    grid-template-columns: 100px 1fr;
    font-size: 12px;
  }
  .form-row {
    gap: 10px;
  }
  .variant-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .action-row {
    flex-wrap: wrap;
  }
  .action-row button {
    font-size: 12px;
  }
  footer {
    margin: 0 18px;
    flex-wrap: wrap;
    gap: 8px 24px;
    font-size: 11px;
  }
  .footer-links {
    margin-left: 0;
  }
  .footer-brand small {
    font-size: 11px;
  }
  .table-product {
    gap: 8px;
  }
  .table-product strong {
    max-width: 130px;
    white-space: normal;
  }
  .table-product img {
    width: 40px;
    height: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Account operations inherit the catalog's flat showroom surfaces. */
.profile-back-link {
  align-self: center;
  color: var(--action);
  font-size: 14px;
  text-underline-offset: 4px;
  white-space: nowrap;
}
.profile-account-actions {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}
.account-action-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 13px 18px;
  background: var(--action);
  color: var(--surface);
  border: 1px solid var(--action);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}
.account-action-link.secondary {
  background: var(--surface);
  color: var(--action);
  border-color: #b3cad5;
}
.account-action-link svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}
.account-action-link:hover {
  filter: brightness(0.96);
}
.business-request-page {
  max-width: 760px;
}
.business-request-page > h2 {
  margin-top: 32px;
}
.privacy-consent {
  margin: 24px 0;
}
.privacy-consent .checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}
.privacy-consent .checkbox-line input {
  flex-shrink: 0;
  margin-top: 2px;
}
.privacy-consent > a {
  display: inline-block;
  margin: 8px 0 0 28px;
  color: var(--action);
  font-size: 13px;
  text-underline-offset: 4px;
}
.privacy-policy {
  max-width: 960px;
  margin: 0 auto;
  overflow-wrap: anywhere;
}
.privacy-policy > h1 {
  margin: 0 0 20px;
}
.privacy-policy p,
.privacy-policy li {
  line-height: 1.8;
  max-width: 75ch;
}
.privacy-section {
  margin-top: 34px;
}
.privacy-section h2 {
  font-size: 22px;
  margin: 0 0 14px;
}
.privacy-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.privacy-table-wrap table {
  min-width: 640px;
}
.privacy-table-wrap td {
  white-space: normal;
  line-height: 1.7;
  vertical-align: top;
}
.privacy-contact {
  padding: 18px 0;
}
.privacy-blank {
  display: inline-block;
  min-width: 8ch;
  min-height: 1.4em;
  vertical-align: bottom;
}
.profile-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.profile-section {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.profile-section h2,
.business-review-section h2 {
  font-size: 22px;
  margin: 0 0 22px;
}
.profile-section form label {
  margin-top: 18px;
}
.profile-section input[readonly] {
  background: var(--bg);
  color: var(--muted);
}
.profile-form-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.profile-business {
  margin: 0 0 18px;
}
.profile-business > div,
.business-change-values > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.profile-business dt,
.business-change-values dt {
  color: var(--muted);
  font-size: 13px;
}
.profile-business dd,
.business-change-values dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.document-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--action);
  font-size: 14px;
  min-height: 44px;
  text-underline-offset: 4px;
}
.document-link svg {
  width: 17px;
  height: 17px;
}
.business-result {
  padding: 18px 0 0;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}
.business-result strong,
.business-result small {
  display: block;
}
.business-result small {
  margin-top: 8px;
  color: var(--muted);
}
.business-result p {
  margin: 10px 0;
  overflow-wrap: anywhere;
}
.business-result.rejected strong {
  color: var(--danger);
}
.business-request-details {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 18px;
}
.business-request-details summary {
  cursor: pointer;
  color: var(--action);
  font-weight: 650;
  min-height: 32px;
}
.business-request-details .fine {
  max-width: 65ch;
}
.profile-addresses {
  margin-top: 24px;
}
.profile-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.profile-section-heading h2 {
  margin: 0;
}
.profile-section-heading h2 span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  margin-left: 8px;
}
.profile-section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.profile-section-heading > button,
.profile-section-heading > span {
  flex-shrink: 0;
}
.address-editor {
  max-width: 760px;
  padding: 8px 0 28px;
}
.address-editor h3 {
  font-size: 18px;
  margin: 12px 0 0;
}
.address-editor .checkbox-line {
  display: flex;
  align-items: center;
  gap: 9px;
}
.checkbox-line input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: var(--action);
}
.address-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.address-list > li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.address-list > li:last-child {
  padding-bottom: 0;
}
.address-content {
  min-width: 0;
}
.address-content h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 17px;
}
.address-content p {
  margin: 4px 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.address-default-badge {
  font-size: 12px;
  font-weight: 650;
  padding: 3px 7px;
  border-radius: 5px;
  background: var(--bg);
  color: var(--action);
}
.address-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
  max-width: 380px;
}
.address-actions button {
  padding: 8px 12px;
  font-size: 13px;
}
.address-actions > span {
  width: 100%;
  font-size: 13px;
  color: var(--danger);
}
.profile-empty {
  color: var(--muted);
  margin: 26px 0 6px;
  font-size: 14px;
}
.checkout-address-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.checkout-address-heading a {
  font-size: 13px;
  color: var(--action);
  text-underline-offset: 4px;
  white-space: nowrap;
}
.business-review-section {
  margin-top: 42px;
}
.business-review {
  background: var(--surface);
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 18px;
}
.business-review-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
}
.business-review-heading h3 {
  font-size: 18px;
  margin: 0;
}
.business-review-heading h3 small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}
.business-review-heading p,
.business-reviewed {
  color: var(--muted);
  font-size: 13px;
  margin: 8px 0 0;
}
.business-review form {
  max-width: 760px;
  margin-top: 12px;
}
.business-review .status.rejected {
  background: #f9e9e9;
  color: var(--danger);
}
@media (max-width: 760px) {
  .profile-columns {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .profile-section,
  .business-review {
    padding: 22px 18px;
  }
  .profile-addresses {
    margin-top: 18px;
  }
  .profile-section-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .profile-section-heading p {
    font-size: 13px;
  }
  .profile-section-heading > button {
    width: 100%;
  }
  .address-list > li {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .address-actions {
    justify-content: flex-start;
    max-width: 100%;
  }
  .address-editor .form-row {
    flex-direction: column;
    display: flex;
    gap: 0;
  }
  .profile-business > div,
  .business-change-values > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .business-review-heading h3 small {
    overflow-wrap: anywhere;
  }
  .profile-back-link {
    font-size: 13px;
    white-space: normal;
    text-align: right;
  }
  .privacy-policy h1 {
    font-size: 27px;
  }
  .privacy-section h2 {
    font-size: 20px;
  }
  .privacy-policy p,
  .privacy-policy li {
    font-size: 14px;
  }
}
.address-picker {
  display: grid;
  gap: 16px;
  margin-block: 16px;
}
.address-search-row {
  display: flex;
  align-items: end;
  gap: 12px;
}
.address-search-row label {
  flex: 1;
  min-width: 0;
  margin: 0;
}
.address-search-button {
  min-height: 46px;
  flex-shrink: 0;
}
.address-picker label {
  margin: 0;
}
.address-picker input[readonly] {
  background: #f3f6f7;
  cursor: default;
}
.address-picker .address-search-help {
  margin: -8px 0 0;
}
.address-search-page {
  min-width: 300px;
  margin: 0;
  background: white;
}
.address-search-page > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: white;
  color: var(--ink, #183f4e);
  border-bottom: 1px solid #d4e0e5;
}
.address-search-page h1 {
  margin: 0;
  font-size: 18px;
}
.address-search-page > p,
.address-search-page > [role="alert"],
.address-search-page > button {
  margin: 16px;
}
.address-search-page [role="alert"] {
  color: #b42318;
}
.address-search-page [hidden] {
  display: none;
}
#postcode-root {
  height: calc(100dvh - 78px);
  min-height: 400px;
}
