/* TradesFolks 18.4.119 — Festive Sourcing Spotlight
   Reference-led Raksha Bandhan commerce block:
   upper festival artwork + lower rounded sourcing cards. */

.tf-homepage .tf-festive-sourcing{
  padding:14px 0 16px!important;
  background:#f6f8fb!important;
}

.tf-homepage .tf-festive-sourcing>.shell{
  width:calc(100% - 56px)!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:0!important;
}

.tf-homepage .tf-festive-sourcing-frame{
  position:relative!important;
  overflow:hidden!important;
  border:1px solid #e1b0a6!important;
  border-radius:22px!important;
  background:
    linear-gradient(180deg,#a81918 0%,#c62518 54%,#ef6a25 100%)!important;
  box-shadow:0 14px 34px rgba(85,24,18,.11)!important;
}

/* Upper festive campaign banner */
.tf-homepage .tf-festive-sourcing-hero{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  min-height:270px!important;
  padding:28px 34px!important;
  overflow:hidden!important;
  background:
    linear-gradient(90deg,rgba(87,6,9,.94) 0%,rgba(120,13,13,.72) 34%,rgba(120,13,13,.14) 63%,rgba(120,13,13,.04) 100%),
    var(--tf-festive-art),
    radial-gradient(circle at 75% 30%,#f4a45d,#9b1515 72%)!important;
  background-size:cover!important;
  background-position:center!important;
  text-decoration:none!important;
  box-sizing:border-box!important;
}

.tf-homepage .tf-festive-sourcing-hero:after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:-1px!important;
  height:17px!important;
  background:linear-gradient(180deg,transparent,rgba(123,10,9,.28))!important;
  pointer-events:none!important;
}

.tf-homepage .tf-festive-sourcing-copy{
  position:relative!important;
  z-index:2!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  width:min(540px,44%)!important;
  color:#fff!important;
}

.tf-homepage .tf-festive-sourcing-copy>span{
  display:inline-flex!important;
  align-items:center!important;
  min-height:27px!important;
  padding:0 10px!important;
  border:1px solid rgba(255,211,93,.7)!important;
  border-radius:999px!important;
  background:rgba(76,6,8,.38)!important;
  color:#ffd86c!important;
  font-size:6.5px!important;
  font-weight:950!important;
  letter-spacing:.075em!important;
  text-transform:uppercase!important;
}

.tf-homepage .tf-festive-sourcing-copy h2{
  max-width:520px!important;
  margin:10px 0 6px!important;
  color:#fff!important;
  font-size:clamp(32px,3vw,52px)!important;
  font-weight:950!important;
  line-height:.95!important;
  letter-spacing:-.05em!important;
  text-shadow:0 3px 16px rgba(61,0,0,.18)!important;
}

.tf-homepage .tf-festive-sourcing-copy p{
  display:-webkit-box!important;
  max-width:500px!important;
  margin:0 0 12px!important;
  overflow:hidden!important;
  color:rgba(255,255,255,.86)!important;
  font-size:9px!important;
  line-height:1.4!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
}

.tf-homepage .tf-festive-sourcing-copy>strong{
  display:inline-flex!important;
  align-items:center!important;
  min-height:38px!important;
  padding:0 14px!important;
  border-radius:10px!important;
  background:#fff7db!important;
  color:#8f1613!important;
  box-shadow:0 8px 18px rgba(75,0,0,.14)!important;
  font-size:7.5px!important;
  font-weight:950!important;
}

.tf-homepage .tf-festive-sourcing-copy>strong b{
  margin-left:8px!important;
  font-size:13px!important;
}

/* Lower sourcing tiles */
.tf-homepage .tf-festive-sourcing-tiles{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  padding:15px 18px 18px!important;
}

.tf-homepage .tf-festive-sourcing-tile{
  position:relative!important;
  display:grid!important;
  grid-template-rows:132px 42px!important;
  min-width:0!important;
  overflow:hidden!important;
  border:1px solid rgba(255,244,221,.7)!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#fff8e9 0%,#fff3dd 100%)!important;
  box-shadow:0 8px 18px rgba(103,16,10,.10)!important;
  text-decoration:none!important;
  transition:transform .18s ease,box-shadow .18s ease!important;
}

.tf-homepage .tf-festive-sourcing-tile:hover{
  transform:translateY(-3px)!important;
  box-shadow:0 13px 24px rgba(103,16,10,.14)!important;
}

.tf-homepage .tf-festive-sourcing-tile-media{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  background:#fffdf7!important;
}

.tf-homepage .tf-festive-sourcing-tile-media img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  padding:10px!important;
  box-sizing:border-box!important;
}

.tf-homepage .tf-festive-sourcing-tile-media i{
  display:grid!important;
  place-items:center!important;
  width:52px!important;
  height:52px!important;
  border-radius:50%!important;
  background:#ffe6ae!important;
  color:#9a1712!important;
  font-size:11px!important;
  font-style:normal!important;
  font-weight:950!important;
}

.tf-homepage .tf-festive-sourcing-tile>strong{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 32px 0 12px!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,#b61c18,#98100e)!important;
  color:#fff!important;
  font-size:9px!important;
  font-weight:900!important;
  line-height:1.1!important;
  text-align:center!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}

.tf-homepage .tf-festive-sourcing-arrow{
  position:absolute!important;
  right:9px!important;
  bottom:8px!important;
  display:grid!important;
  place-items:center!important;
  width:25px!important;
  height:25px!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#a11412!important;
  font-size:13px!important;
  font-weight:950!important;
  box-shadow:0 3px 8px rgba(80,8,7,.12)!important;
}

/* tablet */
@media(min-width:821px) and (max-width:1100px){
  .tf-homepage .tf-festive-sourcing-hero{
    min-height:240px!important;
    padding:24px 28px!important;
  }
  .tf-homepage .tf-festive-sourcing-tile{
    grid-template-rows:112px 40px!important;
  }
}

/* mobile / compact */
@media(max-width:820px){
  .tf-homepage .tf-festive-sourcing{
    padding:10px 0 12px!important;
  }

  .tf-homepage .tf-festive-sourcing>.shell{
    width:calc(100% - 16px)!important;
  }

  .tf-homepage .tf-festive-sourcing-frame{
    border-radius:16px!important;
  }

  .tf-homepage .tf-festive-sourcing-hero{
    align-items:flex-end!important;
    min-height:210px!important;
    padding:18px 14px!important;
    background:
      linear-gradient(180deg,rgba(86,6,8,.04) 0%,rgba(86,6,8,.20) 38%,rgba(86,6,8,.84) 100%),
      var(--tf-festive-art),
      linear-gradient(135deg,#9d1714,#e35f28)!important;
    background-size:cover!important;
    background-position:center!important;
  }

  .tf-homepage .tf-festive-sourcing-copy{
    width:100%!important;
  }

  .tf-homepage .tf-festive-sourcing-copy>span{
    min-height:22px!important;
    padding-inline:8px!important;
    font-size:5.3px!important;
  }

  .tf-homepage .tf-festive-sourcing-copy h2{
    max-width:88%!important;
    margin:6px 0 4px!important;
    font-size:26px!important;
    line-height:.98!important;
  }

  .tf-homepage .tf-festive-sourcing-copy p{
    max-width:90%!important;
    margin-bottom:8px!important;
    font-size:6.6px!important;
    -webkit-line-clamp:2!important;
  }

  .tf-homepage .tf-festive-sourcing-copy>strong{
    min-height:31px!important;
    padding-inline:10px!important;
    font-size:6px!important;
  }

  .tf-homepage .tf-festive-sourcing-tiles{
    display:flex!important;
    grid-template-columns:none!important;
    gap:8px!important;
    padding:10px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
  }

  .tf-homepage .tf-festive-sourcing-tiles::-webkit-scrollbar{
    display:none!important;
  }

  .tf-homepage .tf-festive-sourcing-tile{
    flex:0 0 43vw!important;
    width:43vw!important;
    min-width:43vw!important;
    max-width:43vw!important;
    grid-template-rows:104px 38px!important;
    border-radius:14px!important;
    scroll-snap-align:start!important;
  }

  .tf-homepage .tf-festive-sourcing-tile>strong{
    padding:0 29px 0 9px!important;
    font-size:7px!important;
  }

  .tf-homepage .tf-festive-sourcing-arrow{
    right:7px!important;
    bottom:7px!important;
    width:23px!important;
    height:23px!important;
    font-size:12px!important;
  }
}

@media(max-width:420px){
  .tf-homepage .tf-festive-sourcing-hero{
    min-height:195px!important;
  }
  .tf-homepage .tf-festive-sourcing-copy h2{
    font-size:23px!important;
  }
  .tf-homepage .tf-festive-sourcing-tile{
    flex-basis:45vw!important;
    width:45vw!important;
    min-width:45vw!important;
    max-width:45vw!important;
    grid-template-rows:96px 36px!important;
  }
}
