/* 
 Theme Name:   Astra child
 Theme URI:    
 Description:  
 Author:       Taller Y Materia
 Author URI:   
 Template:     astra
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/

#colophon :is(#text-2, #text-3) a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}

/* Hide inactive social icons after Astra applies its inline-flex utility. */
#colophon [data-section="section-fb-social-icons-1"] a:is(:not([href]), [href=""], [href="#"]) {
  display: none !important;
}

#colophon [data-section="section-fb-social-icons-1"]:not(:has(a[href]:not([href=""], [href="#"]))) {
  display: none !important;
}

/* Compact thumbnails. Keep WooCommerce's slide, zoom and lightbox behavior. */
body.single-product.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(44px, 62px));
  gap: 8px;
  justify-content: start;
  align-items: start;
  margin: 10px 0 0;
  padding: 2px;
}

body.single-product.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}

body.single-product.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img {
  display: block;
  width: 100%;
  min-height: 44px;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--tym-woo-line, #c3b4a6);
  background-color: var(--tym-woo-card, #eee7dc);
  opacity: .8;
}

body.single-product.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img:is(.flex-active, :hover) {
  border-color: var(--tym-woo-accent, #4c2c24);
  opacity: 1;
}

body.single-product.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs :focus-visible {
  outline: 2px solid var(--tym-woo-accent, #4c2c24);
  outline-offset: 2px;
}

@media (max-width: 544px) {
  body.single-product.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs {
    grid-template-columns: repeat(auto-fit, minmax(44px, 52px));
    gap: 6px;
  }
}
.tym-catalog-mobile-contact {
  display: none;
}

@media (max-width: 544px) {
  @supports selector(body:has(.tym-catalog-mobile-contact)) {
    body:has(.tym-catalog-mobile-contact) #ht-ctc-chat {
      display: none !important;
    }

    .tym-catalog-mobile-contact {
      display: block;
      margin: 0 0 0.75rem;
    }

    .tym-catalog-mobile-contact a {
      display: inline-flex;
      min-height: 44px;
      align-items: center;
      text-decoration: underline;
    }
  }
}

/* Keep the gallery controls legible where the Astra palette is applied. */
body.single-product.woocommerce .flex-control-thumbs img.flex-active {
  box-shadow: inset 0 0 0 1px currentColor;
}


/* Preserve Spanish title casing across the catalogue and product pages. */
body.woocommerce main .product_title.entry-title,
body.woocommerce main .woocommerce-loop-product__title {
  text-transform: none;
}


/* Give the mobile quote controls room to display the full selected value. */
@media (max-width: 544px) {
  body.single-product #tym-catalog-quote .tym-quote-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  body.single-product #tym-catalog-quote .tym-quote-select {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    font-size: 16px;
  }

  body.single-product #tym-catalog-quote .tym-quote-actions > :is(a, button) {
    min-height: 44px;
    max-width: 100%;
  }
}


/* Hospitality portfolio, using original photographs from the workshop and its projects. */
.tym-portfolio {
  --portfolio-ink: #302821;
  --portfolio-muted: #65584e;
  --portfolio-rule: #c6b9ab;
  color: var(--portfolio-ink);
  max-width: 78rem;
  margin-inline: auto;
  padding-block: clamp(2rem, 6vw, 5.5rem);
}
.tym-portfolio :is(h1, h2, h3, p, figure) {
  margin: 0;
}
.tym-portfolio :is(h1, h2, h3) {
  color: inherit;
  line-height: 1.08;
}
.tym-portfolio .tym-portfolio-kicker {
  color: var(--portfolio-muted);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tym-portfolio-hero {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
}
.tym-portfolio-hero h1 {
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  margin-block: .5rem 1rem;
  overflow-wrap: anywhere;
}
.tym-portfolio-hero p + p {
  margin-block-start: .85rem;
}
.tym-portfolio a {
  text-underline-offset: .23em;
}
.tym-portfolio a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.tym-portfolio img {
  display: block;
  width: 100%;
  height: auto;
  background: #e6dfd6;
}
.tym-portfolio figcaption {
  color: var(--portfolio-muted);
  padding-block-start: .5rem;
  font-size: .82rem;
}
.tym-portfolio-section {
  margin-block-start: clamp(3.5rem, 9vw, 7rem);
}
.tym-portfolio-section > h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-block-end: 1.4rem;
}
.tym-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.7rem, 5vw, 4.5rem) clamp(1.2rem, 4vw, 3rem);
}
.tym-portfolio-card .tym-portfolio-kicker {
  margin-block: .85rem .4rem;
}
.tym-portfolio-card h3 {
  font-size: clamp(1.55rem, 2.7vw, 2.35rem);
}
.tym-portfolio-card h3 + p {
  margin-block-start: .5rem;
}
.tym-portfolio-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.tym-portfolio-card.tym-portrait-focus img {
  object-position: center 77%;
}
.tym-project-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-block-start: 1.6rem;
}
.tym-project-index > div {
  border-top: 1px solid var(--portfolio-rule);
  padding-block-start: 1rem;
}
.tym-project-index ul {
  margin: .65rem 0 0;
  padding-inline-start: 1.15rem;
}
.tym-project-index li + li {
  margin-block-start: .45rem;
}
.tym-portfolio-contact {
  margin-block-start: clamp(2.5rem, 6vw, 5rem);
  border-top: 1px solid var(--portfolio-rule);
  padding-block-start: 1.6rem;
}
.tym-portfolio-contact p {
  margin-block: .75rem;
}
@media (max-width: 700px) {
  .tym-portfolio-hero, .tym-portfolio-grid, .tym-project-index {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The editorial title lives inside the photographic introduction. */
body.page-id-4817 .ast-article-single > .entry-header {
  display: none;
}

.tym-portfolio :is(h1,h2,h3) {
  text-transform: none;
}
.tym-portfolio [id="proyectos"] {
  scroll-margin-top: 6rem;
}

.tym-about-panorama {
  background: #e8e0d4;
  padding: clamp(.6rem, 1.5vw, 1.1rem);
}
.tym-about-panorama img {
  display: block;
  width: 100%;
  aspect-ratio: 3.25 / 1;
  object-fit: cover;
  object-position: 50% 76%;
  filter: saturate(.84) sepia(.14) contrast(.97);
}
.tym-about-panorama figcaption {
  padding: .6rem .1rem 0;
  color: #635449;
}
@media (max-width: 544px) {
  .tym-about-panorama img {
    aspect-ratio: 2.1 / 1;
    object-position: 44% 73%;
  }
}

body.page-id-4840 .ast-article-single > .entry-header {
  display: none;
}
.tym-finishes [id="ejemplos"] {
  scroll-margin-top: 6rem;
}
.tym-finishes .tym-portfolio-card p + p {
  margin-top: .55rem;
}

/* Keep the photographer's original in-photo credit in view. */
.tym-whistler-shot img {
  aspect-ratio: 3 / 2;
  object-fit: contain;
}

.tym-portfolio-card a {
  overflow-wrap: break-word;
}
.tym-portfolio-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  margin-block-start: 1rem;
}
.tym-portfolio-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.tym-portfolio :is(#trayectoria, #consulta-hospitalidad) {
  scroll-margin-top: 6rem;
}

.tym-finishes #consulta-acabado {
  scroll-margin-top: 6rem;
}

.tym-finishes #combinaciones {
  scroll-margin-top: 6rem;
}
.tym-finish-choices {
  margin-top: 1.4rem;
}
.tym-finish-choices details {
  border-top: 1px solid var(--portfolio-rule);
}
.tym-finish-choices details:last-child {
  border-bottom: 1px solid var(--portfolio-rule);
}
.tym-finish-choices summary {
  cursor: pointer;
  min-height: 48px;
  padding: .8rem .2rem;
  font-weight: 600;
}
.tym-finish-choices summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.tym-finish-choices details p {
  margin: 0 .3rem .8rem;
}

.tym-about-content .tym-about-team {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
  margin-block: clamp(2rem, 6vw, 4rem);
}
.tym-about-team figure {
  margin: 0;
}
.tym-about-team img {
  display: block;
  width: 100%;
  height: auto;
}
.tym-about-team h2 {
  margin: 0 0 .8rem;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.12;
}
.tym-about-team p {
  margin: 0;
}
@media (max-width: 767px) {
  .tym-about-content .tym-about-team {
    grid-template-columns: minmax(0, 1fr);
  }
}

.tym-portfolio-card h3[id] {
  scroll-margin-top: 6rem;
}

@media (max-width: 921px) {
  #ast-hf-menu-1-mobile > .menu-item > .menu-link {
    min-height: 44px;
    align-items: center;
  }
}

/* Give the featured installation enough width to show the actual room. */
.tym-portfolio-featured {
  grid-column: 1 / -1;
}
.tym-portfolio-featured > figure img {
  aspect-ratio: 2.35 / 1;
  object-position: center 55%;
}
.tym-portfolio-featured > p {
  max-width: 54rem;
}
@media (max-width: 700px) {
  .tym-portfolio-featured > figure img {
    aspect-ratio: 4 / 3;
  }
}

.tym-project-gallery {
  margin-top: .9rem;
  border-top: 1px solid var(--portfolio-rule);
}
.tym-project-gallery summary {
  min-height: 44px;
  padding: .7rem .1rem;
  cursor: pointer;
}
.tym-project-gallery summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.tym-project-gallery figure + figure {
  margin-top: 1rem;
}
.tym-project-gallery figure > img {
  aspect-ratio: auto;
  max-height: 32rem;
  object-fit: contain;
}
.tym-project-gallery figure > p {
  margin: .5rem 0 .9rem;
}

.tym-portfolio {
  container-type: inline-size;
}
.tym-portfolio-hero h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 5.8cqi, 5.2rem);
  overflow-wrap: normal;
}
.tym-portfolio-section > h2,
.tym-portfolio-card h3,
.tym-portfolio-contact h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
}
@media (max-width: 700px) {
  .tym-portfolio-hero h1 {
    font-size: clamp(2.35rem, 10cqi, 3.6rem);
  }
}

/* The editorial article supplies its own vertical spacing inside Astra. */
body:is(.page-id-4817, .page-id-4840) #content .ast-article-single {
  padding-top: clamp(1rem, 2vw, 1.7rem);
}
body:is(.page-id-4817, .page-id-4840) #content #primary {
  margin-top: clamp(.8rem, 2.5vw, 2rem);
}
.tym-portfolio-links a {
  text-decoration: underline;
}

body.single-product #content .tym-quote-materials {
  margin: .75rem 0 1rem;
  padding-inline: clamp(.8rem, 2.2vw, 1.2rem);
  font-size: .88rem;
}
body.single-product #content .tym-quote-materials a {
  text-decoration: underline;
  text-underline-offset: .18em;
}

.tym-blog-intro {
  margin: 1rem 0 2rem;
  padding: clamp(1rem, 3vw, 2.8rem);
  background: #f4efe8;
}
.tym-blog-intro h1 {
  color: #302821;
  font: 400 clamp(2.55rem, 5vw, 4.5rem)/1.05 "Instrument Serif", Georgia, serif;
}
.tym-blog-intro p {
  margin: .65rem 0 0;
}
.tym-blog-intro a {
  text-decoration: underline;
  text-underline-offset: .18em;
}

/* Photographic introduction on the existing Elementor home template. */
body.home .elementor-element-2a858fd {
  --padding-top: 0;
  --padding-right: 0;
  --padding-bottom: 0;
  --padding-left: 0;
  padding: 0;
}

body.home .elementor-element-2a858fd > .e-con-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  position: relative;
  isolation: isolate;
  max-width: min(100%, 108rem);
  min-height: clamp(34rem, 48vw, 51rem);
  align-items: stretch;
  gap: 0;
  padding: 0;
}

body.home .elementor-element-2a858fd > .e-con-inner > .elementor-element-ef61aa2 {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

body.home .elementor-element-5c5fe04 {
  width: 100%;
  height: 100%;
}

body.home .elementor-element-5c5fe04 img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 51rem;
  object-fit: cover;
  object-position: 56% 58%;
}

body.home .elementor-element-2a858fd > .e-con-inner::after {
  content: "";
  grid-area: 1 / 1;
  background: linear-gradient(90deg, rgba(31, 22, 17, .90), rgba(32, 23, 18, .73) 29%, rgba(32, 23, 18, .36) 50%, transparent 72%);
  z-index: 1;
  pointer-events: none;
}

body.home .elementor-element-2a858fd > .e-con-inner > .elementor-element-473e053 {
  grid-area: 1 / 1;
  z-index: 2;
  justify-content: center;
  align-self: stretch;
  padding: clamp(2.4rem, 5.5vw, 6.2rem);
  width: min(48%, 40rem);
}

body.home .elementor-element-473e053 :is(h1, h2, p, a) {
  color: #fff9ee;
}

body.home .elementor-element-473e053 h1 {
  font-size: clamp(2.8rem, 5.9vw, 6.5rem);
  line-height: .99;
}

body.home .elementor-element-473e053 .elementor-button {
  background: #fff9ee;
  color: #33261e;
  padding: .85rem 1.25rem;
  text-decoration: none;
}

body.home .elementor-element-473e053 .elementor-button:hover {
  background: #ece0cf;
}

body.home .elementor-element-473e053 a:focus-visible {
  outline: 2px solid #fff9ee;
  outline-offset: 4px;
}

body.home .elementor-element-b9128c2 {
  display: none;
}

.tym-home-craft {
  max-width: 74rem;
  margin: clamp(2.5rem, 6vw, 5.5rem) auto 0;
}

.tym-home-craft h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  margin: .35rem 0 .8rem;
  line-height: 1.08;
}

.tym-home-craft > p {
  max-width: 39rem;
}

.tym-home-craft .tym-home-craft-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.8rem, 2.5vw, 1.7rem);
  margin-block: 1.5rem 1rem;
}

.tym-home-craft figure {
  margin: 0;
}

.tym-home-craft img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.tym-home-craft figcaption {
  margin-top: .6rem;
  font-size: .9rem;
  line-height: 1.4;
}

.tym-home-craft a {
  text-underline-offset: .23em;
}

@media (max-width: 767px) {
  body.home .elementor-element-2a858fd > .e-con-inner {
    min-height: 0;
  }

  body.home .elementor-element-2a858fd > .e-con-inner > .elementor-element-ef61aa2 {
    grid-area: 1 / 1;
  }

  body.home .elementor-element-2a858fd > .e-con-inner::after {
    content: none;
  }

  body.home .elementor-element-5c5fe04 img {
    aspect-ratio: 1.30 / 1;
    height: auto;
    object-position: 71% 63%;
  }

  body.home .elementor-element-2a858fd > .e-con-inner > .elementor-element-473e053 {
    grid-area: 2 / 1;
    width: 100%;
    background: #392b23;
    padding: 1.6rem 1.25rem 2rem;
  }

  body.home .elementor-element-473e053 h1 {
    font-size: clamp(2.35rem, 9vw, 4rem);
  }
}

@media (max-width: 544px) {
  .tym-home-craft .tym-home-craft-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
  }
}

/* Restore the verified social links to the Contact page. */
body.page-id-15 .elementor-element-f3b33bb:has(a[href^="https://www."]) {
  display: block !important;
}
body.page-id-15 .elementor-element-cd20ed7 {
  display: block !important;
}
body.page-id-15 .elementor-element-f3b33bb .elementor-social-icon {
  min-width: 44px;
  min-height: 44px;
}

body.home a.tym-home-portfolio-link {
  display: inline-block;
  margin-top: .9rem;
  color: #fff9ee;
  text-decoration: underline;
  text-underline-offset: .23em;
}

/* Elementor's widget-level styles have to yield to the cover layout. */
body.home #content .elementor-element-2a858fd > .e-con-inner {
  width: 100%;
  max-width: min(100%, 108rem);
  padding: 0;
}
body.home #content .elementor-element-2a858fd > .e-con-inner > .elementor-element-ef61aa2 {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
body.home #content .elementor-element-5c5fe04 {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  margin: 0;
}
body.home #content .elementor-element-5c5fe04 img {
  width: 100%;
  max-width: none;
  height: 100%;
}
body.home #content .elementor-element-2a858fd > .e-con-inner::after {
  position: absolute;
  inset: 0;
}
body.home #content .elementor-element-2a858fd > .e-con-inner > .elementor-element-473e053 {
  width: min(56%, 49rem);
  max-width: none;
  margin: 0;
  min-height: clamp(29rem, 43vw, 44rem);
}
body.home #content .elementor-element-473e053 :is(.elementor-heading-title,p) {
  color: #fff9ee;
}
body.home #content .elementor-element-473e053 .elementor-button {
  background: #fff9ee;
  color: #33261e;
  padding: .85rem 1.25rem;
}
body.home #content .elementor-element-473e053 .elementor-button-text {
  color: #33261e;
}

@media (max-width: 767px) {
  body.home #content .elementor-element-2a858fd > .e-con-inner > .elementor-element-ef61aa2 {
    position: relative;
    aspect-ratio: 1.28 / 1;
  }
  body.home #content .elementor-element-5c5fe04 img {
    aspect-ratio: auto;
    object-position: 72% 62%;
  }
  body.home #content .elementor-element-2a858fd > .e-con-inner > .elementor-element-473e053 {
    width: 100%;
    min-height: 0;
  }
}

body.home #content .elementor-element-2a858fd > .e-con-inner {
  grid-template-columns: minmax(0, 1fr);
  column-gap: 0;
}
body.home #content .elementor-element-2a858fd > .e-con-inner > .elementor-element-473e053 {
  justify-content: center;
  align-items: flex-start;
  padding: clamp(1.5rem, 5vw, 5.25rem);
}
body.home #content .elementor-element-473e053 .elementor-heading-title {
  overflow-wrap: normal;
  word-break: normal;
}
body.home #content .elementor-element-473e053 > .elementor-element {
  width: 100%;
  max-width: 100%;
}
@media (max-width: 767px) {
  body.home #content .elementor-element-2a858fd > .e-con-inner > .elementor-element-473e053 {
    padding: 1.75rem 1.3rem 2.3rem;
  }
}

body.home #content .elementor-element-6d79196 .elementor-button {
  background: transparent;
  border: 1px solid #fff9ee;
  color: #fff9ee;
}
body.home #content .elementor-element-6d79196 .elementor-button-text {
  color: #fff9ee;
}
body.home #content .elementor-element-6d79196 .elementor-button:hover {
  background: rgba(255, 249, 238, .13);
}

body.home #content .elementor-element-2a858fd .elementor-button {
  min-height: 44px;
}
body.home #content .elementor-element-6d79196 .elementor-button-text {
  text-transform: none;
}

body.home #content .elementor-element-5c5fe04 picture {
  display: block;
  width: 100%;
  height: 100%;
}
@media (max-width: 767px) {
  body.home #content .elementor-element-5c5fe04 img {
    object-position: center;
  }
}

body.home #content .tym-home-craft h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
}
body.home #content .elementor-element-6d79196 {
  margin-top: .5rem;
}


/* Keep the quote heading clear of the sticky site header. */
body.single-product #content #tym-catalog-quote {
  scroll-margin-top: 6rem;
}

@media (max-width: 544px) {
  body.single-product #content #tym-catalog-quote {
    scroll-margin-top: 5rem;
  }
}

/* Align the featured collection without cropping the pieces. */
body.home #content .elementor-element-cc0b722 ul.products {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  padding: 0;
}

body.home #content .elementor-element-cc0b722 ul.products li.product {
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

body.home #content .elementor-element-cc0b722 .eael-product-wrap > a {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  margin: 0;
  background: #eee7dc;
}

body.home #content .elementor-element-cc0b722 .eael-product-wrap > a img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  margin: 0;
  padding: .45rem;
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
}

body.home #content .elementor-element-cc0b722 .eael-product-title {
  margin: .18rem 0 0;
  padding: 0;
  text-align: left;
}

body.home #content .elementor-element-cc0b722 .eael-product-title a {
  display: flex;
  align-items: center;
  min-height: 44px;
}

body.home #content .elementor-element-cc0b722 .woocommerce-loop-product__title {
  margin: 0;
  color: #31241c;
  font: 400 clamp(1.16rem, 2vw, 1.46rem) / 1.1 "Instrument Serif", Georgia, serif;
  text-transform: none;
}

body.home #content .elementor-element-cc0b722 .eael-product-price {
  margin: 0;
  padding: 0;
  color: #58483b;
  font-size: .94rem;
  text-align: left;
}

body.home #content .elementor-element-cc0b722 .eael-product-wrap a:focus-visible {
  outline: 2px solid #423126;
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  body.home #content .elementor-element-cc0b722 ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  body.home #content .elementor-element-cc0b722 ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem .8rem;
  }
}

/* Use a warm, readable finish for the craft story. */
body.home #content .elementor-element-2bd215e {
  background: #30241e;
}

body.home #content .tym-home-craft {
  margin: 0 auto;
  padding: clamp(2.2rem, 5.2vw, 4.5rem) clamp(1.25rem, 4vw, 2.9rem);
  color: #e8d5bd;
}

body.home #content .tym-home-craft h2 {
  color: #fff5e8;
  text-transform: none;
}

body.home #content .tym-home-craft figcaption {
  color: #e8d5bd;
}

body.home #content .tym-home-craft-links {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.5rem;
  margin: 1.2rem 0 0;
  max-width: none;
}

body.home #content .tym-home-craft-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff5e8;
  text-decoration: underline;
}

body.home #content .tym-home-craft-links a:hover,
body.home #content .tym-home-craft-links a:focus-visible {
  color: #dab590;
}

body.home #content .tym-home-craft-links a:focus-visible {
  outline: 2px solid #dab590;
  outline-offset: 3px;
}

@media (max-width: 544px) {
  body.home #content .tym-home-craft-links {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Provide a direct way past the filters and editorial cards on small screens. */
.tym-collection-results {
  display: block;
  scroll-margin-top: 5.25rem;
}

@media (max-width: 544px) {
  body.woocommerce-shop .tym-catalog-mobile-contact:has(.tym-jump-to-products) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 .9rem;
  }

  body.woocommerce-shop .tym-jump-to-products {
    font-weight: 600;
  }

  body.woocommerce-shop .tym-catalog-mobile-contact a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
  }
}

#colophon .tym-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.1rem;
  margin-bottom: 0;
}

#colophon .tym-footer-socials a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
}

#colophon .tym-footer-socials a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Furniture visualizer. The customer's photo remains in the browser. */
.tym-room {
  --room-ink: #30241e;
  --room-paper: #f6f0e7;
  --room-line: #a39180;
  color: var(--room-ink);
}
.tym-room h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: .96; }
.tym-room-intro { max-width: 41rem; font-size: 1.12rem; }
.tym-room-note { font-size: .88rem; color: #5d4c40; }
.tym-room-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(15rem, 1fr); gap: 1.5rem; align-items: start; }
.tym-room-main, .tym-room-controls { min-width: 0; }
.tym-room-photo-actions, .tym-room-actions { display: flex; gap: .55rem; flex-wrap: wrap; align-items: center; }
.tym-room-file, .tym-room-actions > :is(button, a) {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .45rem .85rem;
  border: 1px solid var(--room-ink);
  background: var(--room-paper);
  color: var(--room-ink);
  border-radius: 0;
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.25;
  cursor: pointer;
}
.tym-room-file:first-child, .tym-room-actions > [data-room-add] { background: var(--room-ink); color: #fff5e8; }
.tym-room-file input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.tym-room-file:focus-within, .tym-room :focus-visible { outline: 2px solid #865734; outline-offset: 3px; }
.tym-room-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-top: .85rem;
  background: #e5d9c9;
  border: 1px solid var(--room-line);
  text-align: center;
}
.tym-room-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.tym-room [hidden] { display: none !important; }
.tym-room-placeholder { margin: 0; position: absolute; top: 12%; inset-inline: 1rem; text-wrap: balance; font-size: .94rem; pointer-events: none; color: #49392d; }
.tym-room-has-photo .tym-room-placeholder { display: none; }
.tym-room-stage .tym-room-piece, .tym-room-stage .tym-room-piece:hover {
  position: absolute;
  display: block;
  z-index: 1;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: grab;
  touch-action: none;
}
.tym-room-stage .tym-room-piece:active { cursor: grabbing; }
.tym-room-stage .tym-room-piece[aria-pressed="true"] { outline: 1px dashed #fff; outline-offset: 2px; }
.tym-room-stage .tym-room-piece:focus-visible { outline: 2px solid #fff; filter: drop-shadow(0 0 1px #38241b); }
.tym-room-piece img { position: absolute; display: block; max-width: none; max-height: none; object-fit: fill; pointer-events: none; user-select: none; }
.tym-room-status { min-height: 1.4rem; margin: .55rem 0 0; }
.tym-room-controls fieldset { min-inline-size: 0; padding: .8rem 1rem 1rem; margin-bottom: 1rem; border: 1px solid var(--room-line); }
.tym-room-controls legend { float: none; padding: 0 .3rem; font-size: 1.1rem; }
.tym-room-controls label { display: grid; gap: .15rem; margin: .28rem 0 .62rem; font-size: .92rem; }
.tym-room-controls select { width: 100%; min-height: 44px; border: 1px solid var(--room-line); background: white; color: var(--room-ink); font-size: 16px; }
.tym-room-controls input[type=range] { width: 100%; min-height: 29px; accent-color: #684933; }
.tym-room-product-link { display: inline-flex; align-items: center; min-height: 44px; margin: .45rem 0; text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 760px) {
  .tym-room-layout { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
  .tym-room-controls fieldset { padding: .65rem .75rem .75rem; }
}

body.page-id-4902 #content h1,
.tym-room button {
  text-transform: none;
}
.tym-room .tym-room-download {
  min-height: 44px;
  padding: .45rem .85rem;
  border: 1px solid #30241e;
  border-radius: 0;
  background: #f6f0e7;
  color: #30241e;
}

.tym-room a.tym-room-download {
  display: inline-flex;
  align-items: center;
  margin-inline-start: .35rem;
  text-decoration: underline;
}

body.single-product #content .tym-conversion-quote {
  margin: .55rem 0 1rem;
}

body.single-product #content .tym-conversion-quote a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  background: #493026;
  color: #fff8ef;
  border: 1px solid #493026;
  padding: .6rem 1rem;
  line-height: 1.35;
  text-decoration: none;
}

body.single-product #content .tym-conversion-quote a:hover {
  background: #352119;
  color: #fff8ef;
}

body.single-product #content :is(.tym-conversion-quote, .tym-conversion-related) a:focus-visible {
  outline: 2px solid #83573c;
  outline-offset: 3px;
}

.tym-conversion-mobile-intro[hidden] {
  display: none !important;
}

body.single-product #content .tym-conversion-related {
  clear: both;
  margin: 1.6rem 0 2.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid #c9bbad;
}

.tym-conversion-related-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0 1rem;
  margin-bottom: .45rem;
}

.tym-conversion-related-header h2 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 400;
}

.tym-conversion-related-header a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #493026;
  text-decoration: underline;
  text-underline-offset: .15em;
}

body.single-product #content .tym-conversion-related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.6rem, 2vw, 1.2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.tym-conversion-related-list li {
  min-width: 0;
}

.tym-conversion-related-link {
  display: block;
  height: 100%;
  color: #34251e;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.tym-conversion-related-link img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #eee7de;
}

.tym-conversion-related-name,
.tym-conversion-related-price {
  display: block;
  margin-top: .35rem;
  line-height: 1.3;
}

.tym-conversion-related-name {
  font-weight: 600;
}

.tym-conversion-related-link:hover .tym-conversion-related-name {
  text-decoration: underline;
}

.tym-conversion-related-price {
  font-size: .875rem;
}

@media (max-width: 544px) {
  body.single-product #content .tym-conversion-mobile-intro {
    margin-bottom: .75rem;
  }

  body.single-product #content .tym-conversion-mobile-intro .product_title {
    margin: 0 0 .3rem;
    color: #30241e;
    font-size: clamp(1.8rem, 7vw, 2.4rem);
    line-height: 1.1;
  }

  body.single-product #content .tym-conversion-mobile-intro > .price {
    margin: 0 0 .6rem;
    color: #493026;
    font-size: 1.15rem;
  }

  body.single-product #content .tym-conversion-mobile-intro .tym-conversion-quote {
    margin: 0;
  }

  body.single-product #content .tym-conversion-related-list {
    font-size: .9rem;
  }
}

/* This page supplies its own semantic headline inside the Astra content area. */
body:has(#tym-oporto-title) .ast-article-single > .entry-header {
  display: none;
}

body:has(#tym-oporto-title) #content .ast-article-single {
  padding: 0;
}

body:has(#tym-oporto-title) #content #primary {
  margin-block: clamp(.5rem, 2.5vw, 2rem) clamp(1.5rem, 6vw, 5rem);
}

.tym-oporto {
  --oporto-ink: #30241e;
  --oporto-muted: #5b4b40;
  --oporto-paper: #f6f0e7;
  --oporto-rule: #c1ad9a;
  width: 100%;
  max-width: 82rem;
  margin-inline: auto;
  color: var(--oporto-ink);
}

.tym-oporto-hero,
.tym-oporto-details {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: stretch;
}

.tym-oporto-hero {
  background: var(--oporto-paper);
}

.tym-oporto-hero-copy,
.tym-oporto-details-copy {
  min-width: 0;
  align-self: center;
  padding: clamp(1.25rem, 5.5vw, 5rem);
}

.tym-oporto-kicker {
  margin: 0 0 .9rem;
  letter-spacing: .11em;
  color: var(--oporto-muted);
  font-size: .82rem;
  font-weight: 600;
}

.tym-oporto h1,
.tym-oporto h2 {
  margin: 0;
  color: inherit;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  text-wrap: balance;
}

.tym-oporto h1 {
  font-size: clamp(3.25rem, 6.2vw, 6.75rem);
  line-height: .98;
}

.tym-oporto h2 {
  font-size: clamp(2.1rem, 4.5vw, 4.4rem);
  line-height: 1.02;
}

.tym-oporto-intro {
  max-width: 28ch;
  margin: 1.15rem 0 1.35rem;
  color: var(--oporto-muted);
  font-size: clamp(1.03rem, 1.55vw, 1.24rem);
  line-height: 1.5;
}

.tym-oporto-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .3rem 1.15rem;
}

.tym-oporto .tym-oporto-action,
.tym-oporto .tym-oporto-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  line-height: 1.25;
  font-size: 1rem;
  font-weight: 600;
}

.tym-oporto .tym-oporto-action {
  padding: .7rem 1.15rem;
  background: var(--oporto-ink);
  color: #fff9f0;
  text-decoration: none;
}

.tym-oporto .tym-oporto-action:hover {
  background: #4f392d;
  color: #fff9f0;
}

.tym-oporto .tym-oporto-secondary {
  color: var(--oporto-ink);
  text-decoration: underline;
  text-underline-offset: .23em;
}

.tym-oporto a:focus-visible {
  outline: 2px solid var(--oporto-ink);
  outline-offset: 4px;
}

.tym-oporto figure {
  margin: 0;
}

.tym-oporto-hero-photo {
  background: #bfaa91;
}

.tym-oporto-hero-photo img,
.tym-oporto-detail-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.tym-oporto-hero-photo img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.tym-oporto-details {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.75rem);
  margin-top: clamp(2.6rem, 6vw, 5.5rem);
}

.tym-oporto-details-copy {
  padding-block: 0;
}

.tym-oporto-specs {
  margin: 1.5rem 0 1rem;
  line-height: 1.45;
}

.tym-oporto-specs > div {
  display: grid;
  grid-template-columns: minmax(6.5rem, .75fr) minmax(0, 1.6fr);
  gap: .4rem .8rem;
  padding: .65rem 0;
  border-top: 1px solid var(--oporto-rule);
}

.tym-oporto-specs > div:last-child {
  border-bottom: 1px solid var(--oporto-rule);
}

.tym-oporto-specs dt {
  font-weight: 600;
}

.tym-oporto-specs dd {
  margin: 0;
}

.tym-oporto-specs dd span,
.tym-oporto figcaption {
  color: var(--oporto-muted);
  font-size: .9rem;
}

.tym-oporto figcaption {
  margin-top: .65rem;
  line-height: 1.35;
}

.tym-oporto-details-copy > p {
  margin-block: .85rem 1rem;
}

@media (max-width: 760px) {
  .tym-oporto-hero,
  .tym-oporto-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .tym-oporto-hero-copy {
    padding: 1.25rem 1.15rem 1.15rem;
  }

  .tym-oporto-kicker {
    margin-bottom: .6rem;
  }

  .tym-oporto-intro {
    margin-block: .65rem .8rem;
  }

  .tym-oporto-hero-photo img {
    aspect-ratio: 4 / 3;
    object-position: center 77%;
  }

  .tym-oporto-details-copy {
    padding-inline: .25rem;
  }

  .tym-oporto-details {
    gap: 1.3rem;
  }

  .tym-oporto-detail-photo {
    max-width: 34rem;
  }
}

/* The same centered masthead and type scale connects the editorial and shop pages. */
:root {
  --tym-editorial-paper: #faf9f6;
  --tym-editorial-ink: #28241f;
  --tym-editorial-rule: #ded8d0;
  --tym-editorial-light: #fffaf2;
}

body #masthead .main-header-bar {
  background: var(--tym-editorial-paper);
  border-color: var(--tym-editorial-rule);
}

#masthead .main-header-menu > .menu-item > .menu-link,
#masthead .ast-header-button-1 .ast-custom-button {
  font-size: .73rem;
  font-weight: 500;
  letter-spacing: .105em;
  text-transform: uppercase;
}

@media (min-width: 922px) {
  body #masthead #ast-desktop-header .main-header-bar {
    padding-block: 4px 0;
  }

  body #masthead #ast-desktop-header .ast-builder-grid-row {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 clamp(1rem, 3.2vw, 3rem);
    align-items: start;
    min-height: 0;
    position: relative;
  }

  body #masthead #ast-desktop-header :is(.site-header-primary-section-left, .site-header-primary-section-right) {
    width: 100%;
    justify-content: center;
  }

  body #masthead #ast-desktop-header .site-header-primary-section-left {
    min-height: 65px;
  }

  body #masthead #ast-desktop-header .site-header-primary-section-right {
    min-height: 45px;
  }

  body #masthead #ast-desktop-header .main-header-menu {
    min-height: 44px;
    line-height: 1.3;
  }

  #masthead #ast-desktop-header .site-branding {
    padding-block: 0;
  }

  #masthead #ast-desktop-header .custom-logo {
    width: 106px;
    height: auto;
  }

  #masthead #ast-desktop-header .main-header-menu > .menu-item > .menu-link {
    padding-inline: clamp(.7rem, 1.5vw, 1.45rem);
    min-height: 44px;
    line-height: 1.3;
  }

  #masthead #ast-desktop-header .ast-header-button-1 {
    position: absolute;
    top: 15px;
    right: clamp(.9rem, 4vw, 4rem);
    margin: 0;
  }

  #masthead #ast-desktop-header .ast-header-button-1 .ast-custom-button {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: .5rem .95rem;
    background: transparent;
    border: 1px solid currentColor;
    color: var(--tym-editorial-ink);
  }

  #masthead #ast-desktop-header .ast-header-button-1 a:hover .ast-custom-button {
    background: rgba(117, 85, 57, .1);
  }

  body.home #page {
    position: relative;
  }

  body.home #masthead {
    position: absolute;
    inset: 0 0 auto;
    z-index: 12;
  }

  body.home #masthead #ast-desktop-header .main-header-bar {
    background: linear-gradient(to bottom, rgba(27, 21, 16, .68), rgba(27, 21, 16, .29));
    border: 0;
  }

  body.home #masthead #ast-desktop-header .custom-logo {
    filter: brightness(0) invert(1);
  }

  body.home #masthead #ast-desktop-header .main-header-menu > .menu-item > .menu-link,
  body.home #masthead #ast-desktop-header .ast-header-button-1 .ast-custom-button {
    color: var(--tym-editorial-light);
  }

  body.home #masthead #ast-desktop-header a:focus-visible {
    outline: 2px solid var(--tym-editorial-light);
    outline-offset: 2px;
  }
}

.tym-home-collection-nav {
  padding-inline: clamp(.65rem, 3vw, 2.5rem);
  background: var(--tym-editorial-paper);
  border-bottom: 1px solid var(--tym-editorial-rule);
}

.tym-home-collection-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 clamp(.5rem, 2.3vw, 2.1rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.tym-home-collection-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .25rem .25rem;
  color: var(--tym-editorial-ink);
  font-size: .7rem;
  letter-spacing: .095em;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1.25;
}

.tym-home-collection-nav a:hover {
  text-decoration: underline;
  text-underline-offset: .3em;
}

@media (min-width: 922px) {
  body.home .tym-home-collection-nav {
    background: rgba(27, 21, 16, .38);
    border-color: rgba(255, 255, 255, .24);
    border-top: 1px solid rgba(255, 255, 255, .17);
  }

  body.home .tym-home-collection-nav a {
    color: var(--tym-editorial-light);
  }
}

body.home #content .elementor-element-2a858fd > .e-con-inner {
  max-width: none;
  min-height: clamp(39rem, 87svh, 61rem);
  grid-template-rows: minmax(0, 1fr);
}

body.home #content .elementor-element-2a858fd > .e-con-inner > .elementor-element-ef61aa2 {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}

body.home #content .elementor-element-2a858fd .elementor-element-5c5fe04 img {
  max-height: none;
  height: 100%;
  object-position: 50% 62%;
}

body.home #content .elementor-element-2a858fd > .e-con-inner::after {
  content: "";
  background: linear-gradient(180deg, rgba(24, 18, 13, .58) 0%, rgba(28, 21, 16, .50) 35%, rgba(28, 21, 16, .35) 58%, rgba(24, 18, 13, .02) 86%);
}

body.home #content .elementor-element-2a858fd > .e-con-inner > .elementor-element-473e053 {
  grid-area: 1 / 1;
  align-items: center;
  justify-content: flex-start;
  justify-self: center;
  text-align: center;
  width: min(100%, 54rem);
  min-height: 0;
  padding: clamp(12rem, 26svh, 17rem) 1.25rem 3rem;
  gap: .5rem;
  background: transparent;
}

body.home #content .elementor-element-473e053 > :is(.elementor-element-69612d8, .elementor-element-c6a2848) {
  margin-block: 0;
}

body.home #content .elementor-element-69612d8 h1 {
  max-width: none;
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(3.65rem, 6.8vw, 6.4rem);
  font-weight: 400;
  letter-spacing: -.025em;
  text-shadow: 0 2px 26px rgba(0, 0, 0, .42);
}

body.home #content .elementor-element-e8ab510 .elementor-heading-title {
  font-size: .74rem;
  letter-spacing: .18em;
  font-weight: 500;
}

body.home #content .elementor-element-c6a2848 p {
  margin: .3rem auto 0;
  max-width: 38ch;
  line-height: 1.5;
}

body.home #content .elementor-element-473e053 :is(.elementor-element-6b0628e, .elementor-element-6d79196) {
  text-align: center;
  margin: 0;
}

body.home #content .elementor-element-473e053 :is(.elementor-element-6b0628e, .elementor-element-6d79196) .elementor-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: transparent;
  border: 0;
  color: var(--tym-editorial-light);
  padding: .6rem .3rem;
  text-decoration: underline;
  text-underline-offset: .42em;
}

@media (min-width: 545px) {
  body.home #content .elementor-element-2a858fd > .e-con-inner > .elementor-element-473e053 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    column-gap: 1.5rem;
  }

  body.home #content .elementor-element-473e053 > :not(.elementor-element-6b0628e, .elementor-element-6d79196) {
    grid-column: 1 / -1;
  }

  body.home #content .elementor-element-473e053 > .elementor-element-6b0628e {
    width: auto;
    justify-self: end;
  }

  body.home #content .elementor-element-473e053 > .elementor-element-6d79196 {
    width: auto;
    justify-self: start;
  }
}

body.home #content .elementor-element-473e053 .elementor-button .elementor-button-text {
  color: var(--tym-editorial-light);
  font-size: .72rem;
  letter-spacing: .17em;
  text-transform: uppercase;
}

body.home #content .elementor-element-473e053 .elementor-button:hover {
  text-decoration-thickness: 2px;
}

body.home #content .elementor-element-640d355 {
  display: none;
}

.tym-editorial-chapters {
  display: grid;
  gap: 2px;
  background: var(--tym-editorial-paper);
  border-top: 2px solid var(--tym-editorial-paper);
}

.tym-editorial-chapter {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  overflow: hidden;
  min-height: clamp(27rem, 55vw, 52rem);
  text-align: center;
  color: var(--tym-editorial-light);
  background: #4e3426;
}

.tym-editorial-chapter > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tym-editorial-chapter::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(to top, rgba(24, 17, 12, .82), rgba(24, 17, 12, .48) 32%, transparent 69%);
}

.tym-editorial-chapter-content {
  width: min(100%, 55rem);
  margin-inline: auto;
  padding: 1.25rem 1rem clamp(3.4rem, 7vw, 7rem);
}

body.home #content .tym-editorial-chapter h2 {
  color: inherit;
  font: 400 clamp(3rem, 6.4vw, 6.3rem) / 1 "Instrument Serif", Georgia, serif;
  margin: .35rem 0 .5rem;
  text-transform: none;
  text-wrap: balance;
}

.tym-editorial-chapter-content p {
  margin: 0;
  font-size: .7rem;
  letter-spacing: .14em;
  line-height: 1.5;
  text-transform: uppercase;
}

body.home #content .tym-editorial-chapter a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  font-size: .74rem;
  letter-spacing: .115em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: .4em;
}

body.home #content .tym-editorial-chapter a:hover {
  text-decoration-thickness: 2px;
}

body.home #content .tym-editorial-chapter a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.tym-editorial-chapter .tym-editorial-credit {
  position: absolute;
  inset: auto .85rem .65rem;
  margin: 0;
  text-align: right;
  font-size: .72rem;
}

body.home #content .elementor-element-2bd215e {
  --gap: 0;
  --padding-top: 0;
  padding-top: 0;
}

body.home #content .elementor-element-2bd215e > .e-con-inner {
  padding-inline: 0;
  max-width: none;
  width: 100%;
}

body.home #content .elementor-element-5eed6bb {
  margin-block-start: 0;
}

@media (max-width: 921px) {
  .tym-home-collection-nav ul {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0 .8rem;
  }

  .tym-home-collection-nav li {
    flex: 0 0 auto;
  }

  body.home #content .elementor-element-2a858fd > .e-con-inner {
    min-height: clamp(31rem, 75svh, 42rem);
  }

  body.home #content .elementor-element-2a858fd > .e-con-inner > .elementor-element-473e053 {
    padding: clamp(2.5rem, 10vw, 5rem) 1.05rem 3rem;
  }

  body.home #content .elementor-element-69612d8 h1 {
    font-size: clamp(3rem, 10vw, 5.3rem);
    max-width: 12ch;
    margin-inline: auto;
  }

  body.home #content .elementor-element-2a858fd .elementor-element-5c5fe04 img {
    object-position: 55% 66%;
  }

  body.home #content .elementor-element-2a858fd > .e-con-inner::after {
    background: linear-gradient(180deg, rgba(24, 18, 13, .65) 0%, rgba(28, 21, 16, .55) 46%, rgba(24, 18, 13, .04) 83%);
  }
}

@media (max-width: 544px) {
  .tym-editorial-chapter {
    min-height: clamp(23rem, 113vw, 34rem);
  }

  .tym-editorial-chapter-content {
    padding-bottom: 2.9rem;
  }

  body.home #content .tym-editorial-chapter h2 {
    font-size: clamp(2.75rem, 10vw, 4rem);
  }
}

/* Shared finish for the WooCommerce archive and single-product gallery. */
body.woocommerce.woocommerce-page:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .single-product) {
  --tym-woo-paper: #faf9f6;
  --tym-woo-card: #f1eee8;
  --tym-woo-ink: #27251f;
  --tym-woo-muted: #5c554b;
  --tym-woo-accent: #352c24;
  --tym-woo-line: #d9d4cb;
  --tym-woo-control-line: #92887a;
  --tym-woo-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
}

body.woocommerce.woocommerce-page:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .single-product) #content > .ast-container {
  max-width: 1560px;
  padding-inline: clamp(16px, 4.3vw, 68px);
}

body.woocommerce:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main .woocommerce-products-header {
  padding-block: clamp(.35rem, 1.5vw, 1.4rem) clamp(.6rem, 2.7vw, 2.1rem);
  margin-block-end: 0;
  text-align: center;
}

body.woocommerce.woocommerce-page:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main .woocommerce-products-header__title {
  max-width: 19ch;
  margin-inline: auto;
  font-size: clamp(3rem, 6.7vw, 6.35rem);
  line-height: .99;
  letter-spacing: -.025em;
  text-transform: none;
  text-wrap: balance;
}

body.woocommerce:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main .tym-room-product-link {
  display: flex;
  width: fit-content;
  margin: 0 auto 1rem;
  text-align: center;
}

body.woocommerce:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main .tym-catalog-tools {
  grid-template-columns: minmax(0, 1fr);
  gap: .85rem;
  margin-bottom: clamp(1.5rem, 3.5vw, 3.35rem);
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--tym-woo-line);
}

body.woocommerce:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main .tym-catalog-categories {
  min-width: 0;
}

body.woocommerce:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main .tym-catalog-categories ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .12rem clamp(.45rem, 1.35vw, 1.2rem);
  padding-block: .25rem;
  border-block: 1px solid var(--tym-woo-line);
}

body.woocommerce:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main .tym-catalog-categories a {
  min-height: 44px;
  padding: .3rem .25rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--tym-woo-ink);
  font-size: .84rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

body.woocommerce:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main .tym-catalog-categories a:is(:hover, [aria-current="page"]) {
  text-decoration: underline;
  text-underline-offset: .34em;
}

body.woocommerce:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main .tym-catalog-categories a[aria-current="page"] {
  font-weight: 650;
}

body.woocommerce:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main .tym-catalog-search {
  gap: 0;
  justify-self: end;
  width: min(100%, 26rem);
}

body.woocommerce:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main .tym-catalog-search :is(input[type="search"], button) {
  border: 1px solid var(--tym-woo-control-line);
  background: transparent;
  color: var(--tym-woo-ink);
}

body.woocommerce:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main .tym-catalog-search button {
  border-inline-start: 0;
  font-weight: 600;
}

body.woocommerce:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main .tym-catalog-search button:hover {
  background: var(--tym-woo-card);
}

body.woocommerce.woocommerce-page:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main .woocommerce-ordering select {
  border-color: var(--tym-woo-control-line);
  background-color: transparent;
}

body.woocommerce.woocommerce-shop #main .tym-catalog-editorial {
  padding-bottom: clamp(1.4rem, 3.3vw, 3.2rem);
  border-color: var(--tym-woo-line);
}

body.woocommerce.woocommerce-shop #main .tym-catalog-editorial h2 {
  margin-bottom: clamp(.8rem, 2vw, 1.65rem);
  font-size: clamp(1.8rem, 3.1vw, 3.3rem);
  text-align: center;
}

body.woocommerce.woocommerce-shop #main .tym-catalog-editorial ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 2rem);
}

body.woocommerce.woocommerce-shop #main .tym-catalog-editorial li a {
  display: grid;
  min-height: 0;
  padding: 0 0 .55rem;
  overflow: visible;
  background: transparent;
  color: var(--tym-woo-ink);
  text-align: center;
}

body.woocommerce.woocommerce-shop #main .tym-catalog-editorial li a::after {
  content: none;
}

body.woocommerce.woocommerce-shop #main .tym-catalog-editorial li a img {
  position: static;
  z-index: auto;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--tym-woo-card);
  transform: none;
}

body.woocommerce.woocommerce-shop #main .tym-catalog-editorial .tym-collection-copy {
  max-width: none;
  gap: .15rem;
  padding: .8rem .25rem 0;
}

body.woocommerce.woocommerce-shop #main .tym-catalog-editorial .tym-collection-copy strong {
  font-size: clamp(1.4rem, 2.6vw, 2.55rem);
}

body.woocommerce.woocommerce-shop #main .tym-catalog-editorial .tym-collection-copy > span {
  color: var(--tym-woo-muted);
}

body.woocommerce.woocommerce-shop #main .tym-catalog-editorial .tym-collection-arrow {
  display: none;
}

body.woocommerce.woocommerce-shop #main .tym-catalog-editorial li a:is(:hover, :focus-visible) strong {
  text-decoration: underline;
  text-underline-offset: .14em;
}

body.woocommerce.woocommerce-page:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main .ast-woocommerce-container > ul.products {
  clear: both;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.7rem, 3.5vw, 3.2rem) clamp(.85rem, 2.1vw, 2rem);
  margin: 0;
  padding: 0;
}

body.woocommerce.woocommerce-page:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main .ast-woocommerce-container > ul.products::before,
body.woocommerce.woocommerce-page:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main .ast-woocommerce-container > ul.products::after {
  content: none;
}

body.woocommerce.woocommerce-page:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main .ast-woocommerce-container > ul.products > li.product {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

body.woocommerce.woocommerce-page:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main ul.products li.product .astra-shop-thumbnail-wrap img {
  display: block;
  aspect-ratio: 1;
  object-fit: contain;
}

body.woocommerce.woocommerce-page:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main ul.products li.product .astra-shop-summary-wrap {
  padding: .8rem 0 0;
  border: 0;
}

body.woocommerce.woocommerce-page:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main ul.products li.product .woocommerce-loop-product__title {
  font-size: clamp(1.2rem, 2.1vw, 1.85rem);
  line-height: 1.14;
  text-wrap: balance;
}

body.woocommerce.woocommerce-page:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main ul.products li.product .ast-woo-product-category {
  margin: 0 0 .35rem;
  font-size: .72rem;
  letter-spacing: .105em;
  text-transform: uppercase;
}

body.woocommerce:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main ul.products .tym-catalog-card-link {
  margin-top: .16rem;
  padding: .25rem 0;
  border: 0;
  background: transparent;
  color: var(--tym-woo-ink);
  font-size: .84rem;
  text-decoration: underline;
  text-underline-offset: .25em;
}

body.woocommerce:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main ul.products .tym-catalog-card-link:hover {
  color: var(--tym-woo-muted);
}

body.woocommerce.single-product #main .tym-catalog-product-nav {
  gap: .15rem .8rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--tym-woo-line);
}

body.woocommerce.single-product #main div.product .product_title {
  font-size: clamp(2.5rem, 5.5vw, 5.2rem);
  line-height: .99;
  letter-spacing: -.025em;
  text-wrap: balance;
}

body.woocommerce.single-product #main div.product .summary .single-product-category {
  font-size: .72rem;
  letter-spacing: .135em;
  text-transform: uppercase;
}

body.woocommerce.single-product #main div.product .summary > .price {
  font-variant-numeric: tabular-nums;
}

body.woocommerce.single-product #content #main div.product .tym-conversion-quote a,
body.woocommerce.single-product #main .tym-quote-actions .tym-quote-whatsapp {
  min-height: 46px;
  padding-inline: 1.15rem;
  border: 1px solid var(--tym-woo-ink);
  border-radius: 0;
  background: var(--tym-woo-ink);
  color: #fff;
  font-weight: 600;
}

body.woocommerce.single-product #content #main div.product .tym-conversion-quote a:hover,
body.woocommerce.single-product #main .tym-quote-actions .tym-quote-whatsapp:hover {
  background: var(--tym-woo-muted);
  color: #fff;
}

body.woocommerce.single-product #main .tym-quote-panel {
  border-color: var(--tym-woo-line);
  background: #fff;
}

body.woocommerce.single-product #main .tym-quote-panel :is(.tym-quote-select, .tym-quote-inquiry) {
  border-color: var(--tym-woo-control-line);
}

body.woocommerce.single-product #main .tym-conversion-related-header h2 {
  font: 400 clamp(1.85rem, 3.2vw, 3rem)/1.07 var(--tym-woo-serif);
}

body.woocommerce.single-product #main .tym-conversion-related-link img {
  background: var(--tym-woo-card);
}

@media (max-width: 700px) {
  body.woocommerce:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main .tym-catalog-categories ul {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: .8rem;
    padding-inline: .35rem;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  body.woocommerce:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main .tym-catalog-categories a:focus-visible {
    outline-offset: -2px;
  }

  body.woocommerce:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main .tym-catalog-search {
    justify-self: stretch;
  }

  body.woocommerce.woocommerce-shop #main .tym-catalog-editorial ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.woocommerce.woocommerce-shop #main .tym-catalog-editorial li:first-child {
    grid-column: 1 / -1;
  }

  body.woocommerce.woocommerce-page:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) #main .ast-woocommerce-container > ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 544px) {
  body.woocommerce.woocommerce-shop #main .tym-catalog-editorial li:first-child a {
    min-height: 0;
  }

  body.woocommerce.single-product #content #main div.product .tym-conversion-mobile-intro .product_title {
    margin-bottom: .3rem;
    font-size: clamp(2rem, 10.5vw, 3rem);
  }

  body.woocommerce.single-product #main .tym-conversion-related-link {
    font-size: .83rem;
  }
}
