/* ================================================================
   HOMEPAGE — Aesop-inspired minimal  (biomentor / myshop)
   ================================================================ */

.fp-main {
  background: #FAF8F3;
}

/* ═══════════════════════════════════════════════════════════════
   BANNER SLIDER
   ═══════════════════════════════════════════════════════════════ */
.fp-banner {
  width: 100%;
  overflow: hidden;
  background: #111;
}

/* Explicit height — critical to prevent Swiper collapse */
.fp-banner__swiper {
  width: 100%;
  height: clamp(480px, 72vh, 820px);
}

.fp-banner__slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.fp-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Vignette: darkens edges, center stays clear */
.fp-banner__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 130% 90% at 50% 50%, rgba(0,0,0,.0) 0%, rgba(0,0,0,.50) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.08) 0%, rgba(0,0,0,.32) 100%);
  z-index: 1;
}

/* Text — centered like Aesop */
.fp-banner__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 48px;
}

.fp-banner__eyebrow {
  font-family: 'Golos Text', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin: 0 0 18px;
}

.fp-banner__title {
  font-family: 'Golos Text', sans-serif;
  font-size: clamp(28px, 4.2vw, 58px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: #fff;
  margin: 0 0 28px;
  max-width: 800px;
}

/* Outlined button — Aesop style */
.fp-banner__btn {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid rgba(255,255,255,.75);
  background: transparent;
  color: #fff;
  font-family: 'Golos Text', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 1px;
  transition: background 220ms, border-color 220ms;
}
.fp-banner__btn:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  color: #fff;
}

/* Pagination — horizontal dashes */
.fp-banner__pagination {
  bottom: 24px !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  text-align: center;
}
.fp-banner__pagination .swiper-pagination-bullet {
  width: 24px;
  height: 2px;
  border-radius: 1px;
  background: rgba(255,255,255,.38);
  opacity: 1;
  margin: 0 4px !important;
  transition: background 280ms, width 280ms;
}
.fp-banner__pagination .swiper-pagination-bullet-active {
  background: #fff;
  width: 40px;
}

/* Arrows */
.fp-banner__prev,
.fp-banner__next {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
}
.fp-banner__prev { left: 28px !important; }
.fp-banner__next { right: 28px !important; }
.fp-banner__prev:hover,
.fp-banner__next:hover { background: rgba(255,255,255,.26); }
.fp-banner__prev::after,
.fp-banner__next::after {
  font-size: 14px !important;
  color: #fff;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT SECTIONS
   ═══════════════════════════════════════════════════════════════ */
.fp-section {
  background: #FAF8F3;
  padding: 80px 0;
}
.fp-section--alt {
  background: #fff;
}

.fp-section__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Centered section header — Aesop style */
.fp-section__head {
  text-align: center;
  margin-bottom: 48px;
}

.fp-section__eyebrow {
  font-family: 'Golos Text', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #9B9589;
  margin: 0 0 10px;
}

.fp-section__title {
  font-family: 'Golos Text', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  letter-spacing: -.01em;
  color: #1A1A1A;
  margin: 0 0 14px;
}

.fp-section__sub {
  font-family: 'Golos Text', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  color: #9B9589;
  max-width: 520px;
  margin: 0 auto 20px;
}

.fp-section__all {
  display: inline-block;
  font-family: 'Golos Text', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #3A3530;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 160ms;
}
.fp-section__all:hover { color: #1A1A1A; }

/* ── Product grid ── */
.fp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* ── Product card — Aesop-style: no border, wishlist on image ── */
.fp-card {
  background: transparent;
  /* однакова висота карточок у ряду + «ціна / кошик» притиснуті до низу,
     навіть коли назва займає 1 рядок, а в сусідній картці — 2 */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.fp-card__img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #F5F0E8;
  overflow: hidden;
  margin-bottom: 16px;
}

.fp-card__img-wrap a {
  /* абсолютно на всю рамку: height:100% у вкладеної картинки не спрацьовує, коли висота
     рамки береться з aspect-ratio (вона не вважається «визначеною»), і фото з пропорціями
     не 1:1 залишало порожню смугу знизу */
  position: absolute;
  inset: 0;
  display: block;
}

.fp-card .fp-card__img {
  /* Дві причини «порожньої смуги» під фото не 1:1:
     1) WooCommerce: `.woocommerce-page img { height: auto }` (специфічність 0,1,1) перебивала
        наше `.fp-card__img { height: 100% }` (0,1,0) — тому тут селектор із двох класів (0,2,0);
     2) <img width height> отримує aspect-ratio з атрибутів, а height:100% від рамки з
        aspect-ratio не завжди «визначений» — тому картинка абсолютно по рамці
        .fp-card__img-wrap (position:relative). */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* тепер у <img> повне фото (не заздалегідь обрізана мініатюра 300×300): cover дає ту саму
     центральну обрізку в квадрат, що була раніше, але з повною роздільною здатністю */
  object-fit: cover;
  padding: 0;
  display: block;
  transition: transform 420ms ease;
}
.fp-card:hover .fp-card__img {
  transform: scale(1.04);
}

/* Wishlist button — top right, on image */
.fp-card__wish {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.85);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B6560;
  transition: background 160ms, color 160ms;
  padding: 0;
}
.fp-card__wish:hover { background: #fff; color: #1A1A1A; }
.fp-card__wish.active { background: #1A1A1A; color: #fff; }

.fp-card__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.fp-card__cat {
  font-family: 'Golos Text', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9B9589;
}

.fp-card__name {
  font-family: 'Golos Text', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: #1A1A1A;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.fp-card__name:hover { text-decoration: underline; }

.fp-card__rating {
  display: flex;
  align-items: center;
  gap: 2px;
}
.fp-card__star { font-size: 11px; color: #DDD6CC; line-height: 1; }
.fp-card__star.fill { color: #C8A84B; }
.fp-card__rev { font-family: 'Golos Text', sans-serif; font-size: 10px; color: #9B9589; margin-left: 3px; }

.fp-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 4px;
  gap: 8px;
}

.fp-card__price {
  font-family: 'Golos Text', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1A1A1A;
}
.fp-card__price ins { text-decoration: none; }
.fp-card__price del { font-size: 12px; font-weight: 400; color: #C8C0B4; margin-right: 4px; }

.fp-card__atc {
  width: 32px;
  height: 32px;
  background: #1A1A1A;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  text-decoration: none;
  transition: background 150ms;
  flex-shrink: 0;
  line-height: 0;
  border: none;
}
.fp-card__atc:hover { background: #000; }

/* ═══════════════════════════════════════════════════════════════
   BRAND MANIFESTO
   ═══════════════════════════════════════════════════════════════ */
.fp-manifesto {
  background: #1A1A1A;
  padding: 88px 0;
}

.fp-manifesto__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  max-width: 860px;
}

.fp-manifesto__label {
  font-family: 'Golos Text', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #4B4640;
  margin: 0 0 28px;
}

.fp-manifesto__quote {
  font-family: 'Golos Text', sans-serif;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 300;
  line-height: 1.72;
  color: #F5F0E8;
  margin: 0 0 36px;
  border: none;
  padding: 0;
  quotes: none;
  letter-spacing: -.005em;
}

.fp-manifesto__link {
  font-family: 'Golos Text', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6B6560;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 160ms;
}
.fp-manifesto__link:hover { color: #F5F0E8; }

/* ═══════════════════════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════════════════════ */
.fp-trust {
  background: #fff;
  border-top: 1px solid #EFE9DF;
}

.fp-trust__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.fp-trust__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 32px 36px;
  border-right: 1px solid #EFE9DF;
  flex: 1;
  min-width: 180px;
}
.fp-trust__item:last-child { border-right: none; }

.fp-trust__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid #E8E0D4 !important;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B6560 !important;
  background: transparent !important;
}
.fp-trust__icon svg {
  width: 17px;
  height: 17px;
  color: #6B6560 !important;
}
.fp-trust__icon svg * {
  stroke: #6B6560 !important;
  fill: none !important;
}

.fp-trust__label {
  font-family: 'Golos Text', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 3px;
}
.fp-trust__desc {
  font-family: 'Golos Text', sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: #9B9589;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1000px) {
  .fp-section__inner { padding: 0 24px; }
  .fp-manifesto__inner { padding: 0 24px; }
  .fp-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .fp-banner__prev { left: 16px !important; }
  .fp-banner__next { right: 16px !important; }
}

@media (max-width: 768px) {
  /* Banner */
  .fp-banner__swiper { height: clamp(280px, 55vw, 420px); }
  .fp-banner__content { padding: 24px; }
  .fp-banner__title { font-size: clamp(20px, 5.5vw, 32px); margin-bottom: 20px; }
  .fp-banner__eyebrow { margin-bottom: 12px; }
  .fp-banner__btn { padding: 10px 22px; font-size: 10px; }
  .fp-banner__prev, .fp-banner__next { width: 36px; height: 36px; }
  .fp-banner__prev::after, .fp-banner__next::after { font-size: 12px !important; }

  /* Sections */
  .fp-section { padding: 52px 0; }
  .fp-section__inner { padding: 0 16px; }
  .fp-section__head { margin-bottom: 32px; }
  .fp-section__title { font-size: 24px; }

  /* Grid */
  .fp-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Manifesto */
  .fp-manifesto { padding: 60px 0; }
  .fp-manifesto__inner { padding: 0 20px; }
  .fp-manifesto__quote { font-size: 17px; }

  /* Trust */
  .fp-trust__inner { flex-direction: column; }
  .fp-trust__item {
    border-right: none;
    border-bottom: 1px solid #EFE9DF;
    padding: 20px 20px;
    min-width: 0;
  }
  .fp-trust__item:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .fp-banner__swiper { height: clamp(220px, 60vw, 320px); }
  .fp-banner__prev, .fp-banner__next { display: none; }

  .fp-section { padding: 40px 0; }
  .fp-section__inner { padding: 0 14px; }
  .fp-grid { gap: 10px; }

  .fp-card__img { padding: 12px; }
  .fp-card__name { font-size: 13px; }
  .fp-card__price { font-size: 14px; }
}

@media (max-width: 360px) {
  .fp-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .fp-section__inner { padding: 0 10px; }
}
