* {
  box-sizing: border-box;
}
:root {
  font-family: 'Be Vietnam Pro', Arial, sans-serif;
  color: #f3f3ef;
  background: #17191b;
  --navy: #f3f3ef;
  --muted: #afb6bd;
  --line: #343a40;
  --wash: #191d21;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a {
  color: inherit;
}
img,
video {
  display: block;
  width: 100%;
}
figure,
p,
h1,
h2,
fieldset {
  margin: 0;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid #2d6b9b;
  outline-offset: 3px;
}
.shell {
  width: min(100% - 112px, 1232px);
  margin-inline: auto;
}
.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10;
  background: #17191b;
  padding: 12px;
  transform: translateY(-200%);
}
.skip:focus {
  transform: none;
}
.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}
.site-header {
  height: 76px;
}
.site-header img,
.site-footer img {
  width: 102px;
  height: auto;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  gap: clamp(38px, 6vw, 90px);
  padding: 20px 0 48px;
}
.gallery,
.purchase {
  min-width: 0;
}
.viewer {
  position: relative;
  aspect-ratio: 1;
  background: var(--wash);
  isolation: isolate;
  overflow: hidden;
}
.viewer video,
.viewer > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.media-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--navy);
  color: #fff;
  padding: 7px 9px;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}
.play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 28px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
}
.gallery-arrow,
.rail-buttons button,
.dialog-title button {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #17191b;
  color: var(--navy);
  width: 40px;
  height: 40px;
  border-radius: 2px;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.previous {
  left: 8px;
}
.next {
  right: 8px;
}
.thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow: auto;
  padding: 3px;
  scroll-padding: 3px;
  scrollbar-width: thin;
}
.thumbs button {
  position: relative;
  flex: 0 0 clamp(50px, 6vw, 74px);
  aspect-ratio: 1;
  padding: 2px;
  border: 1px solid transparent;
  background: var(--wash);
  border-radius: 2px;
  overflow: hidden;
}
.thumbs button[aria-pressed='true'] {
  border-color: var(--navy);
}
.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb-play {
  position: absolute;
  left: 5px;
  bottom: 5px;
  background: var(--navy);
  color: #fff;
  border-radius: 2px;
}
.thumb-play svg {
  display: block;
  width: 18px;
  height: 18px;
}
.fine,
.stock,
small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.purchase {
  padding-top: clamp(16px, 3.7vw, 55px);
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--muted);
}
h1 {
  font-size: clamp(52px, 6vw, 85px);
  letter-spacing: -0.065em;
  line-height: 1.08;
  color: var(--navy);
  margin: 8px 0;
}
.subtitle,
.lede {
  color: var(--muted);
  line-height: 1.55;
}
.price {
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 24px 0 18px;
}
.voucher {
  background: #f4efe5;
  color: #60481e;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 18px;
}
.choices {
  position: relative;
  border: 0;
  padding: 0;
  margin: 0 0 18px;
  min-width: 0;
}
.choices legend {
  font-size: 13px;
  font-weight: 700;
  padding: 0 0 9px;
}
.options {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.options button {
  min-width: 42px;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #17191b;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}
.options button:hover {
  border-color: var(--navy);
}
.options button[aria-pressed='true'],
.primary {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.options button:disabled {
  background: #f3f4f5;
  color: #676e75;
  text-decoration: line-through;
  border-color: var(--line);
}
.swatch {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--tone);
  border: 1px solid #fff7;
  box-shadow: 0 0 0 1px #0002;
}
.size-guide {
  position: absolute;
  right: 0;
  top: -28px;
  border: 0;
  background: none;
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  padding: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.size-guide svg,
.text-link svg,
.product-card svg {
  width: 17px;
  height: 17px;
}
.selection-error {
  font-size: 13px;
  margin: 7px 0;
  color: #972b28;
}
.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--navy);
  border-radius: 2px;
  min-height: 48px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
}
.primary:hover {
  background: #1f425d;
}
.primary:disabled {
  opacity: 0.66;
}
.purchase > .primary {
  width: 100%;
  margin: 12px 0 9px;
}
.section {
  padding: 38px 0 42px;
  border-top: 1px solid var(--line);
}
section {
  scroll-margin-top: 16px;
}
h2 {
  font-size: clamp(23px, 3.1vw, 36px);
  letter-spacing: -0.045em;
  line-height: 1.22;
}
.lede {
  margin: 7px 0 20px;
  font-size: 14px;
}
.detail-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.detail-grid {
  grid-auto-flow: column;
  grid-auto-columns: clamp(210px, 28%, 320px);
  grid-template-columns: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.detail-grid figure {
  scroll-snap-align: start;
}
.detail-grid img,
.product-card img {
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--wash);
}
figcaption {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
}
.rail-buttons {
  display: flex;
  gap: 6px;
}
.rail-buttons button:disabled {
  opacity: 0.4;
}
.stars {
  color: #82602f;
  letter-spacing: 0.07em;
}
.text-link,
.product-card span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}
.text-link {
  margin-top: 15px;
  text-underline-offset: 3px;
}
.order-form {
  background: var(--wash);
  padding: 22px;
  display: grid;
  gap: 14px;
}
.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  pointer-events: none;
}
.form-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px 14px;
  font-size: 13px;
}
.form-summary p {
  font-weight: 700;
}
.form-summary a {
  color: var(--navy);
  text-underline-offset: 3px;
}
.demo-note {
  background: #17191b;
  padding: 10px 12px;
  border-left: 2px solid #8b7444;
  font-size: 13px;
  line-height: 1.6;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.form-grid label {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.form-grid label span {
  color: #972b28;
}
.form-grid input,
.form-grid textarea {
  display: block;
  width: 100%;
  background: #17191b;
  color: #17202a;
  border: 1px solid #b9c1c9;
  border-radius: 2px;
  min-height: 43px;
  padding: 9px;
  margin-top: 6px;
  font-size: 16px;
}
.form-grid textarea {
  resize: vertical;
}
.wide {
  grid-column: 1/-1;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
}
.consent input {
  accent-color: var(--navy);
  margin: 2px 0;
  width: 17px;
  height: 17px;
  flex: none;
}
.submit {
  justify-self: start;
}
.form-status {
  font-size: 14px;
  line-height: 1.55;
}
.form-status.error {
  color: #972b28;
}
.related-grid {
  grid-template-columns: repeat(2, minmax(0, 230px));
}
.product-card {
  display: grid;
  gap: 6px;
  text-decoration: none;
}
.product-card strong {
  font-size: 18px;
  color: var(--navy);
}
.product-card:hover span {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer {
  border-top: 1px solid var(--line);
  min-height: 84px;
}
.mobile-order {
  display: none;
}
.dots {
  position: fixed;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: grid;
}
.dot-item {
  position: relative;
}
.dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: none;
  border: 0;
}
.dot::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7d8791;
  box-shadow: 0 0 0 2px #fff;
}
.dot[aria-current]::before {
  background: var(--navy);
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 3px var(--navy);
}
.dot-label {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  color: #fff;
  padding: 7px 9px;
  border-radius: 2px;
  font-size: 12px;
  white-space: nowrap;
  text-decoration: none;
  visibility: hidden;
}
.dot-item:hover .dot-label,
.dot-item:focus-within .dot-label,
.dot-item.open .dot-label {
  visibility: visible;
}
dialog {
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 4px;
  width: min(440px, calc(100% - 32px));
  max-height: 85vh;
  padding: 20px;
  overflow: auto;
}
dialog::backdrop {
  background: #14222b88;
}
.dialog-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
dialog h2 {
  font-size: 22px;
}
dialog p {
  font-size: 13px;
  line-height: 1.6;
  margin: 10px 0;
}
dialog table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
dialog th,
dialog td {
  border-bottom: 1px solid var(--line);
  padding: 8px;
}
@media (max-width: 760px) {
  .shell {
    width: calc(100% - 32px);
  }
  .site-header {
    height: 56px;
  }
  .site-header img,
  .site-footer img {
    width: 83px;
  }
  .site-header span,
  .site-footer span {
    font-size: 11px;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 4px 0 28px;
  }
  .purchase {
    padding: 0;
  }
  .viewer {
    touch-action: pan-y;
  }
  h1 {
    font-size: 50px;
  }
  .price {
    margin: 15px 0;
  }
  .section {
    padding: 28px 0;
  }
  .detail-grid {
    grid-auto-columns: 53%;
    gap: 10px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .order-form {
    padding: 14px;
  }
  .submit {
    justify-self: stretch;
  }
  .site-footer {
    margin-bottom: calc(68px + env(safe-area-inset-bottom));
  }
  .mobile-order {
    position: fixed;
    z-index: 6;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
    background: #17191b;
    border-top: 1px solid var(--line);
  }
  .mobile-order span {
    display: grid;
    gap: 2px;
    font-size: 14px;
  }
  .mobile-order .primary {
    min-width: 125px;
    min-height: 44px;
  }
  .dots {
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.18s,
      visibility 0.18s;
  }
  .dots.show,
  .dots:focus-within {
    opacity: 1;
    visibility: visible;
  }
  .dot {
    width: 28px;
    height: 32px;
  }
  .dot-item .dot-label {
    left: 25px;
  }
  .dot-item:hover .dot-label,
  .dot-item:focus-within .dot-label {
    visibility: hidden;
  }
  .dot-item.open .dot-label {
    visibility: visible;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* Permanent dark palette. */
:root {
  color-scheme: dark;
  color: #f3f3ef;
  background: #101214;
  --navy: #f3f3ef;
  --muted: #afb6bd;
  --line: #343a40;
  --wash: #191d21;
}
body {
  background: #101214;
}
.site-header img,
.site-footer img {
  filter: grayscale(1) invert(1);
  mix-blend-mode: screen;
}
.dialog-title button {
  background: #1b2025;
  color: #f3f3ef;
}
.gallery-arrow,
.rail-buttons button,
.gallery-arrow:hover,
.rail-buttons button:hover {
  background: transparent;
  color: #fff;
}
.options button {
  background: #171b1f;
  color: #f3f3ef;
  border-color: #434b53;
}
.options button:hover {
  border-color: #c6cdd3;
}
.options button[aria-pressed='true'],
.primary {
  background: #eeeee8;
  color: #111619;
  border-color: #eeeee8;
}
.primary:hover {
  background: #fff;
  border-color: #fff;
}
.options button:disabled {
  background: #181b1f;
  color: #7c858d;
  border-color: #30363c;
}
.media-tag,
.play,
.thumb-play {
  background: #eeeee8;
  color: #111619;
}
.thumbs button[aria-pressed='true'] {
  border-color: #eee;
}
.voucher {
  background: #292823;
  color: #f2e9ce;
}
.concept-rail img {
  background: #1e2328;
}
.review-stars {
  color: #ead8ad;
}
.form-grid input,
.form-grid textarea {
  background: #111519;
  border-color: #4a535c;
  color: #f5f5f1;
}
input::placeholder,
textarea::placeholder {
  color: #9ca6af;
}
.form-grid label span,
.selection-error,
.form-status.error {
  color: #ffaaa5;
}
.demo-note {
  background: #20252a;
  color: #dce0e3;
  border-left-color: #d1bc8a;
}
.consent input {
  accent-color: #f3f3ef;
}
.mobile-order {
  background: #15191def;
  backdrop-filter: blur(12px);
  border-color: #343a40;
}
.dot::before {
  background: #87939d;
  box-shadow: 0 0 0 2px #101214;
}
.dot[aria-current]::before {
  background: #f3f3ef;
  box-shadow:
    0 0 0 2px #101214,
    0 0 0 3px #f3f3ef;
}
.dot-label {
  background: #eceeea;
  color: #111619;
}
dialog {
  background: #191d21;
  color: #f3f3ef;
}
dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(6px);
}
.skip {
  background: #eeeee8;
  color: #111619;
}
:focus-visible {
  outline-color: #b9d7ef;
}
/* Charcoal studio: grazing light over a fine mineral surface. */
:root {
  background: #0c0d0e;
  --line: #ffffff20;
  --muted: #b3b0a9;
  --wash: #191a1b;
}
body {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 85% 760px at 5% 140px, #77706325, transparent 75%),
    radial-gradient(ellipse 65% 1000px at 100% 1250px, #55534c16, transparent 75%),
    linear-gradient(115deg, #191a1a 0%, #101112 38%, #090a0b 85%);
}
body::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url('/media/brand/charcoal-grain.svg');
  background-size: 180px 180px;
  opacity: 0.21;
}
.site-header {
  border-bottom: 1px solid #d4c5a318;
}
.site-header span {
  color: #bcb7ad;
  font-weight: 400;
  letter-spacing: 0.08em;
}
.hero {
  padding-top: 36px;
}
.viewer {
  box-shadow:
    0 24px 64px #0006,
    0 0 0 1px #fff1;
}
.purchase {
  position: relative;
}
.purchase::before {
  content: '';
  position: absolute;
  inset: -36px -32px;
  background: radial-gradient(ellipse at 30% 10%, #d6c6a30b, transparent 65%);
  z-index: -1;
  pointer-events: none;
}
.options button {
  background: linear-gradient(145deg, #252627, #151617);
  border-color: #ffffff2b;
}
.options button[aria-pressed='true'],
.primary {
  background: linear-gradient(125deg, #f1ede3, #d4cbbc);
  border-color: #e2d9c7;
  color: #171819;
}
.primary:hover {
  background: #f5f0e6;
  border-color: #f5f0e6;
}
.section,
.reviews-section {
  border-color: #d4c5a31f;
}
.collection {
  --scene: #0d0e0f;
}
.collection::before {
  background:
    url('/media/brand/charcoal-grain.svg') repeat,
    radial-gradient(ellipse at 18% 20%, #99856a22, transparent 60%),
    radial-gradient(ellipse at 75% 70%, #66635a18, transparent 65%),
    linear-gradient(120deg, #20201e, #101112 50%, #090a0b);
}
.site-footer {
  border-top-color: #d4c5a324;
}
dialog {
  background: linear-gradient(135deg, #262624, #151617 65%);
  border: 1px solid #b3a58840;
  box-shadow: 0 32px 100px #0009;
}
.mobile-order {
  background: #131413ed;
  border-color: #d4c5a32b;
}
@media (max-width: 760px) {
  body {
    background:
      radial-gradient(ellipse 140% 600px at 0 120px, #77706325, transparent 75%),
      linear-gradient(110deg, #171818, #0b0c0d 85%);
  }
  .hero {
    padding-top: 24px;
  }
  .purchase::before {
    inset-inline: 0;
  }
}
/* Contact shortcuts: dark metal, warm edge and quiet hover labels. */
.contact-dock {
  position: fixed;
  z-index: 7;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(28px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid #cdbd9a66;
  border-radius: 50%;
  color: #e8dcc4;
  background: linear-gradient(135deg, #34332f, #161718 70%);
  box-shadow:
    inset 0 1px 0 #ffffff12,
    0 6px 20px #0006;
  text-decoration: none;
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.contact-button:hover,
.contact-button:focus-visible {
  border-color: #e8dcc4;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 #ffffff20,
    0 8px 24px #0008;
}
.contact-button[aria-disabled='true'] {
  cursor: default;
  color: #afa797;
}
.contact-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translate(5px, -50%);
  padding: 9px 12px;
  border: 1px solid #cdbd9a3b;
  border-radius: 6px;
  background: #1b1c1df5;
  color: #eee5d5;
  box-shadow: 0 4px 16px #0005;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0.2s;
}
.contact-button:hover .contact-label,
.contact-button:focus-visible .contact-label {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}
@media (max-width: 760px) {
  .contact-dock {
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(88px + env(safe-area-inset-bottom));
    gap: 10px;
  }
  .contact-button {
    width: 44px;
    height: 44px;
  }
}
/* Brief staggered movement, followed by a long rest. */
.contact-button svg {
  transform-origin: 50% 65%;
  animation: contact-wiggle 7s ease-in-out infinite;
}
.contact-phone svg {
  animation-delay: 0.7s;
}
.contact-messenger svg {
  animation-delay: 1.4s;
}
.contact-dock:hover .contact-button svg,
.contact-dock:focus-within .contact-button svg {
  animation-play-state: paused;
}
@keyframes contact-wiggle {
  0%,
  2%,
  14%,
  100% {
    transform: rotate(0);
  }
  4%,
  8% {
    transform: rotate(-10deg);
  }
  6%,
  10% {
    transform: rotate(10deg);
  }
  12% {
    transform: rotate(-4deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact-button svg {
    animation: none;
  }
  .contact-button,
  .contact-label {
    transition: none;
  }
}
/* Brand signature and contact directory. */
.brand-footer {
  display: block;
  padding-block: 52px 22px;
  padding-right: 68px;
  font-weight: 400;
  background: radial-gradient(ellipse at 80% 0, #bba47c0a, transparent 65%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 180px;
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
}
.brand-footer .footer-wordmark {
  width: 130px;
  height: auto;
  margin-bottom: 24px;
}
.footer-kicker {
  color: #c8b992;
  font-size: 10px;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}
.brand-footer .footer-description {
  color: #a9a69e;
  font-size: 13px;
  line-height: 1.9;
  max-width: 320px;
}
.footer-site-link {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  margin-top: 22px;
  color: #e0d4bc;
  text-decoration: none;
}
.brand-footer h2 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.footer-details {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
}
.footer-details dt {
  color: #9e9584;
  font-size: 10px;
  letter-spacing: 0.13em;
  margin-bottom: 6px;
}
.footer-details dd {
  margin: 0;
  color: #e5e1d8;
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.footer-details a {
  text-decoration: none;
}
.brand-footer a:hover {
  color: #f2dfb9;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-zalo {
  text-align: center;
}
.footer-qr-frame {
  padding: 10px;
  border: 1px solid #c6b38c55;
  background: linear-gradient(145deg, #c8b88e12, #ffffff03);
  border-radius: 12px;
  width: fit-content;
  margin: 0 auto 18px;
  box-shadow: 0 10px 30px #0003;
}
.brand-footer .footer-qr {
  width: 142px;
  height: 142px;
  object-fit: contain;
  background: #fff;
  border-radius: 5px;
  filter: none;
  mix-blend-mode: normal;
}
.footer-zalo h2 {
  font-size: 14px;
  margin-bottom: 8px;
}
.footer-zalo p {
  font-size: 11px;
  color: #aaa294;
  line-height: 1.7;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid #c6b38c20;
  color: #8d8980;
  font-size: 11px;
}
@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-zalo {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }
  .footer-qr-frame {
    margin-left: 0;
  }
}
@media (max-width: 760px) {
  .brand-footer {
    padding-block: 32px 24px;
    padding-right: 52px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-zalo {
    grid-column: auto;
  }
  .brand-footer .footer-wordmark {
    width: 112px;
    margin-bottom: 20px;
  }
  .footer-bottom {
    margin-top: 30px;
    flex-direction: column;
  }
}
/* A quiet, compact checkout with one searchable ward control. */
#dat-hang > h2 {
  margin-bottom: 28px;
}
#order-form {
  grid-template-columns: 220px minmax(0, 1fr);
  column-gap: 40px;
  row-gap: 0;
  padding: 36px;
  border: 1px solid #cdbd9a20;
  border-radius: 8px;
  background: linear-gradient(135deg, #20211fbd, #151718e8 65%);
}
#order-form .form-summary {
  grid-column: 1;
  grid-row: 1 / 6;
  align-content: start;
  display: grid;
  gap: 18px;
  padding-right: 28px;
  border-right: 1px solid #cdbd9a20;
  font-size: 12px;
  line-height: 1.9;
}
#order-form .form-summary p {
  font-size: 15px;
  font-weight: 500;
  color: #e8e2d6;
}
#order-form .form-summary > span {
  color: #96968e;
}
#order-form .form-summary a {
  color: #cdbd9a;
  font-size: 11px;
  text-underline-offset: 5px;
}
#order-form > .form-grid,
#order-form > details,
#order-form > .form-actions,
#order-form > .form-status,
#order-form > .demo-note {
  grid-column: 2;
}
#order-form .form-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px 16px;
}
#order-form .customer-field,
#order-form .province-field,
#order-form .ward-field {
  grid-column: span 3;
}
#order-form .street-field {
  grid-column: span 5;
}
#order-form .quantity {
  grid-column: span 1;
}
#order-form .form-grid label {
  font-size: 12px;
  font-weight: 400;
  color: #c6c4bb;
}
#order-form .form-grid input:not([type='hidden']),
#order-form .form-grid select,
#order-form .form-grid textarea {
  font-size: 14px;
  font-weight: 400;
  min-width: 0;
  min-height: 48px;
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid #cdbd9a26;
  border-radius: 4px;
  color: #eeeae1;
  background: #0e1111a6;
  transition:
    border-color 0.18s,
    background 0.18s;
  color-scheme: dark;
}
#order-form .form-grid input::placeholder,
#order-form .form-grid textarea::placeholder {
  color: #777c79;
  opacity: 1;
}
#order-form .form-grid select {
  display: block;
  font: inherit;
  font-size: 14px;
}
#order-form .form-grid select option {
  background: #181b1c;
  color: #eeeae1;
}
#order-form .form-grid :is(input, select, textarea):focus {
  outline: none;
  border-color: #cdbd9a88;
  background: #101413;
}
#order-form .form-grid [aria-invalid='true'] {
  border-color: #e9988f;
}
#order-form .form-grid input:disabled {
  opacity: 0.5;
}
#order-form .quantity input {
  padding-inline: 10px;
}
.ward-field {
  min-width: 0;
}
.ward-combobox {
  position: relative;
}
.ward-options {
  position: absolute;
  z-index: 9;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 240px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 5px;
  border: 1px solid #cdbd9a40;
  border-radius: 6px;
  background: #1c201f;
  box-shadow: 0 16px 40px #0008;
  font-size: 13px;
}
.ward-options [role='option'],
.ward-empty {
  padding: 12px 10px;
  line-height: 1.5;
  border-radius: 3px;
}
.ward-options [role='option'] {
  cursor: pointer;
}
.ward-options [role='option']:hover,
.ward-options [aria-selected='true'] {
  color: #eadbc0;
  background: #cdbd9a16;
}
.ward-empty {
  color: #999e97;
}
.address-retry {
  margin-top: 8px;
  padding: 8px 12px;
  border: 1px solid #cdbd9a44;
  background: transparent;
  color: #d5c7ad;
  border-radius: 4px;
}
.order-extras {
  margin-top: 22px;
}
.order-extras > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-block: 12px;
  color: #aaa99f;
  cursor: pointer;
  font-size: 12px;
  list-style: none;
  border-top: 1px solid #cdbd9a1c;
}
.order-extras > summary::-webkit-details-marker {
  display: none;
}
.order-extras > summary span {
  color: #cdbd9a;
  font-size: 20px;
  font-weight: 300;
}
.order-extras[open] > summary span {
  transform: rotate(45deg);
}
#order-form .extras-grid {
  padding-top: 10px;
  gap: 16px;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
}
#order-form .consent {
  flex: 1 1 240px;
  font-size: 11px;
  color: #a5a89f;
  gap: 8px;
  align-items: center;
}
#order-form .consent input {
  width: 15px;
  height: 15px;
  accent-color: #cdbd9a;
  margin: 0;
}
#order-form .submit {
  padding-inline: 24px;
  min-width: 170px;
  font-weight: 600;
}
#order-form .form-status {
  margin-top: 16px;
  font-size: 12px;
}
@media (max-width: 1000px) {
  #order-form {
    grid-template-columns: 170px minmax(0, 1fr);
    column-gap: 24px;
    padding: 24px;
  }
  #order-form .form-summary {
    padding-right: 20px;
  }
}
@media (max-width: 760px) {
  #dat-hang > h2 {
    margin-bottom: 20px;
    font-size: 27px;
    letter-spacing: -0.04em;
  }
  #order-form {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px 16px;
    border-radius: 6px;
  }
  #order-form .form-summary {
    grid-column: 1;
    grid-row: auto;
    display: flex;
    gap: 8px 14px;
    padding: 0 0 20px;
    margin-bottom: 22px;
    border-right: 0;
    border-bottom: 1px solid #cdbd9a20;
  }
  #order-form .form-summary p {
    width: 100%;
    font-size: 13px;
  }
  #order-form .form-summary > span,
  #order-form .form-summary a {
    font-size: 10px;
  }
  #order-form > .form-grid,
  #order-form > details,
  #order-form > .form-actions,
  #order-form > .form-status,
  #order-form > .demo-note {
    grid-column: 1;
  }
  #order-form .form-grid {
    gap: 16px 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  #order-form .customer-field {
    grid-column: 1 / -1;
  }
  #order-form .province-field,
  #order-form .ward-field {
    grid-column: span 2;
  }
  #order-form .street-field {
    grid-column: span 3;
  }
  #order-form .quantity {
    grid-column: span 1;
  }
  #order-form .form-grid input:not([type='hidden']),
  #order-form .form-grid textarea {
    font-size: 16px;
    padding-inline: 10px;
  }
  #order-form .form-grid select {
    padding-inline: 8px;
    font-size: 13px;
  }
  .form-actions {
    gap: 20px;
  }
  #order-form .consent {
    flex-basis: 100%;
  }
  #order-form .submit {
    width: 100%;
  }
  .ward-options {
    left: auto;
    width: min(260px, 78vw);
  }
}

.field-error {
  display: block;
  margin-top: 6px;
  color: #ffaaa5;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 400;
}
.form-grid [aria-invalid='true'] {
  border-color: #e9988f;
  box-shadow: 0 0 0 1px #e9988f44;
}
.consent:has([aria-invalid='true']) {
  color: #ffaaa5;
}
.consent .field-error {
  flex-basis: 100%;
}
.consent {
  flex-wrap: wrap;
}
.order-success-dialog {
  width: min(520px, calc(100% - 32px));
  padding: 28px;
}
.order-success-dialog .dialog-title h2 {
  font-size: 21px;
}
.order-success-dialog > p {
  line-height: 1.8;
  margin-bottom: 14px;
}
.order-success-dialog .success-check {
  display: grid;
  place-items: center;
  margin-block: 18px;
  width: 52px;
  height: 52px;
  border: 1px solid #cdbd9a66;
  border-radius: 50%;
  color: #e8dcc4;
  background: #cdbd9a12;
  font-size: 25px;
}
.success-order-id {
  overflow-wrap: anywhere;
  font-size: 12px;
  padding: 12px;
  border: 1px solid #cdbd9a33;
}
.order-success-dialog .primary {
  text-decoration: none;
  margin-top: 20px;
}
.success-dismiss {
  display: block;
  margin: 16px auto 0;
  min-height: 44px;
  background: none;
  border: 0;
  color: #bfb9ad;
  font-size: 12px;
}
@media (max-width: 760px) {
  .order-success-dialog {
    padding: 20px;
  }
}
@media (max-width: 760px) {
  body:has(#order-form:focus-within) .contact-dock {
    visibility: hidden;
    pointer-events: none;
  }
}
@media (max-width: 760px) {
  body.order-form-in-view .contact-dock {
    visibility: hidden;
    pointer-events: none;
  }
  #order-form .form-grid input::placeholder {
    font-size: 13px;
  }
}
