/**
 * Početna stranica (index) — samo blokovi u <main class="page-home">, ispod headera.
 * Header / footer: css/header.css i css/footer.css
 * Sekcije: spolja .layout-full, unutra .layout-container (1320px — Figma se crta na 1440 referenci).
 */

/* -------------------------------------------------------------------------- */
/* 01 — Hero „Chosen for you“ + popularne kategorije                          */
/* -------------------------------------------------------------------------- */

.page-home .home-hero__inner {
  padding-top: 32px;
  padding-bottom: 48px;
}

/* Figma `1099:14348` — Headline 2 */
.page-home .home-hero__title {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: -0.196px;
  color: var(--color-neutral-900);
}

/* Figma `1099:14349` — Footnote */
.page-home .home-hero__lead {
  margin: 0 0 20px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: -0.196px;
  text-align: justify;
  color: var(--color-neutral-900);
}

/* Figma `1099:14350` — dve hero kartice (širine 763px + 541px @ ~1319px reda) */
.page-home .home-hero__cards {
  display: grid;
  grid-template-columns: minmax(0, 763fr) minmax(0, 541fr);
  gap: 16px;
  margin-bottom: 40px;
  align-items: stretch;
}

.page-home .home-hero__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  border-radius: 5px;
  overflow: hidden;
  color: var(--color-neutral-0);
  background-color: #47475b;
  box-shadow: 0 8px 24px rgba(28, 28, 30, 0.08);
}

.page-home .home-hero__card:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring), 0 8px 24px rgba(28, 28, 30, 0.08);
}

.page-home .home-hero__card-media {
  position: relative;
  flex: 0 0 auto;
  height: 311px;
  overflow: hidden;
  background-color: #47475b;
}

.page-home .home-hero__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-home .home-hero__card-panel {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 15px 10px;
  align-items: flex-start;
}

.page-home .home-hero__card--accent-pink .home-hero__card-panel {
  background-color: var(--color-brand-pink-500);
}

.page-home .home-hero__card--accent-mauve .home-hero__card-panel {
  background-color: #ae556a;
}

/* product/price-lg bold */
.page-home .home-hero__card-heading {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.196px;
  color: var(--color-neutral-0);
}

/* product-title/13 medium */
.page-home .home-hero__card-sub {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.196px;
  color: var(--color-neutral-0);
}

/* body/16 regular + razmak od bloka naslova kao u Figmi (5px) */
.page-home .home-hero__card-cta {
  display: inline-flex;
  align-items: center;
  gap: 7.5px;
  margin-top: 5px;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0;
  color: var(--color-neutral-0);
}

.page-home .home-hero__card-cta-arrow {
  font-weight: 400;
  line-height: 1;
}

/* Figma `1099:14376` — naslov + red kategorija (20px razmak) */
.page-home .home-hero__cats-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

/* Headline 2 (isti stil kao `1099:14348`) */
.page-home .home-hero__cats-title {
  margin: 0;
  max-width: 662px;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: -0.196px;
  color: var(--color-neutral-900);
}

.page-home .home-hero__cats {
  width: 100%;
}

.page-home .home-hero__cats-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 15px;
  width: 100%;
  /* height: 40px; */
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: stretch;
}

.page-home .home-hero__cats-list > li {
  min-width: 0;
  height: 100%;
}

/* label/13 semibold — Figma ćelija h 40px, px 15, radius 4px, neutral/50 */
.page-home .home-hero__cat {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 40px;
  padding: 0 15px;
  overflow: hidden;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: -0.196px;
  text-align: center;
  color: var(--color-brand-pink-500);
  background-color: var(--color-neutral-50);
  border: none;
  border-radius: 4px;
}

.page-home .home-hero__cat:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

@media (max-width: 900px) {
  .page-home .home-hero__cards {
    grid-template-columns: 1fr;
  }

  .page-home .home-hero__cats-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: auto;
    row-gap: 15px;
  }

  .page-home .home-hero__cats-list > li {
    height: auto;
    min-height: 0;
  }

  .page-home .home-hero__cat {
    height: 40px;
  }
}

@media (max-width: 520px) {
  .page-home .home-hero__cats-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* -------------------------------------------------------------------------- */
/* 02 — Istaknut proizvod + bočni baner (Figma `1099:14398`)                   */
/* -------------------------------------------------------------------------- */

.page-home .home-featured__inner {
  padding-top: 24px;
  padding-bottom: 40px;
}

.page-home .home-featured__row {
  display: grid;
  grid-template-columns: minmax(0, 875fr) minmax(0, 430fr);
  gap: 15px;
  align-items: stretch;
}

/* Kartica proizvoda: levo medija (pozadina + cover u okviru), desno tekst/cena/dugme */
.page-home .home-featured__product {
  display: grid;
  grid-template-columns: minmax(160px, 318px) minmax(0, 1fr);
  box-sizing: border-box;
  height: 289px;
  min-height: 289px;
  overflow: hidden;
  border: 1px solid var(--color-neutral-100);
  border-radius: 4px;
  background-color: var(--color-neutral-0);
}

.page-home .home-featured__product-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 0;
  background-color: var(--color-neutral-0);
  overflow: hidden;
}

.page-home .home-featured__product-img-wrap {
  width: 268px;
  height: 268px;
  max-width: 90%;
  max-height: min(268px, 85%);
  flex-shrink: 0;
  overflow: hidden;
  background-color: var(--color-neutral-0);
}

.page-home .home-featured__product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-home .home-featured__product-main {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-width: 0;
  height: 100%;
  padding: 20px 20px 48px 0;
}

.page-home .home-featured__product-head {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Headline 2 */
.page-home .home-featured__brand {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: -0.196px;
  color: var(--color-neutral-900);
}

/* body/16 regular */
.page-home .home-featured__name {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0;
  color: var(--color-neutral-900);
}

/* Subhead */
.page-home .home-featured__desc {
  margin: 15px 0 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.196px;
  color: var(--color-neutral-500-text);
}

.page-home .home-featured__product-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
}

/* product/price-lg bold */
.page-home .home-featured__price {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.196px;
  color: var(--color-neutral-900);
}

/* button/11 bold — Btns pozadina brand/pink/100 */
.page-home .home-featured__cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 188px;
  max-width: 100%;
  min-height: 36px;
  padding: 7px 12px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0;
  text-decoration: none;
  color: var(--color-brand-pink-500);
  background-color: #fff0f3;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.page-home .home-featured__cart-btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Baner: pun visina/red, pozadina + slika kao cover (ne „gola“ slika bez okvira) */
.page-home .home-featured__banner {
  box-sizing: border-box;
  height: 289px;
  min-height: 289px;
  overflow: hidden;
  border-radius: 4px;
  background-color: var(--color-neutral-100);
}

.page-home .home-featured__banner-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 289px;
  background-color: var(--color-neutral-100);
  overflow: hidden;
}

.page-home .home-featured__banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 900px) {
  .page-home .home-featured__row {
    grid-template-columns: 1fr;
  }

  .page-home .home-featured__product {
    height: auto;
    min-height: 0;
    grid-template-columns: minmax(140px, 240px) minmax(0, 1fr);
  }

  .page-home .home-featured__product-media {
    min-height: 220px;
  }

  .page-home .home-featured__banner {
    height: 289px;
  }
}

@media (max-width: 640px) {
  .page-home .home-featured__product {
    grid-template-columns: 1fr;
  }

  .page-home .home-featured__product-media {
    min-height: 200px;
    padding: 16px 0;
  }

  .page-home .home-featured__product-main {
    padding: 16px;
  }

  .page-home .home-featured__product-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-home .home-featured__cart-btn {
    width: 100%;
  }
}

/* SVG sprite (zvezde) — skriven, referenca preko <use href="#icon-home-rating-star"> */
.home-icons-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* -------------------------------------------------------------------------- */
/* 03 — Najprodavaniji (Figma `1099:14411`)                                   */
/* -------------------------------------------------------------------------- */

.page-home .home-bestsellers__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  padding-top: 30px;
  padding-bottom: 48px;
}

.page-home .home-bestsellers__head {
  width: 100%;
}

/* Headline 2 */
.page-home .home-bestsellers__title {
  margin: 0;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: -0.196px;
  color: var(--color-neutral-900);
}

.page-home .home-bestsellers__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-bestsellers__item {
  min-width: 0;
}

.page-home .home-bestsellers__card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
  box-sizing: border-box;
  height: 100%;
  padding: 10px 10px 10px;
  border-radius: 4px;
  background-color: var(--color-neutral-0);
  color: inherit;
  text-decoration: none;
}

.page-home .home-bestsellers__card:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.page-home .home-bestsellers__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--color-neutral-0);
}

.page-home .home-bestsellers__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-home .home-bestsellers__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}

.page-home .home-bestsellers__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

/* label/11 semibold */
.page-home .home-bestsellers__brand {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 0.5px;
  color: var(--color-neutral-500-text);
}

/* product-title/13 medium */
.page-home .home-bestsellers__name {
  margin: 0;
  min-height: 44px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.196px;
  color: var(--color-neutral-900);
}

.page-home .home-bestsellers__rating {
  display: flex;
  align-items: center;
  height: 13px;
  width: 90px;
  max-width: 100%;
  overflow: hidden;
  flex-shrink: 0;
}

.page-home .home-bestsellers__rating-icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.page-home .home-bestsellers__rating-icons svg {
  display: block;
  flex-shrink: 0;
}

.page-home .home-bestsellers__price-block {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.page-home .home-bestsellers__price-spacer {
  height: 20px;
  flex-shrink: 0;
}

/* price/16 bold */
.page-home .home-bestsellers__price {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: -0.196px;
  color: var(--color-neutral-900);
}

/* label/12 semibold — status/info */
.page-home .home-bestsellers__more {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: -0.196px;
  color: #599ae2;
}

/* -------------------------------------------------------------------------- */
/* 05 — Najnovije (Figma `1099:14481`)                                        */
/* -------------------------------------------------------------------------- */

.page-home .home-newest__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 30px;
  padding-bottom: 48px;
}

.page-home .home-newest__title {
  margin: 0;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: -0.196px;
  color: var(--color-neutral-900);
}

/* ≤1249px: 2×2 proizvodi + pun baner ispod (uža kartica — cena više ne udara u srce) */
@media (max-width: 1249px) {
  .page-home .home-newest .product-showcase {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    min-width: 0;
  }

  .page-home .home-newest .product-showcase__products {
    order: 0;
    flex: none;
    width: 100%;
    min-width: 0;
  }

  .page-home .home-newest .product-showcase__media.home-newest__banner {
    order: 1;
    flex: none;
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: 320px;
    height: auto;
    align-self: auto;
  }

  .page-home .home-newest .product-grid--cols-4 {
    --product-card-width: auto;
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }

  .page-home .home-newest .product-grid--cols-4 .product-grid__item {
    flex: none;
    width: auto;
    max-width: none;
  }

  .page-home .home-newest .product-card__price-row {
    gap: 6px;
  }

  .page-home .home-newest .product-card__price-block {
    min-width: 0;
  }

  .page-home .home-newest .product-card__price {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* ≥1250px: 4 kolone u redu + baner desno */
@media (min-width: 1250px) {
  .page-home .home-newest .product-showcase {
    align-items: stretch;
    min-width: 0;
  }

  .page-home .home-newest .product-showcase__products {
    flex: 1 1 0;
    min-width: 0;
  }

  .page-home .home-newest .product-grid--cols-4 {
    --product-card-width: auto;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .home-newest .product-grid--cols-4 .product-grid__item {
    width: auto;
    max-width: none;
  }

  .page-home .home-newest .product-showcase__media.home-newest__banner {
    flex: 0 1 430px;
    width: auto;
    max-width: 430px;
    min-width: 0;
    min-height: 0;
  }
}

/* -------------------------------------------------------------------------- */
/* 06 — Izdvajamo (Figma `1099:14492`)                                        */
/* -------------------------------------------------------------------------- */

.page-home .home-curated__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 30px;
  padding-bottom: 48px;
}

.page-home .home-curated__head {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.page-home .home-curated__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: -0.196px;
  color: var(--color-neutral-900);
}

.page-home .home-curated__subtitle {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: -0.196px;
  color: var(--color-neutral-900);
}

.page-home .home-curated__row {
  display: flex;
  align-items: stretch;
  gap: 20px;
  width: 100%;
}

.page-home .home-curated__feature {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .home-curated__feature-media {
  flex: 1 1 auto;
  /* min-height: 360px; */
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--color-neutral-0);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-home .home-curated__feature-link {
  display: flex;
  align-items: center;
  gap: 5px;
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--color-neutral-100);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.196px;
  color: var(--color-brand-pink-500);
  text-decoration: none;
}

.page-home .home-curated__feature-link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.page-home .home-curated__feature-link-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  font-size: 18px;
  line-height: 1;
  text-align: center;
}

.page-home .home-curated__products {
  flex: 0 0 auto;
  min-width: 0;
}

/* ≤1249px: 2×2 proizvodi, feature (baner + link) ispod */
@media (max-width: 1249px) {
  .page-home .home-curated__row {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    min-width: 0;
  }

  .page-home .home-curated__products {
    order: 0;
    flex: none;
    width: 100%;
    min-width: 0;
  }

  .page-home .home-curated__feature {
    order: 1;
    flex: none;
    width: 100%;
    min-width: 0;
    gap: 10px;
  }

  .page-home .home-curated__feature-media {
    flex: none;
    width: 100%;
    min-height: 320px;
    height: auto;
  }

  .page-home .home-curated .product-grid--cols-4 {
    --product-card-width: auto;
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }

  .page-home .home-curated .product-grid--cols-4 .product-grid__item {
    flex: none;
    width: auto;
    max-width: none;
  }

  .page-home .home-curated .product-card__price-row {
    gap: 6px;
  }

  .page-home .home-curated .product-card__price-block {
    min-width: 0;
  }

  .page-home .home-curated .product-card__price,
  .page-home .home-curated .product-card__price--old {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* -------------------------------------------------------------------------- */
/* 07 — USP prednosti (Figma `1099:14515`)                                    */
/* -------------------------------------------------------------------------- */

.page-home .home-usp__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 30px;
  padding-bottom: 48px;
}

.page-home .home-usp__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: -0.196px;
  color: var(--color-neutral-900);
}

.page-home .home-usp__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-usp__item {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}

.page-home .home-usp__icon-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 26px;
}

.page-home .home-usp__icon {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

/* Callout */
.page-home .home-usp__text {
  margin: 0;
  min-width: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: -0.196px;
  color: var(--color-neutral-900);
}

/* ≤1023px: mobilni Figma (`2082:11488`) — tablet = mobilni; desktop (≥1024) ne dirati */
@media (max-width: 1023px) {
  .page-home .home-usp__inner {
    gap: 12px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .page-home .home-usp__list {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .page-home .home-usp__item {
    align-items: center;
    gap: 15px;
  }

  .page-home .home-usp__icon-wrap {
    padding: 12px 20px;
  }

  .page-home .home-usp__icon {
    width: 40px;
    height: 40px;
  }
}

/* -------------------------------------------------------------------------- */
/* 08 — Korejska kozmetika na akciji (Figma `1099:14538`)                     */
/* -------------------------------------------------------------------------- */

.page-home .home-sale__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 30px;
  padding-bottom: 48px;
}

.page-home .home-sale__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: -0.196px;
  color: var(--color-neutral-900);
}

.page-home .home-sale__banners {
  display: flex;
  gap: 15px;
  width: 100%;
}

.page-home .home-sale__banner {
  display: block;
  flex: 1 1 0;
  min-width: 0;
  height: 224px;
  min-height: 224px;
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--color-neutral-100);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-decoration: none;
}

.page-home .home-sale__banner:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Desktop: fluid 6 kolona (kao home-bestsellers — bez fiksnih 208px iz product-card.css) */
.page-home .home-sale .product-grid--cols-6 {
  --product-card-width: auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 15px;
  width: 100%;
  align-items: stretch;
}

.page-home .home-sale .product-grid--cols-6 .product-grid__item {
  flex: none;
  width: auto;
  max-width: none;
  min-width: 0;
}

/* ≤1100px: mobilni Figma (`2082:11509`) — tablet = mobilni; desktop (≥1101px) ne dirati */
@media (max-width: 1100px) {
  .page-home .home-sale__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding-top: 32px;
    padding-bottom: 16px;
  }

  .page-home .home-sale__title {
    order: 0;
    align-self: stretch;
    min-height: 28px;
  }

  .page-home .home-sale__banners {
    display: contents;
  }

  /* baner 2 (lice) iznad grida; baner 1 (poppies) ispod — redosled u HTML: 1, 2 */
  .page-home .home-sale__banner:nth-child(1) {
    order: 3;
    flex: none;
    width: 100%;
    height: 210px;
    min-height: 210px;
  }

  .page-home .home-sale__banner:nth-child(2) {
    order: 1;
    flex: none;
    width: 100%;
    height: 210px;
    min-height: 210px;
  }

  .page-home .home-sale__inner > .product-grid {
    order: 2;
    width: 100%;
    margin: 0;
    align-self: stretch;
  }

  .page-home .home-sale .product-grid--cols-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
  }

  .page-home .home-sale .product-card {
    gap: 3px;
    padding: 0;
    align-items: center;
  }

  .page-home .home-sale .product-card__badges {
    display: none;
  }

  .page-home .home-sale .product-card--swap-image:hover .product-card__img-layer--default,
  .page-home .home-sale .product-card--swap-image:focus-visible .product-card__img-layer--default {
    opacity: 1;
  }

  .page-home .home-sale .product-card--swap-image:hover .product-card__img-layer--hover,
  .page-home .home-sale .product-card--swap-image:focus-visible .product-card__img-layer--hover {
    opacity: 0;
  }

  .page-home .home-sale .product-card__body {
    gap: 9px;
    box-sizing: border-box;
    width: 100%;
    padding: 0 9px 9px;
  }

  .page-home .home-sale .product-card__brand {
    font-size: 9px;
    line-height: 18px;
    letter-spacing: 0.45px;
    text-transform: uppercase;
    color: var(--color-neutral-700, #47475b);
  }

  .page-home .home-sale .product-card__name {
    min-height: 40px;
    font-size: 11px;
    letter-spacing: -0.18px;
  }

  .page-home .home-sale .product-card__price-block,
  .page-home .home-sale .product-card__prices {
    min-height: 0;
  }

  .page-home .home-sale .product-card__price--old:empty {
    display: none;
    min-height: 0;
  }

  .page-home .home-sale .product-card__price-row {
    gap: 6px;
  }

  .page-home .home-sale .product-card__price-block {
    min-width: 0;
  }

  .page-home .home-sale .product-card__price {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .page-home .home-sale .product-card__wishlist {
    width: 28px;
    height: 28px;
  }

  .page-home .home-sale .product-card__wishlist-icon {
    width: 28px;
    height: 28px;
  }

  .page-home .home-sale .product-card__cart-btn {
    min-height: 33px;
    padding: 11px;
    font-size: 9px;
    line-height: 18px;
    text-transform: uppercase;
  }
}

/* -------------------------------------------------------------------------- */
/* 09 — Brendovi (Figma `1099:14553`)                                         */
/* -------------------------------------------------------------------------- */

.page-home .home-brands__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 30px;
  padding-bottom: 48px;
}

.page-home .home-brands__title {
  margin: 0;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: -0.196px;
  color: var(--color-neutral-900);
}

.page-home .home-brands__grid-scroll {
  width: 100%;
  overflow: visible;
  cursor: default;
}

.page-home .home-brands__grid {
  display: flex;
  gap: 15px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-brands__item {
  flex: 1 1 0;
  min-width: 0;
}

.page-home .home-brands__card {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 330px;
  min-height: 330px;
  padding: 0 12px 23px;
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--color-neutral-100);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-neutral-100);
  text-decoration: none;
}

.page-home .home-brands__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(102, 102, 102, 0) 40%,
    rgba(0, 0, 0, 0.5) 100%
  );
  pointer-events: none;
}

.page-home .home-brands__card:hover {
  filter: brightness(1.03);
}

.page-home .home-brands__card:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.page-home .home-brands__label {
  position: relative;
  z-index: 1;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: -0.196px;
  text-align: center;
  white-space: nowrap;
}

/* ≤1023px: horizontalni slider (kao brands-featured na brands.html) */
@media (max-width: 1023px) {
  .page-home .home-brands__inner {
    gap: 18px;
    padding-top: 32px;
    padding-bottom: 32px;
    overflow: visible;
  }

  .page-home .home-brands__grid-scroll {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    margin-right: calc(-1 * var(--layout-edge-padding));
    padding-right: var(--layout-edge-padding);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
  }

  .page-home .home-brands__grid-scroll::-webkit-scrollbar {
    display: none;
  }

  .page-home .home-brands__grid-scroll.is-dragging {
    cursor: grabbing;
    user-select: none;
  }

  .page-home .home-brands__grid-scroll.is-dragging .home-brands__card {
    pointer-events: none;
  }

  .page-home .home-brands__grid {
    flex-wrap: nowrap;
    flex-shrink: 0;
    gap: 14px;
    width: max-content;
    min-width: max-content;
  }

  .page-home .home-brands__item {
    flex: none;
    flex-shrink: 0;
    width: 220px;
    min-width: 220px;
    max-width: 220px;
  }

  .page-home .home-brands__card {
    flex-shrink: 0;
    width: 220px;
    max-width: 220px;
    height: 310px;
    min-height: 310px;
  }

  .page-home .home-brands__label {
    font-size: 15px;
    line-height: 21px;
  }
}

/* -------------------------------------------------------------------------- */
/* 10 — O nama + newsletter (Figma `1099:14575`)                              */
/* -------------------------------------------------------------------------- */

.page-home .home-about-newsletter {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 30px;
  padding-bottom: 48px;
}

.page-home .home-about-newsletter__head {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.page-home .home-about-newsletter__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: -0.196px;
  color: var(--color-neutral-900);
}

.page-home .home-about-newsletter__lead {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: -0.196px;
  color: var(--color-neutral-900);
}

.page-home .home-newsletter__banner {
  height: 289px;
  min-height: 289px;
  overflow: hidden;
  background-color: var(--color-neutral-900);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.page-home .home-newsletter__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-home .home-newsletter__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .home-newsletter__heading {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 600;
  line-height: 36px;
  letter-spacing: -0.196px;
  color: var(--color-neutral-0);
}

.page-home .home-newsletter__brand {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-home .home-newsletter__text {
  margin: 0;
  max-width: 514px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  letter-spacing: -0.196px;
  color: var(--color-neutral-0);
  opacity: 0.75;
}

.page-home .home-newsletter__form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.page-home .home-newsletter__field {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  flex: 0 0 261px;
  width: 261px;
  max-width: 100%;
  height: 36px;
  padding: 0 15px;
  border: 1px solid var(--color-neutral-100);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.196px;
  color: var(--color-neutral-500);
  background-color: var(--color-neutral-0);
}

.page-home .home-newsletter__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 133px;
  width: 133px;
  height: 36px;
  padding: 7px 12px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0;
  color: var(--color-brand-pink-500);
  background-color: #fff0f3;
}

@media (min-width: 1024px) {
  .page-home .home-newsletter-u-mobile-only {
    display: none;
  }
}

/* ≤1023px — newsletter `2082:11548`, FAQ `2082:11560`, prefooter `2082:11600` */
@media (max-width: 1023px) {
  .page-home .home-about-newsletter {
    gap: 16px;
    padding-top: 32px;
    padding-bottom: 16px;
  }

  .page-home .home-about-newsletter__head {
    gap: 0;
  }

  .page-home .home-about-newsletter__lead {
    color: var(--color-neutral-700, #47475b);
  }

  .page-home .home-newsletter-u-desktop-only {
    display: none;
  }

  .page-home .home-newsletter-u-mobile-only {
    display: block;
    width: 100%;
  }

  .page-home .home-newsletter__card {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid var(--color-neutral-100, #f2f2f9);
    border-radius: 14px;
    overflow: hidden;
    background-color: var(--color-neutral-0);
  }

  .page-home .home-newsletter__card-media {
    width: 100%;
    height: 200px;
    min-height: 200px;
    background-color: var(--color-neutral-100);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .page-home .home-newsletter__card-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px 22px;
    background-color: var(--color-neutral-0);
  }

  .page-home .home-newsletter__card-text {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: -0.196px;
    color: var(--color-neutral-700, #47475b);
  }

  .page-home .home-newsletter__form--stacked {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }

  .page-home .home-newsletter__card .home-newsletter__field,
  .page-home .home-newsletter__form--stacked .home-newsletter__field {
    flex: none;
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border-radius: 8px;
  }

  .page-home .home-newsletter__card .home-newsletter__submit,
  .page-home .home-newsletter__form--stacked .home-newsletter__submit {
    flex: none;
    width: 100%;
    height: 44px;
    padding: 12px;
  }

  .page-home .home-bottom {
    gap: 32px;
    padding-top: 0;
    padding-bottom: 32px;
  }

  .page-home .faq {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .page-home .faq__layout {
    flex-direction: column;
    gap: 32px;
  }

  .page-home .faq__intro {
    flex: none;
    width: 100%;
    gap: 8px;
  }

  .page-home .faq__eyebrow {
    font-size: 11px;
    letter-spacing: 0.5px;
  }

  .page-home .faq__lead {
    font-size: 13px;
    line-height: 16px;
    color: var(--color-neutral-700, #47475b);
  }

  .page-home .faq__accordion {
    width: 100%;
  }

  .page-home .faq__item {
    padding: 20px;
  }

  .page-home .faq__item--open {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .page-home .faq__trigger {
    align-items: center;
    padding: 0;
  }

  .page-home .faq__icon {
    width: auto;
    font-size: 17px;
    font-weight: 600;
    line-height: 22px;
    color: var(--color-neutral-700, #47475b);
  }

  .page-home .faq__item--open .faq__icon {
    color: var(--color-brand-pink-500);
  }

  .page-home .faq__panel {
    padding: 0;
  }

  .page-home .faq__answer {
    color: var(--color-neutral-700, #47475b);
  }

  /* Prefooter — mobilni Figma `2082:11600` (tablet 3 kolone u 768–1023 bloku) */
  .page-home .home-prefooter {
    padding-top: 16px;
    padding-bottom: 32px;
  }

  .page-home .home-prefooter__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 0;
    justify-content: stretch;
    align-items: start;
  }

  .page-home .home-prefooter__col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
    flex: none;
    min-width: 0;
    padding: 16px 0;
  }

  .page-home .home-prefooter__col:nth-child(-n + 3) {
    margin-bottom: -10px;
  }

  .page-home .home-prefooter__heading {
    margin: 0;
    font-size: 17px;
    line-height: 22px;
  }

  .page-home .home-prefooter__list {
    gap: 6px;
    padding-top: 4px;
  }

  .page-home .home-prefooter__list a {
    font-size: 14px;
    color: var(--color-neutral-700, #47475b);
  }
}

/* -------------------------------------------------------------------------- */
/* 11 — Prefooter mega linkovi (Figma `1099:14597`)                           */
/* -------------------------------------------------------------------------- */

/* Figma `1099:14596` — blok ispred footera */
.page-home .home-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 70px;
  width: 100%;
  padding-top: 30px;
  padding-bottom: 48px;
}

.page-home .home-prefooter {
  width: 100%;
}

.page-home .home-prefooter__inner {
  padding: 0;
}

.page-home .home-prefooter__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 15px;
  width: 100%;
}

.page-home .home-prefooter__col {
  flex: 0 1 130px;
  min-width: 120px;
}

.page-home .home-prefooter__heading {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: -0.196px;
  color: var(--color-neutral-900);
}

.page-home .home-prefooter__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-prefooter__list a {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.196px;
  color: var(--color-neutral-900);
  text-decoration: none;
}

.page-home .home-prefooter__list a:hover {
  color: var(--color-brand-pink-500);
}

.page-home .home-prefooter__list a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

@media (max-width: 900px) {
  .page-home .home-prefooter__grid {
    justify-content: flex-start;
  }

  .page-home .home-prefooter__col {
    flex: 1 1 calc(33.333% - 12px);
  }
}

@media (max-width: 600px) {
  .page-home .home-prefooter__col {
    flex: 1 1 calc(50% - 8px);
  }
}


/* -------------------------------------------------------------------------- */
/* Index responsive — tablet (768–1023px): desktop layout, prilagođena širina   */
/* -------------------------------------------------------------------------- */

@media (min-width: 768px) and (max-width: 1023px) {
  /* Hero */
  .page-home .home-hero__inner {
    overflow: visible;
  }

  .page-home .home-hero__lead {
    text-align: justify;
    color: var(--color-neutral-900);
  }

  .page-home .home-hero__cards-scroll {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .page-home .home-hero__cards {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 16px;
    width: 100%;
    max-width: none;
    margin-bottom: 40px;
    padding-inline: 0;
  }

  .page-home .home-hero__card {
    flex: none;
    width: auto;
    border-radius: 5px;
  }

  .page-home .home-hero__card-media {
    height: 260px;
  }

  .page-home .home-hero__card-panel {
    gap: 0;
    padding: 15px 10px;
    align-items: stretch;
  }

  .page-home .home-hero__card-heading {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
  }

  .page-home .home-hero__card-sub {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
  }

  .page-home .home-hero__card-cta {
    margin-top: 5px;
    padding: 0;
    border-radius: 0;
    background-color: transparent;
    color: var(--color-neutral-0);
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    gap: 7.5px;
  }

  .page-home .home-hero__card-cta-arrow {
    font-size: inherit;
    font-weight: 400;
    line-height: 1;
  }

  .page-home .home-hero__cats-scroll {
    width: auto;
    max-width: none;
    margin: 0;
    overflow: visible;
  }

  .page-home .home-hero__cats-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    width: 100%;
    max-width: none;
    height: auto;
    padding-inline: 0;
  }

  .page-home .home-hero__cat {
    display: flex;
    width: 100%;
    height: 40px;
    min-height: 40px;
    padding: 0 15px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    white-space: normal;
  }

  /* Featured */
  .page-home .home-featured__inner {
    padding-top: 24px;
    padding-bottom: 40px;
  }

  .page-home .home-featured__row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 15px;
    align-items: stretch;
    overflow: visible;
    border: none;
    border-radius: 0;
    background-color: transparent;
  }

  .page-home .home-featured__banner {
    display: block;
    order: 0;
    height: auto;
    min-height: 289px;
    align-self: stretch;
    border-radius: 4px;
    background-color: var(--color-neutral-100);
  }

  .page-home .home-featured__banner-media {
    min-height: 289px;
    height: 100%;
  }

  .page-home .home-featured__product {
    display: grid;
    grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
    height: auto;
    min-height: 289px;
    overflow: visible;
    border: 1px solid var(--color-neutral-100);
    border-radius: 4px;
    background-color: var(--color-neutral-0);
  }

  .page-home .home-featured__product-media {
    display: flex;
    align-self: stretch;
    height: auto;
    min-height: 100%;
    padding: 12px 8px 12px 12px;
  }

  .page-home .home-featured__product-img-wrap {
    width: 100%;
    max-width: 100px;
    height: auto;
    max-height: none;
    aspect-ratio: 1;
  }

  .page-home .home-featured__product-main {
    height: auto;
    padding: 20px 20px 20px 0;
    background-color: transparent;
  }

  .page-home .home-featured__brand {
    font-size: 17px;
    color: var(--color-neutral-900);
  }

  .page-home .home-featured__name {
    font-size: 16px;
  }

  .page-home .home-featured__desc {
    display: block;
    overflow-wrap: anywhere;
    color: var(--color-neutral-500-text);
  }

  .page-home .home-featured__product-actions {
    flex-direction: row;
    align-items: center;
  }

  .page-home .home-featured__price {
    font-size: 18px;
    color: var(--color-neutral-900);
  }

  .page-home .home-featured__cart-btn {
    width: 188px;
    min-height: 36px;
    height: auto;
    padding: 7px 12px;
  }

  /* Bestsellers — 3 kolone (inner align-items:center inače sužava grid na ~208px) */
  .page-home .home-bestsellers__inner {
    align-items: stretch;
    gap: 20px;
    padding-top: 30px;
    padding-bottom: 48px;
  }

  .page-home .home-bestsellers__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    align-self: stretch;
  }

  .page-home .home-bestsellers__item {
    flex: none;
    width: auto;
    max-width: none;
    min-width: 0;
  }

  .page-home .home-bestsellers__card {
    padding: 10px;
  }

  /* Najnovije: layout u @media (max-width: 1249px) — ovde samo tablet padding */

  /* Izdvajamo: layout u @media (max-width: 1249px) */

  /* USP: layout u @media (max-width: 1023px) */

  /* Sale: layout + grid u @media (max-width: 1100px) */

  /* Brendovi: slider u @media (max-width: 1023px) */

  /* O nama + newsletter: layout u @media (max-width: 1023px) */

  /* Prefooter — 3×2 (3 kolone) */

  .page-home .home-prefooter__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 15px;
    row-gap: 24px;
    align-items: start;
    justify-content: stretch;
    width: 100%;
  }

  .page-home .home-prefooter__col {
    display: block;
    flex: none;
    min-width: 0;
    padding: 0;
    margin-bottom: 0;
  }

  /* FAQ: layout u @media (max-width: 1023px) */
}

/* -------------------------------------------------------------------------- */
/* Index responsive — mobile (≤767px), Figma `2082:11298`                     */
/* -------------------------------------------------------------------------- */

@media (max-width: 767px) {
  /* R01a — TopHeading — Figma `2082:11346` */
  .page-home .home-hero__inner {
    padding-top: 24px;
    padding-bottom: 0;
    overflow: visible;
  }

  .page-home .home-hero__title {
    margin-bottom: 10px;
  }

  .page-home .home-hero__lead {
    margin-bottom: 8px;
    text-align: left;
    color: var(--color-neutral-700, #47475b);
  }

  /* R01b — Hero baneri: scroll van paddinga kontejnera, sadržaj klizi iza ivica ekrana */
  .page-home .home-hero__cards-scroll {
    box-sizing: border-box;
    width: calc(100% + var(--home-scroll-bleed));
    max-width: 100vw;
    margin-left: calc(-1 * var(--home-edge-pad));
    margin-right: calc(-1 * var(--home-edge-pad));
    padding-top: 24px;
    padding-bottom: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-padding-inline: var(--home-edge-pad);
  }

  .page-home .home-hero__cards-scroll::-webkit-scrollbar {
    display: none;
  }

  .page-home .home-hero__cards {
    display: flex;
    flex-flow: row nowrap;
    gap: 16px;
    width: max-content;
    max-width: none;
    margin-bottom: 40px;
    padding-inline: var(--home-edge-pad);
  }

  .page-home .home-hero__card {
    flex: 0 0 min(349px, calc(100vw - 28px));
    width: min(349px, calc(100vw - 28px));
    border-radius: 14px;
  }

  .page-home .home-hero__card-media {
    height: 380px;
  }

  .page-home .home-hero__card-panel {
    gap: 8px;
    padding: 24px 20px;
  }

  .page-home .home-hero__card-heading {
    font-size: 17px;
    font-weight: 600;
    line-height: 22px;
  }

  .page-home .home-hero__card-sub {
    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
  }

  .page-home .home-hero__card-cta {
    margin-top: 0;
    padding: 11px 22px;
    border-radius: 100px;
    background-color: var(--color-neutral-0);
    color: var(--color-brand-pink-500);
    font-size: 11px;
    font-weight: 700;
    line-height: 22px;
    gap: 6px;
  }

  .page-home .home-hero__card-cta-arrow {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
  }

  /* R02 — Popularne kategorije — horizontal scroll — Figma `2082:11358` PopKat */
  .page-home .home-hero__cats-block {
    gap: 14px;
    padding-top: 12px;
    padding-bottom: 12px;
    overflow: visible;
  }

  .page-home .home-hero__cats {
    overflow: visible;
  }

  .page-home .home-hero__cats-title {
    max-width: 100%;
  }

  .page-home .home-hero__cats-scroll {
    box-sizing: border-box;
    width: calc(100% + 28px);
    max-width: 100vw;
    margin-left: calc(-1 * 14px);
    margin-right: calc(-1 * 14px);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-padding-inline: 14px;
  }

  .page-home .home-hero__cats-scroll::-webkit-scrollbar {
    display: none;
  }

  .page-home .home-hero__cats-list {
    display: flex;
    flex-flow: row nowrap;
    gap: 8px;
    width: max-content;
    max-width: none;
    height: auto;
    padding-inline: 14px;
  }

  .page-home .home-hero__cats-list > li {
    flex: 0 0 auto;
    height: auto;
  }

  .page-home .home-hero__cat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    min-height: 35px;
    padding: 9px 14px;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
    white-space: nowrap;
  }

  /* R03 — Istaknut proizvod (BOJ) — Figma `2082:11373`: baner = slika, product-media sakriven */
  .page-home .home-featured__inner {
    padding-top: 12px;
    padding-bottom: 24px;
  }

  .page-home .home-featured__row {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--color-neutral-100);
    border-radius: 12px;
    background-color: var(--color-neutral-50);
  }

  .page-home .home-featured__banner {
    display: block;
    order: -1;
    flex: 0 0 auto;
    width: 100%;
    height: 280px;
    min-height: 280px;
    border-radius: 0;
    background-color: #f7f5f7;
  }

  .page-home .home-featured__banner-media {
    height: 100%;
    min-height: 280px;
  }

  .page-home .home-featured__product {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    min-height: 0;
    border: none;
    border-radius: 0;
    background-color: transparent;
  }

  .page-home .home-featured__product-media {
    display: none;
  }

  .page-home .home-featured__product-main {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: auto;
    padding: 20px 20px 24px;
    background-color: var(--color-neutral-0);
  }

  .page-home .home-featured__product-head {
    gap: 0;
  }

  .page-home .home-featured__brand {
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.5px;
    color: var(--color-brand-pink-500);
  }

  .page-home .home-featured__name {
    font-size: 17px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: -0.196px;
    color: var(--color-neutral-900);
  }

  .page-home .home-featured__desc {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: -0.196px;
    color: var(--color-neutral-700, #47475b);
  }

  .page-home .home-featured__product-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-top: 0;
    padding-top: 0;
  }

  .page-home .home-featured__price {
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    letter-spacing: -0.196px;
    color: var(--color-brand-pink-500);
  }

  .page-home .home-featured__cart-btn {
    width: 100%;
    min-height: 44px;
    height: 44px;
    padding: 12px;
  }

  /* R04 — Najprodavaniji — Figma `2082:11383` (grid 2 kolone) */
  .page-home .home-bestsellers__inner {
    align-items: stretch;
    gap: 18px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .page-home .home-bestsellers__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    align-self: stretch;
  }

  .page-home .home-bestsellers__item {
    flex: none;
    width: auto;
    max-width: none;
  }

  .page-home .home-bestsellers__card {
    gap: 3px;
    padding: 9px;
  }

  .page-home .home-bestsellers__body {
    gap: 5px;
  }

  .page-home .home-bestsellers__brand {
    font-size: 9px;
    line-height: 18px;
    letter-spacing: 0.45px;
    text-transform: uppercase;
    color: var(--color-neutral-700, #47475b);
  }

  .page-home .home-bestsellers__name {
    min-height: 40px;
    font-size: 11px;
    letter-spacing: -0.178px;
  }

  .page-home .home-bestsellers__rating {
    height: 12px;
    width: 82px;
  }

  .page-home .home-bestsellers__rating-icons {
    gap: 4px;
  }

  .page-home .home-bestsellers__rating-icons svg {
    width: 12px;
    height: 11px;
  }

  .page-home .home-bestsellers__price-spacer {
    height: 18px;
  }

  .page-home .home-bestsellers__price {
    font-size: 12px;
    line-height: 17px;
  }

  .page-home .home-bestsellers__more {
    font-size: 9px;
    line-height: 18px;
    letter-spacing: 0.45px;
    color: #599ae2;
  }

  /* R06 — Najnovije — Figma `2082:11462` */
  .page-home .home-newest__inner {
    gap: 16px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .page-home .home-newest .product-showcase {
    flex-direction: column;
    gap: 16px;
  }

  .page-home .home-newest .product-showcase__media.home-newest__banner {
    order: -1;
    flex: none;
    width: 100%;
    height: 377px;
    min-height: 377px;
    align-self: auto;
  }

  .page-home .home-newest .product-showcase__products {
    width: 100%;
  }

  .page-home .home-newest .product-grid--cols-4 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .page-home .home-newest .product-grid--cols-4 .product-grid__item {
    flex: none;
    width: auto;
    max-width: none;
  }

  .page-home .home-newest .product-card {
    gap: 3px;
    padding: 0;
    align-items: center;
  }

  .page-home .home-newest .product-card__badges {
    display: none;
  }

  .page-home .home-newest .product-card--swap-image:hover .product-card__img-layer--default,
  .page-home .home-newest .product-card--swap-image:focus-visible .product-card__img-layer--default {
    opacity: 1;
  }

  .page-home .home-newest .product-card--swap-image:hover .product-card__img-layer--hover,
  .page-home .home-newest .product-card--swap-image:focus-visible .product-card__img-layer--hover {
    opacity: 0;
  }

  .page-home .home-newest .product-card__body {
    gap: 9px;
    box-sizing: border-box;
    width: 100%;
    padding: 0 9px 9px;
  }

  .page-home .home-newest .product-card__brand {
    font-size: 9px;
    line-height: 18px;
    letter-spacing: 0.45px;
    text-transform: uppercase;
    color: var(--color-neutral-700, #47475b);
  }

  .page-home .home-newest .product-card__name {
    min-height: 40px;
    font-size: 11px;
    letter-spacing: -0.18px;
  }

  .page-home .home-newest .product-card__price-block,
  .page-home .home-newest .product-card__prices {
    min-height: 0;
  }

  .page-home .home-newest .product-card__price--old:empty {
    display: none;
    min-height: 0;
  }

  .page-home .home-newest .product-card__wishlist {
    width: 28px;
    height: 28px;
  }

  .page-home .home-newest .product-card__wishlist-icon {
    width: 28px;
    height: 28px;
  }

  .page-home .home-newest .product-card__cart-btn {
    min-height: 33px;
    padding: 11px;
    font-size: 9px;
    line-height: 18px;
    text-transform: uppercase;
  }

  /* R07 — Izdvajamo (Lip tints) — Figma `2082:11474` */
  .page-home .home-curated__inner {
    gap: 16px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .page-home .home-curated__head {
    gap: 6px;
  }

  .page-home .home-curated__subtitle {
    font-weight: 600;
    color: var(--color-brand-pink-500);
  }

  .page-home .home-curated__row {
    flex-direction: column;
    gap: 16px;
  }

  .page-home .home-curated__feature {
    order: -1;
    flex: none;
    width: 100%;
    gap: 0;
  }

  .page-home .home-curated__products {
    order: 0;
    width: 100%;
  }

  .page-home .home-curated__feature-media {
    flex: none;
    width: 100%;
    height: 369px;
    min-height: 369px;
  }

  .page-home .home-curated__feature-link {
    display: none;
  }

  .page-home .home-curated .product-grid--cols-4 {
    gap: 16px;
  }

  .page-home .home-curated .product-card {
    gap: 3px;
    padding: 0;
    align-items: center;
  }

  .page-home .home-curated .product-card__badges {
    display: none;
  }

  .page-home .home-curated .product-card--swap-image:hover .product-card__img-layer--default,
  .page-home .home-curated .product-card--swap-image:focus-visible .product-card__img-layer--default {
    opacity: 1;
  }

  .page-home .home-curated .product-card--swap-image:hover .product-card__img-layer--hover,
  .page-home .home-curated .product-card--swap-image:focus-visible .product-card__img-layer--hover {
    opacity: 0;
  }

  .page-home .home-curated .product-card__body {
    gap: 9px;
    box-sizing: border-box;
    width: 100%;
    padding: 0 9px 9px;
  }

  .page-home .home-curated .product-card__brand {
    font-size: 9px;
    line-height: 18px;
    letter-spacing: 0.45px;
    text-transform: uppercase;
    color: var(--color-neutral-700, #47475b);
  }

  .page-home .home-curated .product-card__name {
    min-height: 40px;
    font-size: 11px;
    letter-spacing: -0.18px;
  }

  .page-home .home-curated .product-card__price-block,
  .page-home .home-curated .product-card__prices {
    min-height: 0;
  }

  .page-home .home-curated .product-card__price--old {
    display: none;
  }

  .page-home .home-curated .product-card__wishlist {
    width: 28px;
    height: 28px;
  }

  .page-home .home-curated .product-card__wishlist-icon {
    width: 28px;
    height: 28px;
  }

  .page-home .home-curated .product-card__cart-btn {
    min-height: 33px;
    padding: 11px;
    font-size: 9px;
    line-height: 18px;
    text-transform: uppercase;
  }

  /* R08 — USP: layout u @media (max-width: 1023px) */

  /* R09 — Sale: 2 kolone (≤767); layout + 3 kolone u @media (max-width: 1100px) */
  .page-home .home-sale .product-grid--cols-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  /* R10 — Brendovi: ≤767 nadjačava 1023 slider (173px kartice, edge bleed) */
  .page-home .home-brands__inner {
    gap: 16px;
  }

  .page-home .home-brands__title {
    padding-right: 16px;
  }

  .page-home .home-brands__grid-scroll {
    width: calc(100% + 28px);
    max-width: 100vw;
    margin-left: calc(-1 * 14px);
    margin-right: calc(-1 * 14px);
    padding-right: 0;
    scroll-padding-inline: 14px;
  }

  .page-home .home-brands__grid {
    gap: 12.5px;
    padding-inline: 14px;
  }

  .page-home .home-brands__item {
    width: 173px;
    min-width: 173px;
    max-width: 173px;
  }

  .page-home .home-brands__card {
    width: 173px;
    max-width: 173px;
    height: 275px;
    min-height: 275px;
    border-radius: 3px;
  }

  .page-home .home-brands__label {
    font-size: 14px;
    line-height: 20px;
  }

  /* Edge bleed (14px) + prefooter/home-bottom prilagođavanja */
  .page-home {
    --home-edge-pad: 14px;
    --home-scroll-bleed: 28px;
  }

  .page-home .layout-container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .page-home .home-prefooter__col:nth-child(-n + 3) {
    margin-bottom: 0;
  }

  .page-home .home-prefooter__col:nth-child(-n + 4) {
    margin-bottom: -10px;
  }

  .page-home .home-bottom {
    gap: 0;
  }
}
