/* Homepage composition. Other catalog pages keep their module defaults. */
body#index #wrapper { padding-top: 24px; }
body#index #content { display: flex; flex-direction: column; gap: 26px; }
body#index #content > * { flex: none; }
body#index .tm-home-eyebrow { display: inline-block; color: #a45614; font-size: 11px; font-weight: 700; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }

body#index #carousel { left: 0; right: auto; width: 100%; margin: 0; border: 1px solid #e5ddd4; border-radius: 14px; background: #eae3da; box-shadow: none; }
body#index #carousel .carousel-inner, body#index #carousel .carousel-item, body#index #carousel .carousel-item figure { height: 390px; }
body#index #carousel .carousel-inner { margin: 0; }
body#index #carousel .carousel-item figure { position: relative; margin: 0; overflow: hidden; }
body#index #carousel .carousel-item figure::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(33,39,41,.94) 0%, rgba(33,39,41,.82) 34%, rgba(33,39,41,.12) 75%, transparent 100%); }
body#index #carousel .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
body#index #carousel .carousel-item .caption { position: absolute; z-index: 2; left: 7%; top: 50%; bottom: auto; width: min(470px, 54%); max-width: none; padding: 0; transform: translateY(-50%); text-align: left; color: #fff; }
body#index #carousel .tm-home-hero-copy .tm-home-eyebrow { color: #ffd2a9; }
body#index #carousel .tm-home-hero-copy h2 { margin: 10px 0 12px; color: #fff; font-size: clamp(31px, 3.2vw, 43px); line-height: 1.16; font-weight: 700; letter-spacing: -.035em; text-transform: none; }
body#index #carousel .tm-home-hero-copy p { max-width: 390px; margin: 0 0 25px; color: #f3eee9; font-size: 15px; line-height: 1.65; }
body#index #carousel .tm-home-hero-cta { display: inline-flex; align-items: center; gap: 9px; min-height: 43px; padding: 10px 16px; border-radius: 7px; background: #ef7d00; color: #fff; font-size: 13px; font-weight: 700; }
body#index #carousel .tm-home-hero-cta .material-icons { font-size: 17px; }
body#index #carousel a:hover .tm-home-hero-cta { background: #cf6800; }
body#index #carousel .direction { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; }
body#index #carousel .carousel-control { display: flex; align-items: center; justify-content: center; z-index: 3; top: 50%; bottom: auto; width: 38px; height: 38px; opacity: 1; transform: translateY(-50%); background: none; pointer-events: auto; }
body#index #carousel .carousel-control.left { left: 14px; right: auto; }
body#index #carousel .carousel-control.right { right: 14px; left: auto; }
body#index #carousel .carousel-control .icon-prev, body#index #carousel .carousel-control .icon-next { position: static; display: grid; place-items: center; width: 38px; height: 38px; margin: 0; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(33,39,41,.25); color: #fff; transform: none; }
body#index #carousel .carousel-control .material-icons { font-size: 23px; line-height: 1; }
body#index #carousel .carousel-control .icon-prev::before, body#index #carousel .carousel-control .icon-next::before { content: none; }
body#index #carousel .carousel-control .icon-prev:hover, body#index #carousel .carousel-control .icon-next:hover { background: #fff; color: #a84c00; }
body#index #carousel .carousel-indicators { position: absolute; display: flex; align-items: center; justify-content: center; z-index: 3; bottom: 17px; left: 50%; width: auto; height: 8px; margin: 0; padding: 0; transform: translateX(-50%); }
body#index #carousel .carousel-indicators li { flex: 0 0 20px; width: 20px; height: 5px; margin: 0 4px; border: 0; border-radius: 10px; background: rgba(255,255,255,.65); cursor: pointer; }
body#index #carousel .carousel-indicators li.active { flex-basis: 32px; width: 32px; background: #ef7d00; }

body#index [data-type=popularproducts] { margin: 0; }
body#index .tm-home-sale-banner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 184px; margin: 0; padding: 28px 46px; border: 1px solid #e8d5c1; border-radius: 12px; background: radial-gradient(circle at 89% 30%, #ffe3bd 0, transparent 28%), linear-gradient(115deg, #fff7ec 0%, #f8ead9 100%); color: #31271d; text-decoration: none; overflow: hidden; }
body#index .tm-home-sale-banner:hover { border-color: #d6a16e; color: #31271d; text-decoration: none; }
body#index .tm-home-sale-copy { display: flex; flex-direction: column; gap: 7px; }
body#index .tm-home-sale-copy strong { max-width: 480px; color: #33291f; font-size: clamp(23px, 2.6vw, 33px); line-height: 1.2; letter-spacing: -.035em; }
body#index .tm-home-sale-copy > span:last-child { color: #77695e; font-size: 14px; }
body#index .tm-home-sale-offer { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; color: #b85100; }
body#index .tm-home-sale-offer strong { font-size: clamp(31px, 4vw, 51px); line-height: 1; letter-spacing: -.06em; }
body#index .tm-home-sale-offer small { font-size: 15px; letter-spacing: .04em; }
body#index .tm-home-sale-offer > span { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; }
body#index .tm-home-sale-offer .material-icons { font-size: 16px; }

body#index .tm-home-discover { display: grid; grid-template-columns: minmax(220px,.9fr) minmax(0,1.4fr); align-items: center; gap: 30px; margin: 0; padding: 27px 30px; border: 1px solid #e6e1da; border-radius: 12px; background: #fff; }
body#index #custom-text .tm-home-discover-intro { text-align: left; }
body#index #custom-text h2 { margin: 6px 0 8px; color: #252525; font-size: 23px; line-height: 1.25; font-weight: 600; letter-spacing: -.03em; text-align: left; text-transform: none !important; }
body#index .tm-home-discover p { max-width: 360px; margin: 0; color: #746d65; font-size: 13px; line-height: 1.65; }
body#index .tm-home-discover-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
body#index .tm-home-discover-links a { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 110px; padding: 15px; border: 1px solid #ece3d9; border-radius: 9px; background: #faf7f2; color: #38312a; font-size: 13px; font-weight: 600; text-decoration: none; }
body#index .tm-home-discover-links a:hover { border-color: #d7aa80; background: #fff2e5; color: #a84c00; }
body#index .tm-home-discover-links a > .material-icons:first-child { color: #b85100; font-size: 23px; }
body#index .tm-home-discover-links .tm-home-link-arrow { align-self: flex-end; margin-top: -31px; color: #b85100; font-size: 17px; }

body#index .tm-home-products { clear: both; margin: 0; padding: 25px 28px 28px; border: 1px solid #e6e1da; border-radius: 12px; background: #fff; }
body#index .tm-home-section-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 19px; padding-bottom: 16px; border-bottom: 1px solid #eee9e2; }
body#index .tm-home-section-header h2 { margin: 3px 0 0; color: #252525; font-size: 21px; line-height: 1.3; font-weight: 600; text-transform: none; letter-spacing: -.02em; }
body#index .tm-home-section-header .all-product-link { display: inline-flex; align-items: center; gap: 2px; flex-shrink: 0; margin: 0; color: #a84c00; font-size: 13px; line-height: 1.5; font-weight: 600; text-decoration: none; }
body#index .tm-home-section-header .all-product-link:hover { color: #d26800; }
body#index .tm-home-section-header .all-product-link .material-icons { font-size: 19px; }
body#index .tm-home-products .products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; margin: 0; }
body#index .tm-home-products .js-product { float: none; width: auto; max-width: none; min-width: 0; margin: 0; padding: 0; }
body#index .tm-home-products .product-miniature { height: 100%; margin: 0; }
body#index .tm-home-products .thumbnail-container { display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 0; margin: 0; overflow: hidden; border: 1px solid #e9e1d8; border-radius: 10px; background: #faf7f2; box-shadow: none; transition: border-color .15s, box-shadow .15s; }
body#index .tm-home-products .thumbnail-container:hover { border-color: #d7aa80; box-shadow: 0 5px 18px rgba(45,31,17,.07); }
body#index .tm-home-products .thumbnail-top { position: relative; width: 100%; height: auto; aspect-ratio: 1/1; overflow: hidden; background: #f7f4f0; }
body#index .tm-home-products .product-thumbnail, body#index .tm-home-products .product-thumbnail picture { display: block; width: 100%; height: 100%; margin: 0; }
body#index .tm-home-products .product-thumbnail img { display: block; width: 100%; height: 100%; object-fit: contain; }
body#index .tm-home-products .product-description { position: static; display: flex; flex: 1 0 auto; flex-direction: column; width: 100%; height: auto; min-height: 82px; margin: 0; padding: 11px 13px 13px; border-top: 1px solid #eee5db; background: #faf7f2; }
body#index .tm-home-products .product-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 20px; margin: 0 0 6px; text-align: left; line-height: 1.4; }
body#index .tm-home-products .product-title a { color: #35302b; font-size: 14px; font-weight: 500; }
body#index .tm-home-products .product-title a:hover { color: #b85100; }
body#index .tm-home-products .product-price-and-shipping { margin-top: auto; text-align: left; color: #b85100; font-size: 16px; line-height: 1.4; }
body#index .tm-home-products .product-price-and-shipping .regular-price { color: #8b837a; font-size: 13px; }
body#index .tm-home-products .product-list-reviews { position: static; min-height: 0; margin: 8px 0 0; padding: 0; background: none; }
body#index .tm-home-products .product-list-reviews:empty, body#index .tm-home-products .product-list-reviews:has(.grade-stars:empty):has(.comments-nb:empty) { display: none; }
body#index .tm-home-products .product-flags { top: 10px; left: 10px; width: auto; max-width: calc(100% - 60px); margin: 0; gap: 6px; }
body#index .tm-home-products .product-flags li.product-flag { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 27px; margin: 0 0 5px; padding: 0 7px; border: 1px solid #eddcca; border-radius: 5px; background: #fff8ef; color: #a64a00; box-shadow: none; text-align: center; font-size: 10px; line-height: 1; font-weight: 600; letter-spacing: .03em; }
body#index .tm-home-products .wishlist-button-add { top: 10px; right: 10px; left: auto; width: 34px; height: 34px; border: 1px solid #eee9e2; background: #ffffffed; box-shadow: none; }
body#index .tm-home-products .wishlist-button-add i { font-size: 20px; }
body#index .tm-home-products .highlighted-informations { width: 100%; }
body#index .tm-home-products .thumbnail-container:hover .product-description { top: auto; transform: none; }
body#index .tm-home-products .thumbnail-top .highlighted-informations { position: absolute; inset: auto 0 0; z-index: 2; width: 100%; height: auto; min-height: 43px; padding: 7px 10px; border-top: 1px solid #e9e1d8; background: rgba(250,247,242,.97); opacity: 0; transform: translateY(100%); transition: opacity .18s ease, transform .18s ease; }
body#index .tm-home-products .thumbnail-container:hover .thumbnail-top .highlighted-informations,
body#index .tm-home-products .thumbnail-container:focus-within .thumbnail-top .highlighted-informations { opacity: 1; transform: translateY(0); }
body#index .tm-home-products .thumbnail-top .highlighted-informations .quick-view { display: inline-flex; align-items: center; justify-content: center; gap: 4px; width: 100%; margin: 0; font-size: 12px; }
body#index .tm-home-products .thumbnail-top .highlighted-informations .variant-links { margin: 4px 0 0; }

body#index .tm-home-products--compact .products { grid-template-columns: repeat(2,minmax(0,1fr)); }
body#index .tm-home-products--compact .thumbnail-container { display: grid; grid-template-columns: 46% minmax(0,1fr); min-height: 245px; }
body#index .tm-home-products--compact .thumbnail-top { height: 100%; aspect-ratio: auto; }
body#index .tm-home-products--compact .product-description { justify-content: center; min-height: 0; padding: 22px; border-top: 0; border-left: 1px solid #eee5db; }
body#index .tm-home-products--compact .product-title { margin-bottom: 12px; }
body#index .tm-home-products--compact .product-title a { font-size: 16px; font-weight: 600; }
body#index .tm-home-products--compact .product-price-and-shipping { margin-top: 0; font-size: 19px; }
body#index .tm-home-products--compact .product-flags { top: 11px; left: 11px; }
body#index [data-type=bestsellers] .products:has(.js-product:only-child) { grid-template-columns: minmax(0,1fr); }
body#index [data-type=bestsellers] .products:has(.js-product:only-child) .thumbnail-container { max-width: none; grid-template-columns: 35% minmax(0,1fr); height: 270px; min-height: 0; }
body#index [data-type=bestsellers] .products:has(.js-product:only-child) .thumbnail-top { height: 268px; min-height: 0; overflow: hidden; }
body#index [data-type=bestsellers] .products:has(.js-product:only-child) .product-description { align-items: flex-start; }

body#index #footer { padding-top: 26px; }
body#index #footer .block_newsletter { border-radius: 12px; }
body#index .footer-container { padding-top: 35px; }

@media (max-width: 991px) {
  body#index .tm-home-discover { grid-template-columns: 1fr; }
  body#index .tm-home-products .products { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767px) {
  body#index #content { gap: 18px; }
  body#index #carousel .carousel-inner, body#index #carousel .carousel-item, body#index #carousel .carousel-item figure { height: 360px; }
  body#index #carousel .carousel-item .caption { left: 8%; width: 78%; }
  body#index #carousel .carousel-item figure::after { background: linear-gradient(90deg, rgba(33,39,41,.91), rgba(33,39,41,.28)); }
  body#index .tm-home-sale-banner { padding: 25px; }
  body#index .tm-home-discover-links { gap: 8px; }
  body#index .tm-home-products--compact .thumbnail-container { grid-template-columns: 43% minmax(0,1fr); min-height: 190px; }
}
@media (max-width: 575px) {
  body#index #carousel .carousel-inner, body#index #carousel .carousel-item, body#index #carousel .carousel-item figure { height: 340px; }
  body#index #carousel .carousel-item .caption { left: 8%; width: 84%; }
  body#index #carousel .tm-home-hero-copy h2 { font-size: 28px; }
  body#index #carousel .tm-home-hero-copy p { font-size: 13px; }
  body#index #carousel .carousel-control { top: calc(100% - 44px); bottom: auto; width: 32px; height: 32px; transform: none; }
  body#index #carousel .carousel-control.left { left: 10px; }
  body#index #carousel .carousel-control.right { right: 10px; }
  body#index #carousel .carousel-control .icon-prev, body#index #carousel .carousel-control .icon-next { width: 32px; height: 32px; }
  body#index #carousel .carousel-indicators { bottom: 24px; }
  body#index .tm-home-sale-banner { gap: 10px; padding: 22px; }
  body#index .tm-home-sale-copy strong { font-size: 23px; }
  body#index .tm-home-sale-copy > span:last-child { font-size: 12px; }
  body#index .tm-home-sale-offer strong { font-size: 29px; }
  body#index .tm-home-sale-offer small { font-size: 11px; }
  body#index .tm-home-discover { padding: 22px 18px; }
  body#index .tm-home-discover-links { grid-template-columns: 1fr; }
  body#index .tm-home-discover-links a { flex-direction: row; align-items: center; min-height: 58px; }
  body#index .tm-home-discover-links .tm-home-link-arrow { align-self: auto; margin: 0 0 0 auto; }
  body#index .tm-home-products { padding: 20px 16px; }
  body#index .tm-home-section-header { gap: 8px; }
  body#index .tm-home-section-header h2 { font-size: 17px; }
  body#index .tm-home-section-header .all-product-link { font-size: 12px; }
  body#index .tm-home-products .products { gap: 12px; }
  body#index .tm-home-products .product-description { padding: 10px; }
  body#index .tm-home-products--compact .products, body#index [data-type=bestsellers] .products:has(.js-product:only-child) { grid-template-columns: 1fr; }
  body#index .tm-home-products--compact .thumbnail-container, body#index [data-type=bestsellers] .products:has(.js-product:only-child) .thumbnail-container { grid-template-columns: 40% minmax(0,1fr); min-height: 160px; }
  body#index .tm-home-products--compact .product-description { padding: 12px; }
  body#index .tm-home-products--compact .product-title a { font-size: 13px; }
  body#index .tm-home-products--compact .product-price-and-shipping { font-size: 15px; }
}
@media (max-width: 390px) {
  body#index .tm-home-sale-banner { flex-direction: column; align-items: flex-start; }
  body#index .tm-home-sale-offer { align-items: flex-start; }
}
@media (max-width: 330px) { body#index [data-type=newproducts] .products { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { body#index .tm-home-products .thumbnail-container { transition: none; } }
@media (prefers-reduced-motion: reduce) { body#index .tm-home-products .thumbnail-top .highlighted-informations { transition: none; } }
