.lux-page,
.lux-hero,
.lux-grid-wrap,
.lux-contact,
.lux-site-header {
  color: #171717;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.wp-site-blocks > .lux-site-header,
.wp-site-blocks > .lux-page {
  margin-block-start: 0;
}

body:has(.lux-page) .wp-block-template-part,
body:has(.lux-page) .wp-block-post-title,
body:has(.lux-page) footer.wp-block-template-part {
  display: none;
}

body:has(.lux-page) .wp-site-blocks > main {
  max-width: none;
  margin-top: 0 !important;
  padding: 0 !important;
}

body:has(.lux-page) .wp-site-blocks > main > .wp-block-group {
  padding: 0 !important;
}

body:has(.lux-page) .entry-content {
  max-width: none !important;
  padding: 0 !important;
}

.lux-site-header {
  width: min(1680px, calc(100vw - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.lux-site-title {
  color: #171717;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.lux-site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.lux-site-nav a {
  color: #171717;
  font-size: 14px;
  text-decoration: none;
}

.lux-site-nav a:hover,
.lux-site-nav a:focus {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lux-page {
  max-width: 1680px;
  margin: 0 auto;
  padding: 42px 16px 72px;
}

.lux-hero {
  min-height: 62vh;
  display: flex;
  align-items: end;
  background: linear-gradient(rgba(17, 17, 17, 0.16), rgba(17, 17, 17, 0.56)), var(--lux-hero-image, #d8d4ce);
  background-size: cover;
  background-position: center;
  color: #fff;
  margin: 0 0 24px;
  padding: 8vw 6vw;
}

.lux-hero__inner {
  max-width: 640px;
}

.lux-hero h1,
.lux-archive-header h1,
.lux-detail h1,
.lux-contact h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

.lux-hero h1 {
  font-size: clamp(42px, 7vw, 86px);
  margin: 0 0 18px;
}

.lux-hero p,
.lux-contact p,
.lux-detail__copy {
  font-size: 16px;
  line-height: 1.7;
}

.lux-eyebrow,
.lux-card__brand {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lux-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid #171717;
  border-radius: 2px;
  background: #171717;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}

.lux-hero .lux-button {
  border-color: #fff;
  background: #fff;
  color: #171717;
}

.lux-button:hover,
.lux-button:focus {
  background: transparent;
  color: #171717;
}

.lux-hero .lux-button:hover,
.lux-hero .lux-button:focus {
  color: #fff;
}

.lux-button--small {
  min-height: 40px;
  padding: 9px 18px;
}

.lux-button--wide {
  width: 100%;
  margin-top: 24px;
}

button.lux-button {
  cursor: pointer;
}

.lux-category-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 42px;
}

.lux-category-band a {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #ded8cf;
  padding: 18px;
  color: #171717;
  text-decoration: none;
  background: #fbfaf7;
}

.lux-category-band span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.lux-category-band small {
  color: #655d52;
  font-size: 13px;
  line-height: 1.45;
}

.lux-catalog-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  width: min(1680px, calc(100vw - 32px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.lux-catalog-sidebar {
  position: sticky;
  top: 20px;
}

.lux-filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
  margin: 0;
}

.lux-filters label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.lux-filters select,
.lux-filters input {
  min-height: 42px;
  border: 1px solid #cfc8bd;
  border-radius: 2px;
  background: #fff;
  color: #171717;
  padding: 0 12px;
  font-size: 14px;
}

.lux-view-toggle {
  display: inline-flex;
  min-height: 40px;
  border: 1px solid #cfc8bd;
  width: 100%;
}

.lux-view-toggle a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 0 12px;
  color: #171717;
  font-size: 13px;
  text-decoration: none;
}

.lux-view-toggle a + a {
  border-left: 1px solid #cfc8bd;
}

.lux-view-toggle .is-active {
  background: #171717;
  color: #fff;
}

.lux-product-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px 12px;
}

.lux-product-grid--detail {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.lux-card {
  min-width: 0;
}

.lux-card__image {
  display: block;
  aspect-ratio: 3 / 4;
  background: #efede8;
  overflow: hidden;
  color: #777;
  text-decoration: none;
}

.lux-card__image img,
.lux-gallery__main img,
.lux-gallery__thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lux-card__body {
  padding: 14px 0 0;
}

.lux-card--detail {
  display: grid;
  grid-template-columns: minmax(160px, .9fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.lux-card--detail .lux-card__body {
  padding-top: 0;
}

.lux-card h2 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 400;
}

.lux-card h2 a {
  color: inherit;
  text-decoration: none;
}

.lux-code {
  margin: 0;
  font-size: 14px;
  color: #655d52;
}

.lux-card__excerpt {
  margin: 0 0 12px;
  color: #655d52;
  font-size: 14px;
  line-height: 1.55;
}

.lux-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.lux-card__actions a {
  color: #171717;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lux-contact {
  max-width: 760px;
  padding: 52px 0;
}

.lux-contact h2,
.lux-archive-header h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 5vw, 64px);
}

.lux-empty,
.lux-inquiry-note {
  color: #655d52;
}

.lux-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 54px;
}

.lux-gallery__main {
  aspect-ratio: 4 / 5;
  background: #efede8;
}

.lux-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.lux-gallery__thumbs button {
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid transparent;
  background: #efede8;
  cursor: pointer;
}

.lux-gallery__thumbs button:focus {
  border-color: #171717;
  outline: none;
}

.lux-detail__info {
  position: sticky;
  top: 24px;
  align-self: start;
}

.lux-detail h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 4vw, 56px);
}

.lux-detail__copy {
  margin: 26px 0;
  color: #3c3832;
}

.lux-meta {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px 14px;
  padding-top: 18px;
  border-top: 1px solid #e4ded5;
  font-size: 14px;
}

.lux-meta dt {
  color: #655d52;
}

.lux-meta dd {
  margin: 0;
}

.lux-cart-link {
  margin: 14px 0 0;
  text-align: center;
  font-size: 14px;
}

.lux-cart-link a {
  color: #171717;
  text-underline-offset: 3px;
}

.lux-quote-page {
  max-width: 1180px;
  margin: 0 auto;
}

.lux-quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 36px;
  align-items: start;
}

.lux-quote-items {
  display: grid;
  gap: 14px;
}

.lux-quote-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 86px auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #e4ded5;
}

.lux-quote-item img {
  width: 112px;
  aspect-ratio: 1;
  object-fit: cover;
  background: #efede8;
}

.lux-quote-item h2 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 400;
}

.lux-quote-item p {
  margin: 2px 0;
  color: #655d52;
  font-size: 14px;
}

.lux-quote-item a,
.lux-quote-item button {
  color: #171717;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lux-quote-item button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.lux-quote-item label,
.lux-quote-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lux-quote-item input,
.lux-quote-form input,
.lux-quote-form textarea {
  min-height: 42px;
  border: 1px solid #cfc8bd;
  border-radius: 2px;
  background: #fff;
  color: #171717;
  padding: 8px 12px;
  font: inherit;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

.lux-quote-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid #e4ded5;
  background: #fbfaf7;
}

.lux-quote-form .lux-button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.lux-quote-success {
  margin: 0 0 24px;
  padding: 18px 20px;
  border: 1px solid #d8d0c4;
  background: #f7f4ee;
}

.lux-quote-success h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 400;
}

.lux-quote-success p {
  margin: 0;
  color: #4b453d;
  font-size: 15px;
}

@media (max-width: 1100px) {
  .lux-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .lux-catalog-layout,
  .lux-category-band {
    grid-template-columns: 1fr;
  }

  .lux-catalog-sidebar {
    position: static;
  }

  .lux-product-grid--detail {
    grid-template-columns: 1fr;
  }

  .lux-detail {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .lux-detail__info {
    position: static;
  }

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

@media (max-width: 620px) {
  .lux-site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .lux-site-nav {
    gap: 12px;
    justify-content: flex-start;
  }

  .lux-page {
    padding: 28px 16px 56px;
  }

  .lux-hero {
    min-height: 70vh;
    padding: 42px 22px;
  }

  .lux-card--detail {
    grid-template-columns: 1fr;
  }

  .lux-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }

  .lux-card h2 {
    font-size: 14px;
  }

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

  .lux-quote-item {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .lux-quote-item img {
    width: 86px;
  }

  .lux-quote-item label,
  .lux-quote-item button {
    grid-column: 2;
  }
}
