@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/ib-home/cormorant-normal-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/ib-home/cormorant-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ib-home/cormorant-italic-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ib-home/cormorant-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ib-home/playfair-italic-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ib-home/playfair-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Upright Playfair (variable): card labels 500, fact titles 600 in the Figma frames. */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/ib-home/playfair-normal-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/ib-home/playfair-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.common-home {
  background: #fff;
  color: #1a1a1a;
}

.common-home .ib-schema {
  display: none;
}

.common-home .ib-home,
.common-home .ib-home * {
  box-sizing: border-box;
}

.common-home .ib-home {
  overflow: hidden;
  color: #1a1a1a;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

.common-home .ib-home img {
  max-width: 100%;
}

.common-home .ib-shell {
  width: min(100%, 1372px);
  margin: 0 auto;
  padding-right: 36px;
  padding-left: 36px;
}

.common-home .ib-section {
  padding: 100px 0;
}

.common-home .ib-section h2,
.common-home .ib-hero h1 {
  margin: 0;
  color: #1a1a1a;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  text-transform: uppercase;
}

.common-home .ib-section h2 em,
.common-home .ib-hero h1 em {
  color: #015971;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  text-transform: none;
}

.common-home .ib-button {
  display: inline-flex;
  min-width: 200px;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 1px solid #015971;
  background: #015971;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: background-color .25s ease, color .25s ease;
}

.common-home .ib-button:focus-visible {
  background: transparent;
  color: #015971;
  text-decoration: none;
}

.common-home .ib-section-heading h2 {
  display: inline-block;
  padding-bottom: 14px;
  border-bottom: 1px solid #015971;
  font-size: 40px;
  line-height: 1.3;
}

.common-home .ib-section-heading p {
  max-width: 510px;
  margin: 26px 0 0;
  font-size: 18px;
}

.common-home .ib-section-heading--center {
  text-align: center;
}

.common-home .ib-section-heading--center p {
  margin-right: auto;
  margin-left: auto;
}

.common-home .ib-section-heading--split {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.common-home .ib-text-link {
  margin-top: 30px;
  color: #015971;
  font-size: 17px;
  text-decoration: none;
}

.common-home .ib-text-link span {
  /* The glyph's ink sits ~8px above the baseline; drop it onto the x-height centre, as in Figma. */
  position: relative;
  top: 3px;
  display: inline-block;
  margin-left: 14px;
  font-size: 27px;
  transition: transform .2s ease;
}

.common-home .ib-text-link:focus-visible span {
  transform: translateX(5px);
}

/* Hero */
.common-home .ib-hero {
  background: #fffbf5;
}

.common-home .ib-hero__fallback {
  display: grid;
  min-height: 760px;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "portrait copy";
  align-items: center;
  max-width: 1440px;
  width: 100%;
  padding: 0;
}

.common-home .ib-hero__copy {
  grid-area: copy;
  padding: 60px 70px 60px 10px;
  text-align: center;
}

/* The fallback mirrors the three-slide composition from the approved preview
 * until client-managed MegaSlider artwork is supplied. */
.common-home .ib-hero__fallback-track {
  display: grid;
  grid-area: copy;
  align-items: center;
}

.common-home .ib-hero__fallback-track > .ib-hero__fallback-slide {
  grid-area: 1 / 1;
  padding: 60px 70px 60px 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .6s cubic-bezier(.22, .61, .36, 1);
}

.common-home .ib-hero__fallback-track > .ib-hero__fallback-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition-delay: .12s;
}

.common-home .ib-hero__copy h1 {
  font-size: 64px;
  line-height: 1.3;
}

.common-home .ib-hero__copy h1 em {
  display: block;
  font-size: 74px;
  line-height: 1.22;
}

.common-home .ib-hero__copy p {
  max-width: 510px;
  margin: 40px auto;
}

.common-home .ib-hero__portrait {
  width: 100%;
  min-height: 0;
  aspect-ratio: 720 / 760;
  align-self: end;
  background-image: url("../image/ib-home/hero-portrait.webp");
  background-position: 0 100%;
  background-size: contain;
  background-repeat: no-repeat;
  grid-area: portrait;
}

.common-home .ib-hero .megasliderpro,
.common-home .ib-hero .megasliderpro .row,
.common-home .ib-hero .megasliderpro-container {
  width: 100%;
  margin: 0;
}

.common-home .ib-hero .oc-nivoslider,
.common-home .ib-hero #oc-inivoslider {
  min-height: 650px;
  background: #fffbf5;
}

.common-home .ib-hero #oc-inivoslider .bg-image-slider,
.common-home .ib-hero #oc-inivoslider > a > .bg-image-slider {
  width: 100% !important;
  height: min(53.5vw, 770px) !important;
  object-fit: cover;
}

.common-home .ib-hero .nivo-caption {
  right: 4%;
  left: auto;
  width: 48%;
  background: transparent;
  color: #1a1a1a;
  opacity: 1;
  text-align: center;
}

.common-home .ib-hero .msp-title h3,
.common-home .ib-hero .sub-title h3 {
  background: transparent !important;
  color: #1a1a1a !important;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 4.4vw, 64px);
  font-weight: 500;
  line-height: 1.15;
  text-transform: uppercase;
}

.common-home .ib-hero .sub-title h3 {
  color: #015971 !important;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  text-transform: none;
}

.common-home .ib-hero .msp-des {
  max-width: 520px;
  margin: 24px auto;
  color: #1a1a1a;
  font-size: 16px;
}

.common-home .ib-hero .msp-readmore a {
  display: inline-flex;
  min-width: 210px;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid #015971 !important;
  background: #015971 !important;
  color: #fff !important;
}

/*
 * Hero pagination. MegaSlider runs nivoSlider, which drops `.nivo-controlNav`
 * after the slides and `.nivo-directionNav` inside them; both are positioned
 * against the hero so they land where the Figma frame puts them.
 */
.common-home .ib-hero {
  position: relative;
}

/*
 * nivoSlider drops `.nivo-controlNav` next to the slides inside `.oc-nivoslider`.
 * Keeping that wrapper unpositioned anchors the dots to the hero section, which
 * is where the Figma frame puts them.
 */
.common-home .ib-hero .oc-nivoslider {
  position: static;
}

.common-home .ib-hero .nivo-controlNav {
  position: absolute;
  z-index: 3;
  /* Dots align with the CTA in the copy column. */
  right: 0;
  bottom: 30px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: auto;
  margin: 0 auto;
  padding: 0 140px 0 0;
  /* The bar spans the hero and would swallow clicks meant for the arrows. */
  pointer-events: none;
}

.common-home .ib-hero .nivo-controlNav a {
  pointer-events: auto;
}

.common-home .ib-hero .nivo-controlNav a.nivo-control {
  display: block !important;
  flex: 0 0 16px;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 50%;
  background: #d9d9d9 !important;
  color: transparent !important;
  font-size: 0;
  line-height: 0;
  text-indent: -999px;
  cursor: pointer;
  transition: background-color .3s ease;
}

.common-home .ib-hero .nivo-controlNav a.nivo-control.active {
  background: #015971 !important;
}

.common-home .ib-hero .nivo-directionNav {
  position: absolute;
  z-index: 3;
  right: max(36px, calc((100% - 1300px) / 2));
  /* Centred on the 16px dots, which sit 30px up: 30 + 8 - 16. */
  bottom: 22px;
  display: flex;
  gap: 10px;
}

.common-home .ib-hero .nivo-directionNav a {
  display: inline-flex !important;
  position: static !important;
  right: auto !important;
  left: auto !important;
  width: 32px !important;
  height: 32px !important;
  margin: 0 !important;
  align-items: center;
  justify-content: center;
  border: 1px solid #dcdad7;
  border-radius: 50%;
  background: transparent !important;
  color: transparent;
  font-size: 0;
  text-indent: -999px;
  cursor: pointer;
  transition: border-color .25s ease;
}

/* A rotated 10px square reads as the same chevron the slider arrows use. */
.common-home .ib-hero .nivo-directionNav a::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 1.6px solid #bfbebd;
  border-bottom: 1.6px solid #bfbebd;
  text-indent: 0;
  transition: border-color .25s ease;
}

.common-home .ib-hero .nivo-directionNav a.nivo-prevNav::after {
  margin-left: 4px;
  transform: rotate(135deg);
}

.common-home .ib-hero .nivo-directionNav a.nivo-nextNav::after {
  margin-right: 4px;
  transform: rotate(-45deg);
}

/* Categories */
.common-home .ib-categories {
  padding-top: 100px;
  padding-bottom: 100px;
}

.common-home .ib-categories__grid {
  display: grid;
  margin-top: 51px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.common-home .ib-category {
  display: block;
  color: #fff;
  text-decoration: none;
}

/* Cards stay in place; only the label colour answers hover and focus. */
.common-home .ib-category:focus-visible {
  color: #fff;
  text-decoration: none;
}

.common-home .ib-category__photo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.common-home .ib-category--hair .ib-category__photo { background-image: url("../image/ib-home/category-hair.webp"); }
.common-home .ib-category--face .ib-category__photo { background-image: url("../image/ib-home/category-face.webp"); }
.common-home .ib-category--body .ib-category__photo { background-image: url("../image/ib-home/category-body.webp"); }
.common-home .ib-category--kits .ib-category__photo { background-image: url("../image/ib-home/category-kits.webp"); }

.common-home .ib-category__label {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: #896528;
  /* Figma: Playfair Display 500, 20/110%. */
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
  transition: background-color .45s ease;
}

.common-home .ib-category:focus-visible .ib-category__label { background: #015971; }

/* Manifesto */
.common-home .ib-manifesto {
  background: #fffbf5;
  padding-top: 120px;
  padding-bottom: 100px;
}

.common-home .ib-manifesto__inner h2 {
  max-width: 960px;
  margin: 0 auto;
  font-size: 64px;
  line-height: 1.3;
  text-align: center;
}

.common-home .ib-manifesto__inner h2 em {
  font-size: 74px;
  line-height: 1.22;
}

.common-home .ib-manifesto__copy {
  display: grid;
  max-width: 1080px;
  margin: 50px auto 0;
  grid-template-columns: 1fr 1fr;
}

.common-home .ib-manifesto__copy p {
  margin: 0;
  padding: 40px 95px;
  text-align: center;
}

.common-home .ib-manifesto__copy p + p {
  border-left: 1px solid #015971;
}

/* About */
.common-home .ib-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 420fr) minmax(0, 750fr);
  align-items: center;
  gap: 130px;
}

.common-home .ib-about__intro h2 {
  max-width: 450px;
  font-size: 64px;
  line-height: 1.3;
}

.common-home .ib-about__intro h2 em {
  display: inline;
  font-size: 74px;
}

.common-home .ib-about__intro p {
  max-width: 430px;
  margin: 40px 0;
}

.common-home .ib-about__facts {
  margin: 0;
}

.common-home .ib-about__facts > div {
  display: grid;
  align-items: start;
  padding: 55px 0;
  border-bottom: 1px solid #015971;
  grid-template-columns: 190px 1fr;
  gap: 65px;
}

.common-home .ib-about__facts dt {
  color: #015971;
  /* Figma: Playfair Display 600, 24/130%. */
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.common-home .ib-about__facts dd {
  margin: 0;
}

/* Featured products */
.common-home .ib-hits {
  background: #fffbf5;
}

.common-home .ib-module--featured {
  margin-top: 58px;
}

.common-home .ib-module--featured > div,
.common-home .ib-module--featured .container-module,
.common-home .ib-module--featured .product-slider,
.common-home .ib-module--featured .container-modules {
  margin: 0;
  padding: 0;
}

.common-home .ib-module--featured .module-title {
  display: none;
}

.common-home .ib-module--featured .container-modules {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
}

.common-home .ib-module--featured .product-layout {
  width: calc(25% - 15px) !important;
  min-width: 0;
  padding: 0 !important;
  float: none;
}

.common-home .ib-module--featured .product-thumb {
  display: flex;
  height: 100%;
  min-height: 390px;
  flex-direction: column;
  padding: 12px 12px 20px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
  overflow: hidden;
}

.common-home .ib-module--featured .product-thumb .image {
  height: 210px;
  margin: 0;
  padding: 8px;
}

.common-home .ib-module--featured .product-thumb .image > a,
.common-home .ib-module--featured .product-thumb .image-carousel,
.common-home .ib-module--featured .product-thumb .image-carousel > a {
  display: block;
  height: 100%;
}

.common-home .ib-module--featured .product-thumb .image img {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  object-fit: contain;
}

.common-home .ib-module--featured .caption {
  display: flex;
  min-height: 124px;
  flex: 1;
  flex-direction: column;
  padding: 12px 8px 0;
}

.common-home .ib-module--featured .product-name {
  min-height: 60px;
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.25;
}

.common-home .ib-module--featured .product-name a {
  color: #1a1a1a;
}

.common-home .ib-module--featured .product-description,
.common-home .ib-module--featured .product-model,
.common-home .ib-module--featured .option,
.common-home .ib-module--featured .rating,
.common-home .ib-module--featured .quantity_plus_minus,
.common-home .ib-module--featured .actions-quick-order,
.common-home .ib-module--featured .wishlist,
.common-home .ib-module--featured .compare,
.common-home .ib-module--featured .quickview,
.common-home .ib-module--featured .action-timer {
  display: none !important;
}

.common-home .ib-module--featured .stickers-ns {
  top: 8px;
  left: 8px;
}

.common-home .ib-module--featured .sticker-ns {
  border-radius: 0;
  background: #015971 !important;
  color: #fff !important;
}

.common-home .ib-module--featured .price {
  display: flex;
  min-height: 48px;
  align-items: flex-end;
  margin-top: auto;
  gap: 8px;
  color: #015971;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 600;
}

.common-home .ib-module--featured .price-old {
  color: #595959;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-decoration: line-through;
}

.common-home .ib-module--featured .price-new {
  color: #015971;
}

.common-home .ib-module--featured .actions {
  margin-top: 10px;
}

.common-home .ib-module--featured .actions .cart {
  display: block;
  width: 100%;
}

.common-home .ib-module--featured .actions .btn-general {
  width: 100%;
  min-height: 42px;
  border: 1px solid #015971;
  border-radius: 0;
  background: transparent;
  color: #015971;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: background-color .25s ease, color .25s ease;
}

.common-home .ib-module--featured .actions .btn-general:hover,
.common-home .ib-module--featured .actions .btn-general:hover span,
.common-home .ib-module--featured .actions .btn-general:focus,
.common-home .ib-module--featured .actions .btn-general:focus span {
  color: #fff !important;
}

/* Care selection */
.common-home .ib-care__grid {
  display: grid;
  align-items: center;
  grid-template-columns: .95fr 1.05fr;
  gap: 80px;
}

.common-home .ib-care__copy h2 {
  max-width: 530px;
  font-size: 64px;
  line-height: 1.18;
}

.common-home .ib-care__copy h2 em {
  display: block;
  font-size: 72px;
}

.common-home .ib-care__copy p {
  max-width: 470px;
  margin: 42px 0;
}

.common-home .ib-care__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.common-home .ib-care-card {
  margin: 0;
}

.common-home .ib-care-card__photo {
  display: block;
  width: 100%;
  aspect-ratio: 310 / 286;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.common-home .ib-care-card--prevention .ib-care-card__photo { background-image: url("../image/ib-home/care-prevention.webp"); }
.common-home .ib-care-card--cleansing .ib-care-card__photo { background-image: url("../image/ib-home/care-cleansing.webp"); }
.common-home .ib-care-card--antiage .ib-care-card__photo { background-image: url("../image/ib-home/care-antiage.webp"); }
.common-home .ib-care-card--recovery .ib-care-card__photo { background-image: url("../image/ib-home/care-recovery.webp"); }

.common-home .ib-care-card h3 {
  transition: background-color .45s ease;
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 14px;
  background: #896528;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
}

/* Cards link to their catalogue category. */
.common-home a.ib-care-card {
  display: block;
  color: #fff;
  text-decoration: none;
}

.common-home a.ib-care-card:focus-visible {
  outline: 2px solid #015971;
  outline-offset: 3px;
}

.common-home .ib-care-card:focus-within h3,
.common-home a.ib-care-card:focus-visible h3 { background: #015971; }

/* Manifesto line breaks differ between the desktop and mobile frames. */
.common-home .ib-only-mobile { display: none; }

/* Trust */
.common-home .ib-trusted {
  padding-top: 100px;
  padding-bottom: 100px;
}

.common-home .ib-trusted__grid {
  display: grid;
  margin-top: 50px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.common-home .ib-person {
  background: #fffbf5;
  text-align: center;
}

.common-home .ib-person__photo {
  display: block;
  width: 100%;
  aspect-ratio: 310 / 350;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.common-home .ib-person--alona-serhiienko .ib-person__photo { background-image: url("../image/ib-home/person-alona-serhiienko.webp"); }
.common-home .ib-person--anastasiia-mironova .ib-person__photo { background-image: url("../image/ib-home/person-anastasiia-mironova.webp"); }
.common-home .ib-person--mariia-baiborodina .ib-person__photo { background-image: url("../image/ib-home/person-mariia-baiborodina.webp"); }
.common-home .ib-person--daria-krumka .ib-person__photo { background-image: url("../image/ib-home/person-daria-krumka.webp"); }

.common-home .ib-person h3 {
  margin: 20px 10px 4px;
  color: #015971;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
}

.common-home .ib-person p {
  margin: 0 10px 18px;
  font-size: 13px;
}

/* Gift CTA */
.common-home .ib-gift {
  padding-top: 194px;
  padding-bottom: 80px;
}

.common-home .ib-gift__grid {
  display: grid;
  min-height: 540px;
  align-items: center;
  grid-template-columns: .75fr 1.25fr;
  gap: 50px;
}

.common-home .ib-gift__copy {
  text-align: center;
}

.common-home .ib-gift__copy h2 {
  font-size: 62px;
  line-height: 1.25;
}

.common-home .ib-gift__copy h2 em {
  white-space: nowrap;
  font-size: 72px;
}

.common-home .ib-gift__copy p {
  max-width: 390px;
  margin: 42px auto;
}

.common-home .ib-gift__image {
  width: 100%;
  aspect-ratio: 750 / 534;
  background-image: url("../image/ib-home/gift-photo.webp");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* Blog */
.common-home .ib-blog {
  padding-top: 110px;
  padding-bottom: 120px;
}

.common-home .ib-module--blog {
  margin-top: 60px;
}

.common-home .ib-blog__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.common-home .ib-blog-card {
  min-width: 0;
  background: #fffbf5;
  transition: box-shadow .2s ease;
}

.common-home .ib-blog-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 310 / 373;
}

.common-home .ib-blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.common-home .ib-blog-card:focus-within {
  box-shadow: 0 4px 6px rgba(0, 0, 0, .25);
}

@media (hover: hover) and (pointer: fine) {
  .common-home .ib-blog-card:hover { box-shadow: 0 4px 6px rgba(0, 0, 0, .25); }
}

.common-home .ib-blog-card__body {
  display: flex;
  flex-direction: column;
  min-height: 286px;
  padding: 20px;
}

.common-home .ib-blog-card__meta {
  margin: 0 0 10px;
  color: #896528;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}

.common-home .ib-blog-card__meta a {
  color: inherit;
  text-decoration: none;
}

.common-home .ib-blog-card h3 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.05;
}

.common-home .ib-blog-card h3 a {
  color: #015971;
}

.common-home .ib-blog-card__excerpt {
  min-height: 0;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.5;
}

.common-home .ib-blog-card__link {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  margin-top: auto;
  color: #015971;
  border-bottom: 1px solid currentColor;
}

/* Consultation popup */
body.ib-modal-open {
  overflow: hidden;
}

.common-home .ib-consultation[hidden] {
  display: none !important;
}

.common-home .ib-consultation {
  position: fixed;
  z-index: 10050;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: "Manrope", Arial, sans-serif;
}

.common-home .ib-consultation__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, .64);
  opacity: 0;
  transition: opacity .28s ease;
}

.common-home .ib-consultation.is-open .ib-consultation__backdrop {
  opacity: 1;
}

.common-home .ib-consultation__dialog {
  position: relative;
  width: min(100%, 448px);
  padding: 64px 52px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .25);
  text-align: center;
  opacity: 0;
  transform: translateY(18px) scale(.98);
  transition: opacity .3s cubic-bezier(.22, .61, .36, 1), transform .3s cubic-bezier(.22, .61, .36, 1);
}

.common-home .ib-consultation.is-open .ib-consultation__dialog {
  opacity: 1;
  transform: none;
}

.common-home .ib-consultation.is-closing .ib-consultation__dialog {
  opacity: 0;
  transform: translateY(10px) scale(.99);
}

.common-home .ib-consultation__close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #015971;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: opacity .25s ease;
}

.common-home .ib-consultation h2 {
  margin: 0;
  color: #015971;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
}

.common-home .ib-consultation h2 em {
  display: block;
  font: inherit;
}

.common-home .ib-consultation__dialog > p {
  max-width: 300px;
  margin: 16px auto 20px;
  font-size: 14px;
  line-height: 1.5;
}

.common-home .ib-consultation__form input:not(.ib-consultation__website) {
  width: 100%;
  height: 48px;
  margin-bottom: 14px;
  padding: 0 15px;
  border: 1px solid #cfcfcf;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  color: #1a1a1a;
  font-size: 12px;
}

.common-home .ib-consultation__form input[aria-invalid="true"] {
  border-color: #a81818;
}

.common-home .ib-consultation__form .ib-button {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin-top: 2px;
}

.common-home .ib-consultation .sr-only,
.common-home .ib-consultation__website {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

.common-home .ib-consultation__status {
  min-height: 18px;
  margin: 12px 0 0;
  font-size: 12px;
}

.common-home .ib-consultation__status span {
  display: block;
}

.common-home .ib-consultation__status.is-error { color: #a81818; }
.common-home .ib-consultation__status.is-success { color: #015971; }
.common-home .ib-consultation__status:empty { display: none; }

.common-home .ib-consultation__dismiss {
  margin-top: 20px;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: #015971;
  font-size: 12px;
  cursor: pointer;
  transition: opacity .25s ease;
}

/* Figma geometry shared by the store and the generated preview. */
.common-home .ib-hero__copy h1 span { display: block; }
.common-home .ib-hero__description--mobile { display: none; }
.common-home .ib-hero__copy .ib-button { min-width: 278px; }
.common-home .ib-about__intro { text-align: center; }
.common-home .ib-hits .ib-section-heading p { max-width: 335px; }
.common-home .ib-hits__mobile-link { display: none; }
.common-home .ib-blog .ib-section-heading p { max-width: 620px; }
.common-home .ib-blog-card__image--empty { background: #ececec; }
.common-home .ib-about__facts > div:first-child { padding-top: 0; }
.common-home .ib-about__facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.common-home .ib-care__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
.common-home .ib-care__copy { max-width: 465px; text-align: center; }
.common-home .ib-care__copy h2 { line-height: 1.3; }
.common-home .ib-care__copy h2 em { font-size: 74px; line-height: 1.22; }
.common-home .ib-care__cards { gap: 21px 20px; }
.common-home .ib-trusted__grid,
.common-home .ib-blog__grid { gap: 20px; }
.common-home .ib-gift__grid { grid-template-columns: minmax(0, 530fr) minmax(0, 750fr); gap: 20px; min-height: 0; }
.common-home .ib-gift__copy h2 { font-size: 64px; line-height: 1.3; }
.common-home .ib-gift__copy h2 em { font-size: 74px; line-height: 1.22; }
.common-home .ib-blog { padding: 100px 0; }
.common-home .ib-blog-card h3 { font-size: 18px; }
.common-home .ib-blog-card__link { font-size: 14px; }
.common-home .ib-module--featured .caption { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; }
.common-home .ib-module--featured .product-name { grid-column: 1 / -1; min-height: 48px; margin: 0; text-align: center; font-size: 16px; line-height: 1.4; }
.common-home .ib-module--featured .price { flex-direction: column; align-items: flex-start; justify-content: end; gap: 0; margin: 0; line-height: 1.1; }
.common-home .ib-module--featured .actions { margin: 0; }
.common-home .ib-module--featured .actions .btn-general { min-height: 32px; width: auto; min-width: 109px; padding: 6px 12px; font-size: 14px; }
.common-home .ib-module--featured .product-thumb { position: relative; }
.common-home .ib-module--featured .stickers-ns { position: absolute; }

@media (min-width: 768px) and (max-width: 1399px) {
  .common-home .ib-hero__copy h1 { font-size: clamp(36px, 4.44vw, 64px); }
  .common-home .ib-hero__copy h1 em { font-size: clamp(42px, 5.14vw, 74px); }
  .common-home .ib-hero__copy { padding-right: 30px; padding-left: 10px; }
  .common-home .ib-hero__fallback-track > .ib-hero__fallback-slide { padding-right: 30px; padding-left: 10px; }
  .common-home .ib-hero__fallback { min-height: 0; }
  .common-home .ib-manifesto__copy p { padding-right: 7vw; padding-left: 7vw; }
  .common-home .ib-about__grid { gap: 60px; }
  .common-home .ib-about__facts > div { gap: 30px; grid-template-columns: 155px 1fr; }
}

@media (max-width: 1199px) {
  .common-home .ib-shell { padding-right: 28px; padding-left: 28px; }
  .common-home .ib-section { padding-top: 90px; padding-bottom: 90px; }
  .common-home .ib-manifesto__inner h2,
  .common-home .ib-about__intro h2,
  .common-home .ib-care__copy h2,
  .common-home .ib-gift__copy h2 { font-size: 54px; }
  .common-home .ib-manifesto__inner h2 em,
  .common-home .ib-about__intro h2 em,
  .common-home .ib-care__copy h2 em,
  .common-home .ib-gift__copy h2 em { font-size: 62px; }
  .common-home .ib-about__grid,
  .common-home .ib-care__grid { gap: 50px; }
  .common-home .ib-category__label,
  .common-home .ib-care-card h3 { font-size: 18px; }
}

@media (max-width: 991px) {
  .common-home .ib-hero .nivo-controlNav { right: 0; left: 0; padding: 0 28px; }
  .common-home .ib-section { padding-top: 76px; padding-bottom: 76px; }
  .common-home .ib-hero__copy { padding-right: 38px; padding-left: 38px; }
  .common-home .ib-hero__copy h1 { font-size: 46px; }
  .common-home .ib-hero__copy h1 em { font-size: 52px; }
  .common-home .ib-categories__grid,
  .common-home .ib-trusted__grid,
  .common-home .ib-blog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .common-home .ib-about__grid,
  .common-home .ib-care__grid,
  .common-home .ib-gift__grid { grid-template-columns: 1fr; }
  .common-home .ib-about__intro,
  .common-home .ib-care__copy,
  .common-home .ib-gift__copy { text-align: center; }
  .common-home .ib-care__copy { margin: auto; }
  .common-home .ib-about__intro h2,
  .common-home .ib-about__intro p,
  .common-home .ib-care__copy h2,
  .common-home .ib-care__copy p { margin-right: auto; margin-left: auto; }
  .common-home .ib-module--featured .container-modules { flex-wrap: wrap; }
  .common-home .ib-module--featured .product-layout { width: calc(50% - 10px) !important; }
  .common-home .ib-gift__image { order: 2; }
}

@media (max-width: 767px) {
  .common-home .ib-shell { padding-right: 20px; padding-left: 20px; }
  .common-home .ib-section { padding-top: 50px; padding-bottom: 50px; }
  .common-home .ib-home { font-size: 16px; }
  .common-home .ib-section-heading { text-align: center; }
  /* Figma H2_txt: 28/110% title, 20px to the rule, 20px to the text. */
  .common-home .ib-section-heading h2 { display: block; padding-bottom: 20px; font-size: 28px; line-height: 1.1; }
  .common-home .ib-section-heading p { margin: 20px auto 0; font-size: 16px; }
  .common-home .ib-section-heading--split { display: block; }
  .common-home .ib-text-link { display: inline-block; margin-top: 24px; }
  .common-home .ib-button { min-width: 220px; min-height: 50px; font-size: 14px; }

  .common-home .ib-hero__fallback {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "portrait";
    padding: 0;
  }
  .common-home .ib-hero__copy { padding: 50px 20px; }
  .common-home .ib-hero__fallback-track > .ib-hero__fallback-slide { padding: 50px 20px; }
  .common-home .ib-hero__copy h1 { font-size: 36px; line-height: 1.3; }
  .common-home .ib-hero__copy h1 em { font-size: 40px; line-height: 1.15; }
  .common-home .ib-hero__copy p { max-width: 245px; margin: 24px auto; font-size: 16px; }
  .common-home .ib-hero__description--desktop { display: none; }
  .common-home .ib-hero__description--mobile { display: block; }
  .common-home .ib-hero__copy .ib-button { min-width: 220px; }
  /* Figma Hero_block_390: dots 20px under the photo, 50px above the section end. */
  .common-home .ib-hero .nivo-controlNav { bottom: 50px; gap: 12px; padding: 0 20px; }
  .common-home .ib-hero .nivo-controlNav a.nivo-control { width: 10px; height: 10px; }
  .common-home .ib-hero .nivo-directionNav { display: none; }
  .common-home .ib-hero__portrait { min-height: 0; aspect-ratio: 390 / 354; background-image: url("../image/ib-home/hero-portrait-mobile.webp"); background-size: cover; background-position: center; }
  .common-home .ib-hero { padding-bottom: 80px; }
  .common-home .ib-hero .oc-nivoslider,
  .common-home .ib-hero #oc-inivoslider { min-height: 520px; }
  .common-home .ib-hero #oc-inivoslider .bg-image-slider,
  .common-home .ib-hero #oc-inivoslider > a > .bg-image-slider { height: 520px !important; }
  .common-home .ib-hero .nivo-caption { top: 36px; right: 20px; left: 20px; width: auto; }
  .common-home .ib-hero .msp-title h3,
  .common-home .ib-hero .sub-title h3 { font-size: 34px; }

  .common-home .ib-categories__grid { margin-top: 30px; gap: 20px; }
  .common-home .ib-category__photo { aspect-ratio: 165 / 157; }
  /* Figma Categories_390: 165x38 label, 10px padding, Playfair 14/110%. */
  .common-home .ib-category__label { min-height: 38px; padding: 10px 6px; font-size: 14px; }

  /* Figma Brand Manifesto_390: 50px top/bottom, 30px gaps, text 14/150%. */
  .common-home .ib-only-mobile { display: inline; }
  .common-home .ib-only-desktop { display: none; }
  .common-home .ib-manifesto__inner h2 { font-size: 36px; line-height: 1.3; letter-spacing: -.01em; }
  .common-home .ib-manifesto__inner h2 em { font-size: 36px; line-height: 1.3; }
  .common-home .ib-manifesto__copy { display: block; margin-top: 30px; }
  .common-home .ib-manifesto__copy p { padding: 0 2px 30px; font-size: 14px; line-height: 1.5; }
  .common-home .ib-manifesto__copy p + p { padding-top: 30px; padding-bottom: 0; border-top: 1px solid #015971; border-left: 0; }

  .common-home .ib-about__intro h2,
  .common-home .ib-care__copy h2,
  .common-home .ib-gift__copy h2 { font-size: 36px; line-height: 1.3; }
  .common-home .ib-about__intro h2 em,
  .common-home .ib-care__copy h2 em,
  .common-home .ib-gift__copy h2 em { font-size: 42px; }
  .common-home .ib-about__intro p,
  .common-home .ib-care__copy p,
  .common-home .ib-gift__copy p { margin-top: 28px; margin-bottom: 28px; font-size: 16px; }
  /* Figma About brend_390: 24px rhythm in both blocks, 50px between them; fact title 18/130%, text 14/150%. */
  .common-home .ib-about__grid { gap: 50px; }
  .common-home .ib-about__intro p { margin-top: 24px; margin-bottom: 24px; }
  .common-home .ib-about__facts > div { display: block; min-height: 0; padding: 24px 0; text-align: left; }
  .common-home .ib-about__facts dt { margin-bottom: 20px; font-size: 18px; }
  .common-home .ib-about__facts dd { font-size: 14px; line-height: 1.5; }

  .common-home .ib-module--featured { margin-top: 30px; }
  .common-home .ib-hits .ib-section-heading .ib-text-link { display: none; }
  .common-home .ib-hits__mobile-link { display: block; max-width: 310px; margin: 24px auto 0; }
  .common-home .ib-module--featured .container-modules { display: block; }
  .common-home .ib-module--featured .product-layout { width: 100% !important; max-width: 310px; margin: 0 auto 30px; }
  .common-home .ib-module--featured .product-thumb { min-height: 366px; }
  .common-home .ib-module--featured .product-thumb .image { height: 210px; }

  /* Figma Selection of care_390: 24px rhythm in the copy, 50px to the cards. */
  .common-home .ib-care__grid { gap: 50px; }
  .common-home .ib-care__copy p { margin-top: 24px; margin-bottom: 24px; }
  .common-home .ib-care__cards { gap: 20px; }
  .common-home .ib-care-card__photo { aspect-ratio: 165 / 167; }
  /* Figma Selection of care_390: 48px label, Playfair 14/120%. */
  .common-home .ib-care-card h3 { min-height: 48px; padding: 6px 10px; font-size: 14px; line-height: 1.2; }

  .common-home .ib-trusted__grid { margin-top: 30px; gap: 20px; }
  .common-home .ib-person__photo { aspect-ratio: 165 / 167; }
  /* Figma We are trusted_390: 48px caption — name 16/110%, 4px gap, role 10/110%. */
  .common-home .ib-person h3 { margin: 8px 6px 4px; font-size: 16px; line-height: 1.1; }
  .common-home .ib-person p { margin: 0 6px 7px; font-size: 10px; line-height: 1.1; }

  /* Figma CTA_390: copy in a 24px rhythm, 72px to a 296px-high photo, 62px below it. */
  .common-home .ib-gift { padding-bottom: 62px; }
  .common-home .ib-gift__grid { gap: 72px; padding-right: 0; padding-left: 0; }
  .common-home .ib-gift__copy { padding: 0 20px; }
  .common-home .ib-gift__copy p { margin-top: 24px; margin-bottom: 24px; }
  .common-home .ib-gift__image { aspect-ratio: 390 / 296; background-size: cover; }

  .common-home .ib-blog__grid { display: block; }
  /* Figma Blog_390: 30px under the heading and between cards; cards are 581px tall. */
  .common-home .ib-module--blog { margin-top: 30px; }
  .common-home .ib-blog-card { max-width: 310px; margin: 0 auto 30px; }
  .common-home .ib-blog-card:last-child { margin-bottom: 0; }
  .common-home .ib-blog-card__body { min-height: 209px; }
  .common-home .ib-blog-card__image { aspect-ratio: 310 / 373; }
  /* Figma Blog_390: 22/19px padding, 14px gaps; tag 12, title 18/100%, text 14/150%. */
  .common-home .ib-blog-card__body { padding: 22px 19px; }
  .common-home .ib-blog-card__meta { margin-bottom: 14px; font-size: 12px; line-height: 1.1; }
  .common-home .ib-blog-card h3 { margin-bottom: 10px; font-size: 18px; line-height: 1; }
  .common-home .ib-blog-card__excerpt { min-height: 0; margin-bottom: 14px; font-size: 14px; line-height: 1.5; }

  .common-home .ib-consultation { align-items: flex-start; padding: min(17vh, 158px) 20px 20px; overflow-y: auto; }
  .common-home .ib-consultation__dialog { width: 100%; max-width: 350px; padding: 64px 54px; }
  .common-home .ib-consultation h2 { font-size: 20px; }
  .common-home .ib-consultation h2 em { font-size: inherit; }
  .common-home .ib-consultation__dialog > p { margin-top: 16px; margin-bottom: 20px; font-size: 12px; }
  .common-home .ib-consultation__form input:not(.ib-consultation__website) { height: 40px; }
  .common-home .ib-consultation__form .ib-button { min-height: 40px; padding: 10px 6px; font-size: 12px; }
}

@media (max-width: 389px) {
  .common-home .ib-shell { padding-right: 16px; padding-left: 16px; }
  .common-home .ib-person h3 { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .common-home .ib-home *,
  .common-home .ib-home *::before,
  .common-home .ib-home *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Product titles must remain fully readable; keep the preview hover treatment. */
.common-home .ib-module--featured .product-name {
  min-height: 60px !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}
@media (hover: hover) and (pointer: fine) {
  .common-home .ib-module--featured .product-thumb {
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .common-home .ib-module--featured .product-thumb:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .2);
  }
}

/* ---------------------------------------------------------------------------
 * Scroll reveal. `.ib-anim` is added by ib-home.js, so without JS — or with
 * reduced motion — nothing is ever hidden.
 * ------------------------------------------------------------------------ */
/*
 * Keyframes rather than transitions: the reveal must not overwrite the
 * `transition` an element uses for its own hover state.
 */
.ib-anim .common-home [data-ib-reveal] { opacity: 0; }

.ib-anim .common-home [data-ib-reveal].is-revealed {
  animation: ib-reveal-up .75s cubic-bezier(.22, .61, .36, 1) var(--ib-reveal-delay, 0ms) both;
}

.ib-anim .common-home [data-ib-reveal="heading"].is-revealed { animation-name: ib-reveal-heading; }
.ib-anim .common-home [data-ib-reveal="card"].is-revealed { animation-name: ib-reveal-card; }
.ib-anim .common-home [data-ib-reveal="photo"].is-revealed { animation-name: ib-reveal-photo; }
.ib-anim .common-home [data-ib-reveal="fade"].is-revealed { animation-name: ib-reveal-fade; }

/* Released once the animation ends so hover transforms are not pinned by fill-mode. */
.ib-anim .common-home [data-ib-reveal].is-revealed-done {
  opacity: 1;
  animation: none;
}

@keyframes ib-reveal-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}

@keyframes ib-reveal-heading {
  from { opacity: 0; transform: translateY(42px); }
  to { opacity: 1; transform: none; }
}

@keyframes ib-reveal-card {
  from { opacity: 0; transform: translateY(46px) scale(.98); }
  to { opacity: 1; transform: none; }
}

@keyframes ib-reveal-photo {
  from { opacity: 0; transform: translateY(26px) scale(1.035); }
  to { opacity: 1; transform: none; }
}

@keyframes ib-reveal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------------------------------------------------------------------------
 * Featured products behave as a slider (Figma: progress rail + round arrows).
 * ------------------------------------------------------------------------ */
.common-home .ib-module--featured .container-modules {
  overflow-x: auto;
  margin: -14px -16px -20px;
  padding: 14px 16px 20px;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scroll-padding-left: 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}

.common-home .ib-module--featured .container-modules::-webkit-scrollbar {
  display: none;
}

.common-home .ib-module--featured .product-layout {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

/*
 * Ambassadors are a carousel too, but the controls only appear once there are
 * more people than fit — with the four in the Figma frame it stays a plain row.
 */
@media (min-width: 992px) {
  .common-home .ib-trusted__grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 50px -16px -20px;
    padding: 0 16px 20px;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scroll-padding-left: 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-x: contain;
  }

  .common-home .ib-trusted__grid::-webkit-scrollbar {
    display: none;
  }

  .common-home .ib-trusted__grid > .ib-person {
    flex: 0 0 calc(25% - 15px);
    scroll-snap-align: start;
  }

  .common-home .ib-trusted .ib-slider-controls {
    margin-top: 34px;
  }
}

.common-home .ib-slider-controls {
  display: flex;
  align-items: center;
  gap: 37px;
  margin-top: 34px;
}

.common-home .ib-slider-controls[hidden] {
  display: none;
}

.common-home .ib-slider-controls__track {
  position: relative;
  flex: 1 1 auto;
  height: 2px;
  background: #d6d6d6;
}

.common-home .ib-slider-controls__thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  background: #015971;
  transition: transform .3s ease, width .3s ease;
}

.common-home .ib-slider-controls__arrows {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.common-home .ib-slider-controls__arrow {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #dcdad7;
  border-radius: 50%;
  background: transparent;
  color: #bfbebd;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: border-color .25s ease, color .25s ease, opacity .25s ease;
}

.common-home .ib-slider-controls__arrow svg {
  width: 8px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.common-home .ib-slider-controls__arrow[disabled] {
  opacity: .45;
  cursor: default;
}

/* Underline that sweeps in from the left and retreats to the right. */
.common-home .ib-module--featured .product-thumb::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #015971;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .42s ease;
}

/* ---------------------------------------------------------------------------
 * Pointer-only interaction; touch devices keep :hover stuck after a tap.
 * ------------------------------------------------------------------------ */
@media (hover: hover) and (pointer: fine) {
  .common-home .ib-consultation__close:hover,
  .common-home .ib-consultation__dismiss:hover { opacity: .7; }

  .common-home .ib-hero .nivo-controlNav a.nivo-control:hover { background: #a9bcc2; }
  .common-home .ib-hero .nivo-controlNav a.nivo-control.active:hover { background: #015971; }

  .common-home .ib-hero .nivo-directionNav a:hover { border-color: #015971; }
  .common-home .ib-hero .nivo-directionNav a:hover::after {
    border-right-color: #015971;
    border-bottom-color: #015971;
  }

  .common-home .ib-button:hover {
    background: transparent;
    color: #015971;
    text-decoration: none;
  }

  .common-home .ib-text-link:hover span { transform: translateX(5px); }

  .common-home .ib-category:hover {
    color: #fff;
    text-decoration: none;
  }

  .common-home .ib-category:hover .ib-category__label { background: #015971; }

  .common-home .ib-care-card:hover h3 { background: #015971; }

  .common-home .ib-module--featured .actions .btn-general:hover {
    background: #015971;
    color: #fff;
  }

  .common-home .ib-module--featured .product-thumb:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
  }

  .common-home .ib-slider-controls__arrow:not([disabled]):hover {
    border-color: #015971;
    color: #015971;
  }
}

@media (max-width: 991px) {
  /* Two cards in view instead of four; still a slider. */
  .common-home .ib-module--featured .container-modules { flex-wrap: nowrap; }
  .common-home .ib-slider-controls { margin-top: 32px; gap: 24px; }
  /* Figma keeps the ambassadors as a 2x2 grid below 992px. */
  .common-home .ib-trusted .ib-slider-controls { display: none !important; }
}

@media (max-width: 767px) {
  /* Figma mobile stacks the cards, so the slider chrome goes away. */
  .common-home .ib-module--featured .container-modules {
    overflow: visible;
    margin: 0;
    padding: 0;
  }

  .common-home .ib-hits .ib-slider-controls { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .common-home .ib-consultation,
  .common-home .ib-consultation__backdrop,
  .common-home .ib-consultation__dialog {
    transition: none !important;
  }

  .common-home [data-ib-reveal] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .common-home .ib-module--featured .container-modules { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------------------
 * Featured cards: store markup brought to the preview (Figma Home_1440).
 * ib-home.js gathers every label (XD stickers from .image, the discount from
 * .caption) into .ib-card-stickers: one row of teal labels in the corner.
 * ------------------------------------------------------------------------ */
.common-home .ib-module--featured .caption { position: static; }

.common-home .ib-module--featured .ib-card-stickers {
  position: absolute;
  top: 8px;
  right: 8px;
  left: 8px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 4px;
  pointer-events: none;
}

.common-home .ib-module--featured .ib-card-stickers > * {
  display: block;
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 4px 9px !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #fff !important;
  background: #015971 !important;
  box-shadow: none !important;
  font-family: "Manrope", Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
  white-space: nowrap;
  transform: none !important;
}

.common-home .ib-module--featured .product-name a {
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
}

.common-home .ib-module--featured .actions .btn-general,
.common-home .ib-module--featured .actions .btn-general span {
  height: auto;
  font-weight: 400;
  line-height: 1.5;
}

/* ---------------------------------------------------------------------------
 * Hero (built-in slider): the dots belong to the copy column. Their bar spans
 * exactly that column and repeats its padding, so on any screen width (and at
 * any browser zoom) they stay centred under the text instead of drifting
 * towards the arrows. The copy is sized to fit next to the portrait, so the
 * photo keeps its place instead of sliding down under a taller text column.
 * ------------------------------------------------------------------------ */
.common-home .ib-hero {
  --ib-hero-gutter: 0px;
  --ib-hero-copy-top: 60px;
  --ib-hero-copy-bottom: 60px;
  --ib-hero-copy-left: 10px;
  --ib-hero-copy-right: 70px;
}

.common-home .ib-hero .oc-nivoslider.ib-hero__fallback-slider { min-height: 0; }

.common-home .ib-hero__fallback-track > .ib-hero__fallback-slide {
  padding: var(--ib-hero-copy-top) var(--ib-hero-copy-right) var(--ib-hero-copy-bottom) var(--ib-hero-copy-left);
}

.common-home .ib-hero__fallback-slider .nivo-controlNav {
  right: auto;
  left: 50%;
  width: calc(min(100%, 1440px) / 2 - var(--ib-hero-gutter));
  padding: 0 var(--ib-hero-copy-right) 0 var(--ib-hero-copy-left);
}

@media (min-width: 768px) and (max-width: 1399px) {
  .common-home .ib-hero {
    --ib-hero-copy-top: 40px;
    --ib-hero-copy-bottom: 76px;
    --ib-hero-copy-right: 30px;
  }

  .common-home .ib-hero__copy p { margin: 28px auto 32px; }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .common-home .ib-hero { --ib-hero-gutter: 28px; }
  .common-home .ib-hero__copy h1 { font-size: clamp(30px, 3.9vw, 44px); }
  .common-home .ib-hero__copy h1 em { font-size: clamp(34px, 4.5vw, 50px); }
  .common-home .ib-hero__copy p { font-size: 16px; }
}

/* Two narrow columns: the short description, as on phones. */
@media (min-width: 768px) and (max-width: 991px) {
  .common-home .ib-hero {
    --ib-hero-copy-top: 24px;
    --ib-hero-copy-bottom: 68px;
    --ib-hero-copy-left: 16px;
    --ib-hero-copy-right: 16px;
  }

  .common-home .ib-hero__description--desktop { display: none; }
  .common-home .ib-hero__description--mobile { display: block; }
  .common-home .ib-hero__copy p { max-width: 280px; margin: 20px auto 24px; }
  .common-home .ib-hero__copy .ib-button { min-width: 0; padding-right: 28px; padding-left: 28px; }
}

@media (max-width: 767px) {
  .common-home .ib-hero {
    --ib-hero-copy-top: 50px;
    --ib-hero-copy-bottom: 50px;
    --ib-hero-copy-left: 20px;
    --ib-hero-copy-right: 20px;
  }

  .common-home .ib-hero__fallback-slider .nivo-controlNav {
    left: 0;
    width: 100%;
  }
}

/* Featured "Купити": fills with the label teal on hover. The theme's own
 * .btn-general:hover forces a white background with !important. */
@media (hover: hover) and (pointer: fine) {
  .common-home .ib-module--featured .actions .btn-general:hover {
    border-color: #015971 !important;
    background: #015971 !important;
    color: #fff !important;
  }
}

.common-home .ib-module--featured .actions .btn-general:focus-visible {
  border-color: #015971 !important;
  background: #015971 !important;
  color: #fff !important;
}

/* Consultation popup: slightly larger type; the cross turns as it is hovered. */
.common-home .ib-consultation h2 { font-size: 30px; }
.common-home .ib-consultation__dialog > p { max-width: 320px; font-size: 16px; }
.common-home .ib-consultation__form input:not(.ib-consultation__website) { font-size: 15px; }
.common-home .ib-consultation__dismiss { font-size: 14px; }

.common-home .ib-consultation__close {
  transition: opacity .25s ease, transform .35s cubic-bezier(.22, .61, .36, 1);
}

.common-home .ib-consultation__close:focus-visible { transform: rotate(90deg); }

@media (hover: hover) and (pointer: fine) {
  .common-home .ib-consultation__close:hover { transform: rotate(90deg); }
}

@media (max-width: 767px) {
  .common-home .ib-consultation h2 { font-size: 22px; }
  .common-home .ib-consultation__dialog > p { font-size: 14px; }
  .common-home .ib-consultation__form input:not(.ib-consultation__website) { font-size: 14px; }
  .common-home .ib-consultation__form .ib-button { font-size: 13px; }
  .common-home .ib-consultation__dismiss { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .common-home .ib-consultation__close { transition: none; }
}

/* ---------------------------------------------------------------------------
 * Name plate over the hero portrait (Figma Hero_block > Image): a text block,
 * so it is translated with the page and cannot be selected. Every size is a
 * share of the portrait width (cqw), so the plate scales with the photo.
 * ------------------------------------------------------------------------ */
.common-home .ib-hero__portrait {
  position: relative;
  container-type: inline-size;
}

.common-home .ib-hero__plate {
  position: absolute;
  bottom: 0;
  left: 9.7222%;
  display: flex;
  align-items: baseline;
  gap: 1.1111cqw;
  width: 48.75%;
  height: 6.5789%;
  padding: 1.78cqw 0 0 5.9722cqw;
  overflow: hidden;
  background: rgba(146, 146, 146, .19);
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.common-home .ib-hero__plate-name {
  font-family: "Inter", "Manrope", Arial, sans-serif;
  font-size: 22px;
  font-size: 3.0556cqw;
  font-weight: 400;
  text-transform: uppercase;
}

.common-home .ib-hero__plate-note {
  font-family: "Cormorant Garamond", "IB Cormorant", Georgia, serif;
  font-size: 16px;
  font-size: 2.2222cqw;
  font-weight: 400;
}

/* Figma Hero_block_390: 350x50 plate 22px from the left, flush with the photo. */
@media (max-width: 767px) {
  .common-home .ib-hero__plate {
    left: 5.641%;
    gap: 2.5641cqw;
    width: 89.7436%;
    height: 14.1243%;
    padding: 4.3cqw 0 0 4.8718cqw;
  }

  .common-home .ib-hero__plate-name { font-size: 5.641cqw; }
  .common-home .ib-hero__plate-note { font-size: 4.1026cqw; }
}

/* Phones: tighter copy, so the portrait already shows on the first screen. */
@media (max-width: 767px) {
  .common-home .ib-hero {
    --ib-hero-copy-top: 28px;
    --ib-hero-copy-bottom: 32px;
  }

  .common-home .ib-hero__copy p { margin: 16px auto 20px; }
}
