/* Lenstal TEST home: preserve the agreed subcategory links and show native featured products as slider tiles. */
/* The approved category links sit ON the photos, not in a new white row. */
#index .lst-home-catalog .lst-home-card-group {
  position:relative; display:flex; flex-direction:column; min-width:0; overflow:visible;
}
#index .lst-home-catalog .lst-home-card-group > .lst-home-card {
  display:flex; flex-direction:column; width:100%; flex:1 0 auto; min-width:0;
}
#index .lst-home-catalog .lst-home-card-group .lst-home-card__body {
  box-sizing:border-box; height:60px; min-height:60px; flex:0 0 60px;
  padding:9px 14px; align-items:center;
}
#index .lst-home-catalog .lst-home-card-links {
  display:flex !important; position:absolute !important;
  left:12px; right:12px; bottom:calc(60px + 10px);
  z-index:2; visibility:visible !important; opacity:1 !important;
  height:auto !important; max-height:none !important; overflow:visible !important;
  pointer-events:none !important; justify-content:flex-end; align-items:center;
  flex-wrap:wrap; gap:8px; list-style:none; margin:0;
  padding:0 !important; background:transparent !important;
  border:0 !important; border-radius:0 !important;
}
#index .lst-home-catalog .lst-home-card-links li {display:list-item; margin:0; padding:0; list-style:none}
#index .lst-home-catalog .lst-home-card-links a {
  display:inline-flex; align-items:center; justify-content:center; min-height:36px;
  padding:7px 13px; border:1px solid #dce3ee; border-radius:5px;
  color:#123b8f; background:rgba(255,255,255,.97); font-size:13px;
  line-height:1.3; text-decoration:none; font-weight:600;
  box-shadow:0 2px 9px rgba(7,26,69,.16); pointer-events:auto !important;
}
#index .lst-home-catalog .lst-home-card-links a:hover,
#index .lst-home-catalog .lst-home-card-links a:focus-visible {
  border-color:#123b8f; color:#071a45; background:#e7eefc;
}
#index .lst-home-catalog .lst-choice-short {display:none}
#index .lst-home-catalog .lst-choice-full {display:inline}

#index .lst-featured-carousel {
  --lst-featured-gap:18px;
  width:100%; max-width:none; margin:28px 0 38px;
  padding:22px clamp(16px,2.6vw,44px) 16px; background:#fff;
  box-sizing:border-box;
}
#index .lst-featured-carousel *,
#index .lst-featured-carousel *::before,
#index .lst-featured-carousel *::after {box-sizing:border-box}
#index .lst-featured-heading {
  display:flex; justify-content:space-between; align-items:flex-end; gap:14px;
  margin-bottom:20px;
}
#index .lst-featured-heading h2 {margin:0 0 5px; color:#071a45; font-size:clamp(23px,2vw,30px);line-height:1.2}
#index .lst-featured-heading p {margin:0; color:#68748a; font-size:14px;line-height:1.45}
#index .lst-featured-controls {display:flex; align-items:center; flex:none; gap:8px}
#index .lst-featured-arrow {
  display:inline-flex; align-items:center; justify-content:center; width:43px; height:43px;
  padding:0; border:1px solid #dce3ee; border-radius:7px; background:#fff;
  color:#123b8f; font-size:23px; line-height:1; cursor:pointer;
}
#index .lst-featured-arrow:hover:not(:disabled),
#index .lst-featured-arrow:focus-visible {border-color:#123b8f; color:#071a45; background:#f5f7fb}
#index .lst-featured-arrow:disabled {opacity:.36; cursor:default}
#index .lst-featured-track {
  display:grid; grid-auto-flow:column;
  grid-auto-columns:calc((100% - 4 * var(--lst-featured-gap)) / 5);
  grid-template-rows:1fr; gap:var(--lst-featured-gap);
  overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory;
  scroll-padding:2px; scroll-behavior:smooth; padding:2px 2px 16px;
  scrollbar-width:thin; scrollbar-color:#c1cce1 transparent;
}
#index .lst-featured-tile {
  display:flex; flex-direction:column; min-width:0; height:100%; margin:0;
  background:#fff; border:1px solid #dce3ee; border-radius:9px;
  overflow:hidden; box-shadow:0 2px 8px rgba(16,46,112,.045);
  scroll-snap-align:start;
}
#index .lst-featured-tile__image {
  height:165px; width:100%; display:flex; align-items:center; justify-content:center;
  padding:14px; background:#f5f7fb; text-decoration:none;
}
#index .lst-featured-tile__image img {
  display:block; width:100%; height:100%; max-width:100%; max-height:100%;
  object-fit:contain; object-position:center; mix-blend-mode:normal;
}
#index .lst-featured-tile__noimage {font-size:13px;color:#68748a}
#index .lst-featured-tile__content {display:flex;flex:1;flex-direction:column;gap:9px;padding:13px}
#index .lst-featured-tile__title {font-size:14px;line-height:1.4;font-weight:700;margin:0;min-height:79px}
#index .lst-featured-tile__title a {color:#17233c;text-decoration:none}
#index .lst-featured-tile__title a:hover {color:#123b8f;text-decoration:underline}
#index .lst-featured-tile__status {margin:auto 0 0;font-size:14px;color:#68748a}
#index .lst-featured-tile__details {
  display:inline-flex; align-items:center;justify-content:center;gap:6px;
  width:100%; min-height:42px; margin-top:1px; padding:8px 12px;
  border:1px solid #123b8f; border-radius:5px; color:#123b8f;
  background:#fff; font-size:14px; font-weight:600; text-decoration:none;
}
#index .lst-featured-tile__details:hover,
#index .lst-featured-tile__details:focus-visible {color:#fff; background:#123b8f}
@media(max-width:1199px){
  #index .lst-featured-track {grid-auto-columns:calc((100% - 2 * var(--lst-featured-gap)) / 3)}
}
@media(max-width:800px){
  #index .lst-featured-track {grid-auto-columns:calc((100% - var(--lst-featured-gap)) / 2)}
  #index .lst-featured-tile__image {height:175px}
}
@media(max-width:767px){
  #index .lst-home-catalog .lst-choice-full {display:none}
  #index .lst-home-catalog .lst-choice-short {display:inline}
  #index .lst-home-catalog .lst-home-card-links {gap:5px;left:7px;right:7px;bottom:calc(60px + 6px)}
  #index .lst-home-catalog .lst-home-card-links a {min-height:31px;padding:5px 9px;font-size:12px}
  #index .lst-home-catalog .lst-home-card-group .lst-home-card__body {padding:8px 9px}
}
@media(max-width:600px){
  #index .lst-featured-carousel {--lst-featured-gap:12px;padding:20px 15px 12px}
  #index .lst-featured-heading {align-items:flex-start}
  #index .lst-featured-heading p {font-size:12px}
  #index .lst-featured-arrow {width:38px;height:38px}
  #index .lst-featured-track {grid-auto-columns:calc(100% - 34px)}
  #index .lst-featured-tile__image {height:175px}
  #index .lst-featured-tile__title {min-height:0}
  #index .lst-home-catalog .lst-home-card-links {gap:4px;left:6px;right:6px}
  #index .lst-home-catalog .lst-home-card-links a {min-height:29px;padding:5px 7px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){#index .lst-featured-track{scroll-behavior:auto}}

@media(min-width:1200px){
  #index .lst-featured-track:has(> .lst-featured-tile:nth-child(4):last-child){
    grid-auto-columns:calc((100% - 3 * var(--lst-featured-gap)) / 4);
  }
}


/* Lenstal featured curation 2026-11-24: image-fit / compact-cards v2 */
/* Lenstal featured carousel — approved blue layout; no product data substitutions. */
.lst-featured-tile {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid #dce3ee !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 3px 12px rgba(7, 26, 69, .045);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.lst-featured-tile:hover {
  transform: translateY(-3px);
  border-color: #b9c9e8 !important;
  box-shadow: 0 12px 26px rgba(7, 26, 69, .11);
}
.lst-featured-tile__image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box;
  width: 100%;
  height: 198px !important;
  min-height: 198px !important;
  padding: 12px 16px !important;
  background: linear-gradient(180deg, #f9fafc 0%, #f1f4f9 100%) !important;
  overflow: hidden;
  border: 0 !important;
}
.lst-featured-tile__image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 174px !important;
  object-fit: contain !important;
  object-position: center;
  background: #fff;
  border-radius: 6px;
  transition: transform .28s ease;
}
.lst-featured-tile:hover .lst-featured-tile__image img { transform: scale(1.055); }
.lst-featured-tile__content {
  display: flex !important;
  flex-direction: column !important;
  flex: 1;
  gap: 10px !important;
  padding: 14px 15px 15px !important;
  background: #fff;
}
.lst-featured-tile__title {
  margin: 0 !important;
  min-height: 3.75em;
  color: #071a45;
  font-size: 14px !important;
  line-height: 1.48 !important;
  font-weight: 700 !important;
  overflow-wrap: anywhere;
}
.lst-featured-tile__title a { color: #071a45 !important; text-decoration: none !important; }
.lst-featured-tile__title a:hover { color: #123b8f !important; }
.lst-featured-tile__status {
  margin: auto 0 0 !important;
  padding-top: 3px;
  color: #68748a !important;
  font-size: 12px !important;
  line-height: 1.35;
}
.lst-featured-tile__details {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 8px !important;
  margin: 0 !important;
  border: 1px solid #123b8f !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: #102e70 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: background .2s ease, color .2s ease;
}
.lst-featured-tile__details:hover,
.lst-featured-tile__details:focus-visible {
  background: #123b8f !important;
  color: #fff !important;
}
.lst-featured-tile__details span { margin-left: 6px; }
@media (max-width: 1199px) {
  .lst-featured-tile__image { height: 178px !important; min-height: 178px !important; }
  .lst-featured-tile__image img { max-height: 154px !important; }
}
@media (max-width: 600px) {
  .lst-featured-tile__image { height: 174px !important; min-height: 174px !important; padding: 10px 12px !important; }
  .lst-featured-tile__image img { max-height: 150px !important; }
  .lst-featured-tile__content { padding: 12px 13px 14px !important; }
  .lst-featured-tile__title { min-height: 0; font-size: 14px !important; }
  .lst-featured-tile:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lst-featured-tile, .lst-featured-tile__image img, .lst-featured-tile__details { transition: none !important; }
  .lst-featured-tile:hover .lst-featured-tile__image img { transform: none; }
}

