.elementor-2675 .elementor-element.elementor-element-bd2400b{--display:flex;}/* Start custom CSS for container, class: .elementor-element-bd2400b *//* ==========================================
 DEY CARPET - TERMS AND CONDITIONS
 PREMIUM LEGAL PAGE | COMPLETE CSS
========================================== */

.dey-legal-page {
  --dl-bg: #F8F1E7;
  --dl-cream: #FFFCF8;
  --dl-title: #432D29;
  --dl-text: #706057;
  --dl-wine: #791D28;
  --dl-dark: #531019;
  --dl-gold: #AD865E;
  --dl-border: #E9D8CA;

  position: relative;
  display: block;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--dl-bg);
  color: var(--dl-text);
  direction: rtl;
  isolation: isolate;
}

.dey-legal-page,
.dey-legal-page *,
.dey-legal-page *::before,
.dey-legal-page *::after {
  box-sizing: border-box;
}

.dey-legal-page h1,
.dey-legal-page h2,
.dey-legal-page h3,
.dey-legal-page p {
  letter-spacing: normal;
}

.dey-legal-page a {
  text-decoration: none !important;
}

.dey-legal-page a:focus-visible {
  outline: 3px solid #D0AA83;
  outline-offset: 4px;
}

.dey-legal-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================
 01 - HERO
========================================== */

.dey-legal-hero {
  position: relative;
  width: 100%;
  min-height: 570px;
  overflow: hidden;
  background: #EBDAC7;
}

.dey-legal-hero-image {
  position: absolute;
  inset: 0;
}

.dey-legal-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
}

.dey-legal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 44%,
    rgba(248,241,231,.22) 59%,
    rgba(248,241,231,.83) 80%,
    #F8F1E7 100%
  );
}

.dey-legal-hero-text {
  position: relative;
  z-index: 2;
  width: min(940px, calc(100% - 40px));
  margin: 0 auto;
  padding: 365px 15px 42px;
  text-align: center;
}

.dey-legal-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #976D56;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.8;
  direction: ltr;
}

.dey-legal-hero-text h1 {
  margin: 0 0 12px !important;
  color: var(--dl-title) !important;
  font-size: clamp(37px,4.5vw,62px);
  font-weight: 850;
  line-height: 1.5;
}

.dey-legal-hero-text h1 em {
  color: var(--dl-wine);
  font-style: normal;
}

.dey-legal-hero-text p {
  margin: 0 !important;
  color: #70574D !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 2;
}

/* ==========================================
 02 - MAIN BODY
========================================== */

.dey-legal-body {
  width: 100%;
  padding: 25px 0 72px;
  background: var(--dl-bg);
}

.dey-legal-intro {
  max-width: 825px;
  margin: 0 auto 38px;
  text-align: center;
}

.dey-legal-symbol {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E4CEBA;
  border-radius: 50%;
  background: linear-gradient(
    145deg,#FFF4E6,#EBD9C9
  );
  color: var(--dl-wine);
}

.dey-legal-symbol svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dey-legal-mini {
  display: block;
  margin-bottom: 12px;
  color: var(--dl-gold);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.9px;
  line-height: 2;
  direction: ltr;
}

.dey-legal-intro h2 {
  margin: 0 0 16px !important;
  color: var(--dl-title) !important;
  font-size: clamp(25px,3vw,36px);
  font-weight: 800;
  line-height: 1.7;
}

.dey-legal-intro p {
  max-width: 750px;
  margin: 0 auto !important;
  color: var(--dl-text) !important;
  font-size: 15px;
  line-height: 2.3;
}

/* ==========================================
 03 - QUICK NAVIGATION
========================================== */

.dey-legal-nav {
  margin: 0 0 27px;
  padding: 29px;
  border: 1px solid var(--dl-border);
  border-radius: 24px;
  background: #FFFCF8;
  box-shadow: 0 15px 43px rgba(67,45,41,.055);
}

.dey-legal-nav-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
}

.dey-legal-nav-title > div > span {
  display: block;
  margin-bottom: 5px;
  color: #A38068;
  font-size: 12px;
  font-weight: 700;
}

.dey-legal-nav-title h2 {
  margin: 0 !important;
  color: var(--dl-title) !important;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.7;
}

.dey-legal-count {
  padding: 8px 17px;
  border-radius: 35px;
  background: #F3E7DA;
  color: #8B4B4D;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.dey-legal-nav-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
}

.dey-legal-nav-grid a {
  min-height: 59px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border: 1px solid #ECE0D5;
  border-radius: 12px;
  background: #F9F3EB;
  color: #655147 !important;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.8;
  transition:
    transform .25s ease,
    background .25s ease,
    border-color .25s ease;
}

.dey-legal-nav-grid a b {
  color: var(--dl-wine);
  font-size: 13px;
  font-weight: 850;
}

.dey-legal-nav-grid a:hover {
  background: #F0DFD4;
  border-color: #DDBBAE;
  transform: translateY(-2px);
}

/* ==========================================
 04 - ALL LEGAL ARTICLES
========================================== */

.dey-legal-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.dey-legal-item {
  position: relative;
  scroll-margin-top: 120px;

  padding: 28px 33px 29px;

  background: linear-gradient(
    145deg,#FFFFFF,#FFFCF9
  );

  border: 1px solid var(--dl-border);
  border-right: 4px solid #C39A80;
  border-radius: 19px;

  box-shadow: 0 9px 30px rgba(67,45,41,.035);

  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    transform .25s ease;
}

.dey-legal-item:hover {
  border-color: #D7B7A3;
  border-right-color: var(--dl-wine);
  box-shadow: 0 17px 38px rgba(67,45,41,.075);
}

.dey-legal-item:target {
  border-color: #B78786;
  border-right-color: var(--dl-wine);
  box-shadow: 0 0 0 4px rgba(121,29,40,.08);
}

.dey-legal-item-head {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 17px;
}

.dey-legal-number {
  flex: 0 0 53px;
  width: 53px;
  height: 53px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 15px;
  border: 1px solid #E8D5C7;
  background: #F5EADF;
  color: var(--dl-wine);

  font-size: 17px;
  font-weight: 850;
  line-height: 1;
}

.dey-legal-item-head h2 {
  margin: 0 !important;
  color: var(--dl-title) !important;
  font-size: clamp(17px,1.75vw,21px);
  font-weight: 800;
  line-height: 1.8;
}

.dey-legal-item-content {
  padding-right: 70px;
}

.dey-legal-item-content p {
  margin: 0 0 13px !important;
  color: var(--dl-text) !important;
  font-size: 15px;
  font-weight: 400;
  line-height: 2.4;
  text-align: right;
}

.dey-legal-item-content p:last-child {
  margin-bottom: 0 !important;
}

/* ==========================================
 05 - CUSTOMER SUPPORT
========================================== */

.dey-legal-support {
  max-width: 890px;
  margin: 40px auto 0;
  padding: 37px 28px 39px;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
  border-radius: 25px;

  background:
    radial-gradient(
      circle at 95% 5%,
      rgba(255,255,255,.11),
      transparent 43%
    ),
    linear-gradient(
      130deg,#8B2C35,#531019
    );

  box-shadow: 0 23px 56px rgba(83,16,25,.18);
}

.dey-legal-support-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(255,255,255,.11);
  color: #F4D9BA;
}

.dey-legal-support-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dey-legal-support-mini {
  color: #F0CEAD;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.7px;
  direction: ltr;
}

.dey-legal-support h2 {
  margin: 12px 0 12px !important;
  color: #FFFFFF !important;
  font-size: clamp(23px,2.7vw,32px);
  font-weight: 800;
  line-height: 1.7;
}

.dey-legal-support p {
  max-width: 610px;
  margin: 0 !important;
  color: #F1DDDA !important;
  font-size: 14px;
  line-height: 2.3;
}

.dey-legal-support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 51px;
  margin-top: 24px;
  padding: 12px 26px;

  border-radius: 36px;
  background: #F4E5D3;
  color: #59252B !important;

  font-size: 13px;
  font-weight: 800;

  transition:
    transform .25s ease,
    background .25s ease;
}

.dey-legal-support-button:hover {
  transform: translateY(-2px);
  background: #FFFFFF;
  color: #59252B !important;
}

/* ==========================================
 06 - FOOTER FADE TO BURGUNDY
========================================== */

.dey-legal-fade {
  display: block;
  width: 100%;
  height: 260px;
  margin: -1px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;

  background: linear-gradient(
    to bottom,
    #F8F1E7 0%,
    #F3E9DE 13%,
    #E4D3C9 29%,
    #C6A69F 44%,
    #A47777 60%,
    #7E444B 77%,
    #62242E 90%,
    #531019 100%
  );
}

.dey-legal-footer-join {
  display: block;
  position: relative;

  width: 100%;
  height: 45px;

  margin: -2px 0 0 !important;
  padding: 0 !important;

  background: #531019 !important;
  border: 0 !important;
}

/* ==========================================
 07 - ELEMENTOR + WOODMART FOOTER CONNECTION
========================================== */

/* Scope to page containing the legal design */

body:has(.dey-legal-page) .main-page-wrapper,
body:has(.dey-legal-page) .wd-page-content {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

/* Eliminate Elementor's last-widget spacing */

body:has(.dey-legal-page)
.elementor-widget-html:has(.dey-legal-page),
body:has(.dey-legal-page)
.elementor-widget-html:has(.dey-legal-page)
> .elementor-widget-container {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Reset content wrappers */

body:has(.dey-legal-page) .entry-content,
body:has(.dey-legal-page) .site-content {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Edge-to-edge legal design */

body:has(.dey-legal-page) .dey-legal-page {
  width: 100vw !important;
  max-width: 100vw !important;

  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;

  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Any small space behind the join stays burgundy */

body:has(.dey-legal-page) .main-page-wrapper {
  background-color: #531019;
}

/* Do not change footer typography or layout */

body:has(.dey-legal-page) .wd-footer,
body:has(.dey-legal-page) footer.footer-container {
  position: relative;
  z-index: 5;

  margin-top: 0 !important;
  border-top: 0 !important;

  background-color: #531019 !important;
}

/* ==========================================
 08 - TABLET
========================================== */

@media (max-width: 1024px) {

  .dey-legal-hero {
    min-height: 510px;
  }

  .dey-legal-hero-text {
    padding-top: 325px;
  }

  .dey-legal-nav-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .dey-legal-body {
    padding-bottom: 55px;
  }

}

/* ==========================================
 09 - MOBILE
========================================== */

@media (max-width: 767px) {

  .dey-legal-container {
    padding: 0 16px;
  }

  .dey-legal-hero {
    min-height: 400px;
  }

  .dey-legal-hero-image img {
    object-position: center 30%;
  }

  .dey-legal-hero-text {
    width: calc(100% - 20px);
    padding: 265px 12px 20px;
  }

  .dey-legal-hero-text h1 {
    font-size: 34px;
  }

  .dey-legal-hero-text p {
    font-size: 13px;
  }

  .dey-legal-eyebrow {
    font-size: 9px;
    letter-spacing: 1.2px;
  }

  .dey-legal-body {
    padding: 20px 0 40px;
  }

  .dey-legal-intro {
    margin-bottom: 26px;
  }

  .dey-legal-symbol {
    width: 60px;
    height: 60px;
    margin-bottom: 14px;
  }

  .dey-legal-intro h2 {
    font-size: 23px;
  }

  .dey-legal-intro p {
    font-size: 13px;
    line-height: 2.2;
  }

  .dey-legal-nav {
    padding: 20px 15px;
    border-radius: 17px;
    margin-bottom: 18px;
  }

  .dey-legal-nav-title h2 {
    font-size: 17px;
  }

  .dey-legal-count {
    font-size: 10px;
    padding: 7px 11px;
  }

  .dey-legal-nav-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
  }

  .dey-legal-nav-grid a {
    min-height: 54px;
    padding: 9px 10px;
    gap: 7px;
    font-size: 11px;
    border-radius: 10px;
  }

  .dey-legal-nav-grid a b {
    font-size: 11px;
  }

  .dey-legal-list {
    gap: 12px;
  }

  .dey-legal-item {
    padding: 21px 16px 22px;
    border-radius: 15px;
    border-right-width: 3px;
    scroll-margin-top: 90px;
  }

  .dey-legal-item-head {
    gap: 10px;
    margin-bottom: 13px;
  }

  .dey-legal-number {
    flex-basis: 43px;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    font-size: 14px;
  }

  .dey-legal-item-head h2 {
    font-size: 16px;
    line-height: 1.85;
  }

  .dey-legal-item-content {
    padding-right: 0;
  }

  .dey-legal-item-content p {
    font-size: 13px;
    line-height: 2.25;
  }

  .dey-legal-support {
    margin-top: 27px;
    padding: 28px 18px;
    border-radius: 18px;
  }

  .dey-legal-support-icon {
    width: 55px;
    height: 55px;
  }

  .dey-legal-support h2 {
    font-size: 23px;
  }

  .dey-legal-support p {
    font-size: 12px;
  }

  .dey-legal-fade {
    height: 190px;
  }

  .dey-legal-footer-join {
    height: 35px;
  }
}

/* ==========================================
 10 - ACCESSIBILITY
========================================== */

@media (prefers-reduced-motion: reduce) {
  .dey-legal-page *,
  .dey-legal-page *::before,
  .dey-legal-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ==========================================
   DEY CARPET | LEGAL PAGE
   FOOTER GAP FIX - PAGE 2675
========================================== */

/* 1. Remove spacing from Woodmart wrappers */

body.page-id-2675 .wd-page-content.main-page-wrapper {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  border-bottom: 0 !important;
}

body.page-id-2675 #main-content,
body.page-id-2675 .wd-content-area,
body.page-id-2675 article.entry-content {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* 2. Remove Elementor bottom spacing */

body.page-id-2675 .elementor-2675,
body.page-id-2675 .elementor-element-bd2400b,
body.page-id-2675 .elementor-element-bd2400b > .e-con-inner,
body.page-id-2675 .elementor-element-8e8f98e,
body.page-id-2675 .elementor-element-8e8f98e > .elementor-widget-container {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  row-gap: 0 !important;
}

/* 3. Ensure legal section ends with burgundy */

body.page-id-2675 .dey-legal-page {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  border-bottom: 0 !important;
}

body.page-id-2675 .dey-legal-fade {
  margin-bottom: 0 !important;

  background: linear-gradient(
    to bottom,
    #F8F1E7 0%,
    #F3E9DE 13%,
    #E4D3C9 29%,
    #C6A69F 44%,
    #A47777 60%,
    #7E444B 77%,
    #62242E 90%,
    #531019 100%
  ) !important;
}

body.page-id-2675 .dey-legal-footer-join {
  display: block !important;
  width: 100% !important;
  height: 35px !important;

  margin: -1px 0 0 !important;
  padding: 0 !important;

  background: #531019 !important;
  border: none !important;
}

/* 4. Cover any remaining wrapper gap
      with the exact footer color */

body.page-id-2675 .wd-page-content.main-page-wrapper,
body.page-id-2675 #main-content,
body.page-id-2675 .wd-content-area {
  background-color: #531019 !important;
}

/* 5. Join the original footer without overlap */

body.page-id-2675 .wd-footer,
body.page-id-2675 footer.footer-container {
  position: relative !important;
  z-index: 5;

  margin-top: 0 !important;
  border-top: 0 !important;

  background-color: #531019 !important;
}

/* 6. Remove possible default divider */

body.page-id-2675 .wd-footer::before,
body.page-id-2675 footer.footer-container::before {
  border-top: 0 !important;
}

/* 7. Mobile */

@media (max-width: 767px) {

  body.page-id-2675 .dey-legal-footer-join {
    height: 25px !important;
  }

  body.page-id-2675 .wd-footer,
  body.page-id-2675 footer.footer-container {
    margin-top: 0 !important;
  }
}/* End custom CSS */