/* ALGARDENS V7.6 — Carousel style based on the user-supplied HTML.
   Scope: homepage hero/product shelf only. Product data, order, links,
   detail dialogs and the rest of the site remain unchanged. */
:root { --ag-strip-h: 222px; --ag-strip-bg: #101113; }
.hero {
  display:flex;
  flex-direction:column;
  height:100svh;
  min-height:750px;
  max-height:none;
  background:var(--ag-strip-bg);
  overflow:hidden;
}
.hero-ambient, .hero-shade, .hero-photo {
  bottom:var(--ag-strip-h);
  height:calc(100% - var(--ag-strip-h));
}
.hero-photo {
  top:0; left:0; right:0; width:100%;
  object-fit:cover;
  object-position:center 47%;
}
.hero-shade {
  inset:0 0 var(--ag-strip-h);
  background:
    linear-gradient(90deg,rgba(9,14,17,.93),rgba(10,14,18,.77) 18%,rgba(11,14,17,.53) 35%,rgba(9,13,16,.11) 64%,rgba(9,13,16,.03) 100%),
    linear-gradient(180deg,rgba(8,10,11,.3),transparent 40%,rgba(12,15,16,.24) 70%,var(--ag-strip-bg) 100%);
}
.hero-bottom-fade {
  bottom:var(--ag-strip-h);
  height:122px;
  background:linear-gradient(0deg,var(--ag-strip-bg) 0%,rgba(16,17,19,.78) 38%,transparent 100%);
}
.hero::after { display:none; }
.hero-content { flex:1 1 auto; min-height:0; }
.product-shelf {
  position:relative;
  inset:auto;
  z-index:5;
  flex:0 0 var(--ag-strip-h);
  height:var(--ag-strip-h);
  width:100%;
  padding:8px clamp(18px,2.25vw,44px) 12px;
  background:var(--ag-strip-bg);
  border-top:1px solid rgba(255,255,255,.08);
  box-shadow:none;
}
.shelf-heading {
  height:25px;
  padding:0 47px;
  gap:18px;
  color:#e6e1da;
  font-size:9px;
  letter-spacing:.17em;
  font-weight:600;
}
.shelf-heading-rule { opacity:.52; background:rgba(255,255,255,.22); }
.shelf-layout { grid-template-columns:42px minmax(0,1fr) 42px; gap:8px; }
.carousel-arrow {
  height:36px;width:36px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.40);
  background:rgba(3,4,5,.17);
  color:#f2eee9;
  font-weight:300;font-size:19px;
}
.carousel-arrow:hover {background:rgba(255,255,255,.13);color:#fff;border-color:#d4ad77;transform:none;}
.carousel-viewport {
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 1.6%,#000 98.4%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 1.6%,#000 98.4%,transparent 100%);
}
.carousel-track { gap:9px; align-items:stretch; }
.product-item {
  width:clamp(136px,11.15vw,184px);
  min-width:clamp(136px,11.15vw,184px);
  height:155px;
  gap:0;
  padding:0 4px 4px;
  justify-content:flex-start;
  color:#f6f3ee;
}
.product-visual {height:108px;width:100%;align-items:center;justify-content:center;overflow:visible;isolation:isolate;}
.product-visual img {
  width:100%;height:107px;
  object-fit:contain;
  object-position:center;
  transform-origin:center 65%;
  -webkit-mask-image:radial-gradient(ellipse at 50% 54%,#000 49%,rgba(0,0,0,.86) 63%,transparent 84%);
  mask-image:radial-gradient(ellipse at 50% 54%,#000 49%,rgba(0,0,0,.86) 63%,transparent 84%);
  filter:drop-shadow(0 5px 9px #0009);
  transition:transform .42s cubic-bezier(.2,.7,.2,1),filter .42s ease;
}
.product-visual::before {
  inset:8px 3px 1px;
  background:radial-gradient(ellipse 55% 35% at 50% 77%,rgba(217,176,119,.28),transparent 82%);
  opacity:0;
  transition:opacity .45s ease;
}
.product-visual::after {
  z-index:0;
  bottom:9px;left:20%;right:20%;height:2px;
  background:linear-gradient(90deg,transparent,rgba(224,177,116,.78),transparent);
  box-shadow:0 0 13px 3px rgba(198,144,85,.24),0 -8px 25px 4px rgba(198,144,85,.1);
  opacity:0;
}
.product-item:hover .product-visual img,
.product-item:focus-visible .product-visual img {
  transform:scale(1.085) translateY(-3px);
  filter:brightness(1.09) drop-shadow(0 8px 12px #000a);
}
.product-label {
  font-size:10.5px;
  font-weight:600;
  letter-spacing:.095em;
  line-height:1.25;
  margin-top:5px;
  min-height:30px;
  padding:0 1px;
  text-shadow:none;
}
.product-underline {height:1px;width:40px;background:rgba(255,255,255,.26);margin-top:5px;}
.product-item:hover .product-underline,
.product-item:focus-visible .product-underline,
.product-item.is-active .product-underline {width:52px;background:rgba(222,176,116,.75);}
.shelf-footer {
  padding:5px 46px 0;
  color:#a8a5a1;
  font-size:8px;
  letter-spacing:.15em;
}
.hero + .qualities {border-top:1px solid #242729;}
@media (max-width:900px) {
  :root {--ag-strip-h:210px;}
  .hero {height:100svh;min-height:720px;max-height:none;}
  .hero-photo,.hero-shade,.hero-ambient {height:calc(100% - var(--ag-strip-h));}
  .hero-photo {top:0;left:0;right:0;width:100%;object-position:60% 50%;}
  .hero-content {padding-top:clamp(120px,17vh,190px);}
  .product-shelf {padding:8px 10px 12px;}
  .product-item {width:152px;min-width:152px;height:148px;}
  .product-visual {height:103px;}
  .product-visual img {height:101px;}
  .product-label {font-size:10px;}
}
@media (max-width:620px) {
  :root {--ag-strip-h:195px;}
  .hero {height:100svh;min-height:735px;max-height:none;}
  .hero-content {padding:124px 23px 0;}
  .hero-photo {object-position:63% 50%;}
  .hero-shade {
    background:
      linear-gradient(90deg,rgba(8,13,18,.68),rgba(9,13,16,.23) 78%),
      linear-gradient(180deg,rgba(9,12,14,.40),transparent 43%,var(--ag-strip-bg) 100%);
  }
  .hero-bottom-fade {height:98px;}
  .product-shelf {padding:7px 0 9px;}
  .shelf-heading {padding:0 18px;height:22px;font-size:8px;gap:9px;}
  .shelf-layout {grid-template-columns:32px minmax(0,1fr) 32px;gap:0;}
  .carousel-arrow{height:29px;width:29px;font-size:18px;}
  .carousel-track{gap:7px;}
  .product-item{width:129px;min-width:129px;height:141px;padding:0 2px 3px;}
  .product-visual{height:93px;}
  .product-visual img{height:92px;}
  .product-label{font-size:9px;min-height:30px;margin-top:4px;letter-spacing:.055em;}
  .product-underline{margin-top:4px;}
  .shelf-footer{padding:2px 18px 0;font-size:7px;}
}
@media (hover:none){.product-visual::after{display:none}}
@media (prefers-reduced-motion:reduce){.product-visual img,.product-visual::before,.product-visual::after{transition:none!important}}
