/* Final layout fixes loaded after the legacy retro theme. */
body.page-products {
  background: #fff !important;
  color: #555 !important;
}

/* Isolate the new category page from the legacy retro theme. */
.page-category,
.page-category #content{
  background:#fff!important;
  color:#292429!important;
}
.page-category #content>.container{
  width:100%!important;
  max-width:none!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  background:#fff!important;
  color:#292429!important;
  box-shadow:none!important;
}
.page-category .wf-cat{
  position:relative!important;
  left:50vw!important;
  transform:translateX(-50%)!important;
  width:min(1440px,calc(100vw - 48px))!important;
  max-width:1440px!important;
  margin:0 0 70px!important;
  background:#fff!important;
  color:#292429!important;
}
.page-category .wf-cat-heading,
.page-category .wf-cat-shortcuts,
.page-category .wf-cat-toolbar,
.page-category .wf-cat-layout,
.page-category .wf-cat-results,
.page-category .wf-cat-grid,
.page-category .wf-cat-filters{
  background:#fff!important;
  color:#292429!important;
  box-shadow:none!important;
}
.page-category .wf-cat-shortcuts>div{
  scrollbar-width:thin;
  scrollbar-color:#bdb8bd transparent;
}
@media(max-width:800px){
  .page-category .wf-cat{width:calc(100vw - 28px)!important}
}
@media(max-width:580px){
  .page-category .wf-cat{width:calc(100vw - 20px)!important}
}

.page-products #content {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  overflow: hidden !important;
}

.page-products #content > .container,
.page-products #content > .container > .row {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
}

.page-products .dk-detail {
  display: block !important;
  width: min(1280px, calc(100% - 48px)) !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 24px 0 0 !important;
  background: #fff !important;
}

/* Keep the product page aligned with the centered Wayfair header shell. */
.page-products #content > .container {
  width: min(1440px, calc(100% - 48px)) !important;
  max-width: 1440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.page-products #content > .container > .row {
  width: 100% !important;
}
.page-products .dk-detail {
  width: 100% !important;
  max-width: 1440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.page-products .dk-breadcrumb {
  margin-bottom: 18px;
  padding: 20px 22px 16px !important;
  border-bottom: 1px solid #eeeeee;
  color: #8d8790 !important;
  line-height: 1.5;
}
.page-products .dk-breadcrumb a {
  color: #6f6872 !important;
}
.page-products .dk-breadcrumb a:hover {
  color: #741776 !important;
}

.page-products .dk-product-main {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr) !important;
  column-gap: 52px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
}

.page-products .dk-gallery,
.page-products .dk-buy {
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.page-products .dk-gallery #productsImageWrapper,
.page-products .dk-gallery #mainImageWrapper,
.page-products .dk-gallery #thumbnailWrapper {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.page-products .dk-gallery #mainImageWrapper {
  height: 540px !important;
  overflow: hidden !important;
}

.page-products .dk-gallery #mainImageWrapper a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}

.page-products .dk-gallery #mainImageWrapper img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
}

.page-products .dk-gallery #thumbnail {
  display: flex !important;
  max-width: 100% !important;
  gap: 9px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 0 0 8px !important;
}

.page-products .dk-gallery #thumbnail li {
  float: none !important;
  flex: 0 0 68px !important;
  width: 68px !important;
  margin: 0 !important;
}

.page-products .dk-buy {
  padding: 10px 0 0 !important;
}

.page-products .dk-brand-line,
.page-products .dk-buy h1,
.page-products .dk-detail-price,
.page-products .dk-summary,
.page-products .dk-offers,
.page-products .dk-purchase-form,
.page-products .dk-trust {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.page-products .dk-brand-line {
  overflow: hidden !important;
}

.page-products .dk-detail-rating {
  margin: -7px 0 13px;
  color: #7f187f;
  font-size: 12px;
  letter-spacing: .04em;
}

.page-products .dk-detail-rating small {
  margin-left: 5px;
  color: #777;
  font-size: 11px;
  letter-spacing: 0;
}

.page-products .dk-purchase-form {
  clear: both !important;
}

.page-products .dk-purchase-form .prod-option {
  display: grid !important;
  grid-template-columns: 82px minmax(0, 1fr) !important;
  gap: 10px !important;
}

.page-products .dk-purchase-form .form-control,
.page-products .dk-purchase-form select {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.page-products .dk-shipping-box select {
  width: min(190px, 56%) !important;
}

.page-products .dk-cart-row {
  grid-template-columns: 100px minmax(0, 1fr) 46px !important;
}

.page-products .dk-detail-tabs,
.page-products .dk-related {
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
}

.page-products .dk-tab-panel.active {
  align-items: start !important;
}

.page-products .dk-info-panel {
  align-self: start !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding-bottom: 12px !important;
}

.page-products .dk-info-panel p:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

.page-products .dk-related {
  position: relative !important;
  left: 50% !important;
  width: 100vw !important;
  max-width: none !important;
  margin: 70px 0 0 -50vw !important;
  padding: 42px max(24px, calc((100vw - 1280px) / 2)) 50px !important;
  box-sizing: border-box !important;
  background: #f3f3f3 !important;
  overflow: hidden !important;
}

.page-products .dk-related > .dk-title,
.page-products .dk-related > .dk-products {
  width: 100% !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

.page-products .dk-related > .dk-products {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  grid-auto-flow: row !important;
  grid-auto-columns: auto !important;
  gap: 14px !important;
  overflow: visible !important;
  padding-bottom: 0 !important;
}

.page-products .dk-related .dk-card {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 385px !important;
}

.page-products .dk-related .dk-card-img {
  width: 100% !important;
  height: 200px !important;
}

.page-products .dk-footer {
  margin-top: 0 !important;
}

@media (max-width: 900px) {
  .page-products .dk-detail {
    width: min(720px, calc(100% - 32px)) !important;
  }

  .page-products .dk-product-main {
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: 30px !important;
  }

  .page-products .dk-gallery #mainImageWrapper {
    height: 480px !important;
  }

  .page-products .dk-tab-panel.active {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .page-products .dk-related {
    margin-top: 48px !important;
    padding: 34px 16px 42px !important;
  }

  .page-products .dk-related > .dk-products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 580px) {
  .page-products .dk-detail {
    width: calc(100% - 24px) !important;
    padding-top: 12px !important;
  }

  .page-products .dk-gallery #mainImageWrapper {
    height: 360px !important;
  }

  .page-products .dk-purchase-form .prod-option {
    grid-template-columns: 70px minmax(0, 1fr) !important;
  }

  .page-products .dk-cart-row {
    grid-template-columns: 76px minmax(0, 1fr) 42px !important;
  }

  .page-products .dk-trust {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 4px !important;
    min-height: 0 !important;
    margin: 12px 0 16px !important;
    padding: 9px 6px !important;
    border: 1px solid #ededed;
    border-radius: 5px;
    background: #fafafa;
    text-align: center !important;
  }
  .page-products .dk-trust span {
    min-width: 0;
    padding: 2px 4px;
    color: #858b94;
    font-size: 10px;
    line-height: 1.35;
    white-space: normal;
  }
  .page-products .dk-trust span + span {
    border-left: 1px solid #e5e5e5;
  }
  .page-products .dk-detail-tabs {
    margin-top: 0 !important;
  }

  .page-products .dk-related {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .page-products .dk-related > .dk-products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .page-products .dk-related .dk-card {
    min-height: 340px !important;
  }

  .page-products .dk-related .dk-card-img {
    height: 170px !important;
  }
}

/* Long product names: keep list cards stable without hiding detail titles. */
.product-col .prod-info,
.product-col .name,
.product-col .prod-info .name,
.product-col .prod-info a,
.product-col .prod-info a.name {
  min-width: 0 !important;
  max-width: 100% !important;
}
.product-col .prod-info {
  height: 48px !important;
  min-height: 48px !important;
  overflow: hidden !important;
}
.product-col .prod-info .name,
.product-col .prod-info a,
.product-col .prod-info a.name {
  display: -webkit-box !important;
  max-height: 34px !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  line-height: 17px !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-overflow: ellipsis;
}
.dk-card h3,
.dk-category-card h2 {
  display: -webkit-box !important;
  height: 40px !important;
  max-height: 40px !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-overflow: ellipsis;
}
.page-products .dk-buy h1,
#productGeneral #productName {
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 580px) {
  .product-col .prod-info {
    height: 44px !important;
    min-height: 44px !important;
    padding-top: 6px !important;
  }
  .product-col .prod-info .name,
  .product-col .prod-info a,
  .product-col .prod-info a.name {
    max-height: 30px !important;
    font-size: 11px !important;
    line-height: 15px !important;
  }
}

@media (min-width: 901px) and (max-width: 1120px) {
  .page-products .dk-related > .dk-products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
.dk-lang select {
  border: 0;
  background: transparent;
  color: #555;
  font: inherit;
  padding: 7px 22px 7px 6px;
  cursor: pointer;
  outline: none;
}
.dk-lang select:hover,
.dk-lang select:focus {
  color: var(--orange);
}
.dk-category-menu {
  position: relative;
  align-self: stretch;
}
.dk-category-menu > .dk-category {
  display: block;
}
.dk-category-dropdown {
  display: none;
  position: absolute;
  left: 0;
  top: 48px;
  width: 250px;
  z-index: 80;
  background: #f5af66;
  box-shadow: 0 12px 28px rgba(32, 39, 53, .18);
}
.dk-category-menu:hover .dk-category-dropdown,
.dk-category-menu:focus-within .dk-category-dropdown {
  display: block;
}
.dk-category-primary {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  max-height: 570px;
  overflow-y: auto;
}
.dk-category-primary > li {
  position: static;
}
.dk-category-primary > li > a {
  display: flex;
  justify-content: space-between;
  padding: 9px 14px;
  color: #fff !important;
  font-weight: 500;
}
.dk-category-primary > li:hover > a {
  background: #f9e093;
  color: #d96a00 !important;
}
.dk-category-secondary {
  display: none;
  position: absolute;
  left: 250px;
  top: 0;
  width: 290px;
  max-height: 570px;
  overflow-y: auto;
  padding: 8px 0;
  background: #f5af66;
  border-left: 1px solid rgba(255,255,255,.45);
  box-shadow: 12px 12px 28px rgba(32, 39, 53, .14);
}
.dk-category-primary > li:hover .dk-category-secondary,
.dk-category-primary > li:focus-within .dk-category-secondary {
  display: block;
}

/* Keep the second-level panel reachable while the pointer crosses the
   first-level list's vertical scrollbar. */
.dk-category-primary > li.is-open .dk-category-secondary {
  display: block;
}

.dk-category-secondary {
  left: 234px;
  z-index: 2;
}

.dk-all-categories {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 70px;
}
.dk-all-categories > header {
  padding: 38px 42px;
  margin: 18px 0 28px;
  background: #fff8ee;
  border-left: 5px solid #f07c00;
}
.dk-all-categories > header span {
  color: #f07c00;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
}
.dk-all-categories > header h1 {
  margin: 8px 0;
  font-size: 34px;
}
.dk-all-categories > header p { margin: 0; color: #667080; }
.dk-category-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.dk-category-directory section {
  padding: 23px;
  border: 1px solid #e5e5e5;
  background: #fff;
}
.dk-category-directory h2 {
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f07c00;
  font-size: 19px;
}
.dk-category-directory h2 a { color: #253754; text-decoration: none; }
.dk-category-directory section > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 15px;
}
.dk-category-directory section > div a {
  display: flex;
  justify-content: space-between;
  padding: 8px 3px;
  color: #4b5563;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}
.dk-category-directory a:hover { color: #f07c00; }
@media (max-width: 900px) {
  .dk-category-directory { grid-template-columns: 1fr; }
}
.dk-category-secondary a {
  display: block;
  padding: 9px 14px;
  color: #fff !important;
  font-weight: 500;
}
.dk-category-secondary a:hover {
  background: #f9e093;
  color: #d96a00 !important;
}
@media (max-width: 900px) {
  .dk-category-dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
  }
  .dk-category-secondary {
    position: static;
    width: 100%;
    max-height: none;
    padding-left: 15px;
    box-shadow: none;
  }
}

/* Home product shelves: keep every card inside the content width. */
.dk-home .dk-section {
  width: min(1280px, calc(100% - 32px));
}
.dk-home .dk-products {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  grid-auto-flow: row !important;
  grid-auto-columns: auto !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  padding-bottom: 0 !important;
  scroll-snap-type: none !important;
}
.dk-home .dk-products .dk-card {
  width: 100% !important;
  min-width: 0 !important;
  scroll-snap-align: none !important;
}
.dk-home .dk-products .dk-card:nth-child(n + 7) {
  display: none !important;
}

@media (max-width: 1100px) {
  .dk-home .dk-products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 760px) {
  .dk-home .dk-products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}
@media (max-width: 580px) {
  .dk-home .dk-products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Clear and functional mobile categories/navigation menu. */
.dk-mobile-lang {
  display: none;
}
@media (max-width: 900px) {
  .dk-mobile-lang {
    display: block;
    flex: 0 0 auto;
    margin-left: auto;
  }
  .dk-mobile-lang select {
    width: 74px;
    height: 42px;
    padding: 0 8px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    color: #24508d;
    font-size: 12px;
    font-weight: 700;
  }
  .dk-menu-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 112px;
    height: 42px;
    margin-left: 0;
    padding: 0 13px;
    border: 2px solid #f07c00 !important;
    border-radius: 4px;
    background: #f07c00 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
  }
  .dk-menu-icon {
    font-size: 21px;
    line-height: 1;
  }
  .dk-menu-label {
    display: inline-block;
    white-space: nowrap;
  }
  .menu-open .dk-menu-btn {
    background: #fff !important;
    color: #f07c00 !important;
  }
  .menu-open .dk-nav-wrap {
    display: block !important;
    position: absolute;
    z-index: 100;
    top: 100%;
    left: 0;
    right: 0;
    border-top: 1px solid #eee;
    background: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
  }
  .menu-open .dk-nav {
    position: static !important;
    display: flex !important;
    width: 100%;
    padding: 12px !important;
    gap: 0 !important;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
  }
  .menu-open .dk-nav > a,
  .menu-open .dk-nav > .dk-lang {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 13px 10px;
    border-bottom: 1px solid #eee;
    color: #333;
    font-size: 14px;
  }
  .menu-open .dk-category-menu {
    display: block;
    width: 100%;
    margin-bottom: 4px;
  }
  .menu-open .dk-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 46px;
    padding: 0 15px;
    line-height: 46px;
    background: #f07c00;
    color: #fff !important;
  }
  .menu-open .dk-category-dropdown {
    display: none !important;
  }
  .menu-open.category-open .dk-category-dropdown {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-height: 62vh;
    overflow-y: auto;
    background: #f5af66;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
  }
  .menu-open.category-open .dk-category-primary {
    max-height: none;
    overflow: visible;
    padding: 4px 0 10px;
  }
  .menu-open.category-open .dk-category-primary > li {
    border-bottom: 1px solid rgba(255,255,255,.35);
  }
  .menu-open.category-open .dk-category-primary > li > a {
    padding: 11px 15px;
    font-weight: 700;
  }
  .menu-open.category-open .dk-category-secondary {
    display: grid !important;
    position: static !important;
    width: 100% !important;
    max-height: none !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 8px 9px 22px;
    overflow: visible;
    border: 0;
    background: #f9c98f;
    box-shadow: none;
  }
  .menu-open.category-open .dk-category-secondary a {
    padding: 9px 8px;
    border-bottom: 1px solid rgba(255,255,255,.55);
    color: #6b3a0a !important;
    font-size: 13px;
  }
  .dk-category-toggle-arrow {
    margin-left: auto;
    font-size: 18px;
    transition: transform .2s ease;
  }
  .category-open .dk-category-toggle-arrow {
    transform: rotate(180deg);
  }
  .menu-open .dk-lang select {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #ddd;
    background: #fff;
  }
  .menu-open .dk-lang {
    display: none !important;
  }
}

/* Mobile homepage spacing and the 2 x 2 service-benefit block. */
@media (max-width: 900px) {
  .page-index #content,
  .page-index #content > .container,
  .page-index #content > .container > .row,
  .page-index .dk-home {
    min-height: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  .page-index .dk-section:last-child {
    margin-bottom: 0 !important;
  }
  .page-index .dk-footer {
    margin-top: 0 !important;
  }
  .page-index .dk-benefits {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 10px;
    padding: 14px !important;
    overflow: hidden;
    border: 0 !important;
    background: #fff8ee;
  }
  .page-index .dk-benefits > div {
    min-width: 0;
    min-height: 116px;
    padding: 16px 12px !important;
    justify-content: flex-start !important;
    align-items: center;
    gap: 10px;
    border: 1px solid #f0e3d2 !important;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(70, 48, 20, .06);
  }
  .page-index .dk-benefits b {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff2df;
    color: #f07c00;
    font-size: 21px;
  }
  .page-index .dk-benefits span {
    min-width: 0;
  }
  .page-index .dk-benefits strong {
    color: #30343b;
    font-size: 13px;
    line-height: 1.4;
  }
  .page-index .dk-benefits small {
    color: #858b94;
    font-size: 10px;
    line-height: 1.45;
  }
  .page-index .dk-benefits strong,
  .page-index .dk-benefits small {
    overflow-wrap: anywhere;
  }
}

/* Comfortable mobile footer spacing. */
@media (max-width: 900px) {
  .dk-footer .dk-footer-grid {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 30px 24px !important;
    padding: 42px 22px 36px !important;
  }
  .dk-footer .dk-footer-grid > div {
    min-width: 0;
  }
  .dk-footer .dk-footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
  .dk-footer .dk-footer-grid > div:last-child {
    grid-column: 1 / -1;
  }
  .dk-footer .dk-logo--footer {
    margin: 0 0 16px !important;
  }
  .dk-footer .dk-footer-grid h3 {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.45;
  }
  .dk-footer .dk-footer-grid a,
  .dk-footer .dk-footer-grid p {
    margin: 0;
    font-size: 12px;
    line-height: 1.9;
    overflow-wrap: anywhere;
  }
  .dk-footer .dk-footer-grid > div:first-child p {
    max-width: 560px;
    line-height: 1.75;
  }
  .dk-footer .dk-copyright {
    padding: 20px 22px 78px !important;
    font-size: 10px;
    line-height: 1.6;
  }
}

/* Desktop product reassurance bar and tighter transition to details. */
@media (min-width: 901px) {
  .page-products .dk-trust {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 16px 0 0 !important;
    padding: 0 !important;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    background: #fafafa;
    color: #777 !important;
    overflow: hidden;
  }
  .page-products .dk-trust span {
    min-width: 0;
    padding: 12px 14px;
    text-align: center;
    font-size: 11px;
    line-height: 1.4;
    white-space: nowrap;
  }
  .page-products .dk-trust span + span {
    border-left: 1px solid #e5e5e5;
  }
  .page-products .dk-detail-tabs {
    margin-top: 28px !important;
  }
}

/* Mobile product options and quantity control. */
@media (max-width: 580px) {
  .page-products .dk-purchase-form #attribsOptionsText {
    min-width: 0 !important;
    margin: -2px 0 10px !important;
    padding: 9px 11px;
    border-left: 3px solid #f07c00;
    background: #fff8ee;
    color: #4a4f57 !important;
    font-size: 12px !important;
    line-height: 1.35;
  }
  .page-products .dk-purchase-form .prod-option {
    grid-template-columns: 92px minmax(0, 1fr) !important;
    align-items: center;
    gap: 8px !important;
    margin: 8px 0 !important;
  }
  .page-products .dk-purchase-form .prod-option label {
    min-width: 0 !important;
    margin: 0;
    color: #555;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
  .page-products .dk-purchase-form .prod-option select {
    height: 40px !important;
    padding: 0 30px 0 10px;
    border: 1px solid #d6d6d6;
    border-radius: 4px;
    background-color: #fff;
    color: #444;
    font-size: 12px;
  }
  .page-products .dk-cart-row {
    grid-template-columns: 86px minmax(0, 1fr) 42px !important;
    gap: 7px !important;
  }
  .page-products .dk-cart-row label {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 28px;
    align-items: center;
    min-width: 0;
    height: 42px;
    padding: 0 5px 0 7px !important;
    border: 1px solid #d7d7d7;
    border-radius: 3px;
    background: #fff;
    color: #555;
    font-size: 9px !important;
    font-weight: 700;
    line-height: 1.1;
  }
  .page-products .dk-cart-row input {
    width: 28px !important;
    min-width: 0;
    height: 30px;
    padding: 0;
    color: #333;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
  }
  .page-products .dk-cart-row button[type="submit"] {
    min-width: 0;
    padding: 0 5px;
    font-size: 14px;
    white-space: nowrap;
  }
}

/* Final category-page isolation: must remain after legacy overrides. */
.page-category,.page-category #content{background:#fff!important;color:#292429!important}
.page-category #content>.container{width:100%!important;max-width:none!important;min-height:0!important;margin:0!important;padding:0!important;background:#fff!important;color:#292429!important;box-shadow:none!important}
.page-category .wf-cat{position:relative!important;left:50vw!important;transform:translateX(-50%)!important;width:min(1440px,calc(100vw - 48px))!important;max-width:1440px!important;margin:0 0 70px!important;background:#fff!important;color:#292429!important}
.page-category .wf-cat-heading,.page-category .wf-cat-shortcuts,.page-category .wf-cat-toolbar,.page-category .wf-cat-layout,.page-category .wf-cat-results,.page-category .wf-cat-grid,.page-category .wf-cat-filters{background:#fff!important;color:#292429!important;box-shadow:none!important}
@media(max-width:800px){.page-category .wf-cat{width:calc(100vw - 28px)!important}}
@media(max-width:580px){.page-category .wf-cat{width:calc(100vw - 20px)!important}}
.wf-brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.wf-brand img {
  display: block;
  width: 154px;
  height: auto;
}
@media(max-width: 580px) {
  .wf-brand img {
    width: 125px;
  }
}
.dk-checkout-steps b.done::after {
  content: "" !important;
  position: absolute;
  top: 6px;
  left: 11px;
  width: 7px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  box-sizing: border-box;
}
.page-checkout .dk-checkout-shell .main-checkout__btns::after {
  content: "\1F512  Secure checkout protected with SSL" !important;
}
.main-cart__qty-form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.main-cart__qty-form input[type="number"] {
  width: 58px;
  height: 36px;
  padding: 0 5px;
  border: 1px solid #cfcbd0;
  border-radius: 3px;
  text-align: center;
}
.main-cart__qty-form button {
  height: 36px;
  padding: 0 11px;
  border: 1px solid #7f187f;
  border-radius: 3px;
  background: #fff;
  color: #7f187f;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.main-cart__qty-form button:hover {
  background: #7f187f;
  color: #fff;
}

/* Cart and checkout: keep the purchase flow visually consistent with Wayfair. */
.page-cart,
.page-checkout {
  background: #f7f5f7 !important;
}
.page-cart #content,
.page-checkout #content {
  padding: 42px 24px 70px !important;
  background: #f7f5f7 !important;
}
.page-cart #content > .container,
.page-checkout #content > .container {
  width: min(1400px, 100%) !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.page-cart .main-bar {
  width: 100% !important;
  padding: 0 !important;
}
.page-cart .main-page__cart > h1 {
  margin: 0 0 24px !important;
  color: #302c30 !important;
  font-size: 30px !important;
  font-weight: 700 !important;
  text-align: left !important;
  text-transform: none !important;
}
.page-cart .main-page__cart > h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
  background: #7f187f;
}
.page-cart .main-cart {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px !important;
  gap: 24px !important;
  align-items: start !important;
  padding: 0 !important;
  background: transparent !important;
}
.page-cart .main-cart__left {
  display: block !important;
  min-width: 0;
}
.page-cart .main-cart__table {
  display: table !important;
  width: 100% !important;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid #e1dce2 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(47, 28, 48, .05);
}
.page-cart .main-cart__table thead { display: table-header-group !important; }
.page-cart .main-cart__table tbody { display: table-row-group !important; }
.page-cart .main-cart__table tr { display: table-row !important; }
.page-cart .main-cart__table th,
.page-cart .main-cart__table td { display: table-cell !important; }
.page-cart .main-cart__table th {
  padding: 14px 12px !important;
  border: 0 !important;
  border-bottom: 1px solid #e6e1e7 !important;
  background: #f8f5f8 !important;
  color: #4b414b !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .05em;
}
.page-cart .main-cart__table td {
  padding: 18px 12px !important;
  border: 0 !important;
  border-bottom: 1px solid #ece8ed !important;
  color: #3e363e !important;
  vertical-align: middle !important;
}
.page-cart .main-cart__table tbody tr:last-child td { border-bottom: 0 !important; }
.page-cart .main-cart__table img {
  width: 82px !important;
  max-width: 82px !important;
  max-height: 82px !important;
  object-fit: contain;
  border-radius: 5px;
}
.page-cart .main-cart__instructions {
  float: none !important;
  width: 100% !important;
  min-height: 0 !important;
  margin-top: 20px;
  padding: 20px !important;
  border: 1px solid #e1dce2 !important;
  border-radius: 10px;
  background: #fff;
}
.page-cart .main-cart__instructions h5,
.page-cart .main-cart__right h5 {
  margin: 0 0 14px !important;
  color: #332d33 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}
.page-cart .main-cart__instructions textarea {
  width: 100% !important;
  height: 92px !important;
  padding: 12px !important;
  border: 1px solid #d8d2d9 !important;
  border-radius: 5px;
  background: #fdfcfd;
}
.page-cart .main-cart__instructions textarea:focus,
.page-cart .main-cart__qty-form input:focus {
  border-color: #7f187f !important;
  box-shadow: 0 0 0 3px rgba(127, 24, 127, .1);
  outline: 0;
}
.page-cart .main-cart__right {
  grid-column: 2 !important;
  position: sticky;
  top: 20px;
  float: none !important;
  width: auto !important;
  min-height: 0 !important;
  padding: 24px !important;
  border: 1px solid #e1dce2 !important;
  border-radius: 10px;
  background: #fff !important;
  box-shadow: 0 4px 18px rgba(47, 28, 48, .06);
  text-align: left !important;
}
.page-cart .main-cart__right h5 {
  padding-bottom: 15px;
  border-bottom: 1px solid #ece8ed;
  color: #7f187f !important;
  text-transform: none;
}
.page-cart .main-cart__right ul {
  max-width: none !important;
  margin: 0 !important;
}
.page-cart .main-cart__right li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 7px 0;
  color: #4b434b;
}
.page-cart .main-cart__right .label { color: #4b434b !important; }
.page-cart .main-cart_btns { margin-top: 18px; text-align: left !important; }
.page-cart .main-cart_btn {
  width: 100% !important;
  height: 50px !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: #7f187f !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .02em;
}
.page-cart .main-cart_btn:hover { background: #641264 !important; }

/* Checkout uses the same purple brand system as the rest of the storefront. */
.page-checkout #content > .container { max-width: 1240px !important; }
.page-checkout .dk-checkout-shell .main-checkout__left,
.page-checkout .dk-checkout-shell .main-checkout__order,
.page-checkout .dk-checkout-shell .main-checkout__method {
  border-color: #e1dce2 !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 18px rgba(47, 28, 48, .05) !important;
}
.page-checkout .dk-checkout-title > span,
.page-checkout .dk-checkout-steps b.active span { color: #7f187f !important; }
.page-checkout .dk-checkout-title h1 { color: #302c30 !important; }
.page-checkout .dk-checkout-steps b.done,
.page-checkout .dk-checkout-steps b.active { background: #7f187f !important; }
.page-checkout .dk-checkout-shell h4 span { color: #332d33 !important; }
.page-checkout .dk-checkout-shell .form-control:focus {
  border-color: #7f187f !important;
  box-shadow: 0 0 0 3px rgba(127, 24, 127, .1) !important;
}
.page-checkout .dk-checkout-shell #ship-box,
.page-checkout .dk-checkout-shell input[type="radio"] { accent-color: #7f187f !important; }
.page-checkout .dk-checkout-shell .main-checkout__order .total3 td { color: #7f187f !important; }
.page-checkout .dk-checkout-shell .main-checkout__btn {
  background: #7f187f !important;
  border-radius: 4px !important;
  box-shadow: none !important;
}
.page-checkout .dk-checkout-shell .main-checkout__btn:hover { background: #641264 !important; }

/* Old theme made this service strip black on purchase pages. */
.page-cart .wf-help-row,
.page-checkout .wf-help-row {
  margin-top: 0 !important;
  border-color: #e2dde3 !important;
  background: #fff !important;
  color: #332d33 !important;
}
.page-cart .wf-help-row > div,
.page-checkout .wf-help-row > div {
  border-color: #e2dde3 !important;
  background: #fff !important;
}
.page-cart .wf-help-row strong,
.page-checkout .wf-help-row strong { color: #332d33 !important; }
.page-cart .wf-help-row a,
.page-checkout .wf-help-row a { color: #7f187f !important; }
.page-cart .wf-footer,
.page-checkout .wf-footer { background: #f5f3f5 !important; color: #332d33 !important; }

@media (max-width: 900px) {
  .page-cart .main-cart { grid-template-columns: 1fr !important; }
  .page-cart .main-cart__right { grid-column: 1 !important; position: static; }
  .page-checkout #content { padding-top: 28px !important; }
}
@media (max-width: 620px) {
  .page-cart #content,
  .page-checkout #content { padding: 24px 12px 46px !important; }
  .page-cart .main-page__cart > h1 { font-size: 25px !important; }
  .page-cart .main-cart__table,
  .page-cart .main-cart__table tbody { display: block !important; }
  .page-cart .main-cart__table thead { display: none !important; }
  .page-cart .main-cart__table tr {
    display: grid !important;
    grid-template-columns: 82px minmax(0, 1fr) !important;
    position: relative;
    padding: 14px !important;
    border-bottom: 1px solid #ece8ed;
  }
  .page-cart .main-cart__table tr:last-child { border-bottom: 0; }
  .page-cart .main-cart__table td {
    display: block !important;
    padding: 4px 8px !important;
    border: 0 !important;
  }
  .page-cart .main-cart__table td:first-child { grid-row: 1 / span 3; padding-left: 0 !important; }
  .page-cart .main-cart__table td:nth-child(n+3) { grid-column: 2; }
  .page-cart .main-cart__right,
  .page-cart .main-cart__instructions { padding: 18px !important; }
}

/* Footer information pages: shared Wayfair help-centre layout. */
.page-pages,
.page-pages #content { background: #f7f5f7 !important; }
.page-pages #content { padding: 46px 24px 72px !important; }
.page-pages #content > .container {
  width: min(1240px, 100%) !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.page-pages .main-bar { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.wf-info-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.wf-info-nav,
.page-pages .wf-info-content {
  border: 1px solid #e2dde3 !important;
  border-radius: 10px;
  background: #fff !important;
  box-shadow: 0 4px 18px rgba(47, 28, 48, .05) !important;
}
.wf-info-nav {
  position: sticky;
  top: 20px;
  padding: 22px 20px 24px;
}
.wf-info-nav .wf-info-home {
  display: block;
  margin-bottom: 22px;
  color: #7f187f;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.wf-info-nav h2 {
  margin: 22px 0 8px;
  color: #332d33;
  font-size: 14px;
  font-weight: 700;
}
.wf-info-nav h2:first-of-type { margin-top: 0; }
.wf-info-nav nav { display: grid; gap: 3px; }
.wf-info-nav nav a {
  display: block;
  padding: 9px 11px;
  border-radius: 4px;
  color: #625a62;
  font-size: 12px;
  line-height: 1.35;
  text-decoration: none;
}
.wf-info-nav nav a:hover { background: #f8f2f8; color: #7f187f; }
.wf-info-nav nav a.active {
  background: #f3e7f3;
  color: #7f187f;
  font-weight: 700;
}
.page-pages .wf-info-content {
  min-width: 0;
  padding: 0 54px 54px !important;
}
.page-pages .policy-page {
  color: #554e55 !important;
  font-size: 14px !important;
  line-height: 1.85 !important;
}
.page-pages .policy-hero {
  margin: 0 -54px 38px !important;
  padding: 48px 54px 40px !important;
  border-bottom: 1px solid #eadfea !important;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(135deg, #fbf7fb 0%, #f1e5f2 100%) !important;
  text-align: left !important;
}
.page-pages .policy-hero span {
  color: #7f187f !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .15em !important;
}
.page-pages .policy-hero h1 {
  margin: 7px 0 9px !important;
  color: #302b30 !important;
  font-size: 34px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}
.page-pages .policy-hero p { max-width: 680px; color: #716971 !important; font-size: 14px; }
.page-pages .policy-page h2 {
  margin: 34px 0 12px !important;
  padding-left: 14px !important;
  border-left: 3px solid #7f187f !important;
  color: #373137 !important;
  font-size: 19px !important;
}
.page-pages .policy-page h3 { color: #403940; }
.page-pages .policy-page a { color: #7f187f !important; font-weight: 600; }
.page-pages .policy-page ul {
  border-radius: 6px;
  background: #faf8fa !important;
}
.page-pages .contact-card,
.page-pages .about-values div {
  border-color: #e6e0e6 !important;
  border-radius: 7px;
  background: #faf8fa !important;
}
.page-pages .contact-email,
.page-pages .about-values b { color: #7f187f !important; }
.page-pages .policy-notice {
  border-left-color: #7f187f !important;
  border-radius: 0 6px 6px 0;
  background: #f8f1f8 !important;
}

@media (max-width: 820px) {
  .page-pages #content { padding-top: 28px !important; }
  .wf-info-layout { grid-template-columns: 1fr; }
  .wf-info-nav { position: static; }
  .wf-info-nav nav { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 580px) {
  .page-pages #content { padding: 18px 12px 46px !important; }
  .wf-info-nav { padding: 18px 14px; }
  .wf-info-nav nav { grid-template-columns: 1fr 1fr; }
  .page-pages .wf-info-content { padding: 0 20px 35px !important; }
  .page-pages .policy-hero {
    margin: 0 -20px 30px !important;
    padding: 34px 20px 30px !important;
  }
  .page-pages .policy-hero h1 { font-size: 27px !important; }
}

/* Category pagination: the current page is a span inside the active li. */
.page-category .dk-pagination {
  display: flex;
  justify-content: center;
  margin: 38px 0 22px;
}
.page-category .dk-pagination a,
.page-category .dk-pagination li.active > span {
  min-width: 38px;
  height: 38px;
  border-radius: 4px;
  font-weight: 600;
}
.page-category .dk-pagination li.active > span {
  border-color: #7f187f !important;
  background: #7f187f !important;
  color: #fff !important;
  box-shadow: 0 3px 9px rgba(127, 24, 127, .2);
}
.page-category .dk-pagination a:hover {
  border-color: #7f187f !important;
  background: #f4e9f4 !important;
  color: #7f187f !important;
}

/* Product purchase information: remove the old orange marketplace accents. */
.page-products .dk-offers b,
.page-products .dk-stock-row strong.in,
.page-products .dk-info-panel b,
.page-products .dk-guide-grid h3,
.page-products .dk-guide-notice b,
.page-products .dk-guide-notice a {
  color: #7f187f !important;
}
.page-products .dk-offers {
  border-color: #e7dfe7 !important;
  background: #faf7fa !important;
}
.page-products .dk-shipping-box {
  border-color: #e5dfe6 !important;
  background: #faf9fa !important;
}
.page-products .dk-shipping-box select:focus {
  border-color: #7f187f !important;
  box-shadow: 0 0 0 3px rgba(127, 24, 127, .1);
  outline: 0;
}
.page-products .dk-info-panel {
  border-color: #e5dfe6 !important;
  border-radius: 6px;
  background: #faf8fa !important;
}

/* Product details spacing and a usable quantity stepper. */
.page-products #panel-product-detail.dk-tab-panel.active {
  grid-template-columns: minmax(0, 1fr) 330px !important;
  gap: 38px !important;
  padding: 30px 34px 40px !important;
}
.page-products #panel-product-detail .dk-info-panel {
  align-self: start;
  margin: 0 !important;
  padding: 26px 24px !important;
}
.page-products .dk-cart-row {
  grid-template-columns: 156px minmax(180px, 1fr) 46px !important;
  align-items: stretch;
}
.page-products .dk-quantity-stepper {
  display: grid;
  grid-template-rows: auto 40px;
  min-width: 0;
  color: #4e474e;
  font-size: 10px;
  font-weight: 700;
}
.page-products .dk-quantity-stepper > span {
  margin-bottom: 5px;
  line-height: 1;
}
.page-products .dk-quantity-stepper > div {
  display: grid;
  grid-template-columns: 38px minmax(42px, 1fr) 38px;
  overflow: hidden;
  border: 1px solid #cfc8d0;
  border-radius: 4px;
  background: #fff;
}
.page-products .dk-quantity-stepper button,
.page-products .dk-quantity-stepper input {
  width: 100% !important;
  min-width: 0 !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: #fff !important;
  color: #332d33 !important;
  text-align: center;
}
.page-products .dk-quantity-stepper button {
  font-size: 20px;
  font-weight: 400;
  cursor: pointer;
}
.page-products .dk-quantity-stepper button:first-child { border-right: 1px solid #e1dce2 !important; }
.page-products .dk-quantity-stepper button:last-child { border-left: 1px solid #e1dce2 !important; }
.page-products .dk-quantity-stepper button:hover { background: #f3e7f3 !important; color: #7f187f !important; }
.page-products .dk-quantity-stepper input {
  appearance: textfield;
  font-size: 14px;
  font-weight: 700;
}
.page-products .dk-quantity-stepper input::-webkit-inner-spin-button,
.page-products .dk-quantity-stepper input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.page-products .dk-quantity-stepper:focus-within > div {
  border-color: #7f187f;
  box-shadow: 0 0 0 3px rgba(127, 24, 127, .1);
}
@media (max-width: 900px) {
  .page-products #panel-product-detail.dk-tab-panel.active { grid-template-columns: 1fr !important; padding: 25px 22px 34px !important; }
  .page-products #panel-product-detail .dk-info-panel { width: 100%; }
}
@media (max-width: 560px) {
  .page-products .dk-cart-row { grid-template-columns: 132px minmax(0, 1fr) 42px !important; gap: 7px !important; }
  .page-products .dk-quantity-stepper > div { grid-template-columns: 32px minmax(36px, 1fr) 32px; }
}

/* Homepage category shelf: always reads as a complete, balanced section. */
.page-index #featured-furniture {
  margin-top: 38px;
  margin-bottom: 46px;
}
.page-index #featured-furniture > h2 { margin-bottom: 26px; }
.page-index #featured-furniture .furn-category-grid-wide {
  gap: 34px 18px;
}
.page-index #featured-furniture .furn-category-grid-wide > a {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding-bottom: 4px;
}
.page-index #featured-furniture .furn-category-grid-wide > a:hover h3,
.page-index #featured-furniture .furn-category-grid-wide > a:hover span { color: #7f187f; }
.page-index #featured-furniture .furn-category-grid-wide > a:hover .furn-sprite,
.page-index #featured-furniture .furn-category-grid-wide > a:hover .furn-catalog-image {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(48, 35, 48, .12);
}
.page-index #featured-furniture .furn-sprite,
.page-index #featured-furniture .furn-catalog-image { transition: transform .2s ease, box-shadow .2s ease; }

/* Homepage product cards: reserve title space so prices never overlap names. */
.page-index .furn-product-grid article,
.page-index .furn-product-grid article > a { min-width: 0; }
.page-index .furn-product-grid article > a {
  display: flex !important;
  height: 100%;
  flex-direction: column;
}
.page-index .furn-product-grid h3 {
  position: relative;
  display: -webkit-box !important;
  min-height: 72px !important;
  height: 72px !important;
  max-height: 72px !important;
  margin: 8px 0 8px !important;
  overflow: hidden !important;
  font-size: 13px !important;
  line-height: 18px !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow-wrap: anywhere;
  contain: paint;
}
.page-index .furn-product-grid .furn-catalog-card-price,
.page-index .furn-product-grid .furn-price {
  position: static !important;
  display: flex !important;
  align-items: baseline;
  min-height: 25px;
  margin: 0 !important;
  padding-top: 2px;
  background: #fff;
  line-height: 1.2;
}
.page-index .furn-product-grid .furn-catalog-card-price { display: block !important; }
.page-index .furn-product-grid article > a > p { margin: 2px 0 0; }
@media (max-width: 580px) {
  .page-index .furn-product-grid h3 {
    min-height: 68px !important;
    height: 68px !important;
    max-height: 68px !important;
    font-size: 12px !important;
    line-height: 17px !important;
  }
}

/* Category product cards need room for a third title line and safe side insets. */
.page-category .wf-cat-grid article > a > .rating,
.page-category .wf-cat-grid article > a > h2,
.page-category .wf-cat-grid article > a > .price,
.page-category .wf-cat-grid article > a > p {
  margin-left: 6px !important;
  margin-right: 6px !important;
}
.page-category .wf-cat-grid h2 {
  display: -webkit-box !important;
  min-height: 59px !important;
  height: 59px !important;
  max-height: 59px !important;
  margin-top: 7px !important;
  margin-bottom: 8px !important;
  overflow: hidden !important;
  font-size: 13px !important;
  line-height: 18px !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow-wrap: anywhere;
  contain: paint;
}
.page-category .wf-cat-grid .price {
  position: static !important;
  min-height: 25px;
  background: #fff;
}
@media (max-width: 580px) {
  .page-category .wf-cat-grid h2 {
    min-height: 56px !important;
    height: 56px !important;
    max-height: 56px !important;
    font-size: 12px !important;
    line-height: 17px !important;
  }
}

/* Footer logo: visually remove the PNG's baked-in white rectangle while
   preserving the original Wayfair mark and lettering exactly. */
.wf-footer .wf-footer-brand .wf-brand img {
  display: inline-block;
  background: transparent !important;
  mix-blend-mode: multiply;
}

/* Search results: use the same clean purple retail system as category pages. */
.page-search #content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  background: #fff !important;
}
body.page-search #content > .container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  background: #fff !important;
  box-shadow: none !important;
}
body.page-search #content > .container > .row {
  width: 100% !important;
  margin: 0 !important;
}
.page-search .wf-search-page {
  position: relative;
  left: auto !important;
  float: none !important;
  box-sizing: border-box;
  width: min(1400px, calc(100% - 48px)) !important;
  max-width: 1400px;
  margin-right: auto !important;
  margin-left: auto !important;
  padding: 44px 0 72px;
  color: #302b30;
}
.page-search #productListHeading {
  height: auto !important;
  margin: 8px 0 6px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #302b30 !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  overflow: visible !important;
  text-align: center !important;
  text-transform: none !important;
}
.wf-search-heading { text-align: center; }
.wf-search-heading > span { color: #7f187f; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.wf-search-heading h1 { margin: 8px 0 6px; color: #302b30; font-size: 32px; line-height: 1.25; }
.wf-search-heading p { margin: 0; color: #7a727a; font-size: 12px; }
.wf-search-results-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  width: min(760px, 100%);
  height: 48px;
  margin: 26px auto 42px;
}
.wf-search-results-form input {
  min-width: 0;
  padding: 0 16px;
  border: 1px solid #7f187f;
  border-right: 0;
  border-radius: 3px 0 0 3px;
  background: #fff;
  color: #302b30;
  font-size: 14px;
  outline: 0;
}
.wf-search-results-form input:focus { box-shadow: inset 0 0 0 2px rgba(127,24,127,.12); }
.wf-search-results-form button { border: 0; border-radius: 0 3px 3px 0; background: #7f187f; color: #fff; font-weight: 700; cursor: pointer; }
.wf-search-results-form button:hover { background: #651365; }
.wf-search-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 18px; }
.wf-search-grid article { min-width: 0; }
.wf-search-grid article > a { display: flex; min-width: 0; height: 100%; flex-direction: column; color: #302b30; text-decoration: none; }
.wf-search-image { position: relative; height: 285px; overflow: hidden; background: #f6f4f6; }
.wf-search-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .2s ease; }
.wf-search-grid article:hover .wf-search-image img { transform: scale(1.025); }
.wf-search-image i { position: absolute; top: 10px; right: 10px; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #e5dfe5; border-radius: 50%; background: #fff; color: #7f187f; font-size: 22px; font-style: normal; }
.wf-search-rating { margin-top: 11px; color: #7f187f; font-size: 10px; letter-spacing: .03em; }
.wf-search-rating small { color: #777; letter-spacing: 0; }
.wf-search-grid h2 { display: -webkit-box; min-height: 59px; max-height: 59px; margin: 7px 0 8px; overflow: hidden; color: #302b30; font-size: 13px; font-weight: 400; line-height: 18px; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow-wrap: anywhere; }
.wf-search-price { min-height: 27px; color: #302b30; }
.wf-search-price del { margin-right: 7px; color: #8b838b; font-size: 11px; }
.wf-search-price span { color: #302b30; font-size: 19px; font-weight: 700; }
.wf-search-price em { margin-left: 6px; color: #a32332; font-size: 9px; font-style: normal; font-weight: 800; }
.wf-search-grid article > a > p { margin: 5px 0 0; color: #247043; font-size: 10px; }
.wf-search-empty { padding: 80px 20px; border-radius: 8px; background: #f8f5f8; text-align: center; }
.wf-search-empty strong { display: block; color: #302b30; font-size: 22px; }
.wf-search-empty p { color: #756d75; }
.wf-search-empty a { display: inline-block; margin-top: 10px; padding: 12px 22px; border-radius: 3px; background: #7f187f; color: #fff; text-decoration: none; font-weight: 700; }
@media (max-width: 980px) { .wf-search-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .page-search .wf-search-page { width: calc(100% - 24px) !important; padding-top: 30px; }
  .wf-search-heading h1 { font-size: 26px; }
  .page-search #productListHeading { font-size: 26px !important; }
  .wf-search-results-form { grid-template-columns: minmax(0, 1fr) 88px; margin-bottom: 30px; }
  .wf-search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .wf-search-image { height: 220px; }
}
