/* =====================================================================
   BeautyNest — homepage sections (mkc-*)
   Retail-style layout: hero + card, promo cards, product carousels,
   spotlight, category cards, services, benefits strip, header search.
   Logical properties everywhere so the layout mirrors in Arabic (RTL).
   ===================================================================== */

/* minmax(0,1fr): keeps wide scroll tracks from stretching the grid past the container. */
.mkc-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.mkc-wrap > *, .mkc-spotlight > * { min-width: 0; }

/* ---------- Buttons ---------- */
.mkc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0 1.6em;
  border: 1.5px solid currentColor;
  border-radius: var(--mkc-btn-radius, 6px);
  font-size: var(--text-md);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.mkc-btn--outline { color: var(--color-base-black); background: transparent; }
.mkc-btn--outline:hover {
  color: rgb(var(--color-button-text));
  background: rgb(var(--color-button));
  border-color: rgb(var(--color-button));
}
.mkc-btn--sm { min-height: 34px; padding: 0 1.1em; font-size: var(--text-sm); }
.mkc-btn--block { width: 100%; }

.mkc-pill {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.35em 0.8em;
  border-radius: 4px;
  background: color-mix(in srgb, rgb(var(--color-button)) 12%, #ffffff);
  color: rgb(var(--color-button));
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.mkc-note { margin: 0; font-size: var(--text-xs); color: var(--color-gray-500); }

/* ---------- Section heading (title start, "Voir tout" end) ---------- */
.mkc-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.mkc-head__title {
  margin: 0;
  font-size: clamp(2rem, 2.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.mkc-head__sub { margin: 6px 0 0; font-size: var(--text-md); color: var(--color-gray-500); }
.mkc-head .mkc-btn { flex-shrink: 0; }

/* ---------- Media ---------- */
.mkc-media { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.mkc-hero {
  position: relative;
  border-radius: 10px;
  background: var(--mkc-hero-bg, #fce3ec);
}
.mkc-hero__media {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 1600 / 620;
}
.mkc-hero__media .mkc-media { object-position: 32% 50%; }
.mkc-hero__card {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: 40px;
  transform: translateY(-50%);
  width: min(420px, 38%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(91, 31, 58, 0.12);
}
.mkc-hero[data-card="left"] .mkc-hero__card { inset-inline-end: auto; inset-inline-start: 40px; }
.mkc-hero[data-card="left"] .mkc-hero__media .mkc-media { object-position: 68% 50%; }
.mkc-hero__title {
  margin: 0;
  font-size: clamp(2.4rem, 2.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.mkc-hero__text { margin: 0; font-size: var(--text-lg); line-height: 1.5; color: var(--color-gray-500); }
.mkc-hero__card .mkc-btn { margin-block-start: 6px; min-height: 48px; }

@media (max-width: 989px) {
  .mkc-hero { background: transparent; }
  .mkc-hero__media { aspect-ratio: 4 / 3; }
  .mkc-hero__card {
    position: relative;
    inset: auto;
    transform: none;
    width: auto;
    margin: -56px 12px 0;
    padding: 20px;
  }
  .mkc-hero[data-card="left"] .mkc-hero__card { inset-inline-start: auto; }
}

/* ---------- Promo cards (image + text side by side) ---------- */
.mkc-promos { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .mkc-promos { grid-template-columns: repeat(var(--mkc-cols, 2), minmax(0, 1fr)); }
}
.mkc-promo {
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 200px;
  overflow: hidden;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #ffffff;
  transition: box-shadow 0.25s ease;
}
.mkc-promo:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08); }
.mkc-promo__media { display: block; min-height: 100%; overflow: hidden; }
.mkc-promo__media .mkc-media { transition: transform 0.5s ease; }
.mkc-promo:hover .mkc-promo__media .mkc-media { transform: scale(1.04); }
.mkc-promo__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 18px 20px;
}
.mkc-promo__title { margin: 0; font-size: var(--text-xl); font-weight: 700; line-height: 1.25; }
.mkc-promo__text { margin: 0; font-size: var(--text-md); line-height: 1.45; color: var(--color-gray-500); }
.mkc-promo__body .mkc-btn { margin-block-start: 6px; }
@media (max-width: 480px) {
  .mkc-promo { min-height: 170px; }
  .mkc-promo__body { padding: 14px; gap: 6px; }
  .mkc-promo__title { font-size: var(--text-lg); }
  .mkc-promo__text { font-size: var(--text-sm); }
}

/* ---------- Carousel (native scroll-snap + arrows + progress) ---------- */
mkc-carousel {
  --mkc-gap: 16px;
  --mkc-per: 2.15;
  position: relative;
  display: block;
}
@media (min-width: 640px) { mkc-carousel { --mkc-per: 3.2; } }
@media (min-width: 990px) { mkc-carousel { --mkc-per: 4.25; } }
mkc-carousel[data-kind="cats"] { --mkc-per: 2.3; }
@media (min-width: 640px) { mkc-carousel[data-kind="cats"] { --mkc-per: 3.4; } }
@media (min-width: 990px) { mkc-carousel[data-kind="cats"] { --mkc-per: 5.2; } }
/* Pages of exactly 3 products (auto-sliding "shop by" panels); 2 on phones so cards stay readable. */
mkc-carousel[data-kind="trio"] { --mkc-per: 2; }
@media (min-width: 640px) { mkc-carousel[data-kind="trio"] { --mkc-per: 3; } }
/* Sections with a "visible on desktop" setting (data-per): whole cards only, no peek.
   The doubled attribute outranks [data-kind] and ".mkc-spotlight mkc-carousel". */
@media (min-width: 990px) { mkc-carousel[data-per][data-per] { --mkc-per: var(--mkc-per-desktop); } }

.mkc-track {
  display: flex;
  gap: var(--mkc-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  scrollbar-width: none;
  padding: 4px 2px 16px;
  margin: -4px -2px 0;
}
.mkc-track::-webkit-scrollbar { display: none; }
.mkc-slide {
  flex: 0 0 calc((100% - var(--mkc-gap) * (var(--mkc-per) - 1)) / var(--mkc-per));
  min-width: 0;
  scroll-snap-align: start;
}
.mkc-slide > * { height: 100%; }

.mkc-arrow {
  position: absolute;
  inset-block-start: 38%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: var(--color-base-black);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.mkc-arrow:hover { transform: scale(1.06); }
.mkc-arrow[disabled] { opacity: 0; pointer-events: none; }
.mkc-arrow--prev { inset-inline-start: -14px; }
.mkc-arrow--next { inset-inline-end: -14px; }
.mkc-arrow svg { width: 18px; height: 18px; }
[dir="rtl"] .mkc-arrow svg { transform: scaleX(-1); }
mkc-carousel[data-static] .mkc-arrow,
mkc-carousel[data-static] .mkc-progress { display: none; }
@media (hover: none), (max-width: 640px) { .mkc-arrow { display: none; } }

.mkc-progress {
  position: relative;
  height: 3px;
  margin-inline: auto;
  width: min(220px, 50%);
  border-radius: 999px;
  background: #e8e8e8;
  overflow: hidden;
}
.mkc-progress span {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 30%;
  border-radius: inherit;
  background: var(--color-base-black);
  transition: inset-inline-start 0.15s linear;
}

/* Product cards inside carousels: square image, equal heights. */
mkc-carousel .product-card { display: flex; flex-direction: column; height: 100%; }
/* minmax(0, 1fr): an auto grid column grew to the button's text width, so the button
   overflowed the card and was cut by its rounded border. */
mkc-carousel .product-card .info { flex: 1; align-content: start; grid-template-columns: minmax(0, 1fr); }
mkc-carousel .product-card .info .yc-product-form,
mkc-carousel .product-card .info yc-product-form { margin-block-start: auto; }
/* [data-style] needed to outrank product-card.css (.product-card[data-style$=standard] .img-link img). */
mkc-carousel .product-card[data-style] .img-link { height: auto; }
mkc-carousel .product-card[data-style] .img-link img { height: auto; aspect-ratio: 1 / 1; }
mkc-carousel .product-card[data-style$="standard"]:hover { transform: none; }
/* Product names on two lines (beauty names are long), equal height across cards. */
mkc-carousel .product-card .info .title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  line-height: 1.3;
  min-height: 2.6em;
}
/* Full-width CTA inside the card; the label wraps rather than being cut. */
mkc-carousel .product-card .info button,
mkc-carousel .product-card .info .yc-btn {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding-inline: 8px; /* "Commander maintenant" fits on one line in 4-up cards at 1280px */
  line-height: 1.2;
  white-space: normal;
}
@media (max-width: 639px) {
  mkc-carousel { --mkc-per: 2.05; --mkc-gap: 12px; }
  mkc-carousel .product-card .info { padding: 10px; }
  /* Narrow cards: the label may wrap on two lines rather than being cut ("Commander maintenan…"). */
  mkc-carousel .product-card .info button,
  mkc-carousel .product-card .info .yc-btn {
    min-height: 44px;
    padding: 6px;
    font-size: var(--text-xs);
  }
}

/* ---------- Spotlight (visual + carousel) ---------- */
.mkc-spotlight { display: grid; gap: 16px; grid-template-columns: 1fr; }
.mkc-spotlight__visual {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
}
.mkc-spotlight__caption {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  padding: 40px 18px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
  color: #ffffff;
  font-size: var(--text-sm);
  font-weight: 600;
}
.mkc-spotlight mkc-carousel { --mkc-per: 2.15; min-width: 0; }
@media (min-width: 990px) {
  .mkc-spotlight { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.7fr); align-items: stretch; }
  .mkc-spotlight__visual { aspect-ratio: auto; min-height: 100%; }
  .mkc-spotlight mkc-carousel { --mkc-per: 2.6; }
}

/* ---------- Category cards ---------- */
.mkc-cat {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.mkc-cat:hover { box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08); transform: translateY(-2px); }
.mkc-cat__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.mkc-cat__name {
  padding: 12px 10px 14px;
  text-align: center;
  font-size: var(--text-md);
  font-weight: 700;
}

/* ---------- Services ---------- */
.mkc-services {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-block-end: 4px;
}
.mkc-services::-webkit-scrollbar { display: none; }
.mkc-service {
  flex: 0 0 82%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
}
a.mkc-service:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07); }
.mkc-service__media { width: 96px; height: 96px; overflow: hidden; border-radius: 12px; }
.mkc-service__title { margin: 0 0 4px; font-size: var(--text-lg); font-weight: 700; }
.mkc-service__text { margin: 0; font-size: var(--text-sm); line-height: 1.45; color: var(--color-gray-500); }
@media (min-width: 768px) {
  .mkc-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    overflow: visible;
  }
}

/* ---------- Benefits strip ---------- */
.mkc-benefits { display: grid; gap: 22px 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 990px) { .mkc-benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mkc-benefit { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.mkc-benefit__icon { color: rgb(var(--color-button)); }
.mkc-benefit__icon svg { width: 28px; height: 28px; }
.mkc-benefit__title { margin: 0; font-size: var(--text-md); font-weight: 700; }
.mkc-benefit__text { margin: 2px 0 0; font-size: var(--text-sm); color: var(--color-gray-500); }
.mkc-benefit__link {
  display: inline-block;
  margin-block-start: 6px;
  font-size: var(--text-sm);
  color: var(--color-base-black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Header search (always visible, retail style) ---------- */
@media (min-width: 1025px) {
  yc-header .actions form.search-bar[data-expanded] {
    width: clamp(240px, 24vw, 380px);
    opacity: 1;
    visibility: visible;
  }
  yc-header .actions button.search-btn { display: none; }
}
yc-header .actions form.search-bar .search-input,
.mkc-mobile-search input {
  height: 42px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f3f3f3;
  font-size: var(--text-md);
}
yc-header .actions form.search-bar .search-input:focus,
.mkc-mobile-search input:focus {
  border-color: rgb(var(--color-button));
  background: #ffffff;
  outline: none;
}
.mkc-mobile-search { display: none; }
@media (max-width: 1024px) {
  .mkc-mobile-search {
    position: relative;
    display: block;
    padding: 0 16px 12px;
    background: var(--header-bg-color, #ffffff);
  }
  .mkc-mobile-search svg {
    position: absolute;
    inset-inline-start: 30px;
    inset-block-start: 12px;
    width: 18px;
    height: 18px;
    color: var(--color-gray-500);
    pointer-events: none;
  }
  .mkc-mobile-search input {
    width: 100%;
    padding-inline: 44px 16px;
  }
}

/* =====================================================================
   Retail header: logo + wide search on row 1, category row below.
   `body` prefix outranks layout-header.css (loaded later, inside <body>).
   ===================================================================== */
@media (min-width: 1025px) {
  body yc-header[data-desktop-logo-position$="top-left"] {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 40px;
    row-gap: 4px;
    padding-block: 16px 0;
  }
  body yc-header[data-desktop-logo-position$="top-left"] .actions {
    justify-content: space-between;
    gap: 24px;
  }
  body yc-header[data-desktop-logo-position$="top-left"] .actions form.search-bar[data-expanded] {
    flex: 1;
    width: auto;
    max-width: 640px;
  }
  body yc-header[data-desktop-logo-position$="top-left"] .links { padding-block: 0 4px; }
}
yc-header .links ul.mkc-catnav {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  column-gap: 24px;
}
yc-header .links ul.mkc-catnav::-webkit-scrollbar { display: none; }
yc-header .links ul.mkc-catnav a.yc-btn.link {
  padding: 8px 0 10px;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  font-size: var(--text-md);
  font-weight: 500;
}
yc-header .links ul.mkc-catnav a.yc-btn.link:hover { border-bottom-color: currentColor; }
yc-header .logo a { font-weight: 800; white-space: nowrap; }
@media (min-width: 1025px) { yc-header .logo a { font-size: 2rem; letter-spacing: 0.12em; } }
@media (max-width: 1024px) { yc-header .logo a { font-size: 1.5rem; letter-spacing: 0.06em; } }
.mkc-hero__media picture { display: block; width: 100%; height: 100%; }

/* ---------- Edge-to-edge hero (retail style) ---------- */
.mkc-hero[data-full],
.mkc-hero[data-full] .mkc-hero__media { border-radius: 0; }
.mkc-hero[data-full] .mkc-hero__media .mkc-media { object-position: 50% 30%; }
@media (min-width: 990px) {
  .mkc-hero[data-full] .mkc-hero__media { aspect-ratio: auto; height: clamp(380px, 30vw, 560px); }
  .mkc-hero[data-full] .mkc-hero__card { inset-inline-end: 10%; width: min(380px, 32%); }
  .mkc-hero[data-full][data-card="left"] .mkc-hero__card { inset-inline-end: auto; inset-inline-start: 10%; }
}
@media (max-width: 989px) {
  .mkc-hero[data-full] .mkc-hero__card { margin-inline: 16px; }
}

/* =====================================================================
   Display headings: bold title + optional serif italic accent
   (accent font loaded by snippets/mkc-accent-font.liquid)
   ===================================================================== */
.mkc-display {
  margin: 0;
  font-size: clamp(2.6rem, 3.1vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.mkc-display__accent {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0;
  color: rgb(var(--color-button));
}
.mkc-display--stacked .mkc-display__accent { display: block; }
/* Arabic: no italic serif for Arabic script, keep the brand colour only. */
[dir="rtl"] .mkc-display__accent { font-family: inherit; font-style: normal; font-weight: 800; }

/* =====================================================================
   Shop by (skin concerns / routine steps) - sections/mkc-shop-by.liquid
   ===================================================================== */
.mkc-shopby__head { display: grid; justify-items: center; gap: 8px; text-align: center; }
/* minmax(0,1fr): the product track must not widen the grid (page would scroll sideways). */
.mkc-shopby { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; min-width: 0; }

.mkc-shopby__list {
  position: relative;
  display: flex;
  gap: 4px;
  margin-inline: -16px;
  padding: 8px 16px 4px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.mkc-shopby__list::-webkit-scrollbar { display: none; }
/* Desktop: always one centred row (wrapping left a lone shortcut on a second line).
   Equal columns up to 140px share the width, so 4 to 12 shortcuts all fit. */
@media (min-width: 990px) {
  .mkc-shopby__list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 140px);
    justify-content: center;
    gap: 14px;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }
  .mkc-shopby__list .mkc-shopby__item { width: auto; min-width: 0; }
  .mkc-shopby__list .mkc-shopby__media { width: min(92px, 100%); }
}

.mkc-shopby__item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 92px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  scroll-snap-align: center;
  -webkit-tap-highlight-color: transparent;
}

.mkc-shopby__media {
  position: relative;
  display: block;
  width: 74px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.mkc-shopby__item:hover .mkc-shopby__media { transform: translateY(-3px); }
.mkc-shopby__item:focus-visible { outline: none; }
.mkc-shopby__item:focus-visible .mkc-shopby__media { outline: 2px solid rgb(var(--color-button)); outline-offset: 5px; }

.mkc-shopby__label {
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  color: var(--color-base-black);
  transition: color 0.2s ease;
}
.mkc-shopby__item[aria-selected="true"] .mkc-shopby__label { color: rgb(var(--color-button)); font-weight: 800; }

/* Look 1: round photo, ring on the active one */
.mkc-shopby[data-style="photo"] .mkc-shopby__media { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06); }
.mkc-shopby[data-style="photo"] .mkc-shopby__item:hover .mkc-shopby__media,
.mkc-shopby[data-style="photo"] [aria-selected="true"] .mkc-shopby__media {
  box-shadow: 0 0 0 3px #ffffff, 0 0 0 5px rgb(var(--color-button));
}

/* Look 2: cut-out product with a pink glow, white disc on the active one */
.mkc-shopby[data-style="glow"] .mkc-shopby__media {
  display: grid;
  place-items: center;
  overflow: visible;
  background: transparent;
}
.mkc-shopby[data-style="glow"] .mkc-shopby__media .mkc-media {
  width: 82%;
  height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 0 2px rgba(255, 92, 168, 0.95)) drop-shadow(0 0 9px rgba(255, 64, 150, 0.55));
  transition: transform 0.25s ease;
}
.mkc-shopby[data-style="glow"] .mkc-shopby__item:hover .mkc-media { transform: scale(1.06); }
.mkc-shopby[data-style="glow"] [aria-selected="true"] .mkc-shopby__media {
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(198, 56, 111, 0.18);
}

/* minmax(0, 1fr): without it the grid column grows to the carousel's full scroll width (giant, cut-off cards). */
.mkc-shopby__panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
.mkc-shopby__panel[hidden] { display: none; }
.mkc-shopby__panel:focus-visible { outline: 2px solid rgb(var(--color-button)); outline-offset: 6px; }
.mkc-shopby__panel:not([hidden]) { animation: mkc-panel-in 0.3s ease; }
@keyframes mkc-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.mkc-shopby__more { display: flex; justify-content: center; }
.mkc-shopby__empty { margin: 0; padding: 28px 0; text-align: center; color: var(--color-gray-500); }

/* =====================================================================
   Customer reviews - sections/mkc-testimonials.liquid
   ===================================================================== */
mkc-carousel[data-kind="testi"] { --mkc-per: 1.12; --mkc-gap: 12px; }
@media (min-width: 640px) { mkc-carousel[data-kind="testi"] { --mkc-per: 2.1; --mkc-gap: 16px; } }
@media (min-width: 990px) { mkc-carousel[data-kind="testi"] { --mkc-per: 3; } }

.mkc-testi { display: grid; gap: 28px; }
.mkc-testi__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.mkc-testi__nav { display: flex; flex-shrink: 0; gap: 12px; }
.mkc-testi__arrow {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid var(--color-base-black);
  border-radius: 50%;
  background: transparent;
  color: var(--color-base-black);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.mkc-testi__arrow svg { width: 20px; height: 20px; }
.mkc-testi__arrow:hover:not([disabled]) { background: var(--color-base-black); color: #ffffff; }
.mkc-testi__arrow[disabled] { opacity: 0.25; cursor: default; }
[dir="rtl"] .mkc-testi__arrow svg { transform: scaleX(-1); }
@media (hover: none), (max-width: 640px) { .mkc-testi__nav { display: none; } }
.mkc-testi .mkc-track { padding-block: 2px 6px; }

.mkc-review {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  margin: 0;
  padding: 22px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(91, 31, 58, 0.05);
}
@media (min-width: 990px) { .mkc-review { padding: 24px 24px 20px; } }
.mkc-review__who { display: flex; align-items: center; gap: 12px; }
.mkc-review__avatar {
  display: grid;
  flex: 0 0 52px;
  place-items: center;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbe0ea, #f3b7cc);
  color: #9e2558;
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.mkc-review__avatar img { width: 100%; height: 100%; object-fit: cover; }
.mkc-review__id { display: grid; gap: 2px; min-width: 0; }
.mkc-review__name { font-size: var(--text-md); font-weight: 700; line-height: 1.25; }
.mkc-review__city { font-size: var(--text-sm); color: var(--color-gray-500); }
.mkc-review__stars { display: flex; gap: 2px; color: #e8a93a; }
.mkc-review__stars svg { width: 16px; height: 16px; }
.mkc-review__stars .is-off { color: #e9e1e4; }
.mkc-review__quote {
  flex: 1;
  margin: 0;
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--color-base-black);
  quotes: "\00AB\00A0" "\00A0\00BB";
}
.mkc-review__quote::before { content: open-quote; }
.mkc-review__quote::after { content: close-quote; }

.mkc-review__product {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding-block-start: 14px;
  border-block-start: 1px solid #f1e7eb;
}
.mkc-review__thumb { display: block; width: 52px; height: 52px; overflow: hidden; border-radius: 8px; background: #f6f2f4; }
.mkc-review__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mkc-review__pinfo { display: grid; gap: 2px; min-width: 0; }
.mkc-review__pname {
  display: -webkit-box;
  overflow: hidden;
  color: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.mkc-review__pname:hover { color: rgb(var(--color-button)); }
.mkc-review__price { font-size: var(--text-sm); font-weight: 700; color: rgb(var(--color-button)); }
.mkc-review__atc { display: block; }

.mkc-icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-base-black);
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.mkc-icon-btn svg { width: 20px; height: 20px; }
.mkc-icon-btn:hover { background: rgb(var(--color-button)); color: #ffffff; transform: scale(1.06); }
.mkc-icon-btn[data-loading] { pointer-events: none; }
.mkc-icon-btn[data-loading] svg { opacity: 0; }
.mkc-icon-btn[data-loading]::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-bottom-color: transparent;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .mkc-shopby__panel:not([hidden]) { animation: none; }
  .mkc-shopby__media,
  .mkc-shopby[data-style="glow"] .mkc-media,
  .mkc-icon-btn { transition: none; }
}
