/*
 * SANSTOP — Home Premium V1.0.0 / 25.10.2026.
 * Premium visual system for the actual SkyShop homepage. All selectors are
 * scoped to ss-home-premium, no changes to data, JS sliders, API or cart.
 * Source: user's current SkyShop archive 25.10.2026.
 */
.ss-home-premium {
  --ssh-ink: #181818;
  --ssh-soft: #F6F6F4;
  --ssh-border: #E8E6E1;
  --ssh-muted: #74716D;
  --ssh-orange: #EF6B25;
  color: var(--ssh-ink);
  width: 100%;
  min-width: 0;
}
.ss-home-premium,
.ss-home-premium * { box-sizing: border-box; }
.ss-home-premium .ss-home-role {
  width: 100%;
  min-width: 0;
  margin-bottom: clamp(36px, 4.2vw, 64px);
}
.ss-home-premium .ss-home-role:empty { display: none; }
.ss-home-premium .ss-home-role > .section { margin: 0; }
.ss-home-premium .ss-home-role--banner { margin-bottom: clamp(12px, 1.8vw, 24px); }
.ss-home-premium .ss-home-role--sections,
.ss-home-premium .ss-home-role--catalog_sections { margin-bottom: clamp(38px, 4vw, 56px); }
.ss-home-premium .section__container,
.ss-home-premium .section__container.container { min-width: 0; }
.ss-home-premium .section__header {
  display: flex;
  gap: 16px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}
.ss-home-premium .section__title,
.ss-home-premium .section__header .h2 {
  margin: 0;
  color: var(--ssh-ink);
  font-size: clamp(23px, 2.1vw, 30px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.035em;
}
.ss-home-premium .section__more,
.ss-home-premium .section__header .more-link {
  margin-left: auto;
  color: #57534F;
  white-space: nowrap;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  transition: color .18s ease;
}
.ss-home-premium .section__more:hover,
.ss-home-premium .section__header .more-link:hover { color: var(--ssh-orange); }

/* SANSTOP — hero: keep the exact CMS media, slide text, crop settings and CTA. */
.ss-home-premium .ss-home-role--banner .banner__slide,
.ss-home-premium .ss-home-role--banner .promo-card,
.ss-home-premium .ss-home-role--banner .promo-card__img {
  border-radius: 14px;
}
.ss-home-premium .ss-home-role--banner .banner__slide {
  overflow: hidden;
  background: var(--ssh-soft);
}
.ss-home-premium .ss-home-role--banner .promo-card__img img,
.ss-home-premium .ss-home-role--banner .promo-card__img video {
  display: block;
  width: 100%;
}
.ss-home-premium .ss-home-role--banner .promo-card__data {
  max-width: 690px;
  border-radius: 12px;
}
.ss-home-premium .ss-home-role--banner .promo-card__title {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 49px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -.044em;
  text-wrap: balance;
}
.ss-home-premium .ss-home-role--banner .promo-card__caption {
  margin-top: 13px;
  max-width: 530px;
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.5;
}
.ss-home-premium .ss-home-role--banner .promo-card__btn,
.ss-home-premium .ss-home-role--banner .promo-card__btn.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 19px;
  margin-top: 18px;
  border: 1px solid var(--ssh-orange);
  border-radius: 8px;
  background: var(--ssh-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: none;
  transition: background-color .18s ease, transform .18s ease;
}
.ss-home-premium .ss-home-role--banner .promo-card__btn:hover {
  background: #D95B19;
  border-color: #D95B19;
  color: #fff;
}
/* Honour the CMS fullscreen layout (no forced rounding to a full-bleed slide). */
.ss-home-premium .ss-home-role--banner .section__banner--fullscreen .banner__slide,
.ss-home-premium .ss-home-role--banner .section__banner--fullscreen .promo-card,
.ss-home-premium .ss-home-role--banner .section__banner--fullscreen .promo-card__img {
  border-radius: 0;
}

/* SANSTOP — genuine six photographic categories, including theme grid_equal. */
.ss-home-premium :is(.ss-home-role--sections, .ss-home-role--catalog_sections)
  .category-grid__equal > .grid__col {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.ss-home-premium :is(.ss-home-role--sections, .ss-home-role--catalog_sections)
  .category-grid__equal > .grid__col > .grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(9px, .9vw, 15px);
  margin: 0;
  align-items: stretch;
}
.ss-home-premium :is(.ss-home-role--sections, .ss-home-role--catalog_sections)
  .category-grid__equal > .grid__col > .grid > .grid__col {
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  padding: 0 !important;
  margin: 0 !important;
}
.ss-home-premium :is(.ss-home-role--sections, .ss-home-role--catalog_sections)
  .category-grid__equal .category-card:not(.category-card__catalog) {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1.08;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--ssh-border);
  border-radius: 12px;
  background: var(--ssh-soft);
  box-shadow: none;
  transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
.ss-home-premium :is(.ss-home-role--sections, .ss-home-role--catalog_sections)
  .category-grid__equal .category-card:not(.category-card__catalog) > .category-card__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: cover;
  object-position: center;
}
.ss-home-premium :is(.ss-home-role--sections, .ss-home-role--catalog_sections)
  .category-grid__equal .category-card:not(.category-card__catalog) > .category-card__data {
  position: absolute;
  left: 9px;
  bottom: 9px;
  display: flex;
  align-items: center;
  width: calc(100% - 18px);
  min-height: 42px;
  margin: 0;
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 8px;
  background: rgba(250,249,247,.92);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}
.ss-home-premium :is(.ss-home-role--sections, .ss-home-role--catalog_sections)
  .category-grid__equal .category-card__title {
  color: var(--ssh-ink);
  font-size: clamp(12px, 1.02vw, 15px);
  line-height: 1.27;
  font-weight: 600;
  letter-spacing: -.01em;
  text-align: left;
}
.ss-home-premium :is(.ss-home-role--sections, .ss-home-role--catalog_sections)
  .category-grid__equal .category-card__more { display: none !important; }
/* Real section links may also come from catalog.section.list/grid: leave their
 * image geometry alone, only match their borders and typography. */
.ss-home-premium .ss-home-role--catalog_sections .category-card__catalog {
  border: 1px solid var(--ssh-border);
  background: var(--ssh-soft);
  box-shadow: none;
  border-radius: 12px;
}

/* SANSTOP — home product rails: use the original Slick config and real products. */
.ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new,
  .ss-home-role--catalog_properties, .ss-home-role--actions_catalog)
  .js-section-slider:not(.slick-initialized) {
  display: flex;
  overflow: hidden;
}
/* Match SkyShop's default 4 / 3 / 2 / 1.35 / 1 slides before slick initializes;
 * never set a contradictory five-card width that would cause a layout jump. */
.ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new,
  .ss-home-role--catalog_properties, .ss-home-role--actions_catalog)
  .js-section-slider:not(.slick-initialized) > .section__slide {
  flex: 0 0 calc(25% - 30px);
  width: calc(25% - 30px);
  max-width: calc(25% - 30px);
}
.ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new,
  .ss-home-role--catalog_properties, .ss-home-role--actions_catalog)
  .js-section-slider .section__slide { min-width: 0; height: auto; }
.ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new,
  .ss-home-role--catalog_properties, .ss-home-role--actions_catalog)
  .js-section-slider .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px;
  overflow: visible;
  border: 1px solid var(--ssh-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new,
  .ss-home-role--catalog_properties, .ss-home-role--actions_catalog)
  .js-section-slider .product-card__photo {
  overflow: hidden;
  width: 100%;
  margin-bottom: 12px;
  border-radius: 9px;
  background: #fff;
}
.ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new,
  .ss-home-role--catalog_properties, .ss-home-role--actions_catalog)
  .js-section-slider .product-card__inner {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
.ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new,
  .ss-home-role--catalog_properties, .ss-home-role--actions_catalog)
  .js-section-slider .product-card__inner-info {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}
.ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new,
  .ss-home-role--catalog_properties, .ss-home-role--actions_catalog)
  .js-section-slider .product-card__title-container {
  order: 1;
  min-height: 48px;
  height: auto;
  max-height: 66px;
  margin: 0 0 8px;
  overflow: hidden;
}
.ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new,
  .ss-home-role--catalog_properties, .ss-home-role--actions_catalog)
  .js-section-slider .product-card__title {
  color: var(--ssh-ink);
  font-size: 13px;
  line-height: 1.42;
  font-weight: 500;
  -webkit-line-clamp: 3;
}
.ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new,
  .ss-home-role--catalog_properties, .ss-home-role--actions_catalog)
  .js-section-slider .product-status-artnumber {
  order: 2;
  margin: 0 0 7px;
  color: var(--ssh-muted);
  font-size: 12px;
}
.ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new,
  .ss-home-role--catalog_properties, .ss-home-role--actions_catalog)
  .js-section-slider .product-card__price {
  order: 3;
  margin: auto 0 11px;
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
/* On the homepage we do not display placeholder "5" and "0 reviews" as facts. */
.ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new,
  .ss-home-role--catalog_properties, .ss-home-role--actions_catalog)
  .js-section-slider .product-card__info { display: none; }
.ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new,
  .ss-home-role--catalog_properties, .ss-home-role--actions_catalog)
  .js-section-slider .product-card__wrapper {
  margin-top: auto;
  min-width: 0;
  padding: 0;
  background: #fff;
}
.ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new,
  .ss-home-role--catalog_properties, .ss-home-role--actions_catalog)
  .js-section-slider .product-card__wrapper .btn {
  min-height: 42px;
  border-radius: 8px;
}
.ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new,
  .ss-home-role--catalog_properties, .ss-home-role--actions_catalog)
  .js-section-slider .product-card__btn {
  width: 34px;
  height: 34px;
  border: 1px solid #eeeae5;
  background: rgba(255,255,255,.92);
}
.ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new,
  .ss-home-role--catalog_properties, .ss-home-role--actions_catalog)
  .js-section-slider .product-card__btn.is-active { border-color: #d1ccc5; }
/* Keep existing SKU/price and purchase handlers intact. No synthetic swatches. */

/* SANSTOP — brand strip: honour existing dedicated SANSTOP template and logos. */
.ss-home-premium .ss-home-role--brands .sanstop-index-brands-section {
  margin: 0;
}
.ss-home-premium .ss-home-role--brands .sanstop-index-brands-section__title {
  font-weight: 600;
  letter-spacing: -.035em;
}

/* SANSTOP — editorial promotional banners, without changing CMS text or links. */
.ss-home-premium :is(.ss-home-role--banner_2, .ss-home-role--banner_3,
  .ss-home-role--actions) .type-card {
  overflow: hidden;
  border-radius: 13px;
  box-shadow: none;
  background: var(--ssh-soft);
}
.ss-home-premium :is(.ss-home-role--banner_2, .ss-home-role--banner_3,
  .ss-home-role--actions) .type-card__title {
  font-size: clamp(22px, 2.4vw, 35px);
  line-height: 1.09;
  font-weight: 600;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.ss-home-premium :is(.ss-home-role--banner_2, .ss-home-role--banner_3,
  .ss-home-role--actions) .type-card__caption {
  font-size: clamp(12px, 1.1vw, 15px);
  line-height: 1.46;
}
.ss-home-premium :is(.ss-home-role--banner_2, .ss-home-role--banner_3,
  .ss-home-role--actions) .type-card__btn,
.ss-home-premium :is(.ss-home-role--banner_2, .ss-home-role--banner_3,
  .ss-home-role--actions) .type-card__btn.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 41px;
  padding: 9px 16px;
  border: 1px solid var(--ssh-orange);
  border-radius: 8px;
  background: var(--ssh-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  box-shadow: none;
}
.ss-home-premium :is(.ss-home-role--banner_2, .ss-home-role--banner_3,
  .ss-home-role--actions) .type-card__btn:hover { background: #D95B19; border-color: #D95B19; }

/* SANSTOP — journal. The real articles are still loaded by news.list. */
.ss-home-premium .ss-home-role--news .short-news {
  display: block;
  padding: 15px 2px;
  border-bottom: 1px solid var(--ssh-border);
  color: var(--ssh-ink);
  text-decoration: none;
}
.ss-home-premium .ss-home-role--news .short-news__title {
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 600;
  line-height: 1.3;
}
.ss-home-premium .ss-home-role--news .short-news__date,
.ss-home-premium .ss-home-role--news .short-news__text {
  font-size: 12px;
  line-height: 1.52;
  color: var(--ssh-muted);
}
.ss-home-premium .ss-home-role--news .grid__preview-img { border-radius: 13px; }

/* Review cards: apply when present; leave custom /include/reviews.php intact. */
.ss-home-premium .ss-home-role--reviews .review-card {
  height: 100%;
  padding: 18px;
  border: 1px solid var(--ssh-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}
.ss-home-premium .ss-home-role--reviews .review-card__text {
  font-size: 13px;
  line-height: 1.55;
}

/* The actual editorial SEO template is already approved; do not rewrite it. */
.ss-home-premium .ss-home-role--subscribe {
  border-radius: 14px;
  background: var(--ssh-soft);
}
.ss-home-premium .ss-home-role--subscribe > .section { background: transparent; }

@media (hover: hover) {
  .ss-home-premium :is(.ss-home-role--sections, .ss-home-role--catalog_sections)
    .category-grid__equal .category-card:hover {
    border-color: #c7c2bc;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(24,24,24,.065);
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new,
    .ss-home-role--catalog_properties, .ss-home-role--actions_catalog)
    .js-section-slider .product-card:hover {
    border-color: #d2cec8;
    box-shadow: 0 9px 24px rgba(24,24,24,.06);
  }
}
@media (max-width: 1199px) {
  .ss-home-premium :is(.ss-home-role--sections, .ss-home-role--catalog_sections)
    .category-grid__equal > .grid__col > .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ss-home-premium :is(.ss-home-role--sections, .ss-home-role--catalog_sections)
    .category-grid__equal .category-card:not(.category-card__catalog) {
    aspect-ratio: 1.5 / 1;
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new,
    .ss-home-role--catalog_properties, .ss-home-role--actions_catalog)
    .js-section-slider:not(.slick-initialized) > .section__slide {
    flex-basis: calc(33.333% - 30px);
    width: calc(33.333% - 30px);
    max-width: calc(33.333% - 30px);
  }
}
@media (max-width: 991px) {
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new,
    .ss-home-role--catalog_properties, .ss-home-role--actions_catalog)
    .js-section-slider:not(.slick-initialized) > .section__slide {
    flex-basis: calc(50% - 30px);
    width: calc(50% - 30px);
    max-width: calc(50% - 30px);
  }
}
@media (max-width: 767px) {
  .ss-home-premium .ss-home-role { margin-bottom: 32px; }
  .ss-home-premium .ss-home-role--banner { margin-bottom: 14px; }
  .ss-home-premium .ss-home-role--sections { margin-bottom: 34px; }
  .ss-home-premium .section__header { gap: 10px; margin-bottom: 14px; }
  .ss-home-premium .section__title,
  .ss-home-premium .section__header .h2 { font-size: 22px; }
  .ss-home-premium .section__more,
  .ss-home-premium .section__header .more-link { font-size: 12px; }
  .ss-home-premium .ss-home-role--banner .banner__slide,
  .ss-home-premium .ss-home-role--banner .promo-card,
  .ss-home-premium .ss-home-role--banner .promo-card__img { border-radius: 10px; }
  .ss-home-premium .ss-home-role--banner .promo-card__data {
    padding: 12px;
  }
  .ss-home-premium .ss-home-role--banner .promo-card__title {
    font-size: clamp(23px, 6vw, 30px);
    line-height: 1.07;
  }
  .ss-home-premium .ss-home-role--banner .promo-card__caption {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.4;
  }
  .ss-home-premium .ss-home-role--banner .promo-card__btn {
    min-height: 37px;
    margin-top: 9px;
    padding: 7px 11px;
    font-size: 12px;
  }
  .ss-home-premium :is(.ss-home-role--sections, .ss-home-role--catalog_sections)
    .category-grid__equal > .grid__col > .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .ss-home-premium :is(.ss-home-role--sections, .ss-home-role--catalog_sections)
    .category-grid__equal .category-card:not(.category-card__catalog) {
    aspect-ratio: 1.46 / 1;
    border-radius: 9px;
  }
  .ss-home-premium :is(.ss-home-role--sections, .ss-home-role--catalog_sections)
    .category-grid__equal .category-card:not(.category-card__catalog) > .category-card__data {
    left: 6px;
    bottom: 6px;
    width: calc(100% - 12px);
    min-height: 32px;
    padding: 6px 9px;
    border-radius: 7px;
  }
  .ss-home-premium :is(.ss-home-role--sections, .ss-home-role--catalog_sections)
    .category-grid__equal .category-card__title { font-size: 12px; }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new,
    .ss-home-role--catalog_properties, .ss-home-role--actions_catalog)
    .js-section-slider .product-card { padding: 9px; border-radius: 10px; }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new,
    .ss-home-role--catalog_properties, .ss-home-role--actions_catalog)
    .js-section-slider .product-card__title-container { min-height: 50px; }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new,
    .ss-home-role--catalog_properties, .ss-home-role--actions_catalog)
    .js-section-slider .product-card__title { font-size: 12px; }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new,
    .ss-home-role--catalog_properties, .ss-home-role--actions_catalog)
    .js-section-slider .product-card__price { font-size: 16px; }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new,
    .ss-home-role--catalog_properties, .ss-home-role--actions_catalog)
    .js-section-slider .product-card__wrapper .btn { min-height: 42px; font-size: 12px; }
  .ss-home-premium .ss-home-role--news .short-news__text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}
@media (max-width: 575px) {
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new,
    .ss-home-role--catalog_properties, .ss-home-role--actions_catalog)
    .js-section-slider:not(.slick-initialized) > .section__slide {
    flex-basis: calc((100% / 1.35) - 30px);
    width: calc((100% / 1.35) - 30px);
    max-width: calc((100% / 1.35) - 30px);
  }
}
@media (max-width: 379px) {
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new,
    .ss-home-role--catalog_properties, .ss-home-role--actions_catalog)
    .js-section-slider:not(.slick-initialized) > .section__slide {
    flex-basis: calc(100% - 30px);
    width: calc(100% - 30px);
    max-width: calc(100% - 30px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ss-home-premium * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ============================================================================
 * SANSTOP HOME PREMIUM V1.0.1 — existing CMS photos and compact mobile rails.
 * No artificial images, new catalog queries or changes to button handlers.
 * ========================================================================== */

/* SkyShop intentionally puts type-card images at z-index:-1 so text can be over
 * them. V1.0.0 added a solid background to this card; without its OWN stacking
 * context the image can end up hidden behind that background. Isolation makes
 * the negative layer stay above the card background and below its text. This
 * also fixes the guarantee block rendered using the one-card banner theme. */
.ss-home-premium :is(
  .ss-home-role--banner_2,
  .ss-home-role--banner_3,
  .ss-home-role--actions,
  .ss-home-role--about
) .type-card {
  isolation: isolate;
}

/* SANSTOP — carousel tracks should not make the homepage horizontally scrollable.
 * `clip` does not create a nested scrolling area (unlike `hidden`), so the
 * page still scrolls vertically and existing carousel touch remains native. */
@supports (overflow: clip) {
  .ss-home-premium { overflow-x: clip; }
}

/* SANSTOP — two true Slick slides visible on phones. The JS below aligns
 * Slick's slidesToShow to 2 at <= 767px; these dimensions are ONLY the
 * pre-initialization skeleton, and never overwrite Slick inline widths. */
@media (max-width: 767px) {
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .section__slide {
    margin-left: 5px;
    margin-right: 5px;
    min-width: 0;
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .slick-list {
    margin-left: -5px;
    margin-right: -5px;
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider:not(.slick-initialized) > .section__slide {
    flex: 0 0 calc(50% - 10px);
    width: calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .product-card {
    min-width: 0;
    padding: 8px;
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .product-card__photos,
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .product-card__inner {
    min-width: 0;
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .product-card__photo { margin-bottom: 8px; }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .product-card__actions {
    top: 6px;
    right: 6px;
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .product-card__btn {
    width: 29px;
    height: 29px;
    padding: 5px;
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .product-card__title-container {
    min-height: 49px;
    max-height: 52px;
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .product-card__title {
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .product-card__price {
    font-size: 15px;
    line-height: 1.3;
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .product-card__wrapper .btn {
    max-width: 100%;
    min-width: 0;
    padding: 8px 7px;
    font-size: 11px;
  }
}


/* ===========================================================================
 * SANSTOP — Home Premium V1.0.2 / Compact mobile product actions
 * Only the main-page hits and new rails; leave the catalog and other cards
 * untouched. SkyShop's miniature circular cart is replaced with a normal CTA.
 * Existing cart, quantity, offer, favorite and compare AJAX nodes are reused.
 * =========================================================================== */
@media (max-width: 767px) {
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .product-card__photo {
    position: relative;
    margin-bottom: 9px;
  }

  /* One readable label, not two overlapping opaque bars. Remaining labels
     remain in product data and on the desktop card. */
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .product-card__badge {
    top: 7px;
    left: 6px;
    right: 37px;
    z-index: 4;
    width: auto;
    max-width: calc(100% - 43px);
    pointer-events: none;
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .badge-list {
    display: flex;
    flex-wrap: nowrap;
    margin: 0;
    max-width: 100%;
    min-width: 0;
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .badge-list__item {
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 4px 6px;
    border-radius: 5px;
    font-size: 9px;
    line-height: 1.18;
    letter-spacing: 0;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .badge-list__item ~ .badge-list__item { display: none !important; }

  /* Favorite is the only floating action on the image. */
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .product-card__actions {
    top: 7px;
    right: 6px;
    gap: 0;
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .product-card__actions .product-card__btn {
    width: 29px;
    height: 29px;
    margin: 0;
    padding: 6px;
    background: rgba(255,255,255,.96);
    border: 1px solid #e9e7e3;
    border-radius: 50%;
  }

  /* The SkyShop mini-cart is absolutely positioned by its normal CSS.
     Reset ONLY on the two small home rails; never change the cart handler. */
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .product-card__wrapper,
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .product-card__container {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    min-width: 0;
    max-width: 100%;
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .product-card__wrapper {
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 0;
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .product-card__container {
    display: flex;
    flex: 1 1 auto;
    align-items: stretch;
    flex-wrap: nowrap;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .product-card__container .btn.product-card__add-to-cart {
    position: relative !important;
    inset: auto !important;
    display: inline-flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 39px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 7px 5px !important;
    border-radius: 7px !important;
    font-size: 11px !important;
    font-weight: 600;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .product-card__basket::before,
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .product-card__subscribe::before {
    display: none !important;
    content: none !important;
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .product-card__container .counter {
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    margin: 0;
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .product-card__container .counter__value {
    font-size: 12px;
  }

  /* JS moves the original SkyShop compare node, keeping all its AJAX
     handlers and active state. The buy/compare row stays below the price. */
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .ss-home-card__buy-row {
    display: flex;
    align-items: stretch;
    gap: 6px;
    width: 100%;
    min-width: 0;
    margin-top: 4px;
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .ss-home-card__buy-row > .product-card__container {
    flex: 1 1 0;
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .ss-home-card__compare {
    display: inline-flex !important;
    position: relative !important;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 39px;
    margin: 0 !important;
    padding: 8px;
    border: 1px solid #e8e6e1;
    border-radius: 7px;
    background: #fff;
    color: #181818;
    stroke: currentColor;
    cursor: pointer;
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .ss-home-card__compare svg {
    width: 21px;
    height: 21px;
    stroke: currentColor;
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .ss-home-card__compare.is-active {
    background: #151515;
    border-color: #151515;
    color: #fff;
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .ss-home-card__compare:focus-visible {
    outline: 2px solid #ef6b25;
    outline-offset: 2px;
  }
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .product-card__price { margin-bottom: 8px; }
}


/* SANSTOP Home Premium V1.0.3 — fallback while SkyShop moves the cart node.
 * If its responsive handler temporarily places the purchase container inside
 * inner-info, keep it after title/status/price until our JS returns it to the
 * bottom action row. */
@media (max-width: 767px) {
  .ss-home-premium :is(.ss-home-role--hits, .ss-home-role--new)
    .js-section-slider .product-card__inner-info > .product-card__container {
    order: 4;
    margin-top: 4px;
  }
}
