/* Homepage favorites only. Toggle $modernFeaturedProducts to restore the original. */
.home-favorites{margin:16px 0 28px;padding:12px 0;background:transparent;color:#29241f;font-family:Manrope,"Segoe UI",Arial,sans-serif;text-align:left;border-radius:0}
.home-favorites .home-favorites__heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.home-favorites .home-favorites__heading h2{margin:0;color:var(--severa-brand-brown,#ad6819);font:600 clamp(1.1rem,2vw,1.4rem)/1.3 Manrope,"Segoe UI",Arial,sans-serif;letter-spacing:-.025em;text-shadow:none}
.home-favorites .home-favorites__heading>a{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:#71675d;font-size:.76rem;text-decoration:none;white-space:nowrap}
.home-favorites .home-favorites__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;justify-content:space-between}
.home-favorites .home-favorites__card{display:flex;flex-direction:column;align-items:stretch;box-sizing:border-box;width:100%;min-width:0;max-width:none;min-height:0;margin:0;padding:14px;border:1px solid #e5d9cb;border-radius:0;background:#fffaf4;color:#29241f;text-decoration:none;text-align:left;box-shadow:none;transform:none}
.home-favorites .home-favorites__card:hover{background:#fffaf4;border-color:#bda58d;box-shadow:none;transform:none}
.home-favorites .home-favorites__media{display:block;position:relative;width:100%;height:190px;flex:none;margin:0 0 16px;background:#fff;border-radius:0;overflow:visible}
.home-favorites .home-favorites__media img{display:block;width:100%;height:190px;max-height:190px;min-height:0;box-sizing:border-box;padding:20px 12px 0;object-fit:contain;margin:0;border:0;border-radius:0;box-shadow:none;filter:none;transform:none}
.home-favorites .home-favorites__price{margin:0 0 8px;color:#29241f;font-size:1.3rem;font-weight:700;line-height:1.3;font-variant-numeric:tabular-nums}
.home-favorites .home-favorites__price small{color:#71675d;font-size:.72rem;font-weight:400}
.home-favorites .home-favorites__card h3{margin:0 0 6px;padding:0;background:none;color:#29241f;font:500 .88rem/1.4 Manrope,"Segoe UI",Arial,sans-serif;letter-spacing:0;text-align:left;border:0;border-radius:0;box-shadow:none}
.home-favorites .home-favorites__description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0 0 16px;color:#71675d;font-size:.74rem;line-height:1.5;text-align:left}
.home-favorites .home-favorites__card .sqc-actions{display:block;width:100%;margin:auto 0 0;padding:0}
.home-favorites .home-favorites__card .sqc-add,.home-favorites .home-favorites__card>.btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;height:auto;box-sizing:border-box;margin:auto 0 0;padding:10px 8px;border:1px solid var(--severa-brand-brown,#ad6819);border-radius:0;background:var(--severa-brand-brown,#ad6819);color:#fff;font:600 .78rem/1.3 Manrope,"Segoe UI",Arial,sans-serif;text-align:center;text-decoration:none;box-shadow:none;transform:none;cursor:pointer;transition:background-color .18s ease,border-color .18s ease}
.home-favorites .home-favorites__card .sqc-add:hover,.home-favorites .home-favorites__card>.btn:hover{background:var(--severa-brand-brown-hover,#955510);border-color:var(--severa-brand-brown-hover,#955510);box-shadow:none;transform:none}
.home-favorites .home-favorites__card .sqc-add:disabled{opacity:.65;cursor:wait}
.home-favorites :is(a,button):focus-visible{outline:2px solid #846c56;outline-offset:3px}
.home-favorites .product-label{max-width:calc(100% - 12px);font-family:inherit;font-size:.58rem;line-height:1.3;border-radius:0;padding:4px 8px;box-shadow:none}
@media(max-width:900px){.home-favorites{padding:12px 0}.home-favorites .home-favorites__grid{gap:18px}.home-favorites .home-favorites__media,.home-favorites .home-favorites__media img{height:160px;max-height:160px}}
@media(max-width:600px){.home-favorites{margin:12px 0 24px;padding:10px 0}.home-favorites .home-favorites__heading{gap:8px;margin-bottom:12px;flex-wrap:wrap}.home-favorites .home-favorites__heading h2{font-size:1.08rem}.home-favorites .home-favorites__heading>a{font-size:.7rem}.home-favorites .home-favorites__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}.home-favorites .home-favorites__card{padding:8px;border-radius:0}.home-favorites .home-favorites__media,.home-favorites .home-favorites__media img{height:160px;max-height:160px}.home-favorites .home-favorites__media{margin-bottom:10px}.home-favorites .home-favorites__media img{padding:18px 0 0}.home-favorites .home-favorites__card h3{font-size:.78rem}.home-favorites .home-favorites__price{font-size:1.1rem}.home-favorites .home-favorites__description{font-size:.7rem;margin-bottom:12px}.home-favorites .home-favorites__card .sqc-add,.home-favorites .home-favorites__card>.btn{font-size:.7rem;padding:8px 4px}.home-favorites .product-label{font-size:.5rem;padding:3px 6px}}
@media(prefers-reduced-motion:reduce){.home-favorites .home-favorites__card .sqc-add,.home-favorites .home-favorites__card>.btn{transition:none}}
/* Stretch the product link over the whole card, keeping the purchase button separate. */
.home-favorites .home-favorites__card{position:relative;isolation:isolate}
.home-favorites .home-favorites__card .sqc-main::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit}
.home-favorites .home-favorites__card .sqc-add{position:relative;z-index:2}
.home-favorites .home-favorites__card:has(.sqc-main:focus-visible){outline:2px solid var(--severa-brand-brown,#ad6819);outline-offset:3px}
.home-favorites .home-favorites__media{border-radius:0}
.home-favorites .home-favorites__description{min-height:3em}
.home-favorites .home-favorites__price{color:#716354}
/* Compact the homepage top only while favorites lead and the intro is hidden. */
main.container > .hero:has(> .hero-inner > .home-favorites):not(:has(.homepage-intro)){padding-top:0}
.hero-inner:has(> .home-favorites):not(:has(> .homepage-intro)){padding-top:12px}
.hero-inner:not(:has(> .homepage-intro)) > .home-favorites{margin-top:0;padding-top:0}
/* Readable mobile product information. */
@media (max-width:600px) {
  .home-favorites .home-favorites__card h3 {
    font-size:15px;
    font-weight:600;
    line-height:1.4;
    margin-bottom:8px;
  }
  .home-favorites .home-favorites__description {
    font-size:14px;
    line-height:1.5;
    color:#625448;
  }
  .home-favorites .product-label {
    max-width:100%;
    font-size:11px;
    font-weight:600;
    line-height:1.3;
    padding:4px 6px;
  }
  .home-favorites .home-favorites__media img {padding-top:32px}
  .home-favorites .home-favorites__media,
  .home-favorites .home-favorites__media img {height:174px;max-height:174px}
}
/* Mobile favorites: a wider card plus a visible preview of the next product. */
@media (max-width:600px) {
  .home-favorites .home-favorites__grid {
    grid-template-columns:none;
    grid-auto-flow:column;
    grid-auto-columns:76%;
    justify-content:start;
    gap:12px;
    overflow-x:auto;
    overscroll-behavior:auto;
    scroll-snap-type:x proximity;
    scroll-padding-inline:2px;
    padding:2px 2px 10px;
    scrollbar-width:none;
    scrollbar-color:#bda58d transparent;
    -webkit-overflow-scrolling:touch;
  }
  .home-favorites .home-favorites__card {
    padding:12px;
    scroll-snap-align:start;
    scroll-margin-inline:2px;
  }
  .home-favorites .home-favorites__media,
  .home-favorites .home-favorites__media img {height:300px;max-height:300px}
  .home-favorites .home-favorites__card h3 {font-size:16px}
  .home-favorites .home-favorites__price {font-size:1.25rem}
  .home-favorites .home-favorites__card .sqc-add,
  .home-favorites .home-favorites__card>.btn {font-size:14px;min-height:46px}
}
@media(max-width:600px){
  .home-favorites .home-favorites__grid{touch-action:pan-x pan-y pinch-zoom}
  .home-favorites .home-favorites__grid::-webkit-scrollbar{display:none;width:0;height:0}
  .home-favorites .home-favorites__grid.is-dragging{scroll-snap-type:none;cursor:grabbing;user-select:none}
  .home-favorites .home-favorites__media img{-webkit-user-drag:none}
}
/* A real link box lets browsers route touch scrolling to the enclosing rail. */
.home-favorites .home-favorites__card .sqc-main{
  display:flex;
  flex-direction:column;
  flex:1;
  min-width:0;
  color:inherit;
  text-decoration:none;
}
/* Space homepage categories independently of the leading favorites block. */
.hero-inner > .home-favorites.home-category-products{margin-top:32px}

/* Category collections remain horizontal rails on desktop as well as mobile. */
@media(min-width:601px){
  .home-category-products .home-favorites__grid{
    grid-template-columns:none;
    grid-auto-flow:column;
    grid-auto-columns:calc((100% - 44px)/3.15);
    justify-content:start;
    overflow-x:auto;
    scroll-snap-type:x proximity;
    scroll-padding-inline:2px;
    padding:2px 2px 10px;
    scrollbar-width:none;
    scrollbar-color:#bda58d transparent;
  }
  .home-category-products .home-favorites__card{scroll-snap-align:start}
}
.home-category-products .home-favorites__grid.is-dragging{scroll-snap-type:none;cursor:grabbing;user-select:none}
/* Stronger product-name hierarchy across the three homepage collections. */
.home-favorites .home-favorites__card h3{
  font-size:18px;
  font-weight:700;
  line-height:1.35;
  color:#3d2d20;
  margin-bottom:8px;
}
@media(max-width:600px){
  .home-favorites .home-favorites__card h3{font-size:17px}
}
/* Give the short description more presence and keep prices understated. */
.home-favorites .home-favorites__description{
  font-size:15px;
  line-height:1.55;
  font-weight:400;
  color:#574b40;
  min-height:3.1em;
}
.home-favorites .home-favorites__price{
  font-size:18px;
  font-weight:600;
}
/* Hide category scrollbars on desktop too, retaining horizontal navigation. */
.home-category-products .home-favorites__grid::-webkit-scrollbar{display:none;width:0;height:0}

/* One purchase button for homepage collections and the catalog, at every width. */
.home-favorites .home-favorites__card .sqc-add{
  display:flex;align-items:center;justify-content:center;gap:8px;
  min-height:44px;padding:10px 12px;
  border:1px solid #b8782b;border-radius:6px;
  background:#b8782b;color:#fff;
  font:600 14px/1.3 Manrope,"Segoe UI",Arial,sans-serif;
  white-space:nowrap;box-shadow:none;
}
.home-favorites .home-favorites__card .sqc-add svg{display:block;width:18px;height:18px;flex:0 0 18px}
.home-favorites .product-add-label{white-space:nowrap}
.home-favorites .home-favorites__card .sqc-add:hover{background:#ad6819;border-color:#ad6819;transform:none}
.home-favorites .home-favorites__card .sqc-add:active{background:#955510;border-color:#955510}
/* Slightly shorter homepage cards; catalog dimensions remain independent. */
.hero-inner > .home-favorites .home-favorites__card{padding:12px}
.hero-inner > .home-favorites .home-favorites__media{margin-bottom:12px}
.hero-inner > .home-favorites .home-favorites__media,
.hero-inner > .home-favorites .home-favorites__media img{height:174px;max-height:174px}
.hero-inner > .home-favorites .home-favorites__description{margin-bottom:10px}
@media(min-width:601px) and (max-width:900px){
  .hero-inner > .home-favorites .home-favorites__media,
  .hero-inner > .home-favorites .home-favorites__media img{height:150px;max-height:150px}
}
@media(max-width:600px){
  .hero-inner > .home-favorites .home-favorites__card{padding:10px}
  .hero-inner > .home-favorites .home-favorites__media{margin-bottom:8px}
  .hero-inner > .home-favorites .home-favorites__media,
  .hero-inner > .home-favorites .home-favorites__media img{height:264px;max-height:264px}
}