/* «Эксклюзивные предложения» (exclusive_offers 20261111r1). Общие элементы карточки (главная + страница) и страница /exclusive/. */
:root { --exo-red: #8a1b2e; --exo-ink: #111; --exo-grey: #8a8a8a; }
.exo-card [hidden], .exo-page [hidden] { display: none !important; }

/* ---------- элементы карточки: и во вкладке главной, и на странице ---------- */
.exo-card { position: relative; }
.exo-badge {
  position: absolute; top: 0; left: 0; z-index: 9;
  background: #111; color: #fff;
  font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 600; line-height: 1;
  letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  padding: 9px 12px;
}
.exo-badge__pct { margin-left: 6px; letter-spacing: .04em; }
.exo-media { position: relative; }
.exo-sw-row { position: absolute; right: 0; bottom: 0; z-index: 6; display: flex; }
.exo-sw {
  display: block; width: 26px; height: 26px; padding: 0; margin: 0; border: 0; border-radius: 0;
  background-color: #e8e2dc; background-size: cover; background-position: center; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.exo-sw--on { box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3px #111; }
.exo-sw:focus-visible { outline: 2px solid #111; outline-offset: -2px; }
.exo-sw-more {
  display: flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 4px;
  background: rgba(0,0,0,.55); color: #fff !important; font-size: 11px; font-weight: 600; text-decoration: none !important; line-height: 1;
}
.exo-price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px;
  font-family: 'Montserrat', sans-serif; margin-top: 2px;
}
.exo-now { font-size: 16px; font-weight: 600; color: var(--exo-ink); white-space: nowrap; }
.exo-card--sale .exo-now { color: var(--exo-red); }
.exo-old { font-size: 12px; font-weight: 400; color: var(--exo-grey); white-space: nowrap; }
.exo-label {
  display: inline-block; align-self: flex-start; margin-top: 8px; padding-top: 6px; border-top: 1px solid var(--exo-red);
  font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--exo-red);
}
.exo-shade {
  margin-top: 8px; min-height: 1.4em;
  font-family: 'Montserrat', sans-serif; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #666;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* вкладка на главной: короткое название на телефоне */
.exo-tab__short { display: none; }
@media (max-width: 575.98px) {
  .exo-tab__full { display: none; }
  .exo-tab__short { display: inline; }
  /* четыре вкладки в один ряд на 360–430 px */
  #plProductTabs .pl-tabs__nav:has(.exo-tab__short) .pl-tabs__btn {
    font-size: clamp(10px, 2.78vw, 12.5px) !important; /* r2 19.11: «Специальные» вместо «Эксклюзив» — чуть плотнее */
    padding-left: clamp(2px, .75vw, 6px) !important; padding-right: clamp(2px, .75vw, 6px) !important;
  }
}

/* ---------- страница /exclusive/ ---------- */
.exo-page { font-family: 'Montserrat', sans-serif; color: var(--exo-ink); padding-bottom: 56px; }
.exo-staff {
  margin: 16px 0; padding: 10px 14px; background: #fff8e1; border: 1px solid #f0d58a; font-size: 13px; line-height: 1.5;
}
.exo-staff a { color: #111; text-decoration: underline; }
.exo-staff__demo { color: #8a5a00; font-weight: 600; margin-left: 6px; }
.exo-hero { margin: 16px 0 0; background: #141414; overflow: hidden; }
.exo-hero--img img { display: block; width: 100%; height: auto; }
.exo-hero--text {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  aspect-ratio: 1440 / 560; min-height: 220px; padding: 24px; color: #fff;
}
.exo-hero__kicker { font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 16px; }
.exo-hero__title { font-size: clamp(34px, 5vw, 64px); font-weight: 300; line-height: 1.1; letter-spacing: .01em; }
.exo-intro { max-width: 760px; margin: 0 auto; padding: 56px 0 8px; text-align: center; }
.exo-intro__theme { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--exo-red); margin-bottom: 14px; }
.exo-intro__title { font-size: clamp(26px, 3vw, 38px); font-weight: 300; line-height: 1.25; margin: 0 0 22px; color: var(--exo-ink); }
.exo-intro__text { font-size: 14px; line-height: 1.7; color: #555; margin: 0 0 12px; }
.exo-intro__note { font-size: 11px; line-height: 1.6; color: var(--exo-grey); margin: 18px 0 0; }
.exo-list-title { text-align: center; font-size: clamp(22px, 2.4vw, 30px); font-weight: 300; margin: 48px 0 28px; color: var(--exo-ink); }
.exo-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 12px; }
.exo-grid > .exo-card { flex: 0 0 calc((100% - 24px) / 3); max-width: calc((100% - 24px) / 3); }
.exo-empty { text-align: center; padding: 8px 0 24px; font-size: 15px; color: #555; }
.exo-empty__btn { margin-top: 12px; }

/* карточка на странице — те же размеры, что у карточек вкладок главной (product_tabs.php) */
.exo-page .pl-card { display: flex; flex-direction: column; width: 100%; background: #fff; border: 1px solid #eee; overflow: hidden; }
.exo-page .pl-card__img-link { display: block; text-decoration: none; }
.exo-page .pl-card__img-wrap { position: relative; width: 100%; padding-bottom: 120%; background: #f8f8f8; overflow: hidden; }
.exo-page .pl-card__img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.exo-page .pl-card__info { padding: 14px 14px 18px; display: flex; flex-direction: column; flex: 1; }
.exo-page .pl-card__name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 16px; line-height: 1.2; font-weight: 400; color: #000; text-decoration: none; min-height: 2.4em; margin-bottom: 10px;
}
.exo-page .pl-card__wish {
  position: absolute; top: 10px; right: 10px; z-index: 10; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; background: #fff; border: 0; padding: 0; border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.exo-page .pl-card__wish::before {
  content: ""; width: 18px; height: 18px; background-color: #1a1a1a;
  -webkit-mask: url("/upload/inglot-ic-heart.svg") center/contain no-repeat; mask: url("/upload/inglot-ic-heart.svg") center/contain no-repeat;
}
.exo-page .pl-card__wish.active::before, .exo-page .pl-card__wish.selected::before, .exo-page .pl-card__wish.in_wishlist::before { background-color: #e11d1d; }
.exo-page .pl-card__cart { display: flex; align-items: stretch; gap: 8px; margin-top: auto; padding-top: 14px; }
.exo-page .pl-card__cart > .pl-card__more, .exo-page .pl-card__cart > .item-action--basket, .exo-page .pl-card__cart > .in_cart { flex: 1 1 0; min-width: 0; }
.exo-page .pl-card__cart > .item-action--basket { display: flex; }
.exo-page .pl-card__more, .exo-page .pl-card__cart .to_cart, .exo-page .pl-card__cart .in_cart {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 42px; box-sizing: border-box; padding: 0 8px; border-radius: 0;
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; line-height: 1;
  text-decoration: none; transition: background .15s ease, color .15s ease;
}
.exo-page .pl-card__more { color: #1a1a1a; background: #fff; border: 1px solid #1a1a1a; font-weight: 500; }
.exo-page .pl-card__more:hover { background: #1a1a1a; color: #fff; }
.exo-page .pl-card__cart .to_cart { background: #000; color: #fff; border: 1px solid #000; cursor: pointer; }
.exo-page .pl-card__cart .to_cart:hover { background: #333; border-color: #333; }
.exo-page .pl-card__cart .item-action--basket.active { display: none; }
.exo-page .pl-card__cart .in_cart { display: none; background: #fff; color: #000; border: 1px solid #000; }
.exo-page .pl-card__cart .item-action--basket.active + .in_cart, .exo-page .pl-card__cart .in_cart.active { display: flex; }

@media (min-width: 1200px) {
  .exo-grid { max-width: 1180px; margin: 0 auto; }
}
@media (max-width: 991.98px) {
  .exo-grid > .exo-card { flex-basis: calc((100% - 12px) / 2); max-width: calc((100% - 12px) / 2); }
  .exo-intro { padding-top: 36px; }
  .exo-list-title { margin: 36px 0 20px; }
  .exo-hero--text { aspect-ratio: 4 / 5; max-height: 70vh; }
  .exo-staff, .exo-intro, .exo-list-title, .exo-empty { padding-left: 16px; padding-right: 16px; }
  .exo-staff { margin-left: 0; margin-right: 0; }
  .exo-grid { padding: 0 12px; }
  .exo-page .pl-card__name { font-size: 14px; }
}
@media (max-width: 575.98px) {
  .exo-grid { gap: 12px 8px; padding: 0 10px; }
  .exo-grid > .exo-card { flex-basis: calc((100% - 8px) / 2); max-width: calc((100% - 8px) / 2); }
  .exo-page .pl-card__info { padding: 10px 10px 12px; }
  .exo-page .pl-card__name { font-size: 13px; }
  .exo-page .pl-card__cart { flex-direction: column; gap: 6px; }
  .exo-page .pl-card__cart > .pl-card__more, .exo-page .pl-card__cart > .item-action--basket, .exo-page .pl-card__cart > .in_cart { flex: 0 0 auto; }
  .exo-page .pl-card__more, .exo-page .pl-card__cart .to_cart, .exo-page .pl-card__cart .in_cart { height: 36px; font-size: 11px; }
  .exo-badge { font-size: 9px; padding: 7px 8px; letter-spacing: .08em; }
  .exo-now { font-size: 15px; }
  .exo-page .pl-card__wish { width: 30px; height: 30px; top: 6px; right: 6px; }
  .exo-intro__text { font-size: 13px; }
}
/* r2b 19.11: заголовок над товарами убран (Алина) — отступ сетки от подводки */
.exo-intro + .exo-grid { margin-top: 40px; }
@media (max-width: 991.98px) { .exo-intro + .exo-grid { margin-top: 28px; } }
