/* Reference typography, photography and section geometry live in the imported theme.
   This layer implements the confirmed changes and accessibility corrections. */
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #272523;
  color: white;
}
/* Revision Two: principal flat surfaces; image containers and viewers stay intact. */
body,
body.page,
body.search,
body.single-product,
body.privacy-policy main,
body #page section.dark-texture-background .products-grid,
.cst-slider,
body #page section#slabs-products-filter,
body #page section#slabs-products-filter .products-grid {
  background-color: #34312e !important;
}
/* Only the Home hero's separate decorative overlay changes (1.00 → .95). */
[data-carousel-key="home-0"] .owl-stage-outer .slider-item .slider-back:after {
  opacity: 0.95 !important;
}
/* Static catalog heroes and lower Home category cards have separate overlays. */
body.page-id-537 .cst-hero:after,
body.page-id-552 .cst-hero:after,
section#home-gallery-grid .columns-container .column:after {
  opacity: 0.95;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #d2c8ae !important;
  outline-offset: 4px;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
.sliders-list:not(.owl-loaded) {
  display: block;
}
.sliders-list:not(.owl-loaded) > .slider-item:not(:first-child) {
  display: none;
}
.accessories-invitation {
  text-align: center;
  padding: 30px 0 43px;
}
.accessories-invitation h2 {
  font-size: 28px;
  letter-spacing: 2px;
}
.preview-dialog:not([open]) {
  display: none;
}
.preview-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  color: white;
}
.preview-dialog::backdrop {
  background: rgba(0, 0, 0, 0.88);
}
.dialog-close {
  border: 0;
  background: #272523;
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 5;
}
.preview-dialog {
  width: 90vw;
  max-width: 1400px;
  max-height: 90dvh;
}
.schedule-dialog {
  max-width: 1100px;
  padding: 50px 40px;
}
.schedule-dialog .dialog-content {
  padding: 30px 20px;
}
.schedule-dialog .nf-form-cont form {
  max-width: none !important;
  margin: 0 !important;
}
.preview-note {
  font:
    14px/1.5 Inter,
    sans-serif;
  color: #d2c8ae;
}
.video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
}
.video-dialog {
  box-sizing: border-box;
  width: min(90vw, 1400px, calc((90dvh - 50px) * 16 / 9));
  padding-top: 50px;
  max-height: none;
  overflow: visible;
}
body
  #page
  .nf-form-cont
  form
  nf-fields-wrap
  nf-field
  input:not([type="radio"]) {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid #d2c8ae;
  background: transparent;
  color: white;
}
.nf-form-cont form nf-fields-wrap {
  display: block;
}
.nf-form-cont form nf-field {
  display: block;
}
.nf-form-cont .field-wrap input,
.nf-form-cont .field-wrap textarea {
  width: 100%;
  box-sizing: border-box;
}
.nf-form-cont form .nf-field-container {
  margin-bottom: 20px;
}
.nf-form-cont fieldset {
  border: 0;
  padding: 0;
  display: flex;
  gap: 36px;
}
.nf-form-cont fieldset input {
  width: 18px;
  height: 18px;
  margin-right: 10px;
}
.nf-form-cont .form-heading {
  font:
    italic 300 22px ivymode,
    sans-serif;
  color: #d2c8ae;
  margin: 20px 0;
}
.nf-form-cont .preferred-date {
  width: 31%;
  display: inline-block;
  vertical-align: top;
  margin-right: 2%;
}
.nf-form-cont .time-fields {
  display: flex;
  gap: 2px;
}
.nf-form-cont .time-fields select {
  background: #d2c8ae;
  color: #272523;
  padding: 6px;
  width: auto;
}
.nf-form-cont .cst-button {
  border: 0;
  border-radius: 5px !important;
}
.field-error {
  color: #ffd7ce;
  font-size: 14px;
}
.form-status:empty {
  display: none;
}
.form-status {
  color: #d2c8ae;
  font-size: 16px;
  line-height: 1.6;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body #page .site-search .search-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: 0;
  color: white;
  font-size: 24px;
  padding: 10px;
}
.site-search:not(.visible) {
  visibility: hidden;
}
.site-search.visible {
  visibility: visible;
}
body #page .site-search .search-form {
  max-width: 1000px;
}
body #page .site-search .search-submit {
  border-radius: 5px;
}
.catalog-status {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  min-height: 0;
}
.catalog-status p:empty {
  display: none;
}
.catalog-status p {
  color: #d2c8ae;
}
.reset-filters {
  color: #d2c8ae;
  background: none;
  border: 0;
  text-decoration: underline;
  padding: 12px;
}
.grid-item:focus-within:before {
  background: rgba(0, 0, 0, 0.8) !important;
  border-color: transparent !important;
}
.grid-item:focus-within .product-actions {
  opacity: 1 !important;
}
.grid-item .product-actions a {
  display: block;
  padding: 12px 0;
  min-height: 44px;
}
.missing-image {
  aspect-ratio: 1;
  background: #272523;
}
.search-heading {
  font-size: 28px;
  letter-spacing: 2px;
}
.search .results-wrapper article h2 {
  font-size: 36px;
  letter-spacing: 3px;
}
.search .results-wrapper article p {
  font:
    16px/1.7 "Instrument Sans",
    sans-serif;
}
.search .results-wrapper a {
  color: white;
}
.search .search-form {
  width: 100%;
  display: flex;
  gap: 10px;
}
.search .search-form input {
  min-height: 48px;
}
.search .search-form label {
  flex: 1;
}
.search .search-form input[type="search"] {
  width: 100%;
}
body #page #contact-form .department-selection li:focus-visible {
  outline: 2px solid #d2c8ae;
  outline-offset: 4px;
}
body #page #contact-form .nf-form-cont .contact_department {
  width: 100%;
  color: #d2c8ae;
  background: #272523;
  border: 0;
  border-bottom: 1px solid #d2c8ae;
  padding: 14px 8px;
  min-height: 50px;
  font:
    18px ivymode,
    sans-serif;
}
.nf-form-cont .field-wrap textarea {
  min-height: 110px;
}
.nf-form-cont .cst-button {
  min-width: 120px;
}
.two-ctas .nf-form-cont nf-fields-wrap {
  display: flex !important;
}
.two-ctas .nf-form-cont nf-field {
  margin: 0 !important;
}
.two-ctas .nf-form-cont nf-field:first-child {
  flex: 1 !important;
  min-width: 0;
}
.two-ctas .nf-form-cont nf-field:last-child {
  flex: 0 0 120px !important;
}
body #page .two-ctas .nf-form-cont input[type="email"] {
  background: white !important;
  color: #272523 !important;
  border-radius: 5px 0 0 5px !important;
  padding: 12px !important;
  height: 60px !important;
}
.two-ctas .nf-form-cont .cst-button {
  height: 60px;
  padding: 14px 18px !important;
}
.two-ctas .nf-form-cont form {
  margin: 30px auto 0 !important;
}
.nf-form-cont .field-error:empty {
  display: none;
}
.nf-form-cont [aria-invalid="true"] {
  border-color: #ffb6a4 !important;
}
@media (hover: none), (max-width: 600px) {
  body.page .products-grid .products-filter .grid-item .product-actions {
    opacity: 1;
    align-self: end;
    background: rgba(0, 0, 0, 0.78);
    padding: 0;
    min-height: 55px;
  }
  body.page
    .products-grid
    .products-filter
    .grid-item
    .product-actions
    .action {
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: 0.5px;
  }
  body.page .products-grid .products-filter .grid-item .product-actions i {
    font-size: 18px;
    margin-bottom: 4px;
  }
}
@media (max-width: 900px) {
  .site-header.menu-open {
    background: #272523 !important;
  }
  .site-header.menu-open #secondary-navigation {
    display: block !important;
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
  }
  .site-header.menu-open .navs-wrapper {
    background: #272523;
  }
  .schedule-dialog {
    padding: 40px 15px;
  }
  .schedule-dialog .dialog-content {
    padding: 20px 0;
  }
  .nf-form-cont .preferred-date {
    display: block;
    width: 100%;
    margin-bottom: 20px;
  }
  body.single-product main#primary section.product-details .details-table,
  body.single-product
    main#primary
    section.product-details
    .details-table.second-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  body.single-product .details-column {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .accessories-invitation h2 {
    font-size: 24px;
  }
  .search .results-wrapper article h2 {
    font-size: 28px;
  }
}
@media (max-width: 500px) {
  body.page .products-grid .products-filter .grid-item h4 {
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 1.5;
  }
  body #page .nf-form-cont form nf-fields-wrap nf-field input {
    font-size: 16px;
  }
  .schedule-dialog .nf-form-cont nf-field:nth-child(2),
  .schedule-dialog .nf-form-cont nf-field:nth-child(3) {
    width: 100%;
    margin-left: 0;
  }
}
@media (max-width: 900px) {
  body #masthead.menu-open .container .navs-wrapper #secondary-navigation {
    position: fixed !important;
    left: 0 !important;
    top: auto !important;
    bottom: 28px !important;
    width: 100% !important;
    margin: 0 !important;
    padding-top: 0 !important;
  }
  body #masthead.menu-open .container .navs-wrapper #secondary-navigation ul {
    gap: 30px;
    padding: 0 15px 0 32px !important;
    box-sizing: border-box;
  }
  body
    #masthead.menu-open
    .container
    .navs-wrapper
    #secondary-navigation
    ul
    li
    + li {
    margin-left: 0 !important;
  }
  body
    #masthead.menu-open
    .container
    .navs-wrapper
    #secondary-navigation
    ul
    li
    a {
    font-size: 16px;
    white-space: nowrap;
  }
}

.schedule-dialog .nf-form-cont input:not([type="radio"]) {
  height: 50px;
  border: 0;
  border-bottom: 1px solid #d2c8ae;
  background: transparent;
  color: #d2c8ae;
  border-radius: 0;
  padding: 10px 0;
  font:
    italic 300 20px ivymode,
    sans-serif;
  color-scheme: dark;
}
.schedule-dialog .nf-form-cont input::placeholder {
  color: #d2c8ae;
  opacity: 1;
}
.schedule-dialog .nf-form-cont nf-field:nth-child(2),
.schedule-dialog .nf-form-cont nf-field:nth-child(3) {
  width: 48%;
  display: inline-block;
}
.schedule-dialog .nf-form-cont nf-field:nth-child(3) {
  margin-left: 4%;
}
.schedule-dialog fieldset label {
  font:
    italic 300 20px ivymode,
    sans-serif;
  color: #d2c8ae;
}
.schedule-dialog .dialog-close {
  position: sticky;
  float: right;
  top: 0;
}
.schedule-dialog .dialog-content {
  clear: both;
}
@media (max-width: 500px) {
  .schedule-dialog .nf-form-cont nf-field:nth-child(2),
  .schedule-dialog .nf-form-cont nf-field:nth-child(3) {
    width: 100%;
    margin-left: 0;
  }
}
body #page .nf-form-cont textarea {
  background: transparent;
  color: #d2c8ae;
  border: 0;
  border-bottom: 1px solid #d2c8ae;
  border-radius: 0;
  padding: 10px;
  font:
    italic 300 20px ivymode,
    sans-serif;
}
body #page .nf-form-cont textarea::placeholder {
  color: #d2c8ae;
  opacity: 1;
}
.nf-form-cont fieldset input[type="radio"] {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.nf-form-cont fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nf-form-cont .cst-button {
  min-width: 158px;
}
.two-ctas .nf-form-cont .cst-button {
  min-width: 120px;
}
.two-ctas [data-schedule] {
  display: block;
  margin: 30px auto 0;
}
body.single-product .product-title {
  overflow-wrap: anywhere;
}
body.single-product main#primary section.product-hero .product-image:empty {
  height: 0;
}
body.single-product
  main#primary
  section.product-details
  .details-table
  .details-column {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 900px) {
  body.single-product main#primary section.product-details .details-table,
  body.single-product
    main#primary
    section.product-details
    .details-table.second-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 500px) {
  body.single-product
    main#primary
    section.product-hero
    h1.product-title.long-title {
    font-size: 36px;
    letter-spacing: 3px;
    line-height: 1.4;
  }
}

/* Revision Two catalog sections and compact controls. */
body.page .products-grid .material-heading {
  grid-column: 1 / -1;
  list-style: none;
  text-align: left;
  margin: 16px 0 -16px;
  padding: 0;
}
body.page .products-grid .material-heading h2 {
  margin: 0;
  font:
    500 19px/1.5 "Instrument Sans",
    sans-serif;
  letter-spacing: 1.4px;
  color: #d2c8ae;
  text-transform: uppercase;
}
#products-container {
  scroll-margin-top: 140px;
}
.accessories-catalog {
  padding: 20px 0 60px;
}
.accessories-catalog .catalog-status {
  padding: 0 0 20px;
}
[data-all-accessories] {
  color: #d2c8ae;
  text-decoration: underline;
}
body.page
  .shortcode-products-filter
  .choices[data-type="select-multiple"]
  .choices__inner {
  padding: 8px 10px;
  text-align: left;
  min-height: 48px;
}
body.page .shortcode-products-filter .choices__list--multiple .choices__item {
  background: #e5dfd2;
  color: #272523;
  border: 0;
  border-radius: 3px;
  font:
    600 11px/1.5 Inter,
    sans-serif;
  margin: 3px 4px 3px 0;
  padding: 4px 7px;
}
body.page .shortcode-products-filter .choices__list--multiple .choices__button {
  border-left: 1px solid #777;
  filter: invert(1);
}
body.page .shortcode-products-filter .choices__input {
  background: transparent;
  color: #272523;
  font:
    600 12px/1.5 Inter,
    sans-serif;
  margin: 3px 0;
  padding: 2px;
  max-width: 100%;
}
[data-carousel-key="home-0"] .owl-nav {
  display: flex;
  align-items: center;
}
[data-carousel-key="home-0"] .owl-nav .hero-autoplay {
  padding: 0;
  width: 40px;
  height: 44px;
  border: 0;
  background: transparent;
  color: white;
  font: 300 26px/1 sans-serif;
}
@media (max-width: 900px) {
  body #page .shortcode-products-filter.columns-container {
    grid-template-columns: 1fr;
  }
  body #page .shortcode-products-filter > .column {
    height: auto;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 0;
  }
  body #page .shortcode-products-filter > .column > .column-content {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
  }
  .site-header.menu-open,
  .site-header.menu-open .navs-wrapper {
    background-color: #34312e !important;
  }
}
