:root {
  --colors-cards-light-enabled-surface: #fff;
  --font-family-base: "Farfetch Basis", "Helvetica Neue", Arial, sans-serif;
  --font-size-base: 1rem; /* Base font size for scaling */
  --line-height-base: 1.333; /* Relative to font-size */
  --container-width: 1200px;
  --card-width: 23.5vw; /* Relative to viewport for proportional scaling */
  --card-min: 180px; /* Adjusted min-width for smaller screens */
  --gap: 2vw; /* Proportional gap between cards */
  --card-aspect-ratio: 283 / 520; /* Maintain card proportions */
  --info-gap: 0.5rem; /* Consistent gap between info elements */
}

/* Site container */
.site-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 1rem 10px;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Header */
.homepage-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0rem 0.5rem;
  margin: 0 auto 0rem;
  max-width: var(--container-width);
}
.slider-title {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: #222;
  text-transform: uppercase;
  margin: 0;
}
.slider-shop-all {
  font-family: var(--font-family-base);
  font-size: calc(var(--font-size-base) * 0.9);
  color: #222;
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  border: 1px solid #222;
  border-radius: 4px;
  transition: background 0.2s;
}
.slider-shop-all:hover { background: rgba(0,0,0,0.05); }
.slider-shop-all:focus {
  outline: 2px solid #222;
  outline-offset: 2px;
}

/* Slider wrapper */
.homepage-slider .slider-container {
  overflow: hidden;
  padding: 1.5vw 0.5rem;
  margin: 0 auto;
  max-width: var(--container-width);
}
.homepage-slider .slider-wrapper {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
  margin-top: 0.5rem;
}
.homepage-slider .slider-wrapper::-webkit-scrollbar {
  height: 0.4rem;
}
.homepage-slider .slider-wrapper::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 3px;
}

/* Each card */
.homepage-slider .slider-item {
  flex: 0 1 var(--card-width);
  min-width: var(--card-min);
  box-sizing: border-box;
}

/* Card grid & image swap */
.slider-card.tr-2u1m5k {
  display: grid;
  grid-template:
    "image" auto
    "info" auto / 1fr;
  width: 100%;
  aspect-ratio: var(--card-aspect-ratio); /* Maintain proportional height */
  background: var(--colors-cards-light-enabled-surface);
  position: relative;
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: #222;
  cursor: pointer;
}
.slider-card-img-wrapper {
  grid-area: image;
  position: relative;
  overflow: hidden;
  background: #f9f9f9;
  aspect-ratio: 283 / 377; /* Maintain image aspect ratio */
}
.slider-card-img-primary,
.slider-card-img-secondary {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.3s ease;
}
.slider-card-img-primary { opacity: 1; }
.slider-card-img-secondary { opacity: 0; }
.slider-card.tr-2u1m5k:hover .slider-card-img-primary { opacity: 0; }
.slider-card.tr-2u1m5k:hover .slider-card-img-secondary { opacity: 1; }

/* Info area */
.slider-card-info {
  grid-area: info;
  position: relative;
  background: #fff; /* if your design has a white bg */
  z-index: 1;
  padding: calc(var(--gap) * 0.75);
  display: flex;
  flex-direction: column;
  gap: var(--info-gap); /* Consistent gaps between info elements */
  font-size: calc(var(--font-size-base) * 0.9); /* Scale text with card */
}
.slider-card-brand {
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
}
.slider-card-title {
  margin: 0;
  font-weight: 500;
  font-size: calc(var(--font-size-base) * 0.85); /* Smaller title */
  text-transform: uppercase;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 1; /* Truncate to one line */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}
.slider-card-price {
  margin: 0;
  font-weight: 500;
}
.slider-card-info .slider-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;        /* number of lines you want */
  overflow: hidden;             /* absolutely critical */
  text-overflow: ellipsis;
  white-space: normal;          /* allow wrapping */
  line-height: 1.3em;           /* match your font’s line-height */
  max-height: calc(1.3em * 2);  /* line-height × lines */
  margin-bottom: .5em;          /* space before price */
}

/* Breakpoints: proportional card count and scaling */
@media (max-width: 1024px) {
  :root {
    --font-size-base: 0.95rem;
    --card-width: 31vw; /* 3 cards with proportional gap */
    --gap: 1.5vw;
    --info-gap: 0.45rem;
  }
  .homepage-slider .slider-item {
    flex: 0 1 calc((100% - 2 * var(--gap)) / 3);
  }
}
@media (max-width: 768px) {
  :root {
    --font-size-base: 0.9rem;
    --card-width: 48vw; /* 2 cards with proportional gap */
    --gap: 2vw;
    --info-gap: 0.4rem;
  }
  .homepage-slider .slider-item {
    flex: 0 1 calc((100% - 1 * var(--gap)) / 2);
  }
}
@media (max-width: 480px) {
  :root {
    --font-size-base: 0.85rem;
    --card-width: 90vw; /* Increased by ~30% from 80vw */
    --gap: 2.5vw;
    --info-gap: 0.35rem;
  }
  .homepage-slider .slider-item {
    flex: 0 1 90%; /* Match increased card width */
  }
}/* ========== Help Bar Container ========== */
/* Center the bar and add top/bottom spacing as needed */
.help-bar-container {
  width: 100%;
  box-sizing: border-box;
  padding: 1rem 0; /* adjust vertical spacing as needed */
  background: transparent; /* or a subtle background if desired */
}

/* Flex container for the three cards */
.help-bar {
  display: flex;
  gap: 1rem; /* space between cards, adjust as desired */
  justify-content: center; /* center cards in large viewport */
  flex-wrap: wrap; /* wrap on small screens */
  max-width: var(--container-width, 1200px);
  margin: 0 auto;
  padding: 0 1rem; /* horizontal padding on small screens */
}

/* ========== Individual Card ========== */
.help-card {
  display: flex;
  align-items: flex-start; /* icon top-aligned with text */
  text-decoration: none;
  background: var(--colors-cards-light-enabled-surface, #fff);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 6px;
  padding: 1rem;
  box-sizing: border-box;
  flex: 1 1 280px; /* grow/shrink, minimum ~280px; adjust min width */
  max-width: 320px; /* optional max-width to avoid too-wide cards on large screens */
  transition: box-shadow 0.2s, transform 0.1s;
}

/* Hover/focus styles */
.help-card:hover,
.help-card:focus {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  border-color: rgba(0,0,0,0.15);
}

/* Icon wrapper */
.help-card-icon {
  flex: 0 0 auto;
  margin-right: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG icon size */
.help-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  color: rgb(34,34,34);
}

/* Text container */
.help-card-text {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

/* Title */
.help-card-title {
  font-family: var(--font-family-base, "Farfetch Basis", "Helvetica Neue", Arial, sans-serif);
  font-size: var(--font-size-base, 1rem);
  line-height: var(--line-height-base, 1.333);
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  color: rgb(34,34,34);
}

/* Description */
.help-card-desc {
  font-family: var(--font-family-base, "Farfetch Basis", "Helvetica Neue", Arial, sans-serif);
  font-size: calc(var(--font-size-base, 1rem) * 0.9);
  line-height: var(--line-height-base, 1.333);
  margin: 0.25rem 0 0;
  color: rgb(85,85,85);
}
/* Outer wrapper for slider */
.hero-banner-slider {
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  position: relative;
}

/* Swiper pagination (bullets) */
.hero-banner-slider .swiper-pagination {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

/* Navigation arrows */
.hero-banner-slider .swiper-button-prev,
.hero-banner-slider .swiper-button-next {
  color: #222;
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  /* You may override Swiper default pseudoelements to use your own arrow icons */
}
.hero-banner-slider .swiper-button-prev {
  left: 16px;
}
.hero-banner-slider .swiper-button-next {
  right: 16px;
}

/* Slide wrapper override: ensure slides fill width */
.hero-banner-slider .swiper-slide {
  display: flex;
  justify-content: center;
}

/* Banner inner layout */
.hero-banner {
  width: 100%;
  box-sizing: border-box;
  padding: 0.5rem;
  margin-bottom: 1rem;
}
.hero-banner__inner {
  display: flex;
  flex-direction: row;
  align-items: center; /* or flex-start to align top */
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-banner__media {
  flex: 1 1 50%;
  box-sizing: border-box;
}
.hero-banner__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-banner__content {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* center vertically beside image */
  box-sizing: border-box;
}
.hero-banner__title {
  font-family: "Farfetch Basis", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
  margin: 0 0 -16px;
  color: #222;
}
.hero-banner__text {
  font-family: 'inter', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  margin: 1rem 0 2rem;
  color: #333;
}
.hero-banner--mirror .hero-banner__inner {
  display: flex;
 flex-direction: row-reverse; /* image on the right, text on the left */
  align-items: center;
}

.hero-banner__button {
  display: inline-block;
  font-family: "Farfetch Basis", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  color: #222;
  background: transparent;
  border: 1px solid #222;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;  
  margin: 1.5rem 0 1rem;
}
.hero-banner__button:hover,
.hero-banner__button:focus {
  background: rgba(0,0,0,0.05);
}

/* Responsive: stack on tablet/mobile */
@media (max-width: 768px) {
  .hero-banner__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-banner__media,
  .hero-banner__content {
    width: 100%;
  }
  .hero-banner__content {
    margin-top: 16px;
  }
}


/* Optional: if you want the image to have a fixed aspect ratio (e.g. square or 4:3) */
/* Wrap <img> in a container with aspect-ratio, then absolutely position the img inside */
/*
.hero-banner__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.hero-banner__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
*/

/* ========== Responsive adjustments ========== */
/* On narrower screens, let cards stack or shrink */
@media (max-width: 900px) {
  .help-bar {
    gap: 0.5rem;
  }
  .help-card {
    flex: 1 1 45%; /* two per row if space */
    max-width: none;
  }
}

@media (max-width: 600px) {
  .help-card {
    flex: 1 1 100%; /* full-width cards */
  }
}
@media (max-width: 768px) {
  .hero-banner.hero-banner--mirror .hero-banner__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }


  .hero-banner__media img {
    /* cover that tall box without stretching */
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero-banner__content {
    width: 100%;
    padding: 0 1rem;
  }

  .hero-banner__title {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    margin-bottom: 0.5rem;
  }

  .hero-banner__text {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 1rem;
  }

  .hero-banner__button {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }
}
.homepage-slider .slider-container {
  min-height: 600px; /* or whatever minimum height you need */
}

/* If you also want to vertically center the slides within it: */
.homepage-slider .slider-wrapper {
  display: flex;
  align-items: center;
  height: 100%;
}
