/* Homepage editorial sections and their motion. */
.trendora-home .tdr-home-body {
  --tdr-home-surface:#fcfaf7;
  --tdr-home-line:#ded6cd;
  --tdr-home-muted:#58504c;
  --tdr-home-accent:#841b35;
  --tdr-home-gap:clamp(10px,1.25vw,17px);
  --tdr-home-radius:14px;
  display:grid;
  gap:clamp(24px,3.5vw,49px);
  margin-block-start:clamp(23px,3.35vw,44px);
  color:var(--tdr-ink);
}
#main .tdr-home-body :is(.tdr-home-categories,.tdr-home-product-section,.tdr-showroom) {
  margin-block-start:0;
  min-width:0;
}
.tdr-home-body .tdr-section__heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:0 12px;
  margin-block-end:clamp(9px,1.15vw,16px);
}
#main .tdr-home-body .tdr-section__heading h2 {
  color:var(--tdr-ink);
  font-size:clamp(23px,2.8vw,39px);
  font-weight:760;
  letter-spacing:-.045em;
  line-height:1.1;
}
.tdr-home-body .tdr-section__heading a {
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:44px;
  color:var(--tdr-home-accent);
  font-size:clamp(13px,1.15vw,15px);
  text-align:start;
}
.tdr-home-body .tdr-section__heading a:hover { text-decoration:underline; }
.tdr-home-directory {
  display:grid;
  gap:var(--tdr-home-gap);
  min-width:0;
}
.tdr-home-directory .tdr-categories {
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-auto-rows:auto;
  gap:var(--tdr-home-gap);
}
.tdr-home-directory .tdr-category {
  min-width:0;
  color:var(--tdr-ink);
  background:var(--tdr-home-surface);
  border-color:var(--tdr-home-line);
  border-radius:var(--tdr-home-radius);
}
.tdr-home-directory .tdr-category:is(:hover,:focus-visible) {
  color:var(--tdr-home-accent);
  border-color:#ad7784;
}
.tdr-home-directory .tdr-category__photo {
  aspect-ratio:1.8;
  background:#ebe5dd;
}
.tdr-home-directory .tdr-category__photo img {
  display:block;
  object-position:center;
}
.tdr-home-directory .tdr-category__copy {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:7px;
  padding:clamp(9px,1.23vw,16px);
}
.tdr-home-directory .tdr-category__copy strong {
  min-block-size:0;
  font-size:clamp(14px,1.55vw,21px);
  line-height:1.19;
  overflow-wrap:anywhere;
}
.tdr-home-directory .tdr-category__copy small {
  min-block-size:0;
  margin-block-start:4px;
  color:var(--tdr-home-muted);
  font-size:clamp(12px,1.15vw,14px);
  line-height:1.33;
}
.tdr-home-directory .tdr-category__copy .tdr-category__arrow {
  display:grid;
  min-width:0;
  width:auto;
  height:auto;
  align-self:center;
  color:var(--tdr-home-accent);
  background:transparent;
  font-size:16px;
  line-height:1.2;
}
.tdr-home-directory__more {
  display:grid;
  grid-template-rows:auto 1fr;
  min-width:0;
  padding:clamp(10px,1.4vw,19px);
  border:1px solid var(--tdr-home-line);
  border-radius:var(--tdr-home-radius);
  background:var(--tdr-home-surface);
}
#main .tdr-home-directory__more h3 {
  margin:1px 0 9px;
  color:var(--tdr-ink);
  font-size:clamp(17px,1.55vw,22px);
  letter-spacing:-.022em;
  line-height:1.2;
}
.tdr-home-directory__links {
  display:grid;
  grid-auto-rows:1fr;
  min-width:0;
}
.tdr-home-directory__links .tdr-category {
  display:grid;
  grid-template-columns:minmax(0,clamp(56px,6vw,84px)) minmax(0,1fr);
  align-items:center;
  gap:10px;
  padding:8px 0;
  border:0;
  border-block-start:1px solid var(--tdr-home-line);
  border-radius:0;
  background:transparent;
}
.tdr-home-directory__links .tdr-category:focus-visible { outline-offset:1px; }
.tdr-home-directory__links .tdr-category__photo {
  aspect-ratio:1.36;
  border-radius:6px;
}
.tdr-home-directory__links .tdr-category__copy { padding:0; }
.tdr-home-directory__links .tdr-category__copy strong {
  font-size:clamp(14px,1.18vw,17px);
}
.tdr-home-directory__links .tdr-category:not(:has(> .tdr-category__photo)) .tdr-category__copy {
  grid-column:1 / -1;
}
@media (min-width:650px) {
  .tdr-home-directory .tdr-categories > .tdr-category:has(> .tdr-category__photo) {
    display:grid;
    grid-template-areas:"image";
    grid-template-rows:minmax(0,1fr);
    aspect-ratio:1.87;
    isolation:isolate;
    background:#251d21;
  }
  .tdr-home-directory .tdr-categories .tdr-category__photo {
    position:relative;
    grid-area:image;
    aspect-ratio:auto;
  }
  .tdr-home-directory .tdr-categories .tdr-category__photo::after {
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,transparent 25%,rgba(21,17,20,.68) 61%,rgba(21,17,20,.97) 100%);
    pointer-events:none;
    content:"";
  }
  .tdr-home-directory .tdr-categories .tdr-category__copy {
    position:relative;
    grid-area:image;
    z-index:1;
    align-self:end;
    padding:clamp(12px,1.5vw,21px);
    color:#fff7f2;
  }
  .tdr-home-directory .tdr-categories .tdr-category__copy small { color:#f0e8e1; }
  .tdr-home-directory .tdr-categories .tdr-category__copy .tdr-category__arrow {
    width:30px;
    height:30px;
    border:1px solid #f1e6dd80;
    border-radius:50%;
    color:#fff7f2;
    background:#21191e99;
  }
  .tdr-home-directory .tdr-categories .tdr-category:is(:hover,:focus-visible) .tdr-category__arrow {
    color:#2a2026;
    background:#fff7f2;
  }
  .tdr-home-directory .tdr-categories .tdr-category:not(:has(> .tdr-category__photo)) .tdr-category__copy {
    grid-area:auto;
    color:var(--tdr-ink);
  }
  .tdr-home-directory .tdr-categories .tdr-category:not(:has(> .tdr-category__photo)) .tdr-category__copy small {
    color:var(--tdr-home-muted);
  }
}
@media (min-width:650px) and (max-width:959px) {
  .tdr-home-directory__links {
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:16px;
  }
}
@media (min-width:960px) {
  .tdr-home-directory:has(> .tdr-home-directory__more) {
    grid-template-columns:minmax(0,2.15fr) minmax(0,1fr);
  }
}
@media (max-width:649px) {
  .tdr-home-directory .tdr-categories .tdr-category__copy {
    align-content:start;
    align-items:start;
  }
  .tdr-home-directory .tdr-categories .tdr-category__copy .tdr-category__arrow {
    align-self:start;
  }
}
@media (max-width:360px) {
  .tdr-home-directory .tdr-categories .tdr-category__copy {
    grid-template-columns:minmax(0,1fr);
  }
  .tdr-home-directory .tdr-categories .tdr-category__arrow { display:none; }
}

.tdr-home-body .tdr-home-products {
  display:grid;
  gap:clamp(22px,3vw,40px);
  min-width:0;
  padding:clamp(11px,2vw,26px);
  background:#ece7df;
  border:1px solid var(--tdr-home-line);
  border-radius:var(--tdr-home-radius);
}
#main .trendora-home .tdr-home-products ul.products {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:var(--tdr-home-gap);
  margin:0;
}
#main .trendora-home .tdr-home-products ul.products:has(> li.product:only-child) {
  grid-template-columns:minmax(0,min(100%,410px));
  justify-content:start;
}
#main .trendora-home .tdr-home-products ul.products:has(> li.product:nth-child(2):last-child) {
  grid-template-columns:repeat(2,minmax(0,min(100%,410px)));
}
#main .trendora-home .tdr-home-products ul.products > li.product {
  min-width:0;
  width:auto;
  margin:0;
  background:var(--tdr-home-surface);
  border-color:var(--tdr-home-line);
  border-radius:var(--tdr-home-radius);
  box-shadow:none;
}
#main .trendora-home .tdr-home-products ul.products > li.product > figure {
  aspect-ratio:1.72;
  /* Blocksy sets the gallery margin after the shared storefront stylesheet. */
  margin-block-end:5px!important;
  background:#ede9e2;
}
#main .trendora-home .tdr-home-products ul.products > li.product .woocommerce-loop-product__title {
  font-size:clamp(16px,1.4vw,19px);
  line-height:1.25;
  overflow-wrap:anywhere;
}
#main .trendora-home .tdr-home-products li.product .star-rating span::before {
  color:#88541f;
}
#main .trendora-home .tdr-home-products li.product .onsale {
  color:var(--tdr-home-accent);
  background:var(--tdr-home-surface);
  border:1px solid #e2d0d4;
  font-weight:700;
}
#main .trendora-home .tdr-home-products li.product .ct-woo-card-actions {
  margin-block-start:auto;
}


#main .tdr-home-body .tdr-home-visit {
  display:grid;
  border:1px solid var(--tdr-home-line);
  border-radius:var(--tdr-home-radius);
  background:#f8f4ee;
}
#main .tdr-home-body .tdr-showroom--visit {
  grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);
  gap:clamp(15px,3.5vw,54px);
  padding:clamp(18px,3.6vw,47px);
  color:#fbf5ef;
  border:0;
  border-radius:var(--tdr-home-radius) var(--tdr-home-radius) 0 0;
  background:#292127;
}
#main .tdr-home-body .tdr-showroom--visit h2 {
  color:#fbf5ef;
  font-size:clamp(25px,3.2vw,44px);
  font-weight:750;
  letter-spacing:-.042em;
  line-height:1.1;
}
#main .tdr-home-body .tdr-showroom--visit .tdr-section__eyebrow { color:#ecc5cf; }
#main .tdr-home-body .tdr-showroom__intro > p:not(.tdr-section__eyebrow),
#main .tdr-home-body .tdr-showroom__address address,
#main .tdr-home-body .tdr-showroom__details p { color:#e5d8dc; }
#main .tdr-home-body .tdr-showroom__visit {
  padding:3px 0;
  padding-inline-start:clamp(16px,3.3vw,42px);
  background:transparent;
  border:0;
  border-inline-start:1px solid #695862;
  border-radius:0;
}
#main .tdr-home-body .tdr-showroom__pin { color:#f5d6de; background:#4c3643; }
#main .tdr-home-body .tdr-showroom__address h3 { color:#fbf5ef; }
#main .tdr-home-body .tdr-showroom__details { border-color:#695862; }
#main .tdr-home-body .tdr-showroom__details summary { color:#f3d0da; }
#main .tdr-home-body .tdr-showroom__details summary:focus-visible { outline-color:#eed0da; }
#main .tdr-home-body .tdr-showroom__actions .tdr-showroom__call {
  color:#fbf5ef;
  border-color:#a7909d;
  background:transparent;
}
#main .tdr-home-body .tdr-showroom__actions .tdr-showroom__call:hover { background:#493842; }
.tdr-home-body .tdr-service {
  margin:0;
  border:0;
  border-radius:0 0 var(--tdr-home-radius) var(--tdr-home-radius);
  background:transparent;
}
.tdr-home-body .tdr-service a {
  min-height:66px;
  padding:10px clamp(13px,2.35vw,30px);
}
.tdr-home-body .tdr-service a + a { border-color:var(--tdr-home-line); }
.tdr-home-body .tdr-service a:hover { background:#efeae2; }
.tdr-home-body .tdr-service a:focus-visible { outline-offset:-3px; }
.tdr-home-body .tdr-service strong { color:var(--tdr-ink); }
.tdr-home-body .tdr-service small { color:var(--tdr-home-muted); }
@media (max-width:710px) {
  #main .tdr-home-body .tdr-showroom--visit { grid-template-columns:minmax(0,1fr); }
  #main .tdr-home-body .tdr-showroom__visit {
    padding:14px 0 0;
    border:0;
    border-block-start:1px solid #695862;
  }
  .tdr-home-body .tdr-service a { min-height:53px; }
}
@media (max-width:649px) {
  #main .trendora-home .tdr-home-products ul.products:has(> li.product) {
    grid-template-columns:minmax(0,1fr);
  }
}
@media (max-width:649px), (min-width:1150px) {
  #main .trendora-home .tdr-home-products ul.products > li.product {
    position:relative;
    display:flex;
    flex-direction:column;
    min-block-size:157px;
    padding:9px;
    padding-inline-start:calc(36% + 16px);
  }
  #main .trendora-home .tdr-home-products ul.products > li.product > :not(figure) {
    width:100%;
    min-width:0;
    margin:0 0 4px;
    padding-inline:0;
  }
  #main .trendora-home .tdr-home-products ul.products > li.product > figure {
    position:absolute;
    inset-block:9px;
    inset-inline-start:9px;
    min-height:0;
    height:auto;
    width:calc(36% - 4px);
    aspect-ratio:auto;
    margin:0;
    margin-block-end:0!important;
    border-radius:7px;
    overflow:hidden;
  }
  #main .trendora-home .tdr-home-products ul.products > li.product > figure .ct-media-container {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
  }
  #main .trendora-home .tdr-home-products ul.products > li.product > figure img {
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
  }
  #main .trendora-home .tdr-home-products ul.products > li.product > figure .onsale {
    inset:auto auto 5px 5px;
    max-width:calc(100% - 10px);
    margin:0;
    padding:4px 5px;
    font-size:9px;
    letter-spacing:.035em;
  }
  #main .trendora-home .tdr-home-products li.product .price .sale-price { column-gap:6px; }
  #main .trendora-home .tdr-home-products li.product .price { font-size:clamp(15px,3.8vw,18px); }
  #main .trendora-home .tdr-home-products ul.products > li.product > .ct-woo-card-actions {
    justify-content:flex-start;
    margin-block:auto 0;
    padding-block-start:5px;
  }
}
@media (min-width:1150px) {
  #main .trendora-home .tdr-home-products ul.products:has(> li.product:nth-child(4)) {
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}

@media (prefers-reduced-motion:no-preference) {
  .tdr-home-body .tdr-home-entered:not(:focus-within) {
    animation:tdr-home-rise 440ms cubic-bezier(.22,.72,.27,1) backwards;
  }
  .tdr-home-body :is(.tdr-category,li.product).tdr-home-entered:nth-child(even):not(:focus-within) {
    animation-delay:55ms;
  }
  @keyframes tdr-home-rise {
    from { opacity:.72; transform:translateY(16px); }
    to { opacity:1; transform:translateY(0); }
  }
}
