/* ─────────────────────────────────────────────────────────────
   PAGES — layout and page-specific component overrides
   Replaces the old fixed-pixel float-centering approach
   Depends on tokens.css and components.css
   ───────────────────────────────────────────────────────────── */

/* ─── Core layout wrapper ───────────────────────────────────── */

.wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

/* Inner content wrapper */
.panewrap {
  width: 100%;
  max-width: var(--max-width);
  padding: var(--space-14) var(--page-padding-x);
  box-sizing: border-box;
}

/* Two-column layout inside panewrap — flex row */
.panewrap.two-col {
  display: flex;
  gap: var(--space-15);
  align-items: flex-start;
}

.panewrap > .left {
  flex-shrink: 0;
  width: 280px;
  box-sizing: border-box;
}

.panewrap > .right {
  flex: 1;
  min-width: 0;
  background-color: transparent;
  border: none;
  box-shadow: none;
  box-sizing: border-box;
}

/* ─── Page H1 (interim — proper page-title band comes in Phase 5) ── */

.panewrap > H1,
.panewrap > h1 {
  width: 100%;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-gray-divider);
}

/* ─── Sub-navigation ────────────────────────────────────────── */

.submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: var(--color-black);
  display: flex;
}

.submenu > li {
  position: static;
  float: none;
  padding: var(--space-4) var(--space-5);
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  color: var(--color-white);
}

.submenu > li > a {
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-normal);
  letter-spacing: var(--tracking-md);
  text-transform: uppercase;
  color: var(--color-gray-footer-link);
  text-decoration: none;
}

.submenu > li > a:hover,
.submenu > li > a.current {
  color: var(--color-white);
  text-decoration: none;
}

/* ─── Home page (dead old section removed) ───────────────────── */

/* ─── Content boxes / material grid ────────────────────────── */

.full {
  position: static;
  float: none;
  clear: none;
  width: 100%;
  margin-top: var(--space-3);
}

.boxes_bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  width: 100%;
  position: static;
  float: none;
}

.boxes_bar .box {
  position: relative;
  float: none;
  margin: 0;
  box-sizing: border-box;
}

.boxes_bar .box.full  { width: 100%; }
.boxes_bar .box.half  { width: calc(50% - var(--space-2)); }
.boxes_bar .box.third { width: calc(33.333% - var(--space-3)); min-height: 0; }
.boxes_bar .box.quarter { width: calc(25% - var(--space-3)); }
.boxes_bar .box.fifth { width: calc(20% - var(--space-4)); }

.boxes_bar .box > .swatch {
  position: relative;
  float: none;
  width: 100%;
  height: 140px;
  background-color: var(--color-gray-card);
  border: 1px solid var(--color-gray-border);
  margin-bottom: var(--space-2);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
}

.boxes_bar .box > .swatch:hover {
  opacity: 0.85;
}

.boxes_bar .box > h4 {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-snug);
  letter-spacing: var(--tracking-sm);
  text-transform: uppercase;
  margin: var(--space-2) 0 0 0;
}

.boxes_bar .box > p {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-base);
  color: var(--color-gray-text);
  margin: var(--space-1) 0 0 0;
}

/* ─── Section title bar ─────────────────────────────────────── */

.full > .title_bar {
  background-color: var(--color-black);
  border-radius: 0;
  padding: var(--space-3) var(--space-4);
  width: 100%;
  float: none;
  box-sizing: border-box;
}

.full > .title_bar > h3 {
  font-size: var(--font-size-base);
  color: var(--color-white);
  letter-spacing: var(--tracking-md);
  text-transform: uppercase;
  margin: 0;
}

.full > .title_bar > p {
  font-size: var(--font-size-sm);
  color: var(--color-gray-footer-link);
  margin: var(--space-1) 0 0 0;
}

/* ─── Contact page ──────────────────────────────────────────── */

.contact .panewrap {
  display: flex;
  gap: var(--space-15);
  align-items: flex-start;
}

.contact .panewrap > .left {
  flex-shrink: 0;
  width: 260px;
}

.contact .panewrap > .right {
  flex: 1;
  min-width: 0;
  background-color: var(--color-gray-page);
  border: 1px solid var(--color-gray-border);
  padding: var(--space-10);
}

.contact .formwrap {
  width: 100%;
  height: auto;
  margin: 0;
}

.contact input[type=text],
.contact textarea {
  width: 100%;
  border: 1px solid var(--color-gray-border);
  border-radius: 0;
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  letter-spacing: var(--tracking-base);
  color: var(--color-gray-text);
  margin-top: var(--space-2);
  box-sizing: border-box;
}

.contact textarea { height: 160px; }

/* ─── Help / FAQ page ───────────────────────────────────────── */

.help .panewrap {
  display: flex;
  gap: var(--space-10);
  align-items: flex-start;
}

#faq_menu {
  flex-shrink: 0;
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  position: sticky;
  top: var(--space-10);
}

#faq_menu > p {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  letter-spacing: var(--tracking-md);
  text-transform: uppercase;
  color: var(--color-black);
  cursor: pointer;
  margin: 0;
}

#faq_menu > p:hover,
#faq_menu > p.current {
  color: var(--color-green);
}

#faq_wrap {
  flex: 1;
  min-width: 0;
}

.faq_entry {
  float: none;
  width: 100%;
  margin-bottom: var(--space-20);
  border-top: 1px solid var(--color-gray-border);
  padding-top: var(--space-5);
}

/* ─── Profile page ──────────────────────────────────────────── */

.profile .panewrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.item {
  float: none;
  width: 100%;
  max-width: 600px;
  margin: var(--space-8) 0;
  padding: var(--space-10);
  background-color: var(--color-gray-page);
  border: 1px solid var(--color-gray-border);
  border-radius: 0;
}

.large_form {
  width: 100%;
  max-width: 600px;
  margin: var(--space-6) 0;
}

.large_form > div { width: 100%; }

.large_form div label {
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  letter-spacing: var(--tracking-md);
  text-transform: uppercase;
  font-weight: var(--font-weight-normal);
  width: 200px;
}

.large_form input[type=text],
.large_form textarea {
  border: 1px solid var(--color-gray-border);
  border-radius: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  padding: var(--space-2) var(--space-3);
  width: 360px;
  box-sizing: border-box;
}

/* ─── About page ────────────────────────────────────────────── */

.about-us .panewrap > .right.who-we-are {
  float: none;
  width: 100%;
  height: auto;
  min-height: 0;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

/* ─── Hero / home ───────────────────────────────────────────── */

.hero_contain {
  position: relative;
  width: 100%;
  /* nav-contain.home uses position:absolute — needs this containing block */
}

.hero_slider {
  min-height: 680px;
  background-color: var(--color-black);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background images — scoped to slider so they don't escape to hero_contain */
.hero_slider .home_image {
  position: absolute;
  inset: 0;
  display: none;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero_slider .home_image > img { display: none; }

.hero_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  max-width: 720px;
  padding-top: var(--space-15);
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero_text_box {
  max-width: 95%;
  background-color: rgba(0,0,0,0.64);
  padding: 20px 0;
}

.hero_heading {
  color: var(--color-white);
  font-size: 48px;
  font-weight: var(--font-weight-normal);
  line-height: 52px;
  letter-spacing: 8px;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(0,0,0,0.9);
  margin: 0;
}

.hero_p {
  color: var(--color-white);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-light);
  line-height: var(--line-height-base);
  letter-spacing: var(--tracking-base);
  margin: 0;
}

.hero_arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.65);
  font-size: 40px;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color 0.15s;
}
.hero_arrow:hover { color: #fff; }
.hero_arrow_left  { left: 0; }
.hero_arrow_right { right: 0; }

.hero_nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  max-width: 80%;
  flex-wrap: wrap; 
  margin: auto;
}

.hero_dot {
  width: clamp(20px, 5vw, 50px);
  height: 2px;
  background: #ccc;
  cursor: pointer;
  flex-shrink: 0;
  pointer-events: all;
  transition: background 100ms;
}
.hero_dot.active { background: #000; }

.play_pause {
  font-family: FontAwesome;
  font-size: 22px;
  color: rgba(255,255,255,0.55);
  position: absolute;
  bottom: 12px;
  left: 20px;
  cursor: pointer;
  z-index: 4;
  line-height: 1;
  transition: color 0.15s;
}
.play_pause:hover { color: rgba(255,255,255,0.9); }

.full_width_dark {
  width: 100%;
  background-color: var(--color-black);
  display: flex;
  justify-content: center;
  padding-left: var(--page-padding-x);
  padding-right: var(--page-padding-x);
}

.full_width_dark.about {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

._1200 {
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  padding-top: 92px;
  padding-bottom: 92px;
}

._1200._2 { padding-top: 68px; }

.on_dark {
  color: var(--color-white);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-normal);
  text-align: center;
}

.dark_divider {
  width: 80px;
  height: 1px;
  background-color: #d9d9d9;
}

.p_ondark {
  max-width: 796px;
  color: var(--color-white);
  text-align: center;
  letter-spacing: var(--tracking-md);
  margin: 0;
  font-size: var(--font-size-lg);
  line-height: 32px;
  font-weight: var(--font-weight-light);
}

/* ─── Page title band ───────────────────────────────────────── */

.page-title {
  width: 100%;
  background-color: var(--color-gray-page);
  border-bottom: 1px solid var(--color-gray-divider);
  display: flex;
  justify-content: center;
  padding: 0 var(--page-padding-x);
  box-sizing: border-box;
}

.page-title-container {
  width: 100%;
  max-width: var(--max-width);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: var(--space-8) 0;
}

.page-title-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* ─── Contact page ──────────────────────────────────────────── */

.contact_container {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.contact_info {
  display: flex;
  flex-direction: column;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  gap: var(--space-2);
}

h3.contact { margin-top: var(--space-5); margin-bottom: var(--space-1); }

.contact_link {
  color: var(--color-gray-text);
  text-decoration: none;
  font-weight: var(--font-weight-normal);
}
.contact_link:hover { text-decoration: underline; }

.inquiries_text {
  font-size: var(--font-size-sm);
  color: var(--color-gray-light);
  margin-top: var(--space-1);
}

.form_container {
  background-color: var(--color-gray-page);
  border: 1px solid var(--color-gray-border);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-gray-text);
}

.contact-form_text {
  border-bottom: 1px solid var(--color-gray-border);
  padding-bottom: var(--space-5);
  margin-bottom: var(--space-4);
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--space-7);
}

.form_item { display: flex; flex-direction: column; gap: var(--space-1); }

.text-field {
  border: 1px solid var(--color-gray-border);
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  letter-spacing: var(--tracking-base);
  padding: var(--space-2) var(--space-3);
  width: 100%;
  box-sizing: border-box;
  margin-bottom: var(--space-7);
  color: var(--color-gray-text);
}

.text-field.message {
  min-height: 160px;
  grid-column: span 2;
}

.btn_submit {
  color: var(--color-white);
  letter-spacing: var(--tracking-md);
  text-transform: uppercase;
  background-color: var(--color-black);
  border: none;
  padding: var(--space-5) var(--space-8);
  cursor: pointer;
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  grid-column: span 2;
}

/* ─── FAQ / Help page ───────────────────────────────────────── */

.faq_hero { width: 100%; display: block; }

.faq_container {
  width: 100%;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-4);
  margin-top: 60px;
}

.subnav_container { position: relative; }

.accordion_icon_wrapper { flex-shrink: 0; }
.accordion_icon_wrapper img { transition: transform 0.2s ease; }

.faq_subnav {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: sticky;
  top: var(--space-10);
}

.faq_subnav a { text-decoration: none; }
.faq_subnav a:hover h3 { color: var(--color-gray-muted); }

h3.subnav, .subnav h3 {
  color: var(--color-green);
  letter-spacing: var(--tracking-lg);
  font-size: var(--font-size-lg);
  margin: 0;
}

.faq_content { display: flex; flex-direction: column; }

.faq_section { margin-bottom: var(--space-20); }
.faq_section h2 { margin-bottom: var(--space-4); }

.accordion_wrapper { width: 100%; margin-top: var(--space-4); }

.accordion {
  border-top: 1px solid var(--color-gray-border);
}
.accordion.last { border-bottom: 1px solid var(--color-gray-border); }

.accordion_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) var(--space-5) var(--space-5) 0;
  cursor: pointer;
  font-weight: var(--font-weight-bold);
  gap: var(--space-6);
}

.accordion_panel {
  color: var(--color-gray-text);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  padding-bottom: var(--space-6);
  padding-right: var(--page-padding-x);
  display: none;
}

/* ─── Profile / account page ────────────────────────────────── */

.account_container {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-10);
}

.profile_subnav {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.subnav_text-link {
  color: var(--color-black);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
}
.subnav_text-link:hover { text-decoration: underline; }

.profile_heading {
  display: flex;
  align-items: flex-end;
  gap: var(--space-3);
  border-bottom: 1px solid var(--color-gray-border);
  margin-bottom: var(--space-7);
  padding-bottom: var(--space-4);
}

.form-2 { max-width: 486px; }

.profile_text-field {
  display: block;
  width: 100%;
  border: 1px solid var(--color-gray-border);
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-8);
  box-sizing: border-box;
}

.form_field-label {
  display: block;
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  letter-spacing: var(--tracking-md);
  text-transform: uppercase;
  margin-top: var(--space-4);
  margin-bottom: 0;
}

/* ─── Our Products — materials / colors / pulls ─────────────── */

.materials {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.collections {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
  /* border-bottom: 1px solid var(--color-gray-divider); */
}

.sample-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.sample-grid .box {
  display: flex;
  flex-direction: column;
}

.sample-grid .swatch {
  width: 100%;
  height: 120px;
  background-color: var(--color-gray-card);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--color-gray-border);
  margin-bottom: var(--space-2);
  cursor: pointer;
  position: relative;
}

.pull-container {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.pull-title {
  margin-top: var(--space-7);
  margin-bottom: var(--space-3);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-snug);
}

.pull-price {
  display: inline-block;
  text-transform: uppercase;
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-sm);
  margin-top: var(--space-2);
  position: relative;
  &::after {
    content: '';
    display: inline-block;
    width: 80px;
    height: 1px;
    background: var(--color-black);   
    flex-shrink: 0;
    position: absolute;
    top: 13px;
    right: -100px;
  }
}

/* Fixed checkout CTA */
.btn.samples { display: none; }

.btn.samples.checkout {
  display: inline-block;
  position: fixed;
  bottom: var(--space-12);
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  min-width: 270px;
  text-align: center;
  box-shadow: var(--shadow-modal);
}

/* ─── Responsive ────────────────────────────────────────────── */

@media screen and (max-width: 991px) {
  .panewrap {
    padding: var(--space-10) var(--space-8);
  }

  .boxes_bar .box.third  { width: calc(50% - var(--space-2)); }
  .boxes_bar .box.quarter { width: calc(50% - var(--space-2)); }
  .boxes_bar .box.fifth  { width: calc(33.333% - var(--space-3)); }

  .contact_container { grid-template-columns: 1fr; }
  .faq_container { grid-template-columns: 1fr; }
  .faq_subnav { position: static; flex-direction: row; flex-wrap: wrap; }
  .account_container { grid-template-columns: 1fr 1fr; }
  .pull-container { grid-template-columns: 1fr 1fr; }
}

@media screen and (max-width: 767px) {
  .panewrap {
    padding: var(--space-8) var(--space-4);
  }

  .panewrap > .left,
  .panewrap > .right {
    float: none;
    width: 100%;
  }

  .boxes_bar .box.third,
  .boxes_bar .box.quarter,
  .boxes_bar .box.fifth,
  .boxes_bar .box.half { width: 100%; }

  .hero_heading { font-size: 32px; letter-spacing: 4px; }
  .pull-container { grid-template-columns: 1fr; }
  .account_container { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .text-field.message { grid-column: span 1; }
  .btn_submit { grid-column: span 1; }
}

/* ─── Content page shared patterns ──────────────────────────── */

/* Two-column content + image row */
.order_section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 126px;
  /* gap: var(--grid-gap); */
  align-items: center;
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.order_section.light  { margin-top: 0; margin-bottom: 0; }
.order_section._2     { grid-template-columns: 1fr; }

.order_content { display: flex; flex-direction: column; gap: var(--space-5); }
.order_image { height: 100%; }
.order_image img { width: 100%; display: block; height: 100%; object-fit: cover; }

.order_heading {
  color: var(--color-black);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-normal);
  line-height: 1;
  margin: 0;
}

/* Eyebrow + decorative line */
.eyebrow_line {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

/* Full-width section bands */
.full_width_gray {
  width: 100%;
  background-color: var(--color-gray-page);
  display: flex;
  justify-content: center;
  padding: var(--space-12) var(--page-padding-x);
  box-sizing: border-box;
}

.full_width_light {
  width: 100%;
  background-color: #f3f3f3;
  display: flex;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 92px;
}

.full_width_light.second,
.full_width_light.about {
  padding-left: var(--page-padding-x);
  padding-right: var(--page-padding-x);
  box-sizing: border-box;
}

.full_width_light.about {
  background-color: var(--color-white);
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

/* Mission / dark band — already defined in hero section, add about variant */
.full_width_dark .content-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-12) 0;
}

/* Page intro text block */
.page-intro {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
  padding-right: 20%;
}

/* Testimonial / quote */
.about_quote {
  font-size: 40px;
  font-weight: var(--font-weight-light);
  font-style: italic;
  line-height: 48px;
  color: var(--color-black);
  margin: 0;
}

/* Mission heading on dark bg */
.h5_about {
  max-width: 800px;
  color: var(--color-white);
  text-align: center;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-light);
  line-height: var(--line-height-base);
  letter-spacing: var(--tracking-md);
  margin: 0;
  font-style: italic;
}

.video_frame { max-width: 588px; margin-top: 24px; display: block; }
.prompt_divider { margin-top: 8px; display: block; }

/* CTA / prompt bands */
.design-prompt {
  width: 100%;
  background-color: #b5d452;
  background-image: url('../images/design_pattern.png');
  background-position: 0 0;
  background-size: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 124px;
  padding-bottom: 124px;
}

.faq-prompt {
  width: 100%;
  background-color: var(--color-gray-page);
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 124px;
  padding-bottom: 124px;
}

.prompt-wrapper {
  width: 100%;
  max-width: var(--max-width);
  padding-left: 60px;
  padding-right: 60px;
  display: flex;
  justify-content: center;
}

.content-container.design {
  text-align: center;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  gap: 16px;
}

/* Terms / privacy / accessibility content */
.terms-container {
  max-width: 860px;
  padding: var(--space-14) 0;
}

.terms-h3 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-md);
  text-transform: uppercase;
  margin: var(--space-6) 0 0 0;
}

.privacy-h2 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-lg);
  text-transform: uppercase;
  margin: var(--space-8) 0 0 0;
}

.h4_accessibility {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-md);
  text-transform: uppercase;
  margin: var(--space-4) 0 0 0;
}

/* ─── Home: dark band needs extra bottom room for the -220px card overlap ── */
.home .full_width_dark ._1200._2 {
  padding-bottom: 280px;
}

/* ─── Home: light band + product hover cards ─────────────────── */

.full_width_light.second { padding-top: var(--space-12); padding-bottom: 0; }

.home_products {
  width: 100%;
  max-width: var(--max-width);
  min-height: 0;
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: -220px;
  position: relative;
  z-index: 2;
}

.products_home_img {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-decoration: none;
}

.home_img_static {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
}

.home_img_hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  transition: opacity 0.25s;
}
.products_home_img:hover .home_img_hover { opacity: 1; }

.home_hover_heading {
  width: 340px;
  color: #fff;
  background-color: rgba(0,0,0,0.64);
  padding: 8px;
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin: 0;
}

.hover_btn {
  color: var(--color-black);
  letter-spacing: 2px;
  text-transform: uppercase;
  background-color: #b5d452;
  border: 1px solid #c6f13a;
  padding: 20px 32px;
  font-size: 10px;
  font-weight: var(--font-weight-normal);
  line-height: 10px;
}

/* ─── Home: Get Inspired section ─────────────────────────────── */

.home_inspiration {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-6);
}

.home_p {
  max-width: 996px;
  color: #666;
  letter-spacing: 2px;
  font-size: 20px;
  font-weight: var(--font-weight-light);
  line-height: 32px;
}

.inspiration_content {
  width: 100%;
  display: flex;
  gap: 60px;
  margin-top: 60px;
  margin-bottom: 60px;
}

.inspiration_content > img { width: 50%; display: block; object-fit: cover; }

.inspiration_content_2 {
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex: 1;
}

.inspiration_img { width: 100%; display: block; }

/* ─── Home: bottom button cards ──────────────────────────────── */

.home_buttons {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.home_buttons .home-btn > div {
  color: var(--color-green);
}

.home-btn {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-black);
  flex: 1;
  cursor: pointer;
}
.home-btn:hover { text-decoration: underline; text-decoration-color: var(--color-green); }

.dark_bg { background-color: var(--color-black); overflow: hidden; }

.img { width: 100%; display: block; filter: brightness(1); transition: filter 0.2s; }
.img:hover { filter: brightness(0.75); }

h3.button {
  margin-top: 20px;
  margin-bottom: 4px;
  font-weight: var(--font-weight-bold);
}

/* ─── Heading line decoration ────────────────────────────────── */

/* .h2 {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
} */

.heading-line {
  position: relative;
  &::before{
    content: '';
    display: inline-block;
    width: 80px;
    height: 1px;
    background: var(--color-black);
    flex-shrink: 0;
    position: absolute;
    top: 13px;
    left:-100px;
  }
  &.heading-line-after::before {
    left: auto;
    right: -100px;
  }
}

.page-desc-text{
  max-width: 588px;
}

/* ─── Inspiration gallery ─────────────────────────────────────── */

.insp_collections {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  padding: var(--space-8) 0;
  width: 100%;
}

.insp_collection-btn {
  position: relative;
  height: 260px;
  background-color: var(--color-black);
  background-size: cover;
  background-position: center;
  border: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding: var(--space-5);
  display: flex;
  align-items: flex-end;
  text-align: left;
  transition: opacity 0.2s;
}
.insp_collection-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  transition: background 0.2s;
}
.insp_collection-btn:hover::after  { background: rgba(0,0,0,0.45); }
.insp_collection-btn.active::after { background: rgba(0,0,0,0.55); }

.insp_collection-btn.wood        { background-image: url('/images/BTN_1_wood.jpg'); }
.insp_collection-btn.fenix       { background-image: url('/images/BTN_2_ultra-matte.jpg'); }
.insp_collection-btn.prefinished { background-image: url('/images/BTN_3_prefinished-wood.jpg'); }
.insp_collection-btn.bath        { background-image: url('/images/BTN_4_bath-closet.jpg'); }

.insp_col-label {
  position: relative;
  z-index: 1;
  color: var(--color-white);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-md);
  text-transform: uppercase;
  line-height: 1.3;
  background-color: #000;
  flex-basis: 100%;
  text-align: center;
  font-size: var(--font-size-lg);
  padding: 8px;
}

.insp_gallery {
  columns: 3;
  column-gap: var(--space-10);
  padding: var(--space-8) 0;
}

.insp_image {
  break-inside: avoid;
  display: block;
  width: 100%;
  margin-bottom: var(--space-10);
}
.insp_image.hidden { display: none; }

.insp_image_img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: filter 0.2s ease;
}
.insp_image:hover .insp_image_img {
  filter: brightness(0.75);
}

.insp_caption {
  font-size: var(--font-size-xs);
  color: var(--color-gray-light);
  line-height: var(--line-height-base);
}

.insp_image { cursor: pointer; }

/* ── Inspiration lightbox (matches Webflow export exactly) ─────────────────── */

.lightbox-overlay {
  position: fixed;
  top: 0; bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, .76);
  justify-content: center;
  align-items: center;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.lightbox-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox_container {
  width: 100%;
  max-width: 1320px;
  gap: 40px;
  justify-content: space-between;
  align-items: center;
  margin-left: 60px;
  margin-right: 60px;
  display: flex;
}

.lightbox_close-container {
  flex: 1;
  min-width: 0;
}

.lightbox_close {
  justify-content: flex-end;
  display: flex;
}

.close_lightbox_button {
  width: 40px;
  height: 40px;
  background-color: #000;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: flex;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.lightbox_content {
  width: 100%;
  gap: 24px;
  background-color: #fff;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  padding: 40px;
  display: grid;
}

.ligtbox_img { display: flex; }

.lightbox-image {
  width: 100%;
  display: block;
  object-fit: cover;
}

.lightbox_info {
  gap: 20px;
  flex-direction: column;
  display: flex;
}

.lightbox_info h3{
  margin: 0;
  /* font-size: 20px;
  font-weight: var(--font-weight-bold); */
}

.lightbox_credit {
  color: #666;
  border-bottom: 1px solid #d9d9d9;
  padding-bottom: 24px;
  font-size: 12px;
  line-height: 12px;
}

.lightbox_img-description {
  color: #444;
  letter-spacing: 1.2px;
  border-bottom: 1px solid #d9d9d9;
  margin-bottom: 24px;
  padding-bottom: 24px;
  font-size: 12px;
  line-height: 24px;
}

.lightbox_tags {
  gap: 16px;
  border-bottom: 1px solid #d9d9d9;
  margin-bottom: 24px;
  padding-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
}

.lightbox_tag {
  color: #000;
  text-transform: uppercase;
  background-color: #fff;
  border: 1px solid #000;
  padding: 6px 16px;
  font-size: 10px;
  font-weight: 400;
  line-height: 10px;
}

.insp_modal_prev,
.insp_modal_next {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.insp_modal_img_desc{
  padding-bottom: 24px;
  color: #444;
  letter-spacing: 1.2px;
  border-bottom: 1px solid #d9d9d9;
  padding-bottom: 24px;
  font-size: 12px;
  line-height: 24px;
}

/* ── FAQ image lightbox (single image, reuses lightbox chrome above) ──────── */

.faq_lightbox_content {
  width: 100%;
  background-color: #fff;
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.faq_lightbox_image {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  object-fit: contain;
}

@media (max-width: 479px) {
  .faq_lightbox_content { padding: 24px; }
}

/* Tablet */
@media (max-width: 991px) {
  .lightbox_container {
    gap: 28px;
    margin-left: 20px;
    margin-right: 20px;
  }
  .lightbox_content {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .lightbox_credit,
  .lightbox_img-description {
    margin-bottom: 16px;
    padding-bottom: 16px;
  }
  .lightbox_tags {
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 16px;
  }
}

/* Mobile */
@media (max-width: 479px) {
  .lightbox_container {
    gap: 8px;
    margin-left: 10px;
    margin-right: 10px;
  }
  .lightbox_close-container {
    min-width: 80%;
    overflow-y: auto;
    max-height: 90vh;
  }
  .insp_modal_prev img,
  .insp_modal_next img {
    width: 20px;
  }
  .lightbox_tags { gap: 8px; }
  .lightbox_tag { font-size: 8px; line-height: 8px; }
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding: var(--space-6) 0;
}

.filter {
  color: var(--color-black);
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--color-black);
  padding: 8px 16px;
  font-size: 10px;
  line-height: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.filter:hover  { background-color: var(--color-gray-page);text-decoration: none; }
.filter.active { background-color: var(--color-black); color: var(--color-white); }

/* ─── Responsive ─────────────────────────────────────────────── */

@media screen and (max-width: 991px) {
  .order_section { grid-template-columns: 1fr; margin-top: var(--space-10); margin-bottom: var(--space-10); }
  .page-intro { padding-right: 0; }
  .insp_collections { grid-template-columns: repeat(2, 1fr); }
  .insp_gallery { columns: 2; }
  .home_products { min-height: 0; margin-top: 60px; padding-left: 24px; padding-right: 24px; }
  .products_home_img { height: auto; gap: 0; }
  .home_img_static { position: relative; }
  .home_img_hover { height: 100%; text-align: center; }
  .home_hover_heading { width: 90%; }
  .inspiration_content { gap: var(--space-8); }
  .material_subnav_container { display: none; }
  .material-container-2 { grid-template-columns: 1fr; }
  .sample-grid-2 { grid-template-columns: repeat(3, 1fr); }
  .design-prompt, .faq-prompt { padding-top: 80px; padding-bottom: 80px; }
  .prompt-wrapper { padding-left: 40px; padding-right: 40px; }
}

@media screen and (max-width: 767px) {
  .order_heading { font-size: var(--font-size-2xl); }
  .full_width_gray, .full_width_light.about { padding: var(--space-8) var(--space-4); }
  .design-prompt, .faq-prompt { padding-top: var(--space-15); padding-bottom: var(--space-15); }
  .prompt-wrapper { padding-left: var(--space-4); padding-right: var(--space-4); }
  .insp_collections { grid-template-columns: repeat(2, 1fr); }
  .insp_collection-btn { height: 180px; }
  .insp_gallery { columns: 1; }
  .sample-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .home_products { margin-top: 60px; }
  .products_home_img, .home_img_static { height: 100%; }
  .home_img_hover { height: 100%; gap: 16px; text-align: center; }
  .home_hover_heading { width: 80%; font-size: 20px; line-height: 20px; }
  .hover_btn { padding: 16px 24px; }
}

@media screen and (max-width: 479px) {
  .inspiration_content { flex-direction: column; margin-top: var(--space-8); margin-bottom: var(--space-8); }
  .inspiration_content > img { width: 100%; }
  .home_buttons { flex-direction: column; }
  .home_products { min-height: 0; gap: 24px; flex-direction: column; margin-top: 40px; }
  .hover_btn { display: block; }
}

/* ---- Our Finishes (materials page) ---- */
.materials_subnav { display: flex; gap: 40px; margin-top: 40px; }
.material_subnav_container { flex: 0 0 200px; }
.material_subnav-2 { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 40px; }
.subnav_material { text-decoration: none; }
.subnav-h3 { color: #91aa42; letter-spacing: 3px; margin-bottom: 0; padding-bottom: 4px; font-size: 14px; line-height: 20px; }
.subnav-h3:hover { color: #aaa; }
.material_content-2 { flex: 1; min-width: 0; }
.material-container-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; margin-bottom: 40px; }
.sticky_contain-2 { position: sticky; top: 40px; }
.material_img-2 { width: 100%; margin-bottom: 16px; display: block; }
.material_desc-2 { color: #444; margin-top: 20px; margin-bottom: 20px; font-weight: 400; }
.material_small-2 { color: #444; margin-bottom: 10px; font-size: 12px; font-weight: 400; line-height: 20px; }
.sample-grid-2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.sample_link { display: block; position: relative; color: #000; letter-spacing: 1.2px; font-size: 14px; line-height: 14px; text-decoration: none; cursor: pointer; }
.sample_link:hover { text-decoration: none; }
.sample_link:hover .materials_sample_link { text-decoration: underline; }
.sample-swatch { position: relative; }
.sample-image { width: 100%; border: 1px solid #e3e3e3; display: block; aspect-ratio: 1 / 1; }
.sample_link.selected .sample-image { border-color: var(--color-green-light-border); border-width: 2px; }
.sample-swatch .sample-price-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.45); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 0.5px; opacity: 0; transition: opacity 0.18s ease; pointer-events: none; }
.sample_link:hover .sample-price-overlay { opacity: 1; }
.materials_sample_link { font-size: 12px; line-height: 14px; margin-top: 12px; }

/* "+ Order Sample" / "- Order Sample" tooltip, anchored over the top-right of the swatch on hover */
.sample-swatch .sample-order-tooltip { --tooltip-bg: var(--color-green-light); position: absolute; top: -14px; right: 10px; background: var(--tooltip-bg); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.3px; padding: 6px 14px; border-radius: 999px; white-space: nowrap; opacity: 0; pointer-events: none; transform: translateY(4px); transition: opacity 0.18s ease, transform 0.18s ease; z-index: 5; box-shadow: 0 2px 6px rgba(0,0,0,0.15); }
.sample-swatch .sample-order-tooltip::after { content: ''; position: absolute; top: 100%; right: 16px; border: 5px solid transparent; border-top-color: var(--tooltip-bg); }
.sample_link:hover .sample-order-tooltip { opacity: 1; transform: translateY(0); }
.sample_link.selected .sample-order-tooltip { --tooltip-bg: #d45d5d; }
.sample-order-tooltip .tooltip-remove { display: none; }
.sample_link.selected .sample-order-tooltip .tooltip-add { display: none; }
.sample_link.selected .sample-order-tooltip .tooltip-remove { display: inline; }

/* View hi-res image — text link under the material name */
.sample_link .sample-viewhires { display: block; margin-top: 4px; font-size: 11px; letter-spacing: 0.5px; text-decoration: underline; color: #666; cursor: pointer; }
.sample_link .sample-viewhires:hover { color: #000; }

/* High-res image modal */
.sample-hires-modal-wrapper { display: none; position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,0.75); justify-content: center; align-items: center; }
.sample-hires-modal-wrapper.is-open { display: flex; }
.sample-hires-modal { position: relative; background: #fff; padding: 16px; max-width: 90vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sample-hires-img { max-width: min(700px, 85vw); max-height: 75vh; display: block; object-fit: contain; }
.sample-hires-label { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin: 0; color: #333; }
.sample-hires-detail { font-size: 13px; margin: 0; color: #666; text-align: center; max-width: min(700px, 85vw); }
.sample-hires-detail:empty { display: none; }
.sample-hires-close { position: absolute; top: -36px; right: 0; width: 32px; height: 32px; background: #000; border: none; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }

.divider-3 { width: 100%; border-bottom: 1px solid #e0e0e0; margin-top: 40px; margin-bottom: 40px; }

/* Reset password page — center the form and widen it beyond its auto-shrink width */
.reset-password .content-container {
  align-items: center;
}

.reset-password #reset_password_form {
  width: 100%;
  max-width: 480px;
}
