/* CrazyTatry homepage merchandising — hero categories, compact carousel rails */
body.in-index .hero-left.ct-hero-categories-shell {
  display: flex;
  position: relative;
  overflow: hidden;
  min-width: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(134, 115, 179, .34), transparent 48%),
    linear-gradient(145deg, #261f31 0%, #17131d 100%);
}

body.in-index .hero-left.ct-hero-categories-shell .hero-left-slide {
  display: none !important;
}

body.in-index .ct-hero-categories {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
  height: 100%;
}

body.in-index .ct-hero-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  padding: 20px 26px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  background: transparent;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(15px, 1.35vw, 20px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.015em;
  text-decoration: none;
  transition: background-color .2s ease, padding-left .2s ease, color .2s ease;
}

body.in-index .ct-hero-category:last-child {
  border-bottom: 0;
}

body.in-index .ct-hero-category::after {
  content: "→";
  flex: 0 0 auto;
  color: #b8a8de;
  font-size: 1.25em;
  line-height: 1;
  transition: transform .2s ease, color .2s ease;
}

body.in-index .ct-hero-category:hover,
body.in-index .ct-hero-category:focus-visible {
  color: #fff;
  background: #755fa6;
  padding-left: 32px;
  text-decoration: none;
}

body.in-index .ct-hero-category:hover::after,
body.in-index .ct-hero-category:focus-visible::after {
  color: #fff;
  transform: translateX(4px);
}

body.in-index .ct-hero-category:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -5px;
}

/* Turn carousel dots into a compact, full-width progress rail. */
body.in-index .product-slider-holder.has-navigation {
  padding-bottom: 4px !important;
  margin-bottom: 16px !important;
}

body.in-index .product-slider-holder .product-slider-pagination {
  position: static !important;
  display: flex !important;
  align-items: center;
  gap: 3px;
  width: 100% !important;
  max-width: none !important;
  height: 5px;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  transform: none !important;
}

body.in-index .product-slider-holder .product-slider-pagination .pagination-button {
  flex: 1 1 0;
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  height: 5px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: transparent !important;
  background: #ddd9e4 !important;
  box-shadow: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  opacity: 1 !important;
  transition: background-color .2s ease;
}

body.in-index .product-slider-holder .product-slider-pagination .pagination-button.active {
  background: #8673b3 !important;
}

body.in-index .product-slider-holder .product-slider-pagination .pagination-button:focus-visible {
  outline: 2px solid #67538f;
  outline-offset: 3px;
}

/* Floating store-hours card. */
.ct-hours-widget {
  position: fixed;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 1005;
  font-family: "Montserrat", sans-serif;
}

.ct-hours-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #30243f 0%, #755fa6 100%);
  box-shadow: 0 12px 30px rgba(25, 18, 34, .28);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.ct-hours-trigger:hover,
.ct-hours-trigger:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 15px 34px rgba(25, 18, 34, .36);
}

.ct-hours-trigger:focus-visible,
.ct-hours-close:focus-visible {
  outline: 3px solid #b7a6df;
  outline-offset: 3px;
}

.ct-hours-clock {
  font-size: 17px;
  line-height: 1;
}

.ct-hours-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(340px, calc(100vw - 32px));
  padding: 22px;
  border: 1px solid rgba(134, 115, 179, .32);
  border-radius: 18px;
  color: #211a29;
  background: #fff;
  box-shadow: 0 20px 54px rgba(24, 17, 31, .25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(9px) scale(.98);
  transform-origin: right bottom;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.ct-hours-widget.is-open .ct-hours-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.ct-hours-panel::after {
  content: "";
  position: absolute;
  right: 25px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  border-right: 1px solid rgba(134, 115, 179, .32);
  border-bottom: 1px solid rgba(134, 115, 179, .32);
  background: #fff;
  transform: rotate(45deg);
}

.ct-hours-kicker {
  display: block;
  margin-bottom: 5px;
  color: #8673b3;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ct-hours-title {
  display: block;
  margin: 0 34px 15px 0;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
}

.ct-hours-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #4b3c5e;
  background: #f0ecf6;
  font-size: 20px;
  line-height: 32px;
  cursor: pointer;
}

.ct-hours-list {
  display: grid;
  gap: 8px;
  margin: 0 0 17px;
}

.ct-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ece8f1;
  font-size: 13px;
  line-height: 1.35;
}

.ct-hours-row strong {
  font-weight: 800;
}

.ct-hours-row span {
  white-space: nowrap;
}

.ct-hours-map {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 10px 16px;
  border: 1px solid rgba(134, 115, 179, .38);
  border-radius: 12px;
  color: #5f4b8b !important;
  background: #f4f0f9;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  text-decoration: none !important;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.ct-hours-map::after {
  content: "\2197";
  margin-left: 8px;
  font-size: 14px;
  line-height: 1;
}

.ct-hours-map:hover,
.ct-hours-map:focus-visible {
  border-color: #755fa6;
  color: #fff !important;
  background: linear-gradient(135deg, #5f4b8b 0%, #8673b3 100%);
  transform: translateY(-1px);
}

.ct-hours-map:focus-visible {
  outline: 3px solid #b7a6df;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  body.in-index .hero-row {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    width: 100%;
    min-width: 0;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  body.in-index .hero-row .hero-left.ct-hero-categories-shell {
    display: flex !important;
    order: 1;
    width: 100% !important;
    min-width: 0;
    height: 92px;
    min-height: 92px;
    flex: 0 0 92px;
  }

  body.in-index .hero-row .hero-right {
    order: 2;
    width: 100% !important;
    min-width: 0;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  body.in-index .hero-row .hero-right .carousel {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  body.in-index .hero-row .carousel-inner,
  body.in-index .hero-row .carousel-inner > .item,
  body.in-index .hero-row .w26m-carousel {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  body.in-index .ct-hero-categories {
    grid-template-rows: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: 92px;
  }

  body.in-index .ct-hero-category {
    justify-content: center;
    gap: 7px;
    padding: 12px 8px;
    border-right: 1px solid rgba(255, 255, 255, .14);
    border-bottom: 0;
    font-size: clamp(10px, 3vw, 13px);
    text-align: center;
  }

  body.in-index .ct-hero-category:last-child {
    border-right: 0;
  }

  body.in-index .ct-hero-category::after {
    font-size: 1em;
  }

  body.in-index .ct-hero-category:hover,
  body.in-index .ct-hero-category:focus-visible {
    padding-left: 8px;
  }

  body.in-index .product-slider-holder.has-navigation {
    padding-bottom: 2px !important;
    margin-bottom: 12px !important;
  }

  body.in-index .product-slider-holder .product-slider-pagination {
    gap: 2px;
    height: 4px;
    margin-top: 6px !important;
  }

  body.in-index .product-slider-holder .product-slider-pagination .pagination-button {
    height: 4px !important;
  }

  .ct-hours-widget {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .ct-hours-trigger {
    min-height: 43px;
    padding: 10px 13px;
    font-size: 11px;
  }

  .ct-hours-panel {
    width: min(320px, calc(100vw - 24px));
    padding: 19px;
  }
}
